Skip to content
Snippets Groups Projects
configure 940 KiB
Newer Older
  • Learn to ignore specific revisions
  • #if defined(LOG_AUTHPRIV)
    				int foo = 0;
    			        #else
    			        int foo = bar;
    			        #endif
    				0
    
      ;
      return 0;
    }
    _ACEOF
    
    if ac_fn_c_try_compile "$LINENO"; then :
         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
    
    $as_echo "yes" >&6; }
    
    		PBX_SYSLOG_FACILITY_LOG_AUTHPRIV=1
    
    
    $as_echo "#define HAVE_SYSLOG_FACILITY_LOG_AUTHPRIV 1" >>confdefs.h
    
         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    
    $as_echo "no" >&6; }
    
    rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    	CPPFLAGS="${saved_cppflags}"
        fi
    
    
        if test "x${PBX_SYSLOG_FACILITY_LOG_CRON}" != "x1"; then
    
    	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LOG_CRON in syslog.h" >&5
    
    $as_echo_n "checking for LOG_CRON in syslog.h... " >&6; }
    
    	saved_cppflags="${CPPFLAGS}"
    	if test "x${SYSLOG_FACILITY_LOG_CRON_DIR}" != "x"; then
    	    SYSLOG_FACILITY_LOG_CRON_INCLUDE="-I${SYSLOG_FACILITY_LOG_CRON_DIR}/include"
    	fi
    	CPPFLAGS="${CPPFLAGS} ${SYSLOG_FACILITY_LOG_CRON_INCLUDE}"
    
    
    	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    
     #include <syslog.h>
    
    int
    main ()
    {
    #if defined(LOG_CRON)
    				int foo = 0;
    			        #else
    			        int foo = bar;
    			        #endif
    				0
    
    if ac_fn_c_try_compile "$LINENO"; then :
         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
    
    $as_echo "yes" >&6; }
    
    		PBX_SYSLOG_FACILITY_LOG_CRON=1
    
    $as_echo "#define HAVE_SYSLOG_FACILITY_LOG_CRON 1" >>confdefs.h
    
         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    
    $as_echo "no" >&6; }
    
    rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    	CPPFLAGS="${saved_cppflags}"
        fi
    
    
    
        if test "x${PBX_SYSLOG_FACILITY_LOG_DAEMON}" != "x1"; then
    
    	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LOG_DAEMON in syslog.h" >&5
    
    $as_echo_n "checking for LOG_DAEMON in syslog.h... " >&6; }
    
    	saved_cppflags="${CPPFLAGS}"
    	if test "x${SYSLOG_FACILITY_LOG_DAEMON_DIR}" != "x"; then
    	    SYSLOG_FACILITY_LOG_DAEMON_INCLUDE="-I${SYSLOG_FACILITY_LOG_DAEMON_DIR}/include"
    	fi
    	CPPFLAGS="${CPPFLAGS} ${SYSLOG_FACILITY_LOG_DAEMON_INCLUDE}"
    
    
    	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    
     #include <syslog.h>
    
    int
    main ()
    {
    #if defined(LOG_DAEMON)
    				int foo = 0;
    			        #else
    			        int foo = bar;
    			        #endif
    				0
    
      ;
      return 0;
    }
    _ACEOF
    
    if ac_fn_c_try_compile "$LINENO"; then :
         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
    
    $as_echo "yes" >&6; }
    
    		PBX_SYSLOG_FACILITY_LOG_DAEMON=1
    
    $as_echo "#define HAVE_SYSLOG_FACILITY_LOG_DAEMON 1" >>confdefs.h
    
         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    
    $as_echo "no" >&6; }
    
    rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    	CPPFLAGS="${saved_cppflags}"
        fi
    
    
    
        if test "x${PBX_SYSLOG_FACILITY_LOG_FTP}" != "x1"; then
    
    	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LOG_FTP in syslog.h" >&5
    
    $as_echo_n "checking for LOG_FTP in syslog.h... " >&6; }
    
    	saved_cppflags="${CPPFLAGS}"
    	if test "x${SYSLOG_FACILITY_LOG_FTP_DIR}" != "x"; then
    	    SYSLOG_FACILITY_LOG_FTP_INCLUDE="-I${SYSLOG_FACILITY_LOG_FTP_DIR}/include"
    	fi
    	CPPFLAGS="${CPPFLAGS} ${SYSLOG_FACILITY_LOG_FTP_INCLUDE}"
    
    
    	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    
     #include <syslog.h>
    
    int
    main ()
    {
    #if defined(LOG_FTP)
    				int foo = 0;
    			        #else
    			        int foo = bar;
    			        #endif
    				0
    
      ;
      return 0;
    }
    _ACEOF
    
    if ac_fn_c_try_compile "$LINENO"; then :
         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
    
    $as_echo "yes" >&6; }
    
    $as_echo "#define HAVE_SYSLOG_FACILITY_LOG_FTP 1" >>confdefs.h
    
         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    
    $as_echo "no" >&6; }
    
    rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    	CPPFLAGS="${saved_cppflags}"
        fi
    
    
    
        if test "x${PBX_SYSLOG_FACILITY_LOG_KERN}" != "x1"; then
    
    	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LOG_KERN in syslog.h" >&5
    
    $as_echo_n "checking for LOG_KERN in syslog.h... " >&6; }
    
    	saved_cppflags="${CPPFLAGS}"
    	if test "x${SYSLOG_FACILITY_LOG_KERN_DIR}" != "x"; then
    	    SYSLOG_FACILITY_LOG_KERN_INCLUDE="-I${SYSLOG_FACILITY_LOG_KERN_DIR}/include"
    	fi
    	CPPFLAGS="${CPPFLAGS} ${SYSLOG_FACILITY_LOG_KERN_INCLUDE}"
    
    
    	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    
     #include <syslog.h>
    
    int
    main ()
    {
    #if defined(LOG_KERN)
    				int foo = 0;
    			        #else
    			        int foo = bar;
    			        #endif
    				0
    
      ;
      return 0;
    }
    _ACEOF
    
    if ac_fn_c_try_compile "$LINENO"; then :
         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
    
    $as_echo "yes" >&6; }
    
    		PBX_SYSLOG_FACILITY_LOG_KERN=1
    
    
    $as_echo "#define HAVE_SYSLOG_FACILITY_LOG_KERN 1" >>confdefs.h
    
         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    
    $as_echo "no" >&6; }
    
    rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    	CPPFLAGS="${saved_cppflags}"
        fi
    
    
    
        if test "x${PBX_SYSLOG_FACILITY_LOG_LPR}" != "x1"; then
    
    	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LOG_LPR in syslog.h" >&5
    
    $as_echo_n "checking for LOG_LPR in syslog.h... " >&6; }
    
    	saved_cppflags="${CPPFLAGS}"
    	if test "x${SYSLOG_FACILITY_LOG_LPR_DIR}" != "x"; then
    	    SYSLOG_FACILITY_LOG_LPR_INCLUDE="-I${SYSLOG_FACILITY_LOG_LPR_DIR}/include"
    	fi
    	CPPFLAGS="${CPPFLAGS} ${SYSLOG_FACILITY_LOG_LPR_INCLUDE}"
    
    
    	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    
     #include <syslog.h>
    
    int
    main ()
    {
    #if defined(LOG_LPR)
    				int foo = 0;
    			        #else
    			        int foo = bar;
    			        #endif
    				0
    
      ;
      return 0;
    }
    _ACEOF
    
    if ac_fn_c_try_compile "$LINENO"; then :
         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
    
    $as_echo "yes" >&6; }
    
    $as_echo "#define HAVE_SYSLOG_FACILITY_LOG_LPR 1" >>confdefs.h
    
    Russell Bryant's avatar
    Russell Bryant committed
    else
    
         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    
    $as_echo "no" >&6; }
    
    rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    	CPPFLAGS="${saved_cppflags}"
        fi
    
    
        if test "x${PBX_SYSLOG_FACILITY_LOG_MAIL}" != "x1"; then
    
    	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LOG_MAIL in syslog.h" >&5
    
    $as_echo_n "checking for LOG_MAIL in syslog.h... " >&6; }
    
    	saved_cppflags="${CPPFLAGS}"
    	if test "x${SYSLOG_FACILITY_LOG_MAIL_DIR}" != "x"; then
    	    SYSLOG_FACILITY_LOG_MAIL_INCLUDE="-I${SYSLOG_FACILITY_LOG_MAIL_DIR}/include"
    	fi
    	CPPFLAGS="${CPPFLAGS} ${SYSLOG_FACILITY_LOG_MAIL_INCLUDE}"
    
    
    	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    
     #include <syslog.h>
    
    #if defined(LOG_MAIL)
    				int foo = 0;
    			        #else
    			        int foo = bar;
    			        #endif
    				0
    
    if ac_fn_c_try_compile "$LINENO"; then :
         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
    
    $as_echo "yes" >&6; }
    
    		PBX_SYSLOG_FACILITY_LOG_MAIL=1
    
    $as_echo "#define HAVE_SYSLOG_FACILITY_LOG_MAIL 1" >>confdefs.h
    
         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    
    $as_echo "no" >&6; }
    
    rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    	CPPFLAGS="${saved_cppflags}"
        fi
    
    
    
        if test "x${PBX_SYSLOG_FACILITY_LOG_NEWS}" != "x1"; then
    
    	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LOG_NEWS in syslog.h" >&5
    
    $as_echo_n "checking for LOG_NEWS in syslog.h... " >&6; }
    
    	saved_cppflags="${CPPFLAGS}"
    	if test "x${SYSLOG_FACILITY_LOG_NEWS_DIR}" != "x"; then
    	    SYSLOG_FACILITY_LOG_NEWS_INCLUDE="-I${SYSLOG_FACILITY_LOG_NEWS_DIR}/include"
    	fi
    	CPPFLAGS="${CPPFLAGS} ${SYSLOG_FACILITY_LOG_NEWS_INCLUDE}"
    
    
    	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    
     #include <syslog.h>
    
    int
    main ()
    {
    #if defined(LOG_NEWS)
    				int foo = 0;
    			        #else
    			        int foo = bar;
    			        #endif
    				0
    
      ;
      return 0;
    }
    _ACEOF
    
    if ac_fn_c_try_compile "$LINENO"; then :
         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
    
    $as_echo "yes" >&6; }
    
    		PBX_SYSLOG_FACILITY_LOG_NEWS=1
    
    $as_echo "#define HAVE_SYSLOG_FACILITY_LOG_NEWS 1" >>confdefs.h
    
    Russell Bryant's avatar
    Russell Bryant committed
    
    
         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    
    $as_echo "no" >&6; }
    
    rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    	CPPFLAGS="${saved_cppflags}"
        fi
    
        if test "x${PBX_SYSLOG_FACILITY_LOG_SYSLOG}" != "x1"; then
    
    	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LOG_SYSLOG in syslog.h" >&5
    
    $as_echo_n "checking for LOG_SYSLOG in syslog.h... " >&6; }
    
    	saved_cppflags="${CPPFLAGS}"
    	if test "x${SYSLOG_FACILITY_LOG_SYSLOG_DIR}" != "x"; then
    	    SYSLOG_FACILITY_LOG_SYSLOG_INCLUDE="-I${SYSLOG_FACILITY_LOG_SYSLOG_DIR}/include"
    	fi
    	CPPFLAGS="${CPPFLAGS} ${SYSLOG_FACILITY_LOG_SYSLOG_INCLUDE}"
    
    
    	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    
     #include <syslog.h>
    
    int
    main ()
    {
    #if defined(LOG_SYSLOG)
    				int foo = 0;
    			        #else
    			        int foo = bar;
    			        #endif
    				0
    
    if ac_fn_c_try_compile "$LINENO"; then :
         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
    
    $as_echo "yes" >&6; }
    
    		PBX_SYSLOG_FACILITY_LOG_SYSLOG=1
    
    $as_echo "#define HAVE_SYSLOG_FACILITY_LOG_SYSLOG 1" >>confdefs.h
    
    Russell Bryant's avatar
    Russell Bryant committed
    else
    
         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    
    $as_echo "no" >&6; }
    
    Russell Bryant's avatar
    Russell Bryant committed
    
    
    rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    	CPPFLAGS="${saved_cppflags}"
        fi
    
        if test "x${PBX_SYSLOG_FACILITY_LOG_UUCP}" != "x1"; then
    
    	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LOG_UUCP in syslog.h" >&5
    
    $as_echo_n "checking for LOG_UUCP in syslog.h... " >&6; }
    
    	saved_cppflags="${CPPFLAGS}"
    	if test "x${SYSLOG_FACILITY_LOG_UUCP_DIR}" != "x"; then
    	    SYSLOG_FACILITY_LOG_UUCP_INCLUDE="-I${SYSLOG_FACILITY_LOG_UUCP_DIR}/include"
    	fi
    	CPPFLAGS="${CPPFLAGS} ${SYSLOG_FACILITY_LOG_UUCP_INCLUDE}"
    
    
    	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    
    /* end confdefs.h.  */
    
     #include <syslog.h>
    
    #if defined(LOG_UUCP)
    				int foo = 0;
    			        #else
    			        int foo = bar;
    			        #endif
    				0
    
    
    if ac_fn_c_try_compile "$LINENO"; then :
         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
    
    $as_echo "yes" >&6; }
    
    		PBX_SYSLOG_FACILITY_LOG_UUCP=1
    
    $as_echo "#define HAVE_SYSLOG_FACILITY_LOG_UUCP 1" >>confdefs.h
    
         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    
    $as_echo "no" >&6; }
    
    rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    	CPPFLAGS="${saved_cppflags}"
        fi
    
    if test -f makeopts; then
    
    	${ac_cv_path_EGREP} 'CURSES|GTK2|OSARCH|NEWT' makeopts > makeopts.acbak
    
    	touch makeopts.acbak
    
    # conf_bridge (binaural rendering): check if HRIRs are available
    
    # this check does not work when cross-compiling
    if test "${cross_compiling}" = "no"; then
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bridges/bridge_softmix/include/hrirs.h" >&5
    
    $as_echo_n "checking for bridges/bridge_softmix/include/hrirs.h... " >&6; }
    if ${ac_cv_file_bridges_bridge_softmix_include_hrirs_h+:} false; then :
      $as_echo_n "(cached) " >&6
    else
      test "$cross_compiling" = yes &&
      as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
    if test -r "bridges/bridge_softmix/include/hrirs.h"; then
      ac_cv_file_bridges_bridge_softmix_include_hrirs_h=yes
    else
      ac_cv_file_bridges_bridge_softmix_include_hrirs_h=no
    fi
    fi
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file_bridges_bridge_softmix_include_hrirs_h" >&5
    $as_echo "$ac_cv_file_bridges_bridge_softmix_include_hrirs_h" >&6; }
    if test "x$ac_cv_file_bridges_bridge_softmix_include_hrirs_h" = xyes; then :
    
    cat >>confdefs.h <<_ACEOF
    #define HAVE_BRIDGES_BRIDGE_SOFTMIX_INCLUDE_HRIRS_H 1
    _ACEOF
    
    fi
    
    
    ac_config_files="$ac_config_files build_tools/menuselect-deps makeopts"
    
    
    	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for mandatory modules: ${ac_mandatory_list}" >&5
    
    $as_echo_n "checking for mandatory modules: ${ac_mandatory_list}... " >&6; }
    
    	err=0;
    	for i in ${ac_mandatory_list}; do
    		eval "a=\${PBX_$i}"
    		if test "x${a}" = "x1" ; then continue; fi
    
    		if test ${err} = "0" ; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: fail" >&5
    
    $as_echo "fail" >&6; } ; fi
    
    		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
    
    $as_echo "" >&6; }
    
    		{ $as_echo "$as_me:${as_lineno-$LINENO}: ***" >&5
    
    $as_echo "$as_me: ***" >&6;}
    
    		{ $as_echo "$as_me:${as_lineno-$LINENO}: *** The $i installation appears to be missing or broken." >&5
    
    $as_echo "$as_me: *** The $i installation appears to be missing or broken." >&6;}
    
    		{ $as_echo "$as_me:${as_lineno-$LINENO}: *** Either correct the installation, or run configure" >&5
    
    $as_echo "$as_me: *** Either correct the installation, or run configure" >&6;}
    
    		{ $as_echo "$as_me:${as_lineno-$LINENO}: *** including --without-${a}." >&5
    
    $as_echo "$as_me: *** including --without-${a}." >&6;}
    
    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
    
    $as_echo "ok" >&6; }
    
    if test -f build_tools/menuselect-deps; then
        # extract old values of all PBX_ variables from menuselect-deps
        # and preserve them so that menuselect can determine whether
        # any previously-met dependencies are no longer met and warn
        # the user appropriately
        while IFS="=:" read var val old_val; do
            eval "PBX_${var}=\${PBX_${var}}:${val}"
        done < build_tools/menuselect-deps
    fi
    
    
    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
    # scripts and configure runs, see configure's option --config-cache.
    # It is not useful on other systems.  If it contains results you don't
    # want to keep, you may remove or edit it.
    #
    # config.status only pays attention to the cache file if you give it
    # the --recheck option to rerun configure.
    #
    # `ac_cv_env_foo' variables (set or unset) will be overridden when
    # loading this file, other *unset* `ac_cv_foo' will be assigned the
    # following values.
    
    _ACEOF
    
    # The following way of writing the cache mishandles newlines in values,
    # but we know of no workaround that is simple, portable, and efficient.
    
    # So, we kill variables containing newlines.
    
    # Ultrix sh set writes to stderr and can't be redirected directly,
    # and sets the high bit in the cache file unless we assign to the vars.
    
    (
      for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
        eval ac_val=\$$ac_var
        case $ac_val in #(
        *${as_nl}*)
          case $ac_var in #(
    
          *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
    
    $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
    
          esac
          case $ac_var in #(
          _ | IFS | as_nl) ;; #(
    
          BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
    
          *) { eval $ac_var=; unset $ac_var;} ;;
    
        case $as_nl`(ac_space=' '; set) 2>&1` in #(
        *${as_nl}ac_space=\ *)
    
          # `set' does not quote correctly, so add quotes: double-quote
          # substitution turns \\\\ into \\, and sed turns \\ into \.
    
          sed -n \
    	"s/'/'\\\\''/g;
    	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
    
        *)
          # `set' quotes correctly as required by POSIX, so do not add quotes.
    
          sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
    
         s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
         t end
    
         s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
         :end' >>confcache
    
    if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
      if test -w "$cache_file"; then
    
    David M. Lee's avatar
    David M. Lee committed
        if test "x$cache_file" != "x/dev/null"; then
    
          { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
    
    $as_echo "$as_me: updating cache $cache_file" >&6;}
    
    David M. Lee's avatar
    David M. Lee committed
          if test ! -f "$cache_file" || test -h "$cache_file"; then
    	cat confcache >"$cache_file"
          else
            case $cache_file in #(
            */* | ?:*)
    	  mv -f confcache "$cache_file"$$ &&
    	  mv -f "$cache_file"$$ "$cache_file" ;; #(
            *)
    	  mv -f confcache "$cache_file" ;;
    	esac
          fi
        fi
    
        { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
    
    $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
    
      fi
    fi
    rm -f confcache
    
    test "x$prefix" = xNONE && prefix=$ac_default_prefix
    # Let make expand exec_prefix.
    test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
    
    DEFS=-DHAVE_CONFIG_H
    
    ac_libobjs=
    ac_ltlibobjs=
    
    David M. Lee's avatar
    David M. Lee committed
    U=
    
    for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
      # 1. Remove the extension, and $U if already installed.
    
      ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
    
      ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
    
      # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
      #    will be set to the directory where LIBOBJS objects are built.
    
      as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
      as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
    
    David M. Lee's avatar
    David M. Lee committed
    : "${CONFIG_STATUS=./config.status}"
    
    ac_write_fail=0
    
    ac_clean_files_save=$ac_clean_files
    ac_clean_files="$ac_clean_files $CONFIG_STATUS"
    
    { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
    
    $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
    
    as_write_fail=0
    cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
    
    #! $SHELL
    # Generated by $as_me.
    # Run this file to recreate the current configuration.
    # Compiler output produced by configure, useful for debugging
    # configure, is in config.log if it exists.
    
    debug=false
    ac_cs_recheck=false
    ac_cs_silent=false
    
    SHELL=\${CONFIG_SHELL-$SHELL}
    export SHELL
    _ASEOF
    cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
    ## -------------------- ##
    ## M4sh Initialization. ##
    ## -------------------- ##
    
    # Be more Bourne compatible
    DUALCASE=1; export DUALCASE # for MKS sh
    
    if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
    
      # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
    
      # is contrary to our usage.  Disable this feature.
      alias -g '${1+"$@"}'='"$@"'
    
      case `(set -o) 2>/dev/null` in #(
      *posix*) :
        set -o posix ;; #(
      *) :
         ;;
    
    as_nl='
    '
    export as_nl
    # Printing a long string crashes Solaris 7 /usr/bin/printf.
    as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
    as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
    
    # Prefer a ksh shell builtin over an external printf program on Solaris,
    # but without wasting forks for bash or zsh.
    if test -z "$BASH_VERSION$ZSH_VERSION" \
        && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
      as_echo='print -r --'
      as_echo_n='print -rn --'
    elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
    
      as_echo='printf %s\n'
      as_echo_n='printf %s'
    else
      if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
        as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
        as_echo_n='/usr/ucb/echo -n'
    
        as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
        as_echo_n_body='eval
          arg=$1;
    
          case $arg in #(
    
          *"$as_nl"*)
    	expr "X$arg" : "X\\(.*\\)$as_nl";
    	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
          esac;
          expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
        '
        export as_echo_n_body
        as_echo_n='sh -c $as_echo_n_body as_echo'
    
      export as_echo_body
      as_echo='sh -c $as_echo_body as_echo'
    fi
    
    # The user is always right.
    if test "${PATH_SEPARATOR+set}" != set; then
      PATH_SEPARATOR=:
      (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
        (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
          PATH_SEPARATOR=';'
      }
    
    # IFS
    # We need space, tab and new line, in precisely that order.  Quoting is
    # there to prevent editors from complaining about space-tab.
    # (If _AS_PATH_WALK were called with IFS unset, it would disable word
    # splitting by setting IFS to empty value.)
    IFS=" ""	$as_nl"
    
    # Find who we are.  Look in the path if we contain no directory separator.
    
    David M. Lee's avatar
    David M. Lee committed
    as_myself=
    
    case $0 in #((
    
      *[\\/]* ) as_myself=$0 ;;
      *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    for as_dir in $PATH
    do
      IFS=$as_save_IFS
      test -z "$as_dir" && as_dir=.
    
        test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
      done
    
    IFS=$as_save_IFS
    
         ;;
    esac
    # We did not find ourselves, most probably we were run as `sh COMMAND'
    # in which case we are not to be found in the path.
    if test "x$as_myself" = x; then
      as_myself=$0
    fi
    if test ! -f "$as_myself"; then
    
      $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    
    # Unset variables that we do not need and which cause bugs (e.g. in
    # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    # suppresses any "Segmentation fault" message there.  '((' could
    # trigger a bug in pdksh 5.2.14.
    for as_var in BASH_ENV ENV MAIL MAILPATH
    do eval test x\${$as_var+set} = xset \
      && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    
    # NLS nuisances.
    
    LC_ALL=C
    export LC_ALL
    LANGUAGE=C
    export LANGUAGE
    
    # CDPATH.
    (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    
    
    
    David M. Lee's avatar
    David M. Lee committed
    # as_fn_error STATUS ERROR [LINENO LOG_FD]
    # ----------------------------------------
    
    # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    
    David M. Lee's avatar
    David M. Lee committed
    # script with STATUS, using 1 if that was 0.
    
    as_fn_error ()
    {
    
    David M. Lee's avatar
    David M. Lee committed
      as_status=$1; test $as_status -eq 0 && as_status=1
      if test "$4"; then
        as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
        $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    
    David M. Lee's avatar
    David M. Lee committed
      $as_echo "$as_me: error: $2" >&2
    
      as_fn_exit $as_status
    } # as_fn_error
    
    
    # as_fn_set_status STATUS
    # -----------------------
    # Set $? to STATUS, without forking.
    as_fn_set_status ()
    {
      return $1
    } # as_fn_set_status
    
    # as_fn_exit STATUS
    # -----------------
    # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    as_fn_exit ()
    {
      set +e
      as_fn_set_status $1
      exit $1
    } # as_fn_exit
    
    # as_fn_unset VAR
    # ---------------
    # Portably unset VAR.
    as_fn_unset ()
    {
      { eval $1=; unset $1;}
    }
    as_unset=as_fn_unset
    # as_fn_append VAR VALUE
    # ----------------------
    # Append the text in VALUE to the end of the definition contained in VAR. Take
    # advantage of any shell optimizations that allow amortized linear growth over
    # repeated appends, instead of the typical quadratic growth present in naive
    # implementations.
    if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
      eval 'as_fn_append ()
      {
        eval $1+=\$2
      }'
    else
      as_fn_append ()
      {
        eval $1=\$$1\$2
      }
    fi # as_fn_append
    
    # as_fn_arith ARG...
    # ------------------
    # Perform arithmetic evaluation on the ARGs, and store the result in the
    # global $as_val. Take advantage of shells that can avoid forks. The arguments
    # must be portable across $(()) and expr.
    if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
      eval 'as_fn_arith ()
      {
        as_val=$(( $* ))
      }'
    else
      as_fn_arith ()
      {
        as_val=`expr "$@" || test $? -eq 1`
      }
    fi # as_fn_arith
    
    
    
    if expr a : '\(a\)' >/dev/null 2>&1 &&
       test "X`expr 00001 : '.*\(...\)'`" = X001; then
      as_expr=expr
    else
      as_expr=false
    fi
    
    if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
      as_basename=basename
    else
    
      as_basename=false
    
    if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
      as_dirname=dirname
    else
      as_dirname=false
    fi
    
    as_me=`$as_basename -- "$0" ||
    $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    	 X"$0" : 'X\(//\)$' \| \
    	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    
    $as_echo X/"$0" |
    
        sed '/^.*\/\([^/][^/]*\)\/*$/{
    	    s//\1/
    	    q
    	  }
    	  /^X\/\(\/\/\)$/{
    	    s//\1/
    	    q
    	  }
    	  /^X\/\(\/\).*/{
    	    s//\1/
    	    q
    	  }
    	  s/.*/./; q'`
    
    
    # Avoid depending upon Character Ranges.
    as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    as_cr_digits='0123456789'
    as_cr_alnum=$as_cr_Letters$as_cr_digits
    
    ECHO_C= ECHO_N= ECHO_T=
    
    case `echo -n x` in #(((((
    
      case `echo 'xy\c'` in
    
      *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    
      xy)  ECHO_C='\c';;
      *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
           ECHO_T='	';;
    
    rm -f conf$$ conf$$.exe conf$$.file
    
    if test -d conf$$.dir; then
      rm -f conf$$.dir/conf$$.file
    else
      rm -f conf$$.dir
    
      mkdir conf$$.dir 2>/dev/null
    fi
    if (echo >conf$$.file) 2>/dev/null; then
      if ln -s conf$$.file conf$$ 2>/dev/null; then
        as_ln_s='ln -s'
        # ... but there are two gotchas:
        # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
        # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    
    David M. Lee's avatar
    David M. Lee committed
        # In both cases, we have to default to `cp -pR'.
    
        ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    
    David M. Lee's avatar
    David M. Lee committed
          as_ln_s='cp -pR'
    
      elif ln conf$$.file conf$$ 2>/dev/null; then
        as_ln_s=ln
      else
    
    David M. Lee's avatar
    David M. Lee committed
        as_ln_s='cp -pR'
    
    David M. Lee's avatar
    David M. Lee committed
      as_ln_s='cp -pR'
    
    rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    rmdir conf$$.dir 2>/dev/null
    
    
    # as_fn_mkdir_p
    # -------------
    # Create "$as_dir" as a directory, including parents if necessary.
    as_fn_mkdir_p ()
    {
    
      case $as_dir in #(
      -*) as_dir=./$as_dir;;
      esac
      test -d "$as_dir" || eval $as_mkdir_p || {
        as_dirs=
        while :; do
          case $as_dir in #(
          *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
          *) as_qdir=$as_dir;;
          esac
          as_dirs="'$as_qdir' $as_dirs"
          as_dir=`$as_dirname -- "$as_dir" ||
    $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    	 X"$as_dir" : 'X\(//\)[^/]' \| \
    	 X"$as_dir" : 'X\(//\)$' \| \
    	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    $as_echo X"$as_dir" |
        sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    	    s//\1/
    	    q
    	  }
    	  /^X\(\/\/\)[^/].*/{
    	    s//\1/
    	    q
    	  }
    	  /^X\(\/\/\)$/{
    	    s//\1/
    	    q
    	  }
    	  /^X\(\/\).*/{
    	    s//\1/
    	    q
    	  }
    	  s/.*/./; q'`
          test -d "$as_dir" && break
        done
        test -z "$as_dirs" || eval "mkdir $as_dirs"
    
    David M. Lee's avatar
    David M. Lee committed
      } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    
    if mkdir -p . 2>/dev/null; then
    
      as_mkdir_p='mkdir -p "$as_dir"'
    
    else
      test -d ./-p && rmdir ./-p
      as_mkdir_p=false
    fi
    
    
    David M. Lee's avatar
    David M. Lee committed
    
    # as_fn_executable_p FILE