comparison configure @ 1148:a48966743c37

AM_INIT_AUTOMAKE with no-define (to fix some NetBSD and OS X problems)
author Adam Chlipala <adamc@hcoop.net>
date Sat, 06 Feb 2010 13:27:05 -0500
parents f6cb1cb2d7a8
children 15767031950c
comparison
equal deleted inserted replaced
1147:92f37d58828b 1148:a48966743c37
2670 # Define the identity of the package. 2670 # Define the identity of the package.
2671 PACKAGE='urweb' 2671 PACKAGE='urweb'
2672 VERSION='1.0' 2672 VERSION='1.0'
2673 2673
2674 2674
2675 cat >>confdefs.h <<_ACEOF
2676 #define PACKAGE "$PACKAGE"
2677 _ACEOF
2678
2679
2680 cat >>confdefs.h <<_ACEOF
2681 #define VERSION "$VERSION"
2682 _ACEOF
2683
2684 # Some tools Automake needs. 2675 # Some tools Automake needs.
2685 2676
2686 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2677 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2687 2678
2688 2679
4367 if test "${lt_cv_nm_interface+set}" = set; then : 4358 if test "${lt_cv_nm_interface+set}" = set; then :
4368 $as_echo_n "(cached) " >&6 4359 $as_echo_n "(cached) " >&6
4369 else 4360 else
4370 lt_cv_nm_interface="BSD nm" 4361 lt_cv_nm_interface="BSD nm"
4371 echo "int some_variable = 0;" > conftest.$ac_ext 4362 echo "int some_variable = 0;" > conftest.$ac_ext
4372 (eval echo "\"\$as_me:4372: $ac_compile\"" >&5) 4363 (eval echo "\"\$as_me:4363: $ac_compile\"" >&5)
4373 (eval "$ac_compile" 2>conftest.err) 4364 (eval "$ac_compile" 2>conftest.err)
4374 cat conftest.err >&5 4365 cat conftest.err >&5
4375 (eval echo "\"\$as_me:4375: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 4366 (eval echo "\"\$as_me:4366: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4376 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 4367 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4377 cat conftest.err >&5 4368 cat conftest.err >&5
4378 (eval echo "\"\$as_me:4378: output\"" >&5) 4369 (eval echo "\"\$as_me:4369: output\"" >&5)
4379 cat conftest.out >&5 4370 cat conftest.out >&5
4380 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 4371 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4381 lt_cv_nm_interface="MS dumpbin" 4372 lt_cv_nm_interface="MS dumpbin"
4382 fi 4373 fi
4383 rm -f conftest* 4374 rm -f conftest*
5579 fi 5570 fi
5580 rm -rf conftest* 5571 rm -rf conftest*
5581 ;; 5572 ;;
5582 *-*-irix6*) 5573 *-*-irix6*)
5583 # Find out which ABI we are using. 5574 # Find out which ABI we are using.
5584 echo '#line 5584 "configure"' > conftest.$ac_ext 5575 echo '#line 5575 "configure"' > conftest.$ac_ext
5585 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 5576 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5586 (eval $ac_compile) 2>&5 5577 (eval $ac_compile) 2>&5
5587 ac_status=$? 5578 ac_status=$?
5588 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5579 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5589 test $ac_status = 0; }; then 5580 test $ac_status = 0; }; then
7109 # The option is referenced via a variable to avoid confusing sed. 7100 # The option is referenced via a variable to avoid confusing sed.
7110 lt_compile=`echo "$ac_compile" | $SED \ 7101 lt_compile=`echo "$ac_compile" | $SED \
7111 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 7102 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7112 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7103 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7113 -e 's:$: $lt_compiler_flag:'` 7104 -e 's:$: $lt_compiler_flag:'`
7114 (eval echo "\"\$as_me:7114: $lt_compile\"" >&5) 7105 (eval echo "\"\$as_me:7105: $lt_compile\"" >&5)
7115 (eval "$lt_compile" 2>conftest.err) 7106 (eval "$lt_compile" 2>conftest.err)
7116 ac_status=$? 7107 ac_status=$?
7117 cat conftest.err >&5 7108 cat conftest.err >&5
7118 echo "$as_me:7118: \$? = $ac_status" >&5 7109 echo "$as_me:7109: \$? = $ac_status" >&5
7119 if (exit $ac_status) && test -s "$ac_outfile"; then 7110 if (exit $ac_status) && test -s "$ac_outfile"; then
7120 # The compiler can only warn and ignore the option if not recognized 7111 # The compiler can only warn and ignore the option if not recognized
7121 # So say no if there are warnings other than the usual output. 7112 # So say no if there are warnings other than the usual output.
7122 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp 7113 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7123 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 7114 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7448 # The option is referenced via a variable to avoid confusing sed. 7439 # The option is referenced via a variable to avoid confusing sed.
7449 lt_compile=`echo "$ac_compile" | $SED \ 7440 lt_compile=`echo "$ac_compile" | $SED \
7450 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 7441 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7451 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7442 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7452 -e 's:$: $lt_compiler_flag:'` 7443 -e 's:$: $lt_compiler_flag:'`
7453 (eval echo "\"\$as_me:7453: $lt_compile\"" >&5) 7444 (eval echo "\"\$as_me:7444: $lt_compile\"" >&5)
7454 (eval "$lt_compile" 2>conftest.err) 7445 (eval "$lt_compile" 2>conftest.err)
7455 ac_status=$? 7446 ac_status=$?
7456 cat conftest.err >&5 7447 cat conftest.err >&5
7457 echo "$as_me:7457: \$? = $ac_status" >&5 7448 echo "$as_me:7448: \$? = $ac_status" >&5
7458 if (exit $ac_status) && test -s "$ac_outfile"; then 7449 if (exit $ac_status) && test -s "$ac_outfile"; then
7459 # The compiler can only warn and ignore the option if not recognized 7450 # The compiler can only warn and ignore the option if not recognized
7460 # So say no if there are warnings other than the usual output. 7451 # So say no if there are warnings other than the usual output.
7461 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp 7452 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7462 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 7453 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7553 # with a dollar sign (not a hyphen), so the echo should work correctly. 7544 # with a dollar sign (not a hyphen), so the echo should work correctly.
7554 lt_compile=`echo "$ac_compile" | $SED \ 7545 lt_compile=`echo "$ac_compile" | $SED \
7555 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 7546 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7556 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7547 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7557 -e 's:$: $lt_compiler_flag:'` 7548 -e 's:$: $lt_compiler_flag:'`
7558 (eval echo "\"\$as_me:7558: $lt_compile\"" >&5) 7549 (eval echo "\"\$as_me:7549: $lt_compile\"" >&5)
7559 (eval "$lt_compile" 2>out/conftest.err) 7550 (eval "$lt_compile" 2>out/conftest.err)
7560 ac_status=$? 7551 ac_status=$?
7561 cat out/conftest.err >&5 7552 cat out/conftest.err >&5
7562 echo "$as_me:7562: \$? = $ac_status" >&5 7553 echo "$as_me:7553: \$? = $ac_status" >&5
7563 if (exit $ac_status) && test -s out/conftest2.$ac_objext 7554 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7564 then 7555 then
7565 # The compiler can only warn and ignore the option if not recognized 7556 # The compiler can only warn and ignore the option if not recognized
7566 # So say no if there are warnings 7557 # So say no if there are warnings
7567 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp 7558 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7608 # with a dollar sign (not a hyphen), so the echo should work correctly. 7599 # with a dollar sign (not a hyphen), so the echo should work correctly.
7609 lt_compile=`echo "$ac_compile" | $SED \ 7600 lt_compile=`echo "$ac_compile" | $SED \
7610 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 7601 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7611 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7602 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7612 -e 's:$: $lt_compiler_flag:'` 7603 -e 's:$: $lt_compiler_flag:'`
7613 (eval echo "\"\$as_me:7613: $lt_compile\"" >&5) 7604 (eval echo "\"\$as_me:7604: $lt_compile\"" >&5)
7614 (eval "$lt_compile" 2>out/conftest.err) 7605 (eval "$lt_compile" 2>out/conftest.err)
7615 ac_status=$? 7606 ac_status=$?
7616 cat out/conftest.err >&5 7607 cat out/conftest.err >&5
7617 echo "$as_me:7617: \$? = $ac_status" >&5 7608 echo "$as_me:7608: \$? = $ac_status" >&5
7618 if (exit $ac_status) && test -s out/conftest2.$ac_objext 7609 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7619 then 7610 then
7620 # The compiler can only warn and ignore the option if not recognized 7611 # The compiler can only warn and ignore the option if not recognized
7621 # So say no if there are warnings 7612 # So say no if there are warnings
7622 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp 7613 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9992 lt_cv_dlopen_self=cross 9983 lt_cv_dlopen_self=cross
9993 else 9984 else
9994 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 9985 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9995 lt_status=$lt_dlunknown 9986 lt_status=$lt_dlunknown
9996 cat > conftest.$ac_ext <<_LT_EOF 9987 cat > conftest.$ac_ext <<_LT_EOF
9997 #line 9997 "configure" 9988 #line 9988 "configure"
9998 #include "confdefs.h" 9989 #include "confdefs.h"
9999 9990
10000 #if HAVE_DLFCN_H 9991 #if HAVE_DLFCN_H
10001 #include <dlfcn.h> 9992 #include <dlfcn.h>
10002 #endif 9993 #endif
10088 lt_cv_dlopen_self_static=cross 10079 lt_cv_dlopen_self_static=cross
10089 else 10080 else
10090 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 10081 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10091 lt_status=$lt_dlunknown 10082 lt_status=$lt_dlunknown
10092 cat > conftest.$ac_ext <<_LT_EOF 10083 cat > conftest.$ac_ext <<_LT_EOF
10093 #line 10093 "configure" 10084 #line 10084 "configure"
10094 #include "confdefs.h" 10085 #include "confdefs.h"
10095 10086
10096 #if HAVE_DLFCN_H 10087 #if HAVE_DLFCN_H
10097 #include <dlfcn.h> 10088 #include <dlfcn.h>
10098 #endif 10089 #endif