comparison configure @ 1368:b2bc8bcd546f

Switch from libmhash to OpenSSL
author Adam Chlipala <adam@chlipala.net>
date Sun, 26 Dec 2010 11:13:37 -0500
parents e12cef71aa1a
children 1a78ca089bd0
comparison
equal deleted inserted replaced
1367:8301ee4ab58c 1368:b2bc8bcd546f
741 741
742 ac_subst_vars='am__EXEEXT_FALSE 742 ac_subst_vars='am__EXEEXT_FALSE
743 am__EXEEXT_TRUE 743 am__EXEEXT_TRUE
744 LTLIBOBJS 744 LTLIBOBJS
745 LIBOBJS 745 LIBOBJS
746 MHASH_LIB_DIR
747 GCCARGS 746 GCCARGS
748 SITELISP 747 SITELISP
749 INCLUDE 748 INCLUDE
750 LIB 749 LIB
751 BIN 750 BIN
752 MLYACC 751 MLYACC
753 MLLEX 752 MLLEX
754 MLTON 753 MLTON
754 OPENSSL_LDFLAGS
755 OPENSSL_LIBS
756 OPENSSL_INCLUDES
757 PKG_CONFIG
755 OTOOL64 758 OTOOL64
756 OTOOL 759 OTOOL
757 LIPO 760 LIPO
758 NMEDIT 761 NMEDIT
759 DSYMUTIL 762 DSYMUTIL
865 enable_static 868 enable_static
866 with_pic 869 with_pic
867 enable_fast_install 870 enable_fast_install
868 with_gnu_ld 871 with_gnu_ld
869 enable_libtool_lock 872 enable_libtool_lock
870 with_mhash_dir 873 with_openssl
871 ' 874 '
872 ac_precious_vars='build_alias 875 ac_precious_vars='build_alias
873 host_alias 876 host_alias
874 target_alias 877 target_alias
875 CC 878 CC
1510 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1513 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1511 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1514 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1512 --with-pic try to use only PIC/non-PIC objects [default=use 1515 --with-pic try to use only PIC/non-PIC objects [default=use
1513 both] 1516 both]
1514 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1517 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1515 --with-mhash-dir=DIR mhash directory; default = /usr 1518 --with-openssl=DIR root of the OpenSSL directory
1516 1519
1517 Some influential environment variables: 1520 Some influential environment variables:
1518 CC C compiler command 1521 CC C compiler command
1519 CFLAGS C compiler flags 1522 CFLAGS C compiler flags
1520 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1523 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
5327 if test "${lt_cv_nm_interface+set}" = set; then : 5330 if test "${lt_cv_nm_interface+set}" = set; then :
5328 $as_echo_n "(cached) " >&6 5331 $as_echo_n "(cached) " >&6
5329 else 5332 else
5330 lt_cv_nm_interface="BSD nm" 5333 lt_cv_nm_interface="BSD nm"
5331 echo "int some_variable = 0;" > conftest.$ac_ext 5334 echo "int some_variable = 0;" > conftest.$ac_ext
5332 (eval echo "\"\$as_me:5332: $ac_compile\"" >&5) 5335 (eval echo "\"\$as_me:5335: $ac_compile\"" >&5)
5333 (eval "$ac_compile" 2>conftest.err) 5336 (eval "$ac_compile" 2>conftest.err)
5334 cat conftest.err >&5 5337 cat conftest.err >&5
5335 (eval echo "\"\$as_me:5335: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 5338 (eval echo "\"\$as_me:5338: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5336 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 5339 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5337 cat conftest.err >&5 5340 cat conftest.err >&5
5338 (eval echo "\"\$as_me:5338: output\"" >&5) 5341 (eval echo "\"\$as_me:5341: output\"" >&5)
5339 cat conftest.out >&5 5342 cat conftest.out >&5
5340 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 5343 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5341 lt_cv_nm_interface="MS dumpbin" 5344 lt_cv_nm_interface="MS dumpbin"
5342 fi 5345 fi
5343 rm -f conftest* 5346 rm -f conftest*
6538 fi 6541 fi
6539 rm -rf conftest* 6542 rm -rf conftest*
6540 ;; 6543 ;;
6541 *-*-irix6*) 6544 *-*-irix6*)
6542 # Find out which ABI we are using. 6545 # Find out which ABI we are using.
6543 echo '#line 6543 "configure"' > conftest.$ac_ext 6546 echo '#line 6546 "configure"' > conftest.$ac_ext
6544 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 6547 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6545 (eval $ac_compile) 2>&5 6548 (eval $ac_compile) 2>&5
6546 ac_status=$? 6549 ac_status=$?
6547 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6550 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6548 test $ac_status = 0; }; then 6551 test $ac_status = 0; }; then
7800 # The option is referenced via a variable to avoid confusing sed. 7803 # The option is referenced via a variable to avoid confusing sed.
7801 lt_compile=`echo "$ac_compile" | $SED \ 7804 lt_compile=`echo "$ac_compile" | $SED \
7802 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 7805 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7803 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7806 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7804 -e 's:$: $lt_compiler_flag:'` 7807 -e 's:$: $lt_compiler_flag:'`
7805 (eval echo "\"\$as_me:7805: $lt_compile\"" >&5) 7808 (eval echo "\"\$as_me:7808: $lt_compile\"" >&5)
7806 (eval "$lt_compile" 2>conftest.err) 7809 (eval "$lt_compile" 2>conftest.err)
7807 ac_status=$? 7810 ac_status=$?
7808 cat conftest.err >&5 7811 cat conftest.err >&5
7809 echo "$as_me:7809: \$? = $ac_status" >&5 7812 echo "$as_me:7812: \$? = $ac_status" >&5
7810 if (exit $ac_status) && test -s "$ac_outfile"; then 7813 if (exit $ac_status) && test -s "$ac_outfile"; then
7811 # The compiler can only warn and ignore the option if not recognized 7814 # The compiler can only warn and ignore the option if not recognized
7812 # So say no if there are warnings other than the usual output. 7815 # So say no if there are warnings other than the usual output.
7813 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp 7816 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7814 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 7817 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8139 # The option is referenced via a variable to avoid confusing sed. 8142 # The option is referenced via a variable to avoid confusing sed.
8140 lt_compile=`echo "$ac_compile" | $SED \ 8143 lt_compile=`echo "$ac_compile" | $SED \
8141 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8144 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8142 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8145 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8143 -e 's:$: $lt_compiler_flag:'` 8146 -e 's:$: $lt_compiler_flag:'`
8144 (eval echo "\"\$as_me:8144: $lt_compile\"" >&5) 8147 (eval echo "\"\$as_me:8147: $lt_compile\"" >&5)
8145 (eval "$lt_compile" 2>conftest.err) 8148 (eval "$lt_compile" 2>conftest.err)
8146 ac_status=$? 8149 ac_status=$?
8147 cat conftest.err >&5 8150 cat conftest.err >&5
8148 echo "$as_me:8148: \$? = $ac_status" >&5 8151 echo "$as_me:8151: \$? = $ac_status" >&5
8149 if (exit $ac_status) && test -s "$ac_outfile"; then 8152 if (exit $ac_status) && test -s "$ac_outfile"; then
8150 # The compiler can only warn and ignore the option if not recognized 8153 # The compiler can only warn and ignore the option if not recognized
8151 # So say no if there are warnings other than the usual output. 8154 # So say no if there are warnings other than the usual output.
8152 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp 8155 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8153 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 8156 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8244 # with a dollar sign (not a hyphen), so the echo should work correctly. 8247 # with a dollar sign (not a hyphen), so the echo should work correctly.
8245 lt_compile=`echo "$ac_compile" | $SED \ 8248 lt_compile=`echo "$ac_compile" | $SED \
8246 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8249 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8247 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8250 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8248 -e 's:$: $lt_compiler_flag:'` 8251 -e 's:$: $lt_compiler_flag:'`
8249 (eval echo "\"\$as_me:8249: $lt_compile\"" >&5) 8252 (eval echo "\"\$as_me:8252: $lt_compile\"" >&5)
8250 (eval "$lt_compile" 2>out/conftest.err) 8253 (eval "$lt_compile" 2>out/conftest.err)
8251 ac_status=$? 8254 ac_status=$?
8252 cat out/conftest.err >&5 8255 cat out/conftest.err >&5
8253 echo "$as_me:8253: \$? = $ac_status" >&5 8256 echo "$as_me:8256: \$? = $ac_status" >&5
8254 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8257 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8255 then 8258 then
8256 # The compiler can only warn and ignore the option if not recognized 8259 # The compiler can only warn and ignore the option if not recognized
8257 # So say no if there are warnings 8260 # So say no if there are warnings
8258 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp 8261 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8299 # with a dollar sign (not a hyphen), so the echo should work correctly. 8302 # with a dollar sign (not a hyphen), so the echo should work correctly.
8300 lt_compile=`echo "$ac_compile" | $SED \ 8303 lt_compile=`echo "$ac_compile" | $SED \
8301 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 8304 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8302 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8305 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8303 -e 's:$: $lt_compiler_flag:'` 8306 -e 's:$: $lt_compiler_flag:'`
8304 (eval echo "\"\$as_me:8304: $lt_compile\"" >&5) 8307 (eval echo "\"\$as_me:8307: $lt_compile\"" >&5)
8305 (eval "$lt_compile" 2>out/conftest.err) 8308 (eval "$lt_compile" 2>out/conftest.err)
8306 ac_status=$? 8309 ac_status=$?
8307 cat out/conftest.err >&5 8310 cat out/conftest.err >&5
8308 echo "$as_me:8308: \$? = $ac_status" >&5 8311 echo "$as_me:8311: \$? = $ac_status" >&5
8309 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8312 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8310 then 8313 then
8311 # The compiler can only warn and ignore the option if not recognized 8314 # The compiler can only warn and ignore the option if not recognized
8312 # So say no if there are warnings 8315 # So say no if there are warnings
8313 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp 8316 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
10683 lt_cv_dlopen_self=cross 10686 lt_cv_dlopen_self=cross
10684 else 10687 else
10685 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 10688 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10686 lt_status=$lt_dlunknown 10689 lt_status=$lt_dlunknown
10687 cat > conftest.$ac_ext <<_LT_EOF 10690 cat > conftest.$ac_ext <<_LT_EOF
10688 #line 10688 "configure" 10691 #line 10691 "configure"
10689 #include "confdefs.h" 10692 #include "confdefs.h"
10690 10693
10691 #if HAVE_DLFCN_H 10694 #if HAVE_DLFCN_H
10692 #include <dlfcn.h> 10695 #include <dlfcn.h>
10693 #endif 10696 #endif
10779 lt_cv_dlopen_self_static=cross 10782 lt_cv_dlopen_self_static=cross
10780 else 10783 else
10781 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 10784 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10782 lt_status=$lt_dlunknown 10785 lt_status=$lt_dlunknown
10783 cat > conftest.$ac_ext <<_LT_EOF 10786 cat > conftest.$ac_ext <<_LT_EOF
10784 #line 10784 "configure" 10787 #line 10787 "configure"
10785 #include "confdefs.h" 10788 #include "confdefs.h"
10786 10789
10787 #if HAVE_DLFCN_H 10790 #if HAVE_DLFCN_H
10788 #include <dlfcn.h> 10791 #include <dlfcn.h>
10789 #endif 10792 #endif
11011 11014
11012 ac_config_headers="$ac_config_headers config.h" 11015 ac_config_headers="$ac_config_headers config.h"
11013 11016
11014 11017
11015 11018
11016 # Check whether --with-mhash-dir was given. 11019 found=false
11017 if test "${with_mhash_dir+set}" = set; then : 11020
11018 withval=$with_mhash_dir; with_mhash_dir="$withval" 11021 # Check whether --with-openssl was given.
11019 else 11022 if test "${with_openssl+set}" = set; then :
11020 with_mhash_dir="/usr" 11023 withval=$with_openssl;
11021 fi 11024 case "$withval" in
11022 11025 "" | y | ye | yes | n | no)
11023 11026 as_fn_error $? "Invalid --with-openssl value" "$LINENO" 5
11024 LIBS_save="$LIBS" 11027 ;;
11025 LIBS="-L${with_mhash_dir}/lib/ -lmhash" 11028 *) ssldirs="$withval"
11026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mhash_get_block_size in -lmhash" >&5 11029 ;;
11027 $as_echo_n "checking for mhash_get_block_size in -lmhash... " >&6; } 11030 esac
11028 if test "${ac_cv_lib_mhash_mhash_get_block_size+set}" = set; then : 11031
11032 else
11033
11034 # if pkg-config is installed and openssl has installed a .pc file,
11035 # then use that information and don't search ssldirs
11036 # Extract the first word of "pkg-config", so it can be a program name with args.
11037 set dummy pkg-config; ac_word=$2
11038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11039 $as_echo_n "checking for $ac_word... " >&6; }
11040 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
11029 $as_echo_n "(cached) " >&6 11041 $as_echo_n "(cached) " >&6
11030 else 11042 else
11031 ac_check_lib_save_LIBS=$LIBS 11043 case $PKG_CONFIG in
11032 LIBS="-lmhash $LIBS" 11044 [\\/]* | ?:[\\/]*)
11033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11045 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11046 ;;
11047 *)
11048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11049 for as_dir in $PATH
11050 do
11051 IFS=$as_save_IFS
11052 test -z "$as_dir" && as_dir=.
11053 for ac_exec_ext in '' $ac_executable_extensions; do
11054 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11055 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11056 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11057 break 2
11058 fi
11059 done
11060 done
11061 IFS=$as_save_IFS
11062
11063 ;;
11064 esac
11065 fi
11066 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11067 if test -n "$PKG_CONFIG"; then
11068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
11069 $as_echo "$PKG_CONFIG" >&6; }
11070 else
11071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11072 $as_echo "no" >&6; }
11073 fi
11074
11075
11076 if test x"$PKG_CONFIG" != x""; then
11077 OPENSSL_LDFLAGS=`$PKG_CONFIG openssl --libs-only-L 2>/dev/null`
11078 if test $? = 0; then
11079 OPENSSL_LIBS=`$PKG_CONFIG openssl --libs-only-l 2>/dev/null`
11080 OPENSSL_INCLUDES=`$PKG_CONFIG openssl --cflags-only-I 2>/dev/null`
11081 found=true
11082 fi
11083 fi
11084
11085 # no such luck; use some default ssldirs
11086 if ! $found; then
11087 ssldirs="/usr/local/ssl /usr/lib/ssl /usr/ssl /usr/pkg /usr/local /usr"
11088 fi
11089
11090
11091 fi
11092
11093
11094
11095 # note that we #include <openssl/foo.h>, so the OpenSSL headers have to be in
11096 # an 'openssl' subdirectory
11097
11098 if ! $found; then
11099 OPENSSL_INCLUDES=
11100 for ssldir in $ssldirs; do
11101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openssl/ssl.h in $ssldir" >&5
11102 $as_echo_n "checking for openssl/ssl.h in $ssldir... " >&6; }
11103 if test -f "$ssldir/include/openssl/ssl.h"; then
11104 OPENSSL_INCLUDES="-I$ssldir/include"
11105 OPENSSL_LDFLAGS="-L$ssldir/lib"
11106 OPENSSL_LIBS="-lssl -lcrypto"
11107 found=true
11108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11109 $as_echo "yes" >&6; }
11110 break
11111 else
11112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11113 $as_echo "no" >&6; }
11114 fi
11115 done
11116
11117 # if the file wasn't found, well, go ahead and try the link anyway -- maybe
11118 # it will just work!
11119 fi
11120
11121 # try the preprocessor and linker with our new flags,
11122 # being careful not to pollute the global LIBS, LDFLAGS, and CPPFLAGS
11123
11124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiling and linking against OpenSSL works" >&5
11125 $as_echo_n "checking whether compiling and linking against OpenSSL works... " >&6; }
11126 echo "Trying link with OPENSSL_LDFLAGS=$OPENSSL_LDFLAGS;" \
11127 "OPENSSL_LIBS=$OPENSSL_LIBS; OPENSSL_INCLUDES=$OPENSSL_INCLUDES" >&5
11128
11129 save_LIBS="$LIBS"
11130 save_LDFLAGS="$LDFLAGS"
11131 save_CPPFLAGS="$CPPFLAGS"
11132 LDFLAGS="$LDFLAGS $OPENSSL_LDFLAGS"
11133 LIBS="$OPENSSL_LIBS $LIBS"
11134 CPPFLAGS="$OPENSSL_INCLUDES $CPPFLAGS"
11135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11034 /* end confdefs.h. */ 11136 /* end confdefs.h. */
11035 11137 #include <openssl/ssl.h>
11036 /* Override any GCC internal prototype to avoid an error.
11037 Use char because int might match the return type of a GCC
11038 builtin and then its argument prototype would still apply. */
11039 #ifdef __cplusplus
11040 extern "C"
11041 #endif
11042 char mhash_get_block_size ();
11043 int 11138 int
11044 main () 11139 main ()
11045 { 11140 {
11046 return mhash_get_block_size (); 11141 SSL_new(NULL)
11047 ; 11142 ;
11048 return 0; 11143 return 0;
11049 } 11144 }
11050 _ACEOF 11145 _ACEOF
11051 if ac_fn_c_try_link "$LINENO"; then : 11146 if ac_fn_c_try_link "$LINENO"; then :
11052 ac_cv_lib_mhash_mhash_get_block_size=yes 11147
11053 else 11148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11054 ac_cv_lib_mhash_mhash_get_block_size=no 11149 $as_echo "yes" >&6; }
11150 echo >/dev/null
11151
11152 else
11153
11154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11155 $as_echo "no" >&6; }
11156 echo "You must install OpenSSL development files."; exit1
11157
11055 fi 11158 fi
11056 rm -f core conftest.err conftest.$ac_objext \ 11159 rm -f core conftest.err conftest.$ac_objext \
11057 conftest$ac_exeext conftest.$ac_ext 11160 conftest$ac_exeext conftest.$ac_ext
11058 LIBS=$ac_check_lib_save_LIBS 11161 CPPFLAGS="$save_CPPFLAGS"
11059 fi 11162 LDFLAGS="$save_LDFLAGS"
11060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mhash_mhash_get_block_size" >&5 11163 LIBS="$save_LIBS"
11061 $as_echo "$ac_cv_lib_mhash_mhash_get_block_size" >&6; } 11164
11062 if test "x$ac_cv_lib_mhash_mhash_get_block_size" = x""yes; then : 11165
11063 MHASH_LIB_DIR="${with_mhash_dir}/lib" 11166
11064 else
11065 echo "You must install libmhash."; exit 1
11066 fi
11067
11068 LIBS="${LIBS_save}"
11069
11070 as_ac_Header=`$as_echo "ac_cv_header_"${with_mhash_dir}/include/mhash.h"" | $as_tr_sh`
11071 ac_fn_c_check_header_mongrel "$LINENO" ""${with_mhash_dir}/include/mhash.h"" "$as_ac_Header" "$ac_includes_default"
11072 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11073 CPPFLAGS="${CPPFLAGS} -I${with_mhash_dir}/include"
11074 else
11075 echo "You must install libmhash dev files."; exit 1
11076 fi
11077 11167
11078 11168
11079 11169
11080 # Extract the first word of "mlton", so it can be a program name with args. 11170 # Extract the first word of "mlton", so it can be a program name with args.
11081 set dummy mlton; ac_word=$2 11171 set dummy mlton; ac_word=$2
11223 fi 11313 fi
11224 11314
11225 if test -z $SITELISP; then 11315 if test -z $SITELISP; then
11226 SITELISP=$prefix/share/emacs/site-lisp/urweb-mode 11316 SITELISP=$prefix/share/emacs/site-lisp/urweb-mode
11227 fi 11317 fi
11228
11229 11318
11230 11319
11231 11320
11232 11321
11233 11322
13580 Ur/Web configuration: 13669 Ur/Web configuration:
13581 bin directory: BIN $BIN 13670 bin directory: BIN $BIN
13582 lib directory: LIB $LIB 13671 lib directory: LIB $LIB
13583 include directory: INCLUDE $INCLUDE 13672 include directory: INCLUDE $INCLUDE
13584 site-lisp directory: SITELISP $SITELISP 13673 site-lisp directory: SITELISP $SITELISP
13585 mhash lib directory: MHASH_LIB_DIR $MHASH_LIB_DIR
13586 Extra GCC args: GCCARGS $GCCARGS 13674 Extra GCC args: GCCARGS $GCCARGS
13587 EOF 13675 EOF