comparison configure.in @ 245:51092a27c943 r20-5b21

Import from CVS: tag r20-5b21
author cvs
date Mon, 13 Aug 2007 10:17:54 +0200
parents f220cc83d72e
children 83b3d10dcba9
comparison
equal deleted inserted replaced
244:78d4f1140794 245:51092a27c943
483 use_union_type | \ 483 use_union_type | \
484 debug | \ 484 debug | \
485 use_assertions | \ 485 use_assertions | \
486 memory_usage_stats | \ 486 memory_usage_stats | \
487 with_clash_detection | \ 487 with_clash_detection | \
488 with_shlib | \
488 no_doc_file ) 489 no_doc_file )
489 dnl Make sure the value given was either "yes" or "no". 490 dnl Make sure the value given was either "yes" or "no".
490 case "$val" in 491 case "$val" in
491 y | ye | yes ) val=yes ;; 492 y | ye | yes ) val=yes ;;
492 n | no ) val=no ;; 493 n | no ) val=no ;;
1441 if test "$with_clash_detection" = "yes"; then 1442 if test "$with_clash_detection" = "yes"; then
1442 AC_DEFINE(CLASH_DETECTION) 1443 AC_DEFINE(CLASH_DETECTION)
1443 XE_ADD_OBJS(filelock.o) 1444 XE_ADD_OBJS(filelock.o)
1444 fi 1445 fi
1445 1446
1447 if test "$with_shlib" = "yes"; then
1448 AC_DEFINE(HAVE_SHLIB)
1449 XE_ADD_OBJS(dlopen.o)
1450 fi
1451
1446 dnl Choose a compiler from (in order) 1452 dnl Choose a compiler from (in order)
1447 dnl --compiler, env var CC, with_gcc=no && ${NON_GNU_CC:-cc}, AC_PROG_CC 1453 dnl --compiler, env var CC, with_gcc=no && ${NON_GNU_CC:-cc}, AC_PROG_CC
1448 test -n "$compiler" && CC="$compiler" 1454 test -n "$compiler" && CC="$compiler"
1449 if test "$with_gcc" = "no"; then dnl Try to find a non-gcc compiler 1455 if test "$with_gcc" = "no"; then dnl Try to find a non-gcc compiler
1450 case "$CC" in "" | *gcc* ) CC="${NON_GNU_CC-cc}" ;; esac 1456 case "$CC" in "" | *gcc* ) CC="${NON_GNU_CC-cc}" ;; esac
1930 AC_PROG_YACC 1936 AC_PROG_YACC
1931 1937
1932 dnl checks for header files 1938 dnl checks for header files
1933 AC_CHECK_HEADERS(mach/mach.h sys/stropts.h sys/timeb.h sys/time.h unistd.h) 1939 AC_CHECK_HEADERS(mach/mach.h sys/stropts.h sys/timeb.h sys/time.h unistd.h)
1934 AC_CHECK_HEADERS(utime.h locale.h libgen.h fcntl.h ulimit.h) 1940 AC_CHECK_HEADERS(utime.h locale.h libgen.h fcntl.h ulimit.h)
1935 AC_CHECK_HEADERS(linux/version.h kstat.h sys/pstat.h inttypes.h sys/un.h) 1941 AC_CHECK_HEADERS(linux/version.h kstat.h sys/pstat.h inttypes.h sys/un.h coff.h)
1936 AC_HEADER_SYS_WAIT 1942 AC_HEADER_SYS_WAIT
1937 AC_HEADER_STDC 1943 AC_HEADER_STDC
1938 AC_HEADER_TIME 1944 AC_HEADER_TIME
1939 AC_DECL_SYS_SIGLIST 1945 AC_DECL_SYS_SIGLIST
1940 1946