meillo@0: #! /bin/sh meillo@0: # Guess values for system-dependent variables and create Makefiles. meillo@123: # Generated by GNU Autoconf 2.65 for masqmail 0.2.25. meillo@0: # meillo@36: # Report bugs to . meillo@36: # meillo@0: # meillo@1: # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, meillo@36: # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, meillo@36: # Inc. meillo@36: # meillo@36: # meillo@0: # This configure script is free software; the Free Software Foundation meillo@0: # gives unlimited permission to copy, distribute and modify it. meillo@36: ## -------------------- ## meillo@36: ## M4sh Initialization. ## meillo@36: ## -------------------- ## meillo@0: meillo@1: # Be more Bourne compatible meillo@1: DUALCASE=1; export DUALCASE # for MKS sh meillo@36: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : meillo@0: emulate sh meillo@0: NULLCMD=: meillo@36: # Pre-4.2 versions of Zsh do 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@36: case `(set -o) 2>/dev/null` in #( meillo@36: *posix*) : meillo@36: set -o posix ;; #( meillo@36: *) : meillo@36: ;; meillo@1: esac meillo@36: fi meillo@36: meillo@36: meillo@36: as_nl=' meillo@36: ' meillo@36: export as_nl meillo@36: # Printing a long string crashes Solaris 7 /usr/bin/printf. meillo@36: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' meillo@36: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo meillo@36: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo meillo@36: # Prefer a ksh shell builtin over an external printf program on Solaris, meillo@36: # but without wasting forks for bash or zsh. meillo@36: if test -z "$BASH_VERSION$ZSH_VERSION" \ meillo@36: && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then meillo@36: as_echo='print -r --' meillo@36: as_echo_n='print -rn --' meillo@36: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then meillo@36: as_echo='printf %s\n' meillo@36: as_echo_n='printf %s' meillo@36: else meillo@36: if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then meillo@36: as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' meillo@36: as_echo_n='/usr/ucb/echo -n' meillo@36: else meillo@36: as_echo_body='eval expr "X$1" : "X\\(.*\\)"' meillo@36: as_echo_n_body='eval meillo@36: arg=$1; meillo@36: case $arg in #( meillo@36: *"$as_nl"*) meillo@36: expr "X$arg" : "X\\(.*\\)$as_nl"; meillo@36: arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; meillo@36: esac; meillo@36: expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" meillo@36: ' meillo@36: export as_echo_n_body meillo@36: as_echo_n='sh -c $as_echo_n_body as_echo' meillo@36: fi meillo@36: export as_echo_body meillo@36: as_echo='sh -c $as_echo_body as_echo' meillo@36: fi meillo@0: meillo@0: # The user is always right. meillo@0: if test "${PATH_SEPARATOR+set}" != set; then meillo@36: PATH_SEPARATOR=: meillo@36: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { meillo@36: (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || meillo@36: PATH_SEPARATOR=';' meillo@36: } 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: IFS=" "" $as_nl" meillo@1: meillo@1: # Find who we are. Look in the path if we contain no directory separator. meillo@36: 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@36: test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break meillo@36: 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@36: $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 meillo@36: exit 1 meillo@36: fi meillo@36: meillo@36: # Unset variables that we do not need and which cause bugs (e.g. in meillo@36: # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" meillo@36: # suppresses any "Segmentation fault" message there. '((' could meillo@36: # trigger a bug in pdksh 5.2.14. meillo@36: for as_var in BASH_ENV ENV MAIL MAILPATH meillo@36: do eval test x\${$as_var+set} = xset \ meillo@36: && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : meillo@1: done meillo@1: PS1='$ ' meillo@1: PS2='> ' meillo@1: PS4='+ ' meillo@1: meillo@1: # NLS nuisances. meillo@36: LC_ALL=C meillo@36: export LC_ALL meillo@36: LANGUAGE=C meillo@36: export LANGUAGE meillo@36: meillo@36: # CDPATH. meillo@36: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH meillo@36: meillo@36: if test "x$CONFIG_SHELL" = x; then meillo@36: as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : meillo@36: emulate sh meillo@36: NULLCMD=: meillo@36: # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which meillo@36: # is contrary to our usage. Disable this feature. meillo@36: alias -g '\${1+\"\$@\"}'='\"\$@\"' meillo@36: setopt NO_GLOB_SUBST meillo@36: else meillo@36: case \`(set -o) 2>/dev/null\` in #( meillo@36: *posix*) : meillo@36: set -o posix ;; #( meillo@36: *) : meillo@36: ;; meillo@36: esac meillo@36: fi meillo@36: " meillo@36: as_required="as_fn_return () { (exit \$1); } meillo@36: as_fn_success () { as_fn_return 0; } meillo@36: as_fn_failure () { as_fn_return 1; } meillo@36: as_fn_ret_success () { return 0; } meillo@36: as_fn_ret_failure () { return 1; } meillo@36: meillo@36: exitcode=0 meillo@36: as_fn_success || { exitcode=1; echo as_fn_success failed.; } meillo@36: as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } meillo@36: as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } meillo@36: as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } meillo@36: if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : meillo@36: meillo@36: else meillo@36: exitcode=1; echo positional parameters were not saved. meillo@36: fi meillo@36: test x\$exitcode = x0 || exit 1" meillo@36: as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO meillo@36: as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO meillo@36: eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && meillo@36: test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 meillo@36: test \$(( 1 + 1 )) = 2 || exit 1" meillo@36: if (eval "$as_required") 2>/dev/null; then : meillo@36: as_have_required=yes meillo@36: else meillo@36: as_have_required=no meillo@36: fi meillo@36: if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : meillo@36: meillo@36: else meillo@36: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR meillo@36: as_found=false meillo@36: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH meillo@1: do meillo@36: IFS=$as_save_IFS meillo@36: test -z "$as_dir" && as_dir=. meillo@36: as_found=: meillo@36: case $as_dir in #( meillo@36: /*) meillo@36: for as_base in sh bash ksh sh5; do meillo@36: # Try only shells that exist, to save several forks. meillo@36: as_shell=$as_dir/$as_base meillo@36: if { test -f "$as_shell" || test -f "$as_shell.exe"; } && meillo@36: { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : meillo@36: CONFIG_SHELL=$as_shell as_have_required=yes meillo@36: if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : meillo@36: break 2 meillo@36: fi meillo@36: fi meillo@36: done;; meillo@36: esac meillo@36: as_found=false meillo@36: done meillo@36: $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && meillo@36: { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : meillo@36: CONFIG_SHELL=$SHELL as_have_required=yes meillo@36: fi; } meillo@36: IFS=$as_save_IFS meillo@36: meillo@36: meillo@36: if test "x$CONFIG_SHELL" != x; then : meillo@36: # We cannot yet assume a decent shell, so we have to provide a meillo@36: # neutralization value for shells without unset; and this also meillo@36: # works around shells that cannot unset nonexistent variables. meillo@36: BASH_ENV=/dev/null meillo@36: ENV=/dev/null meillo@36: (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV meillo@36: export CONFIG_SHELL meillo@36: exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} meillo@36: fi meillo@36: meillo@36: if test x$as_have_required = xno; then : meillo@36: $as_echo "$0: This script requires a shell more modern than all" meillo@36: $as_echo "$0: the shells that I found on your system." meillo@36: if test x${ZSH_VERSION+set} = xset ; then meillo@36: $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" meillo@36: $as_echo "$0: be upgraded to zsh 4.3.4 or later." meillo@1: else meillo@36: $as_echo "$0: Please tell bug-autoconf@gnu.org and meillo@marmaro.de meillo@36: $0: about your system, including any error possibly output meillo@36: $0: before this message. Then install a modern shell, or meillo@36: $0: manually run the script under such a shell if you do meillo@36: $0: have one." meillo@0: fi meillo@36: exit 1 meillo@36: fi meillo@36: fi meillo@36: fi meillo@36: SHELL=${CONFIG_SHELL-/bin/sh} meillo@36: export SHELL meillo@36: # Unset more variables known to interfere with behavior of common tools. meillo@36: CLICOLOR_FORCE= GREP_OPTIONS= meillo@36: unset CLICOLOR_FORCE GREP_OPTIONS meillo@36: meillo@36: ## --------------------- ## meillo@36: ## M4sh Shell Functions. ## meillo@36: ## --------------------- ## meillo@36: # as_fn_unset VAR meillo@36: # --------------- meillo@36: # Portably unset VAR. meillo@36: as_fn_unset () meillo@36: { meillo@36: { eval $1=; unset $1;} meillo@36: } meillo@36: as_unset=as_fn_unset meillo@36: meillo@36: # as_fn_set_status STATUS meillo@36: # ----------------------- meillo@36: # Set $? to STATUS, without forking. meillo@36: as_fn_set_status () meillo@36: { meillo@36: return $1 meillo@36: } # as_fn_set_status meillo@36: meillo@36: # as_fn_exit STATUS meillo@36: # ----------------- meillo@36: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. meillo@36: as_fn_exit () meillo@36: { meillo@36: set +e meillo@36: as_fn_set_status $1 meillo@36: exit $1 meillo@36: } # as_fn_exit meillo@36: meillo@36: # as_fn_mkdir_p meillo@36: # ------------- meillo@36: # Create "$as_dir" as a directory, including parents if necessary. meillo@36: as_fn_mkdir_p () meillo@36: { meillo@36: meillo@36: case $as_dir in #( meillo@36: -*) as_dir=./$as_dir;; meillo@36: esac meillo@36: test -d "$as_dir" || eval $as_mkdir_p || { meillo@36: as_dirs= meillo@36: while :; do meillo@36: case $as_dir in #( meillo@36: *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( meillo@36: *) as_qdir=$as_dir;; meillo@36: esac meillo@36: as_dirs="'$as_qdir' $as_dirs" meillo@36: as_dir=`$as_dirname -- "$as_dir" || meillo@36: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ meillo@36: X"$as_dir" : 'X\(//\)[^/]' \| \ meillo@36: X"$as_dir" : 'X\(//\)$' \| \ meillo@36: X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || meillo@36: $as_echo X"$as_dir" | meillo@36: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ meillo@36: s//\1/ meillo@36: q meillo@36: } meillo@36: /^X\(\/\/\)[^/].*/{ meillo@36: s//\1/ meillo@36: q meillo@36: } meillo@36: /^X\(\/\/\)$/{ meillo@36: s//\1/ meillo@36: q meillo@36: } meillo@36: /^X\(\/\).*/{ meillo@36: s//\1/ meillo@36: q meillo@36: } meillo@36: s/.*/./; q'` meillo@36: test -d "$as_dir" && break meillo@36: done meillo@36: test -z "$as_dirs" || eval "mkdir $as_dirs" meillo@36: } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" meillo@36: meillo@36: meillo@36: } # as_fn_mkdir_p meillo@36: # as_fn_append VAR VALUE meillo@36: # ---------------------- meillo@36: # Append the text in VALUE to the end of the definition contained in VAR. Take meillo@36: # advantage of any shell optimizations that allow amortized linear growth over meillo@36: # repeated appends, instead of the typical quadratic growth present in naive meillo@36: # implementations. meillo@36: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : meillo@36: eval 'as_fn_append () meillo@36: { meillo@36: eval $1+=\$2 meillo@36: }' meillo@36: else meillo@36: as_fn_append () meillo@36: { meillo@36: eval $1=\$$1\$2 meillo@36: } meillo@36: fi # as_fn_append meillo@36: meillo@36: # as_fn_arith ARG... meillo@36: # ------------------ meillo@36: # Perform arithmetic evaluation on the ARGs, and store the result in the meillo@36: # global $as_val. Take advantage of shells that can avoid forks. The arguments meillo@36: # must be portable across $(()) and expr. meillo@36: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : meillo@36: eval 'as_fn_arith () meillo@36: { meillo@36: as_val=$(( $* )) meillo@36: }' meillo@36: else meillo@36: as_fn_arith () meillo@36: { meillo@36: as_val=`expr "$@" || test $? -eq 1` meillo@36: } meillo@36: fi # as_fn_arith meillo@36: meillo@36: meillo@36: # as_fn_error ERROR [LINENO LOG_FD] meillo@36: # --------------------------------- meillo@36: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are meillo@36: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the meillo@36: # script with status $?, using 1 if that was 0. meillo@36: as_fn_error () meillo@36: { meillo@36: as_status=$?; test $as_status -eq 0 && as_status=1 meillo@36: if test "$3"; then meillo@36: as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack meillo@36: $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 meillo@36: fi meillo@36: $as_echo "$as_me: error: $1" >&2 meillo@36: as_fn_exit $as_status meillo@36: } # as_fn_error meillo@36: 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@36: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then meillo@36: as_dirname=dirname meillo@36: else meillo@36: as_dirname=false meillo@36: fi meillo@36: 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@36: $as_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@36: # Avoid depending upon Character Ranges. meillo@36: as_cr_letters='abcdefghijklmnopqrstuvwxyz' meillo@36: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' meillo@36: as_cr_Letters=$as_cr_letters$as_cr_LETTERS meillo@36: as_cr_digits='0123456789' meillo@36: as_cr_alnum=$as_cr_Letters$as_cr_digits meillo@36: meillo@36: meillo@36: as_lineno_1=$LINENO as_lineno_1a=$LINENO meillo@36: as_lineno_2=$LINENO as_lineno_2a=$LINENO meillo@36: eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && meillo@36: test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { meillo@36: # Blame Lee 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@36: { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_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@1: ECHO_C= ECHO_N= ECHO_T= meillo@36: case `echo -n x` in #((((( meillo@1: -n*) meillo@36: case `echo 'xy\c'` in meillo@1: *c*) ECHO_T=' ';; # ECHO_T is single tab character. meillo@36: xy) ECHO_C='\c';; meillo@36: *) echo `echo ksh88 bug on AIX 6.1` > /dev/null meillo@36: ECHO_T=' ';; meillo@1: esac;; meillo@1: *) meillo@1: ECHO_N='-n';; meillo@0: esac 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@36: mkdir conf$$.dir 2>/dev/null meillo@36: fi meillo@36: if (echo >conf$$.file) 2>/dev/null; then meillo@36: if ln -s conf$$.file conf$$ 2>/dev/null; then meillo@36: as_ln_s='ln -s' meillo@36: # ... but there are two gotchas: meillo@36: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. meillo@36: # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. meillo@36: # In both cases, we have to default to `cp -p'. meillo@36: ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || meillo@36: as_ln_s='cp -p' meillo@36: elif ln conf$$.file conf$$ 2>/dev/null; then meillo@36: as_ln_s=ln meillo@36: else meillo@0: as_ln_s='cp -p' meillo@36: fi 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@36: as_mkdir_p='mkdir -p "$as_dir"' 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@36: test -d "$1/."; meillo@1: else meillo@36: case $1 in #( meillo@36: -*)set "./$1";; meillo@1: esac; meillo@36: 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@36: test -n "$DJDIR" || 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: meillo@0: # Identity of this package. meillo@0: PACKAGE_NAME='masqmail' meillo@0: PACKAGE_TARNAME='masqmail' meillo@123: PACKAGE_VERSION='0.2.25' meillo@123: PACKAGE_STRING='masqmail 0.2.25' meillo@36: PACKAGE_BUGREPORT='meillo@marmaro.de' meillo@36: PACKAGE_URL='' meillo@0: meillo@0: ac_unique_file="src/masqmail.c" 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@36: ac_subst_vars='am__EXEEXT_FALSE meillo@36: am__EXEEXT_TRUE meillo@36: LTLIBOBJS meillo@36: LIBOBJS meillo@36: with_confdir meillo@36: with_spooldir meillo@36: with_logdir meillo@36: USE_LIBLOCKFILE meillo@36: LOCKFILE_LIBS meillo@36: IDENT_LIBS meillo@36: has_ident meillo@36: MD5_LIBS meillo@36: BASE64_LIBS meillo@36: with_group meillo@36: with_user meillo@36: RESOLV_LIBS meillo@36: GLIB_LIBS meillo@36: GLIB_CFLAGS meillo@54: PKG_CONFIG_LIBDIR meillo@54: PKG_CONFIG_PATH meillo@36: PKG_CONFIG meillo@36: RANLIB meillo@36: EGREP meillo@36: GREP meillo@36: CPP meillo@36: am__fastdepCC_FALSE meillo@36: am__fastdepCC_TRUE meillo@36: CCDEPMODE meillo@36: AMDEPBACKSLASH meillo@36: AMDEP_FALSE meillo@36: AMDEP_TRUE meillo@36: am__quote meillo@36: am__include meillo@36: DEPDIR meillo@36: OBJEXT meillo@36: EXEEXT meillo@36: ac_ct_CC meillo@36: CPPFLAGS meillo@36: LDFLAGS meillo@36: CFLAGS meillo@36: CC meillo@36: am__untar meillo@36: am__tar meillo@36: AMTAR meillo@36: am__leading_dot meillo@36: SET_MAKE meillo@36: AWK meillo@36: mkdir_p meillo@36: MKDIR_P meillo@36: INSTALL_STRIP_PROGRAM meillo@36: STRIP meillo@36: install_sh meillo@36: MAKEINFO meillo@36: AUTOHEADER meillo@36: AUTOMAKE meillo@36: AUTOCONF meillo@36: ACLOCAL meillo@36: VERSION meillo@36: PACKAGE meillo@36: CYGPATH_W meillo@36: am__isrc meillo@36: INSTALL_DATA meillo@36: INSTALL_SCRIPT meillo@36: INSTALL_PROGRAM meillo@36: target_alias meillo@36: host_alias meillo@36: build_alias meillo@36: LIBS meillo@36: ECHO_T meillo@36: ECHO_N meillo@36: ECHO_C meillo@36: DEFS meillo@36: mandir meillo@36: localedir meillo@36: libdir meillo@36: psdir meillo@36: pdfdir meillo@36: dvidir meillo@36: htmldir meillo@36: infodir meillo@36: docdir meillo@36: oldincludedir meillo@36: includedir meillo@36: localstatedir meillo@36: sharedstatedir meillo@36: sysconfdir meillo@36: datadir meillo@36: datarootdir meillo@36: libexecdir meillo@36: sbindir meillo@36: bindir meillo@36: program_transform_name meillo@36: prefix meillo@36: exec_prefix meillo@36: PACKAGE_URL meillo@36: PACKAGE_BUGREPORT meillo@36: PACKAGE_STRING meillo@36: PACKAGE_VERSION meillo@36: PACKAGE_TARNAME meillo@36: PACKAGE_NAME meillo@1: PATH_SEPARATOR meillo@36: SHELL' meillo@36: ac_subst_files='' meillo@36: ac_user_opts=' meillo@36: enable_option_checking meillo@36: enable_dependency_tracking meillo@36: enable_resolver meillo@1: with_user meillo@1: with_group meillo@36: enable_debug meillo@36: with_glib_static meillo@36: enable_smtp_server meillo@36: enable_pop3 meillo@36: enable_auth meillo@36: enable_maildir meillo@36: with_libcrypto meillo@36: enable_ident meillo@36: enable_mserver meillo@36: with_liblockfile meillo@1: with_logdir meillo@1: with_spooldir meillo@1: with_confdir meillo@36: ' 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@54: PKG_CONFIG_PATH meillo@54: PKG_CONFIG_LIBDIR 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@36: ac_unrecognized_opts= meillo@36: ac_unrecognized_sep= 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@36: ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` meillo@0: # Reject names that are not valid shell variable names. meillo@36: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && meillo@36: as_fn_error "invalid feature name: $ac_useropt" meillo@36: ac_useropt_orig=$ac_useropt meillo@36: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` meillo@36: case $ac_user_opts in meillo@36: *" meillo@36: "enable_$ac_useropt" meillo@36: "*) ;; meillo@36: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" meillo@36: ac_unrecognized_sep=', ';; meillo@36: esac meillo@36: eval enable_$ac_useropt=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@36: ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` meillo@0: # Reject names that are not valid shell variable names. meillo@36: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && meillo@36: as_fn_error "invalid feature name: $ac_useropt" meillo@36: ac_useropt_orig=$ac_useropt meillo@36: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` meillo@36: case $ac_user_opts in meillo@36: *" meillo@36: "enable_$ac_useropt" meillo@36: "*) ;; meillo@36: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" meillo@36: ac_unrecognized_sep=', ';; meillo@36: esac meillo@36: eval enable_$ac_useropt=\$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@36: ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` meillo@0: # Reject names that are not valid shell variable names. meillo@36: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && meillo@36: as_fn_error "invalid package name: $ac_useropt" meillo@36: ac_useropt_orig=$ac_useropt meillo@36: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` meillo@36: case $ac_user_opts in meillo@36: *" meillo@36: "with_$ac_useropt" meillo@36: "*) ;; meillo@36: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" meillo@36: ac_unrecognized_sep=', ';; meillo@36: esac meillo@36: eval with_$ac_useropt=\$ac_optarg ;; meillo@0: meillo@0: -without-* | --without-*) meillo@36: ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` meillo@0: # Reject names that are not valid shell variable names. meillo@36: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && meillo@36: as_fn_error "invalid package name: $ac_useropt" meillo@36: ac_useropt_orig=$ac_useropt meillo@36: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` meillo@36: case $ac_user_opts in meillo@36: *" meillo@36: "with_$ac_useropt" meillo@36: "*) ;; meillo@36: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" meillo@36: ac_unrecognized_sep=', ';; meillo@36: esac meillo@36: eval with_$ac_useropt=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@36: -*) as_fn_error "unrecognized option: \`$ac_option' meillo@36: Try \`$0 --help' for more information." 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@36: case $ac_envvar in #( meillo@36: '' | [0-9]* | *[!_$as_cr_alnum]* ) meillo@36: as_fn_error "invalid variable name: \`$ac_envvar'" ;; meillo@36: esac 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@36: $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 meillo@0: expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && meillo@36: $as_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@36: as_fn_error "missing argument to $ac_option" meillo@36: fi meillo@36: meillo@36: if test -n "$ac_unrecognized_opts"; then meillo@36: case $enable_option_checking in meillo@36: no) ;; meillo@36: fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; meillo@36: *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; meillo@36: esac meillo@36: fi meillo@36: meillo@36: # Check all directory arguments for consistency. 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@36: # Remove trailing slashes. meillo@36: case $ac_val in meillo@36: */ ) meillo@36: ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` meillo@36: eval $ac_var=\$ac_val;; meillo@36: esac meillo@36: # Be sure to have absolute directory names. meillo@0: case $ac_val in meillo@1: [\\/$]* | ?:[\\/]* ) continue;; meillo@1: NONE | '' ) case $ac_var in *prefix ) continue;; esac;; meillo@0: esac meillo@36: as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" 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@36: $as_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@36: as_fn_error "working directory cannot be determined" meillo@1: test "X$ac_ls_di" = "X$ac_pwd_ls_di" || meillo@36: as_fn_error "pwd does not report name of working directory" 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@36: ac_confdir=`$as_dirname -- "$as_myself" || meillo@36: $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ meillo@36: X"$as_myself" : 'X\(//\)[^/]' \| \ meillo@36: X"$as_myself" : 'X\(//\)$' \| \ meillo@36: X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || meillo@36: $as_echo X"$as_myself" | 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@36: as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" meillo@1: fi meillo@1: ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" meillo@1: ac_abs_confdir=`( meillo@36: cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" 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@123: \`configure' configures masqmail 0.2.25 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@36: [$ac_default_prefix] meillo@0: --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX meillo@36: [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@36: --bindir=DIR user executables [EPREFIX/bin] meillo@36: --sbindir=DIR system admin executables [EPREFIX/sbin] meillo@36: --libexecdir=DIR program executables [EPREFIX/libexec] meillo@36: --sysconfdir=DIR read-only single-machine data [PREFIX/etc] meillo@36: --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] meillo@36: --localstatedir=DIR modifiable single-machine data [PREFIX/var] meillo@36: --libdir=DIR object code libraries [EPREFIX/lib] meillo@36: --includedir=DIR C header files [PREFIX/include] meillo@36: --oldincludedir=DIR C header files for non-gcc [/usr/include] meillo@36: --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] meillo@36: --datadir=DIR read-only architecture-independent data [DATAROOTDIR] meillo@36: --infodir=DIR info documentation [DATAROOTDIR/info] meillo@36: --localedir=DIR locale-dependent data [DATAROOTDIR/locale] meillo@36: --mandir=DIR man documentation [DATAROOTDIR/man] meillo@36: --docdir=DIR documentation root [DATAROOTDIR/doc/masqmail] meillo@36: --htmldir=DIR html documentation [DOCDIR] meillo@36: --dvidir=DIR dvi documentation [DOCDIR] meillo@36: --pdfdir=DIR pdf documentation [DOCDIR] meillo@36: --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@123: short | recursive ) echo "Configuration of masqmail 0.2.25:";; meillo@0: esac meillo@0: cat <<\_ACEOF meillo@0: meillo@0: Optional Features: meillo@36: --disable-option-checking ignore unrecognized --enable/--with options meillo@0: --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) meillo@0: --enable-FEATURE[=ARG] include FEATURE [ARG=yes] meillo@36: --disable-dependency-tracking speeds up one-time build meillo@36: --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@36: CPPFLAGS (Objective) C/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@54: PKG_CONFIG_PATH meillo@54: directories to add to pkg-config's search path meillo@54: PKG_CONFIG_LIBDIR meillo@54: path overriding pkg-config's built-in search path 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@36: 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@36: test -d "$ac_dir" || meillo@36: { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || meillo@36: 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@36: ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` meillo@1: # A ".." for each directory in $ac_dir_suffix. meillo@36: ac_top_builddir_sub=`$as_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@36: $as_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@123: masqmail configure 0.2.25 meillo@36: generated by GNU Autoconf 2.65 meillo@36: meillo@36: Copyright (C) 2009 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@36: meillo@36: ## ------------------------ ## meillo@36: ## Autoconf initialization. ## meillo@36: ## ------------------------ ## meillo@36: meillo@36: # ac_fn_c_try_compile LINENO meillo@36: # -------------------------- meillo@36: # Try to compile conftest.$ac_ext, and return whether this succeeded. meillo@36: ac_fn_c_try_compile () meillo@36: { meillo@36: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack meillo@36: rm -f conftest.$ac_objext meillo@36: if { { ac_try="$ac_compile" meillo@36: case "(($ac_try" in meillo@36: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; meillo@36: *) ac_try_echo=$ac_try;; meillo@36: esac meillo@36: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" meillo@36: $as_echo "$ac_try_echo"; } >&5 meillo@36: (eval "$ac_compile") 2>conftest.err meillo@36: ac_status=$? meillo@36: if test -s conftest.err; then meillo@36: grep -v '^ *+' conftest.err >conftest.er1 meillo@36: cat conftest.er1 >&5 meillo@36: mv -f conftest.er1 conftest.err meillo@36: fi meillo@36: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 meillo@36: test $ac_status = 0; } && { meillo@36: test -z "$ac_c_werror_flag" || meillo@36: test ! -s conftest.err meillo@36: } && test -s conftest.$ac_objext; then : meillo@36: ac_retval=0 meillo@36: else meillo@36: $as_echo "$as_me: failed program was:" >&5 meillo@36: sed 's/^/| /' conftest.$ac_ext >&5 meillo@36: meillo@36: ac_retval=1 meillo@36: fi meillo@36: eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} meillo@36: as_fn_set_status $ac_retval meillo@36: meillo@36: } # ac_fn_c_try_compile meillo@36: meillo@36: # ac_fn_c_try_link LINENO meillo@36: # ----------------------- meillo@36: # Try to link conftest.$ac_ext, and return whether this succeeded. meillo@36: ac_fn_c_try_link () meillo@36: { meillo@36: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack meillo@36: rm -f conftest.$ac_objext conftest$ac_exeext meillo@36: if { { ac_try="$ac_link" meillo@36: case "(($ac_try" in meillo@36: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; meillo@36: *) ac_try_echo=$ac_try;; meillo@36: esac meillo@36: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" meillo@36: $as_echo "$ac_try_echo"; } >&5 meillo@36: (eval "$ac_link") 2>conftest.err meillo@36: ac_status=$? meillo@36: if test -s conftest.err; then meillo@36: grep -v '^ *+' conftest.err >conftest.er1 meillo@36: cat conftest.er1 >&5 meillo@36: mv -f conftest.er1 conftest.err meillo@36: fi meillo@36: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 meillo@36: test $ac_status = 0; } && { meillo@36: test -z "$ac_c_werror_flag" || meillo@36: test ! -s conftest.err meillo@36: } && test -s conftest$ac_exeext && { meillo@36: test "$cross_compiling" = yes || meillo@36: $as_test_x conftest$ac_exeext meillo@36: }; then : meillo@36: ac_retval=0 meillo@36: else meillo@36: $as_echo "$as_me: failed program was:" >&5 meillo@36: sed 's/^/| /' conftest.$ac_ext >&5 meillo@36: meillo@36: ac_retval=1 meillo@36: fi meillo@36: # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information meillo@36: # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would meillo@36: # interfere with the next link command; also delete a directory that is meillo@36: # left behind by Apple's compiler. We do this before executing the actions. meillo@36: rm -rf conftest.dSYM conftest_ipa8_conftest.oo meillo@36: eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} meillo@36: as_fn_set_status $ac_retval meillo@36: meillo@36: } # ac_fn_c_try_link meillo@36: meillo@36: # ac_fn_c_try_cpp LINENO meillo@36: # ---------------------- meillo@36: # Try to preprocess conftest.$ac_ext, and return whether this succeeded. meillo@36: ac_fn_c_try_cpp () meillo@36: { meillo@36: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack meillo@36: if { { ac_try="$ac_cpp conftest.$ac_ext" meillo@36: case "(($ac_try" in meillo@36: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; meillo@36: *) ac_try_echo=$ac_try;; meillo@36: esac meillo@36: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" meillo@36: $as_echo "$ac_try_echo"; } >&5 meillo@36: (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err meillo@36: ac_status=$? meillo@36: if test -s conftest.err; then meillo@36: grep -v '^ *+' conftest.err >conftest.er1 meillo@36: cat conftest.er1 >&5 meillo@36: mv -f conftest.er1 conftest.err meillo@36: fi meillo@36: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 meillo@36: test $ac_status = 0; } >/dev/null && { meillo@36: test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || meillo@36: test ! -s conftest.err meillo@36: }; then : meillo@36: ac_retval=0 meillo@36: else meillo@36: $as_echo "$as_me: failed program was:" >&5 meillo@36: sed 's/^/| /' conftest.$ac_ext >&5 meillo@36: meillo@36: ac_retval=1 meillo@36: fi meillo@36: eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} meillo@36: as_fn_set_status $ac_retval meillo@36: meillo@36: } # ac_fn_c_try_cpp meillo@36: meillo@36: # ac_fn_c_try_run LINENO meillo@36: # ---------------------- meillo@36: # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes meillo@36: # that executables *can* be run. meillo@36: ac_fn_c_try_run () meillo@36: { meillo@36: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack meillo@36: if { { ac_try="$ac_link" meillo@36: case "(($ac_try" in meillo@36: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; meillo@36: *) ac_try_echo=$ac_try;; meillo@36: esac meillo@36: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" meillo@36: $as_echo "$ac_try_echo"; } >&5 meillo@36: (eval "$ac_link") 2>&5 meillo@36: ac_status=$? meillo@36: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 meillo@36: test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' meillo@36: { { case "(($ac_try" in meillo@36: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; meillo@36: *) ac_try_echo=$ac_try;; meillo@36: esac meillo@36: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" meillo@36: $as_echo "$ac_try_echo"; } >&5 meillo@36: (eval "$ac_try") 2>&5 meillo@36: ac_status=$? meillo@36: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 meillo@36: test $ac_status = 0; }; }; then : meillo@36: ac_retval=0 meillo@36: else meillo@36: $as_echo "$as_me: program exited with status $ac_status" >&5 meillo@36: $as_echo "$as_me: failed program was:" >&5 meillo@36: sed 's/^/| /' conftest.$ac_ext >&5 meillo@36: meillo@36: ac_retval=$ac_status meillo@36: fi meillo@36: rm -rf conftest.dSYM conftest_ipa8_conftest.oo meillo@36: eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} meillo@36: as_fn_set_status $ac_retval meillo@36: meillo@36: } # ac_fn_c_try_run meillo@36: meillo@36: # ac_fn_c_check_func LINENO FUNC VAR meillo@36: # ---------------------------------- meillo@36: # Tests whether FUNC exists, setting the cache variable VAR accordingly meillo@36: ac_fn_c_check_func () meillo@36: { meillo@36: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack meillo@36: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 meillo@36: $as_echo_n "checking for $2... " >&6; } meillo@36: if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : meillo@36: $as_echo_n "(cached) " >&6 meillo@36: else meillo@36: cat confdefs.h - <<_ACEOF >conftest.$ac_ext meillo@36: /* end confdefs.h. */ meillo@36: /* Define $2 to an innocuous variant, in case declares $2. meillo@36: For example, HP-UX 11i declares gettimeofday. */ meillo@36: #define $2 innocuous_$2 meillo@36: meillo@36: /* System header to define __stub macros and hopefully few prototypes, meillo@36: which can conflict with char $2 (); below. meillo@36: Prefer to if __STDC__ is defined, since meillo@36: exists even on freestanding compilers. */ meillo@36: meillo@36: #ifdef __STDC__ meillo@36: # include meillo@36: #else meillo@36: # include meillo@36: #endif meillo@36: meillo@36: #undef $2 meillo@36: meillo@36: /* Override any GCC internal prototype to avoid an error. meillo@36: Use char because int might match the return type of a GCC meillo@36: builtin and then its argument prototype would still apply. */ meillo@36: #ifdef __cplusplus meillo@36: extern "C" meillo@36: #endif meillo@36: char $2 (); meillo@36: /* The GNU C library defines this for functions which it implements meillo@36: to always fail with ENOSYS. Some functions are actually named meillo@36: something starting with __ and the normal name is an alias. */ meillo@36: #if defined __stub_$2 || defined __stub___$2 meillo@36: choke me meillo@36: #endif meillo@36: meillo@36: int meillo@36: main () meillo@36: { meillo@36: return $2 (); meillo@36: ; meillo@36: return 0; meillo@36: } meillo@36: _ACEOF meillo@36: if ac_fn_c_try_link "$LINENO"; then : meillo@36: eval "$3=yes" meillo@36: else meillo@36: eval "$3=no" meillo@36: fi meillo@36: rm -f core conftest.err conftest.$ac_objext \ meillo@36: conftest$ac_exeext conftest.$ac_ext meillo@36: fi meillo@36: eval ac_res=\$$3 meillo@36: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 meillo@36: $as_echo "$ac_res" >&6; } meillo@36: eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} meillo@36: meillo@36: } # ac_fn_c_check_func meillo@36: meillo@36: # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES meillo@36: # ------------------------------------------------------- meillo@36: # Tests whether HEADER exists, giving a warning if it cannot be compiled using meillo@36: # the include files in INCLUDES and setting the cache variable VAR meillo@36: # accordingly. meillo@36: ac_fn_c_check_header_mongrel () meillo@36: { meillo@36: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack meillo@36: if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : meillo@36: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 meillo@36: $as_echo_n "checking for $2... " >&6; } meillo@36: if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : meillo@36: $as_echo_n "(cached) " >&6 meillo@36: fi meillo@36: eval ac_res=\$$3 meillo@36: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 meillo@36: $as_echo "$ac_res" >&6; } meillo@36: else meillo@36: # Is the header compilable? meillo@36: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 meillo@36: $as_echo_n "checking $2 usability... " >&6; } meillo@36: cat confdefs.h - <<_ACEOF >conftest.$ac_ext meillo@36: /* end confdefs.h. */ meillo@36: $4 meillo@36: #include <$2> meillo@36: _ACEOF meillo@36: if ac_fn_c_try_compile "$LINENO"; then : meillo@36: ac_header_compiler=yes meillo@36: else meillo@36: ac_header_compiler=no meillo@36: fi meillo@36: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext meillo@36: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 meillo@36: $as_echo "$ac_header_compiler" >&6; } meillo@36: meillo@36: # Is the header present? meillo@36: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 meillo@36: $as_echo_n "checking $2 presence... " >&6; } meillo@36: cat confdefs.h - <<_ACEOF >conftest.$ac_ext meillo@36: /* end confdefs.h. */ meillo@36: #include <$2> meillo@36: _ACEOF meillo@36: if ac_fn_c_try_cpp "$LINENO"; then : meillo@36: ac_header_preproc=yes meillo@36: else meillo@36: ac_header_preproc=no meillo@36: fi meillo@36: rm -f conftest.err conftest.$ac_ext meillo@36: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 meillo@36: $as_echo "$ac_header_preproc" >&6; } meillo@36: meillo@36: # So? What about this header? meillo@36: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( meillo@36: yes:no: ) meillo@36: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 meillo@36: $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} meillo@36: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 meillo@36: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} meillo@36: ;; meillo@36: no:yes:* ) meillo@36: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 meillo@36: $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} meillo@36: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 meillo@36: $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} meillo@36: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 meillo@36: $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} meillo@36: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 meillo@36: $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} meillo@36: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 meillo@36: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} meillo@36: ( cat <<\_ASBOX meillo@36: ## -------------------------------- ## meillo@36: ## Report this to meillo@marmaro.de ## meillo@36: ## -------------------------------- ## meillo@36: _ASBOX meillo@36: ) | sed "s/^/$as_me: WARNING: /" >&2 meillo@36: ;; meillo@36: esac meillo@36: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 meillo@36: $as_echo_n "checking for $2... " >&6; } meillo@36: if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : meillo@36: $as_echo_n "(cached) " >&6 meillo@36: else meillo@36: eval "$3=\$ac_header_compiler" meillo@36: fi meillo@36: eval ac_res=\$$3 meillo@36: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 meillo@36: $as_echo "$ac_res" >&6; } meillo@36: fi meillo@36: eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} meillo@36: meillo@36: } # ac_fn_c_check_header_mongrel meillo@36: meillo@36: # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES meillo@36: # ------------------------------------------------------- meillo@36: # Tests whether HEADER exists and can be compiled using the include files in meillo@36: # INCLUDES, setting the cache variable VAR accordingly. meillo@36: ac_fn_c_check_header_compile () meillo@36: { meillo@36: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack meillo@36: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 meillo@36: $as_echo_n "checking for $2... " >&6; } meillo@36: if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : meillo@36: $as_echo_n "(cached) " >&6 meillo@36: else meillo@36: cat confdefs.h - <<_ACEOF >conftest.$ac_ext meillo@36: /* end confdefs.h. */ meillo@36: $4 meillo@36: #include <$2> meillo@36: _ACEOF meillo@36: if ac_fn_c_try_compile "$LINENO"; then : meillo@36: eval "$3=yes" meillo@36: else meillo@36: eval "$3=no" meillo@36: fi meillo@36: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext meillo@36: fi meillo@36: eval ac_res=\$$3 meillo@36: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 meillo@36: $as_echo "$ac_res" >&6; } meillo@36: eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} meillo@36: meillo@36: } # ac_fn_c_check_header_compile meillo@36: meillo@36: # ac_fn_c_check_type LINENO TYPE VAR INCLUDES meillo@36: # ------------------------------------------- meillo@36: # Tests whether TYPE exists after having included INCLUDES, setting cache meillo@36: # variable VAR accordingly. meillo@36: ac_fn_c_check_type () meillo@36: { meillo@36: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack meillo@36: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 meillo@36: $as_echo_n "checking for $2... " >&6; } meillo@36: if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : meillo@36: $as_echo_n "(cached) " >&6 meillo@36: else meillo@36: eval "$3=no" meillo@36: cat confdefs.h - <<_ACEOF >conftest.$ac_ext meillo@36: /* end confdefs.h. */ meillo@36: $4 meillo@36: int meillo@36: main () meillo@36: { meillo@36: if (sizeof ($2)) meillo@36: return 0; meillo@36: ; meillo@36: return 0; meillo@36: } meillo@36: _ACEOF meillo@36: if ac_fn_c_try_compile "$LINENO"; then : meillo@36: cat confdefs.h - <<_ACEOF >conftest.$ac_ext meillo@36: /* end confdefs.h. */ meillo@36: $4 meillo@36: int meillo@36: main () meillo@36: { meillo@36: if (sizeof (($2))) meillo@36: return 0; meillo@36: ; meillo@36: return 0; meillo@36: } meillo@36: _ACEOF meillo@36: if ac_fn_c_try_compile "$LINENO"; then : meillo@36: meillo@36: else meillo@36: eval "$3=yes" meillo@36: fi meillo@36: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext meillo@36: fi meillo@36: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext meillo@36: fi meillo@36: eval ac_res=\$$3 meillo@36: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 meillo@36: $as_echo "$ac_res" >&6; } meillo@36: eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} meillo@36: meillo@36: } # ac_fn_c_check_type 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@123: It was created by masqmail $as_me 0.2.25, which was meillo@36: generated by GNU Autoconf 2.65. 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@36: $as_echo "PATH: $as_dir" meillo@36: 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@36: ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; meillo@0: esac meillo@0: case $ac_pass in meillo@36: 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; meillo@0: 2) meillo@36: as_fn_append 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@36: as_fn_append ac_configure_args " '$ac_arg'" meillo@0: ;; meillo@0: esac meillo@0: done meillo@0: done meillo@36: { ac_configure_args0=; unset ac_configure_args0;} meillo@36: { ac_configure_args1=; unset 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@36: *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 meillo@36: $as_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@36: BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( meillo@36: *) { eval $ac_var=; 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@36: *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; meillo@1: esac meillo@36: $as_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@36: *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; meillo@1: esac meillo@36: $as_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@36: $as_echo "$as_me: caught signal $ac_signal" meillo@36: $as_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@36: trap 'ac_signal='$ac_signal'; as_fn_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@36: $as_echo "/* confdefs.h */" > confdefs.h meillo@36: 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: cat >>confdefs.h <<_ACEOF meillo@0: #define PACKAGE_TARNAME "$PACKAGE_TARNAME" meillo@0: _ACEOF meillo@0: meillo@0: cat >>confdefs.h <<_ACEOF meillo@0: #define PACKAGE_VERSION "$PACKAGE_VERSION" meillo@0: _ACEOF meillo@0: meillo@0: cat >>confdefs.h <<_ACEOF meillo@0: #define PACKAGE_STRING "$PACKAGE_STRING" meillo@0: _ACEOF meillo@0: meillo@0: cat >>confdefs.h <<_ACEOF meillo@0: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" meillo@0: _ACEOF meillo@0: meillo@36: cat >>confdefs.h <<_ACEOF meillo@36: #define PACKAGE_URL "$PACKAGE_URL" meillo@36: _ACEOF meillo@36: meillo@0: meillo@0: # Let the site file select an alternate cache file if it wants to. meillo@36: # Prefer an explicitly selected file to automatically selected ones. meillo@36: ac_site_file1=NONE meillo@36: ac_site_file2=NONE meillo@1: if test -n "$CONFIG_SITE"; then meillo@36: ac_site_file1=$CONFIG_SITE meillo@1: elif test "x$prefix" != xNONE; then meillo@36: ac_site_file1=$prefix/share/config.site meillo@36: ac_site_file2=$prefix/etc/config.site meillo@36: else meillo@36: ac_site_file1=$ac_default_prefix/share/config.site meillo@36: ac_site_file2=$ac_default_prefix/etc/config.site meillo@36: fi meillo@36: for ac_site_file in "$ac_site_file1" "$ac_site_file2" meillo@1: do meillo@36: test "x$ac_site_file" = xNONE && continue meillo@36: if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then meillo@36: { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 meillo@36: $as_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@36: # Some versions of bash will fail to source /dev/null (special files meillo@36: # actually), so we avoid doing that. DJGPP emulates it as a regular file. meillo@36: if test /dev/null != "$cache_file" && test -f "$cache_file"; then meillo@36: { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 meillo@36: $as_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@36: { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 meillo@36: $as_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@36: { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 meillo@36: $as_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@36: { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 meillo@36: $as_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@36: # differences in whitespace do not lead to failure. meillo@36: ac_old_val_w=`echo x $ac_old_val` meillo@36: ac_new_val_w=`echo x $ac_new_val` meillo@36: if test "$ac_old_val_w" != "$ac_new_val_w"; then meillo@36: { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 meillo@36: $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} meillo@36: ac_cache_corrupted=: meillo@36: else meillo@36: { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 meillo@36: $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} meillo@36: eval $ac_var=\$ac_old_val meillo@36: fi meillo@36: { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 meillo@36: $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} meillo@36: { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 meillo@36: $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 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@36: *\'*) ac_arg=$ac_var=`$as_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@36: *) as_fn_append ac_configure_args " '$ac_arg'" ;; meillo@0: esac meillo@0: fi meillo@0: done meillo@0: if $ac_cache_corrupted; then meillo@36: { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 meillo@36: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} meillo@36: { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 meillo@36: $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} meillo@36: as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 meillo@36: fi meillo@36: ## -------------------- ## meillo@36: ## Main body of script. ## meillo@36: ## -------------------- ## 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@36: am__api_version='1.11' meillo@36: meillo@0: ac_aux_dir= meillo@1: for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do meillo@36: for ac_t in install-sh install.sh shtool; do meillo@36: if test -f "$ac_dir/$ac_t"; then meillo@36: ac_aux_dir=$ac_dir meillo@36: ac_install_sh="$ac_aux_dir/$ac_t -c" meillo@36: break 2 meillo@36: fi meillo@36: done meillo@0: done meillo@0: if test -z "$ac_aux_dir"; then meillo@36: as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 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@36: # Reject install programs that cannot install multiple files. meillo@36: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 meillo@36: $as_echo_n "checking for a BSD-compatible install... " >&6; } meillo@0: if test -z "$INSTALL"; then meillo@36: if test "${ac_cv_path_install+set}" = set; then : meillo@36: $as_echo_n "(cached) " >&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@36: # Account for people who put trailing slashes in PATH elements. meillo@36: case $as_dir/ in #(( meillo@36: ./ | .// | /[cC]/* | \ meillo@0: /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ meillo@36: ?:[\\/]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@36: rm -rf conftest.one conftest.two conftest.dir meillo@36: echo one > conftest.one meillo@36: echo two > conftest.two meillo@36: mkdir conftest.dir meillo@36: if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && meillo@36: test -s conftest.one && test -s conftest.two && meillo@36: test -s conftest.dir/conftest.one && meillo@36: test -s conftest.dir/conftest.two meillo@36: then meillo@36: ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" meillo@36: break 3 meillo@36: fi meillo@0: fi meillo@0: fi meillo@0: done meillo@0: done meillo@0: ;; meillo@0: esac meillo@36: meillo@36: done meillo@1: IFS=$as_save_IFS meillo@0: meillo@36: rm -rf conftest.one conftest.two conftest.dir 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@36: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 meillo@36: $as_echo "$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@36: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 meillo@36: $as_echo_n "checking whether build environment is sane... " >&6; } meillo@0: # Just in case meillo@0: sleep 1 meillo@0: echo timestamp > conftest.file meillo@36: # Reject unsafe characters in $srcdir or the absolute working directory meillo@36: # name. Accept space and tab only in the latter. meillo@36: am_lf=' meillo@36: ' meillo@36: case `pwd` in meillo@36: *[\\\"\#\$\&\'\`$am_lf]*) meillo@36: as_fn_error "unsafe absolute working directory name" "$LINENO" 5;; meillo@36: esac meillo@36: case $srcdir in meillo@36: *[\\\"\#\$\&\'\`$am_lf\ \ ]*) meillo@36: as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; meillo@36: esac meillo@36: 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@36: set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` meillo@0: if test "$*" = "X"; then meillo@0: # -L didn't work. meillo@36: 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@36: as_fn_error "ls -t appears to fail. Make sure there is not a broken meillo@36: alias in your environment" "$LINENO" 5 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@36: as_fn_error "newly created file is older than distributed files! meillo@36: Check your system clock" "$LINENO" 5 meillo@36: fi meillo@36: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 meillo@36: $as_echo "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@36: # Double any \ or $. meillo@0: # By default was `s,x,x', remove it if useless. meillo@36: ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' meillo@36: program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 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@36: if test x"${MISSING+set}" != xset; then meillo@36: case $am_aux_dir in meillo@36: *\ * | *\ *) meillo@36: MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; meillo@36: *) meillo@36: MISSING="\${SHELL} $am_aux_dir/missing" ;; meillo@36: esac meillo@36: fi 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@36: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 meillo@36: $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} meillo@36: fi meillo@36: meillo@36: if test x"${install_sh}" != xset; then meillo@36: case $am_aux_dir in meillo@36: *\ * | *\ *) meillo@36: install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; meillo@36: *) meillo@36: install_sh="\${SHELL} $am_aux_dir/install-sh" meillo@36: esac meillo@36: fi meillo@36: meillo@36: # Installed binaries are usually stripped using `strip' when the user meillo@36: # run `make install-strip'. However `strip' might not be the right meillo@36: # tool to use in cross-compilation environments, therefore Automake meillo@36: # will honor the `STRIP' environment variable to overrule this program. meillo@36: if test "$cross_compiling" != no; then meillo@36: if test -n "$ac_tool_prefix"; then meillo@36: # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. meillo@36: set dummy ${ac_tool_prefix}strip; ac_word=$2 meillo@36: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 meillo@36: $as_echo_n "checking for $ac_word... " >&6; } meillo@36: if test "${ac_cv_prog_STRIP+set}" = set; then : meillo@36: $as_echo_n "(cached) " >&6 meillo@36: else meillo@36: if test -n "$STRIP"; then meillo@36: 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@36: 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@36: ac_cv_prog_STRIP="${ac_tool_prefix}strip" meillo@36: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 meillo@0: break 2 meillo@0: fi meillo@0: done meillo@36: done meillo@36: IFS=$as_save_IFS meillo@36: meillo@36: fi meillo@36: fi meillo@36: STRIP=$ac_cv_prog_STRIP meillo@36: if test -n "$STRIP"; then meillo@36: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 meillo@36: $as_echo "$STRIP" >&6; } meillo@36: else meillo@36: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 meillo@36: $as_echo "no" >&6; } meillo@36: fi meillo@36: meillo@36: meillo@36: fi meillo@36: if test -z "$ac_cv_prog_STRIP"; then meillo@36: ac_ct_STRIP=$STRIP meillo@36: # Extract the first word of "strip", so it can be a program name with args. meillo@36: set dummy strip; ac_word=$2 meillo@36: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 meillo@36: $as_echo_n "checking for $ac_word... " >&6; } meillo@36: if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : meillo@36: $as_echo_n "(cached) " >&6 meillo@36: else meillo@36: if test -n "$ac_ct_STRIP"; then meillo@36: ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. meillo@36: else meillo@36: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR meillo@36: for as_dir in $PATH meillo@36: do meillo@36: IFS=$as_save_IFS meillo@36: test -z "$as_dir" && as_dir=. meillo@36: for ac_exec_ext in '' $ac_executable_extensions; do meillo@36: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then meillo@36: ac_cv_prog_ac_ct_STRIP="strip" meillo@36: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 meillo@36: break 2 meillo@36: fi meillo@0: done meillo@36: done meillo@36: IFS=$as_save_IFS meillo@36: meillo@36: fi meillo@36: fi meillo@36: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP meillo@36: if test -n "$ac_ct_STRIP"; then meillo@36: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 meillo@36: $as_echo "$ac_ct_STRIP" >&6; } meillo@36: else meillo@36: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 meillo@36: $as_echo "no" >&6; } meillo@36: fi meillo@36: meillo@36: if test "x$ac_ct_STRIP" = x; then meillo@36: STRIP=":" meillo@36: else meillo@36: case $cross_compiling:$ac_tool_warned in meillo@36: yes:) meillo@36: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 meillo@36: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} meillo@36: ac_tool_warned=yes ;; meillo@36: esac meillo@36: STRIP=$ac_ct_STRIP meillo@36: fi meillo@36: else meillo@36: STRIP="$ac_cv_prog_STRIP" meillo@36: fi meillo@36: meillo@36: fi meillo@36: INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" meillo@36: meillo@36: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 meillo@36: $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } meillo@36: if test -z "$MKDIR_P"; then meillo@36: if test "${ac_cv_path_mkdir+set}" = set; then : meillo@36: $as_echo_n "(cached) " >&6 meillo@36: else meillo@36: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR meillo@36: for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin meillo@36: do meillo@36: IFS=$as_save_IFS meillo@36: test -z "$as_dir" && as_dir=. meillo@36: for ac_prog in mkdir gmkdir; do meillo@36: for ac_exec_ext in '' $ac_executable_extensions; do meillo@36: { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue meillo@36: case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( meillo@36: 'mkdir (GNU coreutils) '* | \ meillo@36: 'mkdir (coreutils) '* | \ meillo@36: 'mkdir (fileutils) '4.1*) meillo@36: ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext meillo@36: break 3;; meillo@36: esac meillo@36: done meillo@36: done meillo@36: done meillo@36: IFS=$as_save_IFS meillo@36: meillo@36: fi meillo@36: meillo@36: test -d ./--version && rmdir ./--version meillo@36: if test "${ac_cv_path_mkdir+set}" = set; then meillo@36: MKDIR_P="$ac_cv_path_mkdir -p" meillo@36: else meillo@36: # As a last resort, use the slow shell script. Don't cache a meillo@36: # value for MKDIR_P within a source directory, because that will meillo@36: # break other packages using the cache if that directory is meillo@36: # removed, or if the value is a relative name. meillo@36: MKDIR_P="$ac_install_sh -d" meillo@36: fi meillo@36: fi meillo@36: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 meillo@36: $as_echo "$MKDIR_P" >&6; } meillo@36: meillo@36: mkdir_p="$MKDIR_P" meillo@36: case $mkdir_p in meillo@36: [\\/$]* | ?:[\\/]*) ;; meillo@36: */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; meillo@36: esac meillo@36: meillo@36: for ac_prog in gawk mawk nawk awk meillo@36: do meillo@36: # Extract the first word of "$ac_prog", so it can be a program name with args. meillo@36: set dummy $ac_prog; ac_word=$2 meillo@36: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 meillo@36: $as_echo_n "checking for $ac_word... " >&6; } meillo@36: if test "${ac_cv_prog_AWK+set}" = set; then : meillo@36: $as_echo_n "(cached) " >&6 meillo@36: else meillo@36: if test -n "$AWK"; then meillo@36: ac_cv_prog_AWK="$AWK" # Let the user override the test. meillo@36: else meillo@36: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR meillo@36: for as_dir in $PATH meillo@36: do meillo@36: IFS=$as_save_IFS meillo@36: test -z "$as_dir" && as_dir=. meillo@36: for ac_exec_ext in '' $ac_executable_extensions; do meillo@36: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then meillo@36: ac_cv_prog_AWK="$ac_prog" meillo@36: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 meillo@36: break 2 meillo@36: fi meillo@36: done meillo@36: 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@36: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 meillo@36: $as_echo "$AWK" >&6; } meillo@36: else meillo@36: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 meillo@36: $as_echo "no" >&6; } meillo@1: fi meillo@1: meillo@0: meillo@0: test -n "$AWK" && break meillo@0: done meillo@0: meillo@36: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 meillo@36: $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } meillo@36: set x ${MAKE-make} meillo@36: ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` meillo@36: if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then : meillo@36: $as_echo_n "(cached) " >&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@36: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 meillo@36: $as_echo "yes" >&6; } meillo@0: SET_MAKE= meillo@0: else meillo@36: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 meillo@36: $as_echo "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@36: if test "`cd $srcdir && pwd`" != "`pwd`"; then meillo@36: # Use -I$(srcdir) only when $(srcdir) != ., so that make's output meillo@36: # is not polluted with repeated "-I." meillo@36: am__isrc=' -I$(srcdir)' meillo@36: # test to see if srcdir already configured meillo@36: if test -f $srcdir/config.status; then meillo@36: as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 meillo@36: fi 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@123: VERSION='0.2.25' 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: # We need awk for the "check" target. The system "awk" is bad on meillo@0: # some platforms. meillo@36: # Always define AMTAR for backward compatibility. meillo@36: meillo@36: AMTAR=${AMTAR-"${am_missing_run}tar"} meillo@36: meillo@36: am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' meillo@36: meillo@36: 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@36: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 meillo@36: $as_echo_n "checking for $ac_word... " >&6; } meillo@36: if test "${ac_cv_prog_CC+set}" = set; then : meillo@36: $as_echo_n "(cached) " >&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@36: 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@36: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 meillo@0: break 2 meillo@0: fi meillo@0: done meillo@36: 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@36: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 meillo@36: $as_echo "$CC" >&6; } meillo@36: else meillo@36: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 meillo@36: $as_echo "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@36: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 meillo@36: $as_echo_n "checking for $ac_word... " >&6; } meillo@36: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : meillo@36: $as_echo_n "(cached) " >&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@36: 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@36: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 meillo@0: break 2 meillo@0: fi meillo@0: done meillo@36: 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@36: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 meillo@36: $as_echo "$ac_ct_CC" >&6; } meillo@36: else meillo@36: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 meillo@36: $as_echo "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@36: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 meillo@36: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&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@36: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 meillo@36: $as_echo_n "checking for $ac_word... " >&6; } meillo@36: if test "${ac_cv_prog_CC+set}" = set; then : meillo@36: $as_echo_n "(cached) " >&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@36: 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@36: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 meillo@0: break 2 meillo@0: fi meillo@0: done meillo@36: 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@36: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 meillo@36: $as_echo "$CC" >&6; } meillo@36: else meillo@36: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 meillo@36: $as_echo "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@36: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 meillo@36: $as_echo_n "checking for $ac_word... " >&6; } meillo@36: if test "${ac_cv_prog_CC+set}" = set; then : meillo@36: $as_echo_n "(cached) " >&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@36: 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@36: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 meillo@0: break 2 meillo@0: fi meillo@0: done meillo@36: 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@36: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 meillo@36: $as_echo "$CC" >&6; } meillo@36: else meillo@36: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 meillo@36: $as_echo "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@36: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 meillo@36: $as_echo_n "checking for $ac_word... " >&6; } meillo@36: if test "${ac_cv_prog_CC+set}" = set; then : meillo@36: $as_echo_n "(cached) " >&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@36: 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@36: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 meillo@0: break 2 meillo@0: fi meillo@0: done meillo@36: 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@36: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 meillo@36: $as_echo "$CC" >&6; } meillo@36: else meillo@36: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 meillo@36: $as_echo "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@36: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 meillo@36: $as_echo_n "checking for $ac_word... " >&6; } meillo@36: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : meillo@36: $as_echo_n "(cached) " >&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@36: 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@36: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 meillo@0: break 2 meillo@0: fi meillo@0: done meillo@36: 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@36: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 meillo@36: $as_echo "$ac_ct_CC" >&6; } meillo@36: else meillo@36: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 meillo@36: $as_echo "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@36: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 meillo@36: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&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@36: test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 meillo@36: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} meillo@36: as_fn_error "no acceptable C compiler found in \$PATH meillo@36: See \`config.log' for more details." "$LINENO" 5; } meillo@0: meillo@0: # Provide some information about the compiler. meillo@36: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 meillo@36: set X $ac_compile meillo@36: ac_compiler=$2 meillo@36: for ac_option in --version -v -V -qversion; do meillo@36: { { ac_try="$ac_compiler $ac_option >&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@36: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" meillo@36: $as_echo "$ac_try_echo"; } >&5 meillo@36: (eval "$ac_compiler $ac_option >&5") 2>conftest.err meillo@0: ac_status=$? meillo@36: if test -s conftest.err; then meillo@36: sed '10a\ meillo@36: ... rest of stderr output deleted ... meillo@36: 10q' conftest.err >conftest.er1 meillo@36: cat conftest.er1 >&5 meillo@36: fi meillo@36: rm -f conftest.er1 conftest.err meillo@36: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 meillo@36: test $ac_status = 0; } meillo@36: done meillo@36: meillo@36: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 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@36: ac_clean_files="$ac_clean_files a.out a.out.dSYM 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@36: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 meillo@36: $as_echo_n "checking whether the C compiler works... " >&6; } meillo@36: ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` meillo@36: meillo@36: # The possible output files: meillo@36: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" meillo@36: meillo@1: ac_rmfiles= meillo@1: for ac_file in $ac_files meillo@1: do meillo@1: case $ac_file in meillo@36: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.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@36: 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@36: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" meillo@36: $as_echo "$ac_try_echo"; } >&5 meillo@1: (eval "$ac_link_default") 2>&5 meillo@0: ac_status=$? meillo@36: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 meillo@36: test $ac_status = 0; }; 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@36: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.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@36: 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@36: if test -z "$ac_file"; then : meillo@36: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 meillo@36: $as_echo "no" >&6; } meillo@36: $as_echo "$as_me: failed program was:" >&5 meillo@0: sed 's/^/| /' conftest.$ac_ext >&5 meillo@0: meillo@36: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 meillo@36: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} meillo@36: { as_fn_set_status 77 meillo@36: as_fn_error "C compiler cannot create executables meillo@36: See \`config.log' for more details." "$LINENO" 5; }; } meillo@36: else meillo@36: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 meillo@36: $as_echo "yes" >&6; } meillo@36: fi meillo@36: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 meillo@36: $as_echo_n "checking for C compiler default output file name... " >&6; } meillo@36: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 meillo@36: $as_echo "$ac_file" >&6; } meillo@0: ac_exeext=$ac_cv_exeext meillo@1: meillo@36: rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out meillo@0: ac_clean_files=$ac_clean_files_save meillo@36: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 meillo@36: $as_echo_n "checking for suffix of executables... " >&6; } meillo@36: 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@36: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" meillo@36: $as_echo "$ac_try_echo"; } >&5 meillo@1: (eval "$ac_link") 2>&5 meillo@0: ac_status=$? meillo@36: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 meillo@36: test $ac_status = 0; }; 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@36: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.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@36: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 meillo@36: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} meillo@36: as_fn_error "cannot compute suffix of executables: cannot compile and link meillo@36: See \`config.log' for more details." "$LINENO" 5; } meillo@36: fi meillo@36: rm -f conftest conftest$ac_cv_exeext meillo@36: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 meillo@36: $as_echo "$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@36: cat confdefs.h - <<_ACEOF >conftest.$ac_ext meillo@36: /* end confdefs.h. */ meillo@36: #include meillo@36: int meillo@36: main () meillo@36: { meillo@36: FILE *f = fopen ("conftest.out", "w"); meillo@36: return ferror (f) || fclose (f) != 0; meillo@36: meillo@36: ; meillo@36: return 0; meillo@36: } meillo@0: _ACEOF meillo@36: ac_clean_files="$ac_clean_files conftest.out" meillo@36: # Check that the compiler produces executables we can run. If not, either meillo@36: # the compiler is broken, or we cross compile. meillo@36: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 meillo@36: $as_echo_n "checking whether we are cross compiling... " >&6; } meillo@36: if test "$cross_compiling" != yes; then meillo@36: { { ac_try="$ac_link" meillo@36: case "(($ac_try" in meillo@36: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; meillo@36: *) ac_try_echo=$ac_try;; meillo@36: esac meillo@36: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" meillo@36: $as_echo "$ac_try_echo"; } >&5 meillo@36: (eval "$ac_link") 2>&5 meillo@36: ac_status=$? meillo@36: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 meillo@36: test $ac_status = 0; } meillo@36: if { ac_try='./conftest$ac_cv_exeext' meillo@36: { { case "(($ac_try" in meillo@36: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; meillo@36: *) ac_try_echo=$ac_try;; meillo@36: esac meillo@36: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" meillo@36: $as_echo "$ac_try_echo"; } >&5 meillo@36: (eval "$ac_try") 2>&5 meillo@36: ac_status=$? meillo@36: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 meillo@36: test $ac_status = 0; }; }; then meillo@36: cross_compiling=no meillo@36: else meillo@36: if test "$cross_compiling" = maybe; then meillo@36: cross_compiling=yes meillo@36: else meillo@36: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 meillo@36: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} meillo@36: as_fn_error "cannot run C compiled programs. meillo@36: If you meant to cross compile, use \`--host'. meillo@36: See \`config.log' for more details." "$LINENO" 5; } meillo@36: fi meillo@36: fi meillo@36: fi meillo@36: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 meillo@36: $as_echo "$cross_compiling" >&6; } meillo@36: meillo@36: rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out meillo@36: ac_clean_files=$ac_clean_files_save meillo@36: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 meillo@36: $as_echo_n "checking for suffix of object files... " >&6; } meillo@36: if test "${ac_cv_objext+set}" = set; then : meillo@36: $as_echo_n "(cached) " >&6 meillo@36: else meillo@36: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 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@36: 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@36: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" meillo@36: $as_echo "$ac_try_echo"; } >&5 meillo@1: (eval "$ac_compile") 2>&5 meillo@0: ac_status=$? meillo@36: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 meillo@36: test $ac_status = 0; }; 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@36: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; meillo@0: *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` meillo@0: break;; meillo@0: esac meillo@0: done meillo@0: else meillo@36: $as_echo "$as_me: failed program was:" >&5 meillo@0: sed 's/^/| /' conftest.$ac_ext >&5 meillo@0: meillo@36: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 meillo@36: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} meillo@36: as_fn_error "cannot compute suffix of object files: cannot compile meillo@36: See \`config.log' for more details." "$LINENO" 5; } meillo@36: fi meillo@0: rm -f conftest.$ac_cv_objext conftest.$ac_ext meillo@0: fi meillo@36: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 meillo@36: $as_echo "$ac_cv_objext" >&6; } meillo@0: OBJEXT=$ac_cv_objext meillo@0: ac_objext=$OBJEXT meillo@36: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 meillo@36: $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } meillo@36: if test "${ac_cv_c_compiler_gnu+set}" = set; then : meillo@36: $as_echo_n "(cached) " >&6 meillo@36: else meillo@36: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 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@36: if ac_fn_c_try_compile "$LINENO"; then : meillo@0: ac_compiler_gnu=yes meillo@0: else meillo@36: ac_compiler_gnu=no meillo@36: fi 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@36: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 meillo@36: $as_echo "$ac_cv_c_compiler_gnu" >&6; } meillo@36: if test $ac_compiler_gnu = yes; then meillo@36: GCC=yes meillo@36: else meillo@36: GCC= meillo@36: fi meillo@0: ac_test_CFLAGS=${CFLAGS+set} meillo@0: ac_save_CFLAGS=$CFLAGS meillo@36: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 meillo@36: $as_echo_n "checking whether $CC accepts -g... " >&6; } meillo@36: if test "${ac_cv_prog_cc_g+set}" = set; then : meillo@36: $as_echo_n "(cached) " >&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@36: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 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@36: if ac_fn_c_try_compile "$LINENO"; then : meillo@0: ac_cv_prog_cc_g=yes meillo@0: else meillo@36: CFLAGS="" meillo@36: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 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@36: if ac_fn_c_try_compile "$LINENO"; then : meillo@36: meillo@36: else meillo@36: ac_c_werror_flag=$ac_save_c_werror_flag meillo@1: CFLAGS="-g" meillo@36: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 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@36: if ac_fn_c_try_compile "$LINENO"; then : meillo@1: ac_cv_prog_cc_g=yes meillo@36: fi meillo@1: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext meillo@1: fi meillo@1: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext meillo@1: fi 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@36: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 meillo@36: $as_echo "$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@36: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 meillo@36: $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } meillo@36: if test "${ac_cv_prog_cc_c89+set}" = set; then : meillo@36: $as_echo_n "(cached) " >&6 meillo@0: else meillo@1: ac_cv_prog_cc_c89=no meillo@0: ac_save_CC=$CC meillo@36: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 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@36: if ac_fn_c_try_compile "$LINENO"; then : meillo@1: ac_cv_prog_cc_c89=$ac_arg meillo@36: fi 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@36: { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 meillo@36: $as_echo "none needed" >&6; } ;; meillo@1: xno) meillo@36: { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 meillo@36: $as_echo "unsupported" >&6; } ;; meillo@0: *) meillo@1: CC="$CC $ac_cv_prog_cc_c89" meillo@36: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 meillo@36: $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; meillo@0: esac meillo@36: if test "x$ac_cv_prog_cc_c89" != xno; then : meillo@36: meillo@36: fi 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@36: @echo this is the am__doit target meillo@0: .PHONY: am__doit meillo@0: END meillo@0: # If we don't find an include directive, just comment out the code. meillo@36: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 meillo@36: $as_echo_n "checking for style of include used by $am_make... " >&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@36: # Ignore all kinds of additional output from `make'. meillo@36: case `$am_make -s -f confmf 2> /dev/null` in #( meillo@36: *the\ am__doit\ target*) meillo@36: am__include=include meillo@36: am__quote= meillo@36: _am_result=GNU meillo@36: ;; meillo@36: esac meillo@0: # Now try BSD make style include. meillo@0: if test "$am__include" = "#"; then meillo@0: echo '.include "confinc"' > confmf meillo@36: case `$am_make -s -f confmf 2> /dev/null` in #( meillo@36: *the\ am__doit\ target*) meillo@36: am__include=.include meillo@36: am__quote="\"" meillo@36: _am_result=BSD meillo@36: ;; meillo@36: esac meillo@36: fi meillo@36: meillo@36: meillo@36: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 meillo@36: $as_echo "$_am_result" >&6; } meillo@0: rm -f confinc confmf meillo@0: meillo@1: # Check whether --enable-dependency-tracking was given. meillo@36: 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@36: 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: depcc="$CC" am_compiler_list= meillo@0: meillo@36: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 meillo@36: $as_echo_n "checking dependency style of $depcc... " >&6; } meillo@36: if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : meillo@36: $as_echo_n "(cached) " >&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@36: am__universal=false meillo@36: case " $depcc " in #( meillo@36: *\ -arch\ *\ -arch\ *) am__universal=true ;; meillo@36: esac meillo@36: 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@36: # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with meillo@36: # Solaris 8's {/usr,}/bin/sh. meillo@36: touch sub/conftst$i.h meillo@0: done meillo@0: echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf meillo@0: meillo@36: # We check with `-c' and `-o' for the sake of the "dashmstdout" meillo@36: # mode. It turns out that the SunPro C++ compiler does not properly meillo@36: # handle `-M -o', and we need to detect this. Also, some Intel meillo@36: # versions had trouble with output in subdirs meillo@36: am__obj=sub/conftest.${OBJEXT-o} meillo@36: am__minus_obj="-o $am__obj" meillo@0: case $depmode in meillo@36: gcc) meillo@36: # This depmode causes a compiler race in universal mode. meillo@36: test "$am__universal" = false || continue meillo@36: ;; 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@36: msvisualcpp | msvcmsys) meillo@36: # This compiler won't grok `-c -o', but also, the minuso test has meillo@36: # not run yet. These depmodes are late enough in the game, and meillo@36: # so weak that their functioning should not be impacted. meillo@36: am__obj=conftest.${OBJEXT-o} meillo@36: am__minus_obj= meillo@36: ;; meillo@0: none) break ;; meillo@0: esac meillo@0: if depmode=$depmode \ meillo@36: source=sub/conftest.c object=$am__obj \ meillo@0: depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ meillo@36: $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ meillo@0: >/dev/null 2>conftest.err && meillo@36: grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && meillo@0: grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && meillo@36: grep $am__obj 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@36: # or remarks (even with -Werror). So we grep stderr for any message meillo@36: # that says an option was ignored or not supported. meillo@36: # When given -MP, icc 7.0 and 7.1 complain thusly: meillo@36: # icc: Command line warning: ignoring option '-M'; no argument required meillo@36: # The diagnosis changed in icc 8.0: meillo@36: # icc: Command line remark: option '-MP' not supported meillo@36: if (grep 'ignoring option' conftest.err || meillo@36: grep 'not supported' 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@36: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 meillo@36: $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } meillo@0: CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type meillo@0: meillo@36: 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@36: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5 meillo@36: $as_echo_n "checking for library containing strerror... " >&6; } meillo@36: if test "${ac_cv_search_strerror+set}" = set; then : meillo@36: $as_echo_n "(cached) " >&6 meillo@0: else meillo@1: ac_func_search_save_LIBS=$LIBS meillo@36: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 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@36: if ac_fn_c_try_link "$LINENO"; then : meillo@1: ac_cv_search_strerror=$ac_res meillo@36: fi meillo@36: rm -f core conftest.err conftest.$ac_objext \ meillo@36: conftest$ac_exeext meillo@36: if test "${ac_cv_search_strerror+set}" = set; then : meillo@1: break meillo@1: fi meillo@1: done meillo@36: if test "${ac_cv_search_strerror+set}" = set; then : meillo@36: 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@36: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5 meillo@36: $as_echo "$ac_cv_search_strerror" >&6; } meillo@1: ac_res=$ac_cv_search_strerror meillo@36: 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@36: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 meillo@36: $as_echo_n "checking how to run the C preprocessor... " >&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@36: if test "${ac_cv_prog_CPP+set}" = set; then : meillo@36: $as_echo_n "(cached) " >&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@36: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 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@36: if ac_fn_c_try_cpp "$LINENO"; then : meillo@36: meillo@36: else meillo@0: # Broken: fails on valid input. meillo@0: continue meillo@0: fi 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@36: cat confdefs.h - <<_ACEOF >conftest.$ac_ext meillo@0: /* end confdefs.h. */ meillo@0: #include meillo@0: _ACEOF meillo@36: if ac_fn_c_try_cpp "$LINENO"; then : meillo@0: # Broken: success on invalid input. meillo@0: continue meillo@0: else meillo@0: # Passes both tests. meillo@0: ac_preproc_ok=: meillo@0: break meillo@0: fi 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@36: 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@36: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 meillo@36: $as_echo "$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@36: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 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@36: if ac_fn_c_try_cpp "$LINENO"; then : meillo@36: meillo@36: else meillo@0: # Broken: fails on valid input. meillo@0: continue meillo@0: fi 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@36: cat confdefs.h - <<_ACEOF >conftest.$ac_ext meillo@0: /* end confdefs.h. */ meillo@0: #include meillo@0: _ACEOF meillo@36: if ac_fn_c_try_cpp "$LINENO"; then : meillo@0: # Broken: success on invalid input. meillo@0: continue meillo@0: else meillo@0: # Passes both tests. meillo@0: ac_preproc_ok=: meillo@0: break meillo@0: fi 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@36: if $ac_preproc_ok; then : meillo@36: meillo@36: else meillo@36: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 meillo@36: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} meillo@36: as_fn_error "C preprocessor \"$CPP\" fails sanity check meillo@36: See \`config.log' for more details." "$LINENO" 5; } 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@36: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 meillo@36: $as_echo_n "checking for grep that handles long lines and -e... " >&6; } meillo@36: if test "${ac_cv_path_GREP+set}" = set; then : meillo@36: $as_echo_n "(cached) " >&6 meillo@36: else meillo@36: if test -z "$GREP"; then meillo@1: ac_path_GREP_found=false meillo@36: # Loop through the user's path and test for each of PROGNAME-LIST meillo@36: 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@36: for ac_prog in grep ggrep; do meillo@36: for ac_exec_ext in '' $ac_executable_extensions; do meillo@36: ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" meillo@36: { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue meillo@36: # 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@36: $as_echo_n 0123456789 >"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@36: $as_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@36: as_fn_arith $ac_count + 1 && ac_count=$as_val 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@36: $ac_path_GREP_found && break 3 meillo@36: done meillo@1: done meillo@36: done meillo@1: IFS=$as_save_IFS meillo@36: if test -z "$ac_cv_path_GREP"; then meillo@36: as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 meillo@36: fi meillo@1: else meillo@1: ac_cv_path_GREP=$GREP meillo@1: fi meillo@1: meillo@36: fi meillo@36: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 meillo@36: $as_echo "$ac_cv_path_GREP" >&6; } meillo@1: GREP="$ac_cv_path_GREP" meillo@1: meillo@1: meillo@36: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 meillo@36: $as_echo_n "checking for egrep... " >&6; } meillo@36: if test "${ac_cv_path_EGREP+set}" = set; then : meillo@36: $as_echo_n "(cached) " >&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@36: if test -z "$EGREP"; then meillo@1: ac_path_EGREP_found=false meillo@36: # Loop through the user's path and test for each of PROGNAME-LIST meillo@36: 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@36: for ac_prog in egrep; do meillo@36: for ac_exec_ext in '' $ac_executable_extensions; do meillo@36: ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" meillo@36: { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue meillo@36: # 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@36: $as_echo_n 0123456789 >"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@36: $as_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@36: as_fn_arith $ac_count + 1 && ac_count=$as_val 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@36: $ac_path_EGREP_found && break 3 meillo@36: done meillo@1: done meillo@36: done meillo@1: IFS=$as_save_IFS meillo@36: if test -z "$ac_cv_path_EGREP"; then meillo@36: as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 meillo@36: fi meillo@1: else meillo@1: ac_cv_path_EGREP=$EGREP meillo@1: fi meillo@1: meillo@1: fi meillo@1: fi meillo@36: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 meillo@36: $as_echo "$ac_cv_path_EGREP" >&6; } meillo@1: EGREP="$ac_cv_path_EGREP" meillo@1: meillo@1: meillo@36: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 meillo@36: $as_echo_n "checking for ANSI C header files... " >&6; } meillo@36: if test "${ac_cv_header_stdc+set}" = set; then : meillo@36: $as_echo_n "(cached) " >&6 meillo@36: else meillo@36: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 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@36: if ac_fn_c_try_compile "$LINENO"; then : meillo@0: ac_cv_header_stdc=yes meillo@0: else meillo@36: ac_cv_header_stdc=no meillo@36: fi 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@36: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 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@36: $EGREP "memchr" >/dev/null 2>&1; then : meillo@36: 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@36: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 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@36: $EGREP "free" >/dev/null 2>&1; then : meillo@36: 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@36: if test "$cross_compiling" = yes; then : meillo@0: : meillo@0: else meillo@36: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 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@36: if ac_fn_c_try_run "$LINENO"; then : meillo@36: meillo@36: else meillo@36: ac_cv_header_stdc=no meillo@36: fi meillo@36: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ meillo@36: conftest.$ac_objext conftest.beam conftest.$ac_ext meillo@36: fi meillo@36: meillo@36: fi meillo@36: fi meillo@36: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 meillo@36: $as_echo "$ac_cv_header_stdc" >&6; } meillo@0: if test $ac_cv_header_stdc = yes; then meillo@0: meillo@36: $as_echo "#define STDC_HEADERS 1" >>confdefs.h 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@36: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 meillo@36: $as_echo_n "checking for $ac_word... " >&6; } meillo@36: if test "${ac_cv_prog_RANLIB+set}" = set; then : meillo@36: $as_echo_n "(cached) " >&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@36: 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@36: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 meillo@0: break 2 meillo@0: fi meillo@0: done meillo@36: 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@36: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 meillo@36: $as_echo "$RANLIB" >&6; } meillo@36: else meillo@36: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 meillo@36: $as_echo "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@36: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 meillo@36: $as_echo_n "checking for $ac_word... " >&6; } meillo@36: if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then : meillo@36: $as_echo_n "(cached) " >&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@36: 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@36: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 meillo@0: break 2 meillo@0: fi meillo@0: done meillo@36: 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@36: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 meillo@36: $as_echo "$ac_ct_RANLIB" >&6; } meillo@36: else meillo@36: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 meillo@36: $as_echo "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@36: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 meillo@36: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&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@54: meillo@54: meillo@54: meillo@54: 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@36: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 meillo@36: $as_echo_n "checking for $ac_word... " >&6; } meillo@36: if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : meillo@36: $as_echo_n "(cached) " >&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@36: 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@36: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 meillo@0: break 2 meillo@0: fi meillo@0: done meillo@36: 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@36: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 meillo@36: $as_echo "$PKG_CONFIG" >&6; } meillo@36: else meillo@36: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 meillo@36: $as_echo "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@36: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 meillo@36: $as_echo_n "checking for $ac_word... " >&6; } meillo@36: if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then : meillo@36: $as_echo_n "(cached) " >&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@36: 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@36: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 meillo@0: break 2 meillo@0: fi meillo@0: done meillo@36: 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@36: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 meillo@36: $as_echo "$ac_pt_PKG_CONFIG" >&6; } meillo@36: else meillo@36: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 meillo@36: $as_echo "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@36: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 meillo@36: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&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@36: { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 meillo@36: $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } meillo@0: if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then meillo@36: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 meillo@36: $as_echo "yes" >&6; } meillo@0: else meillo@36: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 meillo@36: $as_echo "no" >&6; } meillo@0: PKG_CONFIG="" meillo@0: fi meillo@0: fi meillo@0: meillo@0: pkg_failed=no meillo@36: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5 meillo@36: $as_echo_n "checking for GLIB... " >&6; } meillo@0: meillo@54: if test -n "$GLIB_CFLAGS"; then meillo@54: pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS" meillo@54: elif test -n "$PKG_CONFIG"; then meillo@54: if test -n "$PKG_CONFIG" && \ meillo@36: { { $as_echo "$as_me:${as_lineno-$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@36: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 meillo@36: test $ac_status = 0; }; 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@54: else meillo@54: pkg_failed=untried meillo@54: fi meillo@54: if test -n "$GLIB_LIBS"; then meillo@54: pkg_cv_GLIB_LIBS="$GLIB_LIBS" meillo@54: elif test -n "$PKG_CONFIG"; then meillo@54: if test -n "$PKG_CONFIG" && \ meillo@36: { { $as_echo "$as_me:${as_lineno-$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@36: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 meillo@36: test $ac_status = 0; }; 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@54: else meillo@54: pkg_failed=untried meillo@0: fi meillo@0: meillo@1: meillo@1: meillo@0: if test $pkg_failed = yes; then meillo@54: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 meillo@54: $as_echo "no" >&6; } 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@54: GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0" 2>&1` meillo@1: else meillo@54: GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0" 2>&1` 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@36: as_fn_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@54: See the pkg-config man page for more details." "$LINENO" 5 meillo@36: elif test $pkg_failed = untried; then meillo@54: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 meillo@54: $as_echo "no" >&6; } meillo@36: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 meillo@36: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} meillo@36: as_fn_error "The pkg-config script could not be found or is too old. Make sure it meillo@36: is in your PATH or set the PKG_CONFIG environment variable to the full meillo@36: 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@36: See \`config.log' for more details." "$LINENO" 5; } meillo@0: else meillo@0: GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS meillo@0: GLIB_LIBS=$pkg_cv_GLIB_LIBS meillo@36: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 meillo@36: $as_echo "yes" >&6; } meillo@54: meillo@0: fi meillo@0: meillo@0: meillo@0: meillo@1: # Check whether --enable-resolver was given. meillo@36: 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@36: $as_echo "#define ENABLE_RESOLVER 1" >>confdefs.h meillo@36: meillo@36: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_search in -lc" >&5 meillo@36: $as_echo_n "checking for res_search in -lc... " >&6; } meillo@36: if test "${ac_cv_lib_c_res_search+set}" = set; then : meillo@36: $as_echo_n "(cached) " >&6 meillo@0: else meillo@0: ac_check_lib_save_LIBS=$LIBS meillo@0: LIBS="-lc $LIBS" meillo@36: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 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@36: if ac_fn_c_try_link "$LINENO"; then : meillo@0: ac_cv_lib_c_res_search=yes meillo@0: else meillo@36: ac_cv_lib_c_res_search=no meillo@36: fi meillo@36: rm -f core conftest.err conftest.$ac_objext \ meillo@36: conftest$ac_exeext conftest.$ac_ext meillo@0: LIBS=$ac_check_lib_save_LIBS meillo@0: fi meillo@36: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_res_search" >&5 meillo@36: $as_echo "$ac_cv_lib_c_res_search" >&6; } meillo@36: if test "x$ac_cv_lib_c_res_search" = x""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@36: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_search in -lresolv" >&5 meillo@36: $as_echo_n "checking for res_search in -lresolv... " >&6; } meillo@36: if test "${ac_cv_lib_resolv_res_search+set}" = set; then : meillo@36: $as_echo_n "(cached) " >&6 meillo@0: else meillo@0: ac_check_lib_save_LIBS=$LIBS meillo@0: LIBS="-lresolv $LIBS" meillo@36: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 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@36: if ac_fn_c_try_link "$LINENO"; then : meillo@0: ac_cv_lib_resolv_res_search=yes meillo@0: else meillo@36: ac_cv_lib_resolv_res_search=no meillo@36: fi meillo@36: rm -f core conftest.err conftest.$ac_objext \ meillo@36: conftest$ac_exeext conftest.$ac_ext meillo@0: LIBS=$ac_check_lib_save_LIBS meillo@0: fi meillo@36: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_res_search" >&5 meillo@36: $as_echo "$ac_cv_lib_resolv_res_search" >&6; } meillo@36: if test "x$ac_cv_lib_resolv_res_search" = x""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@36: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_search in -lresolv" >&5 meillo@36: $as_echo_n "checking for res_search in -lresolv... " >&6; } meillo@36: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 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@36: if ac_fn_c_try_link "$LINENO"; then : meillo@36: RESOLV_LIBS="-lresolv"; has_resolv=yes; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 meillo@36: $as_echo "yes" >&6; } meillo@36: else meillo@36: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 meillo@36: $as_echo "no" >&6; } meillo@36: fi meillo@36: rm -f core conftest.err conftest.$ac_objext \ meillo@36: conftest$ac_exeext conftest.$ac_ext; meillo@1: LIBS="$saved_LIBS" meillo@1: fi meillo@1: if test "$has_resolv" = no; then meillo@36: as_fn_error "\"no libresolv\"" "$LINENO" 5 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: for ac_func in getline meillo@36: do : meillo@36: ac_fn_c_check_func "$LINENO" "getline" "ac_cv_func_getline" meillo@36: if test "x$ac_cv_func_getline" = x""yes; then : meillo@36: cat >>confdefs.h <<_ACEOF meillo@36: #define HAVE_GETLINE 1 meillo@0: _ACEOF meillo@36: meillo@36: fi meillo@36: done meillo@36: meillo@36: meillo@36: for ac_func in fdatasync meillo@36: do : meillo@36: ac_fn_c_check_func "$LINENO" "fdatasync" "ac_cv_func_fdatasync" meillo@36: if test "x$ac_cv_func_fdatasync" = x""yes; then : meillo@36: cat >>confdefs.h <<_ACEOF meillo@36: #define HAVE_FDATASYNC 1 meillo@0: _ACEOF meillo@0: meillo@0: fi meillo@0: done meillo@0: meillo@0: meillo@36: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 meillo@36: $as_echo_n "checking for ANSI C header files... " >&6; } meillo@36: if test "${ac_cv_header_stdc+set}" = set; then : meillo@36: $as_echo_n "(cached) " >&6 meillo@36: else meillo@36: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 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@36: if ac_fn_c_try_compile "$LINENO"; then : meillo@0: ac_cv_header_stdc=yes meillo@0: else meillo@36: ac_cv_header_stdc=no meillo@36: fi 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@36: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 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@36: $EGREP "memchr" >/dev/null 2>&1; then : meillo@36: 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@36: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 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@36: $EGREP "free" >/dev/null 2>&1; then : meillo@36: 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@36: if test "$cross_compiling" = yes; then : meillo@0: : meillo@0: else meillo@36: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 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@36: if ac_fn_c_try_run "$LINENO"; then : meillo@36: meillo@36: else meillo@36: ac_cv_header_stdc=no meillo@36: fi meillo@36: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ meillo@36: conftest.$ac_objext conftest.beam conftest.$ac_ext meillo@36: fi meillo@36: meillo@36: fi meillo@36: fi meillo@36: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 meillo@36: $as_echo "$ac_cv_header_stdc" >&6; } meillo@0: if test $ac_cv_header_stdc = yes; then meillo@0: meillo@36: $as_echo "#define STDC_HEADERS 1" >>confdefs.h meillo@0: meillo@0: fi meillo@0: meillo@0: # On IRIX 5.3, sys/types and inttypes.h are conflicting. 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@36: do : meillo@36: as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` meillo@36: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default meillo@36: " meillo@36: eval as_val=\$$as_ac_Header meillo@36: if test "x$as_val" = x""yes; then : meillo@36: cat >>confdefs.h <<_ACEOF meillo@36: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 meillo@0: _ACEOF meillo@36: meillo@36: fi meillo@36: meillo@36: done meillo@36: meillo@36: meillo@36: for ac_header in fcntl.h sys/time.h syslog.h unistd.h meillo@36: do : meillo@36: as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` meillo@36: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" meillo@36: eval as_val=\$$as_ac_Header meillo@36: if test "x$as_val" = x""yes; then : meillo@36: cat >>confdefs.h <<_ACEOF meillo@36: #define `$as_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@36: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 meillo@36: $as_echo_n "checking for an ANSI C-conforming const... " >&6; } meillo@36: if test "${ac_cv_c_const+set}" = set; then : meillo@36: $as_echo_n "(cached) " >&6 meillo@36: else meillo@36: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 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@36: if ac_fn_c_try_compile "$LINENO"; then : meillo@0: ac_cv_c_const=yes meillo@0: else meillo@36: ac_cv_c_const=no meillo@36: fi meillo@1: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext meillo@1: fi meillo@36: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 meillo@36: $as_echo "$ac_cv_c_const" >&6; } meillo@0: if test $ac_cv_c_const = no; then meillo@0: meillo@36: $as_echo "#define const /**/" >>confdefs.h meillo@36: meillo@36: fi meillo@36: meillo@36: ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default" meillo@36: if test "x$ac_cv_type_pid_t" = x""yes; then : meillo@36: 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@36: ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" meillo@36: if test "x$ac_cv_type_size_t" = x""yes; then : meillo@36: 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@36: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5 meillo@36: $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } meillo@36: if test "${ac_cv_header_time+set}" = set; then : meillo@36: $as_echo_n "(cached) " >&6 meillo@36: else meillo@36: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 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@36: if ac_fn_c_try_compile "$LINENO"; then : meillo@0: ac_cv_header_time=yes meillo@0: else meillo@36: ac_cv_header_time=no meillo@36: fi meillo@1: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext meillo@1: fi meillo@36: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5 meillo@36: $as_echo "$ac_cv_header_time" >&6; } meillo@0: if test $ac_cv_header_time = yes; then meillo@0: meillo@36: $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h meillo@36: meillo@36: fi meillo@36: meillo@36: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5 meillo@36: $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; } meillo@36: if test "${ac_cv_struct_tm+set}" = set; then : meillo@36: $as_echo_n "(cached) " >&6 meillo@36: else meillo@36: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 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@36: return !p; meillo@0: ; meillo@0: return 0; meillo@0: } meillo@0: _ACEOF meillo@36: if ac_fn_c_try_compile "$LINENO"; then : meillo@0: ac_cv_struct_tm=time.h meillo@0: else meillo@36: ac_cv_struct_tm=sys/time.h meillo@36: fi meillo@1: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext meillo@1: fi meillo@36: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5 meillo@36: $as_echo "$ac_cv_struct_tm" >&6; } meillo@0: if test $ac_cv_struct_tm = sys/time.h; then meillo@0: meillo@36: $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h meillo@36: meillo@36: fi meillo@36: meillo@36: meillo@36: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working POSIX fnmatch" >&5 meillo@36: $as_echo_n "checking for working POSIX fnmatch... " >&6; } meillo@36: if test "${ac_cv_func_fnmatch_works+set}" = set; then : meillo@36: $as_echo_n "(cached) " >&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@36: if test "$cross_compiling" = yes; then : meillo@0: ac_cv_func_fnmatch_works=cross meillo@0: else meillo@36: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 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@36: if ac_fn_c_try_run "$LINENO"; then : meillo@0: ac_cv_func_fnmatch_works=yes meillo@0: else meillo@36: ac_cv_func_fnmatch_works=no meillo@36: fi meillo@36: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ meillo@36: conftest.$ac_objext conftest.beam conftest.$ac_ext meillo@36: fi meillo@36: meillo@36: fi meillo@36: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fnmatch_works" >&5 meillo@36: $as_echo "$ac_cv_func_fnmatch_works" >&6; } meillo@36: if test $ac_cv_func_fnmatch_works = yes; then : meillo@36: meillo@36: $as_echo "#define HAVE_FNMATCH 1" >>confdefs.h meillo@36: meillo@36: fi meillo@36: meillo@36: meillo@36: { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5 meillo@36: $as_echo_n "checking return type of signal handlers... " >&6; } meillo@36: if test "${ac_cv_type_signal+set}" = set; then : meillo@36: $as_echo_n "(cached) " >&6 meillo@36: else meillo@36: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 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@36: if ac_fn_c_try_compile "$LINENO"; then : meillo@1: ac_cv_type_signal=int meillo@0: else meillo@36: ac_cv_type_signal=void meillo@36: fi meillo@1: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext meillo@1: fi meillo@36: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5 meillo@36: $as_echo "$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: for ac_func in strftime meillo@36: do : meillo@36: ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime" meillo@36: if test "x$ac_cv_func_strftime" = x""yes; then : meillo@36: cat >>confdefs.h <<_ACEOF meillo@36: #define HAVE_STRFTIME 1 meillo@0: _ACEOF meillo@0: meillo@0: else meillo@0: # strftime is in -lintl on SCO UNIX. meillo@36: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5 meillo@36: $as_echo_n "checking for strftime in -lintl... " >&6; } meillo@36: if test "${ac_cv_lib_intl_strftime+set}" = set; then : meillo@36: $as_echo_n "(cached) " >&6 meillo@0: else meillo@0: ac_check_lib_save_LIBS=$LIBS meillo@0: LIBS="-lintl $LIBS" meillo@36: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 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@36: if ac_fn_c_try_link "$LINENO"; then : meillo@0: ac_cv_lib_intl_strftime=yes meillo@0: else meillo@36: ac_cv_lib_intl_strftime=no meillo@36: fi meillo@36: rm -f core conftest.err conftest.$ac_objext \ meillo@36: conftest$ac_exeext conftest.$ac_ext meillo@0: LIBS=$ac_check_lib_save_LIBS meillo@0: fi meillo@36: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5 meillo@36: $as_echo "$ac_cv_lib_intl_strftime" >&6; } meillo@36: if test "x$ac_cv_lib_intl_strftime" = x""yes; then : meillo@36: $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h meillo@36: meillo@36: LIBS="-lintl $LIBS" meillo@36: fi meillo@36: meillo@36: fi meillo@36: done meillo@36: meillo@36: for ac_func in vprintf meillo@36: do : meillo@36: ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf" meillo@36: if test "x$ac_cv_func_vprintf" = x""yes; then : meillo@36: cat >>confdefs.h <<_ACEOF meillo@36: #define HAVE_VPRINTF 1 meillo@0: _ACEOF meillo@0: meillo@36: ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt" meillo@36: if test "x$ac_cv_func__doprnt" = x""yes; then : meillo@36: meillo@36: $as_echo "#define HAVE_DOPRNT 1" >>confdefs.h meillo@36: meillo@0: fi meillo@0: meillo@0: fi meillo@0: done meillo@0: meillo@0: meillo@36: for ac_func in select socket strerror strstr meillo@36: do : meillo@36: as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` meillo@36: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" meillo@36: eval as_val=\$$as_ac_var meillo@36: if test "x$as_val" = x""yes; then : meillo@36: cat >>confdefs.h <<_ACEOF meillo@36: #define `$as_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@36: 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@36: 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@36: 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@36: $as_echo "#define ENABLE_DEBUG 1" >>confdefs.h 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@36: 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@36: 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@36: $as_echo "#define ENABLE_SMTP_SERVER 1" >>confdefs.h meillo@0: meillo@0: fi meillo@0: meillo@1: # Check whether --enable-pop3 was given. meillo@36: 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@36: $as_echo "#define ENABLE_POP3 1" >>confdefs.h 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@36: 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@36: $as_echo "#define ENABLE_AUTH 1" >>confdefs.h 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@36: 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@36: $as_echo "#define ENABLE_MAILDIR 1" >>confdefs.h meillo@0: meillo@0: fi meillo@0: meillo@0: meillo@1: # Check whether --with-libcrypto was given. meillo@36: 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@36: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MD5 in -lcrypto" >&5 meillo@36: $as_echo_n "checking for MD5 in -lcrypto... " >&6; } meillo@36: if test "${ac_cv_lib_crypto_MD5+set}" = set; then : meillo@36: $as_echo_n "(cached) " >&6 meillo@0: else meillo@0: ac_check_lib_save_LIBS=$LIBS meillo@0: LIBS="-lcrypto $LIBS" meillo@36: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 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@36: if ac_fn_c_try_link "$LINENO"; then : meillo@0: ac_cv_lib_crypto_MD5=yes meillo@0: else meillo@36: ac_cv_lib_crypto_MD5=no meillo@36: fi meillo@36: rm -f core conftest.err conftest.$ac_objext \ meillo@36: conftest$ac_exeext conftest.$ac_ext meillo@0: LIBS=$ac_check_lib_save_LIBS meillo@0: fi meillo@36: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_MD5" >&5 meillo@36: $as_echo "$ac_cv_lib_crypto_MD5" >&6; } meillo@36: if test "x$ac_cv_lib_crypto_MD5" = x""yes; then : meillo@0: has_crypto='yes' meillo@0: else meillo@36: as_fn_error "'no libcrypto'" "$LINENO" 5 meillo@0: fi meillo@0: meillo@0: if test "x$has_crypto" = 'xyes'; then meillo@0: meillo@36: $as_echo "#define USE_LIB_CRYPTO 1" >>confdefs.h 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@36: 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@36: $as_echo "#define ENABLE_IDENT 1" >>confdefs.h meillo@36: meillo@36: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ident_id in -lident" >&5 meillo@36: $as_echo_n "checking for ident_id in -lident... " >&6; } meillo@36: if test "${ac_cv_lib_ident_ident_id+set}" = set; then : meillo@36: $as_echo_n "(cached) " >&6 meillo@0: else meillo@0: ac_check_lib_save_LIBS=$LIBS meillo@0: LIBS="-lident $LIBS" meillo@36: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 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@36: if ac_fn_c_try_link "$LINENO"; then : meillo@0: ac_cv_lib_ident_ident_id=yes meillo@0: else meillo@36: ac_cv_lib_ident_ident_id=no meillo@36: fi meillo@36: rm -f core conftest.err conftest.$ac_objext \ meillo@36: conftest$ac_exeext conftest.$ac_ext meillo@0: LIBS=$ac_check_lib_save_LIBS meillo@0: fi meillo@36: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ident_ident_id" >&5 meillo@36: $as_echo "$ac_cv_lib_ident_ident_id" >&6; } meillo@36: if test "x$ac_cv_lib_ident_ident_id" = x""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@36: 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@36: $as_echo "#define ENABLE_MSERVER 1" >>confdefs.h meillo@0: meillo@0: fi meillo@0: meillo@0: meillo@1: # Check whether --with-liblockfile was given. meillo@36: 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@36: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for maillock in -llockfile" >&5 meillo@36: $as_echo_n "checking for maillock in -llockfile... " >&6; } meillo@36: if test "${ac_cv_lib_lockfile_maillock+set}" = set; then : meillo@36: $as_echo_n "(cached) " >&6 meillo@0: else meillo@0: ac_check_lib_save_LIBS=$LIBS meillo@0: LIBS="-llockfile $LIBS" meillo@36: cat confdefs.h - <<_ACEOF >conftest.$ac_ext 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@36: if ac_fn_c_try_link "$LINENO"; then : meillo@0: ac_cv_lib_lockfile_maillock=yes meillo@0: else meillo@36: ac_cv_lib_lockfile_maillock=no meillo@36: fi meillo@36: rm -f core conftest.err conftest.$ac_objext \ meillo@36: conftest$ac_exeext conftest.$ac_ext meillo@0: LIBS=$ac_check_lib_save_LIBS meillo@0: fi meillo@36: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lockfile_maillock" >&5 meillo@36: $as_echo "$ac_cv_lib_lockfile_maillock" >&6; } meillo@36: if test "x$ac_cv_lib_lockfile_maillock" = x""yes; then : meillo@0: has_lockfile=yes meillo@0: else meillo@36: as_fn_error "\"no liblockfile\"" "$LINENO" 5 meillo@0: fi meillo@0: meillo@0: LOCKFILE_LIBS='-llockfile' meillo@0: meillo@36: $as_echo "#define USE_LIBLOCKFILE 1" >>confdefs.h 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@36: 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@36: 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@36: 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@36: meillo@0: cat >>confdefs.h <<_ACEOF meillo@36: #define DATA_DIR "`eval 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@57: ac_config_files="$ac_config_files Makefile src/Makefile src/base64/Makefile src/md5/Makefile src/libident/Makefile man/Makefile" 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@36: *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 meillo@36: $as_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@36: BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( meillo@36: *) { eval $ac_var=; 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@36: # `set' does not quote correctly, so add quotes: double-quote meillo@36: # 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@36: { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 meillo@36: $as_echo "$as_me: updating cache $cache_file" >&6;} meillo@0: cat confcache >$cache_file meillo@0: else meillo@36: { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 meillo@36: $as_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@36: ac_i=`$as_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@36: as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" meillo@36: as_fn_append 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@36: if test -n "$EXEEXT"; then meillo@36: am__EXEEXT_TRUE= meillo@36: am__EXEEXT_FALSE='#' meillo@36: else meillo@36: am__EXEEXT_TRUE='#' meillo@36: am__EXEEXT_FALSE= meillo@36: fi meillo@36: meillo@0: if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then meillo@36: as_fn_error "conditional \"AMDEP\" was never defined. meillo@36: Usually this means the macro was only invoked conditionally." "$LINENO" 5 meillo@0: fi meillo@0: if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then meillo@36: as_fn_error "conditional \"am__fastdepCC\" was never defined. meillo@36: Usually this means the macro was only invoked conditionally." "$LINENO" 5 meillo@0: fi meillo@0: meillo@0: : ${CONFIG_STATUS=./config.status} meillo@36: ac_write_fail=0 meillo@0: ac_clean_files_save=$ac_clean_files meillo@0: ac_clean_files="$ac_clean_files $CONFIG_STATUS" meillo@36: { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 meillo@36: $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} meillo@36: as_write_fail=0 meillo@36: cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 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@36: meillo@0: SHELL=\${CONFIG_SHELL-$SHELL} meillo@36: export SHELL meillo@36: _ASEOF meillo@36: cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 meillo@36: ## -------------------- ## meillo@36: ## M4sh Initialization. ## meillo@36: ## -------------------- ## meillo@0: meillo@1: # Be more Bourne compatible meillo@1: DUALCASE=1; export DUALCASE # for MKS sh meillo@36: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : meillo@0: emulate sh meillo@0: NULLCMD=: meillo@36: # Pre-4.2 versions of Zsh do 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@36: case `(set -o) 2>/dev/null` in #( meillo@36: *posix*) : meillo@36: set -o posix ;; #( meillo@36: *) : meillo@36: ;; meillo@1: esac meillo@36: fi meillo@36: meillo@36: meillo@36: as_nl=' meillo@36: ' meillo@36: export as_nl meillo@36: # Printing a long string crashes Solaris 7 /usr/bin/printf. meillo@36: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' meillo@36: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo meillo@36: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo meillo@36: # Prefer a ksh shell builtin over an external printf program on Solaris, meillo@36: # but without wasting forks for bash or zsh. meillo@36: if test -z "$BASH_VERSION$ZSH_VERSION" \ meillo@36: && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then meillo@36: as_echo='print -r --' meillo@36: as_echo_n='print -rn --' meillo@36: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then meillo@36: as_echo='printf %s\n' meillo@36: as_echo_n='printf %s' meillo@36: else meillo@36: if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then meillo@36: as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' meillo@36: as_echo_n='/usr/ucb/echo -n' meillo@36: else meillo@36: as_echo_body='eval expr "X$1" : "X\\(.*\\)"' meillo@36: as_echo_n_body='eval meillo@36: arg=$1; meillo@36: case $arg in #( meillo@36: *"$as_nl"*) meillo@36: expr "X$arg" : "X\\(.*\\)$as_nl"; meillo@36: arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; meillo@36: esac; meillo@36: expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" meillo@36: ' meillo@36: export as_echo_n_body meillo@36: as_echo_n='sh -c $as_echo_n_body as_echo' meillo@36: fi meillo@36: export as_echo_body meillo@36: as_echo='sh -c $as_echo_body as_echo' meillo@36: fi meillo@0: meillo@0: # The user is always right. meillo@0: if test "${PATH_SEPARATOR+set}" != set; then meillo@36: PATH_SEPARATOR=: meillo@36: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { meillo@36: (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || meillo@36: PATH_SEPARATOR=';' meillo@36: } 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: IFS=" "" $as_nl" meillo@1: meillo@1: # Find who we are. Look in the path if we contain no directory separator. meillo@36: 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@36: test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break meillo@36: 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@36: $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 meillo@36: exit 1 meillo@36: fi meillo@36: meillo@36: # Unset variables that we do not need and which cause bugs (e.g. in meillo@36: # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" meillo@36: # suppresses any "Segmentation fault" message there. '((' could meillo@36: # trigger a bug in pdksh 5.2.14. meillo@36: for as_var in BASH_ENV ENV MAIL MAILPATH meillo@36: do eval test x\${$as_var+set} = xset \ meillo@36: && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : meillo@1: done meillo@1: PS1='$ ' meillo@1: PS2='> ' meillo@1: PS4='+ ' meillo@1: meillo@1: # NLS nuisances. meillo@36: LC_ALL=C meillo@36: export LC_ALL meillo@36: LANGUAGE=C meillo@36: export LANGUAGE meillo@36: meillo@36: # CDPATH. meillo@36: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH meillo@36: meillo@36: meillo@36: # as_fn_error ERROR [LINENO LOG_FD] meillo@36: # --------------------------------- meillo@36: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are meillo@36: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the meillo@36: # script with status $?, using 1 if that was 0. meillo@36: as_fn_error () meillo@36: { meillo@36: as_status=$?; test $as_status -eq 0 && as_status=1 meillo@36: if test "$3"; then meillo@36: as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack meillo@36: $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 meillo@0: fi meillo@36: $as_echo "$as_me: error: $1" >&2 meillo@36: as_fn_exit $as_status meillo@36: } # as_fn_error meillo@36: meillo@36: meillo@36: # as_fn_set_status STATUS meillo@36: # ----------------------- meillo@36: # Set $? to STATUS, without forking. meillo@36: as_fn_set_status () meillo@36: { meillo@36: return $1 meillo@36: } # as_fn_set_status meillo@36: meillo@36: # as_fn_exit STATUS meillo@36: # ----------------- meillo@36: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. meillo@36: as_fn_exit () meillo@36: { meillo@36: set +e meillo@36: as_fn_set_status $1 meillo@36: exit $1 meillo@36: } # as_fn_exit meillo@36: meillo@36: # as_fn_unset VAR meillo@36: # --------------- meillo@36: # Portably unset VAR. meillo@36: as_fn_unset () meillo@36: { meillo@36: { eval $1=; unset $1;} meillo@36: } meillo@36: as_unset=as_fn_unset meillo@36: # as_fn_append VAR VALUE meillo@36: # ---------------------- meillo@36: # Append the text in VALUE to the end of the definition contained in VAR. Take meillo@36: # advantage of any shell optimizations that allow amortized linear growth over meillo@36: # repeated appends, instead of the typical quadratic growth present in naive meillo@36: # implementations. meillo@36: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : meillo@36: eval 'as_fn_append () meillo@36: { meillo@36: eval $1+=\$2 meillo@36: }' meillo@36: else meillo@36: as_fn_append () meillo@36: { meillo@36: eval $1=\$$1\$2 meillo@36: } meillo@36: fi # as_fn_append meillo@36: meillo@36: # as_fn_arith ARG... meillo@36: # ------------------ meillo@36: # Perform arithmetic evaluation on the ARGs, and store the result in the meillo@36: # global $as_val. Take advantage of shells that can avoid forks. The arguments meillo@36: # must be portable across $(()) and expr. meillo@36: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : meillo@36: eval 'as_fn_arith () meillo@36: { meillo@36: as_val=$(( $* )) meillo@36: }' meillo@36: else meillo@36: as_fn_arith () meillo@36: { meillo@36: as_val=`expr "$@" || test $? -eq 1` meillo@36: } meillo@36: fi # as_fn_arith meillo@36: meillo@36: 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@36: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then meillo@36: as_dirname=dirname meillo@36: else meillo@36: as_dirname=false meillo@36: fi meillo@36: 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@36: $as_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@36: # Avoid depending upon Character Ranges. meillo@36: as_cr_letters='abcdefghijklmnopqrstuvwxyz' meillo@36: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' meillo@36: as_cr_Letters=$as_cr_letters$as_cr_LETTERS meillo@36: as_cr_digits='0123456789' meillo@36: as_cr_alnum=$as_cr_Letters$as_cr_digits meillo@1: meillo@1: ECHO_C= ECHO_N= ECHO_T= meillo@36: case `echo -n x` in #((((( meillo@1: -n*) meillo@36: case `echo 'xy\c'` in meillo@1: *c*) ECHO_T=' ';; # ECHO_T is single tab character. meillo@36: xy) ECHO_C='\c';; meillo@36: *) echo `echo ksh88 bug on AIX 6.1` > /dev/null meillo@36: ECHO_T=' ';; meillo@1: esac;; meillo@1: *) meillo@1: ECHO_N='-n';; meillo@0: esac 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@36: mkdir conf$$.dir 2>/dev/null meillo@36: fi meillo@36: if (echo >conf$$.file) 2>/dev/null; then meillo@36: if ln -s conf$$.file conf$$ 2>/dev/null; then meillo@36: as_ln_s='ln -s' meillo@36: # ... but there are two gotchas: meillo@36: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. meillo@36: # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. meillo@36: # In both cases, we have to default to `cp -p'. meillo@36: ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || meillo@36: as_ln_s='cp -p' meillo@36: elif ln conf$$.file conf$$ 2>/dev/null; then meillo@36: as_ln_s=ln meillo@36: else meillo@0: as_ln_s='cp -p' meillo@36: fi 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@36: meillo@36: # as_fn_mkdir_p meillo@36: # ------------- meillo@36: # Create "$as_dir" as a directory, including parents if necessary. meillo@36: as_fn_mkdir_p () meillo@1: { meillo@36: meillo@1: case $as_dir in #( meillo@1: -*) as_dir=./$as_dir;; meillo@1: esac meillo@36: test -d "$as_dir" || eval $as_mkdir_p || { meillo@0: as_dirs= meillo@1: while :; do meillo@1: case $as_dir in #( meillo@36: *\'*) as_qdir=`$as_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@36: $as_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@36: } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" meillo@36: meillo@36: meillo@36: } # as_fn_mkdir_p meillo@36: if mkdir -p . 2>/dev/null; then meillo@36: as_mkdir_p='mkdir -p "$as_dir"' meillo@36: else meillo@36: test -d ./-p && rmdir ./-p meillo@36: as_mkdir_p=false meillo@36: fi meillo@36: meillo@36: if test -x / >/dev/null 2>&1; then meillo@36: as_test_x='test -x' meillo@36: else meillo@36: if ls -dL / >/dev/null 2>&1; then meillo@36: as_ls_L_option=L meillo@36: else meillo@36: as_ls_L_option= meillo@36: fi meillo@36: as_test_x=' meillo@36: eval sh -c '\'' meillo@36: if test -d "$1"; then meillo@36: test -d "$1/."; meillo@36: else meillo@36: case $1 in #( meillo@36: -*)set "./$1";; meillo@36: esac; meillo@36: case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( meillo@36: ???[sx]*):;;*)false;;esac;fi meillo@36: '\'' sh meillo@36: ' meillo@36: fi meillo@36: as_executable_p=$as_test_x meillo@36: meillo@36: # Sed expression to map a string onto a valid CPP name. meillo@36: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" meillo@36: meillo@36: # Sed expression to map a string onto a valid variable name. meillo@36: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" meillo@36: meillo@36: meillo@36: exec 6>&1 meillo@36: ## ----------------------------------- ## meillo@36: ## Main body of $CONFIG_STATUS script. ## meillo@36: ## ----------------------------------- ## meillo@36: _ASEOF meillo@36: test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 meillo@36: meillo@36: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 meillo@36: # Save the log message, to keep $0 and so on meaningful, and to meillo@36: # report actual input values of CONFIG_FILES etc. instead of their meillo@36: # values after options handling. meillo@36: ac_log=" meillo@123: This file was extended by masqmail $as_me 0.2.25, which was meillo@36: generated by GNU Autoconf 2.65. Invocation command line was meillo@36: meillo@36: CONFIG_FILES = $CONFIG_FILES meillo@36: CONFIG_HEADERS = $CONFIG_HEADERS meillo@36: CONFIG_LINKS = $CONFIG_LINKS meillo@36: CONFIG_COMMANDS = $CONFIG_COMMANDS meillo@36: $ $0 $@ meillo@36: meillo@36: on `(hostname || uname -n) 2>/dev/null | sed 1q` meillo@36: " meillo@36: meillo@36: _ACEOF meillo@36: meillo@36: case $ac_config_files in *" meillo@36: "*) set x $ac_config_files; shift; ac_config_files=$*;; meillo@36: esac meillo@36: meillo@36: case $ac_config_headers in *" meillo@36: "*) set x $ac_config_headers; shift; ac_config_headers=$*;; meillo@36: esac meillo@36: meillo@36: meillo@36: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 meillo@36: # Files that config.status was made for. meillo@36: config_files="$ac_config_files" meillo@36: config_headers="$ac_config_headers" meillo@36: config_commands="$ac_config_commands" meillo@36: meillo@36: _ACEOF meillo@36: meillo@36: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 meillo@36: ac_cs_usage="\ meillo@36: \`$as_me' instantiates files and other configuration actions meillo@36: from templates according to the current configuration. Unless the files meillo@36: and actions are specified as TAGs, all are instantiated by default. meillo@36: meillo@36: Usage: $0 [OPTION]... [TAG]... meillo@36: meillo@36: -h, --help print this help, then exit meillo@36: -V, --version print version number and configuration settings, then exit meillo@36: --config print configuration, then exit meillo@36: -q, --quiet, --silent meillo@36: do not print progress messages meillo@36: -d, --debug don't remove temporary files meillo@36: --recheck update $as_me by reconfiguring in the same conditions meillo@36: --file=FILE[:TEMPLATE] meillo@36: instantiate the configuration file FILE meillo@36: --header=FILE[:TEMPLATE] meillo@36: instantiate the configuration header FILE meillo@36: meillo@36: Configuration files: meillo@36: $config_files meillo@36: meillo@36: Configuration headers: meillo@36: $config_headers meillo@36: meillo@36: Configuration commands: meillo@36: $config_commands meillo@36: meillo@36: Report bugs to ." meillo@36: meillo@36: _ACEOF meillo@36: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 meillo@36: ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" meillo@36: ac_cs_version="\\ meillo@123: masqmail config.status 0.2.25 meillo@36: configured by $0, generated by GNU Autoconf 2.65, meillo@36: with options \\"\$ac_cs_config\\" meillo@36: meillo@36: Copyright (C) 2009 Free Software Foundation, Inc. meillo@36: This config.status script is free software; the Free Software Foundation meillo@36: gives unlimited permission to copy, distribute and modify it." meillo@36: meillo@36: ac_pwd='$ac_pwd' meillo@36: srcdir='$srcdir' meillo@36: INSTALL='$INSTALL' meillo@36: MKDIR_P='$MKDIR_P' meillo@36: AWK='$AWK' meillo@36: test -n "\$AWK" || AWK=awk meillo@36: _ACEOF meillo@36: meillo@36: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 meillo@36: # The default lists apply if the user does not specify any file. meillo@36: ac_need_defaults=: meillo@36: while test $# != 0 meillo@36: do meillo@36: case $1 in meillo@36: --*=*) meillo@36: ac_option=`expr "X$1" : 'X\([^=]*\)='` meillo@36: ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` meillo@36: ac_shift=: meillo@36: ;; meillo@36: *) meillo@36: ac_option=$1 meillo@36: ac_optarg=$2 meillo@36: ac_shift=shift meillo@36: ;; meillo@36: esac meillo@36: meillo@36: case $ac_option in meillo@36: # Handling of the options. meillo@36: -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) meillo@36: ac_cs_recheck=: ;; meillo@36: --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) meillo@36: $as_echo "$ac_cs_version"; exit ;; meillo@36: --config | --confi | --conf | --con | --co | --c ) meillo@36: $as_echo "$ac_cs_config"; exit ;; meillo@36: --debug | --debu | --deb | --de | --d | -d ) meillo@36: debug=: ;; meillo@36: --file | --fil | --fi | --f ) meillo@36: $ac_shift meillo@36: case $ac_optarg in meillo@36: *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; meillo@36: esac meillo@36: as_fn_append CONFIG_FILES " '$ac_optarg'" meillo@36: ac_need_defaults=false;; meillo@36: --header | --heade | --head | --hea ) meillo@36: $ac_shift meillo@36: case $ac_optarg in meillo@36: *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; meillo@36: esac meillo@36: as_fn_append CONFIG_HEADERS " '$ac_optarg'" meillo@36: ac_need_defaults=false;; meillo@36: --he | --h) meillo@36: # Conflict between --help and --header meillo@36: as_fn_error "ambiguous option: \`$1' meillo@36: Try \`$0 --help' for more information.";; meillo@36: --help | --hel | -h ) meillo@36: $as_echo "$ac_cs_usage"; exit ;; meillo@36: -q | -quiet | --quiet | --quie | --qui | --qu | --q \ meillo@36: | -silent | --silent | --silen | --sile | --sil | --si | --s) meillo@36: ac_cs_silent=: ;; meillo@36: meillo@36: # This is an error. meillo@36: -*) as_fn_error "unrecognized option: \`$1' meillo@36: Try \`$0 --help' for more information." ;; meillo@36: meillo@36: *) as_fn_append ac_config_targets " $1" meillo@36: ac_need_defaults=false ;; meillo@36: meillo@36: esac meillo@36: shift meillo@36: done meillo@36: meillo@36: ac_configure_extra_args= meillo@36: meillo@36: if $ac_cs_silent; then meillo@36: exec 6>/dev/null meillo@36: ac_configure_extra_args="$ac_configure_extra_args --silent" meillo@36: fi meillo@36: meillo@36: _ACEOF meillo@36: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 meillo@36: if \$ac_cs_recheck; then meillo@36: set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion meillo@36: shift meillo@36: \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 meillo@36: CONFIG_SHELL='$SHELL' meillo@36: export CONFIG_SHELL meillo@36: exec "\$@" meillo@36: fi meillo@36: meillo@36: _ACEOF meillo@36: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 meillo@36: exec 5>>config.log meillo@36: { meillo@36: echo meillo@36: sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX meillo@36: ## Running $as_me. ## meillo@36: _ASBOX meillo@36: $as_echo "$ac_log" meillo@36: } >&5 meillo@36: meillo@36: _ACEOF meillo@36: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 meillo@36: # meillo@36: # INIT-COMMANDS meillo@36: # meillo@36: AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" meillo@36: meillo@36: _ACEOF meillo@36: meillo@36: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 meillo@36: meillo@36: # Handling of arguments. meillo@36: for ac_config_target in $ac_config_targets meillo@36: do meillo@36: case $ac_config_target in meillo@36: "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; meillo@36: "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; meillo@36: "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; meillo@36: "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; meillo@36: "src/base64/Makefile") CONFIG_FILES="$CONFIG_FILES src/base64/Makefile" ;; meillo@36: "src/md5/Makefile") CONFIG_FILES="$CONFIG_FILES src/md5/Makefile" ;; meillo@36: "src/libident/Makefile") CONFIG_FILES="$CONFIG_FILES src/libident/Makefile" ;; meillo@57: "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;; meillo@36: meillo@36: *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; meillo@36: esac meillo@36: done meillo@36: meillo@36: meillo@36: # If the user did not use the arguments to specify the items to instantiate, meillo@36: # then the envvar interface is used. Set only those that are not. meillo@36: # We use the long form for the default assignment because of an extremely meillo@36: # bizarre bug on SunOS 4.1.3. meillo@36: if $ac_need_defaults; then meillo@36: test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files meillo@36: test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers meillo@36: test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands meillo@36: fi meillo@36: meillo@36: # Have a temporary directory for convenience. Make it in the build tree meillo@36: # simply because there is no reason against having it here, and in addition, meillo@36: # creating and moving files from /tmp can sometimes cause problems. meillo@36: # Hook for its removal unless debugging. meillo@36: # Note that there is a small window in which the directory will not be cleaned: meillo@36: # after its creation but before its name has been assigned to `$tmp'. meillo@36: $debug || meillo@36: { meillo@36: tmp= meillo@36: trap 'exit_status=$? meillo@36: { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status meillo@36: ' 0 meillo@36: trap 'as_fn_exit 1' 1 2 13 15 meillo@36: } meillo@36: # Create a (secure) tmp directory for tmp files. meillo@36: meillo@36: { meillo@36: tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && meillo@36: test -n "$tmp" && test -d "$tmp" meillo@36: } || meillo@36: { meillo@36: tmp=./conf$$-$RANDOM meillo@36: (umask 077 && mkdir "$tmp") meillo@36: } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 meillo@36: meillo@36: # Set up the scripts for CONFIG_FILES section. meillo@36: # No need to generate them if there are no CONFIG_FILES. meillo@36: # This happens for instance with `./config.status config.h'. meillo@36: if test -n "$CONFIG_FILES"; then meillo@36: meillo@36: meillo@36: ac_cr=`echo X | tr X '\015'` meillo@36: # On cygwin, bash can eat \r inside `` if the user requested igncr. meillo@36: # But we know of no other shell where ac_cr would be empty at this meillo@36: # point, so we can use a bashism as a fallback. meillo@36: if test "x$ac_cr" = x; then meillo@36: eval ac_cr=\$\'\\r\' meillo@36: fi meillo@36: ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null` meillo@36: if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then meillo@36: ac_cs_awk_cr='\r' meillo@36: else meillo@36: ac_cs_awk_cr=$ac_cr meillo@36: fi meillo@36: meillo@36: echo 'BEGIN {' >"$tmp/subs1.awk" && meillo@36: _ACEOF meillo@36: meillo@36: meillo@36: { meillo@36: echo "cat >conf$$subs.awk <<_ACEOF" && meillo@36: echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && meillo@36: echo "_ACEOF" meillo@36: } >conf$$subs.sh || meillo@36: as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 meillo@36: ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` meillo@36: ac_delim='%!_!# ' meillo@36: for ac_last_try in false false false false false :; do meillo@36: . ./conf$$subs.sh || meillo@36: as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 meillo@36: meillo@36: ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` meillo@36: if test $ac_delim_n = $ac_delim_num; then meillo@36: break meillo@36: elif $ac_last_try; then meillo@36: as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 meillo@36: else meillo@36: ac_delim="$ac_delim!$ac_delim _$ac_delim!! " meillo@36: fi meillo@36: done meillo@36: rm -f conf$$subs.sh meillo@36: meillo@36: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 meillo@36: cat >>"\$tmp/subs1.awk" <<\\_ACAWK && meillo@36: _ACEOF meillo@36: sed -n ' meillo@36: h meillo@36: s/^/S["/; s/!.*/"]=/ meillo@36: p meillo@36: g meillo@36: s/^[^!]*!// meillo@36: :repl meillo@36: t repl meillo@36: s/'"$ac_delim"'$// meillo@36: t delim meillo@36: :nl meillo@36: h meillo@36: s/\(.\{148\}\)..*/\1/ meillo@36: t more1 meillo@36: s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ meillo@36: p meillo@36: n meillo@36: b repl meillo@36: :more1 meillo@36: s/["\\]/\\&/g; s/^/"/; s/$/"\\/ meillo@36: p meillo@36: g meillo@36: s/.\{148\}// meillo@36: t nl meillo@36: :delim meillo@36: h meillo@36: s/\(.\{148\}\)..*/\1/ meillo@36: t more2 meillo@36: s/["\\]/\\&/g; s/^/"/; s/$/"/ meillo@36: p meillo@36: b meillo@36: :more2 meillo@36: s/["\\]/\\&/g; s/^/"/; s/$/"\\/ meillo@36: p meillo@36: g meillo@36: s/.\{148\}// meillo@36: t delim meillo@36: ' >$CONFIG_STATUS || ac_write_fail=1 meillo@36: rm -f conf$$subs.awk meillo@36: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 meillo@36: _ACAWK meillo@36: cat >>"\$tmp/subs1.awk" <<_ACAWK && meillo@36: for (key in S) S_is_set[key] = 1 meillo@36: FS = "" meillo@36: meillo@36: } meillo@36: { meillo@36: line = $ 0 meillo@36: nfields = split(line, field, "@") meillo@36: substed = 0 meillo@36: len = length(field[1]) meillo@36: for (i = 2; i < nfields; i++) { meillo@36: key = field[i] meillo@36: keylen = length(key) meillo@36: if (S_is_set[key]) { meillo@36: value = S[key] meillo@36: line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) meillo@36: len += length(value) + length(field[++i]) meillo@36: substed = 1 meillo@36: } else meillo@36: len += 1 + keylen meillo@36: } meillo@36: meillo@36: print line meillo@36: } meillo@36: meillo@36: _ACAWK meillo@36: _ACEOF meillo@36: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 meillo@36: if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then meillo@36: sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" meillo@36: else meillo@36: cat meillo@36: fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ meillo@36: || as_fn_error "could not setup config files machinery" "$LINENO" 5 meillo@36: _ACEOF meillo@36: meillo@36: # VPATH may cause trouble with some makes, so we remove $(srcdir), meillo@36: # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and meillo@36: # trailing colons and then remove the whole line if VPATH becomes empty meillo@36: # (actually we leave an empty line to preserve line numbers). meillo@36: if test "x$srcdir" = x.; then meillo@36: ac_vpsub='/^[ ]*VPATH[ ]*=/{ meillo@36: s/:*\$(srcdir):*/:/ meillo@36: s/:*\${srcdir}:*/:/ meillo@36: s/:*@srcdir@:*/:/ meillo@36: s/^\([^=]*=[ ]*\):*/\1/ meillo@36: s/:*$// meillo@36: s/^[^=]*=[ ]*$// meillo@36: }' meillo@36: fi meillo@36: meillo@36: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 meillo@36: fi # test -n "$CONFIG_FILES" meillo@36: meillo@36: # Set up the scripts for CONFIG_HEADERS section. meillo@36: # No need to generate them if there are no CONFIG_HEADERS. meillo@36: # This happens for instance with `./config.status Makefile'. meillo@36: if test -n "$CONFIG_HEADERS"; then meillo@36: cat >"$tmp/defines.awk" <<\_ACAWK || meillo@36: BEGIN { meillo@36: _ACEOF meillo@36: meillo@36: # Transform confdefs.h into an awk script `defines.awk', embedded as meillo@36: # here-document in config.status, that substitutes the proper values into meillo@36: # config.h.in to produce config.h. meillo@36: meillo@36: # Create a delimiter string that does not exist in confdefs.h, to ease meillo@36: # handling of long lines. meillo@36: ac_delim='%!_!# ' meillo@36: for ac_last_try in false false :; do meillo@36: ac_t=`sed -n "/$ac_delim/p" confdefs.h` meillo@36: if test -z "$ac_t"; then meillo@36: break meillo@36: elif $ac_last_try; then meillo@36: as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 meillo@36: else meillo@36: ac_delim="$ac_delim!$ac_delim _$ac_delim!! " meillo@36: fi meillo@36: done meillo@36: meillo@36: # For the awk script, D is an array of macro values keyed by name, meillo@36: # likewise P contains macro parameters if any. Preserve backslash meillo@36: # newline sequences. meillo@36: meillo@36: ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* meillo@36: sed -n ' meillo@36: s/.\{148\}/&'"$ac_delim"'/g meillo@36: t rset meillo@36: :rset meillo@36: s/^[ ]*#[ ]*define[ ][ ]*/ / meillo@36: t def meillo@36: d meillo@36: :def meillo@36: s/\\$// meillo@36: t bsnl meillo@36: s/["\\]/\\&/g meillo@36: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ meillo@36: D["\1"]=" \3"/p meillo@36: s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p meillo@36: d meillo@36: :bsnl meillo@36: s/["\\]/\\&/g meillo@36: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ meillo@36: D["\1"]=" \3\\\\\\n"\\/p meillo@36: t cont meillo@36: s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p meillo@36: t cont meillo@36: d meillo@36: :cont meillo@36: n meillo@36: s/.\{148\}/&'"$ac_delim"'/g meillo@36: t clear meillo@36: :clear meillo@36: s/\\$// meillo@36: t bsnlc meillo@36: s/["\\]/\\&/g; s/^/"/; s/$/"/p meillo@36: d meillo@36: :bsnlc meillo@36: s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p meillo@36: b cont meillo@36: ' >$CONFIG_STATUS || ac_write_fail=1 meillo@36: meillo@36: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 meillo@36: for (key in D) D_is_set[key] = 1 meillo@36: FS = "" meillo@36: } meillo@36: /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { meillo@36: line = \$ 0 meillo@36: split(line, arg, " ") meillo@36: if (arg[1] == "#") { meillo@36: defundef = arg[2] meillo@36: mac1 = arg[3] meillo@36: } else { meillo@36: defundef = substr(arg[1], 2) meillo@36: mac1 = arg[2] meillo@36: } meillo@36: split(mac1, mac2, "(") #) meillo@36: macro = mac2[1] meillo@36: prefix = substr(line, 1, index(line, defundef) - 1) meillo@36: if (D_is_set[macro]) { meillo@36: # Preserve the white space surrounding the "#". meillo@36: print prefix "define", macro P[macro] D[macro] meillo@36: next meillo@36: } else { meillo@36: # Replace #undef with comments. This is necessary, for example, meillo@36: # in the case of _POSIX_SOURCE, which is predefined and required meillo@36: # on some systems where configure will not decide to define it. meillo@36: if (defundef == "undef") { meillo@36: print "/*", prefix defundef, macro, "*/" meillo@36: next meillo@36: } meillo@36: } meillo@36: } meillo@36: { print } meillo@36: _ACAWK meillo@36: _ACEOF meillo@36: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 meillo@36: as_fn_error "could not setup config headers machinery" "$LINENO" 5 meillo@36: fi # test -n "$CONFIG_HEADERS" meillo@36: meillo@36: meillo@36: eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" meillo@36: shift meillo@36: for ac_tag meillo@36: do meillo@36: case $ac_tag in meillo@36: :[FHLC]) ac_mode=$ac_tag; continue;; meillo@36: esac meillo@36: case $ac_mode$ac_tag in meillo@36: :[FHL]*:*);; meillo@36: :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; meillo@36: :[FH]-) ac_tag=-:-;; meillo@36: :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; meillo@36: esac meillo@36: ac_save_IFS=$IFS meillo@36: IFS=: meillo@36: set x $ac_tag meillo@36: IFS=$ac_save_IFS meillo@36: shift meillo@36: ac_file=$1 meillo@36: shift meillo@36: meillo@36: case $ac_mode in meillo@36: :L) ac_source=$1;; meillo@36: :[FH]) meillo@36: ac_file_inputs= meillo@36: for ac_f meillo@36: do meillo@36: case $ac_f in meillo@36: -) ac_f="$tmp/stdin";; meillo@36: *) # Look for the file first in the build tree, then in the source tree meillo@36: # (if the path is not absolute). The absolute path cannot be DOS-style, meillo@36: # because $ac_f cannot contain `:'. meillo@36: test -f "$ac_f" || meillo@36: case $ac_f in meillo@36: [\\/$]*) false;; meillo@36: *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; meillo@36: esac || meillo@36: as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; meillo@36: esac meillo@36: case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac meillo@36: as_fn_append ac_file_inputs " '$ac_f'" meillo@36: done meillo@36: meillo@36: # Let's still pretend it is `configure' which instantiates (i.e., don't meillo@36: # use $as_me), people would be surprised to read: meillo@36: # /* config.h. Generated by config.status. */ meillo@36: configure_input='Generated from '` meillo@36: $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' meillo@36: `' by configure.' meillo@36: if test x"$ac_file" != x-; then meillo@36: configure_input="$ac_file. $configure_input" meillo@36: { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 meillo@36: $as_echo "$as_me: creating $ac_file" >&6;} meillo@36: fi meillo@36: # Neutralize special characters interpreted by sed in replacement strings. meillo@36: case $configure_input in #( meillo@36: *\&* | *\|* | *\\* ) meillo@36: ac_sed_conf_input=`$as_echo "$configure_input" | meillo@36: sed 's/[\\\\&|]/\\\\&/g'`;; #( meillo@36: *) ac_sed_conf_input=$configure_input;; meillo@36: esac meillo@36: meillo@36: case $ac_tag in meillo@36: *:-:* | *:-) cat >"$tmp/stdin" \ meillo@36: || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; meillo@36: esac meillo@36: ;; meillo@36: esac meillo@36: meillo@36: ac_dir=`$as_dirname -- "$ac_file" || meillo@36: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ meillo@36: X"$ac_file" : 'X\(//\)[^/]' \| \ meillo@36: X"$ac_file" : 'X\(//\)$' \| \ meillo@36: X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || meillo@36: $as_echo X"$ac_file" | meillo@36: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ meillo@36: s//\1/ meillo@36: q meillo@36: } meillo@36: /^X\(\/\/\)[^/].*/{ meillo@36: s//\1/ meillo@36: q meillo@36: } meillo@36: /^X\(\/\/\)$/{ meillo@36: s//\1/ meillo@36: q meillo@36: } meillo@36: /^X\(\/\).*/{ meillo@36: s//\1/ meillo@36: q meillo@36: } meillo@36: s/.*/./; q'` meillo@36: as_dir="$ac_dir"; as_fn_mkdir_p 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@36: ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` meillo@1: # A ".." for each directory in $ac_dir_suffix. meillo@36: ac_top_builddir_sub=`$as_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@36: ac_MKDIR_P=$MKDIR_P meillo@36: case $MKDIR_P in meillo@36: [\\/$]* | ?:[\\/]* ) ;; meillo@36: */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; meillo@36: esac meillo@1: _ACEOF meillo@1: meillo@36: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 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@36: ac_sed_dataroot=' meillo@36: /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@36: /@mandir@/p' meillo@36: case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in meillo@1: *datarootdir*) ac_datarootdir_seen=yes;; meillo@1: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) meillo@36: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 meillo@36: $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} meillo@1: _ACEOF meillo@36: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 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@36: 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@36: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 meillo@36: ac_sed_extra="$ac_vpsub meillo@0: $extrasub meillo@0: _ACEOF meillo@36: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 meillo@0: :t meillo@0: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b meillo@36: s|@configure_input@|$ac_sed_conf_input|;t t meillo@1: s&@top_builddir@&$ac_top_builddir_sub&;t t meillo@36: s&@top_build_prefix@&$ac_top_build_prefix&;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@36: s&@MKDIR_P@&$ac_MKDIR_P&;t t meillo@1: $ac_datarootdir_hack meillo@36: " meillo@36: eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ meillo@36: || as_fn_error "could not create $ac_file" "$LINENO" 5 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@36: { $as_echo "$as_me:${as_lineno-$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@36: $as_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@36: -) cat "$tmp/out" && rm -f "$tmp/out";; meillo@36: *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; meillo@36: esac \ meillo@36: || as_fn_error "could not create $ac_file" "$LINENO" 5 meillo@1: ;; meillo@1: :H) meillo@1: # meillo@1: # CONFIG_HEADER meillo@1: # meillo@0: if test x"$ac_file" != x-; then meillo@36: { meillo@36: $as_echo "/* $configure_input */" \ meillo@36: && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" meillo@36: } >"$tmp/config.h" \ meillo@36: || as_fn_error "could not create $ac_file" "$LINENO" 5 meillo@36: if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then meillo@36: { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 meillo@36: $as_echo "$as_me: $ac_file is unchanged" >&6;} meillo@0: else meillo@36: rm -f "$ac_file" meillo@36: mv "$tmp/config.h" "$ac_file" \ meillo@36: || as_fn_error "could not create $ac_file" "$LINENO" 5 meillo@0: fi meillo@0: else meillo@36: $as_echo "/* $configure_input */" \ meillo@36: && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ meillo@36: || as_fn_error "could not create -" "$LINENO" 5 meillo@0: fi meillo@36: # Compute "$ac_file"'s index in $config_headers. meillo@36: _am_arg="$ac_file" meillo@0: _am_stamp_count=1 meillo@0: for _am_header in $config_headers :; do meillo@0: case $_am_header in meillo@36: $_am_arg | $_am_arg:* ) meillo@0: break ;; meillo@0: * ) meillo@0: _am_stamp_count=`expr $_am_stamp_count + 1` ;; meillo@0: esac meillo@0: done meillo@36: echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || meillo@36: $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ meillo@36: X"$_am_arg" : 'X\(//\)[^/]' \| \ meillo@36: X"$_am_arg" : 'X\(//\)$' \| \ meillo@36: X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || meillo@36: $as_echo X"$_am_arg" | 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@36: :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 meillo@36: $as_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@36: "depfiles":C) test x"$AMDEP_TRUE" != x"" || { meillo@36: # Autoconf 2.62 quotes --file arguments for eval, but not when files meillo@36: # are listed without --file. Let's play safe and only enable the eval meillo@36: # if we detect the quoting. meillo@36: case $CONFIG_FILES in meillo@36: *\'*) eval set x "$CONFIG_FILES" ;; meillo@36: *) set x $CONFIG_FILES ;; meillo@36: esac meillo@36: shift meillo@36: for mf meillo@36: do meillo@36: # Strip MF so we end up with the name of the file. meillo@36: mf=`echo "$mf" | sed -e 's/:.*$//'` meillo@36: # Check whether this is an Automake generated Makefile or not. meillo@36: # We used to match only the files named `Makefile.in', but meillo@36: # some people rename them; so instead we look at the file content. meillo@36: # Grep'ing the first line is not enough: some people post-process meillo@36: # each Makefile.in and add a new line on top of each file to say so. meillo@36: # Grep'ing the whole file is not good either: AIX grep has a line meillo@36: # limit of 2048, but all sed's we know have understand at least 4000. meillo@36: if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then meillo@36: 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@36: $as_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@36: else meillo@36: continue meillo@36: fi meillo@36: # Extract the definition of DEPDIR, am__include, and am__quote meillo@36: # from the Makefile without running `make'. meillo@36: DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` meillo@36: test -z "$DEPDIR" && continue meillo@36: am__include=`sed -n 's/^am__include = //p' < "$mf"` meillo@36: test -z "am__include" && continue meillo@36: am__quote=`sed -n 's/^am__quote = //p' < "$mf"` meillo@36: # When using ansi2knr, U may be empty or an underscore; expand it meillo@36: U=`sed -n 's/^U = //p' < "$mf"` meillo@36: # Find all dependency output files, they are included files with meillo@36: # $(DEPDIR) in their names. We invoke sed twice because it is the meillo@36: # simplest approach to changing $(DEPDIR) to its actual value in the meillo@36: # expansion. meillo@36: for file in `sed -n " meillo@36: s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ meillo@36: sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do meillo@36: # Make sure the directory exists. meillo@36: test -f "$dirpart/$file" && continue meillo@36: 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@36: $as_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@36: as_dir=$dirpart/$fdir; as_fn_mkdir_p meillo@36: # echo "creating $dirpart/$file" meillo@36: echo '# dummy' > "$dirpart/$file" meillo@0: done meillo@0: done meillo@36: } meillo@0: ;; meillo@1: meillo@0: esac meillo@1: done # for ac_tag meillo@1: meillo@0: meillo@36: as_fn_exit 0 meillo@0: _ACEOF meillo@0: ac_clean_files=$ac_clean_files_save meillo@0: meillo@36: test $ac_write_fail = 0 || meillo@36: as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 meillo@36: 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@36: $ac_cs_success || as_fn_exit $? meillo@36: fi meillo@36: if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then meillo@36: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 meillo@36: $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} meillo@36: fi meillo@36: