diff options
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 212 |
1 files changed, 45 insertions, 167 deletions
@@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.65 for jim 0.62. +# Generated by GNU Autoconf 2.65 for jim 0.63. # # Report bugs to <steveb@workware.net.au>. # @@ -552,8 +552,8 @@ MAKEFLAGS= # Identity of this package. PACKAGE_NAME='jim' PACKAGE_TARNAME='jim' -PACKAGE_VERSION='0.62' -PACKAGE_STRING='jim 0.62' +PACKAGE_VERSION='0.63' +PACKAGE_STRING='jim 0.63' PACKAGE_BUGREPORT='steveb@workware.net.au' PACKAGE_URL='' @@ -595,11 +595,11 @@ ac_includes_default="\ ac_subst_vars='LTLIBOBJS LIBOBJS +LIBDL SRCDIR EXTRA_CFLAGS JIM_LIBTYPE JIM_EXTENSIONS -LIBDL SH_LDFLAGS SH_CFLAGS host_os @@ -1218,7 +1218,7 @@ if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures jim 0.62 to adapt to many kinds of systems. +\`configure' configures jim 0.63 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1283,7 +1283,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of jim 0.62:";; + short | recursive ) echo "Configuration of jim 0.63:";; esac cat <<\_ACEOF @@ -1291,7 +1291,7 @@ Optional Features: --disable-option-checking ignore unrecognized --enable/--with options --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) --enable-FEATURE[=ARG] include FEATURE [ARG=yes] - --disable-fork do not use fork + --disable-fork do not use fork (no exec, etc.) --enable-math include support for math functions Optional Packages: @@ -1376,7 +1376,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -jim configure 0.62 +jim configure 0.63 generated by GNU Autoconf 2.65 Copyright (C) 2009 Free Software Foundation, Inc. @@ -1704,50 +1704,11 @@ $as_echo "$ac_res" >&6; } eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} } # ac_fn_c_check_func - -# ac_fn_c_check_decl LINENO SYMBOL VAR -# ------------------------------------ -# Tests whether SYMBOL is declared, setting cache variable VAR accordingly. -ac_fn_c_check_decl () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5 -$as_echo_n "checking whether $2 is declared... " >&6; } -if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$4 -int -main () -{ -#ifndef $2 - (void) $2; -#endif - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - eval "$3=yes" -else - eval "$3=no" -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -eval ac_res=\$$3 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} - -} # ac_fn_c_check_decl cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by jim $as_me 0.62, which was +It was created by jim $as_me 0.63, which was generated by GNU Autoconf 2.65. Invocation command line was $ $0 $@ @@ -2094,7 +2055,7 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ ac_compiler_gnu=$ac_cv_c_compiler_gnu -ac_config_headers="$ac_config_headers config.h" +ac_config_headers="$ac_config_headers autoconf.h" # Checks for programs. @@ -3333,7 +3294,6 @@ HAVE_LONG_LONG="#define HAVE_LONG_LONG" fi - # Shared library support. Because we don't believe in automake! ac_aux_dir= for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do @@ -3448,7 +3408,7 @@ if test "${enable_fork+set}" = set; then : if test "x$enableval" = "xno" ; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: * disabling fork" >&5 $as_echo "* disabling fork" >&6; } - EXTRA_CFLAGS="-DHAVE_NO_FORK" + EXTRA_CFLAGS="-DJIM_NOFORK" fi fi @@ -3478,8 +3438,30 @@ if test "${with_jim_ext+set}" = set; then : fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: enabling jim extensions: $jim_extensions" >&5 +$as_echo "enabling jim extensions: $jim_extensions" >&6; } +JIM_EXTENSIONS=$jim_extensions + +for i in $jim_extensions; do + EXTRA_CFLAGS="$EXTRA_CFLAGS -Djim_ext_$i" +done + +JIM_LIBTYPE=static + +# Check whether --with-jim-shared was given. +if test "${with_jim_shared+set}" = set; then : + withval=$with_jim_shared; + if test "x$withval" = "xyes" ; then + JIM_LIBTYPE=shared + fi + + +fi + +JIM_LIBTYPE=$JIM_LIBTYPE + -for ac_func in backtrace geteuid lstat mkstemp fork strptime sysinfo ualarm +for ac_func in ualarm sysinfo lstat fork vfork do : as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" @@ -3492,45 +3474,24 @@ _ACEOF fi done - -for ac_func in vfork +for ac_func in backtrace geteuid mkstemp realpath strptime do : - ac_fn_c_check_func "$LINENO" "vfork" "ac_cv_func_vfork" -if test "x$ac_cv_func_vfork" = x""yes; then : + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +eval as_val=\$$as_ac_var + if test "x$as_val" = x""yes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_VFORK 1 +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF -else - IGNORE="$IGNORE exec posix signal eventloop" fi done -for ac_func in syslog -do : - ac_fn_c_check_func "$LINENO" "syslog" "ac_cv_func_syslog" -if test "x$ac_cv_func_syslog" = x""yes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_SYSLOG 1 -_ACEOF -else - IGNORE="$IGNORE syslog" -fi -done +EXTRA_CFLAGS=$EXTRA_CFLAGS -for ac_func in regcomp -do : - ac_fn_c_check_func "$LINENO" "regcomp" "ac_cv_func_regcomp" -if test "x$ac_cv_func_regcomp" = x""yes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_REGCOMP 1 -_ACEOF +SRCDIR=`dirname $0` -else - IGNORE="$IGNORE regexp" -fi -done { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 $as_echo_n "checking for dlopen in -ldl... " >&6; } @@ -3571,93 +3532,11 @@ $as_echo "$ac_cv_lib_dl_dlopen" >&6; } if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : LIBDL=-ldl -else - IGNORE="$IGNORE load" -fi - - -# Does mkdir() include a mode_t argument? -ac_fn_c_check_decl "$LINENO" "mkdir" "ac_cv_have_decl_mkdir" "$ac_includes_default" -if test "x$ac_cv_have_decl_mkdir" = x""yes; then : - ac_have_decl=1 -else - ac_have_decl=0 -fi - -cat >>confdefs.h <<_ACEOF -#define HAVE_DECL_MKDIR $ac_have_decl -_ACEOF -if test $ac_have_decl = 1; then : - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if mkdir takes 2 arguments" >&5 -$as_echo_n "checking if mkdir takes 2 arguments... " >&6; } - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include <sys/stat.h> - #include <sys/types.h> - -int -main () -{ -(void)mkdir("dummy"); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - -$as_echo "#define MKDIR_ONE_ARG /**/" >>confdefs.h - - -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - fi -# Remove extensions in $IGNORE from $jim_extensions - -for i in $IGNORE; do - jim_extensions=`echo "$jim_extensions" | sed -e "s/$i//"` -done - -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: enabling jim extensions: $jim_extensions" >&5 -$as_echo "enabling jim extensions: $jim_extensions" >&6; } -JIM_EXTENSIONS=$jim_extensions - -for i in $jim_extensions; do - EXTRA_CFLAGS="$EXTRA_CFLAGS -Djim_ext_$i" -done - -JIM_LIBTYPE=static - -# Check whether --with-jim-shared was given. -if test "${with_jim_shared+set}" = set; then : - withval=$with_jim_shared; - if test "x$withval" = "xyes" ; then - JIM_LIBTYPE=shared - fi - - -fi - -JIM_LIBTYPE=$JIM_LIBTYPE - - - -EXTRA_CFLAGS=$EXTRA_CFLAGS - -SRCDIR=`dirname $0` - - ac_config_files="$ac_config_files Makefile" -ac_config_files="$ac_config_files jim.h" - cat >confcache <<\_ACEOF # This file is a shell script that caches the results of configure # tests run on this system so they can be shared between configure @@ -4163,7 +4042,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by jim $as_me 0.62, which was +This file was extended by jim $as_me 0.63, which was generated by GNU Autoconf 2.65. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -4225,7 +4104,7 @@ _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -jim config.status 0.62 +jim config.status 0.63 configured by $0, generated by GNU Autoconf 2.65, with options \\"\$ac_cs_config\\" @@ -4340,9 +4219,8 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 for ac_config_target in $ac_config_targets do case $ac_config_target in - "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; + "autoconf.h") CONFIG_HEADERS="$CONFIG_HEADERS autoconf.h" ;; "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; - "jim.h") CONFIG_FILES="$CONFIG_FILES jim.h" ;; *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; esac |