meillo@0: #! /bin/sh meillo@0: # Guess values for system-dependent variables and create Makefiles. meillo@1: # Generated by GNU Autoconf 2.61 for masqmail 0.2.21. meillo@0: # meillo@0: # Report bugs to . meillo@0: # meillo@1: # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, meillo@1: # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. meillo@0: # This configure script is free software; the Free Software Foundation meillo@0: # gives unlimited permission to copy, distribute and modify it. meillo@0: ## --------------------- ## meillo@0: ## M4sh Initialization. ## meillo@0: ## --------------------- ## meillo@0: meillo@1: # Be more Bourne compatible meillo@1: DUALCASE=1; export DUALCASE # for MKS sh meillo@0: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then meillo@0: emulate sh meillo@0: NULLCMD=: meillo@0: # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which meillo@0: # is contrary to our usage. Disable this feature. meillo@0: alias -g '${1+"$@"}'='"$@"' meillo@1: setopt NO_GLOB_SUBST meillo@1: else meillo@1: case `(set -o) 2>/dev/null` in meillo@1: *posix*) set -o posix ;; meillo@1: esac meillo@1: meillo@1: fi meillo@1: meillo@1: meillo@1: meillo@1: meillo@1: # PATH needs CR meillo@0: # Avoid depending upon Character Ranges. meillo@0: as_cr_letters='abcdefghijklmnopqrstuvwxyz' meillo@0: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' meillo@0: as_cr_Letters=$as_cr_letters$as_cr_LETTERS meillo@0: as_cr_digits='0123456789' meillo@0: as_cr_alnum=$as_cr_Letters$as_cr_digits meillo@0: meillo@0: # The user is always right. meillo@0: if test "${PATH_SEPARATOR+set}" != set; then meillo@0: echo "#! /bin/sh" >conf$$.sh meillo@0: echo "exit 0" >>conf$$.sh meillo@0: chmod +x conf$$.sh meillo@0: if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then meillo@0: PATH_SEPARATOR=';' meillo@0: else meillo@0: PATH_SEPARATOR=: meillo@0: fi meillo@0: rm -f conf$$.sh meillo@0: fi meillo@0: meillo@1: # Support unset when possible. meillo@1: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then meillo@1: as_unset=unset meillo@1: else meillo@1: as_unset=false meillo@1: fi meillo@1: meillo@1: meillo@1: # IFS meillo@1: # We need space, tab and new line, in precisely that order. Quoting is meillo@1: # there to prevent editors from complaining about space-tab. meillo@1: # (If _AS_PATH_WALK were called with IFS unset, it would disable word meillo@1: # splitting by setting IFS to empty value.) meillo@1: as_nl=' meillo@1: ' meillo@1: IFS=" "" $as_nl" meillo@1: meillo@1: # Find who we are. Look in the path if we contain no directory separator. meillo@1: case $0 in meillo@1: *[\\/]* ) as_myself=$0 ;; meillo@1: *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR meillo@0: for as_dir in $PATH meillo@0: do meillo@0: IFS=$as_save_IFS meillo@0: test -z "$as_dir" && as_dir=. meillo@0: test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break meillo@0: done meillo@1: IFS=$as_save_IFS meillo@1: meillo@1: ;; meillo@1: esac meillo@1: # We did not find ourselves, most probably we were run as `sh COMMAND' meillo@1: # in which case we are not to be found in the path. meillo@1: if test "x$as_myself" = x; then meillo@1: as_myself=$0 meillo@1: fi meillo@1: if test ! -f "$as_myself"; then meillo@1: echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 meillo@1: { (exit 1); exit 1; } meillo@1: fi meillo@1: meillo@1: # Work around bugs in pre-3.0 UWIN ksh. meillo@1: for as_var in ENV MAIL MAILPATH meillo@1: do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var meillo@1: done meillo@1: PS1='$ ' meillo@1: PS2='> ' meillo@1: PS4='+ ' meillo@1: meillo@1: # NLS nuisances. meillo@1: for as_var in \ meillo@1: LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ meillo@1: LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ meillo@1: LC_TELEPHONE LC_TIME meillo@1: do meillo@1: if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then meillo@1: eval $as_var=C; export $as_var meillo@1: else meillo@1: ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var meillo@0: fi meillo@1: done meillo@1: meillo@1: # Required to use basename. meillo@1: if expr a : '\(a\)' >/dev/null 2>&1 && meillo@1: test "X`expr 00001 : '.*\(...\)'`" = X001; then meillo@1: as_expr=expr meillo@1: else meillo@1: as_expr=false meillo@1: fi meillo@1: meillo@1: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then meillo@1: as_basename=basename meillo@1: else meillo@1: as_basename=false meillo@1: fi meillo@1: meillo@1: meillo@1: # Name of the executable. meillo@1: as_me=`$as_basename -- "$0" || meillo@1: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ meillo@1: X"$0" : 'X\(//\)$' \| \ meillo@1: X"$0" : 'X\(/\)' \| . 2>/dev/null || meillo@1: echo X/"$0" | meillo@1: sed '/^.*\/\([^/][^/]*\)\/*$/{ meillo@1: s//\1/ meillo@1: q meillo@1: } meillo@1: /^X\/\(\/\/\)$/{ meillo@1: s//\1/ meillo@1: q meillo@1: } meillo@1: /^X\/\(\/\).*/{ meillo@1: s//\1/ meillo@1: q meillo@1: } meillo@1: s/.*/./; q'` meillo@1: meillo@1: # CDPATH. meillo@1: $as_unset CDPATH meillo@1: meillo@1: meillo@1: if test "x$CONFIG_SHELL" = x; then meillo@1: if (eval ":") 2>/dev/null; then meillo@1: as_have_required=yes meillo@1: else meillo@1: as_have_required=no meillo@1: fi meillo@1: meillo@1: if test $as_have_required = yes && (eval ": meillo@1: (as_func_return () { meillo@1: (exit \$1) meillo@1: } meillo@1: as_func_success () { meillo@1: as_func_return 0 meillo@1: } meillo@1: as_func_failure () { meillo@1: as_func_return 1 meillo@1: } meillo@1: as_func_ret_success () { meillo@1: return 0 meillo@1: } meillo@1: as_func_ret_failure () { meillo@1: return 1 meillo@1: } meillo@1: meillo@1: exitcode=0 meillo@1: if as_func_success; then meillo@1: : meillo@1: else meillo@1: exitcode=1 meillo@1: echo as_func_success failed. meillo@1: fi meillo@1: meillo@1: if as_func_failure; then meillo@1: exitcode=1 meillo@1: echo as_func_failure succeeded. meillo@1: fi meillo@1: meillo@1: if as_func_ret_success; then meillo@1: : meillo@1: else meillo@1: exitcode=1 meillo@1: echo as_func_ret_success failed. meillo@1: fi meillo@1: meillo@1: if as_func_ret_failure; then meillo@1: exitcode=1 meillo@1: echo as_func_ret_failure succeeded. meillo@1: fi meillo@1: meillo@1: if ( set x; as_func_ret_success y && test x = \"\$1\" ); then meillo@1: : meillo@1: else meillo@1: exitcode=1 meillo@1: echo positional parameters were not saved. meillo@1: fi meillo@1: meillo@1: test \$exitcode = 0) || { (exit 1); exit 1; } meillo@1: meillo@1: ( meillo@1: as_lineno_1=\$LINENO meillo@1: as_lineno_2=\$LINENO meillo@1: test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && meillo@1: test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } meillo@1: ") 2> /dev/null; then meillo@1: : meillo@1: else meillo@1: as_candidate_shells= meillo@0: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR meillo@0: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH meillo@0: do meillo@0: IFS=$as_save_IFS meillo@0: test -z "$as_dir" && as_dir=. meillo@1: case $as_dir in meillo@0: /*) meillo@1: for as_base in sh bash ksh sh5; do meillo@1: as_candidate_shells="$as_candidate_shells $as_dir/$as_base" meillo@1: done;; meillo@1: esac meillo@1: done meillo@1: IFS=$as_save_IFS meillo@1: meillo@1: meillo@1: for as_shell in $as_candidate_shells $SHELL; do meillo@1: # Try only shells that exist, to save several forks. meillo@1: if { test -f "$as_shell" || test -f "$as_shell.exe"; } && meillo@1: { ("$as_shell") 2> /dev/null <<\_ASEOF meillo@1: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then meillo@1: emulate sh meillo@1: NULLCMD=: meillo@1: # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which meillo@1: # is contrary to our usage. Disable this feature. meillo@1: alias -g '${1+"$@"}'='"$@"' meillo@1: setopt NO_GLOB_SUBST meillo@1: else meillo@1: case `(set -o) 2>/dev/null` in meillo@1: *posix*) set -o posix ;; meillo@1: esac meillo@1: meillo@1: fi meillo@1: meillo@1: meillo@1: : meillo@1: _ASEOF meillo@1: }; then meillo@1: CONFIG_SHELL=$as_shell meillo@1: as_have_required=yes meillo@1: if { "$as_shell" 2> /dev/null <<\_ASEOF meillo@1: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then meillo@1: emulate sh meillo@1: NULLCMD=: meillo@1: # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which meillo@1: # is contrary to our usage. Disable this feature. meillo@1: alias -g '${1+"$@"}'='"$@"' meillo@1: setopt NO_GLOB_SUBST meillo@1: else meillo@1: case `(set -o) 2>/dev/null` in meillo@1: *posix*) set -o posix ;; meillo@1: esac meillo@1: meillo@1: fi meillo@1: meillo@1: meillo@1: : meillo@1: (as_func_return () { meillo@1: (exit $1) meillo@1: } meillo@1: as_func_success () { meillo@1: as_func_return 0 meillo@1: } meillo@1: as_func_failure () { meillo@1: as_func_return 1 meillo@1: } meillo@1: as_func_ret_success () { meillo@1: return 0 meillo@1: } meillo@1: as_func_ret_failure () { meillo@1: return 1 meillo@1: } meillo@1: meillo@1: exitcode=0 meillo@1: if as_func_success; then meillo@1: : meillo@1: else meillo@1: exitcode=1 meillo@1: echo as_func_success failed. meillo@1: fi meillo@1: meillo@1: if as_func_failure; then meillo@1: exitcode=1 meillo@1: echo as_func_failure succeeded. meillo@1: fi meillo@1: meillo@1: if as_func_ret_success; then meillo@1: : meillo@1: else meillo@1: exitcode=1 meillo@1: echo as_func_ret_success failed. meillo@1: fi meillo@1: meillo@1: if as_func_ret_failure; then meillo@1: exitcode=1 meillo@1: echo as_func_ret_failure succeeded. meillo@1: fi meillo@1: meillo@1: if ( set x; as_func_ret_success y && test x = "$1" ); then meillo@1: : meillo@1: else meillo@1: exitcode=1 meillo@1: echo positional parameters were not saved. meillo@1: fi meillo@1: meillo@1: test $exitcode = 0) || { (exit 1); exit 1; } meillo@1: meillo@1: ( meillo@0: as_lineno_1=$LINENO meillo@0: as_lineno_2=$LINENO meillo@0: test "x$as_lineno_1" != "x$as_lineno_2" && meillo@1: test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } meillo@1: meillo@1: _ASEOF meillo@1: }; then meillo@1: break meillo@1: fi meillo@1: meillo@1: fi meillo@1: meillo@1: done meillo@1: meillo@1: if test "x$CONFIG_SHELL" != x; then meillo@1: for as_var in BASH_ENV ENV meillo@1: do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var meillo@1: done meillo@1: export CONFIG_SHELL meillo@1: exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} meillo@1: fi meillo@1: meillo@1: meillo@1: if test $as_have_required = no; then meillo@1: echo This script requires a shell more modern than all the meillo@1: echo shells that I found on your system. Please install a meillo@1: echo modern shell, or manually run the script under such a meillo@1: echo shell if you do have one. meillo@1: { (exit 1); exit 1; } meillo@1: fi meillo@1: meillo@1: meillo@1: fi meillo@1: meillo@1: fi meillo@1: meillo@1: meillo@1: meillo@1: (eval "as_func_return () { meillo@1: (exit \$1) meillo@1: } meillo@1: as_func_success () { meillo@1: as_func_return 0 meillo@1: } meillo@1: as_func_failure () { meillo@1: as_func_return 1 meillo@1: } meillo@1: as_func_ret_success () { meillo@1: return 0 meillo@1: } meillo@1: as_func_ret_failure () { meillo@1: return 1 meillo@1: } meillo@1: meillo@1: exitcode=0 meillo@1: if as_func_success; then meillo@1: : meillo@1: else meillo@1: exitcode=1 meillo@1: echo as_func_success failed. meillo@1: fi meillo@1: meillo@1: if as_func_failure; then meillo@1: exitcode=1 meillo@1: echo as_func_failure succeeded. meillo@1: fi meillo@1: meillo@1: if as_func_ret_success; then meillo@1: : meillo@1: else meillo@1: exitcode=1 meillo@1: echo as_func_ret_success failed. meillo@1: fi meillo@1: meillo@1: if as_func_ret_failure; then meillo@1: exitcode=1 meillo@1: echo as_func_ret_failure succeeded. meillo@1: fi meillo@1: meillo@1: if ( set x; as_func_ret_success y && test x = \"\$1\" ); then meillo@1: : meillo@1: else meillo@1: exitcode=1 meillo@1: echo positional parameters were not saved. meillo@1: fi meillo@1: meillo@1: test \$exitcode = 0") || { meillo@1: echo No shell found that supports shell functions. meillo@1: echo Please tell autoconf@gnu.org about your system, meillo@1: echo including any error possibly output before this meillo@1: echo message meillo@1: } meillo@1: meillo@1: meillo@1: meillo@1: as_lineno_1=$LINENO meillo@1: as_lineno_2=$LINENO meillo@1: test "x$as_lineno_1" != "x$as_lineno_2" && meillo@1: test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { meillo@0: meillo@0: # Create $as_me.lineno as a copy of $as_myself, but with $LINENO meillo@0: # uniformly replaced by the line number. The first 'sed' inserts a meillo@1: # line-number line after each line using $LINENO; the second 'sed' meillo@1: # does the real work. The second script uses 'N' to pair each meillo@1: # line-number line with the line containing $LINENO, and appends meillo@1: # trailing '-' during substitution so that $LINENO is not a special meillo@1: # case at line end. meillo@0: # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the meillo@1: # scripts with optimization help from Paolo Bonzini. Blame Lee meillo@1: # E. McMahon (1931-1989) for sed's syntax. :-) meillo@1: sed -n ' meillo@1: p meillo@1: /[$]LINENO/= meillo@1: ' <$as_myself | meillo@0: sed ' meillo@1: s/[$]LINENO.*/&-/ meillo@1: t lineno meillo@1: b meillo@1: :lineno meillo@0: N meillo@1: :loop meillo@1: s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ meillo@0: t loop meillo@1: s/-\n.*// meillo@0: ' >$as_me.lineno && meillo@1: chmod +x "$as_me.lineno" || meillo@0: { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 meillo@0: { (exit 1); exit 1; }; } meillo@0: meillo@0: # Don't try to exec as it changes $[0], causing all sort of problems meillo@0: # (the dirname of $[0] is not the place where we might find the meillo@1: # original and so on. Autoconf is especially sensitive to this). meillo@1: . "./$as_me.lineno" meillo@0: # Exit status is that of the last command. meillo@0: exit meillo@0: } meillo@0: meillo@0: meillo@1: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then meillo@1: as_dirname=dirname meillo@1: else meillo@1: as_dirname=false meillo@1: fi meillo@1: meillo@1: ECHO_C= ECHO_N= ECHO_T= meillo@1: case `echo -n x` in meillo@1: -n*) meillo@1: case `echo 'x\c'` in meillo@1: *c*) ECHO_T=' ';; # ECHO_T is single tab character. meillo@1: *) ECHO_C='\c';; meillo@1: esac;; meillo@1: *) meillo@1: ECHO_N='-n';; meillo@0: esac meillo@0: meillo@1: if expr a : '\(a\)' >/dev/null 2>&1 && meillo@1: test "X`expr 00001 : '.*\(...\)'`" = X001; then meillo@0: as_expr=expr meillo@0: else meillo@0: as_expr=false meillo@0: fi meillo@0: meillo@0: rm -f conf$$ conf$$.exe conf$$.file meillo@1: if test -d conf$$.dir; then meillo@1: rm -f conf$$.dir/conf$$.file meillo@1: else meillo@1: rm -f conf$$.dir meillo@1: mkdir conf$$.dir meillo@1: fi meillo@0: echo >conf$$.file meillo@0: if ln -s conf$$.file conf$$ 2>/dev/null; then meillo@1: as_ln_s='ln -s' meillo@1: # ... but there are two gotchas: meillo@1: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. meillo@1: # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. meillo@1: # In both cases, we have to default to `cp -p'. meillo@1: ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || meillo@0: as_ln_s='cp -p' meillo@0: elif ln conf$$.file conf$$ 2>/dev/null; then meillo@0: as_ln_s=ln meillo@0: else meillo@0: as_ln_s='cp -p' meillo@0: fi meillo@1: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file meillo@1: rmdir conf$$.dir 2>/dev/null meillo@0: meillo@0: if mkdir -p . 2>/dev/null; then meillo@0: as_mkdir_p=: meillo@0: else meillo@0: test -d ./-p && rmdir ./-p meillo@0: as_mkdir_p=false meillo@0: fi meillo@0: meillo@1: if test -x / >/dev/null 2>&1; then meillo@1: as_test_x='test -x' meillo@1: else meillo@1: if ls -dL / >/dev/null 2>&1; then meillo@1: as_ls_L_option=L meillo@1: else meillo@1: as_ls_L_option= meillo@1: fi meillo@1: as_test_x=' meillo@1: eval sh -c '\'' meillo@1: if test -d "$1"; then meillo@1: test -d "$1/."; meillo@1: else meillo@1: case $1 in meillo@1: -*)set "./$1";; meillo@1: esac; meillo@1: case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in meillo@1: ???[sx]*):;;*)false;;esac;fi meillo@1: '\'' sh meillo@1: ' meillo@1: fi meillo@1: as_executable_p=$as_test_x meillo@0: meillo@0: # Sed expression to map a string onto a valid CPP name. meillo@0: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" meillo@0: meillo@0: # Sed expression to map a string onto a valid variable name. meillo@0: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" meillo@0: meillo@0: meillo@1: meillo@1: exec 7<&0 &1 meillo@0: meillo@0: # Name of the host. meillo@0: # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, meillo@0: # so uname gets run too. meillo@0: ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` meillo@0: meillo@0: # meillo@0: # Initializations. meillo@0: # meillo@0: ac_default_prefix=/usr/local meillo@1: ac_clean_files= meillo@0: ac_config_libobj_dir=. meillo@1: LIBOBJS= meillo@0: cross_compiling=no meillo@0: subdirs= meillo@0: MFLAGS= meillo@0: MAKEFLAGS= meillo@0: SHELL=${CONFIG_SHELL-/bin/sh} meillo@0: meillo@0: # Identity of this package. meillo@0: PACKAGE_NAME='masqmail' meillo@0: PACKAGE_TARNAME='masqmail' meillo@0: PACKAGE_VERSION='0.2.21' meillo@0: PACKAGE_STRING='masqmail 0.2.21' meillo@0: PACKAGE_BUGREPORT='oku@debian.org' meillo@0: meillo@0: ac_unique_file="src/masqmail.c" meillo@0: ac_default_prefix=/usr meillo@0: # Factoring default headers for most tests. meillo@0: ac_includes_default="\ meillo@0: #include meillo@1: #ifdef HAVE_SYS_TYPES_H meillo@0: # include meillo@0: #endif meillo@1: #ifdef HAVE_SYS_STAT_H meillo@0: # include meillo@0: #endif meillo@1: #ifdef STDC_HEADERS meillo@0: # include meillo@0: # include meillo@0: #else meillo@1: # ifdef HAVE_STDLIB_H meillo@0: # include meillo@0: # endif meillo@0: #endif meillo@1: #ifdef HAVE_STRING_H meillo@1: # if !defined STDC_HEADERS && defined HAVE_MEMORY_H meillo@0: # include meillo@0: # endif meillo@0: # include meillo@0: #endif meillo@1: #ifdef HAVE_STRINGS_H meillo@0: # include meillo@0: #endif meillo@1: #ifdef HAVE_INTTYPES_H meillo@0: # include meillo@0: #endif meillo@1: #ifdef HAVE_STDINT_H meillo@1: # include meillo@1: #endif meillo@1: #ifdef HAVE_UNISTD_H meillo@0: # include meillo@0: #endif" meillo@0: meillo@1: ac_subst_vars='SHELL meillo@1: PATH_SEPARATOR meillo@1: PACKAGE_NAME meillo@1: PACKAGE_TARNAME meillo@1: PACKAGE_VERSION meillo@1: PACKAGE_STRING meillo@1: PACKAGE_BUGREPORT meillo@1: exec_prefix meillo@1: prefix meillo@1: program_transform_name meillo@1: bindir meillo@1: sbindir meillo@1: libexecdir meillo@1: datarootdir meillo@1: datadir meillo@1: sysconfdir meillo@1: sharedstatedir meillo@1: localstatedir meillo@1: includedir meillo@1: oldincludedir meillo@1: docdir meillo@1: infodir meillo@1: htmldir meillo@1: dvidir meillo@1: pdfdir meillo@1: psdir meillo@1: libdir meillo@1: localedir meillo@1: mandir meillo@1: DEFS meillo@1: ECHO_C meillo@1: ECHO_N meillo@1: ECHO_T meillo@1: LIBS meillo@1: build_alias meillo@1: host_alias meillo@1: target_alias meillo@1: INSTALL_PROGRAM meillo@1: INSTALL_SCRIPT meillo@1: INSTALL_DATA meillo@1: CYGPATH_W meillo@1: PACKAGE meillo@1: VERSION meillo@1: ACLOCAL meillo@1: AUTOCONF meillo@1: AUTOMAKE meillo@1: AUTOHEADER meillo@1: MAKEINFO meillo@1: AMTAR meillo@1: install_sh meillo@1: STRIP meillo@1: INSTALL_STRIP_PROGRAM meillo@1: AWK meillo@1: SET_MAKE meillo@1: am__leading_dot meillo@1: CC meillo@1: CFLAGS meillo@1: LDFLAGS meillo@1: CPPFLAGS meillo@1: ac_ct_CC meillo@1: EXEEXT meillo@1: OBJEXT meillo@1: DEPDIR meillo@1: am__include meillo@1: am__quote meillo@1: AMDEP_TRUE meillo@1: AMDEP_FALSE meillo@1: AMDEPBACKSLASH meillo@1: CCDEPMODE meillo@1: am__fastdepCC_TRUE meillo@1: am__fastdepCC_FALSE meillo@1: CPP meillo@1: GREP meillo@1: EGREP meillo@1: RANLIB meillo@1: PKG_CONFIG meillo@1: GLIB_CFLAGS meillo@1: GLIB_LIBS meillo@1: RESOLV_LIBS meillo@1: with_user meillo@1: with_group meillo@1: BASE64_LIBS meillo@1: MD5_LIBS meillo@1: has_ident meillo@1: IDENT_LIBS meillo@1: LOCKFILE_LIBS meillo@1: USE_LIBLOCKFILE meillo@1: with_logdir meillo@1: with_spooldir meillo@1: with_confdir meillo@1: LIBOBJS meillo@1: LTLIBOBJS' meillo@0: ac_subst_files='' meillo@1: ac_precious_vars='build_alias meillo@1: host_alias meillo@1: target_alias meillo@1: CC meillo@1: CFLAGS meillo@1: LDFLAGS meillo@1: LIBS meillo@1: CPPFLAGS meillo@1: CPP meillo@1: PKG_CONFIG meillo@1: GLIB_CFLAGS meillo@1: GLIB_LIBS' meillo@1: meillo@0: meillo@0: # Initialize some variables set by options. meillo@0: ac_init_help= meillo@0: ac_init_version=false meillo@0: # The variables have the same names as the options, with meillo@0: # dashes changed to underlines. meillo@0: cache_file=/dev/null meillo@0: exec_prefix=NONE meillo@0: no_create= meillo@0: no_recursion= meillo@0: prefix=NONE meillo@0: program_prefix=NONE meillo@0: program_suffix=NONE meillo@0: program_transform_name=s,x,x, meillo@0: silent= meillo@0: site= meillo@0: srcdir= meillo@0: verbose= meillo@0: x_includes=NONE meillo@0: x_libraries=NONE meillo@0: meillo@0: # Installation directory options. meillo@0: # These are left unexpanded so users can "make install exec_prefix=/foo" meillo@0: # and all the variables that are supposed to be based on exec_prefix meillo@0: # by default will actually change. meillo@0: # Use braces instead of parens because sh, perl, etc. also accept them. meillo@1: # (The list follows the same order as the GNU Coding Standards.) meillo@0: bindir='${exec_prefix}/bin' meillo@0: sbindir='${exec_prefix}/sbin' meillo@0: libexecdir='${exec_prefix}/libexec' meillo@1: datarootdir='${prefix}/share' meillo@1: datadir='${datarootdir}' meillo@0: sysconfdir='${prefix}/etc' meillo@0: sharedstatedir='${prefix}/com' meillo@0: localstatedir='${prefix}/var' meillo@0: includedir='${prefix}/include' meillo@0: oldincludedir='/usr/include' meillo@1: docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' meillo@1: infodir='${datarootdir}/info' meillo@1: htmldir='${docdir}' meillo@1: dvidir='${docdir}' meillo@1: pdfdir='${docdir}' meillo@1: psdir='${docdir}' meillo@1: libdir='${exec_prefix}/lib' meillo@1: localedir='${datarootdir}/locale' meillo@1: mandir='${datarootdir}/man' meillo@0: meillo@0: ac_prev= meillo@1: ac_dashdash= meillo@0: for ac_option meillo@0: do meillo@0: # If the previous option needs an argument, assign it. meillo@0: if test -n "$ac_prev"; then meillo@1: eval $ac_prev=\$ac_option meillo@0: ac_prev= meillo@0: continue meillo@0: fi meillo@0: meillo@1: case $ac_option in meillo@1: *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; meillo@1: *) ac_optarg=yes ;; meillo@1: esac meillo@0: meillo@0: # Accept the important Cygnus configure options, so we can diagnose typos. meillo@0: meillo@1: case $ac_dashdash$ac_option in meillo@1: --) meillo@1: ac_dashdash=yes ;; meillo@0: meillo@0: -bindir | --bindir | --bindi | --bind | --bin | --bi) meillo@0: ac_prev=bindir ;; meillo@0: -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) meillo@0: bindir=$ac_optarg ;; meillo@0: meillo@0: -build | --build | --buil | --bui | --bu) meillo@0: ac_prev=build_alias ;; meillo@0: -build=* | --build=* | --buil=* | --bui=* | --bu=*) meillo@0: build_alias=$ac_optarg ;; meillo@0: meillo@0: -cache-file | --cache-file | --cache-fil | --cache-fi \ meillo@0: | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) meillo@0: ac_prev=cache_file ;; meillo@0: -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ meillo@0: | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) meillo@0: cache_file=$ac_optarg ;; meillo@0: meillo@0: --config-cache | -C) meillo@0: cache_file=config.cache ;; meillo@0: meillo@1: -datadir | --datadir | --datadi | --datad) meillo@0: ac_prev=datadir ;; meillo@1: -datadir=* | --datadir=* | --datadi=* | --datad=*) meillo@0: datadir=$ac_optarg ;; meillo@0: meillo@1: -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ meillo@1: | --dataroo | --dataro | --datar) meillo@1: ac_prev=datarootdir ;; meillo@1: -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ meillo@1: | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) meillo@1: datarootdir=$ac_optarg ;; meillo@1: meillo@0: -disable-* | --disable-*) meillo@0: ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` meillo@0: # Reject names that are not valid shell variable names. meillo@1: expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && meillo@0: { echo "$as_me: error: invalid feature name: $ac_feature" >&2 meillo@0: { (exit 1); exit 1; }; } meillo@1: ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` meillo@1: eval enable_$ac_feature=no ;; meillo@1: meillo@1: -docdir | --docdir | --docdi | --doc | --do) meillo@1: ac_prev=docdir ;; meillo@1: -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) meillo@1: docdir=$ac_optarg ;; meillo@1: meillo@1: -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) meillo@1: ac_prev=dvidir ;; meillo@1: -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) meillo@1: dvidir=$ac_optarg ;; meillo@0: meillo@0: -enable-* | --enable-*) meillo@0: ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` meillo@0: # Reject names that are not valid shell variable names. meillo@1: expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && meillo@0: { echo "$as_me: error: invalid feature name: $ac_feature" >&2 meillo@0: { (exit 1); exit 1; }; } meillo@1: ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` meillo@1: eval enable_$ac_feature=\$ac_optarg ;; meillo@0: meillo@0: -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ meillo@0: | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ meillo@0: | --exec | --exe | --ex) meillo@0: ac_prev=exec_prefix ;; meillo@0: -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ meillo@0: | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ meillo@0: | --exec=* | --exe=* | --ex=*) meillo@0: exec_prefix=$ac_optarg ;; meillo@0: meillo@0: -gas | --gas | --ga | --g) meillo@0: # Obsolete; use --with-gas. meillo@0: with_gas=yes ;; meillo@0: meillo@0: -help | --help | --hel | --he | -h) meillo@0: ac_init_help=long ;; meillo@0: -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) meillo@0: ac_init_help=recursive ;; meillo@0: -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) meillo@0: ac_init_help=short ;; meillo@0: meillo@0: -host | --host | --hos | --ho) meillo@0: ac_prev=host_alias ;; meillo@0: -host=* | --host=* | --hos=* | --ho=*) meillo@0: host_alias=$ac_optarg ;; meillo@0: meillo@1: -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) meillo@1: ac_prev=htmldir ;; meillo@1: -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ meillo@1: | --ht=*) meillo@1: htmldir=$ac_optarg ;; meillo@1: meillo@0: -includedir | --includedir | --includedi | --included | --include \ meillo@0: | --includ | --inclu | --incl | --inc) meillo@0: ac_prev=includedir ;; meillo@0: -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ meillo@0: | --includ=* | --inclu=* | --incl=* | --inc=*) meillo@0: includedir=$ac_optarg ;; meillo@0: meillo@0: -infodir | --infodir | --infodi | --infod | --info | --inf) meillo@0: ac_prev=infodir ;; meillo@0: -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) meillo@0: infodir=$ac_optarg ;; meillo@0: meillo@0: -libdir | --libdir | --libdi | --libd) meillo@0: ac_prev=libdir ;; meillo@0: -libdir=* | --libdir=* | --libdi=* | --libd=*) meillo@0: libdir=$ac_optarg ;; meillo@0: meillo@0: -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ meillo@0: | --libexe | --libex | --libe) meillo@0: ac_prev=libexecdir ;; meillo@0: -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ meillo@0: | --libexe=* | --libex=* | --libe=*) meillo@0: libexecdir=$ac_optarg ;; meillo@0: meillo@1: -localedir | --localedir | --localedi | --localed | --locale) meillo@1: ac_prev=localedir ;; meillo@1: -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) meillo@1: localedir=$ac_optarg ;; meillo@1: meillo@0: -localstatedir | --localstatedir | --localstatedi | --localstated \ meillo@1: | --localstate | --localstat | --localsta | --localst | --locals) meillo@0: ac_prev=localstatedir ;; meillo@0: -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ meillo@1: | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) meillo@0: localstatedir=$ac_optarg ;; meillo@0: meillo@0: -mandir | --mandir | --mandi | --mand | --man | --ma | --m) meillo@0: ac_prev=mandir ;; meillo@0: -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) meillo@0: mandir=$ac_optarg ;; meillo@0: meillo@0: -nfp | --nfp | --nf) meillo@0: # Obsolete; use --without-fp. meillo@0: with_fp=no ;; meillo@0: meillo@0: -no-create | --no-create | --no-creat | --no-crea | --no-cre \ meillo@0: | --no-cr | --no-c | -n) meillo@0: no_create=yes ;; meillo@0: meillo@0: -no-recursion | --no-recursion | --no-recursio | --no-recursi \ meillo@0: | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) meillo@0: no_recursion=yes ;; meillo@0: meillo@0: -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ meillo@0: | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ meillo@0: | --oldin | --oldi | --old | --ol | --o) meillo@0: ac_prev=oldincludedir ;; meillo@0: -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ meillo@0: | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ meillo@0: | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) meillo@0: oldincludedir=$ac_optarg ;; meillo@0: meillo@0: -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) meillo@0: ac_prev=prefix ;; meillo@0: -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) meillo@0: prefix=$ac_optarg ;; meillo@0: meillo@0: -program-prefix | --program-prefix | --program-prefi | --program-pref \ meillo@0: | --program-pre | --program-pr | --program-p) meillo@0: ac_prev=program_prefix ;; meillo@0: -program-prefix=* | --program-prefix=* | --program-prefi=* \ meillo@0: | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) meillo@0: program_prefix=$ac_optarg ;; meillo@0: meillo@0: -program-suffix | --program-suffix | --program-suffi | --program-suff \ meillo@0: | --program-suf | --program-su | --program-s) meillo@0: ac_prev=program_suffix ;; meillo@0: -program-suffix=* | --program-suffix=* | --program-suffi=* \ meillo@0: | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) meillo@0: program_suffix=$ac_optarg ;; meillo@0: meillo@0: -program-transform-name | --program-transform-name \ meillo@0: | --program-transform-nam | --program-transform-na \ meillo@0: | --program-transform-n | --program-transform- \ meillo@0: | --program-transform | --program-transfor \ meillo@0: | --program-transfo | --program-transf \ meillo@0: | --program-trans | --program-tran \ meillo@0: | --progr-tra | --program-tr | --program-t) meillo@0: ac_prev=program_transform_name ;; meillo@0: -program-transform-name=* | --program-transform-name=* \ meillo@0: | --program-transform-nam=* | --program-transform-na=* \ meillo@0: | --program-transform-n=* | --program-transform-=* \ meillo@0: | --program-transform=* | --program-transfor=* \ meillo@0: | --program-transfo=* | --program-transf=* \ meillo@0: | --program-trans=* | --program-tran=* \ meillo@0: | --progr-tra=* | --program-tr=* | --program-t=*) meillo@0: program_transform_name=$ac_optarg ;; meillo@0: meillo@1: -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) meillo@1: ac_prev=pdfdir ;; meillo@1: -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) meillo@1: pdfdir=$ac_optarg ;; meillo@1: meillo@1: -psdir | --psdir | --psdi | --psd | --ps) meillo@1: ac_prev=psdir ;; meillo@1: -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) meillo@1: psdir=$ac_optarg ;; meillo@1: meillo@0: -q | -quiet | --quiet | --quie | --qui | --qu | --q \ meillo@0: | -silent | --silent | --silen | --sile | --sil) meillo@0: silent=yes ;; meillo@0: meillo@0: -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) meillo@0: ac_prev=sbindir ;; meillo@0: -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ meillo@0: | --sbi=* | --sb=*) meillo@0: sbindir=$ac_optarg ;; meillo@0: meillo@0: -sharedstatedir | --sharedstatedir | --sharedstatedi \ meillo@0: | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ meillo@0: | --sharedst | --shareds | --shared | --share | --shar \ meillo@0: | --sha | --sh) meillo@0: ac_prev=sharedstatedir ;; meillo@0: -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ meillo@0: | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ meillo@0: | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ meillo@0: | --sha=* | --sh=*) meillo@0: sharedstatedir=$ac_optarg ;; meillo@0: meillo@0: -site | --site | --sit) meillo@0: ac_prev=site ;; meillo@0: -site=* | --site=* | --sit=*) meillo@0: site=$ac_optarg ;; meillo@0: meillo@0: -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) meillo@0: ac_prev=srcdir ;; meillo@0: -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) meillo@0: srcdir=$ac_optarg ;; meillo@0: meillo@0: -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ meillo@0: | --syscon | --sysco | --sysc | --sys | --sy) meillo@0: ac_prev=sysconfdir ;; meillo@0: -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ meillo@0: | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) meillo@0: sysconfdir=$ac_optarg ;; meillo@0: meillo@0: -target | --target | --targe | --targ | --tar | --ta | --t) meillo@0: ac_prev=target_alias ;; meillo@0: -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) meillo@0: target_alias=$ac_optarg ;; meillo@0: meillo@0: -v | -verbose | --verbose | --verbos | --verbo | --verb) meillo@0: verbose=yes ;; meillo@0: meillo@0: -version | --version | --versio | --versi | --vers | -V) meillo@0: ac_init_version=: ;; meillo@0: meillo@0: -with-* | --with-*) meillo@0: ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` meillo@0: # Reject names that are not valid shell variable names. meillo@1: expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && meillo@0: { echo "$as_me: error: invalid package name: $ac_package" >&2 meillo@0: { (exit 1); exit 1; }; } meillo@1: ac_package=`echo $ac_package | sed 's/[-.]/_/g'` meillo@1: eval with_$ac_package=\$ac_optarg ;; meillo@0: meillo@0: -without-* | --without-*) meillo@0: ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` meillo@0: # Reject names that are not valid shell variable names. meillo@1: expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && meillo@0: { echo "$as_me: error: invalid package name: $ac_package" >&2 meillo@0: { (exit 1); exit 1; }; } meillo@1: ac_package=`echo $ac_package | sed 's/[-.]/_/g'` meillo@1: eval with_$ac_package=no ;; meillo@0: meillo@0: --x) meillo@0: # Obsolete; use --with-x. meillo@0: with_x=yes ;; meillo@0: meillo@0: -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ meillo@0: | --x-incl | --x-inc | --x-in | --x-i) meillo@0: ac_prev=x_includes ;; meillo@0: -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ meillo@0: | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) meillo@0: x_includes=$ac_optarg ;; meillo@0: meillo@0: -x-libraries | --x-libraries | --x-librarie | --x-librari \ meillo@0: | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) meillo@0: ac_prev=x_libraries ;; meillo@0: -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ meillo@0: | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) meillo@0: x_libraries=$ac_optarg ;; meillo@0: meillo@0: -*) { echo "$as_me: error: unrecognized option: $ac_option meillo@0: Try \`$0 --help' for more information." >&2 meillo@0: { (exit 1); exit 1; }; } meillo@0: ;; meillo@0: meillo@0: *=*) meillo@0: ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` meillo@0: # Reject names that are not valid shell variable names. meillo@0: expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && meillo@0: { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 meillo@0: { (exit 1); exit 1; }; } meillo@1: eval $ac_envvar=\$ac_optarg meillo@0: export $ac_envvar ;; meillo@0: meillo@0: *) meillo@0: # FIXME: should be removed in autoconf 3.0. meillo@0: echo "$as_me: WARNING: you should use --build, --host, --target" >&2 meillo@0: expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && meillo@0: echo "$as_me: WARNING: invalid host type: $ac_option" >&2 meillo@0: : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} meillo@0: ;; meillo@0: meillo@0: esac meillo@0: done meillo@0: meillo@0: if test -n "$ac_prev"; then meillo@0: ac_option=--`echo $ac_prev | sed 's/_/-/g'` meillo@0: { echo "$as_me: error: missing argument to $ac_option" >&2 meillo@0: { (exit 1); exit 1; }; } meillo@0: fi meillo@0: meillo@1: # Be sure to have absolute directory names. meillo@1: for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ meillo@1: datadir sysconfdir sharedstatedir localstatedir includedir \ meillo@1: oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ meillo@1: libdir localedir mandir meillo@0: do meillo@1: eval ac_val=\$$ac_var meillo@0: case $ac_val in meillo@1: [\\/$]* | ?:[\\/]* ) continue;; meillo@1: NONE | '' ) case $ac_var in *prefix ) continue;; esac;; meillo@0: esac meillo@1: { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 meillo@1: { (exit 1); exit 1; }; } meillo@0: done meillo@0: meillo@0: # There might be people who depend on the old broken behavior: `$host' meillo@0: # used to hold the argument of --host etc. meillo@0: # FIXME: To remove some day. meillo@0: build=$build_alias meillo@0: host=$host_alias meillo@0: target=$target_alias meillo@0: meillo@0: # FIXME: To remove some day. meillo@0: if test "x$host_alias" != x; then meillo@0: if test "x$build_alias" = x; then meillo@0: cross_compiling=maybe meillo@0: echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. meillo@0: If a cross compiler is detected then cross compile mode will be used." >&2 meillo@0: elif test "x$build_alias" != "x$host_alias"; then meillo@0: cross_compiling=yes meillo@0: fi meillo@0: fi meillo@0: meillo@0: ac_tool_prefix= meillo@0: test -n "$host_alias" && ac_tool_prefix=$host_alias- meillo@0: meillo@0: test "$silent" = yes && exec 6>/dev/null meillo@0: meillo@0: meillo@1: ac_pwd=`pwd` && test -n "$ac_pwd" && meillo@1: ac_ls_di=`ls -di .` && meillo@1: ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || meillo@1: { echo "$as_me: error: Working directory cannot be determined" >&2 meillo@1: { (exit 1); exit 1; }; } meillo@1: test "X$ac_ls_di" = "X$ac_pwd_ls_di" || meillo@1: { echo "$as_me: error: pwd does not report name of working directory" >&2 meillo@1: { (exit 1); exit 1; }; } meillo@1: meillo@1: meillo@0: # Find the source files, if location was not specified. meillo@0: if test -z "$srcdir"; then meillo@0: ac_srcdir_defaulted=yes meillo@1: # Try the directory containing this script, then the parent directory. meillo@1: ac_confdir=`$as_dirname -- "$0" || meillo@0: $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ meillo@0: X"$0" : 'X\(//\)[^/]' \| \ meillo@0: X"$0" : 'X\(//\)$' \| \ meillo@1: X"$0" : 'X\(/\)' \| . 2>/dev/null || meillo@0: echo X"$0" | meillo@1: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ meillo@1: s//\1/ meillo@1: q meillo@1: } meillo@1: /^X\(\/\/\)[^/].*/{ meillo@1: s//\1/ meillo@1: q meillo@1: } meillo@1: /^X\(\/\/\)$/{ meillo@1: s//\1/ meillo@1: q meillo@1: } meillo@1: /^X\(\/\).*/{ meillo@1: s//\1/ meillo@1: q meillo@1: } meillo@1: s/.*/./; q'` meillo@0: srcdir=$ac_confdir meillo@1: if test ! -r "$srcdir/$ac_unique_file"; then meillo@0: srcdir=.. meillo@0: fi meillo@0: else meillo@0: ac_srcdir_defaulted=no meillo@0: fi meillo@1: if test ! -r "$srcdir/$ac_unique_file"; then meillo@1: test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." meillo@1: { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 meillo@0: { (exit 1); exit 1; }; } meillo@1: fi meillo@1: ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" meillo@1: ac_abs_confdir=`( meillo@1: cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 meillo@0: { (exit 1); exit 1; }; } meillo@1: pwd)` meillo@1: # When building in place, set srcdir=. meillo@1: if test "$ac_abs_confdir" = "$ac_pwd"; then meillo@1: srcdir=. meillo@1: fi meillo@1: # Remove unnecessary trailing slashes from srcdir. meillo@1: # Double slashes in file names in object file debugging info meillo@1: # mess up M-x gdb in Emacs. meillo@1: case $srcdir in meillo@1: */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; meillo@1: esac meillo@1: for ac_var in $ac_precious_vars; do meillo@1: eval ac_env_${ac_var}_set=\${${ac_var}+set} meillo@1: eval ac_env_${ac_var}_value=\$${ac_var} meillo@1: eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} meillo@1: eval ac_cv_env_${ac_var}_value=\$${ac_var} meillo@1: done meillo@0: meillo@0: # meillo@0: # Report the --help message. meillo@0: # meillo@0: if test "$ac_init_help" = "long"; then meillo@0: # Omit some internal or obsolete options to make the list less imposing. meillo@0: # This message is too long to be a string in the A/UX 3.1 sh. meillo@0: cat <<_ACEOF meillo@0: \`configure' configures masqmail 0.2.21 to adapt to many kinds of systems. meillo@0: meillo@0: Usage: $0 [OPTION]... [VAR=VALUE]... meillo@0: meillo@0: To assign environment variables (e.g., CC, CFLAGS...), specify them as meillo@0: VAR=VALUE. See below for descriptions of some of the useful variables. meillo@0: meillo@0: Defaults for the options are specified in brackets. meillo@0: meillo@0: Configuration: meillo@0: -h, --help display this help and exit meillo@0: --help=short display options specific to this package meillo@0: --help=recursive display the short help of all the included packages meillo@0: -V, --version display version information and exit meillo@0: -q, --quiet, --silent do not print \`checking...' messages meillo@0: --cache-file=FILE cache test results in FILE [disabled] meillo@0: -C, --config-cache alias for \`--cache-file=config.cache' meillo@0: -n, --no-create do not create output files meillo@0: --srcdir=DIR find the sources in DIR [configure dir or \`..'] meillo@0: meillo@0: Installation directories: meillo@0: --prefix=PREFIX install architecture-independent files in PREFIX meillo@0: [$ac_default_prefix] meillo@0: --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX meillo@0: [PREFIX] meillo@0: meillo@0: By default, \`make install' will install all the files in meillo@0: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify meillo@0: an installation prefix other than \`$ac_default_prefix' using \`--prefix', meillo@0: for instance \`--prefix=\$HOME'. meillo@0: meillo@0: For better control, use the options below. meillo@0: meillo@0: Fine tuning of the installation directories: meillo@0: --bindir=DIR user executables [EPREFIX/bin] meillo@0: --sbindir=DIR system admin executables [EPREFIX/sbin] meillo@0: --libexecdir=DIR program executables [EPREFIX/libexec] meillo@0: --sysconfdir=DIR read-only single-machine data [PREFIX/etc] meillo@0: --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] meillo@0: --localstatedir=DIR modifiable single-machine data [PREFIX/var] meillo@0: --libdir=DIR object code libraries [EPREFIX/lib] meillo@0: --includedir=DIR C header files [PREFIX/include] meillo@0: --oldincludedir=DIR C header files for non-gcc [/usr/include] meillo@1: --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] meillo@1: --datadir=DIR read-only architecture-independent data [DATAROOTDIR] meillo@1: --infodir=DIR info documentation [DATAROOTDIR/info] meillo@1: --localedir=DIR locale-dependent data [DATAROOTDIR/locale] meillo@1: --mandir=DIR man documentation [DATAROOTDIR/man] meillo@1: --docdir=DIR documentation root [DATAROOTDIR/doc/masqmail] meillo@1: --htmldir=DIR html documentation [DOCDIR] meillo@1: --dvidir=DIR dvi documentation [DOCDIR] meillo@1: --pdfdir=DIR pdf documentation [DOCDIR] meillo@1: --psdir=DIR ps documentation [DOCDIR] meillo@0: _ACEOF meillo@0: meillo@0: cat <<\_ACEOF meillo@0: meillo@0: Program names: meillo@0: --program-prefix=PREFIX prepend PREFIX to installed program names meillo@0: --program-suffix=SUFFIX append SUFFIX to installed program names meillo@0: --program-transform-name=PROGRAM run sed PROGRAM on installed program names meillo@0: _ACEOF meillo@0: fi meillo@0: meillo@0: if test -n "$ac_init_help"; then meillo@0: case $ac_init_help in meillo@0: short | recursive ) echo "Configuration of masqmail 0.2.21:";; meillo@0: esac meillo@0: cat <<\_ACEOF meillo@0: meillo@0: Optional Features: meillo@0: --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) meillo@0: --enable-FEATURE[=ARG] include FEATURE [ARG=yes] meillo@0: --disable-dependency-tracking Speeds up one-time builds meillo@0: --enable-dependency-tracking Do not reject slow dependency extractors meillo@0: --disable-resolver disable resolver support meillo@0: --disable-debug disable debugging meillo@0: --disable-smtp-server disable smtp server support meillo@0: --disable-pop3 disable pop3 support meillo@0: --enable-auth enable AUTH (RFC 2554) client support meillo@0: --enable-maildir enable qmail style maildir support meillo@0: --enable-ident enable ident (RFC 1413) support meillo@0: --enable-mserver enable mserver support meillo@0: meillo@0: Optional Packages: meillo@0: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] meillo@0: --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) meillo@0: --with-user=USER set user mail meillo@0: --with-group=GROUP set group trusted meillo@0: --with-glib-static=path link glib statically (path mandatory!) meillo@0: --with-libcrypto use libcrypto meillo@0: --with-liblockfile use liblock (for Debian) meillo@0: --with-logdir=DIR set log directory /var/masqmail meillo@0: --with-spooldir=DIR set spool directory /var/spool/masqmail meillo@0: --with-confdir directory for configuration /etc/masqmail meillo@0: meillo@0: Some influential environment variables: meillo@0: CC C compiler command meillo@0: CFLAGS C compiler flags meillo@0: LDFLAGS linker flags, e.g. -L if you have libraries in a meillo@0: nonstandard directory meillo@1: LIBS libraries to pass to the linker, e.g. -l meillo@1: CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I if meillo@1: you have headers in a nonstandard directory meillo@0: CPP C preprocessor meillo@0: PKG_CONFIG path to pkg-config utility meillo@0: GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config meillo@0: GLIB_LIBS linker flags for GLIB, overriding pkg-config meillo@0: meillo@0: Use these variables to override the choices made by `configure' or to help meillo@0: it to find libraries and programs with nonstandard names/locations. meillo@0: meillo@0: Report bugs to . meillo@0: _ACEOF meillo@1: ac_status=$? meillo@0: fi meillo@0: meillo@0: if test "$ac_init_help" = "recursive"; then meillo@0: # If there are subdirs, report their specific --help. meillo@0: for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue meillo@1: test -d "$ac_dir" || continue meillo@0: ac_builddir=. meillo@0: meillo@1: case "$ac_dir" in meillo@1: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; meillo@1: *) meillo@0: ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` meillo@1: # A ".." for each directory in $ac_dir_suffix. meillo@1: ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` meillo@1: case $ac_top_builddir_sub in meillo@1: "") ac_top_builddir_sub=. ac_top_build_prefix= ;; meillo@1: *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; meillo@1: esac ;; meillo@1: esac meillo@1: ac_abs_top_builddir=$ac_pwd meillo@1: ac_abs_builddir=$ac_pwd$ac_dir_suffix meillo@1: # for backward compatibility: meillo@1: ac_top_builddir=$ac_top_build_prefix meillo@0: meillo@0: case $srcdir in meillo@1: .) # We are building in place. meillo@0: ac_srcdir=. meillo@1: ac_top_srcdir=$ac_top_builddir_sub meillo@1: ac_abs_top_srcdir=$ac_pwd ;; meillo@1: [\\/]* | ?:[\\/]* ) # Absolute name. meillo@0: ac_srcdir=$srcdir$ac_dir_suffix; meillo@1: ac_top_srcdir=$srcdir meillo@1: ac_abs_top_srcdir=$srcdir ;; meillo@1: *) # Relative name. meillo@1: ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix meillo@1: ac_top_srcdir=$ac_top_build_prefix$srcdir meillo@1: ac_abs_top_srcdir=$ac_pwd/$srcdir ;; meillo@0: esac meillo@1: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix meillo@1: meillo@1: cd "$ac_dir" || { ac_status=$?; continue; } meillo@1: # Check for guested configure. meillo@1: if test -f "$ac_srcdir/configure.gnu"; then meillo@1: echo && meillo@1: $SHELL "$ac_srcdir/configure.gnu" --help=recursive meillo@1: elif test -f "$ac_srcdir/configure"; then meillo@1: echo && meillo@1: $SHELL "$ac_srcdir/configure" --help=recursive meillo@0: else meillo@0: echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 meillo@1: fi || ac_status=$? meillo@1: cd "$ac_pwd" || { ac_status=$?; break; } meillo@0: done meillo@0: fi meillo@0: meillo@1: test -n "$ac_init_help" && exit $ac_status meillo@0: if $ac_init_version; then meillo@0: cat <<\_ACEOF meillo@0: masqmail configure 0.2.21 meillo@1: generated by GNU Autoconf 2.61 meillo@1: meillo@1: Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, meillo@1: 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. meillo@0: This configure script is free software; the Free Software Foundation meillo@0: gives unlimited permission to copy, distribute and modify it. meillo@0: _ACEOF meillo@1: exit meillo@1: fi meillo@1: cat >config.log <<_ACEOF meillo@0: This file contains any messages produced by compilers while meillo@0: running configure, to aid debugging if configure makes a mistake. meillo@0: meillo@0: It was created by masqmail $as_me 0.2.21, which was meillo@1: generated by GNU Autoconf 2.61. Invocation command line was meillo@0: meillo@0: $ $0 $@ meillo@0: meillo@0: _ACEOF meillo@1: exec 5>>config.log meillo@0: { meillo@0: cat <<_ASUNAME meillo@0: ## --------- ## meillo@0: ## Platform. ## meillo@0: ## --------- ## meillo@0: meillo@0: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` meillo@0: uname -m = `(uname -m) 2>/dev/null || echo unknown` meillo@0: uname -r = `(uname -r) 2>/dev/null || echo unknown` meillo@0: uname -s = `(uname -s) 2>/dev/null || echo unknown` meillo@0: uname -v = `(uname -v) 2>/dev/null || echo unknown` meillo@0: meillo@0: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` meillo@0: /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` meillo@0: meillo@0: /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` meillo@0: /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` meillo@0: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` meillo@1: /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` meillo@0: /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` meillo@0: /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` meillo@0: /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` meillo@0: meillo@0: _ASUNAME meillo@0: meillo@0: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR meillo@0: for as_dir in $PATH meillo@0: do meillo@0: IFS=$as_save_IFS meillo@0: test -z "$as_dir" && as_dir=. meillo@0: echo "PATH: $as_dir" meillo@0: done meillo@1: IFS=$as_save_IFS meillo@0: meillo@0: } >&5 meillo@0: meillo@0: cat >&5 <<_ACEOF meillo@0: meillo@0: meillo@0: ## ----------- ## meillo@0: ## Core tests. ## meillo@0: ## ----------- ## meillo@0: meillo@0: _ACEOF meillo@0: meillo@0: meillo@0: # Keep a trace of the command line. meillo@0: # Strip out --no-create and --no-recursion so they do not pile up. meillo@0: # Strip out --silent because we don't want to record it for future runs. meillo@0: # Also quote any args containing shell meta-characters. meillo@0: # Make two passes to allow for proper duplicate-argument suppression. meillo@0: ac_configure_args= meillo@0: ac_configure_args0= meillo@0: ac_configure_args1= meillo@0: ac_must_keep_next=false meillo@0: for ac_pass in 1 2 meillo@0: do meillo@0: for ac_arg meillo@0: do meillo@0: case $ac_arg in meillo@0: -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; meillo@0: -q | -quiet | --quiet | --quie | --qui | --qu | --q \ meillo@0: | -silent | --silent | --silen | --sile | --sil) meillo@0: continue ;; meillo@1: *\'*) meillo@0: ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; meillo@0: esac meillo@0: case $ac_pass in meillo@0: 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; meillo@0: 2) meillo@0: ac_configure_args1="$ac_configure_args1 '$ac_arg'" meillo@0: if test $ac_must_keep_next = true; then meillo@0: ac_must_keep_next=false # Got value, back to normal. meillo@0: else meillo@0: case $ac_arg in meillo@0: *=* | --config-cache | -C | -disable-* | --disable-* \ meillo@0: | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ meillo@0: | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ meillo@0: | -with-* | --with-* | -without-* | --without-* | --x) meillo@0: case "$ac_configure_args0 " in meillo@0: "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; meillo@0: esac meillo@0: ;; meillo@0: -* ) ac_must_keep_next=true ;; meillo@0: esac meillo@0: fi meillo@1: ac_configure_args="$ac_configure_args '$ac_arg'" meillo@0: ;; meillo@0: esac meillo@0: done meillo@0: done meillo@0: $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } meillo@0: $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } meillo@0: meillo@0: # When interrupted or exit'd, cleanup temporary files, and complete meillo@0: # config.log. We remove comments because anyway the quotes in there meillo@0: # would cause problems or look ugly. meillo@1: # WARNING: Use '\'' to represent an apostrophe within the trap. meillo@1: # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. meillo@0: trap 'exit_status=$? meillo@0: # Save into config.log some information that might help in debugging. meillo@0: { meillo@0: echo meillo@0: meillo@0: cat <<\_ASBOX meillo@0: ## ---------------- ## meillo@0: ## Cache variables. ## meillo@0: ## ---------------- ## meillo@0: _ASBOX meillo@0: echo meillo@0: # The following way of writing the cache mishandles newlines in values, meillo@1: ( meillo@1: for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do meillo@1: eval ac_val=\$$ac_var meillo@1: case $ac_val in #( meillo@1: *${as_nl}*) meillo@1: case $ac_var in #( meillo@1: *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 meillo@1: echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; meillo@1: esac meillo@1: case $ac_var in #( meillo@1: _ | IFS | as_nl) ;; #( meillo@1: *) $as_unset $ac_var ;; meillo@1: esac ;; meillo@1: esac meillo@1: done meillo@0: (set) 2>&1 | meillo@1: case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( meillo@1: *${as_nl}ac_space=\ *) meillo@0: sed -n \ meillo@1: "s/'\''/'\''\\\\'\'''\''/g; meillo@1: s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" meillo@1: ;; #( meillo@1: *) meillo@1: sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" meillo@0: ;; meillo@1: esac | meillo@1: sort meillo@1: ) meillo@0: echo meillo@0: meillo@0: cat <<\_ASBOX meillo@0: ## ----------------- ## meillo@0: ## Output variables. ## meillo@0: ## ----------------- ## meillo@0: _ASBOX meillo@0: echo meillo@0: for ac_var in $ac_subst_vars meillo@0: do meillo@1: eval ac_val=\$$ac_var meillo@1: case $ac_val in meillo@1: *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; meillo@1: esac meillo@1: echo "$ac_var='\''$ac_val'\''" meillo@0: done | sort meillo@0: echo meillo@0: meillo@0: if test -n "$ac_subst_files"; then meillo@0: cat <<\_ASBOX meillo@1: ## ------------------- ## meillo@1: ## File substitutions. ## meillo@1: ## ------------------- ## meillo@0: _ASBOX meillo@0: echo meillo@0: for ac_var in $ac_subst_files meillo@0: do meillo@1: eval ac_val=\$$ac_var meillo@1: case $ac_val in meillo@1: *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; meillo@1: esac meillo@1: echo "$ac_var='\''$ac_val'\''" meillo@0: done | sort meillo@0: echo meillo@0: fi meillo@0: meillo@0: if test -s confdefs.h; then meillo@0: cat <<\_ASBOX meillo@0: ## ----------- ## meillo@0: ## confdefs.h. ## meillo@0: ## ----------- ## meillo@0: _ASBOX meillo@0: echo meillo@1: cat confdefs.h meillo@0: echo meillo@0: fi meillo@0: test "$ac_signal" != 0 && meillo@0: echo "$as_me: caught signal $ac_signal" meillo@0: echo "$as_me: exit $exit_status" meillo@0: } >&5 meillo@1: rm -f core *.core core.conftest.* && meillo@1: rm -f -r conftest* confdefs* conf$$* $ac_clean_files && meillo@0: exit $exit_status meillo@1: ' 0 meillo@0: for ac_signal in 1 2 13 15; do meillo@0: trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal meillo@0: done meillo@0: ac_signal=0 meillo@0: meillo@0: # confdefs.h avoids OS command line length limits that DEFS can exceed. meillo@1: rm -f -r conftest* confdefs.h meillo@0: meillo@0: # Predefined preprocessor variables. meillo@0: meillo@0: cat >>confdefs.h <<_ACEOF meillo@0: #define PACKAGE_NAME "$PACKAGE_NAME" meillo@0: _ACEOF meillo@0: meillo@0: meillo@0: cat >>confdefs.h <<_ACEOF meillo@0: #define PACKAGE_TARNAME "$PACKAGE_TARNAME" meillo@0: _ACEOF meillo@0: meillo@0: meillo@0: cat >>confdefs.h <<_ACEOF meillo@0: #define PACKAGE_VERSION "$PACKAGE_VERSION" meillo@0: _ACEOF meillo@0: meillo@0: meillo@0: cat >>confdefs.h <<_ACEOF meillo@0: #define PACKAGE_STRING "$PACKAGE_STRING" meillo@0: _ACEOF meillo@0: meillo@0: meillo@0: cat >>confdefs.h <<_ACEOF meillo@0: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" meillo@0: _ACEOF meillo@0: meillo@0: meillo@0: # Let the site file select an alternate cache file if it wants to. meillo@0: # Prefer explicitly selected file to automatically selected ones. meillo@1: if test -n "$CONFIG_SITE"; then meillo@1: set x "$CONFIG_SITE" meillo@1: elif test "x$prefix" != xNONE; then meillo@1: set x "$prefix/share/config.site" "$prefix/etc/config.site" meillo@1: else meillo@1: set x "$ac_default_prefix/share/config.site" \ meillo@1: "$ac_default_prefix/etc/config.site" meillo@1: fi meillo@1: shift meillo@1: for ac_site_file meillo@1: do meillo@0: if test -r "$ac_site_file"; then meillo@0: { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 meillo@0: echo "$as_me: loading site script $ac_site_file" >&6;} meillo@0: sed 's/^/| /' "$ac_site_file" >&5 meillo@0: . "$ac_site_file" meillo@0: fi meillo@0: done meillo@0: meillo@0: if test -r "$cache_file"; then meillo@0: # Some versions of bash will fail to source /dev/null (special meillo@0: # files actually), so we avoid doing that. meillo@0: if test -f "$cache_file"; then meillo@0: { echo "$as_me:$LINENO: loading cache $cache_file" >&5 meillo@0: echo "$as_me: loading cache $cache_file" >&6;} meillo@0: case $cache_file in meillo@1: [\\/]* | ?:[\\/]* ) . "$cache_file";; meillo@1: *) . "./$cache_file";; meillo@0: esac meillo@0: fi meillo@0: else meillo@0: { echo "$as_me:$LINENO: creating cache $cache_file" >&5 meillo@0: echo "$as_me: creating cache $cache_file" >&6;} meillo@0: >$cache_file meillo@0: fi meillo@0: meillo@0: # Check that the precious variables saved in the cache have kept the same meillo@0: # value. meillo@0: ac_cache_corrupted=false meillo@1: for ac_var in $ac_precious_vars; do meillo@0: eval ac_old_set=\$ac_cv_env_${ac_var}_set meillo@0: eval ac_new_set=\$ac_env_${ac_var}_set meillo@1: eval ac_old_val=\$ac_cv_env_${ac_var}_value meillo@1: eval ac_new_val=\$ac_env_${ac_var}_value meillo@0: case $ac_old_set,$ac_new_set in meillo@0: set,) meillo@0: { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 meillo@0: echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} meillo@0: ac_cache_corrupted=: ;; meillo@0: ,set) meillo@0: { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 meillo@0: echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} meillo@0: ac_cache_corrupted=: ;; meillo@0: ,);; meillo@0: *) meillo@0: if test "x$ac_old_val" != "x$ac_new_val"; then meillo@0: { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 meillo@0: echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} meillo@0: { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 meillo@0: echo "$as_me: former value: $ac_old_val" >&2;} meillo@0: { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 meillo@0: echo "$as_me: current value: $ac_new_val" >&2;} meillo@0: ac_cache_corrupted=: meillo@0: fi;; meillo@0: esac meillo@0: # Pass precious variables to config.status. meillo@0: if test "$ac_new_set" = set; then meillo@0: case $ac_new_val in meillo@1: *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; meillo@0: *) ac_arg=$ac_var=$ac_new_val ;; meillo@0: esac meillo@0: case " $ac_configure_args " in meillo@0: *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. meillo@0: *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; meillo@0: esac meillo@0: fi meillo@0: done meillo@0: if $ac_cache_corrupted; then meillo@0: { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 meillo@0: echo "$as_me: error: changes in the environment can compromise the build" >&2;} meillo@0: { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 meillo@0: echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} meillo@0: { (exit 1); exit 1; }; } meillo@0: fi meillo@0: meillo@1: meillo@1: meillo@1: meillo@1: meillo@1: meillo@1: meillo@1: meillo@1: meillo@1: meillo@1: meillo@1: meillo@1: meillo@1: meillo@1: meillo@1: meillo@1: meillo@1: meillo@1: meillo@1: meillo@1: meillo@1: meillo@1: meillo@1: meillo@1: meillo@0: ac_ext=c meillo@0: ac_cpp='$CPP $CPPFLAGS' meillo@0: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' meillo@0: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' meillo@0: ac_compiler_gnu=$ac_cv_c_compiler_gnu meillo@0: meillo@0: meillo@0: meillo@1: ac_config_headers="$ac_config_headers config.h" meillo@0: meillo@0: am__api_version="1.7" meillo@0: ac_aux_dir= meillo@1: for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do meillo@1: if test -f "$ac_dir/install-sh"; then meillo@0: ac_aux_dir=$ac_dir meillo@0: ac_install_sh="$ac_aux_dir/install-sh -c" meillo@0: break meillo@1: elif test -f "$ac_dir/install.sh"; then meillo@0: ac_aux_dir=$ac_dir meillo@0: ac_install_sh="$ac_aux_dir/install.sh -c" meillo@0: break meillo@1: elif test -f "$ac_dir/shtool"; then meillo@0: ac_aux_dir=$ac_dir meillo@0: ac_install_sh="$ac_aux_dir/shtool install -c" meillo@0: break meillo@0: fi meillo@0: done meillo@0: if test -z "$ac_aux_dir"; then meillo@1: { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 meillo@1: echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} meillo@0: { (exit 1); exit 1; }; } meillo@0: fi meillo@1: meillo@1: # These three variables are undocumented and unsupported, meillo@1: # and are intended to be withdrawn in a future Autoconf release. meillo@1: # They can cause serious problems if a builder's source tree is in a directory meillo@1: # whose full name contains unusual characters. meillo@1: ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. meillo@1: ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. meillo@1: ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. meillo@1: meillo@0: meillo@0: # Find a good install program. We prefer a C program (faster), meillo@0: # so one script is as good as another. But avoid the broken or meillo@0: # incompatible versions: meillo@0: # SysV /etc/install, /usr/sbin/install meillo@0: # SunOS /usr/etc/install meillo@0: # IRIX /sbin/install meillo@0: # AIX /bin/install meillo@0: # AmigaOS /C/install, which installs bootblocks on floppy discs meillo@0: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag meillo@0: # AFS /usr/afsws/bin/install, which mishandles nonexistent args meillo@0: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" meillo@0: # OS/2's system install, which has a completely different semantic meillo@0: # ./install, which can be erroneously created by make from ./install.sh. meillo@1: { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 meillo@1: echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } meillo@0: if test -z "$INSTALL"; then meillo@0: if test "${ac_cv_path_install+set}" = set; then meillo@0: echo $ECHO_N "(cached) $ECHO_C" >&6 meillo@0: else meillo@0: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR meillo@0: for as_dir in $PATH meillo@0: do meillo@0: IFS=$as_save_IFS meillo@0: test -z "$as_dir" && as_dir=. meillo@0: # Account for people who put trailing slashes in PATH elements. meillo@0: case $as_dir/ in meillo@0: ./ | .// | /cC/* | \ meillo@0: /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ meillo@0: ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ meillo@0: /usr/ucb/* ) ;; meillo@0: *) meillo@0: # OSF1 and SCO ODT 3.0 have their own names for install. meillo@0: # Don't use installbsd from OSF since it installs stuff as root meillo@0: # by default. meillo@0: for ac_prog in ginstall scoinst install; do meillo@0: for ac_exec_ext in '' $ac_executable_extensions; do meillo@1: if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then meillo@0: if test $ac_prog = install && meillo@0: grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then meillo@0: # AIX install. It has an incompatible calling convention. meillo@0: : meillo@0: elif test $ac_prog = install && meillo@0: grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then meillo@0: # program-specific install script used by HP pwplus--don't use. meillo@0: : meillo@0: else meillo@0: ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" meillo@0: break 3 meillo@0: fi meillo@0: fi meillo@0: done meillo@0: done meillo@0: ;; meillo@0: esac meillo@0: done meillo@1: IFS=$as_save_IFS meillo@0: meillo@0: meillo@0: fi meillo@0: if test "${ac_cv_path_install+set}" = set; then meillo@0: INSTALL=$ac_cv_path_install meillo@0: else meillo@1: # As a last resort, use the slow shell script. Don't cache a meillo@1: # value for INSTALL within a source directory, because that will meillo@0: # break other packages using the cache if that directory is meillo@1: # removed, or if the value is a relative name. meillo@0: INSTALL=$ac_install_sh meillo@0: fi meillo@0: fi meillo@1: { echo "$as_me:$LINENO: result: $INSTALL" >&5 meillo@1: echo "${ECHO_T}$INSTALL" >&6; } meillo@0: meillo@0: # Use test -z because SunOS4 sh mishandles braces in ${var-val}. meillo@0: # It thinks the first close brace ends the variable substitution. meillo@0: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' meillo@0: meillo@0: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' meillo@0: meillo@0: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' meillo@0: meillo@1: { echo "$as_me:$LINENO: checking whether build environment is sane" >&5 meillo@1: echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; } meillo@0: # Just in case meillo@0: sleep 1 meillo@0: echo timestamp > conftest.file meillo@0: # Do `set' in a subshell so we don't clobber the current shell's meillo@0: # arguments. Must try -L first in case configure is actually a meillo@0: # symlink; some systems play weird games with the mod time of symlinks meillo@0: # (eg FreeBSD returns the mod time of the symlink's containing meillo@0: # directory). meillo@0: if ( meillo@0: set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` meillo@0: if test "$*" = "X"; then meillo@0: # -L didn't work. meillo@0: set X `ls -t $srcdir/configure conftest.file` meillo@0: fi meillo@0: rm -f conftest.file meillo@0: if test "$*" != "X $srcdir/configure conftest.file" \ meillo@0: && test "$*" != "X conftest.file $srcdir/configure"; then meillo@0: meillo@0: # If neither matched, then we have a broken ls. This can happen meillo@0: # if, for instance, CONFIG_SHELL is bash and it inherits a meillo@0: # broken ls alias from the environment. This has actually meillo@0: # happened. Such a system could not be considered "sane". meillo@0: { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken meillo@0: alias in your environment" >&5 meillo@0: echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken meillo@0: alias in your environment" >&2;} meillo@0: { (exit 1); exit 1; }; } meillo@0: fi meillo@0: meillo@0: test "$2" = conftest.file meillo@0: ) meillo@0: then meillo@0: # Ok. meillo@0: : meillo@0: else meillo@0: { { echo "$as_me:$LINENO: error: newly created file is older than distributed files! meillo@0: Check your system clock" >&5 meillo@0: echo "$as_me: error: newly created file is older than distributed files! meillo@0: Check your system clock" >&2;} meillo@0: { (exit 1); exit 1; }; } meillo@0: fi meillo@1: { echo "$as_me:$LINENO: result: yes" >&5 meillo@1: echo "${ECHO_T}yes" >&6; } meillo@0: test "$program_prefix" != NONE && meillo@1: program_transform_name="s&^&$program_prefix&;$program_transform_name" meillo@0: # Use a double $ so make ignores it. meillo@0: test "$program_suffix" != NONE && meillo@1: program_transform_name="s&\$&$program_suffix&;$program_transform_name" meillo@0: # Double any \ or $. echo might interpret backslashes. meillo@0: # By default was `s,x,x', remove it if useless. meillo@0: cat <<\_ACEOF >conftest.sed meillo@0: s/[\\$]/&&/g;s/;s,x,x,$// meillo@0: _ACEOF meillo@0: program_transform_name=`echo $program_transform_name | sed -f conftest.sed` meillo@1: rm -f conftest.sed meillo@0: meillo@0: meillo@0: # expand $ac_aux_dir to an absolute path meillo@0: am_aux_dir=`cd $ac_aux_dir && pwd` meillo@0: meillo@0: test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" meillo@0: # Use eval to expand $SHELL meillo@0: if eval "$MISSING --run true"; then meillo@0: am_missing_run="$MISSING --run " meillo@0: else meillo@0: am_missing_run= meillo@0: { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 meillo@0: echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} meillo@0: fi meillo@0: meillo@0: for ac_prog in gawk mawk nawk awk meillo@0: do meillo@0: # Extract the first word of "$ac_prog", so it can be a program name with args. meillo@0: set dummy $ac_prog; ac_word=$2 meillo@1: { echo "$as_me:$LINENO: checking for $ac_word" >&5 meillo@1: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } meillo@0: if test "${ac_cv_prog_AWK+set}" = set; then meillo@0: echo $ECHO_N "(cached) $ECHO_C" >&6 meillo@0: else meillo@0: if test -n "$AWK"; then meillo@0: ac_cv_prog_AWK="$AWK" # Let the user override the test. meillo@0: else meillo@0: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR meillo@0: for as_dir in $PATH meillo@0: do meillo@0: IFS=$as_save_IFS meillo@0: test -z "$as_dir" && as_dir=. meillo@0: for ac_exec_ext in '' $ac_executable_extensions; do meillo@1: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then meillo@0: ac_cv_prog_AWK="$ac_prog" meillo@0: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 meillo@0: break 2 meillo@0: fi meillo@0: done meillo@0: done meillo@1: IFS=$as_save_IFS meillo@0: meillo@0: fi meillo@0: fi meillo@0: AWK=$ac_cv_prog_AWK meillo@0: if test -n "$AWK"; then meillo@1: { echo "$as_me:$LINENO: result: $AWK" >&5 meillo@1: echo "${ECHO_T}$AWK" >&6; } meillo@1: else meillo@1: { echo "$as_me:$LINENO: result: no" >&5 meillo@1: echo "${ECHO_T}no" >&6; } meillo@1: fi meillo@1: meillo@0: meillo@0: test -n "$AWK" && break meillo@0: done meillo@0: meillo@1: { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 meillo@1: echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; } meillo@1: set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` meillo@1: if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then meillo@0: echo $ECHO_N "(cached) $ECHO_C" >&6 meillo@0: else meillo@0: cat >conftest.make <<\_ACEOF meillo@1: SHELL = /bin/sh meillo@0: all: meillo@1: @echo '@@@%%%=$(MAKE)=@@@%%%' meillo@0: _ACEOF meillo@0: # GNU make sometimes prints "make[1]: Entering...", which would confuse us. meillo@1: case `${MAKE-make} -f conftest.make 2>/dev/null` in meillo@1: *@@@%%%=?*=@@@%%%*) meillo@1: eval ac_cv_prog_make_${ac_make}_set=yes;; meillo@1: *) meillo@1: eval ac_cv_prog_make_${ac_make}_set=no;; meillo@1: esac meillo@0: rm -f conftest.make meillo@0: fi meillo@1: if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then meillo@1: { echo "$as_me:$LINENO: result: yes" >&5 meillo@1: echo "${ECHO_T}yes" >&6; } meillo@0: SET_MAKE= meillo@0: else meillo@1: { echo "$as_me:$LINENO: result: no" >&5 meillo@1: echo "${ECHO_T}no" >&6; } meillo@0: SET_MAKE="MAKE=${MAKE-make}" meillo@0: fi meillo@0: meillo@0: rm -rf .tst 2>/dev/null meillo@0: mkdir .tst 2>/dev/null meillo@0: if test -d .tst; then meillo@0: am__leading_dot=. meillo@0: else meillo@0: am__leading_dot=_ meillo@0: fi meillo@0: rmdir .tst 2>/dev/null meillo@0: meillo@0: # test to see if srcdir already configured meillo@0: if test "`cd $srcdir && pwd`" != "`pwd`" && meillo@0: test -f $srcdir/config.status; then meillo@0: { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 meillo@0: echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} meillo@0: { (exit 1); exit 1; }; } meillo@0: fi meillo@0: meillo@0: # test whether we have cygpath meillo@0: if test -z "$CYGPATH_W"; then meillo@0: if (cygpath --version) >/dev/null 2>/dev/null; then meillo@0: CYGPATH_W='cygpath -w' meillo@0: else meillo@0: CYGPATH_W=echo meillo@0: fi meillo@0: fi meillo@0: meillo@0: meillo@0: # Define the identity of the package. meillo@0: PACKAGE='masqmail' meillo@0: VERSION='0.2.21' meillo@0: meillo@0: meillo@0: cat >>confdefs.h <<_ACEOF meillo@0: #define PACKAGE "$PACKAGE" meillo@0: _ACEOF meillo@0: meillo@0: meillo@0: cat >>confdefs.h <<_ACEOF meillo@0: #define VERSION "$VERSION" meillo@0: _ACEOF meillo@0: meillo@0: # Some tools Automake needs. meillo@0: meillo@0: ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} meillo@0: meillo@0: meillo@0: AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} meillo@0: meillo@0: meillo@0: AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} meillo@0: meillo@0: meillo@0: AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} meillo@0: meillo@0: meillo@0: MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} meillo@0: meillo@0: meillo@0: AMTAR=${AMTAR-"${am_missing_run}tar"} meillo@0: meillo@0: install_sh=${install_sh-"$am_aux_dir/install-sh"} meillo@0: meillo@0: # Installed binaries are usually stripped using `strip' when the user meillo@0: # run `make install-strip'. However `strip' might not be the right meillo@0: # tool to use in cross-compilation environments, therefore Automake meillo@0: # will honor the `STRIP' environment variable to overrule this program. meillo@0: if test "$cross_compiling" != no; then meillo@0: if test -n "$ac_tool_prefix"; then meillo@0: # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. meillo@0: set dummy ${ac_tool_prefix}strip; ac_word=$2 meillo@1: { echo "$as_me:$LINENO: checking for $ac_word" >&5 meillo@1: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } meillo@0: if test "${ac_cv_prog_STRIP+set}" = set; then meillo@0: echo $ECHO_N "(cached) $ECHO_C" >&6 meillo@0: else meillo@0: if test -n "$STRIP"; then meillo@0: ac_cv_prog_STRIP="$STRIP" # Let the user override the test. meillo@0: else meillo@0: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR meillo@0: for as_dir in $PATH meillo@0: do meillo@0: IFS=$as_save_IFS meillo@0: test -z "$as_dir" && as_dir=. meillo@0: for ac_exec_ext in '' $ac_executable_extensions; do meillo@1: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then meillo@0: ac_cv_prog_STRIP="${ac_tool_prefix}strip" meillo@0: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 meillo@0: break 2 meillo@0: fi meillo@0: done meillo@0: done meillo@1: IFS=$as_save_IFS meillo@0: meillo@0: fi meillo@0: fi meillo@0: STRIP=$ac_cv_prog_STRIP meillo@0: if test -n "$STRIP"; then meillo@1: { echo "$as_me:$LINENO: result: $STRIP" >&5 meillo@1: echo "${ECHO_T}$STRIP" >&6; } meillo@1: else meillo@1: { echo "$as_me:$LINENO: result: no" >&5 meillo@1: echo "${ECHO_T}no" >&6; } meillo@1: fi meillo@1: meillo@0: meillo@0: fi meillo@0: if test -z "$ac_cv_prog_STRIP"; then meillo@0: ac_ct_STRIP=$STRIP meillo@0: # Extract the first word of "strip", so it can be a program name with args. meillo@0: set dummy strip; ac_word=$2 meillo@1: { echo "$as_me:$LINENO: checking for $ac_word" >&5 meillo@1: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } meillo@0: if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then meillo@0: echo $ECHO_N "(cached) $ECHO_C" >&6 meillo@0: else meillo@0: if test -n "$ac_ct_STRIP"; then meillo@0: ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. meillo@0: else meillo@0: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR meillo@0: for as_dir in $PATH meillo@0: do meillo@0: IFS=$as_save_IFS meillo@0: test -z "$as_dir" && as_dir=. meillo@0: for ac_exec_ext in '' $ac_executable_extensions; do meillo@1: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then meillo@0: ac_cv_prog_ac_ct_STRIP="strip" meillo@0: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 meillo@0: break 2 meillo@0: fi meillo@0: done meillo@0: done meillo@1: IFS=$as_save_IFS meillo@1: meillo@0: fi meillo@0: fi meillo@0: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP meillo@0: if test -n "$ac_ct_STRIP"; then meillo@1: { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 meillo@1: echo "${ECHO_T}$ac_ct_STRIP" >&6; } meillo@1: else meillo@1: { echo "$as_me:$LINENO: result: no" >&5 meillo@1: echo "${ECHO_T}no" >&6; } meillo@1: fi meillo@1: meillo@1: if test "x$ac_ct_STRIP" = x; then meillo@1: STRIP=":" meillo@1: else meillo@1: case $cross_compiling:$ac_tool_warned in meillo@1: yes:) meillo@1: { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools meillo@1: whose name does not start with the host triplet. If you think this meillo@1: configuration is useful to you, please write to autoconf@gnu.org." >&5 meillo@1: echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools meillo@1: whose name does not start with the host triplet. If you think this meillo@1: configuration is useful to you, please write to autoconf@gnu.org." >&2;} meillo@1: ac_tool_warned=yes ;; meillo@1: esac meillo@1: STRIP=$ac_ct_STRIP meillo@1: fi meillo@0: else meillo@0: STRIP="$ac_cv_prog_STRIP" meillo@0: fi meillo@0: meillo@0: fi meillo@0: INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" meillo@0: meillo@0: # We need awk for the "check" target. The system "awk" is bad on meillo@0: # some platforms. meillo@0: meillo@0: meillo@0: meillo@0: meillo@0: meillo@0: meillo@0: meillo@0: meillo@0: ac_ext=c meillo@0: ac_cpp='$CPP $CPPFLAGS' meillo@0: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' meillo@0: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' meillo@0: ac_compiler_gnu=$ac_cv_c_compiler_gnu meillo@0: if test -n "$ac_tool_prefix"; then meillo@0: # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. meillo@0: set dummy ${ac_tool_prefix}gcc; ac_word=$2 meillo@1: { echo "$as_me:$LINENO: checking for $ac_word" >&5 meillo@1: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } meillo@0: if test "${ac_cv_prog_CC+set}" = set; then meillo@0: echo $ECHO_N "(cached) $ECHO_C" >&6 meillo@0: else meillo@0: if test -n "$CC"; then meillo@0: ac_cv_prog_CC="$CC" # Let the user override the test. meillo@0: else meillo@0: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR meillo@0: for as_dir in $PATH meillo@0: do meillo@0: IFS=$as_save_IFS meillo@0: test -z "$as_dir" && as_dir=. meillo@0: for ac_exec_ext in '' $ac_executable_extensions; do meillo@1: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then meillo@0: ac_cv_prog_CC="${ac_tool_prefix}gcc" meillo@0: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 meillo@0: break 2 meillo@0: fi meillo@0: done meillo@0: done meillo@1: IFS=$as_save_IFS meillo@0: meillo@0: fi meillo@0: fi meillo@0: CC=$ac_cv_prog_CC meillo@0: if test -n "$CC"; then meillo@1: { echo "$as_me:$LINENO: result: $CC" >&5 meillo@1: echo "${ECHO_T}$CC" >&6; } meillo@1: else meillo@1: { echo "$as_me:$LINENO: result: no" >&5 meillo@1: echo "${ECHO_T}no" >&6; } meillo@1: fi meillo@1: meillo@0: meillo@0: fi meillo@0: if test -z "$ac_cv_prog_CC"; then meillo@0: ac_ct_CC=$CC meillo@0: # Extract the first word of "gcc", so it can be a program name with args. meillo@0: set dummy gcc; ac_word=$2 meillo@1: { echo "$as_me:$LINENO: checking for $ac_word" >&5 meillo@1: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } meillo@0: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then meillo@0: echo $ECHO_N "(cached) $ECHO_C" >&6 meillo@0: else meillo@0: if test -n "$ac_ct_CC"; then meillo@0: ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. meillo@0: else meillo@0: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR meillo@0: for as_dir in $PATH meillo@0: do meillo@0: IFS=$as_save_IFS meillo@0: test -z "$as_dir" && as_dir=. meillo@0: for ac_exec_ext in '' $ac_executable_extensions; do meillo@1: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then meillo@0: ac_cv_prog_ac_ct_CC="gcc" meillo@0: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 meillo@0: break 2 meillo@0: fi meillo@0: done meillo@0: done meillo@1: IFS=$as_save_IFS meillo@0: meillo@0: fi meillo@0: fi meillo@0: ac_ct_CC=$ac_cv_prog_ac_ct_CC meillo@0: if test -n "$ac_ct_CC"; then meillo@1: { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 meillo@1: echo "${ECHO_T}$ac_ct_CC" >&6; } meillo@1: else meillo@1: { echo "$as_me:$LINENO: result: no" >&5 meillo@1: echo "${ECHO_T}no" >&6; } meillo@1: fi meillo@1: meillo@1: if test "x$ac_ct_CC" = x; then meillo@1: CC="" meillo@1: else meillo@1: case $cross_compiling:$ac_tool_warned in meillo@1: yes:) meillo@1: { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools meillo@1: whose name does not start with the host triplet. If you think this meillo@1: configuration is useful to you, please write to autoconf@gnu.org." >&5 meillo@1: echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools meillo@1: whose name does not start with the host triplet. If you think this meillo@1: configuration is useful to you, please write to autoconf@gnu.org." >&2;} meillo@1: ac_tool_warned=yes ;; meillo@1: esac meillo@1: CC=$ac_ct_CC meillo@1: fi meillo@0: else meillo@0: CC="$ac_cv_prog_CC" meillo@0: fi meillo@0: meillo@0: if test -z "$CC"; then meillo@1: if test -n "$ac_tool_prefix"; then meillo@1: # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. meillo@0: set dummy ${ac_tool_prefix}cc; ac_word=$2 meillo@1: { echo "$as_me:$LINENO: checking for $ac_word" >&5 meillo@1: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } meillo@0: if test "${ac_cv_prog_CC+set}" = set; then meillo@0: echo $ECHO_N "(cached) $ECHO_C" >&6 meillo@0: else meillo@0: if test -n "$CC"; then meillo@0: ac_cv_prog_CC="$CC" # Let the user override the test. meillo@0: else meillo@0: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR meillo@0: for as_dir in $PATH meillo@0: do meillo@0: IFS=$as_save_IFS meillo@0: test -z "$as_dir" && as_dir=. meillo@0: for ac_exec_ext in '' $ac_executable_extensions; do meillo@1: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then meillo@0: ac_cv_prog_CC="${ac_tool_prefix}cc" meillo@0: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 meillo@0: break 2 meillo@0: fi meillo@0: done meillo@0: done meillo@1: IFS=$as_save_IFS meillo@0: meillo@0: fi meillo@0: fi meillo@0: CC=$ac_cv_prog_CC meillo@0: if test -n "$CC"; then meillo@1: { echo "$as_me:$LINENO: result: $CC" >&5 meillo@1: echo "${ECHO_T}$CC" >&6; } meillo@1: else meillo@1: { echo "$as_me:$LINENO: result: no" >&5 meillo@1: echo "${ECHO_T}no" >&6; } meillo@1: fi meillo@1: meillo@1: meillo@0: fi meillo@0: fi meillo@0: if test -z "$CC"; then meillo@0: # Extract the first word of "cc", so it can be a program name with args. meillo@0: set dummy cc; ac_word=$2 meillo@1: { echo "$as_me:$LINENO: checking for $ac_word" >&5 meillo@1: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } meillo@0: if test "${ac_cv_prog_CC+set}" = set; then meillo@0: echo $ECHO_N "(cached) $ECHO_C" >&6 meillo@0: else meillo@0: if test -n "$CC"; then meillo@0: ac_cv_prog_CC="$CC" # Let the user override the test. meillo@0: else meillo@0: ac_prog_rejected=no meillo@0: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR meillo@0: for as_dir in $PATH meillo@0: do meillo@0: IFS=$as_save_IFS meillo@0: test -z "$as_dir" && as_dir=. meillo@0: for ac_exec_ext in '' $ac_executable_extensions; do meillo@1: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then meillo@0: if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then meillo@0: ac_prog_rejected=yes meillo@0: continue meillo@0: fi meillo@0: ac_cv_prog_CC="cc" meillo@0: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 meillo@0: break 2 meillo@0: fi meillo@0: done meillo@0: done meillo@1: IFS=$as_save_IFS meillo@0: meillo@0: if test $ac_prog_rejected = yes; then meillo@0: # We found a bogon in the path, so make sure we never use it. meillo@0: set dummy $ac_cv_prog_CC meillo@0: shift meillo@0: if test $# != 0; then meillo@0: # We chose a different compiler from the bogus one. meillo@0: # However, it has the same basename, so the bogon will be chosen meillo@0: # first if we set CC to just the basename; use the full file name. meillo@0: shift meillo@0: ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" meillo@0: fi meillo@0: fi meillo@0: fi meillo@0: fi meillo@0: CC=$ac_cv_prog_CC meillo@0: if test -n "$CC"; then meillo@1: { echo "$as_me:$LINENO: result: $CC" >&5 meillo@1: echo "${ECHO_T}$CC" >&6; } meillo@1: else meillo@1: { echo "$as_me:$LINENO: result: no" >&5 meillo@1: echo "${ECHO_T}no" >&6; } meillo@1: fi meillo@1: meillo@0: meillo@0: fi meillo@0: if test -z "$CC"; then meillo@0: if test -n "$ac_tool_prefix"; then meillo@1: for ac_prog in cl.exe meillo@0: do meillo@0: # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. meillo@0: set dummy $ac_tool_prefix$ac_prog; ac_word=$2 meillo@1: { echo "$as_me:$LINENO: checking for $ac_word" >&5 meillo@1: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } meillo@0: if test "${ac_cv_prog_CC+set}" = set; then meillo@0: echo $ECHO_N "(cached) $ECHO_C" >&6 meillo@0: else meillo@0: if test -n "$CC"; then meillo@0: ac_cv_prog_CC="$CC" # Let the user override the test. meillo@0: else meillo@0: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR meillo@0: for as_dir in $PATH meillo@0: do meillo@0: IFS=$as_save_IFS meillo@0: test -z "$as_dir" && as_dir=. meillo@0: for ac_exec_ext in '' $ac_executable_extensions; do meillo@1: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then meillo@0: ac_cv_prog_CC="$ac_tool_prefix$ac_prog" meillo@0: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 meillo@0: break 2 meillo@0: fi meillo@0: done meillo@0: done meillo@1: IFS=$as_save_IFS meillo@0: meillo@0: fi meillo@0: fi meillo@0: CC=$ac_cv_prog_CC meillo@0: if test -n "$CC"; then meillo@1: { echo "$as_me:$LINENO: result: $CC" >&5 meillo@1: echo "${ECHO_T}$CC" >&6; } meillo@1: else meillo@1: { echo "$as_me:$LINENO: result: no" >&5 meillo@1: echo "${ECHO_T}no" >&6; } meillo@1: fi meillo@1: meillo@0: meillo@0: test -n "$CC" && break meillo@0: done meillo@0: fi meillo@0: if test -z "$CC"; then meillo@0: ac_ct_CC=$CC meillo@1: for ac_prog in cl.exe meillo@0: do meillo@0: # Extract the first word of "$ac_prog", so it can be a program name with args. meillo@0: set dummy $ac_prog; ac_word=$2 meillo@1: { echo "$as_me:$LINENO: checking for $ac_word" >&5 meillo@1: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } meillo@0: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then meillo@0: echo $ECHO_N "(cached) $ECHO_C" >&6 meillo@0: else meillo@0: if test -n "$ac_ct_CC"; then meillo@0: ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. meillo@0: else meillo@0: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR meillo@0: for as_dir in $PATH meillo@0: do meillo@0: IFS=$as_save_IFS meillo@0: test -z "$as_dir" && as_dir=. meillo@0: for ac_exec_ext in '' $ac_executable_extensions; do meillo@1: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then meillo@0: ac_cv_prog_ac_ct_CC="$ac_prog" meillo@0: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 meillo@0: break 2 meillo@0: fi meillo@0: done meillo@0: done meillo@1: IFS=$as_save_IFS meillo@0: meillo@0: fi meillo@0: fi meillo@0: ac_ct_CC=$ac_cv_prog_ac_ct_CC meillo@0: if test -n "$ac_ct_CC"; then meillo@1: { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 meillo@1: echo "${ECHO_T}$ac_ct_CC" >&6; } meillo@1: else meillo@1: { echo "$as_me:$LINENO: result: no" >&5 meillo@1: echo "${ECHO_T}no" >&6; } meillo@1: fi meillo@1: meillo@0: meillo@0: test -n "$ac_ct_CC" && break meillo@0: done meillo@0: meillo@1: if test "x$ac_ct_CC" = x; then meillo@1: CC="" meillo@1: else meillo@1: case $cross_compiling:$ac_tool_warned in meillo@1: yes:) meillo@1: { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools meillo@1: whose name does not start with the host triplet. If you think this meillo@1: configuration is useful to you, please write to autoconf@gnu.org." >&5 meillo@1: echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools meillo@1: whose name does not start with the host triplet. If you think this meillo@1: configuration is useful to you, please write to autoconf@gnu.org." >&2;} meillo@1: ac_tool_warned=yes ;; meillo@1: esac meillo@1: CC=$ac_ct_CC meillo@1: fi meillo@0: fi meillo@0: meillo@0: fi meillo@0: meillo@0: meillo@0: test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH meillo@0: See \`config.log' for more details." >&5 meillo@0: echo "$as_me: error: no acceptable C compiler found in \$PATH meillo@0: See \`config.log' for more details." >&2;} meillo@0: { (exit 1); exit 1; }; } meillo@0: meillo@0: # Provide some information about the compiler. meillo@1: echo "$as_me:$LINENO: checking for C compiler version" >&5 meillo@0: ac_compiler=`set X $ac_compile; echo $2` meillo@1: { (ac_try="$ac_compiler --version >&5" meillo@1: case "(($ac_try" in meillo@1: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; meillo@1: *) ac_try_echo=$ac_try;; meillo@1: esac meillo@1: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 meillo@1: (eval "$ac_compiler --version >&5") 2>&5 meillo@0: ac_status=$? meillo@0: echo "$as_me:$LINENO: \$? = $ac_status" >&5 meillo@0: (exit $ac_status); } meillo@1: { (ac_try="$ac_compiler -v >&5" meillo@1: case "(($ac_try" in meillo@1: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; meillo@1: *) ac_try_echo=$ac_try;; meillo@1: esac meillo@1: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 meillo@1: (eval "$ac_compiler -v >&5") 2>&5 meillo@0: ac_status=$? meillo@0: echo "$as_me:$LINENO: \$? = $ac_status" >&5 meillo@0: (exit $ac_status); } meillo@1: { (ac_try="$ac_compiler -V >&5" meillo@1: case "(($ac_try" in meillo@1: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; meillo@1: *) ac_try_echo=$ac_try;; meillo@1: esac meillo@1: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 meillo@1: (eval "$ac_compiler -V >&5") 2>&5 meillo@0: ac_status=$? meillo@0: echo "$as_me:$LINENO: \$? = $ac_status" >&5 meillo@0: (exit $ac_status); } meillo@0: meillo@0: cat >conftest.$ac_ext <<_ACEOF meillo@0: /* confdefs.h. */ meillo@0: _ACEOF meillo@0: cat confdefs.h >>conftest.$ac_ext meillo@0: cat >>conftest.$ac_ext <<_ACEOF meillo@0: /* end confdefs.h. */ meillo@0: meillo@0: int meillo@0: main () meillo@0: { meillo@0: meillo@0: ; meillo@0: return 0; meillo@0: } meillo@0: _ACEOF meillo@0: ac_clean_files_save=$ac_clean_files meillo@0: ac_clean_files="$ac_clean_files a.out a.exe b.out" meillo@0: # Try to create an executable without -o first, disregard a.out. meillo@0: # It will help us diagnose broken compilers, and finding out an intuition meillo@0: # of exeext. meillo@1: { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 meillo@1: echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } meillo@0: ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` meillo@1: # meillo@1: # List of possible output files, starting from the most likely. meillo@1: # The algorithm is not robust to junk in `.', hence go to wildcards (a.*) meillo@1: # only as a last resort. b.out is created by i960 compilers. meillo@1: ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' meillo@1: # meillo@1: # The IRIX 6 linker writes into existing files which may not be meillo@1: # executable, retaining their permissions. Remove them first so a meillo@1: # subsequent execution test works. meillo@1: ac_rmfiles= meillo@1: for ac_file in $ac_files meillo@1: do meillo@1: case $ac_file in meillo@1: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; meillo@1: * ) ac_rmfiles="$ac_rmfiles $ac_file";; meillo@1: esac meillo@1: done meillo@1: rm -f $ac_rmfiles meillo@1: meillo@1: if { (ac_try="$ac_link_default" meillo@1: case "(($ac_try" in meillo@1: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; meillo@1: *) ac_try_echo=$ac_try;; meillo@1: esac meillo@1: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 meillo@1: (eval "$ac_link_default") 2>&5 meillo@0: ac_status=$? meillo@0: echo "$as_me:$LINENO: \$? = $ac_status" >&5 meillo@0: (exit $ac_status); }; then meillo@1: # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. meillo@1: # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' meillo@1: # in a Makefile. We should not override ac_cv_exeext if it was cached, meillo@1: # so that the user can short-circuit this test for compilers unknown to meillo@1: # Autoconf. meillo@1: for ac_file in $ac_files '' meillo@0: do meillo@0: test -f "$ac_file" || continue meillo@0: case $ac_file in meillo@1: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) meillo@0: ;; meillo@0: [ab].out ) meillo@0: # We found the default executable, but exeext='' is most meillo@0: # certainly right. meillo@0: break;; meillo@0: *.* ) meillo@1: if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; meillo@1: then :; else meillo@1: ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` meillo@1: fi meillo@1: # We set ac_cv_exeext here because the later test for it is not meillo@1: # safe: cross compilers may not add the suffix if given an `-o' meillo@1: # argument, so we may need to know it at that point already. meillo@1: # Even if this section looks crufty: it has the advantage of meillo@1: # actually working. meillo@0: break;; meillo@0: * ) meillo@0: break;; meillo@0: esac meillo@0: done meillo@1: test "$ac_cv_exeext" = no && ac_cv_exeext= meillo@1: meillo@1: else meillo@1: ac_file='' meillo@1: fi meillo@1: meillo@1: { echo "$as_me:$LINENO: result: $ac_file" >&5 meillo@1: echo "${ECHO_T}$ac_file" >&6; } meillo@1: if test -z "$ac_file"; then meillo@0: echo "$as_me: failed program was:" >&5 meillo@0: sed 's/^/| /' conftest.$ac_ext >&5 meillo@0: meillo@0: { { echo "$as_me:$LINENO: error: C compiler cannot create executables meillo@0: See \`config.log' for more details." >&5 meillo@0: echo "$as_me: error: C compiler cannot create executables meillo@0: See \`config.log' for more details." >&2;} meillo@0: { (exit 77); exit 77; }; } meillo@0: fi meillo@0: meillo@0: ac_exeext=$ac_cv_exeext meillo@1: meillo@1: # Check that the compiler produces executables we can run. If not, either meillo@0: # the compiler is broken, or we cross compile. meillo@1: { echo "$as_me:$LINENO: checking whether the C compiler works" >&5 meillo@1: echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } meillo@0: # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 meillo@0: # If not cross compiling, check that we can run a simple program. meillo@0: if test "$cross_compiling" != yes; then meillo@0: if { ac_try='./$ac_file' meillo@1: { (case "(($ac_try" in meillo@1: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; meillo@1: *) ac_try_echo=$ac_try;; meillo@1: esac meillo@1: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 meillo@1: (eval "$ac_try") 2>&5 meillo@0: ac_status=$? meillo@0: echo "$as_me:$LINENO: \$? = $ac_status" >&5 meillo@0: (exit $ac_status); }; }; then meillo@0: cross_compiling=no meillo@0: else meillo@0: if test "$cross_compiling" = maybe; then meillo@0: cross_compiling=yes meillo@0: else meillo@0: { { echo "$as_me:$LINENO: error: cannot run C compiled programs. meillo@0: If you meant to cross compile, use \`--host'. meillo@0: See \`config.log' for more details." >&5 meillo@0: echo "$as_me: error: cannot run C compiled programs. meillo@0: If you meant to cross compile, use \`--host'. meillo@0: See \`config.log' for more details." >&2;} meillo@0: { (exit 1); exit 1; }; } meillo@0: fi meillo@0: fi meillo@0: fi meillo@1: { echo "$as_me:$LINENO: result: yes" >&5 meillo@1: echo "${ECHO_T}yes" >&6; } meillo@0: meillo@0: rm -f a.out a.exe conftest$ac_cv_exeext b.out meillo@0: ac_clean_files=$ac_clean_files_save meillo@1: # Check that the compiler produces executables we can run. If not, either meillo@0: # the compiler is broken, or we cross compile. meillo@1: { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 meillo@1: echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } meillo@1: { echo "$as_me:$LINENO: result: $cross_compiling" >&5 meillo@1: echo "${ECHO_T}$cross_compiling" >&6; } meillo@1: meillo@1: { echo "$as_me:$LINENO: checking for suffix of executables" >&5 meillo@1: echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } meillo@1: if { (ac_try="$ac_link" meillo@1: case "(($ac_try" in meillo@1: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; meillo@1: *) ac_try_echo=$ac_try;; meillo@1: esac meillo@1: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 meillo@1: (eval "$ac_link") 2>&5 meillo@0: ac_status=$? meillo@0: echo "$as_me:$LINENO: \$? = $ac_status" >&5 meillo@0: (exit $ac_status); }; then meillo@0: # If both `conftest.exe' and `conftest' are `present' (well, observable) meillo@0: # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will meillo@0: # work properly (i.e., refer to `conftest.exe'), while it won't with meillo@0: # `rm'. meillo@0: for ac_file in conftest.exe conftest conftest.*; do meillo@0: test -f "$ac_file" || continue meillo@0: case $ac_file in meillo@1: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; meillo@0: *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` meillo@0: break;; meillo@0: * ) break;; meillo@0: esac meillo@0: done meillo@0: else meillo@0: { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link meillo@0: See \`config.log' for more details." >&5 meillo@0: echo "$as_me: error: cannot compute suffix of executables: cannot compile and link meillo@0: See \`config.log' for more details." >&2;} meillo@0: { (exit 1); exit 1; }; } meillo@0: fi meillo@0: meillo@0: rm -f conftest$ac_cv_exeext meillo@1: { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 meillo@1: echo "${ECHO_T}$ac_cv_exeext" >&6; } meillo@0: meillo@0: rm -f conftest.$ac_ext meillo@0: EXEEXT=$ac_cv_exeext meillo@0: ac_exeext=$EXEEXT meillo@1: { echo "$as_me:$LINENO: checking for suffix of object files" >&5 meillo@1: echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } meillo@0: if test "${ac_cv_objext+set}" = set; then meillo@0: echo $ECHO_N "(cached) $ECHO_C" >&6 meillo@0: else meillo@0: cat >conftest.$ac_ext <<_ACEOF meillo@0: /* confdefs.h. */ meillo@0: _ACEOF meillo@0: cat confdefs.h >>conftest.$ac_ext meillo@0: cat >>conftest.$ac_ext <<_ACEOF meillo@0: /* end confdefs.h. */ meillo@0: meillo@0: int meillo@0: main () meillo@0: { meillo@0: meillo@0: ; meillo@0: return 0; meillo@0: } meillo@0: _ACEOF meillo@0: rm -f conftest.o conftest.obj meillo@1: if { (ac_try="$ac_compile" meillo@1: case "(($ac_try" in meillo@1: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; meillo@1: *) ac_try_echo=$ac_try;; meillo@1: esac meillo@1: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 meillo@1: (eval "$ac_compile") 2>&5 meillo@0: ac_status=$? meillo@0: echo "$as_me:$LINENO: \$? = $ac_status" >&5 meillo@0: (exit $ac_status); }; then meillo@1: for ac_file in conftest.o conftest.obj conftest.*; do meillo@1: test -f "$ac_file" || continue; meillo@0: case $ac_file in meillo@1: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; meillo@0: *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` meillo@0: break;; meillo@0: esac meillo@0: done meillo@0: else meillo@0: echo "$as_me: failed program was:" >&5 meillo@0: sed 's/^/| /' conftest.$ac_ext >&5 meillo@0: meillo@0: { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile meillo@0: See \`config.log' for more details." >&5 meillo@0: echo "$as_me: error: cannot compute suffix of object files: cannot compile meillo@0: See \`config.log' for more details." >&2;} meillo@0: { (exit 1); exit 1; }; } meillo@0: fi meillo@0: meillo@0: rm -f conftest.$ac_cv_objext conftest.$ac_ext meillo@0: fi meillo@1: { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 meillo@1: echo "${ECHO_T}$ac_cv_objext" >&6; } meillo@0: OBJEXT=$ac_cv_objext meillo@0: ac_objext=$OBJEXT meillo@1: { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 meillo@1: echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } meillo@0: if test "${ac_cv_c_compiler_gnu+set}" = set; then meillo@0: echo $ECHO_N "(cached) $ECHO_C" >&6 meillo@0: else meillo@0: cat >conftest.$ac_ext <<_ACEOF meillo@0: /* confdefs.h. */ meillo@0: _ACEOF meillo@0: cat confdefs.h >>conftest.$ac_ext meillo@0: cat >>conftest.$ac_ext <<_ACEOF meillo@0: /* end confdefs.h. */ meillo@0: meillo@0: int meillo@0: main () meillo@0: { meillo@0: #ifndef __GNUC__ meillo@0: choke me meillo@0: #endif meillo@0: meillo@0: ; meillo@0: return 0; meillo@0: } meillo@0: _ACEOF meillo@0: rm -f conftest.$ac_objext meillo@1: if { (ac_try="$ac_compile" meillo@1: case "(($ac_try" in meillo@1: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; meillo@1: *) ac_try_echo=$ac_try;; meillo@1: esac meillo@1: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 meillo@1: (eval "$ac_compile") 2>conftest.er1 meillo@0: ac_status=$? meillo@0: grep -v '^ *+' conftest.er1 >conftest.err meillo@0: rm -f conftest.er1 meillo@0: cat conftest.err >&5 meillo@0: echo "$as_me:$LINENO: \$? = $ac_status" >&5 meillo@1: (exit $ac_status); } && { meillo@1: test -z "$ac_c_werror_flag" || meillo@1: test ! -s conftest.err meillo@1: } && test -s conftest.$ac_objext; then meillo@0: ac_compiler_gnu=yes meillo@0: else meillo@0: echo "$as_me: failed program was:" >&5 meillo@0: sed 's/^/| /' conftest.$ac_ext >&5 meillo@0: meillo@1: ac_compiler_gnu=no meillo@1: fi meillo@1: meillo@1: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext meillo@0: ac_cv_c_compiler_gnu=$ac_compiler_gnu meillo@0: meillo@0: fi meillo@1: { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 meillo@1: echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } meillo@0: GCC=`test $ac_compiler_gnu = yes && echo yes` meillo@0: ac_test_CFLAGS=${CFLAGS+set} meillo@0: ac_save_CFLAGS=$CFLAGS meillo@1: { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 meillo@1: echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } meillo@0: if test "${ac_cv_prog_cc_g+set}" = set; then meillo@0: echo $ECHO_N "(cached) $ECHO_C" >&6 meillo@0: else meillo@1: ac_save_c_werror_flag=$ac_c_werror_flag meillo@1: ac_c_werror_flag=yes meillo@1: ac_cv_prog_cc_g=no meillo@1: CFLAGS="-g" meillo@1: cat >conftest.$ac_ext <<_ACEOF meillo@0: /* confdefs.h. */ meillo@0: _ACEOF meillo@0: cat confdefs.h >>conftest.$ac_ext meillo@0: cat >>conftest.$ac_ext <<_ACEOF meillo@0: /* end confdefs.h. */ meillo@0: meillo@0: int meillo@0: main () meillo@0: { meillo@0: meillo@0: ; meillo@0: return 0; meillo@0: } meillo@0: _ACEOF meillo@0: rm -f conftest.$ac_objext meillo@1: if { (ac_try="$ac_compile" meillo@1: case "(($ac_try" in meillo@1: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; meillo@1: *) ac_try_echo=$ac_try;; meillo@1: esac meillo@1: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 meillo@1: (eval "$ac_compile") 2>conftest.er1 meillo@0: ac_status=$? meillo@0: grep -v '^ *+' conftest.er1 >conftest.err meillo@0: rm -f conftest.er1 meillo@0: cat conftest.err >&5 meillo@0: echo "$as_me:$LINENO: \$? = $ac_status" >&5 meillo@1: (exit $ac_status); } && { meillo@1: test -z "$ac_c_werror_flag" || meillo@1: test ! -s conftest.err meillo@1: } && test -s conftest.$ac_objext; then meillo@0: ac_cv_prog_cc_g=yes meillo@0: else meillo@0: echo "$as_me: failed program was:" >&5 meillo@0: sed 's/^/| /' conftest.$ac_ext >&5 meillo@0: meillo@1: CFLAGS="" meillo@1: cat >conftest.$ac_ext <<_ACEOF meillo@1: /* confdefs.h. */ meillo@1: _ACEOF meillo@1: cat confdefs.h >>conftest.$ac_ext meillo@1: cat >>conftest.$ac_ext <<_ACEOF meillo@1: /* end confdefs.h. */ meillo@1: meillo@1: int meillo@1: main () meillo@1: { meillo@1: meillo@1: ; meillo@1: return 0; meillo@1: } meillo@1: _ACEOF meillo@1: rm -f conftest.$ac_objext meillo@1: if { (ac_try="$ac_compile" meillo@1: case "(($ac_try" in meillo@1: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; meillo@1: *) ac_try_echo=$ac_try;; meillo@1: esac meillo@1: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 meillo@1: (eval "$ac_compile") 2>conftest.er1 meillo@1: ac_status=$? meillo@1: grep -v '^ *+' conftest.er1 >conftest.err meillo@1: rm -f conftest.er1 meillo@1: cat conftest.err >&5 meillo@1: echo "$as_me:$LINENO: \$? = $ac_status" >&5 meillo@1: (exit $ac_status); } && { meillo@1: test -z "$ac_c_werror_flag" || meillo@1: test ! -s conftest.err meillo@1: } && test -s conftest.$ac_objext; then meillo@1: : meillo@1: else meillo@1: echo "$as_me: failed program was:" >&5 meillo@1: sed 's/^/| /' conftest.$ac_ext >&5 meillo@1: meillo@1: ac_c_werror_flag=$ac_save_c_werror_flag meillo@1: CFLAGS="-g" meillo@1: cat >conftest.$ac_ext <<_ACEOF meillo@1: /* confdefs.h. */ meillo@1: _ACEOF meillo@1: cat confdefs.h >>conftest.$ac_ext meillo@1: cat >>conftest.$ac_ext <<_ACEOF meillo@1: /* end confdefs.h. */ meillo@1: meillo@1: int meillo@1: main () meillo@1: { meillo@1: meillo@1: ; meillo@1: return 0; meillo@1: } meillo@1: _ACEOF meillo@1: rm -f conftest.$ac_objext meillo@1: if { (ac_try="$ac_compile" meillo@1: case "(($ac_try" in meillo@1: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; meillo@1: *) ac_try_echo=$ac_try;; meillo@1: esac meillo@1: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 meillo@1: (eval "$ac_compile") 2>conftest.er1 meillo@1: ac_status=$? meillo@1: grep -v '^ *+' conftest.er1 >conftest.err meillo@1: rm -f conftest.er1 meillo@1: cat conftest.err >&5 meillo@1: echo "$as_me:$LINENO: \$? = $ac_status" >&5 meillo@1: (exit $ac_status); } && { meillo@1: test -z "$ac_c_werror_flag" || meillo@1: test ! -s conftest.err meillo@1: } && test -s conftest.$ac_objext; then meillo@1: ac_cv_prog_cc_g=yes meillo@1: else meillo@1: echo "$as_me: failed program was:" >&5 meillo@1: sed 's/^/| /' conftest.$ac_ext >&5 meillo@1: meillo@1: meillo@1: fi meillo@1: meillo@1: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext meillo@1: fi meillo@1: meillo@1: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext meillo@1: fi meillo@1: meillo@1: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext meillo@1: ac_c_werror_flag=$ac_save_c_werror_flag meillo@1: fi meillo@1: { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 meillo@1: echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } meillo@0: if test "$ac_test_CFLAGS" = set; then meillo@0: CFLAGS=$ac_save_CFLAGS meillo@0: elif test $ac_cv_prog_cc_g = yes; then meillo@0: if test "$GCC" = yes; then meillo@0: CFLAGS="-g -O2" meillo@0: else meillo@0: CFLAGS="-g" meillo@0: fi meillo@0: else meillo@0: if test "$GCC" = yes; then meillo@0: CFLAGS="-O2" meillo@0: else meillo@0: CFLAGS= meillo@0: fi meillo@0: fi meillo@1: { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 meillo@1: echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } meillo@1: if test "${ac_cv_prog_cc_c89+set}" = set; then meillo@0: echo $ECHO_N "(cached) $ECHO_C" >&6 meillo@0: else meillo@1: ac_cv_prog_cc_c89=no meillo@0: ac_save_CC=$CC meillo@0: cat >conftest.$ac_ext <<_ACEOF meillo@0: /* confdefs.h. */ meillo@0: _ACEOF meillo@0: cat confdefs.h >>conftest.$ac_ext meillo@0: cat >>conftest.$ac_ext <<_ACEOF meillo@0: /* end confdefs.h. */ meillo@0: #include meillo@0: #include meillo@0: #include meillo@0: #include meillo@0: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ meillo@0: struct buf { int x; }; meillo@0: FILE * (*rcsopen) (struct buf *, struct stat *, int); meillo@0: static char *e (p, i) meillo@0: char **p; meillo@0: int i; meillo@0: { meillo@0: return p[i]; meillo@0: } meillo@0: static char *f (char * (*g) (char **, int), char **p, ...) meillo@0: { meillo@0: char *s; meillo@0: va_list v; meillo@0: va_start (v,p); meillo@0: s = g (p, va_arg (v,int)); meillo@0: va_end (v); meillo@0: return s; meillo@0: } meillo@0: meillo@0: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has meillo@0: function prototypes and stuff, but not '\xHH' hex character constants. meillo@0: These don't provoke an error unfortunately, instead are silently treated meillo@1: as 'x'. The following induces an error, until -std is added to get meillo@0: proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an meillo@0: array size at least. It's necessary to write '\x00'==0 to get something meillo@1: that's true only with -std. */ meillo@0: int osf4_cc_array ['\x00' == 0 ? 1 : -1]; meillo@0: meillo@1: /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters meillo@1: inside strings and character constants. */ meillo@1: #define FOO(x) 'x' meillo@1: int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; meillo@1: meillo@0: int test (int i, double x); meillo@0: struct s1 {int (*f) (int a);}; meillo@0: struct s2 {int (*f) (double a);}; meillo@0: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); meillo@0: int argc; meillo@0: char **argv; meillo@0: int meillo@0: main () meillo@0: { meillo@0: return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; meillo@0: ; meillo@0: return 0; meillo@0: } meillo@0: _ACEOF meillo@1: for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ meillo@1: -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" meillo@0: do meillo@0: CC="$ac_save_CC $ac_arg" meillo@0: rm -f conftest.$ac_objext meillo@1: if { (ac_try="$ac_compile" meillo@1: case "(($ac_try" in meillo@1: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; meillo@1: *) ac_try_echo=$ac_try;; meillo@1: esac meillo@1: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 meillo@1: (eval "$ac_compile") 2>conftest.er1 meillo@0: ac_status=$? meillo@0: grep -v '^ *+' conftest.er1 >conftest.err meillo@0: rm -f conftest.er1 meillo@0: cat conftest.err >&5 meillo@0: echo "$as_me:$LINENO: \$? = $ac_status" >&5 meillo@1: (exit $ac_status); } && { meillo@1: test -z "$ac_c_werror_flag" || meillo@1: test ! -s conftest.err meillo@1: } && test -s conftest.$ac_objext; then meillo@1: ac_cv_prog_cc_c89=$ac_arg meillo@0: else meillo@0: echo "$as_me: failed program was:" >&5 meillo@0: sed 's/^/| /' conftest.$ac_ext >&5 meillo@0: meillo@1: meillo@1: fi meillo@1: meillo@1: rm -f core conftest.err conftest.$ac_objext meillo@1: test "x$ac_cv_prog_cc_c89" != "xno" && break meillo@0: done meillo@1: rm -f conftest.$ac_ext meillo@0: CC=$ac_save_CC meillo@0: meillo@0: fi meillo@1: # AC_CACHE_VAL meillo@1: case "x$ac_cv_prog_cc_c89" in meillo@1: x) meillo@1: { echo "$as_me:$LINENO: result: none needed" >&5 meillo@1: echo "${ECHO_T}none needed" >&6; } ;; meillo@1: xno) meillo@1: { echo "$as_me:$LINENO: result: unsupported" >&5 meillo@1: echo "${ECHO_T}unsupported" >&6; } ;; meillo@0: *) meillo@1: CC="$CC $ac_cv_prog_cc_c89" meillo@1: { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 meillo@1: echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; meillo@0: esac meillo@0: meillo@1: meillo@0: ac_ext=c meillo@0: ac_cpp='$CPP $CPPFLAGS' meillo@0: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' meillo@0: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' meillo@0: ac_compiler_gnu=$ac_cv_c_compiler_gnu meillo@0: DEPDIR="${am__leading_dot}deps" meillo@0: meillo@1: ac_config_commands="$ac_config_commands depfiles" meillo@0: meillo@0: meillo@0: am_make=${MAKE-make} meillo@0: cat > confinc << 'END' meillo@0: am__doit: meillo@0: @echo done meillo@0: .PHONY: am__doit meillo@0: END meillo@0: # If we don't find an include directive, just comment out the code. meillo@1: { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 meillo@1: echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; } meillo@0: am__include="#" meillo@0: am__quote= meillo@0: _am_result=none meillo@0: # First try GNU make style include. meillo@0: echo "include confinc" > confmf meillo@0: # We grep out `Entering directory' and `Leaving directory' meillo@0: # messages which can occur if `w' ends up in MAKEFLAGS. meillo@0: # In particular we don't look at `^make:' because GNU make might meillo@0: # be invoked under some other name (usually "gmake"), in which meillo@0: # case it prints its new name instead of `make'. meillo@0: if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then meillo@0: am__include=include meillo@0: am__quote= meillo@0: _am_result=GNU meillo@0: fi meillo@0: # Now try BSD make style include. meillo@0: if test "$am__include" = "#"; then meillo@0: echo '.include "confinc"' > confmf meillo@0: if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then meillo@0: am__include=.include meillo@0: am__quote="\"" meillo@0: _am_result=BSD meillo@0: fi meillo@0: fi meillo@0: meillo@0: meillo@1: { echo "$as_me:$LINENO: result: $_am_result" >&5 meillo@1: echo "${ECHO_T}$_am_result" >&6; } meillo@0: rm -f confinc confmf meillo@0: meillo@1: # Check whether --enable-dependency-tracking was given. meillo@0: if test "${enable_dependency_tracking+set}" = set; then meillo@1: enableval=$enable_dependency_tracking; meillo@1: fi meillo@1: meillo@0: if test "x$enable_dependency_tracking" != xno; then meillo@0: am_depcomp="$ac_aux_dir/depcomp" meillo@0: AMDEPBACKSLASH='\' meillo@0: fi meillo@0: meillo@0: meillo@0: if test "x$enable_dependency_tracking" != xno; then meillo@0: AMDEP_TRUE= meillo@0: AMDEP_FALSE='#' meillo@0: else meillo@0: AMDEP_TRUE='#' meillo@0: AMDEP_FALSE= meillo@0: fi meillo@0: meillo@0: meillo@0: meillo@0: meillo@0: depcc="$CC" am_compiler_list= meillo@0: meillo@1: { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 meillo@1: echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; } meillo@0: if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then meillo@0: echo $ECHO_N "(cached) $ECHO_C" >&6 meillo@0: else meillo@0: if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then meillo@0: # We make a subdir and do the tests there. Otherwise we can end up meillo@0: # making bogus files that we don't know about and never remove. For meillo@0: # instance it was reported that on HP-UX the gcc test will end up meillo@0: # making a dummy file named `D' -- because `-MD' means `put the output meillo@0: # in D'. meillo@0: mkdir conftest.dir meillo@0: # Copy depcomp to subdir because otherwise we won't find it if we're meillo@0: # using a relative directory. meillo@0: cp "$am_depcomp" conftest.dir meillo@0: cd conftest.dir meillo@0: # We will build objects and dependencies in a subdirectory because meillo@0: # it helps to detect inapplicable dependency modes. For instance meillo@0: # both Tru64's cc and ICC support -MD to output dependencies as a meillo@0: # side effect of compilation, but ICC will put the dependencies in meillo@0: # the current directory while Tru64 will put them in the object meillo@0: # directory. meillo@0: mkdir sub meillo@0: meillo@0: am_cv_CC_dependencies_compiler_type=none meillo@0: if test "$am_compiler_list" = ""; then meillo@0: am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` meillo@0: fi meillo@0: for depmode in $am_compiler_list; do meillo@0: # Setup a source with many dependencies, because some compilers meillo@0: # like to wrap large dependency lists on column 80 (with \), and meillo@0: # we should not choose a depcomp mode which is confused by this. meillo@0: # meillo@0: # We need to recreate these files for each test, as the compiler may meillo@0: # overwrite some of them when testing with obscure command lines. meillo@0: # This happens at least with the AIX C compiler. meillo@0: : > sub/conftest.c meillo@0: for i in 1 2 3 4 5 6; do meillo@0: echo '#include "conftst'$i'.h"' >> sub/conftest.c meillo@0: : > sub/conftst$i.h meillo@0: done meillo@0: echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf meillo@0: meillo@0: case $depmode in meillo@0: nosideeffect) meillo@0: # after this tag, mechanisms are not by side-effect, so they'll meillo@0: # only be used when explicitly requested meillo@0: if test "x$enable_dependency_tracking" = xyes; then meillo@0: continue meillo@0: else meillo@0: break meillo@0: fi meillo@0: ;; meillo@0: none) break ;; meillo@0: esac meillo@0: # We check with `-c' and `-o' for the sake of the "dashmstdout" meillo@0: # mode. It turns out that the SunPro C++ compiler does not properly meillo@0: # handle `-M -o', and we need to detect this. meillo@0: if depmode=$depmode \ meillo@0: source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ meillo@0: depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ meillo@0: $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ meillo@0: >/dev/null 2>conftest.err && meillo@0: grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && meillo@0: grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && meillo@0: ${MAKE-make} -s -f confmf > /dev/null 2>&1; then meillo@0: # icc doesn't choke on unknown options, it will just issue warnings meillo@0: # (even with -Werror). So we grep stderr for any message meillo@0: # that says an option was ignored. meillo@0: if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else meillo@0: am_cv_CC_dependencies_compiler_type=$depmode meillo@0: break meillo@0: fi meillo@0: fi meillo@0: done meillo@0: meillo@0: cd .. meillo@0: rm -rf conftest.dir meillo@0: else meillo@0: am_cv_CC_dependencies_compiler_type=none meillo@0: fi meillo@0: meillo@0: fi meillo@1: { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 meillo@1: echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; } meillo@0: CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type meillo@0: meillo@0: meillo@0: meillo@0: if meillo@0: test "x$enable_dependency_tracking" != xno \ meillo@0: && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then meillo@0: am__fastdepCC_TRUE= meillo@0: am__fastdepCC_FALSE='#' meillo@0: else meillo@0: am__fastdepCC_TRUE='#' meillo@0: am__fastdepCC_FALSE= meillo@0: fi meillo@0: meillo@0: meillo@0: meillo@1: { echo "$as_me:$LINENO: checking for library containing strerror" >&5 meillo@1: echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; } meillo@1: if test "${ac_cv_search_strerror+set}" = set; then meillo@0: echo $ECHO_N "(cached) $ECHO_C" >&6 meillo@0: else meillo@1: ac_func_search_save_LIBS=$LIBS meillo@0: cat >conftest.$ac_ext <<_ACEOF meillo@0: /* confdefs.h. */ meillo@0: _ACEOF meillo@0: cat confdefs.h >>conftest.$ac_ext meillo@0: cat >>conftest.$ac_ext <<_ACEOF meillo@0: /* end confdefs.h. */ meillo@0: meillo@1: /* Override any GCC internal prototype to avoid an error. meillo@1: Use char because int might match the return type of a GCC meillo@1: builtin and then its argument prototype would still apply. */ meillo@0: #ifdef __cplusplus meillo@0: extern "C" meillo@0: #endif meillo@0: char strerror (); meillo@0: int meillo@0: main () meillo@0: { meillo@1: return strerror (); meillo@0: ; meillo@0: return 0; meillo@0: } meillo@0: _ACEOF meillo@1: for ac_lib in '' cposix; do meillo@1: if test -z "$ac_lib"; then meillo@1: ac_res="none required" meillo@1: else meillo@1: ac_res=-l$ac_lib meillo@1: LIBS="-l$ac_lib $ac_func_search_save_LIBS" meillo@1: fi meillo@1: rm -f conftest.$ac_objext conftest$ac_exeext meillo@1: if { (ac_try="$ac_link" meillo@1: case "(($ac_try" in meillo@1: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; meillo@1: *) ac_try_echo=$ac_try;; meillo@1: esac meillo@1: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 meillo@1: (eval "$ac_link") 2>conftest.er1 meillo@0: ac_status=$? meillo@0: grep -v '^ *+' conftest.er1 >conftest.err meillo@0: rm -f conftest.er1 meillo@0: cat conftest.err >&5 meillo@0: echo "$as_me:$LINENO: \$? = $ac_status" >&5 meillo@1: (exit $ac_status); } && { meillo@1: test -z "$ac_c_werror_flag" || meillo@1: test ! -s conftest.err meillo@1: } && test -s conftest$ac_exeext && meillo@1: $as_test_x conftest$ac_exeext; then meillo@1: ac_cv_search_strerror=$ac_res meillo@0: else meillo@0: echo "$as_me: failed program was:" >&5 meillo@0: sed 's/^/| /' conftest.$ac_ext >&5 meillo@0: meillo@1: meillo@1: fi meillo@1: meillo@1: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ meillo@1: conftest$ac_exeext meillo@1: if test "${ac_cv_search_strerror+set}" = set; then meillo@1: break meillo@1: fi meillo@1: done meillo@1: if test "${ac_cv_search_strerror+set}" = set; then meillo@1: : meillo@1: else meillo@1: ac_cv_search_strerror=no meillo@1: fi meillo@1: rm conftest.$ac_ext meillo@1: LIBS=$ac_func_search_save_LIBS meillo@1: fi meillo@1: { echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5 meillo@1: echo "${ECHO_T}$ac_cv_search_strerror" >&6; } meillo@1: ac_res=$ac_cv_search_strerror meillo@1: if test "$ac_res" != no; then meillo@1: test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" meillo@1: meillo@1: fi meillo@0: meillo@0: ac_ext=c meillo@0: ac_cpp='$CPP $CPPFLAGS' meillo@0: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' meillo@0: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' meillo@0: ac_compiler_gnu=$ac_cv_c_compiler_gnu meillo@1: { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 meillo@1: echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } meillo@0: # On Suns, sometimes $CPP names a directory. meillo@0: if test -n "$CPP" && test -d "$CPP"; then meillo@0: CPP= meillo@0: fi meillo@0: if test -z "$CPP"; then meillo@0: if test "${ac_cv_prog_CPP+set}" = set; then meillo@0: echo $ECHO_N "(cached) $ECHO_C" >&6 meillo@0: else meillo@0: # Double quotes because CPP needs to be expanded meillo@0: for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" meillo@0: do meillo@0: ac_preproc_ok=false meillo@0: for ac_c_preproc_warn_flag in '' yes meillo@0: do meillo@0: # Use a header file that comes with gcc, so configuring glibc meillo@0: # with a fresh cross-compiler works. meillo@0: # Prefer to if __STDC__ is defined, since meillo@0: # exists even on freestanding compilers. meillo@0: # On the NeXT, cc -E runs the code through the compiler's parser, meillo@0: # not just through cpp. "Syntax error" is here to catch this case. meillo@0: cat >conftest.$ac_ext <<_ACEOF meillo@0: /* confdefs.h. */ meillo@0: _ACEOF meillo@0: cat confdefs.h >>conftest.$ac_ext meillo@0: cat >>conftest.$ac_ext <<_ACEOF meillo@0: /* end confdefs.h. */ meillo@0: #ifdef __STDC__ meillo@0: # include meillo@0: #else meillo@0: # include meillo@0: #endif meillo@0: Syntax error meillo@0: _ACEOF meillo@1: if { (ac_try="$ac_cpp conftest.$ac_ext" meillo@1: case "(($ac_try" in meillo@1: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; meillo@1: *) ac_try_echo=$ac_try;; meillo@1: esac meillo@1: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 meillo@1: (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 meillo@0: ac_status=$? meillo@0: grep -v '^ *+' conftest.er1 >conftest.err meillo@0: rm -f conftest.er1 meillo@0: cat conftest.err >&5 meillo@0: echo "$as_me:$LINENO: \$? = $ac_status" >&5 meillo@1: (exit $ac_status); } >/dev/null && { meillo@1: test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || meillo@1: test ! -s conftest.err meillo@1: }; then meillo@0: : meillo@0: else meillo@0: echo "$as_me: failed program was:" >&5 meillo@0: sed 's/^/| /' conftest.$ac_ext >&5 meillo@0: meillo@0: # Broken: fails on valid input. meillo@0: continue meillo@0: fi meillo@1: meillo@0: rm -f conftest.err conftest.$ac_ext meillo@0: meillo@1: # OK, works on sane cases. Now check whether nonexistent headers meillo@0: # can be detected and how. meillo@0: cat >conftest.$ac_ext <<_ACEOF meillo@0: /* confdefs.h. */ meillo@0: _ACEOF meillo@0: cat confdefs.h >>conftest.$ac_ext meillo@0: cat >>conftest.$ac_ext <<_ACEOF meillo@0: /* end confdefs.h. */ meillo@0: #include meillo@0: _ACEOF meillo@1: if { (ac_try="$ac_cpp conftest.$ac_ext" meillo@1: case "(($ac_try" in meillo@1: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; meillo@1: *) ac_try_echo=$ac_try;; meillo@1: esac meillo@1: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 meillo@1: (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 meillo@0: ac_status=$? meillo@0: grep -v '^ *+' conftest.er1 >conftest.err meillo@0: rm -f conftest.er1 meillo@0: cat conftest.err >&5 meillo@0: echo "$as_me:$LINENO: \$? = $ac_status" >&5 meillo@1: (exit $ac_status); } >/dev/null && { meillo@1: test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || meillo@1: test ! -s conftest.err meillo@1: }; then meillo@0: # Broken: success on invalid input. meillo@0: continue meillo@0: else meillo@0: echo "$as_me: failed program was:" >&5 meillo@0: sed 's/^/| /' conftest.$ac_ext >&5 meillo@0: meillo@0: # Passes both tests. meillo@0: ac_preproc_ok=: meillo@0: break meillo@0: fi meillo@1: meillo@0: rm -f conftest.err conftest.$ac_ext meillo@0: meillo@0: done meillo@0: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. meillo@0: rm -f conftest.err conftest.$ac_ext meillo@0: if $ac_preproc_ok; then meillo@0: break meillo@0: fi meillo@0: meillo@0: done meillo@0: ac_cv_prog_CPP=$CPP meillo@0: meillo@0: fi meillo@0: CPP=$ac_cv_prog_CPP meillo@0: else meillo@0: ac_cv_prog_CPP=$CPP meillo@0: fi meillo@1: { echo "$as_me:$LINENO: result: $CPP" >&5 meillo@1: echo "${ECHO_T}$CPP" >&6; } meillo@0: ac_preproc_ok=false meillo@0: for ac_c_preproc_warn_flag in '' yes meillo@0: do meillo@0: # Use a header file that comes with gcc, so configuring glibc meillo@0: # with a fresh cross-compiler works. meillo@0: # Prefer to if __STDC__ is defined, since meillo@0: # exists even on freestanding compilers. meillo@0: # On the NeXT, cc -E runs the code through the compiler's parser, meillo@0: # not just through cpp. "Syntax error" is here to catch this case. meillo@0: cat >conftest.$ac_ext <<_ACEOF meillo@0: /* confdefs.h. */ meillo@0: _ACEOF meillo@0: cat confdefs.h >>conftest.$ac_ext meillo@0: cat >>conftest.$ac_ext <<_ACEOF meillo@0: /* end confdefs.h. */ meillo@0: #ifdef __STDC__ meillo@0: # include meillo@0: #else meillo@0: # include meillo@0: #endif meillo@0: Syntax error meillo@0: _ACEOF meillo@1: if { (ac_try="$ac_cpp conftest.$ac_ext" meillo@1: case "(($ac_try" in meillo@1: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; meillo@1: *) ac_try_echo=$ac_try;; meillo@1: esac meillo@1: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 meillo@1: (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 meillo@0: ac_status=$? meillo@0: grep -v '^ *+' conftest.er1 >conftest.err meillo@0: rm -f conftest.er1 meillo@0: cat conftest.err >&5 meillo@0: echo "$as_me:$LINENO: \$? = $ac_status" >&5 meillo@1: (exit $ac_status); } >/dev/null && { meillo@1: test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || meillo@1: test ! -s conftest.err meillo@1: }; then meillo@0: : meillo@0: else meillo@0: echo "$as_me: failed program was:" >&5 meillo@0: sed 's/^/| /' conftest.$ac_ext >&5 meillo@0: meillo@0: # Broken: fails on valid input. meillo@0: continue meillo@0: fi meillo@1: meillo@0: rm -f conftest.err conftest.$ac_ext meillo@0: meillo@1: # OK, works on sane cases. Now check whether nonexistent headers meillo@0: # can be detected and how. meillo@0: cat >conftest.$ac_ext <<_ACEOF meillo@0: /* confdefs.h. */ meillo@0: _ACEOF meillo@0: cat confdefs.h >>conftest.$ac_ext meillo@0: cat >>conftest.$ac_ext <<_ACEOF meillo@0: /* end confdefs.h. */ meillo@0: #include meillo@0: _ACEOF meillo@1: if { (ac_try="$ac_cpp conftest.$ac_ext" meillo@1: case "(($ac_try" in meillo@1: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; meillo@1: *) ac_try_echo=$ac_try;; meillo@1: esac meillo@1: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 meillo@1: (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 meillo@0: ac_status=$? meillo@0: grep -v '^ *+' conftest.er1 >conftest.err meillo@0: rm -f conftest.er1 meillo@0: cat conftest.err >&5 meillo@0: echo "$as_me:$LINENO: \$? = $ac_status" >&5 meillo@1: (exit $ac_status); } >/dev/null && { meillo@1: test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || meillo@1: test ! -s conftest.err meillo@1: }; then meillo@0: # Broken: success on invalid input. meillo@0: continue meillo@0: else meillo@0: echo "$as_me: failed program was:" >&5 meillo@0: sed 's/^/| /' conftest.$ac_ext >&5 meillo@0: meillo@0: # Passes both tests. meillo@0: ac_preproc_ok=: meillo@0: break meillo@0: fi meillo@1: meillo@0: rm -f conftest.err conftest.$ac_ext meillo@0: meillo@0: done meillo@0: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. meillo@0: rm -f conftest.err conftest.$ac_ext meillo@0: if $ac_preproc_ok; then meillo@0: : meillo@0: else meillo@0: { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check meillo@0: See \`config.log' for more details." >&5 meillo@0: echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check meillo@0: See \`config.log' for more details." >&2;} meillo@0: { (exit 1); exit 1; }; } meillo@0: fi meillo@0: meillo@0: ac_ext=c meillo@0: ac_cpp='$CPP $CPPFLAGS' meillo@0: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' meillo@0: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' meillo@0: ac_compiler_gnu=$ac_cv_c_compiler_gnu meillo@0: meillo@0: meillo@1: { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 meillo@1: echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } meillo@1: if test "${ac_cv_path_GREP+set}" = set; then meillo@0: echo $ECHO_N "(cached) $ECHO_C" >&6 meillo@0: else meillo@1: # Extract the first word of "grep ggrep" to use in msg output meillo@1: if test -z "$GREP"; then meillo@1: set dummy grep ggrep; ac_prog_name=$2 meillo@1: if test "${ac_cv_path_GREP+set}" = set; then meillo@1: echo $ECHO_N "(cached) $ECHO_C" >&6 meillo@1: else meillo@1: ac_path_GREP_found=false meillo@1: # Loop through the user's path and test for each of PROGNAME-LIST meillo@1: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR meillo@1: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin meillo@1: do meillo@1: IFS=$as_save_IFS meillo@1: test -z "$as_dir" && as_dir=. meillo@1: for ac_prog in grep ggrep; do meillo@1: for ac_exec_ext in '' $ac_executable_extensions; do meillo@1: ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" meillo@1: { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue meillo@1: # Check for GNU ac_path_GREP and select it if it is found. meillo@1: # Check for GNU $ac_path_GREP meillo@1: case `"$ac_path_GREP" --version 2>&1` in meillo@1: *GNU*) meillo@1: ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; meillo@1: *) meillo@1: ac_count=0 meillo@1: echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" meillo@1: while : meillo@1: do meillo@1: cat "conftest.in" "conftest.in" >"conftest.tmp" meillo@1: mv "conftest.tmp" "conftest.in" meillo@1: cp "conftest.in" "conftest.nl" meillo@1: echo 'GREP' >> "conftest.nl" meillo@1: "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break meillo@1: diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break meillo@1: ac_count=`expr $ac_count + 1` meillo@1: if test $ac_count -gt ${ac_path_GREP_max-0}; then meillo@1: # Best one so far, save it but keep looking for a better one meillo@1: ac_cv_path_GREP="$ac_path_GREP" meillo@1: ac_path_GREP_max=$ac_count meillo@0: fi meillo@1: # 10*(2^10) chars as input seems more than enough meillo@1: test $ac_count -gt 10 && break meillo@1: done meillo@1: rm -f conftest.in conftest.tmp conftest.nl conftest.out;; meillo@1: esac meillo@1: meillo@1: meillo@1: $ac_path_GREP_found && break 3 meillo@1: done meillo@1: done meillo@1: meillo@1: done meillo@1: IFS=$as_save_IFS meillo@1: meillo@1: meillo@1: fi meillo@1: meillo@1: GREP="$ac_cv_path_GREP" meillo@1: if test -z "$GREP"; then meillo@1: { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 meillo@1: echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} meillo@1: { (exit 1); exit 1; }; } meillo@1: fi meillo@1: meillo@1: else meillo@1: ac_cv_path_GREP=$GREP meillo@1: fi meillo@1: meillo@1: meillo@1: fi meillo@1: { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 meillo@1: echo "${ECHO_T}$ac_cv_path_GREP" >&6; } meillo@1: GREP="$ac_cv_path_GREP" meillo@1: meillo@1: meillo@1: { echo "$as_me:$LINENO: checking for egrep" >&5 meillo@1: echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } meillo@1: if test "${ac_cv_path_EGREP+set}" = set; then meillo@1: echo $ECHO_N "(cached) $ECHO_C" >&6 meillo@1: else meillo@1: if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 meillo@1: then ac_cv_path_EGREP="$GREP -E" meillo@1: else meillo@1: # Extract the first word of "egrep" to use in msg output meillo@1: if test -z "$EGREP"; then meillo@1: set dummy egrep; ac_prog_name=$2 meillo@1: if test "${ac_cv_path_EGREP+set}" = set; then meillo@1: echo $ECHO_N "(cached) $ECHO_C" >&6 meillo@1: else meillo@1: ac_path_EGREP_found=false meillo@1: # Loop through the user's path and test for each of PROGNAME-LIST meillo@1: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR meillo@1: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin meillo@1: do meillo@1: IFS=$as_save_IFS meillo@1: test -z "$as_dir" && as_dir=. meillo@1: for ac_prog in egrep; do meillo@1: for ac_exec_ext in '' $ac_executable_extensions; do meillo@1: ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" meillo@1: { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue meillo@1: # Check for GNU ac_path_EGREP and select it if it is found. meillo@1: # Check for GNU $ac_path_EGREP meillo@1: case `"$ac_path_EGREP" --version 2>&1` in meillo@1: *GNU*) meillo@1: ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; meillo@1: *) meillo@1: ac_count=0 meillo@1: echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" meillo@1: while : meillo@1: do meillo@1: cat "conftest.in" "conftest.in" >"conftest.tmp" meillo@1: mv "conftest.tmp" "conftest.in" meillo@1: cp "conftest.in" "conftest.nl" meillo@1: echo 'EGREP' >> "conftest.nl" meillo@1: "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break meillo@1: diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break meillo@1: ac_count=`expr $ac_count + 1` meillo@1: if test $ac_count -gt ${ac_path_EGREP_max-0}; then meillo@1: # Best one so far, save it but keep looking for a better one meillo@1: ac_cv_path_EGREP="$ac_path_EGREP" meillo@1: ac_path_EGREP_max=$ac_count meillo@1: fi meillo@1: # 10*(2^10) chars as input seems more than enough meillo@1: test $ac_count -gt 10 && break meillo@1: done meillo@1: rm -f conftest.in conftest.tmp conftest.nl conftest.out;; meillo@1: esac meillo@1: meillo@1: meillo@1: $ac_path_EGREP_found && break 3 meillo@1: done meillo@1: done meillo@1: meillo@1: done meillo@1: IFS=$as_save_IFS meillo@1: meillo@1: meillo@1: fi meillo@1: meillo@1: EGREP="$ac_cv_path_EGREP" meillo@1: if test -z "$EGREP"; then meillo@1: { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 meillo@1: echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} meillo@1: { (exit 1); exit 1; }; } meillo@1: fi meillo@1: meillo@1: else meillo@1: ac_cv_path_EGREP=$EGREP meillo@1: fi meillo@1: meillo@1: meillo@1: fi meillo@1: fi meillo@1: { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 meillo@1: echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } meillo@1: EGREP="$ac_cv_path_EGREP" meillo@1: meillo@1: meillo@1: { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 meillo@1: echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } meillo@0: if test "${ac_cv_header_stdc+set}" = set; then meillo@0: echo $ECHO_N "(cached) $ECHO_C" >&6 meillo@0: else meillo@0: cat >conftest.$ac_ext <<_ACEOF meillo@0: /* confdefs.h. */ meillo@0: _ACEOF meillo@0: cat confdefs.h >>conftest.$ac_ext meillo@0: cat >>conftest.$ac_ext <<_ACEOF meillo@0: /* end confdefs.h. */ meillo@0: #include meillo@0: #include meillo@0: #include meillo@0: #include meillo@0: meillo@0: int meillo@0: main () meillo@0: { meillo@0: meillo@0: ; meillo@0: return 0; meillo@0: } meillo@0: _ACEOF meillo@0: rm -f conftest.$ac_objext meillo@1: if { (ac_try="$ac_compile" meillo@1: case "(($ac_try" in meillo@1: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; meillo@1: *) ac_try_echo=$ac_try;; meillo@1: esac meillo@1: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 meillo@1: (eval "$ac_compile") 2>conftest.er1 meillo@0: ac_status=$? meillo@0: grep -v '^ *+' conftest.er1 >conftest.err meillo@0: rm -f conftest.er1 meillo@0: cat conftest.err >&5 meillo@0: echo "$as_me:$LINENO: \$? = $ac_status" >&5 meillo@1: (exit $ac_status); } && { meillo@1: test -z "$ac_c_werror_flag" || meillo@1: test ! -s conftest.err meillo@1: } && test -s conftest.$ac_objext; then meillo@0: ac_cv_header_stdc=yes meillo@0: else meillo@0: echo "$as_me: failed program was:" >&5 meillo@0: sed 's/^/| /' conftest.$ac_ext >&5 meillo@0: meillo@1: ac_cv_header_stdc=no meillo@1: fi meillo@1: meillo@1: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext meillo@0: meillo@0: if test $ac_cv_header_stdc = yes; then meillo@0: # SunOS 4.x string.h does not declare mem*, contrary to ANSI. meillo@0: cat >conftest.$ac_ext <<_ACEOF meillo@0: /* confdefs.h. */ meillo@0: _ACEOF meillo@0: cat confdefs.h >>conftest.$ac_ext meillo@0: cat >>conftest.$ac_ext <<_ACEOF meillo@0: /* end confdefs.h. */ meillo@0: #include meillo@0: meillo@0: _ACEOF meillo@0: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | meillo@0: $EGREP "memchr" >/dev/null 2>&1; then meillo@0: : meillo@0: else meillo@0: ac_cv_header_stdc=no meillo@0: fi meillo@0: rm -f conftest* meillo@0: meillo@0: fi meillo@0: meillo@0: if test $ac_cv_header_stdc = yes; then meillo@0: # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. meillo@0: cat >conftest.$ac_ext <<_ACEOF meillo@0: /* confdefs.h. */ meillo@0: _ACEOF meillo@0: cat confdefs.h >>conftest.$ac_ext meillo@0: cat >>conftest.$ac_ext <<_ACEOF meillo@0: /* end confdefs.h. */ meillo@0: #include meillo@0: meillo@0: _ACEOF meillo@0: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | meillo@0: $EGREP "free" >/dev/null 2>&1; then meillo@0: : meillo@0: else meillo@0: ac_cv_header_stdc=no meillo@0: fi meillo@0: rm -f conftest* meillo@0: meillo@0: fi meillo@0: meillo@0: if test $ac_cv_header_stdc = yes; then meillo@0: # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. meillo@0: if test "$cross_compiling" = yes; then meillo@0: : meillo@0: else meillo@0: cat >conftest.$ac_ext <<_ACEOF meillo@0: /* confdefs.h. */ meillo@0: _ACEOF meillo@0: cat confdefs.h >>conftest.$ac_ext meillo@0: cat >>conftest.$ac_ext <<_ACEOF meillo@0: /* end confdefs.h. */ meillo@0: #include meillo@1: #include meillo@0: #if ((' ' & 0x0FF) == 0x020) meillo@0: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') meillo@0: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) meillo@0: #else meillo@0: # define ISLOWER(c) \ meillo@0: (('a' <= (c) && (c) <= 'i') \ meillo@0: || ('j' <= (c) && (c) <= 'r') \ meillo@0: || ('s' <= (c) && (c) <= 'z')) meillo@0: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) meillo@0: #endif meillo@0: meillo@0: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) meillo@0: int meillo@0: main () meillo@0: { meillo@0: int i; meillo@0: for (i = 0; i < 256; i++) meillo@0: if (XOR (islower (i), ISLOWER (i)) meillo@0: || toupper (i) != TOUPPER (i)) meillo@1: return 2; meillo@1: return 0; meillo@0: } meillo@0: _ACEOF meillo@0: rm -f conftest$ac_exeext meillo@1: if { (ac_try="$ac_link" meillo@1: case "(($ac_try" in meillo@1: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; meillo@1: *) ac_try_echo=$ac_try;; meillo@1: esac meillo@1: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 meillo@1: (eval "$ac_link") 2>&5 meillo@0: ac_status=$? meillo@0: echo "$as_me:$LINENO: \$? = $ac_status" >&5 meillo@0: (exit $ac_status); } && { ac_try='./conftest$ac_exeext' meillo@1: { (case "(($ac_try" in meillo@1: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; meillo@1: *) ac_try_echo=$ac_try;; meillo@1: esac meillo@1: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 meillo@1: (eval "$ac_try") 2>&5 meillo@0: ac_status=$? meillo@0: echo "$as_me:$LINENO: \$? = $ac_status" >&5 meillo@0: (exit $ac_status); }; }; then meillo@0: : meillo@0: else meillo@0: echo "$as_me: program exited with status $ac_status" >&5 meillo@0: echo "$as_me: failed program was:" >&5 meillo@0: sed 's/^/| /' conftest.$ac_ext >&5 meillo@0: meillo@0: ( exit $ac_status ) meillo@0: ac_cv_header_stdc=no meillo@0: fi meillo@1: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext meillo@1: fi meillo@1: meillo@1: meillo@1: fi meillo@1: fi meillo@1: { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 meillo@1: echo "${ECHO_T}$ac_cv_header_stdc" >&6; } meillo@0: if test $ac_cv_header_stdc = yes; then meillo@0: meillo@0: cat >>confdefs.h <<\_ACEOF meillo@0: #define STDC_HEADERS 1 meillo@0: _ACEOF meillo@0: meillo@0: fi meillo@0: meillo@0: if test -n "$ac_tool_prefix"; then meillo@0: # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. meillo@0: set dummy ${ac_tool_prefix}ranlib; ac_word=$2 meillo@1: { echo "$as_me:$LINENO: checking for $ac_word" >&5 meillo@1: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } meillo@0: if test "${ac_cv_prog_RANLIB+set}" = set; then meillo@0: echo $ECHO_N "(cached) $ECHO_C" >&6 meillo@0: else meillo@0: if test -n "$RANLIB"; then meillo@0: ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. meillo@0: else meillo@0: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR meillo@0: for as_dir in $PATH meillo@0: do meillo@0: IFS=$as_save_IFS meillo@0: test -z "$as_dir" && as_dir=. meillo@0: for ac_exec_ext in '' $ac_executable_extensions; do meillo@1: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then meillo@0: ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" meillo@0: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 meillo@0: break 2 meillo@0: fi meillo@0: done meillo@0: done meillo@1: IFS=$as_save_IFS meillo@0: meillo@0: fi meillo@0: fi meillo@0: RANLIB=$ac_cv_prog_RANLIB meillo@0: if test -n "$RANLIB"; then meillo@1: { echo "$as_me:$LINENO: result: $RANLIB" >&5 meillo@1: echo "${ECHO_T}$RANLIB" >&6; } meillo@1: else meillo@1: { echo "$as_me:$LINENO: result: no" >&5 meillo@1: echo "${ECHO_T}no" >&6; } meillo@1: fi meillo@1: meillo@0: meillo@0: fi meillo@0: if test -z "$ac_cv_prog_RANLIB"; then meillo@0: ac_ct_RANLIB=$RANLIB meillo@0: # Extract the first word of "ranlib", so it can be a program name with args. meillo@0: set dummy ranlib; ac_word=$2 meillo@1: { echo "$as_me:$LINENO: checking for $ac_word" >&5 meillo@1: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } meillo@0: if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then meillo@0: echo $ECHO_N "(cached) $ECHO_C" >&6 meillo@0: else meillo@0: if test -n "$ac_ct_RANLIB"; then meillo@0: ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. meillo@0: else meillo@0: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR meillo@0: for as_dir in $PATH meillo@0: do meillo@0: IFS=$as_save_IFS meillo@0: test -z "$as_dir" && as_dir=. meillo@0: for ac_exec_ext in '' $ac_executable_extensions; do meillo@1: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then meillo@0: ac_cv_prog_ac_ct_RANLIB="ranlib" meillo@0: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 meillo@0: break 2 meillo@0: fi meillo@0: done meillo@0: done meillo@1: IFS=$as_save_IFS meillo@1: meillo@0: fi meillo@0: fi meillo@0: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB meillo@0: if test -n "$ac_ct_RANLIB"; then meillo@1: { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 meillo@1: echo "${ECHO_T}$ac_ct_RANLIB" >&6; } meillo@1: else meillo@1: { echo "$as_me:$LINENO: result: no" >&5 meillo@1: echo "${ECHO_T}no" >&6; } meillo@1: fi meillo@1: meillo@1: if test "x$ac_ct_RANLIB" = x; then meillo@1: RANLIB=":" meillo@1: else meillo@1: case $cross_compiling:$ac_tool_warned in meillo@1: yes:) meillo@1: { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools meillo@1: whose name does not start with the host triplet. If you think this meillo@1: configuration is useful to you, please write to autoconf@gnu.org." >&5 meillo@1: echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools meillo@1: whose name does not start with the host triplet. If you think this meillo@1: configuration is useful to you, please write to autoconf@gnu.org." >&2;} meillo@1: ac_tool_warned=yes ;; meillo@1: esac meillo@1: RANLIB=$ac_ct_RANLIB meillo@1: fi meillo@0: else meillo@0: RANLIB="$ac_cv_prog_RANLIB" meillo@0: fi meillo@0: meillo@0: meillo@0: meillo@0: meillo@0: if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then meillo@0: if test -n "$ac_tool_prefix"; then meillo@0: # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. meillo@0: set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 meillo@1: { echo "$as_me:$LINENO: checking for $ac_word" >&5 meillo@1: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } meillo@0: if test "${ac_cv_path_PKG_CONFIG+set}" = set; then meillo@0: echo $ECHO_N "(cached) $ECHO_C" >&6 meillo@0: else meillo@0: case $PKG_CONFIG in meillo@0: [\\/]* | ?:[\\/]*) meillo@0: ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. meillo@0: ;; meillo@0: *) meillo@0: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR meillo@0: for as_dir in $PATH meillo@0: do meillo@0: IFS=$as_save_IFS meillo@0: test -z "$as_dir" && as_dir=. meillo@0: for ac_exec_ext in '' $ac_executable_extensions; do meillo@1: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then meillo@0: ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" meillo@0: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 meillo@0: break 2 meillo@0: fi meillo@0: done meillo@0: done meillo@1: IFS=$as_save_IFS meillo@0: meillo@0: ;; meillo@0: esac meillo@0: fi meillo@0: PKG_CONFIG=$ac_cv_path_PKG_CONFIG meillo@0: if test -n "$PKG_CONFIG"; then meillo@1: { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 meillo@1: echo "${ECHO_T}$PKG_CONFIG" >&6; } meillo@1: else meillo@1: { echo "$as_me:$LINENO: result: no" >&5 meillo@1: echo "${ECHO_T}no" >&6; } meillo@1: fi meillo@1: meillo@0: meillo@0: fi meillo@0: if test -z "$ac_cv_path_PKG_CONFIG"; then meillo@0: ac_pt_PKG_CONFIG=$PKG_CONFIG meillo@0: # Extract the first word of "pkg-config", so it can be a program name with args. meillo@0: set dummy pkg-config; ac_word=$2 meillo@1: { echo "$as_me:$LINENO: checking for $ac_word" >&5 meillo@1: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } meillo@0: if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then meillo@0: echo $ECHO_N "(cached) $ECHO_C" >&6 meillo@0: else meillo@0: case $ac_pt_PKG_CONFIG in meillo@0: [\\/]* | ?:[\\/]*) meillo@0: ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. meillo@0: ;; meillo@0: *) meillo@0: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR meillo@0: for as_dir in $PATH meillo@0: do meillo@0: IFS=$as_save_IFS meillo@0: test -z "$as_dir" && as_dir=. meillo@0: for ac_exec_ext in '' $ac_executable_extensions; do meillo@1: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then meillo@0: ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" meillo@0: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 meillo@0: break 2 meillo@0: fi meillo@0: done meillo@0: done meillo@1: IFS=$as_save_IFS meillo@0: meillo@0: ;; meillo@0: esac meillo@0: fi meillo@0: ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG meillo@0: if test -n "$ac_pt_PKG_CONFIG"; then meillo@1: { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5 meillo@1: echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; } meillo@1: else meillo@1: { echo "$as_me:$LINENO: result: no" >&5 meillo@1: echo "${ECHO_T}no" >&6; } meillo@1: fi meillo@1: meillo@1: if test "x$ac_pt_PKG_CONFIG" = x; then meillo@1: PKG_CONFIG="" meillo@1: else meillo@1: case $cross_compiling:$ac_tool_warned in meillo@1: yes:) meillo@1: { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools meillo@1: whose name does not start with the host triplet. If you think this meillo@1: configuration is useful to you, please write to autoconf@gnu.org." >&5 meillo@1: echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools meillo@1: whose name does not start with the host triplet. If you think this meillo@1: configuration is useful to you, please write to autoconf@gnu.org." >&2;} meillo@1: ac_tool_warned=yes ;; meillo@1: esac meillo@1: PKG_CONFIG=$ac_pt_PKG_CONFIG meillo@1: fi meillo@0: else meillo@0: PKG_CONFIG="$ac_cv_path_PKG_CONFIG" meillo@0: fi meillo@0: meillo@0: fi meillo@0: if test -n "$PKG_CONFIG"; then meillo@0: _pkg_min_version=0.9.0 meillo@1: { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5 meillo@1: echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; } meillo@0: if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then meillo@1: { echo "$as_me:$LINENO: result: yes" >&5 meillo@1: echo "${ECHO_T}yes" >&6; } meillo@0: else meillo@1: { echo "$as_me:$LINENO: result: no" >&5 meillo@1: echo "${ECHO_T}no" >&6; } meillo@0: PKG_CONFIG="" meillo@0: fi meillo@0: meillo@0: fi meillo@0: meillo@0: pkg_failed=no meillo@1: { echo "$as_me:$LINENO: checking for GLIB" >&5 meillo@1: echo $ECHO_N "checking for GLIB... $ECHO_C" >&6; } meillo@0: meillo@0: if test -n "$PKG_CONFIG"; then meillo@1: if test -n "$GLIB_CFLAGS"; then meillo@1: pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS" meillo@1: else meillo@0: if test -n "$PKG_CONFIG" && \ meillo@0: { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0\"") >&5 meillo@0: ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5 meillo@0: ac_status=$? meillo@0: echo "$as_me:$LINENO: \$? = $ac_status" >&5 meillo@0: (exit $ac_status); }; then meillo@0: pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0" 2>/dev/null` meillo@0: else meillo@0: pkg_failed=yes meillo@0: fi meillo@1: fi meillo@0: else meillo@0: pkg_failed=untried meillo@0: fi meillo@0: if test -n "$PKG_CONFIG"; then meillo@1: if test -n "$GLIB_LIBS"; then meillo@1: pkg_cv_GLIB_LIBS="$GLIB_LIBS" meillo@1: else meillo@0: if test -n "$PKG_CONFIG" && \ meillo@0: { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0\"") >&5 meillo@0: ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5 meillo@0: ac_status=$? meillo@0: echo "$as_me:$LINENO: \$? = $ac_status" >&5 meillo@0: (exit $ac_status); }; then meillo@0: pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0" 2>/dev/null` meillo@0: else meillo@0: pkg_failed=yes meillo@0: fi meillo@1: fi meillo@0: else meillo@0: pkg_failed=untried meillo@0: fi meillo@0: meillo@1: meillo@1: meillo@0: if test $pkg_failed = yes; then meillo@1: meillo@1: if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then meillo@1: _pkg_short_errors_supported=yes meillo@1: else meillo@1: _pkg_short_errors_supported=no meillo@1: fi meillo@1: if test $_pkg_short_errors_supported = yes; then meillo@1: GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glib-2.0"` meillo@1: else meillo@1: GLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0"` meillo@1: fi meillo@0: # Put the nasty error message in config.log where it belongs meillo@1: echo "$GLIB_PKG_ERRORS" >&5 meillo@1: meillo@1: { { echo "$as_me:$LINENO: error: Package requirements (glib-2.0) were not met: meillo@1: meillo@1: $GLIB_PKG_ERRORS meillo@1: meillo@0: Consider adjusting the PKG_CONFIG_PATH environment variable if you meillo@0: installed software in a non-standard prefix. meillo@0: meillo@1: Alternatively, you may set the environment variables GLIB_CFLAGS meillo@1: and GLIB_LIBS to avoid the need to call pkg-config. meillo@1: See the pkg-config man page for more details. meillo@1: " >&5 meillo@1: echo "$as_me: error: Package requirements (glib-2.0) were not met: meillo@1: meillo@1: $GLIB_PKG_ERRORS meillo@1: meillo@0: Consider adjusting the PKG_CONFIG_PATH environment variable if you meillo@0: installed software in a non-standard prefix. meillo@0: meillo@1: Alternatively, you may set the environment variables GLIB_CFLAGS meillo@1: and GLIB_LIBS to avoid the need to call pkg-config. meillo@1: See the pkg-config man page for more details. meillo@1: " >&2;} meillo@0: { (exit 1); exit 1; }; } meillo@0: elif test $pkg_failed = untried; then meillo@0: { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it meillo@0: is in your PATH or set the PKG_CONFIG environment variable to the full meillo@0: path to pkg-config. meillo@0: meillo@1: Alternatively, you may set the environment variables GLIB_CFLAGS meillo@1: and GLIB_LIBS to avoid the need to call pkg-config. meillo@1: See the pkg-config man page for more details. meillo@1: meillo@1: To get pkg-config, see . meillo@0: See \`config.log' for more details." >&5 meillo@0: echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it meillo@0: is in your PATH or set the PKG_CONFIG environment variable to the full meillo@0: path to pkg-config. meillo@0: meillo@1: Alternatively, you may set the environment variables GLIB_CFLAGS meillo@1: and GLIB_LIBS to avoid the need to call pkg-config. meillo@1: See the pkg-config man page for more details. meillo@1: meillo@1: To get pkg-config, see . meillo@0: See \`config.log' for more details." >&2;} meillo@0: { (exit 1); exit 1; }; } meillo@0: else meillo@0: GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS meillo@0: GLIB_LIBS=$pkg_cv_GLIB_LIBS meillo@1: { echo "$as_me:$LINENO: result: yes" >&5 meillo@1: echo "${ECHO_T}yes" >&6; } meillo@0: : meillo@0: fi meillo@0: meillo@0: meillo@0: meillo@1: # Check whether --enable-resolver was given. meillo@0: if test "${enable_resolver+set}" = set; then meillo@1: enableval=$enable_resolver; if test "$enable_resolver" != 'no'; then meillo@0: resolver_enabled='yes' meillo@0: fi meillo@0: else meillo@0: resolver_enabled='yes' meillo@0: meillo@1: fi meillo@1: meillo@0: meillo@0: if test "$resolver_enabled" = yes; then meillo@0: meillo@0: cat >>confdefs.h <<\_ACEOF meillo@0: #define ENABLE_RESOLVER 1 meillo@0: _ACEOF meillo@0: meillo@1: { echo "$as_me:$LINENO: checking for res_search in -lc" >&5 meillo@1: echo $ECHO_N "checking for res_search in -lc... $ECHO_C" >&6; } meillo@0: if test "${ac_cv_lib_c_res_search+set}" = set; then meillo@0: echo $ECHO_N "(cached) $ECHO_C" >&6 meillo@0: else meillo@0: ac_check_lib_save_LIBS=$LIBS meillo@0: LIBS="-lc $LIBS" meillo@0: cat >conftest.$ac_ext <<_ACEOF meillo@0: /* confdefs.h. */ meillo@0: _ACEOF meillo@0: cat confdefs.h >>conftest.$ac_ext meillo@0: cat >>conftest.$ac_ext <<_ACEOF meillo@0: /* end confdefs.h. */ meillo@0: meillo@1: /* Override any GCC internal prototype to avoid an error. meillo@1: Use char because int might match the return type of a GCC meillo@1: builtin and then its argument prototype would still apply. */ meillo@0: #ifdef __cplusplus meillo@0: extern "C" meillo@0: #endif meillo@0: char res_search (); meillo@0: int meillo@0: main () meillo@0: { meillo@1: return res_search (); meillo@0: ; meillo@0: return 0; meillo@0: } meillo@0: _ACEOF meillo@0: rm -f conftest.$ac_objext conftest$ac_exeext meillo@1: if { (ac_try="$ac_link" meillo@1: case "(($ac_try" in meillo@1: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; meillo@1: *) ac_try_echo=$ac_try;; meillo@1: esac meillo@1: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 meillo@1: (eval "$ac_link") 2>conftest.er1 meillo@0: ac_status=$? meillo@0: grep -v '^ *+' conftest.er1 >conftest.err meillo@0: rm -f conftest.er1 meillo@0: cat conftest.err >&5 meillo@0: echo "$as_me:$LINENO: \$? = $ac_status" >&5 meillo@1: (exit $ac_status); } && { meillo@1: test -z "$ac_c_werror_flag" || meillo@1: test ! -s conftest.err meillo@1: } && test -s conftest$ac_exeext && meillo@1: $as_test_x conftest$ac_exeext; then meillo@0: ac_cv_lib_c_res_search=yes meillo@0: else meillo@0: echo "$as_me: failed program was:" >&5 meillo@0: sed 's/^/| /' conftest.$ac_ext >&5 meillo@0: meillo@1: ac_cv_lib_c_res_search=no meillo@1: fi meillo@1: meillo@1: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ meillo@0: conftest$ac_exeext conftest.$ac_ext meillo@0: LIBS=$ac_check_lib_save_LIBS meillo@0: fi meillo@1: { echo "$as_me:$LINENO: result: $ac_cv_lib_c_res_search" >&5 meillo@1: echo "${ECHO_T}$ac_cv_lib_c_res_search" >&6; } meillo@0: if test $ac_cv_lib_c_res_search = yes; then meillo@0: need_resolv=no meillo@0: else meillo@0: need_resolv=yes meillo@0: fi meillo@0: meillo@0: if test "$need_resolv" = yes; then meillo@1: { echo "$as_me:$LINENO: checking for res_search in -lresolv" >&5 meillo@1: echo $ECHO_N "checking for res_search in -lresolv... $ECHO_C" >&6; } meillo@0: if test "${ac_cv_lib_resolv_res_search+set}" = set; then meillo@0: echo $ECHO_N "(cached) $ECHO_C" >&6 meillo@0: else meillo@0: ac_check_lib_save_LIBS=$LIBS meillo@0: LIBS="-lresolv $LIBS" meillo@0: cat >conftest.$ac_ext <<_ACEOF meillo@0: /* confdefs.h. */ meillo@0: _ACEOF meillo@0: cat confdefs.h >>conftest.$ac_ext meillo@0: cat >>conftest.$ac_ext <<_ACEOF meillo@0: /* end confdefs.h. */ meillo@0: meillo@1: /* Override any GCC internal prototype to avoid an error. meillo@1: Use char because int might match the return type of a GCC meillo@1: builtin and then its argument prototype would still apply. */ meillo@0: #ifdef __cplusplus meillo@0: extern "C" meillo@0: #endif meillo@0: char res_search (); meillo@0: int meillo@0: main () meillo@0: { meillo@1: return res_search (); meillo@0: ; meillo@0: return 0; meillo@0: } meillo@0: _ACEOF meillo@0: rm -f conftest.$ac_objext conftest$ac_exeext meillo@1: if { (ac_try="$ac_link" meillo@1: case "(($ac_try" in meillo@1: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; meillo@1: *) ac_try_echo=$ac_try;; meillo@1: esac meillo@1: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 meillo@1: (eval "$ac_link") 2>conftest.er1 meillo@0: ac_status=$? meillo@0: grep -v '^ *+' conftest.er1 >conftest.err meillo@0: rm -f conftest.er1 meillo@0: cat conftest.err >&5 meillo@0: echo "$as_me:$LINENO: \$? = $ac_status" >&5 meillo@1: (exit $ac_status); } && { meillo@1: test -z "$ac_c_werror_flag" || meillo@1: test ! -s conftest.err meillo@1: } && test -s conftest$ac_exeext && meillo@1: $as_test_x conftest$ac_exeext; then meillo@0: ac_cv_lib_resolv_res_search=yes meillo@0: else meillo@0: echo "$as_me: failed program was:" >&5 meillo@0: sed 's/^/| /' conftest.$ac_ext >&5 meillo@0: meillo@1: ac_cv_lib_resolv_res_search=no meillo@1: fi meillo@1: meillo@1: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ meillo@0: conftest$ac_exeext conftest.$ac_ext meillo@0: LIBS=$ac_check_lib_save_LIBS meillo@0: fi meillo@1: { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_search" >&5 meillo@1: echo "${ECHO_T}$ac_cv_lib_resolv_res_search" >&6; } meillo@0: if test $ac_cv_lib_resolv_res_search = yes; then meillo@1: has_resolv=yes; RESOLV_LIBS="-lresolv" meillo@1: else meillo@1: has_resolv=no meillo@1: fi meillo@1: meillo@1: if test "$has_resolv" = no; then meillo@1: saved_LIBS="$LIBS" meillo@1: LIBS="$LIBS -lresolv" meillo@1: { echo "$as_me:$LINENO: checking for res_search in -lresolv" >&5 meillo@1: echo $ECHO_N "checking for res_search in -lresolv... $ECHO_C" >&6; } meillo@1: cat >conftest.$ac_ext <<_ACEOF meillo@1: /* confdefs.h. */ meillo@1: _ACEOF meillo@1: cat confdefs.h >>conftest.$ac_ext meillo@1: cat >>conftest.$ac_ext <<_ACEOF meillo@1: /* end confdefs.h. */ meillo@1: #include meillo@1: int meillo@1: main () meillo@1: { meillo@1: res_search (0, 0, 0, 0, 0); meillo@1: ; meillo@1: return 0; meillo@1: } meillo@1: _ACEOF meillo@1: rm -f conftest.$ac_objext conftest$ac_exeext meillo@1: if { (ac_try="$ac_link" meillo@1: case "(($ac_try" in meillo@1: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; meillo@1: *) ac_try_echo=$ac_try;; meillo@1: esac meillo@1: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 meillo@1: (eval "$ac_link") 2>conftest.er1 meillo@1: ac_status=$? meillo@1: grep -v '^ *+' conftest.er1 >conftest.err meillo@1: rm -f conftest.er1 meillo@1: cat conftest.err >&5 meillo@1: echo "$as_me:$LINENO: \$? = $ac_status" >&5 meillo@1: (exit $ac_status); } && { meillo@1: test -z "$ac_c_werror_flag" || meillo@1: test ! -s conftest.err meillo@1: } && test -s conftest$ac_exeext && meillo@1: $as_test_x conftest$ac_exeext; then meillo@1: RESOLV_LIBS="-lresolv"; has_resolv=yes; { echo "$as_me:$LINENO: result: yes" >&5 meillo@1: echo "${ECHO_T}yes" >&6; } meillo@1: else meillo@1: echo "$as_me: failed program was:" >&5 meillo@1: sed 's/^/| /' conftest.$ac_ext >&5 meillo@1: meillo@1: { echo "$as_me:$LINENO: result: no" >&5 meillo@1: echo "${ECHO_T}no" >&6; } meillo@1: fi meillo@1: meillo@1: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ meillo@1: conftest$ac_exeext conftest.$ac_ext; meillo@1: LIBS="$saved_LIBS" meillo@1: fi meillo@1: if test "$has_resolv" = no; then meillo@1: { { echo "$as_me:$LINENO: error: \"no libresolv\"" >&5 meillo@0: echo "$as_me: error: \"no libresolv\"" >&2;} meillo@0: { (exit 1); exit 1; }; } meillo@1: RESOLV_LIBS='' meillo@1: fi meillo@0: fi meillo@0: else meillo@0: RESOLV_LIBS='' meillo@0: fi meillo@0: meillo@0: meillo@0: meillo@0: for ac_func in getline meillo@0: do meillo@0: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` meillo@1: { echo "$as_me:$LINENO: checking for $ac_func" >&5 meillo@1: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } meillo@1: if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then meillo@0: echo $ECHO_N "(cached) $ECHO_C" >&6 meillo@0: else meillo@0: cat >conftest.$ac_ext <<_ACEOF meillo@0: /* confdefs.h. */ meillo@0: _ACEOF meillo@0: cat confdefs.h >>conftest.$ac_ext meillo@0: cat >>conftest.$ac_ext <<_ACEOF meillo@0: /* end confdefs.h. */ meillo@0: /* Define $ac_func to an innocuous variant, in case declares $ac_func. meillo@0: For example, HP-UX 11i declares gettimeofday. */ meillo@0: #define $ac_func innocuous_$ac_func meillo@0: meillo@0: /* System header to define __stub macros and hopefully few prototypes, meillo@0: which can conflict with char $ac_func (); below. meillo@0: Prefer to if __STDC__ is defined, since meillo@0: exists even on freestanding compilers. */ meillo@0: meillo@0: #ifdef __STDC__ meillo@0: # include meillo@0: #else meillo@0: # include meillo@0: #endif meillo@0: meillo@0: #undef $ac_func meillo@0: meillo@1: /* Override any GCC internal prototype to avoid an error. meillo@1: Use char because int might match the return type of a GCC meillo@1: builtin and then its argument prototype would still apply. */ meillo@0: #ifdef __cplusplus meillo@0: extern "C" meillo@0: #endif meillo@0: char $ac_func (); meillo@0: /* The GNU C library defines this for functions which it implements meillo@0: to always fail with ENOSYS. Some functions are actually named meillo@0: something starting with __ and the normal name is an alias. */ meillo@1: #if defined __stub_$ac_func || defined __stub___$ac_func meillo@0: choke me meillo@0: #endif meillo@0: meillo@0: int meillo@0: main () meillo@0: { meillo@1: return $ac_func (); meillo@0: ; meillo@0: return 0; meillo@0: } meillo@0: _ACEOF meillo@0: rm -f conftest.$ac_objext conftest$ac_exeext meillo@1: if { (ac_try="$ac_link" meillo@1: case "(($ac_try" in meillo@1: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; meillo@1: *) ac_try_echo=$ac_try;; meillo@1: esac meillo@1: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 meillo@1: (eval "$ac_link") 2>conftest.er1 meillo@0: ac_status=$? meillo@0: grep -v '^ *+' conftest.er1 >conftest.err meillo@0: rm -f conftest.er1 meillo@0: cat conftest.err >&5 meillo@0: echo "$as_me:$LINENO: \$? = $ac_status" >&5 meillo@1: (exit $ac_status); } && { meillo@1: test -z "$ac_c_werror_flag" || meillo@1: test ! -s conftest.err meillo@1: } && test -s conftest$ac_exeext && meillo@1: $as_test_x conftest$ac_exeext; then meillo@0: eval "$as_ac_var=yes" meillo@0: else meillo@0: echo "$as_me: failed program was:" >&5 meillo@0: sed 's/^/| /' conftest.$ac_ext >&5 meillo@0: meillo@1: eval "$as_ac_var=no" meillo@1: fi meillo@1: meillo@1: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ meillo@0: conftest$ac_exeext conftest.$ac_ext meillo@0: fi meillo@1: ac_res=`eval echo '${'$as_ac_var'}'` meillo@1: { echo "$as_me:$LINENO: result: $ac_res" >&5 meillo@1: echo "${ECHO_T}$ac_res" >&6; } meillo@0: if test `eval echo '${'$as_ac_var'}'` = yes; then meillo@0: cat >>confdefs.h <<_ACEOF meillo@0: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 meillo@0: _ACEOF meillo@0: meillo@0: fi meillo@0: done meillo@0: meillo@0: meillo@0: meillo@0: for ac_func in fdatasync meillo@0: do meillo@0: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` meillo@1: { echo "$as_me:$LINENO: checking for $ac_func" >&5 meillo@1: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } meillo@1: if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then meillo@0: echo $ECHO_N "(cached) $ECHO_C" >&6 meillo@0: else meillo@0: cat >conftest.$ac_ext <<_ACEOF meillo@0: /* confdefs.h. */ meillo@0: _ACEOF meillo@0: cat confdefs.h >>conftest.$ac_ext meillo@0: cat >>conftest.$ac_ext <<_ACEOF meillo@0: /* end confdefs.h. */ meillo@0: /* Define $ac_func to an innocuous variant, in case declares $ac_func. meillo@0: For example, HP-UX 11i declares gettimeofday. */ meillo@0: #define $ac_func innocuous_$ac_func meillo@0: meillo@0: /* System header to define __stub macros and hopefully few prototypes, meillo@0: which can conflict with char $ac_func (); below. meillo@0: Prefer to if __STDC__ is defined, since meillo@0: exists even on freestanding compilers. */ meillo@0: meillo@0: #ifdef __STDC__ meillo@0: # include meillo@0: #else meillo@0: # include meillo@0: #endif meillo@0: meillo@0: #undef $ac_func meillo@0: meillo@1: /* Override any GCC internal prototype to avoid an error. meillo@1: Use char because int might match the return type of a GCC meillo@1: builtin and then its argument prototype would still apply. */ meillo@0: #ifdef __cplusplus meillo@0: extern "C" meillo@0: #endif meillo@0: char $ac_func (); meillo@0: /* The GNU C library defines this for functions which it implements meillo@0: to always fail with ENOSYS. Some functions are actually named meillo@0: something starting with __ and the normal name is an alias. */ meillo@1: #if defined __stub_$ac_func || defined __stub___$ac_func meillo@0: choke me meillo@0: #endif meillo@0: meillo@0: int meillo@0: main () meillo@0: { meillo@1: return $ac_func (); meillo@0: ; meillo@0: return 0; meillo@0: } meillo@0: _ACEOF meillo@0: rm -f conftest.$ac_objext conftest$ac_exeext meillo@1: if { (ac_try="$ac_link" meillo@1: case "(($ac_try" in meillo@1: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; meillo@1: *) ac_try_echo=$ac_try;; meillo@1: esac meillo@1: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 meillo@1: (eval "$ac_link") 2>conftest.er1 meillo@0: ac_status=$? meillo@0: grep -v '^ *+' conftest.er1 >conftest.err meillo@0: rm -f conftest.er1 meillo@0: cat conftest.err >&5 meillo@0: echo "$as_me:$LINENO: \$? = $ac_status" >&5 meillo@1: (exit $ac_status); } && { meillo@1: test -z "$ac_c_werror_flag" || meillo@1: test ! -s conftest.err meillo@1: } && test -s conftest$ac_exeext && meillo@1: $as_test_x conftest$ac_exeext; then meillo@0: eval "$as_ac_var=yes" meillo@0: else meillo@0: echo "$as_me: failed program was:" >&5 meillo@0: sed 's/^/| /' conftest.$ac_ext >&5 meillo@0: meillo@1: eval "$as_ac_var=no" meillo@1: fi meillo@1: meillo@1: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ meillo@0: conftest$ac_exeext conftest.$ac_ext meillo@0: fi meillo@1: ac_res=`eval echo '${'$as_ac_var'}'` meillo@1: { echo "$as_me:$LINENO: result: $ac_res" >&5 meillo@1: echo "${ECHO_T}$ac_res" >&6; } meillo@0: if test `eval echo '${'$as_ac_var'}'` = yes; then meillo@0: cat >>confdefs.h <<_ACEOF meillo@0: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 meillo@0: _ACEOF meillo@0: meillo@0: fi meillo@0: done meillo@0: meillo@0: meillo@1: { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 meillo@1: echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } meillo@0: if test "${ac_cv_header_stdc+set}" = set; then meillo@0: echo $ECHO_N "(cached) $ECHO_C" >&6 meillo@0: else meillo@0: cat >conftest.$ac_ext <<_ACEOF meillo@0: /* confdefs.h. */ meillo@0: _ACEOF meillo@0: cat confdefs.h >>conftest.$ac_ext meillo@0: cat >>conftest.$ac_ext <<_ACEOF meillo@0: /* end confdefs.h. */ meillo@0: #include meillo@0: #include meillo@0: #include meillo@0: #include meillo@0: meillo@0: int meillo@0: main () meillo@0: { meillo@0: meillo@0: ; meillo@0: return 0; meillo@0: } meillo@0: _ACEOF meillo@0: rm -f conftest.$ac_objext meillo@1: if { (ac_try="$ac_compile" meillo@1: case "(($ac_try" in meillo@1: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; meillo@1: *) ac_try_echo=$ac_try;; meillo@1: esac meillo@1: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 meillo@1: (eval "$ac_compile") 2>conftest.er1 meillo@0: ac_status=$? meillo@0: grep -v '^ *+' conftest.er1 >conftest.err meillo@0: rm -f conftest.er1 meillo@0: cat conftest.err >&5 meillo@0: echo "$as_me:$LINENO: \$? = $ac_status" >&5 meillo@1: (exit $ac_status); } && { meillo@1: test -z "$ac_c_werror_flag" || meillo@1: test ! -s conftest.err meillo@1: } && test -s conftest.$ac_objext; then meillo@0: ac_cv_header_stdc=yes meillo@0: else meillo@0: echo "$as_me: failed program was:" >&5 meillo@0: sed 's/^/| /' conftest.$ac_ext >&5 meillo@0: meillo@1: ac_cv_header_stdc=no meillo@1: fi meillo@1: meillo@1: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext meillo@0: meillo@0: if test $ac_cv_header_stdc = yes; then meillo@0: # SunOS 4.x string.h does not declare mem*, contrary to ANSI. meillo@0: cat >conftest.$ac_ext <<_ACEOF meillo@0: /* confdefs.h. */ meillo@0: _ACEOF meillo@0: cat confdefs.h >>conftest.$ac_ext meillo@0: cat >>conftest.$ac_ext <<_ACEOF meillo@0: /* end confdefs.h. */ meillo@0: #include meillo@0: meillo@0: _ACEOF meillo@0: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | meillo@0: $EGREP "memchr" >/dev/null 2>&1; then meillo@0: : meillo@0: else meillo@0: ac_cv_header_stdc=no meillo@0: fi meillo@0: rm -f conftest* meillo@0: meillo@0: fi meillo@0: meillo@0: if test $ac_cv_header_stdc = yes; then meillo@0: # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. meillo@0: cat >conftest.$ac_ext <<_ACEOF meillo@0: /* confdefs.h. */ meillo@0: _ACEOF meillo@0: cat confdefs.h >>conftest.$ac_ext meillo@0: cat >>conftest.$ac_ext <<_ACEOF meillo@0: /* end confdefs.h. */ meillo@0: #include meillo@0: meillo@0: _ACEOF meillo@0: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | meillo@0: $EGREP "free" >/dev/null 2>&1; then meillo@0: : meillo@0: else meillo@0: ac_cv_header_stdc=no meillo@0: fi meillo@0: rm -f conftest* meillo@0: meillo@0: fi meillo@0: meillo@0: if test $ac_cv_header_stdc = yes; then meillo@0: # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. meillo@0: if test "$cross_compiling" = yes; then meillo@0: : meillo@0: else meillo@0: cat >conftest.$ac_ext <<_ACEOF meillo@0: /* confdefs.h. */ meillo@0: _ACEOF meillo@0: cat confdefs.h >>conftest.$ac_ext meillo@0: cat >>conftest.$ac_ext <<_ACEOF meillo@0: /* end confdefs.h. */ meillo@0: #include meillo@1: #include meillo@0: #if ((' ' & 0x0FF) == 0x020) meillo@0: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') meillo@0: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) meillo@0: #else meillo@0: # define ISLOWER(c) \ meillo@0: (('a' <= (c) && (c) <= 'i') \ meillo@0: || ('j' <= (c) && (c) <= 'r') \ meillo@0: || ('s' <= (c) && (c) <= 'z')) meillo@0: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) meillo@0: #endif meillo@0: meillo@0: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) meillo@0: int meillo@0: main () meillo@0: { meillo@0: int i; meillo@0: for (i = 0; i < 256; i++) meillo@0: if (XOR (islower (i), ISLOWER (i)) meillo@0: || toupper (i) != TOUPPER (i)) meillo@1: return 2; meillo@1: return 0; meillo@0: } meillo@0: _ACEOF meillo@0: rm -f conftest$ac_exeext meillo@1: if { (ac_try="$ac_link" meillo@1: case "(($ac_try" in meillo@1: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; meillo@1: *) ac_try_echo=$ac_try;; meillo@1: esac meillo@1: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 meillo@1: (eval "$ac_link") 2>&5 meillo@0: ac_status=$? meillo@0: echo "$as_me:$LINENO: \$? = $ac_status" >&5 meillo@0: (exit $ac_status); } && { ac_try='./conftest$ac_exeext' meillo@1: { (case "(($ac_try" in meillo@1: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; meillo@1: *) ac_try_echo=$ac_try;; meillo@1: esac meillo@1: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 meillo@1: (eval "$ac_try") 2>&5 meillo@0: ac_status=$? meillo@0: echo "$as_me:$LINENO: \$? = $ac_status" >&5 meillo@0: (exit $ac_status); }; }; then meillo@0: : meillo@0: else meillo@0: echo "$as_me: program exited with status $ac_status" >&5 meillo@0: echo "$as_me: failed program was:" >&5 meillo@0: sed 's/^/| /' conftest.$ac_ext >&5 meillo@0: meillo@0: ( exit $ac_status ) meillo@0: ac_cv_header_stdc=no meillo@0: fi meillo@1: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext meillo@1: fi meillo@1: meillo@1: meillo@1: fi meillo@1: fi meillo@1: { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 meillo@1: echo "${ECHO_T}$ac_cv_header_stdc" >&6; } meillo@0: if test $ac_cv_header_stdc = yes; then meillo@0: meillo@0: cat >>confdefs.h <<\_ACEOF meillo@0: #define STDC_HEADERS 1 meillo@0: _ACEOF meillo@0: meillo@0: fi meillo@0: meillo@0: # On IRIX 5.3, sys/types and inttypes.h are conflicting. meillo@0: meillo@0: meillo@0: meillo@0: meillo@0: meillo@0: meillo@0: meillo@0: meillo@0: meillo@0: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ meillo@0: inttypes.h stdint.h unistd.h meillo@0: do meillo@0: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` meillo@1: { echo "$as_me:$LINENO: checking for $ac_header" >&5 meillo@1: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } meillo@1: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then meillo@0: echo $ECHO_N "(cached) $ECHO_C" >&6 meillo@0: else meillo@0: cat >conftest.$ac_ext <<_ACEOF meillo@0: /* confdefs.h. */ meillo@0: _ACEOF meillo@0: cat confdefs.h >>conftest.$ac_ext meillo@0: cat >>conftest.$ac_ext <<_ACEOF meillo@0: /* end confdefs.h. */ meillo@0: $ac_includes_default meillo@0: meillo@0: #include <$ac_header> meillo@0: _ACEOF meillo@0: rm -f conftest.$ac_objext meillo@1: if { (ac_try="$ac_compile" meillo@1: case "(($ac_try" in meillo@1: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; meillo@1: *) ac_try_echo=$ac_try;; meillo@1: esac meillo@1: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 meillo@1: (eval "$ac_compile") 2>conftest.er1 meillo@0: ac_status=$? meillo@0: grep -v '^ *+' conftest.er1 >conftest.err meillo@0: rm -f conftest.er1 meillo@0: cat conftest.err >&5 meillo@0: echo "$as_me:$LINENO: \$? = $ac_status" >&5 meillo@1: (exit $ac_status); } && { meillo@1: test -z "$ac_c_werror_flag" || meillo@1: test ! -s conftest.err meillo@1: } && test -s conftest.$ac_objext; then meillo@0: eval "$as_ac_Header=yes" meillo@0: else meillo@0: echo "$as_me: failed program was:" >&5 meillo@0: sed 's/^/| /' conftest.$ac_ext >&5 meillo@0: meillo@1: eval "$as_ac_Header=no" meillo@1: fi meillo@1: meillo@1: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext meillo@1: fi meillo@1: ac_res=`eval echo '${'$as_ac_Header'}'` meillo@1: { echo "$as_me:$LINENO: result: $ac_res" >&5 meillo@1: echo "${ECHO_T}$ac_res" >&6; } meillo@0: if test `eval echo '${'$as_ac_Header'}'` = yes; then meillo@0: cat >>confdefs.h <<_ACEOF meillo@0: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 meillo@0: _ACEOF meillo@0: meillo@0: fi meillo@0: meillo@0: done meillo@0: meillo@0: meillo@0: meillo@0: meillo@0: meillo@0: meillo@0: for ac_header in fcntl.h sys/time.h syslog.h unistd.h meillo@0: do meillo@0: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` meillo@1: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then meillo@1: { echo "$as_me:$LINENO: checking for $ac_header" >&5 meillo@1: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } meillo@1: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then meillo@0: echo $ECHO_N "(cached) $ECHO_C" >&6 meillo@0: fi meillo@1: ac_res=`eval echo '${'$as_ac_Header'}'` meillo@1: { echo "$as_me:$LINENO: result: $ac_res" >&5 meillo@1: echo "${ECHO_T}$ac_res" >&6; } meillo@0: else meillo@0: # Is the header compilable? meillo@1: { echo "$as_me:$LINENO: checking $ac_header usability" >&5 meillo@1: echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } meillo@0: cat >conftest.$ac_ext <<_ACEOF meillo@0: /* confdefs.h. */ meillo@0: _ACEOF meillo@0: cat confdefs.h >>conftest.$ac_ext meillo@0: cat >>conftest.$ac_ext <<_ACEOF meillo@0: /* end confdefs.h. */ meillo@0: $ac_includes_default meillo@0: #include <$ac_header> meillo@0: _ACEOF meillo@0: rm -f conftest.$ac_objext meillo@1: if { (ac_try="$ac_compile" meillo@1: case "(($ac_try" in meillo@1: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; meillo@1: *) ac_try_echo=$ac_try;; meillo@1: esac meillo@1: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 meillo@1: (eval "$ac_compile") 2>conftest.er1 meillo@0: ac_status=$? meillo@0: grep -v '^ *+' conftest.er1 >conftest.err meillo@0: rm -f conftest.er1 meillo@0: cat conftest.err >&5 meillo@0: echo "$as_me:$LINENO: \$? = $ac_status" >&5 meillo@1: (exit $ac_status); } && { meillo@1: test -z "$ac_c_werror_flag" || meillo@1: test ! -s conftest.err meillo@1: } && test -s conftest.$ac_objext; then meillo@0: ac_header_compiler=yes meillo@0: else meillo@0: echo "$as_me: failed program was:" >&5 meillo@0: sed 's/^/| /' conftest.$ac_ext >&5 meillo@0: meillo@1: ac_header_compiler=no meillo@1: fi meillo@1: meillo@1: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext meillo@1: { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 meillo@1: echo "${ECHO_T}$ac_header_compiler" >&6; } meillo@0: meillo@0: # Is the header present? meillo@1: { echo "$as_me:$LINENO: checking $ac_header presence" >&5 meillo@1: echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } meillo@0: cat >conftest.$ac_ext <<_ACEOF meillo@0: /* confdefs.h. */ meillo@0: _ACEOF meillo@0: cat confdefs.h >>conftest.$ac_ext meillo@0: cat >>conftest.$ac_ext <<_ACEOF meillo@0: /* end confdefs.h. */ meillo@0: #include <$ac_header> meillo@0: _ACEOF meillo@1: if { (ac_try="$ac_cpp conftest.$ac_ext" meillo@1: case "(($ac_try" in meillo@1: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; meillo@1: *) ac_try_echo=$ac_try;; meillo@1: esac meillo@1: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 meillo@1: (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 meillo@0: ac_status=$? meillo@0: grep -v '^ *+' conftest.er1 >conftest.err meillo@0: rm -f conftest.er1 meillo@0: cat conftest.err >&5 meillo@0: echo "$as_me:$LINENO: \$? = $ac_status" >&5 meillo@1: (exit $ac_status); } >/dev/null && { meillo@1: test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || meillo@1: test ! -s conftest.err meillo@1: }; then meillo@0: ac_header_preproc=yes meillo@0: else meillo@0: echo "$as_me: failed program was:" >&5 meillo@0: sed 's/^/| /' conftest.$ac_ext >&5 meillo@0: meillo@0: ac_header_preproc=no meillo@0: fi meillo@1: meillo@0: rm -f conftest.err conftest.$ac_ext meillo@1: { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 meillo@1: echo "${ECHO_T}$ac_header_preproc" >&6; } meillo@0: meillo@0: # So? What about this header? meillo@0: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in meillo@0: yes:no: ) meillo@0: { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 meillo@0: echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} meillo@0: { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 meillo@0: echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} meillo@0: ac_header_preproc=yes meillo@0: ;; meillo@0: no:yes:* ) meillo@0: { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 meillo@0: echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} meillo@0: { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 meillo@0: echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} meillo@0: { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 meillo@0: echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} meillo@0: { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 meillo@0: echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} meillo@0: { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 meillo@0: echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} meillo@0: { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 meillo@0: echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} meillo@1: ( cat <<\_ASBOX meillo@0: ## ----------------------------- ## meillo@0: ## Report this to oku@debian.org ## meillo@0: ## ----------------------------- ## meillo@0: _ASBOX meillo@1: ) | sed "s/^/$as_me: WARNING: /" >&2 meillo@0: ;; meillo@0: esac meillo@1: { echo "$as_me:$LINENO: checking for $ac_header" >&5 meillo@1: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } meillo@1: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then meillo@0: echo $ECHO_N "(cached) $ECHO_C" >&6 meillo@0: else meillo@0: eval "$as_ac_Header=\$ac_header_preproc" meillo@0: fi meillo@1: ac_res=`eval echo '${'$as_ac_Header'}'` meillo@1: { echo "$as_me:$LINENO: result: $ac_res" >&5 meillo@1: echo "${ECHO_T}$ac_res" >&6; } meillo@0: meillo@0: fi meillo@0: if test `eval echo '${'$as_ac_Header'}'` = yes; then meillo@0: cat >>confdefs.h <<_ACEOF meillo@0: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 meillo@0: _ACEOF meillo@0: meillo@0: fi meillo@0: meillo@0: done meillo@0: meillo@0: meillo@1: { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 meillo@1: echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; } meillo@0: if test "${ac_cv_c_const+set}" = set; then meillo@0: echo $ECHO_N "(cached) $ECHO_C" >&6 meillo@0: else meillo@0: cat >conftest.$ac_ext <<_ACEOF meillo@0: /* confdefs.h. */ meillo@0: _ACEOF meillo@0: cat confdefs.h >>conftest.$ac_ext meillo@0: cat >>conftest.$ac_ext <<_ACEOF meillo@0: /* end confdefs.h. */ meillo@0: meillo@0: int meillo@0: main () meillo@0: { meillo@0: /* FIXME: Include the comments suggested by Paul. */ meillo@0: #ifndef __cplusplus meillo@0: /* Ultrix mips cc rejects this. */ meillo@0: typedef int charset[2]; meillo@1: const charset cs; meillo@0: /* SunOS 4.1.1 cc rejects this. */ meillo@1: char const *const *pcpcc; meillo@1: char **ppc; meillo@0: /* NEC SVR4.0.2 mips cc rejects this. */ meillo@0: struct point {int x, y;}; meillo@0: static struct point const zero = {0,0}; meillo@0: /* AIX XL C 1.02.0.0 rejects this. meillo@0: It does not let you subtract one const X* pointer from another in meillo@0: an arm of an if-expression whose if-part is not a constant meillo@0: expression */ meillo@0: const char *g = "string"; meillo@1: pcpcc = &g + (g ? g-g : 0); meillo@0: /* HPUX 7.0 cc rejects these. */ meillo@1: ++pcpcc; meillo@1: ppc = (char**) pcpcc; meillo@1: pcpcc = (char const *const *) ppc; meillo@0: { /* SCO 3.2v4 cc rejects this. */ meillo@0: char *t; meillo@0: char const *s = 0 ? (char *) 0 : (char const *) 0; meillo@0: meillo@0: *t++ = 0; meillo@1: if (s) return 0; meillo@0: } meillo@0: { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ meillo@0: int x[] = {25, 17}; meillo@0: const int *foo = &x[0]; meillo@0: ++foo; meillo@0: } meillo@0: { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ meillo@0: typedef const int *iptr; meillo@0: iptr p = 0; meillo@0: ++p; meillo@0: } meillo@0: { /* AIX XL C 1.02.0.0 rejects this saying meillo@0: "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ meillo@0: struct s { int j; const int *ap[3]; }; meillo@0: struct s *b; b->j = 5; meillo@0: } meillo@0: { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ meillo@0: const int foo = 10; meillo@1: if (!foo) return 0; meillo@0: } meillo@1: return !cs[0] && !zero.x; meillo@0: #endif meillo@0: meillo@0: ; meillo@0: return 0; meillo@0: } meillo@0: _ACEOF meillo@0: rm -f conftest.$ac_objext meillo@1: if { (ac_try="$ac_compile" meillo@1: case "(($ac_try" in meillo@1: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; meillo@1: *) ac_try_echo=$ac_try;; meillo@1: esac meillo@1: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 meillo@1: (eval "$ac_compile") 2>conftest.er1 meillo@0: ac_status=$? meillo@0: grep -v '^ *+' conftest.er1 >conftest.err meillo@0: rm -f conftest.er1 meillo@0: cat conftest.err >&5 meillo@0: echo "$as_me:$LINENO: \$? = $ac_status" >&5 meillo@1: (exit $ac_status); } && { meillo@1: test -z "$ac_c_werror_flag" || meillo@1: test ! -s conftest.err meillo@1: } && test -s conftest.$ac_objext; then meillo@0: ac_cv_c_const=yes meillo@0: else meillo@0: echo "$as_me: failed program was:" >&5 meillo@0: sed 's/^/| /' conftest.$ac_ext >&5 meillo@0: meillo@1: ac_cv_c_const=no meillo@1: fi meillo@1: meillo@1: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext meillo@1: fi meillo@1: { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 meillo@1: echo "${ECHO_T}$ac_cv_c_const" >&6; } meillo@0: if test $ac_cv_c_const = no; then meillo@0: meillo@0: cat >>confdefs.h <<\_ACEOF meillo@0: #define const meillo@0: _ACEOF meillo@0: meillo@0: fi meillo@0: meillo@1: { echo "$as_me:$LINENO: checking for pid_t" >&5 meillo@1: echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; } meillo@0: if test "${ac_cv_type_pid_t+set}" = set; then meillo@0: echo $ECHO_N "(cached) $ECHO_C" >&6 meillo@0: else meillo@0: cat >conftest.$ac_ext <<_ACEOF meillo@0: /* confdefs.h. */ meillo@0: _ACEOF meillo@0: cat confdefs.h >>conftest.$ac_ext meillo@0: cat >>conftest.$ac_ext <<_ACEOF meillo@0: /* end confdefs.h. */ meillo@0: $ac_includes_default meillo@1: typedef pid_t ac__type_new_; meillo@0: int meillo@0: main () meillo@0: { meillo@1: if ((ac__type_new_ *) 0) meillo@0: return 0; meillo@1: if (sizeof (ac__type_new_)) meillo@0: return 0; meillo@0: ; meillo@0: return 0; meillo@0: } meillo@0: _ACEOF meillo@0: rm -f conftest.$ac_objext meillo@1: if { (ac_try="$ac_compile" meillo@1: case "(($ac_try" in meillo@1: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; meillo@1: *) ac_try_echo=$ac_try;; meillo@1: esac meillo@1: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 meillo@1: (eval "$ac_compile") 2>conftest.er1 meillo@0: ac_status=$? meillo@0: grep -v '^ *+' conftest.er1 >conftest.err meillo@0: rm -f conftest.er1 meillo@0: cat conftest.err >&5 meillo@0: echo "$as_me:$LINENO: \$? = $ac_status" >&5 meillo@1: (exit $ac_status); } && { meillo@1: test -z "$ac_c_werror_flag" || meillo@1: test ! -s conftest.err meillo@1: } && test -s conftest.$ac_objext; then meillo@0: ac_cv_type_pid_t=yes meillo@0: else meillo@0: echo "$as_me: failed program was:" >&5 meillo@0: sed 's/^/| /' conftest.$ac_ext >&5 meillo@0: meillo@1: ac_cv_type_pid_t=no meillo@1: fi meillo@1: meillo@1: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext meillo@1: fi meillo@1: { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5 meillo@1: echo "${ECHO_T}$ac_cv_type_pid_t" >&6; } meillo@0: if test $ac_cv_type_pid_t = yes; then meillo@0: : meillo@0: else meillo@0: meillo@0: cat >>confdefs.h <<_ACEOF meillo@0: #define pid_t int meillo@0: _ACEOF meillo@0: meillo@0: fi meillo@0: meillo@1: { echo "$as_me:$LINENO: checking for size_t" >&5 meillo@1: echo $ECHO_N "checking for size_t... $ECHO_C" >&6; } meillo@0: if test "${ac_cv_type_size_t+set}" = set; then meillo@0: echo $ECHO_N "(cached) $ECHO_C" >&6 meillo@0: else meillo@0: cat >conftest.$ac_ext <<_ACEOF meillo@0: /* confdefs.h. */ meillo@0: _ACEOF meillo@0: cat confdefs.h >>conftest.$ac_ext meillo@0: cat >>conftest.$ac_ext <<_ACEOF meillo@0: /* end confdefs.h. */ meillo@0: $ac_includes_default meillo@1: typedef size_t ac__type_new_; meillo@0: int meillo@0: main () meillo@0: { meillo@1: if ((ac__type_new_ *) 0) meillo@0: return 0; meillo@1: if (sizeof (ac__type_new_)) meillo@0: return 0; meillo@0: ; meillo@0: return 0; meillo@0: } meillo@0: _ACEOF meillo@0: rm -f conftest.$ac_objext meillo@1: if { (ac_try="$ac_compile" meillo@1: case "(($ac_try" in meillo@1: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; meillo@1: *) ac_try_echo=$ac_try;; meillo@1: esac meillo@1: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 meillo@1: (eval "$ac_compile") 2>conftest.er1 meillo@0: ac_status=$? meillo@0: grep -v '^ *+' conftest.er1 >conftest.err meillo@0: rm -f conftest.er1 meillo@0: cat conftest.err >&5 meillo@0: echo "$as_me:$LINENO: \$? = $ac_status" >&5 meillo@1: (exit $ac_status); } && { meillo@1: test -z "$ac_c_werror_flag" || meillo@1: test ! -s conftest.err meillo@1: } && test -s conftest.$ac_objext; then meillo@0: ac_cv_type_size_t=yes meillo@0: else meillo@0: echo "$as_me: failed program was:" >&5 meillo@0: sed 's/^/| /' conftest.$ac_ext >&5 meillo@0: meillo@1: ac_cv_type_size_t=no meillo@1: fi meillo@1: meillo@1: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext meillo@1: fi meillo@1: { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 meillo@1: echo "${ECHO_T}$ac_cv_type_size_t" >&6; } meillo@0: if test $ac_cv_type_size_t = yes; then meillo@0: : meillo@0: else meillo@0: meillo@0: cat >>confdefs.h <<_ACEOF meillo@1: #define size_t unsigned int meillo@1: _ACEOF meillo@1: meillo@1: fi meillo@1: meillo@1: { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 meillo@1: echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; } meillo@0: if test "${ac_cv_header_time+set}" = set; then meillo@0: echo $ECHO_N "(cached) $ECHO_C" >&6 meillo@0: else meillo@0: cat >conftest.$ac_ext <<_ACEOF meillo@0: /* confdefs.h. */ meillo@0: _ACEOF meillo@0: cat confdefs.h >>conftest.$ac_ext meillo@0: cat >>conftest.$ac_ext <<_ACEOF meillo@0: /* end confdefs.h. */ meillo@0: #include meillo@0: #include meillo@0: #include meillo@0: meillo@0: int meillo@0: main () meillo@0: { meillo@0: if ((struct tm *) 0) meillo@0: return 0; meillo@0: ; meillo@0: return 0; meillo@0: } meillo@0: _ACEOF meillo@0: rm -f conftest.$ac_objext meillo@1: if { (ac_try="$ac_compile" meillo@1: case "(($ac_try" in meillo@1: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; meillo@1: *) ac_try_echo=$ac_try;; meillo@1: esac meillo@1: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 meillo@1: (eval "$ac_compile") 2>conftest.er1 meillo@0: ac_status=$? meillo@0: grep -v '^ *+' conftest.er1 >conftest.err meillo@0: rm -f conftest.er1 meillo@0: cat conftest.err >&5 meillo@0: echo "$as_me:$LINENO: \$? = $ac_status" >&5 meillo@1: (exit $ac_status); } && { meillo@1: test -z "$ac_c_werror_flag" || meillo@1: test ! -s conftest.err meillo@1: } && test -s conftest.$ac_objext; then meillo@0: ac_cv_header_time=yes meillo@0: else meillo@0: echo "$as_me: failed program was:" >&5 meillo@0: sed 's/^/| /' conftest.$ac_ext >&5 meillo@0: meillo@1: ac_cv_header_time=no meillo@1: fi meillo@1: meillo@1: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext meillo@1: fi meillo@1: { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 meillo@1: echo "${ECHO_T}$ac_cv_header_time" >&6; } meillo@0: if test $ac_cv_header_time = yes; then meillo@0: meillo@0: cat >>confdefs.h <<\_ACEOF meillo@0: #define TIME_WITH_SYS_TIME 1 meillo@0: _ACEOF meillo@0: meillo@0: fi meillo@0: meillo@1: { echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5 meillo@1: echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; } meillo@0: if test "${ac_cv_struct_tm+set}" = set; then meillo@0: echo $ECHO_N "(cached) $ECHO_C" >&6 meillo@0: else meillo@0: cat >conftest.$ac_ext <<_ACEOF meillo@0: /* confdefs.h. */ meillo@0: _ACEOF meillo@0: cat confdefs.h >>conftest.$ac_ext meillo@0: cat >>conftest.$ac_ext <<_ACEOF meillo@0: /* end confdefs.h. */ meillo@0: #include meillo@0: #include meillo@0: meillo@0: int meillo@0: main () meillo@0: { meillo@1: struct tm tm; meillo@1: int *p = &tm.tm_sec; meillo@1: return !p; meillo@0: ; meillo@0: return 0; meillo@0: } meillo@0: _ACEOF meillo@0: rm -f conftest.$ac_objext meillo@1: if { (ac_try="$ac_compile" meillo@1: case "(($ac_try" in meillo@1: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; meillo@1: *) ac_try_echo=$ac_try;; meillo@1: esac meillo@1: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 meillo@1: (eval "$ac_compile") 2>conftest.er1 meillo@0: ac_status=$? meillo@0: grep -v '^ *+' conftest.er1 >conftest.err meillo@0: rm -f conftest.er1 meillo@0: cat conftest.err >&5 meillo@0: echo "$as_me:$LINENO: \$? = $ac_status" >&5 meillo@1: (exit $ac_status); } && { meillo@1: test -z "$ac_c_werror_flag" || meillo@1: test ! -s conftest.err meillo@1: } && test -s conftest.$ac_objext; then meillo@0: ac_cv_struct_tm=time.h meillo@0: else meillo@0: echo "$as_me: failed program was:" >&5 meillo@0: sed 's/^/| /' conftest.$ac_ext >&5 meillo@0: meillo@1: ac_cv_struct_tm=sys/time.h meillo@1: fi meillo@1: meillo@1: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext meillo@1: fi meillo@1: { echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5 meillo@1: echo "${ECHO_T}$ac_cv_struct_tm" >&6; } meillo@0: if test $ac_cv_struct_tm = sys/time.h; then meillo@0: meillo@0: cat >>confdefs.h <<\_ACEOF meillo@0: #define TM_IN_SYS_TIME 1 meillo@0: _ACEOF meillo@0: meillo@0: fi meillo@0: meillo@0: meillo@1: { echo "$as_me:$LINENO: checking for working POSIX fnmatch" >&5 meillo@1: echo $ECHO_N "checking for working POSIX fnmatch... $ECHO_C" >&6; } meillo@0: if test "${ac_cv_func_fnmatch_works+set}" = set; then meillo@0: echo $ECHO_N "(cached) $ECHO_C" >&6 meillo@0: else meillo@0: # Some versions of Solaris, SCO, and the GNU C Library meillo@0: # have a broken or incompatible fnmatch. meillo@0: # So we run a test program. If we are cross-compiling, take no chance. meillo@0: # Thanks to John Oleynick, Franc,ois Pinard, and Paul Eggert for this test. meillo@0: if test "$cross_compiling" = yes; then meillo@0: ac_cv_func_fnmatch_works=cross meillo@0: else meillo@0: cat >conftest.$ac_ext <<_ACEOF meillo@0: /* confdefs.h. */ meillo@0: _ACEOF meillo@0: cat confdefs.h >>conftest.$ac_ext meillo@0: cat >>conftest.$ac_ext <<_ACEOF meillo@0: /* end confdefs.h. */ meillo@0: #include meillo@0: # define y(a, b, c) (fnmatch (a, b, c) == 0) meillo@0: # define n(a, b, c) (fnmatch (a, b, c) == FNM_NOMATCH) meillo@0: meillo@0: int meillo@0: main () meillo@0: { meillo@1: return meillo@0: (!(y ("a*", "abc", 0) meillo@0: && n ("d*/*1", "d/s/1", FNM_PATHNAME) meillo@0: && y ("a\\\\bc", "abc", 0) meillo@0: && n ("a\\\\bc", "abc", FNM_NOESCAPE) meillo@0: && y ("*x", ".x", 0) meillo@0: && n ("*x", ".x", FNM_PERIOD) meillo@0: && 1)); meillo@0: ; meillo@0: return 0; meillo@0: } meillo@0: _ACEOF meillo@0: rm -f conftest$ac_exeext meillo@1: if { (ac_try="$ac_link" meillo@1: case "(($ac_try" in meillo@1: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; meillo@1: *) ac_try_echo=$ac_try;; meillo@1: esac meillo@1: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 meillo@1: (eval "$ac_link") 2>&5 meillo@0: ac_status=$? meillo@0: echo "$as_me:$LINENO: \$? = $ac_status" >&5 meillo@0: (exit $ac_status); } && { ac_try='./conftest$ac_exeext' meillo@1: { (case "(($ac_try" in meillo@1: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; meillo@1: *) ac_try_echo=$ac_try;; meillo@1: esac meillo@1: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 meillo@1: (eval "$ac_try") 2>&5 meillo@0: ac_status=$? meillo@0: echo "$as_me:$LINENO: \$? = $ac_status" >&5 meillo@0: (exit $ac_status); }; }; then meillo@0: ac_cv_func_fnmatch_works=yes meillo@0: else meillo@0: echo "$as_me: program exited with status $ac_status" >&5 meillo@0: echo "$as_me: failed program was:" >&5 meillo@0: sed 's/^/| /' conftest.$ac_ext >&5 meillo@0: meillo@0: ( exit $ac_status ) meillo@0: ac_cv_func_fnmatch_works=no meillo@0: fi meillo@1: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext meillo@1: fi meillo@1: meillo@1: meillo@1: fi meillo@1: { echo "$as_me:$LINENO: result: $ac_cv_func_fnmatch_works" >&5 meillo@1: echo "${ECHO_T}$ac_cv_func_fnmatch_works" >&6; } meillo@0: if test $ac_cv_func_fnmatch_works = yes; then meillo@0: meillo@0: cat >>confdefs.h <<\_ACEOF meillo@0: #define HAVE_FNMATCH 1 meillo@0: _ACEOF meillo@0: meillo@0: fi meillo@0: meillo@0: meillo@0: meillo@1: { echo "$as_me:$LINENO: checking return type of signal handlers" >&5 meillo@1: echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6; } meillo@0: if test "${ac_cv_type_signal+set}" = set; then meillo@0: echo $ECHO_N "(cached) $ECHO_C" >&6 meillo@0: else meillo@0: cat >conftest.$ac_ext <<_ACEOF meillo@0: /* confdefs.h. */ meillo@0: _ACEOF meillo@0: cat confdefs.h >>conftest.$ac_ext meillo@0: cat >>conftest.$ac_ext <<_ACEOF meillo@0: /* end confdefs.h. */ meillo@0: #include meillo@0: #include meillo@0: meillo@0: int meillo@0: main () meillo@0: { meillo@1: return *(signal (0, 0)) (0) == 1; meillo@0: ; meillo@0: return 0; meillo@0: } meillo@0: _ACEOF meillo@0: rm -f conftest.$ac_objext meillo@1: if { (ac_try="$ac_compile" meillo@1: case "(($ac_try" in meillo@1: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; meillo@1: *) ac_try_echo=$ac_try;; meillo@1: esac meillo@1: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 meillo@1: (eval "$ac_compile") 2>conftest.er1 meillo@0: ac_status=$? meillo@0: grep -v '^ *+' conftest.er1 >conftest.err meillo@0: rm -f conftest.er1 meillo@0: cat conftest.err >&5 meillo@0: echo "$as_me:$LINENO: \$? = $ac_status" >&5 meillo@1: (exit $ac_status); } && { meillo@1: test -z "$ac_c_werror_flag" || meillo@1: test ! -s conftest.err meillo@1: } && test -s conftest.$ac_objext; then meillo@1: ac_cv_type_signal=int meillo@0: else meillo@0: echo "$as_me: failed program was:" >&5 meillo@0: sed 's/^/| /' conftest.$ac_ext >&5 meillo@0: meillo@1: ac_cv_type_signal=void meillo@1: fi meillo@1: meillo@1: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext meillo@1: fi meillo@1: { echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5 meillo@1: echo "${ECHO_T}$ac_cv_type_signal" >&6; } meillo@0: meillo@0: cat >>confdefs.h <<_ACEOF meillo@0: #define RETSIGTYPE $ac_cv_type_signal meillo@0: _ACEOF meillo@0: meillo@0: meillo@0: meillo@0: for ac_func in strftime meillo@0: do meillo@0: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` meillo@1: { echo "$as_me:$LINENO: checking for $ac_func" >&5 meillo@1: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } meillo@1: if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then meillo@0: echo $ECHO_N "(cached) $ECHO_C" >&6 meillo@0: else meillo@0: cat >conftest.$ac_ext <<_ACEOF meillo@0: /* confdefs.h. */ meillo@0: _ACEOF meillo@0: cat confdefs.h >>conftest.$ac_ext meillo@0: cat >>conftest.$ac_ext <<_ACEOF meillo@0: /* end confdefs.h. */ meillo@0: /* Define $ac_func to an innocuous variant, in case declares $ac_func. meillo@0: For example, HP-UX 11i declares gettimeofday. */ meillo@0: #define $ac_func innocuous_$ac_func meillo@0: meillo@0: /* System header to define __stub macros and hopefully few prototypes, meillo@0: which can conflict with char $ac_func (); below. meillo@0: Prefer to if __STDC__ is defined, since meillo@0: exists even on freestanding compilers. */ meillo@0: meillo@0: #ifdef __STDC__ meillo@0: # include meillo@0: #else meillo@0: # include meillo@0: #endif meillo@0: meillo@0: #undef $ac_func meillo@0: meillo@1: /* Override any GCC internal prototype to avoid an error. meillo@1: Use char because int might match the return type of a GCC meillo@1: builtin and then its argument prototype would still apply. */ meillo@0: #ifdef __cplusplus meillo@0: extern "C" meillo@0: #endif meillo@0: char $ac_func (); meillo@0: /* The GNU C library defines this for functions which it implements meillo@0: to always fail with ENOSYS. Some functions are actually named meillo@0: something starting with __ and the normal name is an alias. */ meillo@1: #if defined __stub_$ac_func || defined __stub___$ac_func meillo@0: choke me meillo@0: #endif meillo@0: meillo@0: int meillo@0: main () meillo@0: { meillo@1: return $ac_func (); meillo@0: ; meillo@0: return 0; meillo@0: } meillo@0: _ACEOF meillo@0: rm -f conftest.$ac_objext conftest$ac_exeext meillo@1: if { (ac_try="$ac_link" meillo@1: case "(($ac_try" in meillo@1: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; meillo@1: *) ac_try_echo=$ac_try;; meillo@1: esac meillo@1: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 meillo@1: (eval "$ac_link") 2>conftest.er1 meillo@0: ac_status=$? meillo@0: grep -v '^ *+' conftest.er1 >conftest.err meillo@0: rm -f conftest.er1 meillo@0: cat conftest.err >&5 meillo@0: echo "$as_me:$LINENO: \$? = $ac_status" >&5 meillo@1: (exit $ac_status); } && { meillo@1: test -z "$ac_c_werror_flag" || meillo@1: test ! -s conftest.err meillo@1: } && test -s conftest$ac_exeext && meillo@1: $as_test_x conftest$ac_exeext; then meillo@0: eval "$as_ac_var=yes" meillo@0: else meillo@0: echo "$as_me: failed program was:" >&5 meillo@0: sed 's/^/| /' conftest.$ac_ext >&5 meillo@0: meillo@1: eval "$as_ac_var=no" meillo@1: fi meillo@1: meillo@1: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ meillo@0: conftest$ac_exeext conftest.$ac_ext meillo@0: fi meillo@1: ac_res=`eval echo '${'$as_ac_var'}'` meillo@1: { echo "$as_me:$LINENO: result: $ac_res" >&5 meillo@1: echo "${ECHO_T}$ac_res" >&6; } meillo@0: if test `eval echo '${'$as_ac_var'}'` = yes; then meillo@0: cat >>confdefs.h <<_ACEOF meillo@0: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 meillo@0: _ACEOF meillo@0: meillo@0: else meillo@0: # strftime is in -lintl on SCO UNIX. meillo@1: { echo "$as_me:$LINENO: checking for strftime in -lintl" >&5 meillo@1: echo $ECHO_N "checking for strftime in -lintl... $ECHO_C" >&6; } meillo@0: if test "${ac_cv_lib_intl_strftime+set}" = set; then meillo@0: echo $ECHO_N "(cached) $ECHO_C" >&6 meillo@0: else meillo@0: ac_check_lib_save_LIBS=$LIBS meillo@0: LIBS="-lintl $LIBS" meillo@0: cat >conftest.$ac_ext <<_ACEOF meillo@0: /* confdefs.h. */ meillo@0: _ACEOF meillo@0: cat confdefs.h >>conftest.$ac_ext meillo@0: cat >>conftest.$ac_ext <<_ACEOF meillo@0: /* end confdefs.h. */ meillo@0: meillo@1: /* Override any GCC internal prototype to avoid an error. meillo@1: Use char because int might match the return type of a GCC meillo@1: builtin and then its argument prototype would still apply. */ meillo@0: #ifdef __cplusplus meillo@0: extern "C" meillo@0: #endif meillo@0: char strftime (); meillo@0: int meillo@0: main () meillo@0: { meillo@1: return strftime (); meillo@0: ; meillo@0: return 0; meillo@0: } meillo@0: _ACEOF meillo@0: rm -f conftest.$ac_objext conftest$ac_exeext meillo@1: if { (ac_try="$ac_link" meillo@1: case "(($ac_try" in meillo@1: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; meillo@1: *) ac_try_echo=$ac_try;; meillo@1: esac meillo@1: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 meillo@1: (eval "$ac_link") 2>conftest.er1 meillo@0: ac_status=$? meillo@0: grep -v '^ *+' conftest.er1 >conftest.err meillo@0: rm -f conftest.er1 meillo@0: cat conftest.err >&5 meillo@0: echo "$as_me:$LINENO: \$? = $ac_status" >&5 meillo@1: (exit $ac_status); } && { meillo@1: test -z "$ac_c_werror_flag" || meillo@1: test ! -s conftest.err meillo@1: } && test -s conftest$ac_exeext && meillo@1: $as_test_x conftest$ac_exeext; then meillo@0: ac_cv_lib_intl_strftime=yes meillo@0: else meillo@0: echo "$as_me: failed program was:" >&5 meillo@0: sed 's/^/| /' conftest.$ac_ext >&5 meillo@0: meillo@1: ac_cv_lib_intl_strftime=no meillo@1: fi meillo@1: meillo@1: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ meillo@0: conftest$ac_exeext conftest.$ac_ext meillo@0: LIBS=$ac_check_lib_save_LIBS meillo@0: fi meillo@1: { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5 meillo@1: echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6; } meillo@0: if test $ac_cv_lib_intl_strftime = yes; then meillo@0: cat >>confdefs.h <<\_ACEOF meillo@0: #define HAVE_STRFTIME 1 meillo@0: _ACEOF meillo@0: meillo@0: LIBS="-lintl $LIBS" meillo@0: fi meillo@0: meillo@0: fi meillo@0: done meillo@0: meillo@0: meillo@0: for ac_func in vprintf meillo@0: do meillo@0: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` meillo@1: { echo "$as_me:$LINENO: checking for $ac_func" >&5 meillo@1: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } meillo@1: if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then meillo@0: echo $ECHO_N "(cached) $ECHO_C" >&6 meillo@0: else meillo@0: cat >conftest.$ac_ext <<_ACEOF meillo@0: /* confdefs.h. */ meillo@0: _ACEOF meillo@0: cat confdefs.h >>conftest.$ac_ext meillo@0: cat >>conftest.$ac_ext <<_ACEOF meillo@0: /* end confdefs.h. */ meillo@0: /* Define $ac_func to an innocuous variant, in case declares $ac_func. meillo@0: For example, HP-UX 11i declares gettimeofday. */ meillo@0: #define $ac_func innocuous_$ac_func meillo@0: meillo@0: /* System header to define __stub macros and hopefully few prototypes, meillo@0: which can conflict with char $ac_func (); below. meillo@0: Prefer to if __STDC__ is defined, since meillo@0: exists even on freestanding compilers. */ meillo@0: meillo@0: #ifdef __STDC__ meillo@0: # include meillo@0: #else meillo@0: # include meillo@0: #endif meillo@0: meillo@0: #undef $ac_func meillo@0: meillo@1: /* Override any GCC internal prototype to avoid an error. meillo@1: Use char because int might match the return type of a GCC meillo@1: builtin and then its argument prototype would still apply. */ meillo@0: #ifdef __cplusplus meillo@0: extern "C" meillo@0: #endif meillo@0: char $ac_func (); meillo@0: /* The GNU C library defines this for functions which it implements meillo@0: to always fail with ENOSYS. Some functions are actually named meillo@0: something starting with __ and the normal name is an alias. */ meillo@1: #if defined __stub_$ac_func || defined __stub___$ac_func meillo@0: choke me meillo@0: #endif meillo@0: meillo@0: int meillo@0: main () meillo@0: { meillo@1: return $ac_func (); meillo@0: ; meillo@0: return 0; meillo@0: } meillo@0: _ACEOF meillo@0: rm -f conftest.$ac_objext conftest$ac_exeext meillo@1: if { (ac_try="$ac_link" meillo@1: case "(($ac_try" in meillo@1: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; meillo@1: *) ac_try_echo=$ac_try;; meillo@1: esac meillo@1: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 meillo@1: (eval "$ac_link") 2>conftest.er1 meillo@0: ac_status=$? meillo@0: grep -v '^ *+' conftest.er1 >conftest.err meillo@0: rm -f conftest.er1 meillo@0: cat conftest.err >&5 meillo@0: echo "$as_me:$LINENO: \$? = $ac_status" >&5 meillo@1: (exit $ac_status); } && { meillo@1: test -z "$ac_c_werror_flag" || meillo@1: test ! -s conftest.err meillo@1: } && test -s conftest$ac_exeext && meillo@1: $as_test_x conftest$ac_exeext; then meillo@0: eval "$as_ac_var=yes" meillo@0: else meillo@0: echo "$as_me: failed program was:" >&5 meillo@0: sed 's/^/| /' conftest.$ac_ext >&5 meillo@0: meillo@1: eval "$as_ac_var=no" meillo@1: fi meillo@1: meillo@1: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ meillo@0: conftest$ac_exeext conftest.$ac_ext meillo@0: fi meillo@1: ac_res=`eval echo '${'$as_ac_var'}'` meillo@1: { echo "$as_me:$LINENO: result: $ac_res" >&5 meillo@1: echo "${ECHO_T}$ac_res" >&6; } meillo@0: if test `eval echo '${'$as_ac_var'}'` = yes; then meillo@0: cat >>confdefs.h <<_ACEOF meillo@0: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 meillo@0: _ACEOF meillo@0: meillo@1: { echo "$as_me:$LINENO: checking for _doprnt" >&5 meillo@1: echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6; } meillo@0: if test "${ac_cv_func__doprnt+set}" = set; then meillo@0: echo $ECHO_N "(cached) $ECHO_C" >&6 meillo@0: else meillo@0: cat >conftest.$ac_ext <<_ACEOF meillo@0: /* confdefs.h. */ meillo@0: _ACEOF meillo@0: cat confdefs.h >>conftest.$ac_ext meillo@0: cat >>conftest.$ac_ext <<_ACEOF meillo@0: /* end confdefs.h. */ meillo@0: /* Define _doprnt to an innocuous variant, in case declares _doprnt. meillo@0: For example, HP-UX 11i declares gettimeofday. */ meillo@0: #define _doprnt innocuous__doprnt meillo@0: meillo@0: /* System header to define __stub macros and hopefully few prototypes, meillo@0: which can conflict with char _doprnt (); below. meillo@0: Prefer to if __STDC__ is defined, since meillo@0: exists even on freestanding compilers. */ meillo@0: meillo@0: #ifdef __STDC__ meillo@0: # include meillo@0: #else meillo@0: # include meillo@0: #endif meillo@0: meillo@0: #undef _doprnt meillo@0: meillo@1: /* Override any GCC internal prototype to avoid an error. meillo@1: Use char because int might match the return type of a GCC meillo@1: builtin and then its argument prototype would still apply. */ meillo@0: #ifdef __cplusplus meillo@0: extern "C" meillo@0: #endif meillo@0: char _doprnt (); meillo@0: /* The GNU C library defines this for functions which it implements meillo@0: to always fail with ENOSYS. Some functions are actually named meillo@0: something starting with __ and the normal name is an alias. */ meillo@1: #if defined __stub__doprnt || defined __stub____doprnt meillo@0: choke me meillo@0: #endif meillo@0: meillo@0: int meillo@0: main () meillo@0: { meillo@1: return _doprnt (); meillo@0: ; meillo@0: return 0; meillo@0: } meillo@0: _ACEOF meillo@0: rm -f conftest.$ac_objext conftest$ac_exeext meillo@1: if { (ac_try="$ac_link" meillo@1: case "(($ac_try" in meillo@1: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; meillo@1: *) ac_try_echo=$ac_try;; meillo@1: esac meillo@1: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 meillo@1: (eval "$ac_link") 2>conftest.er1 meillo@0: ac_status=$? meillo@0: grep -v '^ *+' conftest.er1 >conftest.err meillo@0: rm -f conftest.er1 meillo@0: cat conftest.err >&5 meillo@0: echo "$as_me:$LINENO: \$? = $ac_status" >&5 meillo@1: (exit $ac_status); } && { meillo@1: test -z "$ac_c_werror_flag" || meillo@1: test ! -s conftest.err meillo@1: } && test -s conftest$ac_exeext && meillo@1: $as_test_x conftest$ac_exeext; then meillo@0: ac_cv_func__doprnt=yes meillo@0: else meillo@0: echo "$as_me: failed program was:" >&5 meillo@0: sed 's/^/| /' conftest.$ac_ext >&5 meillo@0: meillo@1: ac_cv_func__doprnt=no meillo@1: fi meillo@1: meillo@1: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ meillo@0: conftest$ac_exeext conftest.$ac_ext meillo@0: fi meillo@1: { echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5 meillo@1: echo "${ECHO_T}$ac_cv_func__doprnt" >&6; } meillo@0: if test $ac_cv_func__doprnt = yes; then meillo@0: meillo@0: cat >>confdefs.h <<\_ACEOF meillo@0: #define HAVE_DOPRNT 1 meillo@0: _ACEOF meillo@0: meillo@0: fi meillo@0: meillo@0: fi meillo@0: done meillo@0: meillo@0: meillo@0: meillo@0: meillo@0: meillo@0: meillo@0: for ac_func in select socket strerror strstr meillo@0: do meillo@0: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` meillo@1: { echo "$as_me:$LINENO: checking for $ac_func" >&5 meillo@1: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } meillo@1: if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then meillo@0: echo $ECHO_N "(cached) $ECHO_C" >&6 meillo@0: else meillo@0: cat >conftest.$ac_ext <<_ACEOF meillo@0: /* confdefs.h. */ meillo@0: _ACEOF meillo@0: cat confdefs.h >>conftest.$ac_ext meillo@0: cat >>conftest.$ac_ext <<_ACEOF meillo@0: /* end confdefs.h. */ meillo@0: /* Define $ac_func to an innocuous variant, in case declares $ac_func. meillo@0: For example, HP-UX 11i declares gettimeofday. */ meillo@0: #define $ac_func innocuous_$ac_func meillo@0: meillo@0: /* System header to define __stub macros and hopefully few prototypes, meillo@0: which can conflict with char $ac_func (); below. meillo@0: Prefer to if __STDC__ is defined, since meillo@0: exists even on freestanding compilers. */ meillo@0: meillo@0: #ifdef __STDC__ meillo@0: # include meillo@0: #else meillo@0: # include meillo@0: #endif meillo@0: meillo@0: #undef $ac_func meillo@0: meillo@1: /* Override any GCC internal prototype to avoid an error. meillo@1: Use char because int might match the return type of a GCC meillo@1: builtin and then its argument prototype would still apply. */ meillo@0: #ifdef __cplusplus meillo@0: extern "C" meillo@0: #endif meillo@0: char $ac_func (); meillo@0: /* The GNU C library defines this for functions which it implements meillo@0: to always fail with ENOSYS. Some functions are actually named meillo@0: something starting with __ and the normal name is an alias. */ meillo@1: #if defined __stub_$ac_func || defined __stub___$ac_func meillo@0: choke me meillo@0: #endif meillo@0: meillo@0: int meillo@0: main () meillo@0: { meillo@1: return $ac_func (); meillo@0: ; meillo@0: return 0; meillo@0: } meillo@0: _ACEOF meillo@0: rm -f conftest.$ac_objext conftest$ac_exeext meillo@1: if { (ac_try="$ac_link" meillo@1: case "(($ac_try" in meillo@1: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; meillo@1: *) ac_try_echo=$ac_try;; meillo@1: esac meillo@1: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 meillo@1: (eval "$ac_link") 2>conftest.er1 meillo@0: ac_status=$? meillo@0: grep -v '^ *+' conftest.er1 >conftest.err meillo@0: rm -f conftest.er1 meillo@0: cat conftest.err >&5 meillo@0: echo "$as_me:$LINENO: \$? = $ac_status" >&5 meillo@1: (exit $ac_status); } && { meillo@1: test -z "$ac_c_werror_flag" || meillo@1: test ! -s conftest.err meillo@1: } && test -s conftest$ac_exeext && meillo@1: $as_test_x conftest$ac_exeext; then meillo@0: eval "$as_ac_var=yes" meillo@0: else meillo@0: echo "$as_me: failed program was:" >&5 meillo@0: sed 's/^/| /' conftest.$ac_ext >&5 meillo@0: meillo@1: eval "$as_ac_var=no" meillo@1: fi meillo@1: meillo@1: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ meillo@0: conftest$ac_exeext conftest.$ac_ext meillo@0: fi meillo@1: ac_res=`eval echo '${'$as_ac_var'}'` meillo@1: { echo "$as_me:$LINENO: result: $ac_res" >&5 meillo@1: echo "${ECHO_T}$ac_res" >&6; } meillo@0: if test `eval echo '${'$as_ac_var'}'` = yes; then meillo@0: cat >>confdefs.h <<_ACEOF meillo@0: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 meillo@0: _ACEOF meillo@0: meillo@0: fi meillo@0: done meillo@0: meillo@0: meillo@0: meillo@1: # Check whether --with-user was given. meillo@0: if test "${with_user+set}" = set; then meillo@1: withval=$with_user; meillo@1: fi meillo@1: meillo@0: if test "x$with_user" = 'x'; then meillo@0: with_user='mail' meillo@0: fi meillo@0: meillo@0: meillo@1: # Check whether --with-group was given. meillo@0: if test "${with_group+set}" = set; then meillo@1: withval=$with_group; meillo@1: fi meillo@1: meillo@0: if test "x$with_group" = 'x'; then meillo@0: with_group='trusted' meillo@0: fi meillo@0: meillo@1: # Check whether --enable-debug was given. meillo@0: if test "${enable_debug+set}" = set; then meillo@1: enableval=$enable_debug; if test "x$enable_debug" != 'xno'; then meillo@0: debug_enabled='yes' meillo@0: fi meillo@0: else meillo@0: debug_enabled='yes' meillo@0: meillo@1: fi meillo@1: meillo@0: if test "x$debug_enabled" = xyes; then meillo@0: meillo@0: cat >>confdefs.h <<\_ACEOF meillo@0: #define ENABLE_DEBUG 1 meillo@0: _ACEOF meillo@0: meillo@0: fi meillo@0: meillo@0: meillo@0: cat >>confdefs.h <<_ACEOF meillo@0: #define DEF_MAIL_USER "${with_user}" meillo@0: _ACEOF meillo@0: meillo@0: meillo@0: meillo@0: cat >>confdefs.h <<_ACEOF meillo@0: #define DEF_MAIL_GROUP "${with_group}" meillo@0: _ACEOF meillo@0: meillo@0: meillo@0: meillo@0: meillo@1: # Check whether --with-glib_static was given. meillo@0: if test "${with_glib_static+set}" = set; then meillo@1: withval=$with_glib_static; meillo@1: fi meillo@1: meillo@0: if test "x$with_glib_static" != 'x'; then meillo@0: GLIB_LIBS=$with_glib_static meillo@0: meillo@0: fi meillo@0: meillo@0: MD5_LIBS='' meillo@0: BASE64_LIBS='' meillo@0: meillo@1: # Check whether --enable-smtp_server was given. meillo@0: if test "${enable_smtp_server+set}" = set; then meillo@1: enableval=$enable_smtp_server; if test "x$enable_smtp_server" != 'xno'; then meillo@0: smtp_server_enabled='yes' meillo@0: fi meillo@0: else meillo@0: smtp_server_enabled='yes' meillo@0: meillo@1: fi meillo@1: meillo@0: if test "x$smtp_server_enabled" = xyes; then meillo@0: meillo@0: cat >>confdefs.h <<\_ACEOF meillo@0: #define ENABLE_SMTP_SERVER 1 meillo@0: _ACEOF meillo@0: meillo@0: fi meillo@0: meillo@1: # Check whether --enable-pop3 was given. meillo@0: if test "${enable_pop3+set}" = set; then meillo@1: enableval=$enable_pop3; if test "x$enable_pop3" != 'xno'; then meillo@0: pop3_enabled='yes' meillo@0: fi meillo@0: else meillo@0: pop3_enabled='yes' meillo@0: meillo@1: fi meillo@1: meillo@0: if test "x$pop3_enabled" = xyes; then meillo@0: meillo@0: cat >>confdefs.h <<\_ACEOF meillo@0: #define ENABLE_POP3 1 meillo@0: _ACEOF meillo@0: meillo@0: # MD5_LIBS='md5/libmd5c.a' meillo@0: need_md5='yes' meillo@0: fi meillo@0: meillo@1: # Check whether --enable-auth was given. meillo@0: if test "${enable_auth+set}" = set; then meillo@1: enableval=$enable_auth; if test "x$enable_auth" != 'xno'; then meillo@0: auth_enabled='yes' meillo@0: fi meillo@1: fi meillo@1: meillo@0: if test "x$auth_enabled" = xyes; then meillo@0: meillo@0: cat >>confdefs.h <<\_ACEOF meillo@0: #define ENABLE_AUTH 1 meillo@0: _ACEOF meillo@0: meillo@0: BASE64_LIBS='base64/libbase64.a' meillo@0: # MD5_LIBS='md5/libmd5c.a' meillo@0: need_md5='yes' meillo@0: fi meillo@0: meillo@0: meillo@1: # Check whether --enable-maildir was given. meillo@0: if test "${enable_maildir+set}" = set; then meillo@1: enableval=$enable_maildir; if test "x$enable_maildir" != 'xno'; then meillo@0: maildir_enabled='yes' meillo@0: fi meillo@1: fi meillo@1: meillo@0: if test "x$maildir_enabled" = xyes; then meillo@0: meillo@0: cat >>confdefs.h <<\_ACEOF meillo@0: #define ENABLE_MAILDIR 1 meillo@0: _ACEOF meillo@0: meillo@0: fi meillo@0: meillo@0: meillo@1: # Check whether --with-libcrypto was given. meillo@0: if test "${with_libcrypto+set}" = set; then meillo@1: withval=$with_libcrypto; meillo@1: fi meillo@1: meillo@0: if test "x$with_libcrypto" != 'xyes'; then meillo@0: with_libcrypto='no' meillo@0: fi meillo@0: meillo@0: if test "x$need_md5" = 'xyes'; then meillo@0: if test "x$with_libcrypto" = "xyes"; then meillo@1: { echo "$as_me:$LINENO: checking for MD5 in -lcrypto" >&5 meillo@1: echo $ECHO_N "checking for MD5 in -lcrypto... $ECHO_C" >&6; } meillo@0: if test "${ac_cv_lib_crypto_MD5+set}" = set; then meillo@0: echo $ECHO_N "(cached) $ECHO_C" >&6 meillo@0: else meillo@0: ac_check_lib_save_LIBS=$LIBS meillo@0: LIBS="-lcrypto $LIBS" meillo@0: cat >conftest.$ac_ext <<_ACEOF meillo@0: /* confdefs.h. */ meillo@0: _ACEOF meillo@0: cat confdefs.h >>conftest.$ac_ext meillo@0: cat >>conftest.$ac_ext <<_ACEOF meillo@0: /* end confdefs.h. */ meillo@0: meillo@1: /* Override any GCC internal prototype to avoid an error. meillo@1: Use char because int might match the return type of a GCC meillo@1: builtin and then its argument prototype would still apply. */ meillo@0: #ifdef __cplusplus meillo@0: extern "C" meillo@0: #endif meillo@0: char MD5 (); meillo@0: int meillo@0: main () meillo@0: { meillo@1: return MD5 (); meillo@0: ; meillo@0: return 0; meillo@0: } meillo@0: _ACEOF meillo@0: rm -f conftest.$ac_objext conftest$ac_exeext meillo@1: if { (ac_try="$ac_link" meillo@1: case "(($ac_try" in meillo@1: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; meillo@1: *) ac_try_echo=$ac_try;; meillo@1: esac meillo@1: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 meillo@1: (eval "$ac_link") 2>conftest.er1 meillo@0: ac_status=$? meillo@0: grep -v '^ *+' conftest.er1 >conftest.err meillo@0: rm -f conftest.er1 meillo@0: cat conftest.err >&5 meillo@0: echo "$as_me:$LINENO: \$? = $ac_status" >&5 meillo@1: (exit $ac_status); } && { meillo@1: test -z "$ac_c_werror_flag" || meillo@1: test ! -s conftest.err meillo@1: } && test -s conftest$ac_exeext && meillo@1: $as_test_x conftest$ac_exeext; then meillo@0: ac_cv_lib_crypto_MD5=yes meillo@0: else meillo@0: echo "$as_me: failed program was:" >&5 meillo@0: sed 's/^/| /' conftest.$ac_ext >&5 meillo@0: meillo@1: ac_cv_lib_crypto_MD5=no meillo@1: fi meillo@1: meillo@1: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ meillo@0: conftest$ac_exeext conftest.$ac_ext meillo@0: LIBS=$ac_check_lib_save_LIBS meillo@0: fi meillo@1: { echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_MD5" >&5 meillo@1: echo "${ECHO_T}$ac_cv_lib_crypto_MD5" >&6; } meillo@0: if test $ac_cv_lib_crypto_MD5 = yes; then meillo@0: has_crypto='yes' meillo@0: else meillo@0: { { echo "$as_me:$LINENO: error: 'no libcrypto'" >&5 meillo@0: echo "$as_me: error: 'no libcrypto'" >&2;} meillo@0: { (exit 1); exit 1; }; } meillo@0: fi meillo@0: meillo@0: if test "x$has_crypto" = 'xyes'; then meillo@0: meillo@0: cat >>confdefs.h <<\_ACEOF meillo@0: #define USE_LIB_CRYPTO 1 meillo@0: _ACEOF meillo@0: meillo@0: MD5_LIBS='-lcrypto' meillo@0: fi meillo@0: else meillo@0: MD5_LIBS='md5/libmd5c.a' meillo@0: fi meillo@0: fi meillo@0: meillo@0: meillo@0: IDENT_LIBS='' meillo@1: # Check whether --enable-ident was given. meillo@0: if test "${enable_ident+set}" = set; then meillo@1: enableval=$enable_ident; if test "x$enable_ident" != 'xno'; then meillo@0: ident_enabled='yes' meillo@0: fi meillo@1: fi meillo@1: meillo@0: meillo@0: if test "x$ident_enabled" = xyes; then meillo@0: meillo@0: cat >>confdefs.h <<\_ACEOF meillo@0: #define ENABLE_IDENT 1 meillo@0: _ACEOF meillo@0: meillo@1: { echo "$as_me:$LINENO: checking for ident_id in -lident" >&5 meillo@1: echo $ECHO_N "checking for ident_id in -lident... $ECHO_C" >&6; } meillo@0: if test "${ac_cv_lib_ident_ident_id+set}" = set; then meillo@0: echo $ECHO_N "(cached) $ECHO_C" >&6 meillo@0: else meillo@0: ac_check_lib_save_LIBS=$LIBS meillo@0: LIBS="-lident $LIBS" meillo@0: cat >conftest.$ac_ext <<_ACEOF meillo@0: /* confdefs.h. */ meillo@0: _ACEOF meillo@0: cat confdefs.h >>conftest.$ac_ext meillo@0: cat >>conftest.$ac_ext <<_ACEOF meillo@0: /* end confdefs.h. */ meillo@0: meillo@1: /* Override any GCC internal prototype to avoid an error. meillo@1: Use char because int might match the return type of a GCC meillo@1: builtin and then its argument prototype would still apply. */ meillo@0: #ifdef __cplusplus meillo@0: extern "C" meillo@0: #endif meillo@0: char ident_id (); meillo@0: int meillo@0: main () meillo@0: { meillo@1: return ident_id (); meillo@0: ; meillo@0: return 0; meillo@0: } meillo@0: _ACEOF meillo@0: rm -f conftest.$ac_objext conftest$ac_exeext meillo@1: if { (ac_try="$ac_link" meillo@1: case "(($ac_try" in meillo@1: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; meillo@1: *) ac_try_echo=$ac_try;; meillo@1: esac meillo@1: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 meillo@1: (eval "$ac_link") 2>conftest.er1 meillo@0: ac_status=$? meillo@0: grep -v '^ *+' conftest.er1 >conftest.err meillo@0: rm -f conftest.er1 meillo@0: cat conftest.err >&5 meillo@0: echo "$as_me:$LINENO: \$? = $ac_status" >&5 meillo@1: (exit $ac_status); } && { meillo@1: test -z "$ac_c_werror_flag" || meillo@1: test ! -s conftest.err meillo@1: } && test -s conftest$ac_exeext && meillo@1: $as_test_x conftest$ac_exeext; then meillo@0: ac_cv_lib_ident_ident_id=yes meillo@0: else meillo@0: echo "$as_me: failed program was:" >&5 meillo@0: sed 's/^/| /' conftest.$ac_ext >&5 meillo@0: meillo@1: ac_cv_lib_ident_ident_id=no meillo@1: fi meillo@1: meillo@1: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ meillo@0: conftest$ac_exeext conftest.$ac_ext meillo@0: LIBS=$ac_check_lib_save_LIBS meillo@0: fi meillo@1: { echo "$as_me:$LINENO: result: $ac_cv_lib_ident_ident_id" >&5 meillo@1: echo "${ECHO_T}$ac_cv_lib_ident_ident_id" >&6; } meillo@0: if test $ac_cv_lib_ident_ident_id = yes; then meillo@0: IDENT_LIBS='-lident' meillo@0: else meillo@0: IDENT_LIBS='libident/libident.a' meillo@0: fi meillo@0: meillo@0: fi meillo@0: meillo@0: meillo@1: # Check whether --enable-mserver was given. meillo@0: if test "${enable_mserver+set}" = set; then meillo@1: enableval=$enable_mserver; if test "x$enable_mserver" != 'xno'; then meillo@0: mserver_enabled='yes' meillo@0: fi meillo@1: fi meillo@1: meillo@0: if test "x$mserver_enabled" = xyes; then meillo@0: meillo@0: cat >>confdefs.h <<\_ACEOF meillo@0: #define ENABLE_MSERVER 1 meillo@0: _ACEOF meillo@0: meillo@0: fi meillo@0: meillo@0: meillo@1: # Check whether --with-liblockfile was given. meillo@0: if test "${with_liblockfile+set}" = set; then meillo@1: withval=$with_liblockfile; meillo@1: fi meillo@1: meillo@0: if test "x$with_liblockfile" != 'x'; then meillo@0: with_liblockfile='yes' meillo@0: fi meillo@0: if test "x$with_liblockfile" = xyes; then meillo@1: { echo "$as_me:$LINENO: checking for maillock in -llockfile" >&5 meillo@1: echo $ECHO_N "checking for maillock in -llockfile... $ECHO_C" >&6; } meillo@0: if test "${ac_cv_lib_lockfile_maillock+set}" = set; then meillo@0: echo $ECHO_N "(cached) $ECHO_C" >&6 meillo@0: else meillo@0: ac_check_lib_save_LIBS=$LIBS meillo@0: LIBS="-llockfile $LIBS" meillo@0: cat >conftest.$ac_ext <<_ACEOF meillo@0: /* confdefs.h. */ meillo@0: _ACEOF meillo@0: cat confdefs.h >>conftest.$ac_ext meillo@0: cat >>conftest.$ac_ext <<_ACEOF meillo@0: /* end confdefs.h. */ meillo@0: meillo@1: /* Override any GCC internal prototype to avoid an error. meillo@1: Use char because int might match the return type of a GCC meillo@1: builtin and then its argument prototype would still apply. */ meillo@0: #ifdef __cplusplus meillo@0: extern "C" meillo@0: #endif meillo@0: char maillock (); meillo@0: int meillo@0: main () meillo@0: { meillo@1: return maillock (); meillo@0: ; meillo@0: return 0; meillo@0: } meillo@0: _ACEOF meillo@0: rm -f conftest.$ac_objext conftest$ac_exeext meillo@1: if { (ac_try="$ac_link" meillo@1: case "(($ac_try" in meillo@1: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; meillo@1: *) ac_try_echo=$ac_try;; meillo@1: esac meillo@1: eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 meillo@1: (eval "$ac_link") 2>conftest.er1 meillo@0: ac_status=$? meillo@0: grep -v '^ *+' conftest.er1 >conftest.err meillo@0: rm -f conftest.er1 meillo@0: cat conftest.err >&5 meillo@0: echo "$as_me:$LINENO: \$? = $ac_status" >&5 meillo@1: (exit $ac_status); } && { meillo@1: test -z "$ac_c_werror_flag" || meillo@1: test ! -s conftest.err meillo@1: } && test -s conftest$ac_exeext && meillo@1: $as_test_x conftest$ac_exeext; then meillo@0: ac_cv_lib_lockfile_maillock=yes meillo@0: else meillo@0: echo "$as_me: failed program was:" >&5 meillo@0: sed 's/^/| /' conftest.$ac_ext >&5 meillo@0: meillo@1: ac_cv_lib_lockfile_maillock=no meillo@1: fi meillo@1: meillo@1: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ meillo@0: conftest$ac_exeext conftest.$ac_ext meillo@0: LIBS=$ac_check_lib_save_LIBS meillo@0: fi meillo@1: { echo "$as_me:$LINENO: result: $ac_cv_lib_lockfile_maillock" >&5 meillo@1: echo "${ECHO_T}$ac_cv_lib_lockfile_maillock" >&6; } meillo@0: if test $ac_cv_lib_lockfile_maillock = yes; then meillo@0: has_lockfile=yes meillo@0: else meillo@0: { { echo "$as_me:$LINENO: error: \"no liblockfile\"" >&5 meillo@0: echo "$as_me: error: \"no liblockfile\"" >&2;} meillo@0: { (exit 1); exit 1; }; } meillo@0: fi meillo@0: meillo@0: LOCKFILE_LIBS='-llockfile' meillo@0: meillo@0: cat >>confdefs.h <<\_ACEOF meillo@0: #define USE_LIBLOCKFILE 1 meillo@0: _ACEOF meillo@0: meillo@0: else meillo@0: LOCKFILE_LIBS='' meillo@0: fi meillo@0: meillo@0: meillo@0: meillo@0: meillo@1: # Check whether --with-logdir was given. meillo@0: if test "${with_logdir+set}" = set; then meillo@1: withval=$with_logdir; meillo@0: else meillo@0: with_logdir='/var/log/masqmail/' meillo@0: meillo@1: fi meillo@1: meillo@1: meillo@1: meillo@1: meillo@1: # Check whether --with-spooldir was given. meillo@0: if test "${with_spooldir+set}" = set; then meillo@1: withval=$with_spooldir; meillo@0: else meillo@0: with_spooldir='/var/spool/masqmail/' meillo@0: meillo@1: fi meillo@1: meillo@1: meillo@1: meillo@1: meillo@1: # Check whether --with-confdir was given. meillo@0: if test "${with_confdir+set}" = set; then meillo@1: withval=$with_confdir; meillo@0: else meillo@0: with_confdir='/etc/masqmail' meillo@0: meillo@1: fi meillo@1: meillo@0: meillo@0: cat >>confdefs.h <<_ACEOF meillo@0: #define CONF_DIR "${with_confdir}" meillo@0: _ACEOF meillo@0: meillo@0: meillo@0: meillo@0: test "x$prefix" = xNONE && prefix="$ac_default_prefix" meillo@0: meillo@0: cat >>confdefs.h <<_ACEOF meillo@0: #define DATA_DIR "`eval echo \""$datadir"\"`/masqmail" meillo@0: _ACEOF meillo@0: meillo@0: meillo@0: if test "x${exec_prefix}" != 'xNONE'; then meillo@0: meillo@0: cat >>confdefs.h <<_ACEOF meillo@0: #define SBINDIR "${exec_prefix}/sbin" meillo@0: _ACEOF meillo@0: meillo@0: else meillo@0: if test "x${prefix}" != 'xNONE'; then meillo@0: cat >>confdefs.h <<_ACEOF meillo@0: #define SBINDIR "${prefix}/sbin" meillo@0: _ACEOF meillo@0: meillo@0: else meillo@0: cat >>confdefs.h <<_ACEOF meillo@0: #define SBINDIR "/usr/sbin" meillo@0: _ACEOF meillo@0: meillo@0: fi meillo@0: fi meillo@0: meillo@3: ac_config_files="$ac_config_files Makefile debian/Makefile tests/Makefile src/Makefile src/base64/Makefile src/md5/Makefile src/libident/Makefile suse/masqmail.spec redhat/masqmail.spec" meillo@1: meillo@0: cat >confcache <<\_ACEOF meillo@0: # This file is a shell script that caches the results of configure meillo@0: # tests run on this system so they can be shared between configure meillo@0: # scripts and configure runs, see configure's option --config-cache. meillo@0: # It is not useful on other systems. If it contains results you don't meillo@0: # want to keep, you may remove or edit it. meillo@0: # meillo@0: # config.status only pays attention to the cache file if you give it meillo@0: # the --recheck option to rerun configure. meillo@0: # meillo@0: # `ac_cv_env_foo' variables (set or unset) will be overridden when meillo@0: # loading this file, other *unset* `ac_cv_foo' will be assigned the meillo@0: # following values. meillo@0: meillo@0: _ACEOF meillo@0: meillo@0: # The following way of writing the cache mishandles newlines in values, meillo@0: # but we know of no workaround that is simple, portable, and efficient. meillo@1: # So, we kill variables containing newlines. meillo@0: # Ultrix sh set writes to stderr and can't be redirected directly, meillo@0: # and sets the high bit in the cache file unless we assign to the vars. meillo@1: ( meillo@1: for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do meillo@1: eval ac_val=\$$ac_var meillo@1: case $ac_val in #( meillo@1: *${as_nl}*) meillo@1: case $ac_var in #( meillo@1: *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 meillo@1: echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; meillo@1: esac meillo@1: case $ac_var in #( meillo@1: _ | IFS | as_nl) ;; #( meillo@1: *) $as_unset $ac_var ;; meillo@1: esac ;; meillo@1: esac meillo@1: done meillo@1: meillo@0: (set) 2>&1 | meillo@1: case $as_nl`(ac_space=' '; set) 2>&1` in #( meillo@1: *${as_nl}ac_space=\ *) meillo@0: # `set' does not quote correctly, so add quotes (double-quote meillo@0: # substitution turns \\\\ into \\, and sed turns \\ into \). meillo@0: sed -n \ meillo@0: "s/'/'\\\\''/g; meillo@0: s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" meillo@1: ;; #( meillo@0: *) meillo@0: # `set' quotes correctly as required by POSIX, so do not add quotes. meillo@1: sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" meillo@0: ;; meillo@1: esac | meillo@1: sort meillo@1: ) | meillo@0: sed ' meillo@1: /^ac_cv_env_/b end meillo@0: t clear meillo@1: :clear meillo@0: s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ meillo@0: t end meillo@1: s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ meillo@1: :end' >>confcache meillo@1: if diff "$cache_file" confcache >/dev/null 2>&1; then :; else meillo@1: if test -w "$cache_file"; then meillo@1: test "x$cache_file" != "x/dev/null" && meillo@1: { echo "$as_me:$LINENO: updating cache $cache_file" >&5 meillo@1: echo "$as_me: updating cache $cache_file" >&6;} meillo@0: cat confcache >$cache_file meillo@0: else meillo@1: { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 meillo@1: echo "$as_me: not updating unwritable cache $cache_file" >&6;} meillo@0: fi meillo@0: fi meillo@0: rm -f confcache meillo@0: meillo@0: test "x$prefix" = xNONE && prefix=$ac_default_prefix meillo@0: # Let make expand exec_prefix. meillo@0: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' meillo@0: meillo@0: DEFS=-DHAVE_CONFIG_H meillo@0: meillo@0: ac_libobjs= meillo@0: ac_ltlibobjs= meillo@0: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue meillo@0: # 1. Remove the extension, and $U if already installed. meillo@1: ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' meillo@1: ac_i=`echo "$ac_i" | sed "$ac_script"` meillo@1: # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR meillo@1: # will be set to the directory where LIBOBJS objects are built. meillo@1: ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" meillo@1: ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' meillo@0: done meillo@0: LIBOBJS=$ac_libobjs meillo@0: meillo@0: LTLIBOBJS=$ac_ltlibobjs meillo@0: meillo@0: meillo@0: if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then meillo@0: { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. meillo@0: Usually this means the macro was only invoked conditionally." >&5 meillo@0: echo "$as_me: error: conditional \"AMDEP\" was never defined. meillo@0: Usually this means the macro was only invoked conditionally." >&2;} meillo@0: { (exit 1); exit 1; }; } meillo@0: fi meillo@0: if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then meillo@0: { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. meillo@0: Usually this means the macro was only invoked conditionally." >&5 meillo@0: echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. meillo@0: Usually this means the macro was only invoked conditionally." >&2;} meillo@0: { (exit 1); exit 1; }; } meillo@0: fi meillo@0: meillo@0: : ${CONFIG_STATUS=./config.status} meillo@0: ac_clean_files_save=$ac_clean_files meillo@0: ac_clean_files="$ac_clean_files $CONFIG_STATUS" meillo@0: { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 meillo@0: echo "$as_me: creating $CONFIG_STATUS" >&6;} meillo@0: cat >$CONFIG_STATUS <<_ACEOF meillo@0: #! $SHELL meillo@0: # Generated by $as_me. meillo@0: # Run this file to recreate the current configuration. meillo@0: # Compiler output produced by configure, useful for debugging meillo@0: # configure, is in config.log if it exists. meillo@0: meillo@0: debug=false meillo@0: ac_cs_recheck=false meillo@0: ac_cs_silent=false meillo@0: SHELL=\${CONFIG_SHELL-$SHELL} meillo@0: _ACEOF meillo@0: meillo@0: cat >>$CONFIG_STATUS <<\_ACEOF meillo@0: ## --------------------- ## meillo@0: ## M4sh Initialization. ## meillo@0: ## --------------------- ## meillo@0: meillo@1: # Be more Bourne compatible meillo@1: DUALCASE=1; export DUALCASE # for MKS sh meillo@0: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then meillo@0: emulate sh meillo@0: NULLCMD=: meillo@0: # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which meillo@0: # is contrary to our usage. Disable this feature. meillo@0: alias -g '${1+"$@"}'='"$@"' meillo@1: setopt NO_GLOB_SUBST meillo@1: else meillo@1: case `(set -o) 2>/dev/null` in meillo@1: *posix*) set -o posix ;; meillo@1: esac meillo@1: meillo@1: fi meillo@1: meillo@1: meillo@1: meillo@1: meillo@1: # PATH needs CR meillo@0: # Avoid depending upon Character Ranges. meillo@0: as_cr_letters='abcdefghijklmnopqrstuvwxyz' meillo@0: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' meillo@0: as_cr_Letters=$as_cr_letters$as_cr_LETTERS meillo@0: as_cr_digits='0123456789' meillo@0: as_cr_alnum=$as_cr_Letters$as_cr_digits meillo@0: meillo@0: # The user is always right. meillo@0: if test "${PATH_SEPARATOR+set}" != set; then meillo@0: echo "#! /bin/sh" >conf$$.sh meillo@0: echo "exit 0" >>conf$$.sh meillo@0: chmod +x conf$$.sh meillo@0: if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then meillo@0: PATH_SEPARATOR=';' meillo@0: else meillo@0: PATH_SEPARATOR=: meillo@0: fi meillo@0: rm -f conf$$.sh meillo@0: fi meillo@0: meillo@1: # Support unset when possible. meillo@1: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then meillo@1: as_unset=unset meillo@1: else meillo@1: as_unset=false meillo@1: fi meillo@1: meillo@1: meillo@1: # IFS meillo@1: # We need space, tab and new line, in precisely that order. Quoting is meillo@1: # there to prevent editors from complaining about space-tab. meillo@1: # (If _AS_PATH_WALK were called with IFS unset, it would disable word meillo@1: # splitting by setting IFS to empty value.) meillo@1: as_nl=' meillo@1: ' meillo@1: IFS=" "" $as_nl" meillo@1: meillo@1: # Find who we are. Look in the path if we contain no directory separator. meillo@1: case $0 in meillo@1: *[\\/]* ) as_myself=$0 ;; meillo@1: *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR meillo@0: for as_dir in $PATH meillo@0: do meillo@0: IFS=$as_save_IFS meillo@0: test -z "$as_dir" && as_dir=. meillo@0: test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break meillo@0: done meillo@1: IFS=$as_save_IFS meillo@1: meillo@1: ;; meillo@1: esac meillo@1: # We did not find ourselves, most probably we were run as `sh COMMAND' meillo@1: # in which case we are not to be found in the path. meillo@1: if test "x$as_myself" = x; then meillo@1: as_myself=$0 meillo@1: fi meillo@1: if test ! -f "$as_myself"; then meillo@1: echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 meillo@1: { (exit 1); exit 1; } meillo@1: fi meillo@1: meillo@1: # Work around bugs in pre-3.0 UWIN ksh. meillo@1: for as_var in ENV MAIL MAILPATH meillo@1: do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var meillo@1: done meillo@1: PS1='$ ' meillo@1: PS2='> ' meillo@1: PS4='+ ' meillo@1: meillo@1: # NLS nuisances. meillo@1: for as_var in \ meillo@1: LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ meillo@1: LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ meillo@1: LC_TELEPHONE LC_TIME meillo@1: do meillo@1: if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then meillo@1: eval $as_var=C; export $as_var meillo@1: else meillo@1: ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var meillo@0: fi meillo@1: done meillo@1: meillo@1: # Required to use basename. meillo@1: if expr a : '\(a\)' >/dev/null 2>&1 && meillo@1: test "X`expr 00001 : '.*\(...\)'`" = X001; then meillo@1: as_expr=expr meillo@1: else meillo@1: as_expr=false meillo@1: fi meillo@1: meillo@1: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then meillo@1: as_basename=basename meillo@1: else meillo@1: as_basename=false meillo@1: fi meillo@1: meillo@1: meillo@1: # Name of the executable. meillo@1: as_me=`$as_basename -- "$0" || meillo@1: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ meillo@1: X"$0" : 'X\(//\)$' \| \ meillo@1: X"$0" : 'X\(/\)' \| . 2>/dev/null || meillo@1: echo X/"$0" | meillo@1: sed '/^.*\/\([^/][^/]*\)\/*$/{ meillo@1: s//\1/ meillo@1: q meillo@1: } meillo@1: /^X\/\(\/\/\)$/{ meillo@1: s//\1/ meillo@1: q meillo@1: } meillo@1: /^X\/\(\/\).*/{ meillo@1: s//\1/ meillo@1: q meillo@1: } meillo@1: s/.*/./; q'` meillo@1: meillo@1: # CDPATH. meillo@1: $as_unset CDPATH meillo@1: meillo@1: meillo@1: meillo@0: as_lineno_1=$LINENO meillo@0: as_lineno_2=$LINENO meillo@0: test "x$as_lineno_1" != "x$as_lineno_2" && meillo@1: test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { meillo@0: meillo@0: # Create $as_me.lineno as a copy of $as_myself, but with $LINENO meillo@0: # uniformly replaced by the line number. The first 'sed' inserts a meillo@1: # line-number line after each line using $LINENO; the second 'sed' meillo@1: # does the real work. The second script uses 'N' to pair each meillo@1: # line-number line with the line containing $LINENO, and appends meillo@1: # trailing '-' during substitution so that $LINENO is not a special meillo@1: # case at line end. meillo@0: # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the meillo@1: # scripts with optimization help from Paolo Bonzini. Blame Lee meillo@1: # E. McMahon (1931-1989) for sed's syntax. :-) meillo@1: sed -n ' meillo@1: p meillo@1: /[$]LINENO/= meillo@1: ' <$as_myself | meillo@0: sed ' meillo@1: s/[$]LINENO.*/&-/ meillo@1: t lineno meillo@1: b meillo@1: :lineno meillo@0: N meillo@1: :loop meillo@1: s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ meillo@0: t loop meillo@1: s/-\n.*// meillo@0: ' >$as_me.lineno && meillo@1: chmod +x "$as_me.lineno" || meillo@1: { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 meillo@0: { (exit 1); exit 1; }; } meillo@0: meillo@0: # Don't try to exec as it changes $[0], causing all sort of problems meillo@0: # (the dirname of $[0] is not the place where we might find the meillo@1: # original and so on. Autoconf is especially sensitive to this). meillo@1: . "./$as_me.lineno" meillo@0: # Exit status is that of the last command. meillo@0: exit meillo@0: } meillo@0: meillo@0: meillo@1: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then meillo@1: as_dirname=dirname meillo@1: else meillo@1: as_dirname=false meillo@1: fi meillo@1: meillo@1: ECHO_C= ECHO_N= ECHO_T= meillo@1: case `echo -n x` in meillo@1: -n*) meillo@1: case `echo 'x\c'` in meillo@1: *c*) ECHO_T=' ';; # ECHO_T is single tab character. meillo@1: *) ECHO_C='\c';; meillo@1: esac;; meillo@1: *) meillo@1: ECHO_N='-n';; meillo@0: esac meillo@0: meillo@1: if expr a : '\(a\)' >/dev/null 2>&1 && meillo@1: test "X`expr 00001 : '.*\(...\)'`" = X001; then meillo@0: as_expr=expr meillo@0: else meillo@0: as_expr=false meillo@0: fi meillo@0: meillo@0: rm -f conf$$ conf$$.exe conf$$.file meillo@1: if test -d conf$$.dir; then meillo@1: rm -f conf$$.dir/conf$$.file meillo@1: else meillo@1: rm -f conf$$.dir meillo@1: mkdir conf$$.dir meillo@1: fi meillo@0: echo >conf$$.file meillo@0: if ln -s conf$$.file conf$$ 2>/dev/null; then meillo@1: as_ln_s='ln -s' meillo@1: # ... but there are two gotchas: meillo@1: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. meillo@1: # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. meillo@1: # In both cases, we have to default to `cp -p'. meillo@1: ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || meillo@0: as_ln_s='cp -p' meillo@0: elif ln conf$$.file conf$$ 2>/dev/null; then meillo@0: as_ln_s=ln meillo@0: else meillo@0: as_ln_s='cp -p' meillo@0: fi meillo@1: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file meillo@1: rmdir conf$$.dir 2>/dev/null meillo@0: meillo@0: if mkdir -p . 2>/dev/null; then meillo@0: as_mkdir_p=: meillo@0: else meillo@0: test -d ./-p && rmdir ./-p meillo@0: as_mkdir_p=false meillo@0: fi meillo@0: meillo@1: if test -x / >/dev/null 2>&1; then meillo@1: as_test_x='test -x' meillo@1: else meillo@1: if ls -dL / >/dev/null 2>&1; then meillo@1: as_ls_L_option=L meillo@1: else meillo@1: as_ls_L_option= meillo@1: fi meillo@1: as_test_x=' meillo@1: eval sh -c '\'' meillo@1: if test -d "$1"; then meillo@1: test -d "$1/."; meillo@1: else meillo@1: case $1 in meillo@1: -*)set "./$1";; meillo@1: esac; meillo@1: case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in meillo@1: ???[sx]*):;;*)false;;esac;fi meillo@1: '\'' sh meillo@1: ' meillo@1: fi meillo@1: as_executable_p=$as_test_x meillo@0: meillo@0: # Sed expression to map a string onto a valid CPP name. meillo@0: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" meillo@0: meillo@0: # Sed expression to map a string onto a valid variable name. meillo@0: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" meillo@0: meillo@0: meillo@0: exec 6>&1 meillo@0: meillo@1: # Save the log message, to keep $[0] and so on meaningful, and to meillo@0: # report actual input values of CONFIG_FILES etc. instead of their meillo@1: # values after options handling. meillo@1: ac_log=" meillo@0: This file was extended by masqmail $as_me 0.2.21, which was meillo@1: generated by GNU Autoconf 2.61. Invocation command line was meillo@0: meillo@0: CONFIG_FILES = $CONFIG_FILES meillo@0: CONFIG_HEADERS = $CONFIG_HEADERS meillo@0: CONFIG_LINKS = $CONFIG_LINKS meillo@0: CONFIG_COMMANDS = $CONFIG_COMMANDS meillo@0: $ $0 $@ meillo@0: meillo@1: on `(hostname || uname -n) 2>/dev/null | sed 1q` meillo@1: " meillo@1: meillo@1: _ACEOF meillo@1: meillo@1: cat >>$CONFIG_STATUS <<_ACEOF meillo@0: # Files that config.status was made for. meillo@1: config_files="$ac_config_files" meillo@1: config_headers="$ac_config_headers" meillo@1: config_commands="$ac_config_commands" meillo@1: meillo@1: _ACEOF meillo@0: meillo@0: cat >>$CONFIG_STATUS <<\_ACEOF meillo@0: ac_cs_usage="\ meillo@0: \`$as_me' instantiates files from templates according to the meillo@0: current configuration. meillo@0: meillo@0: Usage: $0 [OPTIONS] [FILE]... meillo@0: meillo@0: -h, --help print this help, then exit meillo@1: -V, --version print version number and configuration settings, then exit meillo@0: -q, --quiet do not print progress messages meillo@0: -d, --debug don't remove temporary files meillo@0: --recheck update $as_me by reconfiguring in the same conditions meillo@0: --file=FILE[:TEMPLATE] meillo@0: instantiate the configuration file FILE meillo@0: --header=FILE[:TEMPLATE] meillo@0: instantiate the configuration header FILE meillo@0: meillo@0: Configuration files: meillo@0: $config_files meillo@0: meillo@0: Configuration headers: meillo@0: $config_headers meillo@0: meillo@0: Configuration commands: meillo@0: $config_commands meillo@0: meillo@0: Report bugs to ." meillo@1: meillo@1: _ACEOF meillo@0: cat >>$CONFIG_STATUS <<_ACEOF meillo@0: ac_cs_version="\\ meillo@0: masqmail config.status 0.2.21 meillo@1: configured by $0, generated by GNU Autoconf 2.61, meillo@1: with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" meillo@1: meillo@1: Copyright (C) 2006 Free Software Foundation, Inc. meillo@0: This config.status script is free software; the Free Software Foundation meillo@0: gives unlimited permission to copy, distribute and modify it." meillo@1: meillo@1: ac_pwd='$ac_pwd' meillo@1: srcdir='$srcdir' meillo@1: INSTALL='$INSTALL' meillo@0: _ACEOF meillo@0: meillo@0: cat >>$CONFIG_STATUS <<\_ACEOF meillo@0: # If no file are specified by the user, then we need to provide default meillo@0: # value. By we need to know if files were specified by the user. meillo@0: ac_need_defaults=: meillo@0: while test $# != 0 meillo@0: do meillo@0: case $1 in meillo@0: --*=*) meillo@1: ac_option=`expr "X$1" : 'X\([^=]*\)='` meillo@1: ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` meillo@0: ac_shift=: meillo@0: ;; meillo@1: *) meillo@0: ac_option=$1 meillo@0: ac_optarg=$2 meillo@0: ac_shift=shift meillo@0: ;; meillo@0: esac meillo@0: meillo@0: case $ac_option in meillo@0: # Handling of the options. meillo@0: -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) meillo@0: ac_cs_recheck=: ;; meillo@1: --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) meillo@1: echo "$ac_cs_version"; exit ;; meillo@1: --debug | --debu | --deb | --de | --d | -d ) meillo@0: debug=: ;; meillo@0: --file | --fil | --fi | --f ) meillo@0: $ac_shift meillo@0: CONFIG_FILES="$CONFIG_FILES $ac_optarg" meillo@0: ac_need_defaults=false;; meillo@0: --header | --heade | --head | --hea ) meillo@0: $ac_shift meillo@0: CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" meillo@0: ac_need_defaults=false;; meillo@1: --he | --h) meillo@1: # Conflict between --help and --header meillo@1: { echo "$as_me: error: ambiguous option: $1 meillo@1: Try \`$0 --help' for more information." >&2 meillo@1: { (exit 1); exit 1; }; };; meillo@1: --help | --hel | -h ) meillo@1: echo "$ac_cs_usage"; exit ;; meillo@0: -q | -quiet | --quiet | --quie | --qui | --qu | --q \ meillo@0: | -silent | --silent | --silen | --sile | --sil | --si | --s) meillo@0: ac_cs_silent=: ;; meillo@0: meillo@0: # This is an error. meillo@1: -*) { echo "$as_me: error: unrecognized option: $1 meillo@1: Try \`$0 --help' for more information." >&2 meillo@0: { (exit 1); exit 1; }; } ;; meillo@0: meillo@1: *) ac_config_targets="$ac_config_targets $1" meillo@1: ac_need_defaults=false ;; meillo@0: meillo@0: esac meillo@0: shift meillo@0: done meillo@0: meillo@0: ac_configure_extra_args= meillo@0: meillo@0: if $ac_cs_silent; then meillo@0: exec 6>/dev/null meillo@0: ac_configure_extra_args="$ac_configure_extra_args --silent" meillo@0: fi meillo@0: meillo@0: _ACEOF meillo@0: cat >>$CONFIG_STATUS <<_ACEOF meillo@0: if \$ac_cs_recheck; then meillo@1: echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 meillo@1: CONFIG_SHELL=$SHELL meillo@1: export CONFIG_SHELL meillo@1: exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion meillo@1: fi meillo@1: meillo@1: _ACEOF meillo@1: cat >>$CONFIG_STATUS <<\_ACEOF meillo@1: exec 5>>config.log meillo@1: { meillo@1: echo meillo@1: sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX meillo@1: ## Running $as_me. ## meillo@1: _ASBOX meillo@1: echo "$ac_log" meillo@1: } >&5 meillo@1: meillo@1: _ACEOF meillo@0: cat >>$CONFIG_STATUS <<_ACEOF meillo@0: # meillo@1: # INIT-COMMANDS meillo@0: # meillo@0: AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" meillo@0: meillo@0: _ACEOF meillo@0: meillo@0: cat >>$CONFIG_STATUS <<\_ACEOF meillo@1: meillo@1: # Handling of arguments. meillo@0: for ac_config_target in $ac_config_targets meillo@0: do meillo@1: case $ac_config_target in meillo@1: "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; meillo@1: "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; meillo@1: "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; meillo@1: "debian/Makefile") CONFIG_FILES="$CONFIG_FILES debian/Makefile" ;; meillo@1: "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;; meillo@1: "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; meillo@1: "src/base64/Makefile") CONFIG_FILES="$CONFIG_FILES src/base64/Makefile" ;; meillo@1: "src/md5/Makefile") CONFIG_FILES="$CONFIG_FILES src/md5/Makefile" ;; meillo@1: "src/libident/Makefile") CONFIG_FILES="$CONFIG_FILES src/libident/Makefile" ;; meillo@1: "suse/masqmail.spec") CONFIG_FILES="$CONFIG_FILES suse/masqmail.spec" ;; meillo@1: "redhat/masqmail.spec") CONFIG_FILES="$CONFIG_FILES redhat/masqmail.spec" ;; meillo@1: meillo@0: *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 meillo@0: echo "$as_me: error: invalid argument: $ac_config_target" >&2;} meillo@0: { (exit 1); exit 1; }; };; meillo@0: esac meillo@0: done meillo@0: meillo@1: meillo@0: # If the user did not use the arguments to specify the items to instantiate, meillo@0: # then the envvar interface is used. Set only those that are not. meillo@0: # We use the long form for the default assignment because of an extremely meillo@0: # bizarre bug on SunOS 4.1.3. meillo@0: if $ac_need_defaults; then meillo@0: test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files meillo@0: test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers meillo@0: test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands meillo@0: fi meillo@0: meillo@0: # Have a temporary directory for convenience. Make it in the build tree meillo@1: # simply because there is no reason against having it here, and in addition, meillo@0: # creating and moving files from /tmp can sometimes cause problems. meillo@1: # Hook for its removal unless debugging. meillo@1: # Note that there is a small window in which the directory will not be cleaned: meillo@1: # after its creation but before its name has been assigned to `$tmp'. meillo@0: $debug || meillo@0: { meillo@1: tmp= meillo@1: trap 'exit_status=$? meillo@1: { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status meillo@1: ' 0 meillo@0: trap '{ (exit 1); exit 1; }' 1 2 13 15 meillo@0: } meillo@0: # Create a (secure) tmp directory for tmp files. meillo@0: meillo@0: { meillo@1: tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && meillo@0: test -n "$tmp" && test -d "$tmp" meillo@0: } || meillo@0: { meillo@1: tmp=./conf$$-$RANDOM meillo@1: (umask 077 && mkdir "$tmp") meillo@0: } || meillo@0: { meillo@0: echo "$me: cannot create a temporary directory in ." >&2 meillo@0: { (exit 1); exit 1; } meillo@0: } meillo@0: meillo@0: # meillo@1: # Set up the sed scripts for CONFIG_FILES section. meillo@0: # meillo@0: meillo@0: # No need to generate the scripts if there are no CONFIG_FILES. meillo@0: # This happens for instance when ./config.status config.h meillo@1: if test -n "$CONFIG_FILES"; then meillo@1: meillo@1: _ACEOF meillo@1: meillo@1: meillo@1: meillo@1: ac_delim='%!_!# ' meillo@1: for ac_last_try in false false false false false :; do meillo@1: cat >conf$$subs.sed <<_ACEOF meillo@1: SHELL!$SHELL$ac_delim meillo@1: PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim meillo@1: PACKAGE_NAME!$PACKAGE_NAME$ac_delim meillo@1: PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim meillo@1: PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim meillo@1: PACKAGE_STRING!$PACKAGE_STRING$ac_delim meillo@1: PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim meillo@1: exec_prefix!$exec_prefix$ac_delim meillo@1: prefix!$prefix$ac_delim meillo@1: program_transform_name!$program_transform_name$ac_delim meillo@1: bindir!$bindir$ac_delim meillo@1: sbindir!$sbindir$ac_delim meillo@1: libexecdir!$libexecdir$ac_delim meillo@1: datarootdir!$datarootdir$ac_delim meillo@1: datadir!$datadir$ac_delim meillo@1: sysconfdir!$sysconfdir$ac_delim meillo@1: sharedstatedir!$sharedstatedir$ac_delim meillo@1: localstatedir!$localstatedir$ac_delim meillo@1: includedir!$includedir$ac_delim meillo@1: oldincludedir!$oldincludedir$ac_delim meillo@1: docdir!$docdir$ac_delim meillo@1: infodir!$infodir$ac_delim meillo@1: htmldir!$htmldir$ac_delim meillo@1: dvidir!$dvidir$ac_delim meillo@1: pdfdir!$pdfdir$ac_delim meillo@1: psdir!$psdir$ac_delim meillo@1: libdir!$libdir$ac_delim meillo@1: localedir!$localedir$ac_delim meillo@1: mandir!$mandir$ac_delim meillo@1: DEFS!$DEFS$ac_delim meillo@1: ECHO_C!$ECHO_C$ac_delim meillo@1: ECHO_N!$ECHO_N$ac_delim meillo@1: ECHO_T!$ECHO_T$ac_delim meillo@1: LIBS!$LIBS$ac_delim meillo@1: build_alias!$build_alias$ac_delim meillo@1: host_alias!$host_alias$ac_delim meillo@1: target_alias!$target_alias$ac_delim meillo@1: INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim meillo@1: INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim meillo@1: INSTALL_DATA!$INSTALL_DATA$ac_delim meillo@1: CYGPATH_W!$CYGPATH_W$ac_delim meillo@1: PACKAGE!$PACKAGE$ac_delim meillo@1: VERSION!$VERSION$ac_delim meillo@1: ACLOCAL!$ACLOCAL$ac_delim meillo@1: AUTOCONF!$AUTOCONF$ac_delim meillo@1: AUTOMAKE!$AUTOMAKE$ac_delim meillo@1: AUTOHEADER!$AUTOHEADER$ac_delim meillo@1: MAKEINFO!$MAKEINFO$ac_delim meillo@1: AMTAR!$AMTAR$ac_delim meillo@1: install_sh!$install_sh$ac_delim meillo@1: STRIP!$STRIP$ac_delim meillo@1: INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim meillo@1: AWK!$AWK$ac_delim meillo@1: SET_MAKE!$SET_MAKE$ac_delim meillo@1: am__leading_dot!$am__leading_dot$ac_delim meillo@1: CC!$CC$ac_delim meillo@1: CFLAGS!$CFLAGS$ac_delim meillo@1: LDFLAGS!$LDFLAGS$ac_delim meillo@1: CPPFLAGS!$CPPFLAGS$ac_delim meillo@1: ac_ct_CC!$ac_ct_CC$ac_delim meillo@1: EXEEXT!$EXEEXT$ac_delim meillo@1: OBJEXT!$OBJEXT$ac_delim meillo@1: DEPDIR!$DEPDIR$ac_delim meillo@1: am__include!$am__include$ac_delim meillo@1: am__quote!$am__quote$ac_delim meillo@1: AMDEP_TRUE!$AMDEP_TRUE$ac_delim meillo@1: AMDEP_FALSE!$AMDEP_FALSE$ac_delim meillo@1: AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim meillo@1: CCDEPMODE!$CCDEPMODE$ac_delim meillo@1: am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim meillo@1: am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim meillo@1: CPP!$CPP$ac_delim meillo@1: GREP!$GREP$ac_delim meillo@1: EGREP!$EGREP$ac_delim meillo@1: RANLIB!$RANLIB$ac_delim meillo@1: PKG_CONFIG!$PKG_CONFIG$ac_delim meillo@1: GLIB_CFLAGS!$GLIB_CFLAGS$ac_delim meillo@1: GLIB_LIBS!$GLIB_LIBS$ac_delim meillo@1: RESOLV_LIBS!$RESOLV_LIBS$ac_delim meillo@1: with_user!$with_user$ac_delim meillo@1: with_group!$with_group$ac_delim meillo@1: BASE64_LIBS!$BASE64_LIBS$ac_delim meillo@1: MD5_LIBS!$MD5_LIBS$ac_delim meillo@1: has_ident!$has_ident$ac_delim meillo@1: IDENT_LIBS!$IDENT_LIBS$ac_delim meillo@1: LOCKFILE_LIBS!$LOCKFILE_LIBS$ac_delim meillo@1: USE_LIBLOCKFILE!$USE_LIBLOCKFILE$ac_delim meillo@1: with_logdir!$with_logdir$ac_delim meillo@1: with_spooldir!$with_spooldir$ac_delim meillo@1: with_confdir!$with_confdir$ac_delim meillo@1: LIBOBJS!$LIBOBJS$ac_delim meillo@1: LTLIBOBJS!$LTLIBOBJS$ac_delim meillo@1: _ACEOF meillo@1: meillo@1: if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 92; then meillo@1: break meillo@1: elif $ac_last_try; then meillo@1: { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 meillo@1: echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} meillo@1: { (exit 1); exit 1; }; } meillo@1: else meillo@1: ac_delim="$ac_delim!$ac_delim _$ac_delim!! " meillo@1: fi meillo@1: done meillo@1: meillo@1: ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` meillo@1: if test -n "$ac_eof"; then meillo@1: ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` meillo@1: ac_eof=`expr $ac_eof + 1` meillo@1: fi meillo@1: meillo@1: cat >>$CONFIG_STATUS <<_ACEOF meillo@1: cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof meillo@1: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end meillo@1: _ACEOF meillo@1: sed ' meillo@1: s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g meillo@1: s/^/s,@/; s/!/@,|#_!!_#|/ meillo@1: :n meillo@1: t n meillo@1: s/'"$ac_delim"'$/,g/; t meillo@1: s/$/\\/; p meillo@1: N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n meillo@1: ' >>$CONFIG_STATUS >$CONFIG_STATUS <<_ACEOF meillo@1: :end meillo@1: s/|#_!!_#|//g meillo@1: CEOF$ac_eof meillo@1: _ACEOF meillo@1: meillo@1: meillo@1: # VPATH may cause trouble with some makes, so we remove $(srcdir), meillo@1: # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and meillo@1: # trailing colons and then remove the whole line if VPATH becomes empty meillo@1: # (actually we leave an empty line to preserve line numbers). meillo@1: if test "x$srcdir" = x.; then meillo@1: ac_vpsub='/^[ ]*VPATH[ ]*=/{ meillo@1: s/:*\$(srcdir):*/:/ meillo@1: s/:*\${srcdir}:*/:/ meillo@1: s/:*@srcdir@:*/:/ meillo@1: s/^\([^=]*=[ ]*\):*/\1/ meillo@1: s/:*$// meillo@1: s/^[^=]*=[ ]*$// meillo@1: }' meillo@1: fi meillo@1: meillo@1: cat >>$CONFIG_STATUS <<\_ACEOF meillo@1: fi # test -n "$CONFIG_FILES" meillo@1: meillo@1: meillo@1: for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS meillo@1: do meillo@1: case $ac_tag in meillo@1: :[FHLC]) ac_mode=$ac_tag; continue;; meillo@1: esac meillo@1: case $ac_mode$ac_tag in meillo@1: :[FHL]*:*);; meillo@1: :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 meillo@1: echo "$as_me: error: Invalid tag $ac_tag." >&2;} meillo@1: { (exit 1); exit 1; }; };; meillo@1: :[FH]-) ac_tag=-:-;; meillo@1: :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; meillo@1: esac meillo@1: ac_save_IFS=$IFS meillo@1: IFS=: meillo@1: set x $ac_tag meillo@1: IFS=$ac_save_IFS meillo@1: shift meillo@1: ac_file=$1 meillo@1: shift meillo@1: meillo@1: case $ac_mode in meillo@1: :L) ac_source=$1;; meillo@1: :[FH]) meillo@1: ac_file_inputs= meillo@1: for ac_f meillo@1: do meillo@1: case $ac_f in meillo@1: -) ac_f="$tmp/stdin";; meillo@1: *) # Look for the file first in the build tree, then in the source tree meillo@1: # (if the path is not absolute). The absolute path cannot be DOS-style, meillo@1: # because $ac_f cannot contain `:'. meillo@1: test -f "$ac_f" || meillo@1: case $ac_f in meillo@1: [\\/$]*) false;; meillo@1: *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; meillo@1: esac || meillo@1: { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 meillo@1: echo "$as_me: error: cannot find input file: $ac_f" >&2;} meillo@1: { (exit 1); exit 1; }; };; meillo@1: esac meillo@1: ac_file_inputs="$ac_file_inputs $ac_f" meillo@1: done meillo@1: meillo@1: # Let's still pretend it is `configure' which instantiates (i.e., don't meillo@1: # use $as_me), people would be surprised to read: meillo@1: # /* config.h. Generated by config.status. */ meillo@1: configure_input="Generated from "`IFS=: meillo@1: echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." meillo@1: if test x"$ac_file" != x-; then meillo@1: configure_input="$ac_file. $configure_input" meillo@1: { echo "$as_me:$LINENO: creating $ac_file" >&5 meillo@1: echo "$as_me: creating $ac_file" >&6;} meillo@0: fi meillo@1: meillo@1: case $ac_tag in meillo@1: *:-:* | *:-) cat >"$tmp/stdin";; meillo@1: esac meillo@1: ;; meillo@0: esac meillo@0: meillo@1: ac_dir=`$as_dirname -- "$ac_file" || meillo@0: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ meillo@0: X"$ac_file" : 'X\(//\)[^/]' \| \ meillo@0: X"$ac_file" : 'X\(//\)$' \| \ meillo@1: X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || meillo@0: echo X"$ac_file" | meillo@1: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ meillo@1: s//\1/ meillo@1: q meillo@1: } meillo@1: /^X\(\/\/\)[^/].*/{ meillo@1: s//\1/ meillo@1: q meillo@1: } meillo@1: /^X\(\/\/\)$/{ meillo@1: s//\1/ meillo@1: q meillo@1: } meillo@1: /^X\(\/\).*/{ meillo@1: s//\1/ meillo@1: q meillo@1: } meillo@1: s/.*/./; q'` meillo@1: { as_dir="$ac_dir" meillo@1: case $as_dir in #( meillo@1: -*) as_dir=./$as_dir;; meillo@1: esac meillo@1: test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { meillo@0: as_dirs= meillo@1: while :; do meillo@1: case $as_dir in #( meillo@1: *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( meillo@1: *) as_qdir=$as_dir;; meillo@1: esac meillo@1: as_dirs="'$as_qdir' $as_dirs" meillo@1: as_dir=`$as_dirname -- "$as_dir" || meillo@0: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ meillo@0: X"$as_dir" : 'X\(//\)[^/]' \| \ meillo@0: X"$as_dir" : 'X\(//\)$' \| \ meillo@1: X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || meillo@0: echo X"$as_dir" | meillo@1: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ meillo@1: s//\1/ meillo@1: q meillo@1: } meillo@1: /^X\(\/\/\)[^/].*/{ meillo@1: s//\1/ meillo@1: q meillo@1: } meillo@1: /^X\(\/\/\)$/{ meillo@1: s//\1/ meillo@1: q meillo@1: } meillo@1: /^X\(\/\).*/{ meillo@1: s//\1/ meillo@1: q meillo@1: } meillo@1: s/.*/./; q'` meillo@1: test -d "$as_dir" && break meillo@0: done meillo@1: test -z "$as_dirs" || eval "mkdir $as_dirs" meillo@1: } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 meillo@1: echo "$as_me: error: cannot create directory $as_dir" >&2;} meillo@0: { (exit 1); exit 1; }; }; } meillo@0: ac_builddir=. meillo@0: meillo@1: case "$ac_dir" in meillo@1: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; meillo@1: *) meillo@0: ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` meillo@1: # A ".." for each directory in $ac_dir_suffix. meillo@1: ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` meillo@1: case $ac_top_builddir_sub in meillo@1: "") ac_top_builddir_sub=. ac_top_build_prefix= ;; meillo@1: *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; meillo@1: esac ;; meillo@1: esac meillo@1: ac_abs_top_builddir=$ac_pwd meillo@1: ac_abs_builddir=$ac_pwd$ac_dir_suffix meillo@1: # for backward compatibility: meillo@1: ac_top_builddir=$ac_top_build_prefix meillo@0: meillo@0: case $srcdir in meillo@1: .) # We are building in place. meillo@0: ac_srcdir=. meillo@1: ac_top_srcdir=$ac_top_builddir_sub meillo@1: ac_abs_top_srcdir=$ac_pwd ;; meillo@1: [\\/]* | ?:[\\/]* ) # Absolute name. meillo@0: ac_srcdir=$srcdir$ac_dir_suffix; meillo@1: ac_top_srcdir=$srcdir meillo@1: ac_abs_top_srcdir=$srcdir ;; meillo@1: *) # Relative name. meillo@1: ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix meillo@1: ac_top_srcdir=$ac_top_build_prefix$srcdir meillo@1: ac_abs_top_srcdir=$ac_pwd/$srcdir ;; meillo@0: esac meillo@1: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix meillo@1: meillo@1: meillo@1: case $ac_mode in meillo@1: :F) meillo@1: # meillo@1: # CONFIG_FILE meillo@1: # meillo@0: meillo@0: case $INSTALL in meillo@0: [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; meillo@1: *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; meillo@0: esac meillo@1: _ACEOF meillo@1: meillo@1: cat >>$CONFIG_STATUS <<\_ACEOF meillo@1: # If the template does not know about datarootdir, expand it. meillo@1: # FIXME: This hack should be removed a few years after 2.60. meillo@1: ac_datarootdir_hack=; ac_datarootdir_seen= meillo@1: meillo@1: case `sed -n '/datarootdir/ { meillo@1: p meillo@1: q meillo@1: } meillo@1: /@datadir@/p meillo@1: /@docdir@/p meillo@1: /@infodir@/p meillo@1: /@localedir@/p meillo@1: /@mandir@/p meillo@1: ' $ac_file_inputs` in meillo@1: *datarootdir*) ac_datarootdir_seen=yes;; meillo@1: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) meillo@1: { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 meillo@1: echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} meillo@1: _ACEOF meillo@1: cat >>$CONFIG_STATUS <<_ACEOF meillo@1: ac_datarootdir_hack=' meillo@1: s&@datadir@&$datadir&g meillo@1: s&@docdir@&$docdir&g meillo@1: s&@infodir@&$infodir&g meillo@1: s&@localedir@&$localedir&g meillo@1: s&@mandir@&$mandir&g meillo@1: s&\\\${datarootdir}&$datarootdir&g' ;; meillo@1: esac meillo@1: _ACEOF meillo@1: meillo@1: # Neutralize VPATH when `$srcdir' = `.'. meillo@1: # Shell code in configure.ac might set extrasub. meillo@1: # FIXME: do we really want to maintain this feature? meillo@0: cat >>$CONFIG_STATUS <<_ACEOF meillo@0: sed "$ac_vpsub meillo@0: $extrasub meillo@0: _ACEOF meillo@0: cat >>$CONFIG_STATUS <<\_ACEOF meillo@0: :t meillo@0: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b meillo@1: s&@configure_input@&$configure_input&;t t meillo@1: s&@top_builddir@&$ac_top_builddir_sub&;t t meillo@1: s&@srcdir@&$ac_srcdir&;t t meillo@1: s&@abs_srcdir@&$ac_abs_srcdir&;t t meillo@1: s&@top_srcdir@&$ac_top_srcdir&;t t meillo@1: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t meillo@1: s&@builddir@&$ac_builddir&;t t meillo@1: s&@abs_builddir@&$ac_abs_builddir&;t t meillo@1: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t meillo@1: s&@INSTALL@&$ac_INSTALL&;t t meillo@1: $ac_datarootdir_hack meillo@1: " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out meillo@1: meillo@1: test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && meillo@1: { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && meillo@1: { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && meillo@1: { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' meillo@1: which seems to be undefined. Please make sure it is defined." >&5 meillo@1: echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' meillo@1: which seems to be undefined. Please make sure it is defined." >&2;} meillo@1: meillo@1: rm -f "$tmp/stdin" meillo@1: case $ac_file in meillo@1: -) cat "$tmp/out"; rm -f "$tmp/out";; meillo@1: *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; meillo@1: esac meillo@1: ;; meillo@1: :H) meillo@1: # meillo@1: # CONFIG_HEADER meillo@1: # meillo@1: _ACEOF meillo@1: meillo@1: # Transform confdefs.h into a sed script `conftest.defines', that meillo@1: # substitutes the proper values into config.h.in to produce config.h. meillo@1: rm -f conftest.defines conftest.tail meillo@1: # First, append a space to every undef/define line, to ease matching. meillo@1: echo 's/$/ /' >conftest.defines meillo@1: # Then, protect against being on the right side of a sed subst, or in meillo@1: # an unquoted here document, in config.status. If some macros were meillo@1: # called several times there might be several #defines for the same meillo@1: # symbol, which is useless. But do not sort them, since the last meillo@1: # AC_DEFINE must be honored. meillo@1: ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* meillo@1: # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where meillo@1: # NAME is the cpp macro being defined, VALUE is the value it is being given. meillo@1: # PARAMS is the parameter list in the macro definition--in most cases, it's meillo@1: # just an empty string. meillo@1: ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*' meillo@1: ac_dB='\\)[ (].*,\\1define\\2' meillo@0: ac_dC=' ' meillo@1: ac_dD=' ,' meillo@1: meillo@1: uniq confdefs.h | meillo@1: sed -n ' meillo@1: t rset meillo@1: :rset meillo@1: s/^[ ]*#[ ]*define[ ][ ]*// meillo@1: t ok meillo@1: d meillo@1: :ok meillo@1: s/[\\&,]/\\&/g meillo@1: s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p meillo@1: s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p meillo@1: ' >>conftest.defines meillo@1: meillo@1: # Remove the space that was appended to ease matching. meillo@1: # Then replace #undef with comments. This is necessary, for meillo@0: # example, in the case of _POSIX_SOURCE, which is predefined and required meillo@0: # on some systems where configure will not decide to define it. meillo@1: # (The regexp can be short, since the line contains either #define or #undef.) meillo@1: echo 's/ $// meillo@1: s,^[ #]*u.*,/* & */,' >>conftest.defines meillo@1: meillo@1: # Break up conftest.defines: meillo@1: ac_max_sed_lines=50 meillo@1: meillo@1: # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1" meillo@1: # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2" meillo@1: # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1" meillo@1: # et cetera. meillo@1: ac_in='$ac_file_inputs' meillo@1: ac_out='"$tmp/out1"' meillo@1: ac_nxt='"$tmp/out2"' meillo@1: meillo@1: while : meillo@0: do meillo@1: # Write a here document: meillo@1: cat >>$CONFIG_STATUS <<_ACEOF meillo@1: # First, check the format of the line: meillo@1: cat >"\$tmp/defines.sed" <<\\CEOF meillo@1: /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def meillo@1: /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def meillo@1: b meillo@1: :def meillo@1: _ACEOF meillo@1: sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS meillo@0: echo 'CEOF meillo@1: sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS meillo@1: ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in meillo@1: sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail meillo@1: grep . conftest.tail >/dev/null || break meillo@0: rm -f conftest.defines meillo@0: mv conftest.tail conftest.defines meillo@0: done meillo@1: rm -f conftest.defines conftest.tail meillo@1: meillo@1: echo "ac_result=$ac_in" >>$CONFIG_STATUS meillo@0: cat >>$CONFIG_STATUS <<\_ACEOF meillo@0: if test x"$ac_file" != x-; then meillo@1: echo "/* $configure_input */" >"$tmp/config.h" meillo@1: cat "$ac_result" >>"$tmp/config.h" meillo@1: if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then meillo@0: { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 meillo@0: echo "$as_me: $ac_file is unchanged" >&6;} meillo@0: else meillo@0: rm -f $ac_file meillo@1: mv "$tmp/config.h" $ac_file meillo@0: fi meillo@0: else meillo@1: echo "/* $configure_input */" meillo@1: cat "$ac_result" meillo@0: fi meillo@1: rm -f "$tmp/out12" meillo@0: # Compute $ac_file's index in $config_headers. meillo@0: _am_stamp_count=1 meillo@0: for _am_header in $config_headers :; do meillo@0: case $_am_header in meillo@0: $ac_file | $ac_file:* ) meillo@0: break ;; meillo@0: * ) meillo@0: _am_stamp_count=`expr $_am_stamp_count + 1` ;; meillo@0: esac meillo@0: done meillo@1: echo "timestamp for $ac_file" >`$as_dirname -- $ac_file || meillo@0: $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ meillo@0: X$ac_file : 'X\(//\)[^/]' \| \ meillo@0: X$ac_file : 'X\(//\)$' \| \ meillo@1: X$ac_file : 'X\(/\)' \| . 2>/dev/null || meillo@0: echo X$ac_file | meillo@1: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ meillo@1: s//\1/ meillo@1: q meillo@1: } meillo@1: /^X\(\/\/\)[^/].*/{ meillo@1: s//\1/ meillo@1: q meillo@1: } meillo@1: /^X\(\/\/\)$/{ meillo@1: s//\1/ meillo@1: q meillo@1: } meillo@1: /^X\(\/\).*/{ meillo@1: s//\1/ meillo@1: q meillo@1: } meillo@1: s/.*/./; q'`/stamp-h$_am_stamp_count meillo@1: ;; meillo@1: meillo@1: :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5 meillo@1: echo "$as_me: executing $ac_file commands" >&6;} meillo@1: ;; meillo@1: esac meillo@1: meillo@1: meillo@1: case $ac_file$ac_mode in meillo@1: "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do meillo@0: # Strip MF so we end up with the name of the file. meillo@0: mf=`echo "$mf" | sed -e 's/:.*$//'` meillo@0: # Check whether this is an Automake generated Makefile or not. meillo@0: # We used to match only the files named `Makefile.in', but meillo@0: # some people rename them; so instead we look at the file content. meillo@0: # Grep'ing the first line is not enough: some people post-process meillo@0: # each Makefile.in and add a new line on top of each file to say so. meillo@0: # So let's grep whole file. meillo@0: if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then meillo@1: dirpart=`$as_dirname -- "$mf" || meillo@0: $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ meillo@0: X"$mf" : 'X\(//\)[^/]' \| \ meillo@0: X"$mf" : 'X\(//\)$' \| \ meillo@1: X"$mf" : 'X\(/\)' \| . 2>/dev/null || meillo@0: echo X"$mf" | meillo@1: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ meillo@1: s//\1/ meillo@1: q meillo@1: } meillo@1: /^X\(\/\/\)[^/].*/{ meillo@1: s//\1/ meillo@1: q meillo@1: } meillo@1: /^X\(\/\/\)$/{ meillo@1: s//\1/ meillo@1: q meillo@1: } meillo@1: /^X\(\/\).*/{ meillo@1: s//\1/ meillo@1: q meillo@1: } meillo@1: s/.*/./; q'` meillo@0: else meillo@0: continue meillo@0: fi meillo@0: grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue meillo@0: # Extract the definition of DEP_FILES from the Makefile without meillo@0: # running `make'. meillo@0: DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"` meillo@0: test -z "$DEPDIR" && continue meillo@0: # When using ansi2knr, U may be empty or an underscore; expand it meillo@0: U=`sed -n -e '/^U = / s///p' < "$mf"` meillo@0: test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR" meillo@0: # We invoke sed twice because it is the simplest approach to meillo@0: # changing $(DEPDIR) to its actual value in the expansion. meillo@0: for file in `sed -n -e ' meillo@0: /^DEP_FILES = .*\\\\$/ { meillo@0: s/^DEP_FILES = // meillo@0: :loop meillo@0: s/\\\\$// meillo@0: p meillo@0: n meillo@0: /\\\\$/ b loop meillo@0: p meillo@0: } meillo@0: /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \ meillo@0: sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do meillo@0: # Make sure the directory exists. meillo@0: test -f "$dirpart/$file" && continue meillo@1: fdir=`$as_dirname -- "$file" || meillo@0: $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ meillo@0: X"$file" : 'X\(//\)[^/]' \| \ meillo@0: X"$file" : 'X\(//\)$' \| \ meillo@1: X"$file" : 'X\(/\)' \| . 2>/dev/null || meillo@0: echo X"$file" | meillo@1: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ meillo@1: s//\1/ meillo@1: q meillo@1: } meillo@1: /^X\(\/\/\)[^/].*/{ meillo@1: s//\1/ meillo@1: q meillo@1: } meillo@1: /^X\(\/\/\)$/{ meillo@1: s//\1/ meillo@1: q meillo@1: } meillo@1: /^X\(\/\).*/{ meillo@1: s//\1/ meillo@1: q meillo@1: } meillo@1: s/.*/./; q'` meillo@1: { as_dir=$dirpart/$fdir meillo@1: case $as_dir in #( meillo@1: -*) as_dir=./$as_dir;; meillo@1: esac meillo@1: test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { meillo@0: as_dirs= meillo@1: while :; do meillo@1: case $as_dir in #( meillo@1: *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( meillo@1: *) as_qdir=$as_dir;; meillo@1: esac meillo@1: as_dirs="'$as_qdir' $as_dirs" meillo@1: as_dir=`$as_dirname -- "$as_dir" || meillo@0: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ meillo@0: X"$as_dir" : 'X\(//\)[^/]' \| \ meillo@0: X"$as_dir" : 'X\(//\)$' \| \ meillo@1: X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || meillo@0: echo X"$as_dir" | meillo@1: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ meillo@1: s//\1/ meillo@1: q meillo@1: } meillo@1: /^X\(\/\/\)[^/].*/{ meillo@1: s//\1/ meillo@1: q meillo@1: } meillo@1: /^X\(\/\/\)$/{ meillo@1: s//\1/ meillo@1: q meillo@1: } meillo@1: /^X\(\/\).*/{ meillo@1: s//\1/ meillo@1: q meillo@1: } meillo@1: s/.*/./; q'` meillo@1: test -d "$as_dir" && break meillo@0: done meillo@1: test -z "$as_dirs" || eval "mkdir $as_dirs" meillo@1: } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 meillo@1: echo "$as_me: error: cannot create directory $as_dir" >&2;} meillo@0: { (exit 1); exit 1; }; }; } meillo@0: # echo "creating $dirpart/$file" meillo@0: echo '# dummy' > "$dirpart/$file" meillo@0: done meillo@0: done meillo@0: ;; meillo@1: meillo@0: esac meillo@1: done # for ac_tag meillo@1: meillo@0: meillo@0: { (exit 0); exit 0; } meillo@0: _ACEOF meillo@0: chmod +x $CONFIG_STATUS meillo@0: ac_clean_files=$ac_clean_files_save meillo@0: meillo@0: meillo@0: # configure is writing to config.log, and then calls config.status. meillo@0: # config.status does its own redirection, appending to config.log. meillo@0: # Unfortunately, on DOS this fails, as config.log is still kept open meillo@0: # by configure, so config.status won't be able to write to it; its meillo@0: # output is simply discarded. So we exec the FD to /dev/null, meillo@0: # effectively closing config.log, so it can be properly (re)opened and meillo@0: # appended to by config.status. When coming back to configure, we meillo@0: # need to make the FD available again. meillo@0: if test "$no_create" != yes; then meillo@0: ac_cs_success=: meillo@0: ac_config_status_args= meillo@0: test "$silent" = yes && meillo@0: ac_config_status_args="$ac_config_status_args --quiet" meillo@0: exec 5>/dev/null meillo@0: $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false meillo@0: exec 5>>config.log meillo@0: # Use ||, not &&, to avoid exiting from the if with $? = 1, which meillo@0: # would make configure fail if this is the last instruction. meillo@0: $ac_cs_success || { (exit 1); exit 1; } meillo@0: fi meillo@0: