~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to configure.ac

  • Committer: Brian Aker
  • Date: 2008-08-09 05:05:31 UTC
  • mfrom: (266.1.9 codestyle)
  • Revision ID: brian@tangent.org-20080809050531-4arg5nbg1c5u0xy5
Merging Monty's work.

Show diffs side-by-side

added added

removed removed

Lines of Context:
617
617
    [ with_named_curses=no ]
618
618
    )
619
619
 
620
 
# compile with strings functions in assembler
621
 
AC_ARG_ENABLE([assembler],
622
 
    [AS_HELP_STRING([--enable-assembler],
623
 
            [Use assembler versions of some string functions if available.])],
624
 
    [ ENABLE_ASSEMBLER=$enableval ],
625
 
    [ ENABLE_ASSEMBLER=no ]
626
 
    )
627
 
 
628
 
AC_MSG_CHECKING(if we should use assembler functions)
629
 
# For now we only support assembler on i386 and sparc systems
630
 
AM_CONDITIONAL(ASSEMBLER_x86, test "$ENABLE_ASSEMBLER" = "yes" -a "$BASE_MACHINE_TYPE" = "i386" && $AS mystrings/strings-x86.s -o checkassembler >/dev/null 2>&1 && test -f checkassembler && (rm -f checkassembler; exit 0;))
631
 
AM_CONDITIONAL(ASSEMBLER_sparc32, test "$ENABLE_ASSEMBLER" = "yes" -a "$BASE_MACHINE_TYPE" = "sparc")
632
 
AM_CONDITIONAL(ASSEMBLER_sparc64, test "$ENABLE_ASSEMBLER" = "yes" -a "$BASE_MACHINE_TYPE" = "sparcv9")
633
 
AM_CONDITIONAL(ASSEMBLER, test "$ASSEMBLER_x86_TRUE" = "" -o "$ASSEMBLER_sparc32_TRUE" = "")
634
 
 
635
 
if test "$ASSEMBLER_TRUE" = ""
636
 
then
637
 
  AC_MSG_RESULT([yes])
638
 
else
639
 
  AC_MSG_RESULT([no])
640
 
fi
641
 
 
642
620
AC_ARG_WITH([tcp-port],
643
621
    [AS_HELP_STRING([--with-tcp-port=port-number],
644
622
            [Which port to use for Drizzle services @<:@default=4427@:>@])],
1060
1038
fi
1061
1039
 
1062
1040
AC_CONFIG_LIBOBJ_DIR([mystrings])
1063
 
AC_REPLACE_FUNCS([strtoll strstr strtoull strmov getpagesize])
 
1041
AC_REPLACE_FUNCS([strtoll strstr strtoull stpcpy getpagesize])
1064
1042
 
1065
1043
AC_CHECK_FUNCS(bsearch \
1066
1044
  cuserid fchmod \