--- ansh/configure 2011/10/17 20:14:01 1.2 +++ ansh/configure 2012/01/23 10:34:12 1.3 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.68 for ansh 1.0. +# Generated by GNU Autoconf 2.68 for ansh 1.1. # # Report bugs to . # @@ -560,8 +560,8 @@ MAKEFLAGS= # Identity of this package. PACKAGE_NAME='ansh' PACKAGE_TARNAME='ansh' -PACKAGE_VERSION='1.0' -PACKAGE_STRING='ansh 1.0' +PACKAGE_VERSION='1.1' +PACKAGE_STRING='ansh 1.1' PACKAGE_BUGREPORT='misho@elwix.org' PACKAGE_URL='' @@ -671,6 +671,7 @@ SHELL' ac_subst_files='' ac_user_opts=' enable_option_checking +enable_static ' ac_precious_vars='build_alias host_alias @@ -680,8 +681,7 @@ CFLAGS LDFLAGS LIBS CPPFLAGS -CPP -CPPFLAGS' +CPP' # Initialize some variables set by options. @@ -1224,7 +1224,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 ansh 1.0 to adapt to many kinds of systems. +\`configure' configures ansh 1.1 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1290,10 +1290,16 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of ansh 1.0:";; + short | recursive ) echo "Configuration of ansh 1.1:";; esac cat <<\_ACEOF +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] + --enable-static Static build for ansh software + Some influential environment variables: CC C compiler command CFLAGS C compiler flags @@ -1370,7 +1376,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -ansh configure 1.0 +ansh configure 1.1 generated by GNU Autoconf 2.68 Copyright (C) 2010 Free Software Foundation, Inc. @@ -1920,7 +1926,7 @@ 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 ansh $as_me 1.0, which was +It was created by ansh $as_me 1.1, which was generated by GNU Autoconf 2.68. Invocation command line was $ $0 $@ @@ -4392,6 +4398,24 @@ fi done +STATIC="no" +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking Static build for ansh" >&5 +$as_echo_n "checking Static build for ansh... " >&6; } +# Check whether --enable-static was given. +if test "${enable_static+set}" = set; then : + enableval=$enable_static; STATIC=$enableval + case "$enableval" in + yes) + LDFLAGS="-static ${LDFLAGS}" + ;; + *) + ;; + esac +fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STATIC" >&5 +$as_echo "$STATIC" >&6; } + ac_config_files="$ac_config_files Makefile bin/Makefile inc/Makefile src/Makefile" cat >confcache <<\_ACEOF @@ -4912,7 +4936,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 ansh $as_me 1.0, which was +This file was extended by ansh $as_me 1.1, which was generated by GNU Autoconf 2.68. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -4974,7 +4998,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="\\ -ansh config.status 1.0 +ansh config.status 1.1 configured by $0, generated by GNU Autoconf 2.68, with options \\"\$ac_cs_config\\"