masqmail

annotate configure @ 296:e3e1a030c703

ran aclocal and autoconf
author markus schnalke <meillo@marmaro.de>
date Thu, 09 Dec 2010 10:58:40 -0300
parents 5eb5a92f3247
children 45a64a875162
rev   line source
meillo@0 1 #! /bin/sh
meillo@0 2 # Guess values for system-dependent variables and create Makefiles.
meillo@296 3 # Generated by GNU Autoconf 2.67 for masqmail 0.3.2-dev.
meillo@0 4 #
meillo@36 5 # Report bugs to <meillo@marmaro.de>.
meillo@36 6 #
meillo@0 7 #
meillo@1 8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
meillo@296 9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
meillo@296 10 # Foundation, Inc.
meillo@36 11 #
meillo@36 12 #
meillo@0 13 # This configure script is free software; the Free Software Foundation
meillo@0 14 # gives unlimited permission to copy, distribute and modify it.
meillo@36 15 ## -------------------- ##
meillo@36 16 ## M4sh Initialization. ##
meillo@36 17 ## -------------------- ##
meillo@0 18
meillo@1 19 # Be more Bourne compatible
meillo@1 20 DUALCASE=1; export DUALCASE # for MKS sh
meillo@36 21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
meillo@0 22 emulate sh
meillo@0 23 NULLCMD=:
meillo@36 24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
meillo@0 25 # is contrary to our usage. Disable this feature.
meillo@0 26 alias -g '${1+"$@"}'='"$@"'
meillo@1 27 setopt NO_GLOB_SUBST
meillo@1 28 else
meillo@36 29 case `(set -o) 2>/dev/null` in #(
meillo@36 30 *posix*) :
meillo@36 31 set -o posix ;; #(
meillo@36 32 *) :
meillo@36 33 ;;
meillo@1 34 esac
meillo@36 35 fi
meillo@36 36
meillo@36 37
meillo@36 38 as_nl='
meillo@36 39 '
meillo@36 40 export as_nl
meillo@36 41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
meillo@36 42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
meillo@36 43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
meillo@36 44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
meillo@36 45 # Prefer a ksh shell builtin over an external printf program on Solaris,
meillo@36 46 # but without wasting forks for bash or zsh.
meillo@36 47 if test -z "$BASH_VERSION$ZSH_VERSION" \
meillo@36 48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
meillo@36 49 as_echo='print -r --'
meillo@36 50 as_echo_n='print -rn --'
meillo@36 51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
meillo@36 52 as_echo='printf %s\n'
meillo@36 53 as_echo_n='printf %s'
meillo@36 54 else
meillo@36 55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
meillo@36 56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
meillo@36 57 as_echo_n='/usr/ucb/echo -n'
meillo@36 58 else
meillo@36 59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
meillo@36 60 as_echo_n_body='eval
meillo@36 61 arg=$1;
meillo@36 62 case $arg in #(
meillo@36 63 *"$as_nl"*)
meillo@36 64 expr "X$arg" : "X\\(.*\\)$as_nl";
meillo@36 65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
meillo@36 66 esac;
meillo@36 67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
meillo@36 68 '
meillo@36 69 export as_echo_n_body
meillo@36 70 as_echo_n='sh -c $as_echo_n_body as_echo'
meillo@36 71 fi
meillo@36 72 export as_echo_body
meillo@36 73 as_echo='sh -c $as_echo_body as_echo'
meillo@36 74 fi
meillo@0 75
meillo@0 76 # The user is always right.
meillo@0 77 if test "${PATH_SEPARATOR+set}" != set; then
meillo@36 78 PATH_SEPARATOR=:
meillo@36 79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
meillo@36 80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
meillo@36 81 PATH_SEPARATOR=';'
meillo@36 82 }
meillo@1 83 fi
meillo@1 84
meillo@1 85
meillo@1 86 # IFS
meillo@1 87 # We need space, tab and new line, in precisely that order. Quoting is
meillo@1 88 # there to prevent editors from complaining about space-tab.
meillo@1 89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
meillo@1 90 # splitting by setting IFS to empty value.)
meillo@1 91 IFS=" "" $as_nl"
meillo@1 92
meillo@1 93 # Find who we are. Look in the path if we contain no directory separator.
meillo@36 94 case $0 in #((
meillo@1 95 *[\\/]* ) as_myself=$0 ;;
meillo@1 96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
meillo@0 97 for as_dir in $PATH
meillo@0 98 do
meillo@0 99 IFS=$as_save_IFS
meillo@0 100 test -z "$as_dir" && as_dir=.
meillo@36 101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
meillo@36 102 done
meillo@1 103 IFS=$as_save_IFS
meillo@1 104
meillo@1 105 ;;
meillo@1 106 esac
meillo@1 107 # We did not find ourselves, most probably we were run as `sh COMMAND'
meillo@1 108 # in which case we are not to be found in the path.
meillo@1 109 if test "x$as_myself" = x; then
meillo@1 110 as_myself=$0
meillo@1 111 fi
meillo@1 112 if test ! -f "$as_myself"; then
meillo@36 113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
meillo@36 114 exit 1
meillo@36 115 fi
meillo@36 116
meillo@36 117 # Unset variables that we do not need and which cause bugs (e.g. in
meillo@36 118 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
meillo@36 119 # suppresses any "Segmentation fault" message there. '((' could
meillo@36 120 # trigger a bug in pdksh 5.2.14.
meillo@36 121 for as_var in BASH_ENV ENV MAIL MAILPATH
meillo@36 122 do eval test x\${$as_var+set} = xset \
meillo@36 123 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
meillo@1 124 done
meillo@1 125 PS1='$ '
meillo@1 126 PS2='> '
meillo@1 127 PS4='+ '
meillo@1 128
meillo@1 129 # NLS nuisances.
meillo@36 130 LC_ALL=C
meillo@36 131 export LC_ALL
meillo@36 132 LANGUAGE=C
meillo@36 133 export LANGUAGE
meillo@36 134
meillo@36 135 # CDPATH.
meillo@36 136 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
meillo@36 137
meillo@36 138 if test "x$CONFIG_SHELL" = x; then
meillo@36 139 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
meillo@36 140 emulate sh
meillo@36 141 NULLCMD=:
meillo@36 142 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
meillo@36 143 # is contrary to our usage. Disable this feature.
meillo@36 144 alias -g '\${1+\"\$@\"}'='\"\$@\"'
meillo@36 145 setopt NO_GLOB_SUBST
meillo@36 146 else
meillo@36 147 case \`(set -o) 2>/dev/null\` in #(
meillo@36 148 *posix*) :
meillo@36 149 set -o posix ;; #(
meillo@36 150 *) :
meillo@36 151 ;;
meillo@36 152 esac
meillo@36 153 fi
meillo@36 154 "
meillo@36 155 as_required="as_fn_return () { (exit \$1); }
meillo@36 156 as_fn_success () { as_fn_return 0; }
meillo@36 157 as_fn_failure () { as_fn_return 1; }
meillo@36 158 as_fn_ret_success () { return 0; }
meillo@36 159 as_fn_ret_failure () { return 1; }
meillo@36 160
meillo@36 161 exitcode=0
meillo@36 162 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
meillo@36 163 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
meillo@36 164 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
meillo@36 165 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
meillo@36 166 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
meillo@36 167
meillo@36 168 else
meillo@36 169 exitcode=1; echo positional parameters were not saved.
meillo@36 170 fi
meillo@36 171 test x\$exitcode = x0 || exit 1"
meillo@36 172 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
meillo@36 173 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
meillo@36 174 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
meillo@36 175 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
meillo@36 176 test \$(( 1 + 1 )) = 2 || exit 1"
meillo@36 177 if (eval "$as_required") 2>/dev/null; then :
meillo@36 178 as_have_required=yes
meillo@36 179 else
meillo@36 180 as_have_required=no
meillo@36 181 fi
meillo@36 182 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
meillo@36 183
meillo@36 184 else
meillo@36 185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
meillo@36 186 as_found=false
meillo@36 187 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
meillo@1 188 do
meillo@36 189 IFS=$as_save_IFS
meillo@36 190 test -z "$as_dir" && as_dir=.
meillo@36 191 as_found=:
meillo@36 192 case $as_dir in #(
meillo@36 193 /*)
meillo@36 194 for as_base in sh bash ksh sh5; do
meillo@36 195 # Try only shells that exist, to save several forks.
meillo@36 196 as_shell=$as_dir/$as_base
meillo@36 197 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
meillo@36 198 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
meillo@36 199 CONFIG_SHELL=$as_shell as_have_required=yes
meillo@36 200 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
meillo@36 201 break 2
meillo@36 202 fi
meillo@36 203 fi
meillo@36 204 done;;
meillo@36 205 esac
meillo@36 206 as_found=false
meillo@36 207 done
meillo@36 208 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
meillo@36 209 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
meillo@36 210 CONFIG_SHELL=$SHELL as_have_required=yes
meillo@36 211 fi; }
meillo@36 212 IFS=$as_save_IFS
meillo@36 213
meillo@36 214
meillo@36 215 if test "x$CONFIG_SHELL" != x; then :
meillo@36 216 # We cannot yet assume a decent shell, so we have to provide a
meillo@36 217 # neutralization value for shells without unset; and this also
meillo@36 218 # works around shells that cannot unset nonexistent variables.
meillo@36 219 BASH_ENV=/dev/null
meillo@36 220 ENV=/dev/null
meillo@36 221 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
meillo@36 222 export CONFIG_SHELL
meillo@36 223 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
meillo@36 224 fi
meillo@36 225
meillo@36 226 if test x$as_have_required = xno; then :
meillo@36 227 $as_echo "$0: This script requires a shell more modern than all"
meillo@36 228 $as_echo "$0: the shells that I found on your system."
meillo@36 229 if test x${ZSH_VERSION+set} = xset ; then
meillo@36 230 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
meillo@36 231 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
meillo@1 232 else
meillo@36 233 $as_echo "$0: Please tell bug-autoconf@gnu.org and meillo@marmaro.de
meillo@36 234 $0: about your system, including any error possibly output
meillo@36 235 $0: before this message. Then install a modern shell, or
meillo@36 236 $0: manually run the script under such a shell if you do
meillo@36 237 $0: have one."
meillo@0 238 fi
meillo@36 239 exit 1
meillo@36 240 fi
meillo@36 241 fi
meillo@36 242 fi
meillo@36 243 SHELL=${CONFIG_SHELL-/bin/sh}
meillo@36 244 export SHELL
meillo@36 245 # Unset more variables known to interfere with behavior of common tools.
meillo@36 246 CLICOLOR_FORCE= GREP_OPTIONS=
meillo@36 247 unset CLICOLOR_FORCE GREP_OPTIONS
meillo@36 248
meillo@36 249 ## --------------------- ##
meillo@36 250 ## M4sh Shell Functions. ##
meillo@36 251 ## --------------------- ##
meillo@36 252 # as_fn_unset VAR
meillo@36 253 # ---------------
meillo@36 254 # Portably unset VAR.
meillo@36 255 as_fn_unset ()
meillo@36 256 {
meillo@36 257 { eval $1=; unset $1;}
meillo@36 258 }
meillo@36 259 as_unset=as_fn_unset
meillo@36 260
meillo@36 261 # as_fn_set_status STATUS
meillo@36 262 # -----------------------
meillo@36 263 # Set $? to STATUS, without forking.
meillo@36 264 as_fn_set_status ()
meillo@36 265 {
meillo@36 266 return $1
meillo@36 267 } # as_fn_set_status
meillo@36 268
meillo@36 269 # as_fn_exit STATUS
meillo@36 270 # -----------------
meillo@36 271 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
meillo@36 272 as_fn_exit ()
meillo@36 273 {
meillo@36 274 set +e
meillo@36 275 as_fn_set_status $1
meillo@36 276 exit $1
meillo@36 277 } # as_fn_exit
meillo@36 278
meillo@36 279 # as_fn_mkdir_p
meillo@36 280 # -------------
meillo@36 281 # Create "$as_dir" as a directory, including parents if necessary.
meillo@36 282 as_fn_mkdir_p ()
meillo@36 283 {
meillo@36 284
meillo@36 285 case $as_dir in #(
meillo@36 286 -*) as_dir=./$as_dir;;
meillo@36 287 esac
meillo@36 288 test -d "$as_dir" || eval $as_mkdir_p || {
meillo@36 289 as_dirs=
meillo@36 290 while :; do
meillo@36 291 case $as_dir in #(
meillo@36 292 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
meillo@36 293 *) as_qdir=$as_dir;;
meillo@36 294 esac
meillo@36 295 as_dirs="'$as_qdir' $as_dirs"
meillo@36 296 as_dir=`$as_dirname -- "$as_dir" ||
meillo@36 297 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
meillo@36 298 X"$as_dir" : 'X\(//\)[^/]' \| \
meillo@36 299 X"$as_dir" : 'X\(//\)$' \| \
meillo@36 300 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
meillo@36 301 $as_echo X"$as_dir" |
meillo@36 302 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
meillo@36 303 s//\1/
meillo@36 304 q
meillo@36 305 }
meillo@36 306 /^X\(\/\/\)[^/].*/{
meillo@36 307 s//\1/
meillo@36 308 q
meillo@36 309 }
meillo@36 310 /^X\(\/\/\)$/{
meillo@36 311 s//\1/
meillo@36 312 q
meillo@36 313 }
meillo@36 314 /^X\(\/\).*/{
meillo@36 315 s//\1/
meillo@36 316 q
meillo@36 317 }
meillo@36 318 s/.*/./; q'`
meillo@36 319 test -d "$as_dir" && break
meillo@36 320 done
meillo@36 321 test -z "$as_dirs" || eval "mkdir $as_dirs"
meillo@296 322 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
meillo@36 323
meillo@36 324
meillo@36 325 } # as_fn_mkdir_p
meillo@36 326 # as_fn_append VAR VALUE
meillo@36 327 # ----------------------
meillo@36 328 # Append the text in VALUE to the end of the definition contained in VAR. Take
meillo@36 329 # advantage of any shell optimizations that allow amortized linear growth over
meillo@36 330 # repeated appends, instead of the typical quadratic growth present in naive
meillo@36 331 # implementations.
meillo@36 332 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
meillo@36 333 eval 'as_fn_append ()
meillo@36 334 {
meillo@36 335 eval $1+=\$2
meillo@36 336 }'
meillo@36 337 else
meillo@36 338 as_fn_append ()
meillo@36 339 {
meillo@36 340 eval $1=\$$1\$2
meillo@36 341 }
meillo@36 342 fi # as_fn_append
meillo@36 343
meillo@36 344 # as_fn_arith ARG...
meillo@36 345 # ------------------
meillo@36 346 # Perform arithmetic evaluation on the ARGs, and store the result in the
meillo@36 347 # global $as_val. Take advantage of shells that can avoid forks. The arguments
meillo@36 348 # must be portable across $(()) and expr.
meillo@36 349 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
meillo@36 350 eval 'as_fn_arith ()
meillo@36 351 {
meillo@36 352 as_val=$(( $* ))
meillo@36 353 }'
meillo@36 354 else
meillo@36 355 as_fn_arith ()
meillo@36 356 {
meillo@36 357 as_val=`expr "$@" || test $? -eq 1`
meillo@36 358 }
meillo@36 359 fi # as_fn_arith
meillo@36 360
meillo@36 361
meillo@296 362 # as_fn_error STATUS ERROR [LINENO LOG_FD]
meillo@296 363 # ----------------------------------------
meillo@36 364 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
meillo@36 365 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
meillo@296 366 # script with STATUS, using 1 if that was 0.
meillo@36 367 as_fn_error ()
meillo@36 368 {
meillo@296 369 as_status=$1; test $as_status -eq 0 && as_status=1
meillo@296 370 if test "$4"; then
meillo@296 371 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
meillo@296 372 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
meillo@36 373 fi
meillo@296 374 $as_echo "$as_me: error: $2" >&2
meillo@36 375 as_fn_exit $as_status
meillo@36 376 } # as_fn_error
meillo@36 377
meillo@1 378 if expr a : '\(a\)' >/dev/null 2>&1 &&
meillo@1 379 test "X`expr 00001 : '.*\(...\)'`" = X001; then
meillo@1 380 as_expr=expr
meillo@1 381 else
meillo@1 382 as_expr=false
meillo@1 383 fi
meillo@1 384
meillo@1 385 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
meillo@1 386 as_basename=basename
meillo@1 387 else
meillo@1 388 as_basename=false
meillo@1 389 fi
meillo@1 390
meillo@36 391 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
meillo@36 392 as_dirname=dirname
meillo@36 393 else
meillo@36 394 as_dirname=false
meillo@36 395 fi
meillo@36 396
meillo@1 397 as_me=`$as_basename -- "$0" ||
meillo@1 398 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
meillo@1 399 X"$0" : 'X\(//\)$' \| \
meillo@1 400 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
meillo@36 401 $as_echo X/"$0" |
meillo@1 402 sed '/^.*\/\([^/][^/]*\)\/*$/{
meillo@1 403 s//\1/
meillo@1 404 q
meillo@1 405 }
meillo@1 406 /^X\/\(\/\/\)$/{
meillo@1 407 s//\1/
meillo@1 408 q
meillo@1 409 }
meillo@1 410 /^X\/\(\/\).*/{
meillo@1 411 s//\1/
meillo@1 412 q
meillo@1 413 }
meillo@1 414 s/.*/./; q'`
meillo@1 415
meillo@36 416 # Avoid depending upon Character Ranges.
meillo@36 417 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
meillo@36 418 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
meillo@36 419 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
meillo@36 420 as_cr_digits='0123456789'
meillo@36 421 as_cr_alnum=$as_cr_Letters$as_cr_digits
meillo@36 422
meillo@36 423
meillo@36 424 as_lineno_1=$LINENO as_lineno_1a=$LINENO
meillo@36 425 as_lineno_2=$LINENO as_lineno_2a=$LINENO
meillo@36 426 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
meillo@36 427 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
meillo@36 428 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
meillo@1 429 sed -n '
meillo@1 430 p
meillo@1 431 /[$]LINENO/=
meillo@1 432 ' <$as_myself |
meillo@0 433 sed '
meillo@1 434 s/[$]LINENO.*/&-/
meillo@1 435 t lineno
meillo@1 436 b
meillo@1 437 :lineno
meillo@0 438 N
meillo@1 439 :loop
meillo@1 440 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
meillo@0 441 t loop
meillo@1 442 s/-\n.*//
meillo@0 443 ' >$as_me.lineno &&
meillo@1 444 chmod +x "$as_me.lineno" ||
meillo@36 445 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
meillo@0 446
meillo@0 447 # Don't try to exec as it changes $[0], causing all sort of problems
meillo@0 448 # (the dirname of $[0] is not the place where we might find the
meillo@1 449 # original and so on. Autoconf is especially sensitive to this).
meillo@1 450 . "./$as_me.lineno"
meillo@0 451 # Exit status is that of the last command.
meillo@0 452 exit
meillo@0 453 }
meillo@0 454
meillo@1 455 ECHO_C= ECHO_N= ECHO_T=
meillo@36 456 case `echo -n x` in #(((((
meillo@1 457 -n*)
meillo@36 458 case `echo 'xy\c'` in
meillo@1 459 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
meillo@36 460 xy) ECHO_C='\c';;
meillo@36 461 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
meillo@36 462 ECHO_T=' ';;
meillo@1 463 esac;;
meillo@1 464 *)
meillo@1 465 ECHO_N='-n';;
meillo@0 466 esac
meillo@0 467
meillo@0 468 rm -f conf$$ conf$$.exe conf$$.file
meillo@1 469 if test -d conf$$.dir; then
meillo@1 470 rm -f conf$$.dir/conf$$.file
meillo@1 471 else
meillo@1 472 rm -f conf$$.dir
meillo@36 473 mkdir conf$$.dir 2>/dev/null
meillo@36 474 fi
meillo@36 475 if (echo >conf$$.file) 2>/dev/null; then
meillo@36 476 if ln -s conf$$.file conf$$ 2>/dev/null; then
meillo@36 477 as_ln_s='ln -s'
meillo@36 478 # ... but there are two gotchas:
meillo@36 479 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
meillo@36 480 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
meillo@36 481 # In both cases, we have to default to `cp -p'.
meillo@36 482 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
meillo@36 483 as_ln_s='cp -p'
meillo@36 484 elif ln conf$$.file conf$$ 2>/dev/null; then
meillo@36 485 as_ln_s=ln
meillo@36 486 else
meillo@0 487 as_ln_s='cp -p'
meillo@36 488 fi
meillo@0 489 else
meillo@0 490 as_ln_s='cp -p'
meillo@0 491 fi
meillo@1 492 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
meillo@1 493 rmdir conf$$.dir 2>/dev/null
meillo@0 494
meillo@0 495 if mkdir -p . 2>/dev/null; then
meillo@36 496 as_mkdir_p='mkdir -p "$as_dir"'
meillo@0 497 else
meillo@0 498 test -d ./-p && rmdir ./-p
meillo@0 499 as_mkdir_p=false
meillo@0 500 fi
meillo@0 501
meillo@1 502 if test -x / >/dev/null 2>&1; then
meillo@1 503 as_test_x='test -x'
meillo@1 504 else
meillo@1 505 if ls -dL / >/dev/null 2>&1; then
meillo@1 506 as_ls_L_option=L
meillo@1 507 else
meillo@1 508 as_ls_L_option=
meillo@1 509 fi
meillo@1 510 as_test_x='
meillo@1 511 eval sh -c '\''
meillo@1 512 if test -d "$1"; then
meillo@36 513 test -d "$1/.";
meillo@1 514 else
meillo@36 515 case $1 in #(
meillo@36 516 -*)set "./$1";;
meillo@1 517 esac;
meillo@36 518 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
meillo@1 519 ???[sx]*):;;*)false;;esac;fi
meillo@1 520 '\'' sh
meillo@1 521 '
meillo@1 522 fi
meillo@1 523 as_executable_p=$as_test_x
meillo@0 524
meillo@0 525 # Sed expression to map a string onto a valid CPP name.
meillo@0 526 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
meillo@0 527
meillo@0 528 # Sed expression to map a string onto a valid variable name.
meillo@0 529 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
meillo@0 530
meillo@0 531
meillo@36 532 test -n "$DJDIR" || exec 7<&0 </dev/null
meillo@36 533 exec 6>&1
meillo@0 534
meillo@0 535 # Name of the host.
meillo@296 536 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
meillo@0 537 # so uname gets run too.
meillo@0 538 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
meillo@0 539
meillo@0 540 #
meillo@0 541 # Initializations.
meillo@0 542 #
meillo@0 543 ac_default_prefix=/usr/local
meillo@1 544 ac_clean_files=
meillo@0 545 ac_config_libobj_dir=.
meillo@1 546 LIBOBJS=
meillo@0 547 cross_compiling=no
meillo@0 548 subdirs=
meillo@0 549 MFLAGS=
meillo@0 550 MAKEFLAGS=
meillo@0 551
meillo@0 552 # Identity of this package.
meillo@0 553 PACKAGE_NAME='masqmail'
meillo@0 554 PACKAGE_TARNAME='masqmail'
meillo@296 555 PACKAGE_VERSION='0.3.2-dev'
meillo@296 556 PACKAGE_STRING='masqmail 0.3.2-dev'
meillo@36 557 PACKAGE_BUGREPORT='meillo@marmaro.de'
meillo@36 558 PACKAGE_URL=''
meillo@0 559
meillo@0 560 ac_unique_file="src/masqmail.c"
meillo@0 561 # Factoring default headers for most tests.
meillo@0 562 ac_includes_default="\
meillo@0 563 #include <stdio.h>
meillo@1 564 #ifdef HAVE_SYS_TYPES_H
meillo@0 565 # include <sys/types.h>
meillo@0 566 #endif
meillo@1 567 #ifdef HAVE_SYS_STAT_H
meillo@0 568 # include <sys/stat.h>
meillo@0 569 #endif
meillo@1 570 #ifdef STDC_HEADERS
meillo@0 571 # include <stdlib.h>
meillo@0 572 # include <stddef.h>
meillo@0 573 #else
meillo@1 574 # ifdef HAVE_STDLIB_H
meillo@0 575 # include <stdlib.h>
meillo@0 576 # endif
meillo@0 577 #endif
meillo@1 578 #ifdef HAVE_STRING_H
meillo@1 579 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
meillo@0 580 # include <memory.h>
meillo@0 581 # endif
meillo@0 582 # include <string.h>
meillo@0 583 #endif
meillo@1 584 #ifdef HAVE_STRINGS_H
meillo@0 585 # include <strings.h>
meillo@0 586 #endif
meillo@1 587 #ifdef HAVE_INTTYPES_H
meillo@0 588 # include <inttypes.h>
meillo@0 589 #endif
meillo@1 590 #ifdef HAVE_STDINT_H
meillo@1 591 # include <stdint.h>
meillo@1 592 #endif
meillo@1 593 #ifdef HAVE_UNISTD_H
meillo@0 594 # include <unistd.h>
meillo@0 595 #endif"
meillo@0 596
meillo@36 597 ac_subst_vars='am__EXEEXT_FALSE
meillo@36 598 am__EXEEXT_TRUE
meillo@36 599 LTLIBOBJS
meillo@36 600 LIBOBJS
meillo@36 601 with_confdir
meillo@36 602 with_spooldir
meillo@36 603 with_logdir
meillo@36 604 USE_LIBLOCKFILE
meillo@36 605 LOCKFILE_LIBS
meillo@36 606 IDENT_LIBS
meillo@36 607 has_ident
meillo@36 608 MD5_LIBS
meillo@36 609 BASE64_LIBS
meillo@36 610 with_group
meillo@36 611 with_user
meillo@36 612 RESOLV_LIBS
meillo@36 613 GLIB_LIBS
meillo@36 614 GLIB_CFLAGS
meillo@54 615 PKG_CONFIG_LIBDIR
meillo@54 616 PKG_CONFIG_PATH
meillo@36 617 PKG_CONFIG
meillo@36 618 RANLIB
meillo@36 619 EGREP
meillo@36 620 GREP
meillo@36 621 CPP
meillo@36 622 am__fastdepCC_FALSE
meillo@36 623 am__fastdepCC_TRUE
meillo@36 624 CCDEPMODE
meillo@36 625 AMDEPBACKSLASH
meillo@36 626 AMDEP_FALSE
meillo@36 627 AMDEP_TRUE
meillo@36 628 am__quote
meillo@36 629 am__include
meillo@36 630 DEPDIR
meillo@36 631 OBJEXT
meillo@36 632 EXEEXT
meillo@36 633 ac_ct_CC
meillo@36 634 CPPFLAGS
meillo@36 635 LDFLAGS
meillo@36 636 CFLAGS
meillo@36 637 CC
meillo@36 638 am__untar
meillo@36 639 am__tar
meillo@36 640 AMTAR
meillo@36 641 am__leading_dot
meillo@36 642 SET_MAKE
meillo@36 643 AWK
meillo@36 644 mkdir_p
meillo@36 645 MKDIR_P
meillo@36 646 INSTALL_STRIP_PROGRAM
meillo@36 647 STRIP
meillo@36 648 install_sh
meillo@36 649 MAKEINFO
meillo@36 650 AUTOHEADER
meillo@36 651 AUTOMAKE
meillo@36 652 AUTOCONF
meillo@36 653 ACLOCAL
meillo@36 654 VERSION
meillo@36 655 PACKAGE
meillo@36 656 CYGPATH_W
meillo@36 657 am__isrc
meillo@36 658 INSTALL_DATA
meillo@36 659 INSTALL_SCRIPT
meillo@36 660 INSTALL_PROGRAM
meillo@36 661 target_alias
meillo@36 662 host_alias
meillo@36 663 build_alias
meillo@36 664 LIBS
meillo@36 665 ECHO_T
meillo@36 666 ECHO_N
meillo@36 667 ECHO_C
meillo@36 668 DEFS
meillo@36 669 mandir
meillo@36 670 localedir
meillo@36 671 libdir
meillo@36 672 psdir
meillo@36 673 pdfdir
meillo@36 674 dvidir
meillo@36 675 htmldir
meillo@36 676 infodir
meillo@36 677 docdir
meillo@36 678 oldincludedir
meillo@36 679 includedir
meillo@36 680 localstatedir
meillo@36 681 sharedstatedir
meillo@36 682 sysconfdir
meillo@36 683 datadir
meillo@36 684 datarootdir
meillo@36 685 libexecdir
meillo@36 686 sbindir
meillo@36 687 bindir
meillo@36 688 program_transform_name
meillo@36 689 prefix
meillo@36 690 exec_prefix
meillo@36 691 PACKAGE_URL
meillo@36 692 PACKAGE_BUGREPORT
meillo@36 693 PACKAGE_STRING
meillo@36 694 PACKAGE_VERSION
meillo@36 695 PACKAGE_TARNAME
meillo@36 696 PACKAGE_NAME
meillo@1 697 PATH_SEPARATOR
meillo@36 698 SHELL'
meillo@36 699 ac_subst_files=''
meillo@36 700 ac_user_opts='
meillo@36 701 enable_option_checking
meillo@36 702 enable_dependency_tracking
meillo@36 703 enable_resolver
meillo@1 704 with_user
meillo@1 705 with_group
meillo@36 706 enable_debug
meillo@36 707 enable_auth
meillo@36 708 with_libcrypto
meillo@36 709 enable_ident
meillo@36 710 with_liblockfile
meillo@1 711 with_logdir
meillo@1 712 with_spooldir
meillo@1 713 with_confdir
meillo@36 714 '
meillo@1 715 ac_precious_vars='build_alias
meillo@1 716 host_alias
meillo@1 717 target_alias
meillo@1 718 CC
meillo@1 719 CFLAGS
meillo@1 720 LDFLAGS
meillo@1 721 LIBS
meillo@1 722 CPPFLAGS
meillo@1 723 CPP
meillo@1 724 PKG_CONFIG
meillo@54 725 PKG_CONFIG_PATH
meillo@54 726 PKG_CONFIG_LIBDIR
meillo@1 727 GLIB_CFLAGS
meillo@1 728 GLIB_LIBS'
meillo@1 729
meillo@0 730
meillo@0 731 # Initialize some variables set by options.
meillo@0 732 ac_init_help=
meillo@0 733 ac_init_version=false
meillo@36 734 ac_unrecognized_opts=
meillo@36 735 ac_unrecognized_sep=
meillo@0 736 # The variables have the same names as the options, with
meillo@0 737 # dashes changed to underlines.
meillo@0 738 cache_file=/dev/null
meillo@0 739 exec_prefix=NONE
meillo@0 740 no_create=
meillo@0 741 no_recursion=
meillo@0 742 prefix=NONE
meillo@0 743 program_prefix=NONE
meillo@0 744 program_suffix=NONE
meillo@0 745 program_transform_name=s,x,x,
meillo@0 746 silent=
meillo@0 747 site=
meillo@0 748 srcdir=
meillo@0 749 verbose=
meillo@0 750 x_includes=NONE
meillo@0 751 x_libraries=NONE
meillo@0 752
meillo@0 753 # Installation directory options.
meillo@0 754 # These are left unexpanded so users can "make install exec_prefix=/foo"
meillo@0 755 # and all the variables that are supposed to be based on exec_prefix
meillo@0 756 # by default will actually change.
meillo@0 757 # Use braces instead of parens because sh, perl, etc. also accept them.
meillo@1 758 # (The list follows the same order as the GNU Coding Standards.)
meillo@0 759 bindir='${exec_prefix}/bin'
meillo@0 760 sbindir='${exec_prefix}/sbin'
meillo@0 761 libexecdir='${exec_prefix}/libexec'
meillo@1 762 datarootdir='${prefix}/share'
meillo@1 763 datadir='${datarootdir}'
meillo@0 764 sysconfdir='${prefix}/etc'
meillo@0 765 sharedstatedir='${prefix}/com'
meillo@0 766 localstatedir='${prefix}/var'
meillo@0 767 includedir='${prefix}/include'
meillo@0 768 oldincludedir='/usr/include'
meillo@1 769 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
meillo@1 770 infodir='${datarootdir}/info'
meillo@1 771 htmldir='${docdir}'
meillo@1 772 dvidir='${docdir}'
meillo@1 773 pdfdir='${docdir}'
meillo@1 774 psdir='${docdir}'
meillo@1 775 libdir='${exec_prefix}/lib'
meillo@1 776 localedir='${datarootdir}/locale'
meillo@1 777 mandir='${datarootdir}/man'
meillo@0 778
meillo@0 779 ac_prev=
meillo@1 780 ac_dashdash=
meillo@0 781 for ac_option
meillo@0 782 do
meillo@0 783 # If the previous option needs an argument, assign it.
meillo@0 784 if test -n "$ac_prev"; then
meillo@1 785 eval $ac_prev=\$ac_option
meillo@0 786 ac_prev=
meillo@0 787 continue
meillo@0 788 fi
meillo@0 789
meillo@1 790 case $ac_option in
meillo@296 791 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
meillo@296 792 *=) ac_optarg= ;;
meillo@296 793 *) ac_optarg=yes ;;
meillo@1 794 esac
meillo@0 795
meillo@0 796 # Accept the important Cygnus configure options, so we can diagnose typos.
meillo@0 797
meillo@1 798 case $ac_dashdash$ac_option in
meillo@1 799 --)
meillo@1 800 ac_dashdash=yes ;;
meillo@0 801
meillo@0 802 -bindir | --bindir | --bindi | --bind | --bin | --bi)
meillo@0 803 ac_prev=bindir ;;
meillo@0 804 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
meillo@0 805 bindir=$ac_optarg ;;
meillo@0 806
meillo@0 807 -build | --build | --buil | --bui | --bu)
meillo@0 808 ac_prev=build_alias ;;
meillo@0 809 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
meillo@0 810 build_alias=$ac_optarg ;;
meillo@0 811
meillo@0 812 -cache-file | --cache-file | --cache-fil | --cache-fi \
meillo@0 813 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
meillo@0 814 ac_prev=cache_file ;;
meillo@0 815 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
meillo@0 816 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
meillo@0 817 cache_file=$ac_optarg ;;
meillo@0 818
meillo@0 819 --config-cache | -C)
meillo@0 820 cache_file=config.cache ;;
meillo@0 821
meillo@1 822 -datadir | --datadir | --datadi | --datad)
meillo@0 823 ac_prev=datadir ;;
meillo@1 824 -datadir=* | --datadir=* | --datadi=* | --datad=*)
meillo@0 825 datadir=$ac_optarg ;;
meillo@0 826
meillo@1 827 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
meillo@1 828 | --dataroo | --dataro | --datar)
meillo@1 829 ac_prev=datarootdir ;;
meillo@1 830 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
meillo@1 831 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
meillo@1 832 datarootdir=$ac_optarg ;;
meillo@1 833
meillo@0 834 -disable-* | --disable-*)
meillo@36 835 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
meillo@0 836 # Reject names that are not valid shell variable names.
meillo@36 837 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
meillo@296 838 as_fn_error $? "invalid feature name: $ac_useropt"
meillo@36 839 ac_useropt_orig=$ac_useropt
meillo@36 840 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
meillo@36 841 case $ac_user_opts in
meillo@36 842 *"
meillo@36 843 "enable_$ac_useropt"
meillo@36 844 "*) ;;
meillo@36 845 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
meillo@36 846 ac_unrecognized_sep=', ';;
meillo@36 847 esac
meillo@36 848 eval enable_$ac_useropt=no ;;
meillo@1 849
meillo@1 850 -docdir | --docdir | --docdi | --doc | --do)
meillo@1 851 ac_prev=docdir ;;
meillo@1 852 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
meillo@1 853 docdir=$ac_optarg ;;
meillo@1 854
meillo@1 855 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
meillo@1 856 ac_prev=dvidir ;;
meillo@1 857 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
meillo@1 858 dvidir=$ac_optarg ;;
meillo@0 859
meillo@0 860 -enable-* | --enable-*)
meillo@36 861 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
meillo@0 862 # Reject names that are not valid shell variable names.
meillo@36 863 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
meillo@296 864 as_fn_error $? "invalid feature name: $ac_useropt"
meillo@36 865 ac_useropt_orig=$ac_useropt
meillo@36 866 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
meillo@36 867 case $ac_user_opts in
meillo@36 868 *"
meillo@36 869 "enable_$ac_useropt"
meillo@36 870 "*) ;;
meillo@36 871 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
meillo@36 872 ac_unrecognized_sep=', ';;
meillo@36 873 esac
meillo@36 874 eval enable_$ac_useropt=\$ac_optarg ;;
meillo@0 875
meillo@0 876 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
meillo@0 877 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
meillo@0 878 | --exec | --exe | --ex)
meillo@0 879 ac_prev=exec_prefix ;;
meillo@0 880 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
meillo@0 881 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
meillo@0 882 | --exec=* | --exe=* | --ex=*)
meillo@0 883 exec_prefix=$ac_optarg ;;
meillo@0 884
meillo@0 885 -gas | --gas | --ga | --g)
meillo@0 886 # Obsolete; use --with-gas.
meillo@0 887 with_gas=yes ;;
meillo@0 888
meillo@0 889 -help | --help | --hel | --he | -h)
meillo@0 890 ac_init_help=long ;;
meillo@0 891 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
meillo@0 892 ac_init_help=recursive ;;
meillo@0 893 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
meillo@0 894 ac_init_help=short ;;
meillo@0 895
meillo@0 896 -host | --host | --hos | --ho)
meillo@0 897 ac_prev=host_alias ;;
meillo@0 898 -host=* | --host=* | --hos=* | --ho=*)
meillo@0 899 host_alias=$ac_optarg ;;
meillo@0 900
meillo@1 901 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
meillo@1 902 ac_prev=htmldir ;;
meillo@1 903 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
meillo@1 904 | --ht=*)
meillo@1 905 htmldir=$ac_optarg ;;
meillo@1 906
meillo@0 907 -includedir | --includedir | --includedi | --included | --include \
meillo@0 908 | --includ | --inclu | --incl | --inc)
meillo@0 909 ac_prev=includedir ;;
meillo@0 910 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
meillo@0 911 | --includ=* | --inclu=* | --incl=* | --inc=*)
meillo@0 912 includedir=$ac_optarg ;;
meillo@0 913
meillo@0 914 -infodir | --infodir | --infodi | --infod | --info | --inf)
meillo@0 915 ac_prev=infodir ;;
meillo@0 916 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
meillo@0 917 infodir=$ac_optarg ;;
meillo@0 918
meillo@0 919 -libdir | --libdir | --libdi | --libd)
meillo@0 920 ac_prev=libdir ;;
meillo@0 921 -libdir=* | --libdir=* | --libdi=* | --libd=*)
meillo@0 922 libdir=$ac_optarg ;;
meillo@0 923
meillo@0 924 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
meillo@0 925 | --libexe | --libex | --libe)
meillo@0 926 ac_prev=libexecdir ;;
meillo@0 927 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
meillo@0 928 | --libexe=* | --libex=* | --libe=*)
meillo@0 929 libexecdir=$ac_optarg ;;
meillo@0 930
meillo@1 931 -localedir | --localedir | --localedi | --localed | --locale)
meillo@1 932 ac_prev=localedir ;;
meillo@1 933 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
meillo@1 934 localedir=$ac_optarg ;;
meillo@1 935
meillo@0 936 -localstatedir | --localstatedir | --localstatedi | --localstated \
meillo@1 937 | --localstate | --localstat | --localsta | --localst | --locals)
meillo@0 938 ac_prev=localstatedir ;;
meillo@0 939 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
meillo@1 940 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
meillo@0 941 localstatedir=$ac_optarg ;;
meillo@0 942
meillo@0 943 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
meillo@0 944 ac_prev=mandir ;;
meillo@0 945 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
meillo@0 946 mandir=$ac_optarg ;;
meillo@0 947
meillo@0 948 -nfp | --nfp | --nf)
meillo@0 949 # Obsolete; use --without-fp.
meillo@0 950 with_fp=no ;;
meillo@0 951
meillo@0 952 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
meillo@0 953 | --no-cr | --no-c | -n)
meillo@0 954 no_create=yes ;;
meillo@0 955
meillo@0 956 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
meillo@0 957 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
meillo@0 958 no_recursion=yes ;;
meillo@0 959
meillo@0 960 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
meillo@0 961 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
meillo@0 962 | --oldin | --oldi | --old | --ol | --o)
meillo@0 963 ac_prev=oldincludedir ;;
meillo@0 964 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
meillo@0 965 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
meillo@0 966 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
meillo@0 967 oldincludedir=$ac_optarg ;;
meillo@0 968
meillo@0 969 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
meillo@0 970 ac_prev=prefix ;;
meillo@0 971 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
meillo@0 972 prefix=$ac_optarg ;;
meillo@0 973
meillo@0 974 -program-prefix | --program-prefix | --program-prefi | --program-pref \
meillo@0 975 | --program-pre | --program-pr | --program-p)
meillo@0 976 ac_prev=program_prefix ;;
meillo@0 977 -program-prefix=* | --program-prefix=* | --program-prefi=* \
meillo@0 978 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
meillo@0 979 program_prefix=$ac_optarg ;;
meillo@0 980
meillo@0 981 -program-suffix | --program-suffix | --program-suffi | --program-suff \
meillo@0 982 | --program-suf | --program-su | --program-s)
meillo@0 983 ac_prev=program_suffix ;;
meillo@0 984 -program-suffix=* | --program-suffix=* | --program-suffi=* \
meillo@0 985 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
meillo@0 986 program_suffix=$ac_optarg ;;
meillo@0 987
meillo@0 988 -program-transform-name | --program-transform-name \
meillo@0 989 | --program-transform-nam | --program-transform-na \
meillo@0 990 | --program-transform-n | --program-transform- \
meillo@0 991 | --program-transform | --program-transfor \
meillo@0 992 | --program-transfo | --program-transf \
meillo@0 993 | --program-trans | --program-tran \
meillo@0 994 | --progr-tra | --program-tr | --program-t)
meillo@0 995 ac_prev=program_transform_name ;;
meillo@0 996 -program-transform-name=* | --program-transform-name=* \
meillo@0 997 | --program-transform-nam=* | --program-transform-na=* \
meillo@0 998 | --program-transform-n=* | --program-transform-=* \
meillo@0 999 | --program-transform=* | --program-transfor=* \
meillo@0 1000 | --program-transfo=* | --program-transf=* \
meillo@0 1001 | --program-trans=* | --program-tran=* \
meillo@0 1002 | --progr-tra=* | --program-tr=* | --program-t=*)
meillo@0 1003 program_transform_name=$ac_optarg ;;
meillo@0 1004
meillo@1 1005 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
meillo@1 1006 ac_prev=pdfdir ;;
meillo@1 1007 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
meillo@1 1008 pdfdir=$ac_optarg ;;
meillo@1 1009
meillo@1 1010 -psdir | --psdir | --psdi | --psd | --ps)
meillo@1 1011 ac_prev=psdir ;;
meillo@1 1012 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
meillo@1 1013 psdir=$ac_optarg ;;
meillo@1 1014
meillo@0 1015 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
meillo@0 1016 | -silent | --silent | --silen | --sile | --sil)
meillo@0 1017 silent=yes ;;
meillo@0 1018
meillo@0 1019 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
meillo@0 1020 ac_prev=sbindir ;;
meillo@0 1021 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
meillo@0 1022 | --sbi=* | --sb=*)
meillo@0 1023 sbindir=$ac_optarg ;;
meillo@0 1024
meillo@0 1025 -sharedstatedir | --sharedstatedir | --sharedstatedi \
meillo@0 1026 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
meillo@0 1027 | --sharedst | --shareds | --shared | --share | --shar \
meillo@0 1028 | --sha | --sh)
meillo@0 1029 ac_prev=sharedstatedir ;;
meillo@0 1030 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
meillo@0 1031 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
meillo@0 1032 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
meillo@0 1033 | --sha=* | --sh=*)
meillo@0 1034 sharedstatedir=$ac_optarg ;;
meillo@0 1035
meillo@0 1036 -site | --site | --sit)
meillo@0 1037 ac_prev=site ;;
meillo@0 1038 -site=* | --site=* | --sit=*)
meillo@0 1039 site=$ac_optarg ;;
meillo@0 1040
meillo@0 1041 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
meillo@0 1042 ac_prev=srcdir ;;
meillo@0 1043 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
meillo@0 1044 srcdir=$ac_optarg ;;
meillo@0 1045
meillo@0 1046 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
meillo@0 1047 | --syscon | --sysco | --sysc | --sys | --sy)
meillo@0 1048 ac_prev=sysconfdir ;;
meillo@0 1049 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
meillo@0 1050 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
meillo@0 1051 sysconfdir=$ac_optarg ;;
meillo@0 1052
meillo@0 1053 -target | --target | --targe | --targ | --tar | --ta | --t)
meillo@0 1054 ac_prev=target_alias ;;
meillo@0 1055 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
meillo@0 1056 target_alias=$ac_optarg ;;
meillo@0 1057
meillo@0 1058 -v | -verbose | --verbose | --verbos | --verbo | --verb)
meillo@0 1059 verbose=yes ;;
meillo@0 1060
meillo@0 1061 -version | --version | --versio | --versi | --vers | -V)
meillo@0 1062 ac_init_version=: ;;
meillo@0 1063
meillo@0 1064 -with-* | --with-*)
meillo@36 1065 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
meillo@0 1066 # Reject names that are not valid shell variable names.
meillo@36 1067 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
meillo@296 1068 as_fn_error $? "invalid package name: $ac_useropt"
meillo@36 1069 ac_useropt_orig=$ac_useropt
meillo@36 1070 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
meillo@36 1071 case $ac_user_opts in
meillo@36 1072 *"
meillo@36 1073 "with_$ac_useropt"
meillo@36 1074 "*) ;;
meillo@36 1075 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
meillo@36 1076 ac_unrecognized_sep=', ';;
meillo@36 1077 esac
meillo@36 1078 eval with_$ac_useropt=\$ac_optarg ;;
meillo@0 1079
meillo@0 1080 -without-* | --without-*)
meillo@36 1081 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
meillo@0 1082 # Reject names that are not valid shell variable names.
meillo@36 1083 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
meillo@296 1084 as_fn_error $? "invalid package name: $ac_useropt"
meillo@36 1085 ac_useropt_orig=$ac_useropt
meillo@36 1086 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
meillo@36 1087 case $ac_user_opts in
meillo@36 1088 *"
meillo@36 1089 "with_$ac_useropt"
meillo@36 1090 "*) ;;
meillo@36 1091 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
meillo@36 1092 ac_unrecognized_sep=', ';;
meillo@36 1093 esac
meillo@36 1094 eval with_$ac_useropt=no ;;
meillo@0 1095
meillo@0 1096 --x)
meillo@0 1097 # Obsolete; use --with-x.
meillo@0 1098 with_x=yes ;;
meillo@0 1099
meillo@0 1100 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
meillo@0 1101 | --x-incl | --x-inc | --x-in | --x-i)
meillo@0 1102 ac_prev=x_includes ;;
meillo@0 1103 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
meillo@0 1104 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
meillo@0 1105 x_includes=$ac_optarg ;;
meillo@0 1106
meillo@0 1107 -x-libraries | --x-libraries | --x-librarie | --x-librari \
meillo@0 1108 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
meillo@0 1109 ac_prev=x_libraries ;;
meillo@0 1110 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
meillo@0 1111 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
meillo@0 1112 x_libraries=$ac_optarg ;;
meillo@0 1113
meillo@296 1114 -*) as_fn_error $? "unrecognized option: \`$ac_option'
meillo@296 1115 Try \`$0 --help' for more information"
meillo@0 1116 ;;
meillo@0 1117
meillo@0 1118 *=*)
meillo@0 1119 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
meillo@0 1120 # Reject names that are not valid shell variable names.
meillo@36 1121 case $ac_envvar in #(
meillo@36 1122 '' | [0-9]* | *[!_$as_cr_alnum]* )
meillo@296 1123 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
meillo@36 1124 esac
meillo@1 1125 eval $ac_envvar=\$ac_optarg
meillo@0 1126 export $ac_envvar ;;
meillo@0 1127
meillo@0 1128 *)
meillo@0 1129 # FIXME: should be removed in autoconf 3.0.
meillo@36 1130 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
meillo@0 1131 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
meillo@36 1132 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
meillo@0 1133 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
meillo@0 1134 ;;
meillo@0 1135
meillo@0 1136 esac
meillo@0 1137 done
meillo@0 1138
meillo@0 1139 if test -n "$ac_prev"; then
meillo@0 1140 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
meillo@296 1141 as_fn_error $? "missing argument to $ac_option"
meillo@36 1142 fi
meillo@36 1143
meillo@36 1144 if test -n "$ac_unrecognized_opts"; then
meillo@36 1145 case $enable_option_checking in
meillo@36 1146 no) ;;
meillo@296 1147 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
meillo@36 1148 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
meillo@36 1149 esac
meillo@36 1150 fi
meillo@36 1151
meillo@36 1152 # Check all directory arguments for consistency.
meillo@1 1153 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
meillo@1 1154 datadir sysconfdir sharedstatedir localstatedir includedir \
meillo@1 1155 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
meillo@1 1156 libdir localedir mandir
meillo@0 1157 do
meillo@1 1158 eval ac_val=\$$ac_var
meillo@36 1159 # Remove trailing slashes.
meillo@36 1160 case $ac_val in
meillo@36 1161 */ )
meillo@36 1162 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
meillo@36 1163 eval $ac_var=\$ac_val;;
meillo@36 1164 esac
meillo@36 1165 # Be sure to have absolute directory names.
meillo@0 1166 case $ac_val in
meillo@1 1167 [\\/$]* | ?:[\\/]* ) continue;;
meillo@1 1168 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
meillo@0 1169 esac
meillo@296 1170 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
meillo@0 1171 done
meillo@0 1172
meillo@0 1173 # There might be people who depend on the old broken behavior: `$host'
meillo@0 1174 # used to hold the argument of --host etc.
meillo@0 1175 # FIXME: To remove some day.
meillo@0 1176 build=$build_alias
meillo@0 1177 host=$host_alias
meillo@0 1178 target=$target_alias
meillo@0 1179
meillo@0 1180 # FIXME: To remove some day.
meillo@0 1181 if test "x$host_alias" != x; then
meillo@0 1182 if test "x$build_alias" = x; then
meillo@0 1183 cross_compiling=maybe
meillo@296 1184 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
meillo@296 1185 If a cross compiler is detected then cross compile mode will be used" >&2
meillo@0 1186 elif test "x$build_alias" != "x$host_alias"; then
meillo@0 1187 cross_compiling=yes
meillo@0 1188 fi
meillo@0 1189 fi
meillo@0 1190
meillo@0 1191 ac_tool_prefix=
meillo@0 1192 test -n "$host_alias" && ac_tool_prefix=$host_alias-
meillo@0 1193
meillo@0 1194 test "$silent" = yes && exec 6>/dev/null
meillo@0 1195
meillo@0 1196
meillo@1 1197 ac_pwd=`pwd` && test -n "$ac_pwd" &&
meillo@1 1198 ac_ls_di=`ls -di .` &&
meillo@1 1199 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
meillo@296 1200 as_fn_error $? "working directory cannot be determined"
meillo@1 1201 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
meillo@296 1202 as_fn_error $? "pwd does not report name of working directory"
meillo@1 1203
meillo@1 1204
meillo@0 1205 # Find the source files, if location was not specified.
meillo@0 1206 if test -z "$srcdir"; then
meillo@0 1207 ac_srcdir_defaulted=yes
meillo@1 1208 # Try the directory containing this script, then the parent directory.
meillo@36 1209 ac_confdir=`$as_dirname -- "$as_myself" ||
meillo@36 1210 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
meillo@36 1211 X"$as_myself" : 'X\(//\)[^/]' \| \
meillo@36 1212 X"$as_myself" : 'X\(//\)$' \| \
meillo@36 1213 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
meillo@36 1214 $as_echo X"$as_myself" |
meillo@1 1215 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
meillo@1 1216 s//\1/
meillo@1 1217 q
meillo@1 1218 }
meillo@1 1219 /^X\(\/\/\)[^/].*/{
meillo@1 1220 s//\1/
meillo@1 1221 q
meillo@1 1222 }
meillo@1 1223 /^X\(\/\/\)$/{
meillo@1 1224 s//\1/
meillo@1 1225 q
meillo@1 1226 }
meillo@1 1227 /^X\(\/\).*/{
meillo@1 1228 s//\1/
meillo@1 1229 q
meillo@1 1230 }
meillo@1 1231 s/.*/./; q'`
meillo@0 1232 srcdir=$ac_confdir
meillo@1 1233 if test ! -r "$srcdir/$ac_unique_file"; then
meillo@0 1234 srcdir=..
meillo@0 1235 fi
meillo@0 1236 else
meillo@0 1237 ac_srcdir_defaulted=no
meillo@0 1238 fi
meillo@1 1239 if test ! -r "$srcdir/$ac_unique_file"; then
meillo@1 1240 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
meillo@296 1241 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
meillo@1 1242 fi
meillo@1 1243 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
meillo@1 1244 ac_abs_confdir=`(
meillo@296 1245 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
meillo@1 1246 pwd)`
meillo@1 1247 # When building in place, set srcdir=.
meillo@1 1248 if test "$ac_abs_confdir" = "$ac_pwd"; then
meillo@1 1249 srcdir=.
meillo@1 1250 fi
meillo@1 1251 # Remove unnecessary trailing slashes from srcdir.
meillo@1 1252 # Double slashes in file names in object file debugging info
meillo@1 1253 # mess up M-x gdb in Emacs.
meillo@1 1254 case $srcdir in
meillo@1 1255 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
meillo@1 1256 esac
meillo@1 1257 for ac_var in $ac_precious_vars; do
meillo@1 1258 eval ac_env_${ac_var}_set=\${${ac_var}+set}
meillo@1 1259 eval ac_env_${ac_var}_value=\$${ac_var}
meillo@1 1260 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
meillo@1 1261 eval ac_cv_env_${ac_var}_value=\$${ac_var}
meillo@1 1262 done
meillo@0 1263
meillo@0 1264 #
meillo@0 1265 # Report the --help message.
meillo@0 1266 #
meillo@0 1267 if test "$ac_init_help" = "long"; then
meillo@0 1268 # Omit some internal or obsolete options to make the list less imposing.
meillo@0 1269 # This message is too long to be a string in the A/UX 3.1 sh.
meillo@0 1270 cat <<_ACEOF
meillo@296 1271 \`configure' configures masqmail 0.3.2-dev to adapt to many kinds of systems.
meillo@0 1272
meillo@0 1273 Usage: $0 [OPTION]... [VAR=VALUE]...
meillo@0 1274
meillo@0 1275 To assign environment variables (e.g., CC, CFLAGS...), specify them as
meillo@0 1276 VAR=VALUE. See below for descriptions of some of the useful variables.
meillo@0 1277
meillo@0 1278 Defaults for the options are specified in brackets.
meillo@0 1279
meillo@0 1280 Configuration:
meillo@0 1281 -h, --help display this help and exit
meillo@0 1282 --help=short display options specific to this package
meillo@0 1283 --help=recursive display the short help of all the included packages
meillo@0 1284 -V, --version display version information and exit
meillo@296 1285 -q, --quiet, --silent do not print \`checking ...' messages
meillo@0 1286 --cache-file=FILE cache test results in FILE [disabled]
meillo@0 1287 -C, --config-cache alias for \`--cache-file=config.cache'
meillo@0 1288 -n, --no-create do not create output files
meillo@0 1289 --srcdir=DIR find the sources in DIR [configure dir or \`..']
meillo@0 1290
meillo@0 1291 Installation directories:
meillo@0 1292 --prefix=PREFIX install architecture-independent files in PREFIX
meillo@36 1293 [$ac_default_prefix]
meillo@0 1294 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
meillo@36 1295 [PREFIX]
meillo@0 1296
meillo@0 1297 By default, \`make install' will install all the files in
meillo@0 1298 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
meillo@0 1299 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
meillo@0 1300 for instance \`--prefix=\$HOME'.
meillo@0 1301
meillo@0 1302 For better control, use the options below.
meillo@0 1303
meillo@0 1304 Fine tuning of the installation directories:
meillo@36 1305 --bindir=DIR user executables [EPREFIX/bin]
meillo@36 1306 --sbindir=DIR system admin executables [EPREFIX/sbin]
meillo@36 1307 --libexecdir=DIR program executables [EPREFIX/libexec]
meillo@36 1308 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
meillo@36 1309 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
meillo@36 1310 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
meillo@36 1311 --libdir=DIR object code libraries [EPREFIX/lib]
meillo@36 1312 --includedir=DIR C header files [PREFIX/include]
meillo@36 1313 --oldincludedir=DIR C header files for non-gcc [/usr/include]
meillo@36 1314 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
meillo@36 1315 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
meillo@36 1316 --infodir=DIR info documentation [DATAROOTDIR/info]
meillo@36 1317 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
meillo@36 1318 --mandir=DIR man documentation [DATAROOTDIR/man]
meillo@36 1319 --docdir=DIR documentation root [DATAROOTDIR/doc/masqmail]
meillo@36 1320 --htmldir=DIR html documentation [DOCDIR]
meillo@36 1321 --dvidir=DIR dvi documentation [DOCDIR]
meillo@36 1322 --pdfdir=DIR pdf documentation [DOCDIR]
meillo@36 1323 --psdir=DIR ps documentation [DOCDIR]
meillo@0 1324 _ACEOF
meillo@0 1325
meillo@0 1326 cat <<\_ACEOF
meillo@0 1327
meillo@0 1328 Program names:
meillo@0 1329 --program-prefix=PREFIX prepend PREFIX to installed program names
meillo@0 1330 --program-suffix=SUFFIX append SUFFIX to installed program names
meillo@0 1331 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
meillo@0 1332 _ACEOF
meillo@0 1333 fi
meillo@0 1334
meillo@0 1335 if test -n "$ac_init_help"; then
meillo@0 1336 case $ac_init_help in
meillo@296 1337 short | recursive ) echo "Configuration of masqmail 0.3.2-dev:";;
meillo@0 1338 esac
meillo@0 1339 cat <<\_ACEOF
meillo@0 1340
meillo@0 1341 Optional Features:
meillo@36 1342 --disable-option-checking ignore unrecognized --enable/--with options
meillo@0 1343 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
meillo@0 1344 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
meillo@36 1345 --disable-dependency-tracking speeds up one-time build
meillo@36 1346 --enable-dependency-tracking do not reject slow dependency extractors
meillo@193 1347 --disable-resolver disable resolver support
meillo@193 1348 --disable-debug disable debugging
meillo@193 1349 --enable-auth enable AUTH (RFC 2554) client support
meillo@193 1350 --enable-ident enable ident (RFC 1413) support
meillo@0 1351
meillo@0 1352 Optional Packages:
meillo@0 1353 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
meillo@0 1354 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
meillo@193 1355 --with-user=USER set user mail
meillo@193 1356 --with-group=GROUP set group trusted
meillo@193 1357 --with-libcrypto use libcrypto
meillo@193 1358 --with-liblockfile use liblock (for Debian)
meillo@193 1359 --with-logdir=DIR set log directory /var/log/masqmail
meillo@193 1360 --with-spooldir=DIR set spool directory /var/spool/masqmail
meillo@193 1361 --with-confdir directory for configuration /etc/masqmail
meillo@0 1362
meillo@0 1363 Some influential environment variables:
meillo@0 1364 CC C compiler command
meillo@0 1365 CFLAGS C compiler flags
meillo@0 1366 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
meillo@0 1367 nonstandard directory <lib dir>
meillo@1 1368 LIBS libraries to pass to the linker, e.g. -l<library>
meillo@36 1369 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
meillo@1 1370 you have headers in a nonstandard directory <include dir>
meillo@0 1371 CPP C preprocessor
meillo@0 1372 PKG_CONFIG path to pkg-config utility
meillo@54 1373 PKG_CONFIG_PATH
meillo@54 1374 directories to add to pkg-config's search path
meillo@54 1375 PKG_CONFIG_LIBDIR
meillo@54 1376 path overriding pkg-config's built-in search path
meillo@0 1377 GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
meillo@0 1378 GLIB_LIBS linker flags for GLIB, overriding pkg-config
meillo@0 1379
meillo@0 1380 Use these variables to override the choices made by `configure' or to help
meillo@0 1381 it to find libraries and programs with nonstandard names/locations.
meillo@0 1382
meillo@36 1383 Report bugs to <meillo@marmaro.de>.
meillo@0 1384 _ACEOF
meillo@1 1385 ac_status=$?
meillo@0 1386 fi
meillo@0 1387
meillo@0 1388 if test "$ac_init_help" = "recursive"; then
meillo@0 1389 # If there are subdirs, report their specific --help.
meillo@0 1390 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
meillo@36 1391 test -d "$ac_dir" ||
meillo@36 1392 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
meillo@36 1393 continue
meillo@0 1394 ac_builddir=.
meillo@0 1395
meillo@1 1396 case "$ac_dir" in
meillo@1 1397 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
meillo@1 1398 *)
meillo@36 1399 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
meillo@1 1400 # A ".." for each directory in $ac_dir_suffix.
meillo@36 1401 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
meillo@1 1402 case $ac_top_builddir_sub in
meillo@1 1403 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
meillo@1 1404 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
meillo@1 1405 esac ;;
meillo@1 1406 esac
meillo@1 1407 ac_abs_top_builddir=$ac_pwd
meillo@1 1408 ac_abs_builddir=$ac_pwd$ac_dir_suffix
meillo@1 1409 # for backward compatibility:
meillo@1 1410 ac_top_builddir=$ac_top_build_prefix
meillo@0 1411
meillo@0 1412 case $srcdir in
meillo@1 1413 .) # We are building in place.
meillo@0 1414 ac_srcdir=.
meillo@1 1415 ac_top_srcdir=$ac_top_builddir_sub
meillo@1 1416 ac_abs_top_srcdir=$ac_pwd ;;
meillo@1 1417 [\\/]* | ?:[\\/]* ) # Absolute name.
meillo@0 1418 ac_srcdir=$srcdir$ac_dir_suffix;
meillo@1 1419 ac_top_srcdir=$srcdir
meillo@1 1420 ac_abs_top_srcdir=$srcdir ;;
meillo@1 1421 *) # Relative name.
meillo@1 1422 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
meillo@1 1423 ac_top_srcdir=$ac_top_build_prefix$srcdir
meillo@1 1424 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
meillo@0 1425 esac
meillo@1 1426 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
meillo@1 1427
meillo@1 1428 cd "$ac_dir" || { ac_status=$?; continue; }
meillo@1 1429 # Check for guested configure.
meillo@1 1430 if test -f "$ac_srcdir/configure.gnu"; then
meillo@1 1431 echo &&
meillo@1 1432 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
meillo@1 1433 elif test -f "$ac_srcdir/configure"; then
meillo@1 1434 echo &&
meillo@1 1435 $SHELL "$ac_srcdir/configure" --help=recursive
meillo@0 1436 else
meillo@36 1437 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
meillo@1 1438 fi || ac_status=$?
meillo@1 1439 cd "$ac_pwd" || { ac_status=$?; break; }
meillo@0 1440 done
meillo@0 1441 fi
meillo@0 1442
meillo@1 1443 test -n "$ac_init_help" && exit $ac_status
meillo@0 1444 if $ac_init_version; then
meillo@0 1445 cat <<\_ACEOF
meillo@296 1446 masqmail configure 0.3.2-dev
meillo@296 1447 generated by GNU Autoconf 2.67
meillo@296 1448
meillo@296 1449 Copyright (C) 2010 Free Software Foundation, Inc.
meillo@0 1450 This configure script is free software; the Free Software Foundation
meillo@0 1451 gives unlimited permission to copy, distribute and modify it.
meillo@0 1452 _ACEOF
meillo@1 1453 exit
meillo@1 1454 fi
meillo@36 1455
meillo@36 1456 ## ------------------------ ##
meillo@36 1457 ## Autoconf initialization. ##
meillo@36 1458 ## ------------------------ ##
meillo@36 1459
meillo@36 1460 # ac_fn_c_try_compile LINENO
meillo@36 1461 # --------------------------
meillo@36 1462 # Try to compile conftest.$ac_ext, and return whether this succeeded.
meillo@36 1463 ac_fn_c_try_compile ()
meillo@36 1464 {
meillo@36 1465 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
meillo@36 1466 rm -f conftest.$ac_objext
meillo@36 1467 if { { ac_try="$ac_compile"
meillo@36 1468 case "(($ac_try" in
meillo@36 1469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
meillo@36 1470 *) ac_try_echo=$ac_try;;
meillo@36 1471 esac
meillo@36 1472 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
meillo@36 1473 $as_echo "$ac_try_echo"; } >&5
meillo@36 1474 (eval "$ac_compile") 2>conftest.err
meillo@36 1475 ac_status=$?
meillo@36 1476 if test -s conftest.err; then
meillo@36 1477 grep -v '^ *+' conftest.err >conftest.er1
meillo@36 1478 cat conftest.er1 >&5
meillo@36 1479 mv -f conftest.er1 conftest.err
meillo@36 1480 fi
meillo@36 1481 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
meillo@36 1482 test $ac_status = 0; } && {
meillo@36 1483 test -z "$ac_c_werror_flag" ||
meillo@36 1484 test ! -s conftest.err
meillo@36 1485 } && test -s conftest.$ac_objext; then :
meillo@36 1486 ac_retval=0
meillo@36 1487 else
meillo@36 1488 $as_echo "$as_me: failed program was:" >&5
meillo@36 1489 sed 's/^/| /' conftest.$ac_ext >&5
meillo@36 1490
meillo@36 1491 ac_retval=1
meillo@36 1492 fi
meillo@36 1493 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
meillo@36 1494 as_fn_set_status $ac_retval
meillo@36 1495
meillo@36 1496 } # ac_fn_c_try_compile
meillo@36 1497
meillo@36 1498 # ac_fn_c_try_link LINENO
meillo@36 1499 # -----------------------
meillo@36 1500 # Try to link conftest.$ac_ext, and return whether this succeeded.
meillo@36 1501 ac_fn_c_try_link ()
meillo@36 1502 {
meillo@36 1503 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
meillo@36 1504 rm -f conftest.$ac_objext conftest$ac_exeext
meillo@36 1505 if { { ac_try="$ac_link"
meillo@36 1506 case "(($ac_try" in
meillo@36 1507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
meillo@36 1508 *) ac_try_echo=$ac_try;;
meillo@36 1509 esac
meillo@36 1510 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
meillo@36 1511 $as_echo "$ac_try_echo"; } >&5
meillo@36 1512 (eval "$ac_link") 2>conftest.err
meillo@36 1513 ac_status=$?
meillo@36 1514 if test -s conftest.err; then
meillo@36 1515 grep -v '^ *+' conftest.err >conftest.er1
meillo@36 1516 cat conftest.er1 >&5
meillo@36 1517 mv -f conftest.er1 conftest.err
meillo@36 1518 fi
meillo@36 1519 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
meillo@36 1520 test $ac_status = 0; } && {
meillo@36 1521 test -z "$ac_c_werror_flag" ||
meillo@36 1522 test ! -s conftest.err
meillo@36 1523 } && test -s conftest$ac_exeext && {
meillo@36 1524 test "$cross_compiling" = yes ||
meillo@36 1525 $as_test_x conftest$ac_exeext
meillo@36 1526 }; then :
meillo@36 1527 ac_retval=0
meillo@36 1528 else
meillo@36 1529 $as_echo "$as_me: failed program was:" >&5
meillo@36 1530 sed 's/^/| /' conftest.$ac_ext >&5
meillo@36 1531
meillo@36 1532 ac_retval=1
meillo@36 1533 fi
meillo@36 1534 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
meillo@36 1535 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
meillo@36 1536 # interfere with the next link command; also delete a directory that is
meillo@36 1537 # left behind by Apple's compiler. We do this before executing the actions.
meillo@36 1538 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
meillo@36 1539 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
meillo@36 1540 as_fn_set_status $ac_retval
meillo@36 1541
meillo@36 1542 } # ac_fn_c_try_link
meillo@36 1543
meillo@36 1544 # ac_fn_c_try_cpp LINENO
meillo@36 1545 # ----------------------
meillo@36 1546 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
meillo@36 1547 ac_fn_c_try_cpp ()
meillo@36 1548 {
meillo@36 1549 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
meillo@36 1550 if { { ac_try="$ac_cpp conftest.$ac_ext"
meillo@36 1551 case "(($ac_try" in
meillo@36 1552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
meillo@36 1553 *) ac_try_echo=$ac_try;;
meillo@36 1554 esac
meillo@36 1555 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
meillo@36 1556 $as_echo "$ac_try_echo"; } >&5
meillo@36 1557 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
meillo@36 1558 ac_status=$?
meillo@36 1559 if test -s conftest.err; then
meillo@36 1560 grep -v '^ *+' conftest.err >conftest.er1
meillo@36 1561 cat conftest.er1 >&5
meillo@36 1562 mv -f conftest.er1 conftest.err
meillo@36 1563 fi
meillo@36 1564 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
meillo@296 1565 test $ac_status = 0; } > conftest.i && {
meillo@36 1566 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
meillo@36 1567 test ! -s conftest.err
meillo@36 1568 }; then :
meillo@36 1569 ac_retval=0
meillo@36 1570 else
meillo@36 1571 $as_echo "$as_me: failed program was:" >&5
meillo@36 1572 sed 's/^/| /' conftest.$ac_ext >&5
meillo@36 1573
meillo@36 1574 ac_retval=1
meillo@36 1575 fi
meillo@36 1576 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
meillo@36 1577 as_fn_set_status $ac_retval
meillo@36 1578
meillo@36 1579 } # ac_fn_c_try_cpp
meillo@36 1580
meillo@36 1581 # ac_fn_c_try_run LINENO
meillo@36 1582 # ----------------------
meillo@36 1583 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
meillo@36 1584 # that executables *can* be run.
meillo@36 1585 ac_fn_c_try_run ()
meillo@36 1586 {
meillo@36 1587 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
meillo@36 1588 if { { ac_try="$ac_link"
meillo@36 1589 case "(($ac_try" in
meillo@36 1590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
meillo@36 1591 *) ac_try_echo=$ac_try;;
meillo@36 1592 esac
meillo@36 1593 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
meillo@36 1594 $as_echo "$ac_try_echo"; } >&5
meillo@36 1595 (eval "$ac_link") 2>&5
meillo@36 1596 ac_status=$?
meillo@36 1597 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
meillo@36 1598 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
meillo@36 1599 { { case "(($ac_try" in
meillo@36 1600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
meillo@36 1601 *) ac_try_echo=$ac_try;;
meillo@36 1602 esac
meillo@36 1603 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
meillo@36 1604 $as_echo "$ac_try_echo"; } >&5
meillo@36 1605 (eval "$ac_try") 2>&5
meillo@36 1606 ac_status=$?
meillo@36 1607 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
meillo@36 1608 test $ac_status = 0; }; }; then :
meillo@36 1609 ac_retval=0
meillo@36 1610 else
meillo@36 1611 $as_echo "$as_me: program exited with status $ac_status" >&5
meillo@36 1612 $as_echo "$as_me: failed program was:" >&5
meillo@36 1613 sed 's/^/| /' conftest.$ac_ext >&5
meillo@36 1614
meillo@36 1615 ac_retval=$ac_status
meillo@36 1616 fi
meillo@36 1617 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
meillo@36 1618 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
meillo@36 1619 as_fn_set_status $ac_retval
meillo@36 1620
meillo@36 1621 } # ac_fn_c_try_run
meillo@36 1622
meillo@36 1623 # ac_fn_c_check_func LINENO FUNC VAR
meillo@36 1624 # ----------------------------------
meillo@36 1625 # Tests whether FUNC exists, setting the cache variable VAR accordingly
meillo@36 1626 ac_fn_c_check_func ()
meillo@36 1627 {
meillo@36 1628 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
meillo@36 1629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
meillo@36 1630 $as_echo_n "checking for $2... " >&6; }
meillo@296 1631 if eval "test \"\${$3+set}\"" = set; then :
meillo@36 1632 $as_echo_n "(cached) " >&6
meillo@36 1633 else
meillo@36 1634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
meillo@36 1635 /* end confdefs.h. */
meillo@36 1636 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
meillo@36 1637 For example, HP-UX 11i <limits.h> declares gettimeofday. */
meillo@36 1638 #define $2 innocuous_$2
meillo@36 1639
meillo@36 1640 /* System header to define __stub macros and hopefully few prototypes,
meillo@36 1641 which can conflict with char $2 (); below.
meillo@36 1642 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
meillo@36 1643 <limits.h> exists even on freestanding compilers. */
meillo@36 1644
meillo@36 1645 #ifdef __STDC__
meillo@36 1646 # include <limits.h>
meillo@36 1647 #else
meillo@36 1648 # include <assert.h>
meillo@36 1649 #endif
meillo@36 1650
meillo@36 1651 #undef $2
meillo@36 1652
meillo@36 1653 /* Override any GCC internal prototype to avoid an error.
meillo@36 1654 Use char because int might match the return type of a GCC
meillo@36 1655 builtin and then its argument prototype would still apply. */
meillo@36 1656 #ifdef __cplusplus
meillo@36 1657 extern "C"
meillo@36 1658 #endif
meillo@36 1659 char $2 ();
meillo@36 1660 /* The GNU C library defines this for functions which it implements
meillo@36 1661 to always fail with ENOSYS. Some functions are actually named
meillo@36 1662 something starting with __ and the normal name is an alias. */
meillo@36 1663 #if defined __stub_$2 || defined __stub___$2
meillo@36 1664 choke me
meillo@36 1665 #endif
meillo@36 1666
meillo@36 1667 int
meillo@36 1668 main ()
meillo@36 1669 {
meillo@36 1670 return $2 ();
meillo@36 1671 ;
meillo@36 1672 return 0;
meillo@36 1673 }
meillo@36 1674 _ACEOF
meillo@36 1675 if ac_fn_c_try_link "$LINENO"; then :
meillo@36 1676 eval "$3=yes"
meillo@36 1677 else
meillo@36 1678 eval "$3=no"
meillo@36 1679 fi
meillo@36 1680 rm -f core conftest.err conftest.$ac_objext \
meillo@36 1681 conftest$ac_exeext conftest.$ac_ext
meillo@36 1682 fi
meillo@36 1683 eval ac_res=\$$3
meillo@36 1684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
meillo@36 1685 $as_echo "$ac_res" >&6; }
meillo@36 1686 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
meillo@36 1687
meillo@36 1688 } # ac_fn_c_check_func
meillo@36 1689
meillo@36 1690 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
meillo@36 1691 # -------------------------------------------------------
meillo@36 1692 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
meillo@36 1693 # the include files in INCLUDES and setting the cache variable VAR
meillo@36 1694 # accordingly.
meillo@36 1695 ac_fn_c_check_header_mongrel ()
meillo@36 1696 {
meillo@36 1697 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
meillo@296 1698 if eval "test \"\${$3+set}\"" = set; then :
meillo@36 1699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
meillo@36 1700 $as_echo_n "checking for $2... " >&6; }
meillo@296 1701 if eval "test \"\${$3+set}\"" = set; then :
meillo@36 1702 $as_echo_n "(cached) " >&6
meillo@36 1703 fi
meillo@36 1704 eval ac_res=\$$3
meillo@36 1705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
meillo@36 1706 $as_echo "$ac_res" >&6; }
meillo@36 1707 else
meillo@36 1708 # Is the header compilable?
meillo@36 1709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
meillo@36 1710 $as_echo_n "checking $2 usability... " >&6; }
meillo@36 1711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
meillo@36 1712 /* end confdefs.h. */
meillo@36 1713 $4
meillo@36 1714 #include <$2>
meillo@36 1715 _ACEOF
meillo@36 1716 if ac_fn_c_try_compile "$LINENO"; then :
meillo@36 1717 ac_header_compiler=yes
meillo@36 1718 else
meillo@36 1719 ac_header_compiler=no
meillo@36 1720 fi
meillo@36 1721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
meillo@36 1722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
meillo@36 1723 $as_echo "$ac_header_compiler" >&6; }
meillo@36 1724
meillo@36 1725 # Is the header present?
meillo@36 1726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
meillo@36 1727 $as_echo_n "checking $2 presence... " >&6; }
meillo@36 1728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
meillo@36 1729 /* end confdefs.h. */
meillo@36 1730 #include <$2>
meillo@36 1731 _ACEOF
meillo@36 1732 if ac_fn_c_try_cpp "$LINENO"; then :
meillo@36 1733 ac_header_preproc=yes
meillo@36 1734 else
meillo@36 1735 ac_header_preproc=no
meillo@36 1736 fi
meillo@296 1737 rm -f conftest.err conftest.i conftest.$ac_ext
meillo@36 1738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
meillo@36 1739 $as_echo "$ac_header_preproc" >&6; }
meillo@36 1740
meillo@36 1741 # So? What about this header?
meillo@36 1742 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
meillo@36 1743 yes:no: )
meillo@36 1744 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
meillo@36 1745 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
meillo@36 1746 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
meillo@36 1747 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
meillo@36 1748 ;;
meillo@36 1749 no:yes:* )
meillo@36 1750 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
meillo@36 1751 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
meillo@36 1752 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
meillo@36 1753 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
meillo@36 1754 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
meillo@36 1755 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
meillo@36 1756 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
meillo@36 1757 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
meillo@36 1758 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
meillo@36 1759 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
meillo@296 1760 ( $as_echo "## -------------------------------- ##
meillo@36 1761 ## Report this to meillo@marmaro.de ##
meillo@296 1762 ## -------------------------------- ##"
meillo@36 1763 ) | sed "s/^/$as_me: WARNING: /" >&2
meillo@36 1764 ;;
meillo@36 1765 esac
meillo@36 1766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
meillo@36 1767 $as_echo_n "checking for $2... " >&6; }
meillo@296 1768 if eval "test \"\${$3+set}\"" = set; then :
meillo@36 1769 $as_echo_n "(cached) " >&6
meillo@36 1770 else
meillo@36 1771 eval "$3=\$ac_header_compiler"
meillo@36 1772 fi
meillo@36 1773 eval ac_res=\$$3
meillo@36 1774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
meillo@36 1775 $as_echo "$ac_res" >&6; }
meillo@36 1776 fi
meillo@36 1777 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
meillo@36 1778
meillo@36 1779 } # ac_fn_c_check_header_mongrel
meillo@36 1780
meillo@36 1781 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
meillo@36 1782 # -------------------------------------------------------
meillo@36 1783 # Tests whether HEADER exists and can be compiled using the include files in
meillo@36 1784 # INCLUDES, setting the cache variable VAR accordingly.
meillo@36 1785 ac_fn_c_check_header_compile ()
meillo@36 1786 {
meillo@36 1787 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
meillo@36 1788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
meillo@36 1789 $as_echo_n "checking for $2... " >&6; }
meillo@296 1790 if eval "test \"\${$3+set}\"" = set; then :
meillo@36 1791 $as_echo_n "(cached) " >&6
meillo@36 1792 else
meillo@36 1793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
meillo@36 1794 /* end confdefs.h. */
meillo@36 1795 $4
meillo@36 1796 #include <$2>
meillo@36 1797 _ACEOF
meillo@36 1798 if ac_fn_c_try_compile "$LINENO"; then :
meillo@36 1799 eval "$3=yes"
meillo@36 1800 else
meillo@36 1801 eval "$3=no"
meillo@36 1802 fi
meillo@36 1803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
meillo@36 1804 fi
meillo@36 1805 eval ac_res=\$$3
meillo@36 1806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
meillo@36 1807 $as_echo "$ac_res" >&6; }
meillo@36 1808 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
meillo@36 1809
meillo@36 1810 } # ac_fn_c_check_header_compile
meillo@36 1811
meillo@36 1812 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
meillo@36 1813 # -------------------------------------------
meillo@36 1814 # Tests whether TYPE exists after having included INCLUDES, setting cache
meillo@36 1815 # variable VAR accordingly.
meillo@36 1816 ac_fn_c_check_type ()
meillo@36 1817 {
meillo@36 1818 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
meillo@36 1819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
meillo@36 1820 $as_echo_n "checking for $2... " >&6; }
meillo@296 1821 if eval "test \"\${$3+set}\"" = set; then :
meillo@36 1822 $as_echo_n "(cached) " >&6
meillo@36 1823 else
meillo@36 1824 eval "$3=no"
meillo@36 1825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
meillo@36 1826 /* end confdefs.h. */
meillo@36 1827 $4
meillo@36 1828 int
meillo@36 1829 main ()
meillo@36 1830 {
meillo@36 1831 if (sizeof ($2))
meillo@36 1832 return 0;
meillo@36 1833 ;
meillo@36 1834 return 0;
meillo@36 1835 }
meillo@36 1836 _ACEOF
meillo@36 1837 if ac_fn_c_try_compile "$LINENO"; then :
meillo@36 1838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
meillo@36 1839 /* end confdefs.h. */
meillo@36 1840 $4
meillo@36 1841 int
meillo@36 1842 main ()
meillo@36 1843 {
meillo@36 1844 if (sizeof (($2)))
meillo@36 1845 return 0;
meillo@36 1846 ;
meillo@36 1847 return 0;
meillo@36 1848 }
meillo@36 1849 _ACEOF
meillo@36 1850 if ac_fn_c_try_compile "$LINENO"; then :
meillo@36 1851
meillo@36 1852 else
meillo@36 1853 eval "$3=yes"
meillo@36 1854 fi
meillo@36 1855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
meillo@36 1856 fi
meillo@36 1857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
meillo@36 1858 fi
meillo@36 1859 eval ac_res=\$$3
meillo@36 1860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
meillo@36 1861 $as_echo "$ac_res" >&6; }
meillo@36 1862 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
meillo@36 1863
meillo@36 1864 } # ac_fn_c_check_type
meillo@1 1865 cat >config.log <<_ACEOF
meillo@0 1866 This file contains any messages produced by compilers while
meillo@0 1867 running configure, to aid debugging if configure makes a mistake.
meillo@0 1868
meillo@296 1869 It was created by masqmail $as_me 0.3.2-dev, which was
meillo@296 1870 generated by GNU Autoconf 2.67. Invocation command line was
meillo@0 1871
meillo@0 1872 $ $0 $@
meillo@0 1873
meillo@0 1874 _ACEOF
meillo@1 1875 exec 5>>config.log
meillo@0 1876 {
meillo@0 1877 cat <<_ASUNAME
meillo@0 1878 ## --------- ##
meillo@0 1879 ## Platform. ##
meillo@0 1880 ## --------- ##
meillo@0 1881
meillo@0 1882 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
meillo@0 1883 uname -m = `(uname -m) 2>/dev/null || echo unknown`
meillo@0 1884 uname -r = `(uname -r) 2>/dev/null || echo unknown`
meillo@0 1885 uname -s = `(uname -s) 2>/dev/null || echo unknown`
meillo@0 1886 uname -v = `(uname -v) 2>/dev/null || echo unknown`
meillo@0 1887
meillo@0 1888 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
meillo@0 1889 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
meillo@0 1890
meillo@0 1891 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
meillo@0 1892 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
meillo@0 1893 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
meillo@1 1894 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
meillo@0 1895 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
meillo@0 1896 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
meillo@0 1897 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
meillo@0 1898
meillo@0 1899 _ASUNAME
meillo@0 1900
meillo@0 1901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
meillo@0 1902 for as_dir in $PATH
meillo@0 1903 do
meillo@0 1904 IFS=$as_save_IFS
meillo@0 1905 test -z "$as_dir" && as_dir=.
meillo@36 1906 $as_echo "PATH: $as_dir"
meillo@36 1907 done
meillo@1 1908 IFS=$as_save_IFS
meillo@0 1909
meillo@0 1910 } >&5
meillo@0 1911
meillo@0 1912 cat >&5 <<_ACEOF
meillo@0 1913
meillo@0 1914
meillo@0 1915 ## ----------- ##
meillo@0 1916 ## Core tests. ##
meillo@0 1917 ## ----------- ##
meillo@0 1918
meillo@0 1919 _ACEOF
meillo@0 1920
meillo@0 1921
meillo@0 1922 # Keep a trace of the command line.
meillo@0 1923 # Strip out --no-create and --no-recursion so they do not pile up.
meillo@0 1924 # Strip out --silent because we don't want to record it for future runs.
meillo@0 1925 # Also quote any args containing shell meta-characters.
meillo@0 1926 # Make two passes to allow for proper duplicate-argument suppression.
meillo@0 1927 ac_configure_args=
meillo@0 1928 ac_configure_args0=
meillo@0 1929 ac_configure_args1=
meillo@0 1930 ac_must_keep_next=false
meillo@0 1931 for ac_pass in 1 2
meillo@0 1932 do
meillo@0 1933 for ac_arg
meillo@0 1934 do
meillo@0 1935 case $ac_arg in
meillo@0 1936 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
meillo@0 1937 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
meillo@0 1938 | -silent | --silent | --silen | --sile | --sil)
meillo@0 1939 continue ;;
meillo@1 1940 *\'*)
meillo@36 1941 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
meillo@0 1942 esac
meillo@0 1943 case $ac_pass in
meillo@36 1944 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
meillo@0 1945 2)
meillo@36 1946 as_fn_append ac_configure_args1 " '$ac_arg'"
meillo@0 1947 if test $ac_must_keep_next = true; then
meillo@0 1948 ac_must_keep_next=false # Got value, back to normal.
meillo@0 1949 else
meillo@0 1950 case $ac_arg in
meillo@0 1951 *=* | --config-cache | -C | -disable-* | --disable-* \
meillo@0 1952 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
meillo@0 1953 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
meillo@0 1954 | -with-* | --with-* | -without-* | --without-* | --x)
meillo@0 1955 case "$ac_configure_args0 " in
meillo@0 1956 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
meillo@0 1957 esac
meillo@0 1958 ;;
meillo@0 1959 -* ) ac_must_keep_next=true ;;
meillo@0 1960 esac
meillo@0 1961 fi
meillo@36 1962 as_fn_append ac_configure_args " '$ac_arg'"
meillo@0 1963 ;;
meillo@0 1964 esac
meillo@0 1965 done
meillo@0 1966 done
meillo@36 1967 { ac_configure_args0=; unset ac_configure_args0;}
meillo@36 1968 { ac_configure_args1=; unset ac_configure_args1;}
meillo@0 1969
meillo@0 1970 # When interrupted or exit'd, cleanup temporary files, and complete
meillo@0 1971 # config.log. We remove comments because anyway the quotes in there
meillo@0 1972 # would cause problems or look ugly.
meillo@1 1973 # WARNING: Use '\'' to represent an apostrophe within the trap.
meillo@1 1974 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
meillo@0 1975 trap 'exit_status=$?
meillo@0 1976 # Save into config.log some information that might help in debugging.
meillo@0 1977 {
meillo@0 1978 echo
meillo@0 1979
meillo@296 1980 $as_echo "## ---------------- ##
meillo@0 1981 ## Cache variables. ##
meillo@296 1982 ## ---------------- ##"
meillo@0 1983 echo
meillo@0 1984 # The following way of writing the cache mishandles newlines in values,
meillo@1 1985 (
meillo@1 1986 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
meillo@1 1987 eval ac_val=\$$ac_var
meillo@1 1988 case $ac_val in #(
meillo@1 1989 *${as_nl}*)
meillo@1 1990 case $ac_var in #(
meillo@36 1991 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
meillo@36 1992 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
meillo@1 1993 esac
meillo@1 1994 case $ac_var in #(
meillo@1 1995 _ | IFS | as_nl) ;; #(
meillo@36 1996 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
meillo@36 1997 *) { eval $ac_var=; unset $ac_var;} ;;
meillo@1 1998 esac ;;
meillo@1 1999 esac
meillo@1 2000 done
meillo@0 2001 (set) 2>&1 |
meillo@1 2002 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
meillo@1 2003 *${as_nl}ac_space=\ *)
meillo@0 2004 sed -n \
meillo@1 2005 "s/'\''/'\''\\\\'\'''\''/g;
meillo@1 2006 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
meillo@1 2007 ;; #(
meillo@1 2008 *)
meillo@1 2009 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
meillo@0 2010 ;;
meillo@1 2011 esac |
meillo@1 2012 sort
meillo@1 2013 )
meillo@0 2014 echo
meillo@0 2015
meillo@296 2016 $as_echo "## ----------------- ##
meillo@0 2017 ## Output variables. ##
meillo@296 2018 ## ----------------- ##"
meillo@0 2019 echo
meillo@0 2020 for ac_var in $ac_subst_vars
meillo@0 2021 do
meillo@1 2022 eval ac_val=\$$ac_var
meillo@1 2023 case $ac_val in
meillo@36 2024 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
meillo@1 2025 esac
meillo@36 2026 $as_echo "$ac_var='\''$ac_val'\''"
meillo@0 2027 done | sort
meillo@0 2028 echo
meillo@0 2029
meillo@0 2030 if test -n "$ac_subst_files"; then
meillo@296 2031 $as_echo "## ------------------- ##
meillo@1 2032 ## File substitutions. ##
meillo@296 2033 ## ------------------- ##"
meillo@0 2034 echo
meillo@0 2035 for ac_var in $ac_subst_files
meillo@0 2036 do
meillo@1 2037 eval ac_val=\$$ac_var
meillo@1 2038 case $ac_val in
meillo@36 2039 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
meillo@1 2040 esac
meillo@36 2041 $as_echo "$ac_var='\''$ac_val'\''"
meillo@0 2042 done | sort
meillo@0 2043 echo
meillo@0 2044 fi
meillo@0 2045
meillo@0 2046 if test -s confdefs.h; then
meillo@296 2047 $as_echo "## ----------- ##
meillo@0 2048 ## confdefs.h. ##
meillo@296 2049 ## ----------- ##"
meillo@0 2050 echo
meillo@1 2051 cat confdefs.h
meillo@0 2052 echo
meillo@0 2053 fi
meillo@0 2054 test "$ac_signal" != 0 &&
meillo@36 2055 $as_echo "$as_me: caught signal $ac_signal"
meillo@36 2056 $as_echo "$as_me: exit $exit_status"
meillo@0 2057 } >&5
meillo@1 2058 rm -f core *.core core.conftest.* &&
meillo@1 2059 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
meillo@0 2060 exit $exit_status
meillo@1 2061 ' 0
meillo@0 2062 for ac_signal in 1 2 13 15; do
meillo@36 2063 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
meillo@0 2064 done
meillo@0 2065 ac_signal=0
meillo@0 2066
meillo@0 2067 # confdefs.h avoids OS command line length limits that DEFS can exceed.
meillo@1 2068 rm -f -r conftest* confdefs.h
meillo@0 2069
meillo@36 2070 $as_echo "/* confdefs.h */" > confdefs.h
meillo@36 2071
meillo@0 2072 # Predefined preprocessor variables.
meillo@0 2073
meillo@0 2074 cat >>confdefs.h <<_ACEOF
meillo@0 2075 #define PACKAGE_NAME "$PACKAGE_NAME"
meillo@0 2076 _ACEOF
meillo@0 2077
meillo@0 2078 cat >>confdefs.h <<_ACEOF
meillo@0 2079 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
meillo@0 2080 _ACEOF
meillo@0 2081
meillo@0 2082 cat >>confdefs.h <<_ACEOF
meillo@0 2083 #define PACKAGE_VERSION "$PACKAGE_VERSION"
meillo@0 2084 _ACEOF
meillo@0 2085
meillo@0 2086 cat >>confdefs.h <<_ACEOF
meillo@0 2087 #define PACKAGE_STRING "$PACKAGE_STRING"
meillo@0 2088 _ACEOF
meillo@0 2089
meillo@0 2090 cat >>confdefs.h <<_ACEOF
meillo@0 2091 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
meillo@0 2092 _ACEOF
meillo@0 2093
meillo@36 2094 cat >>confdefs.h <<_ACEOF
meillo@36 2095 #define PACKAGE_URL "$PACKAGE_URL"
meillo@36 2096 _ACEOF
meillo@36 2097
meillo@0 2098
meillo@0 2099 # Let the site file select an alternate cache file if it wants to.
meillo@36 2100 # Prefer an explicitly selected file to automatically selected ones.
meillo@36 2101 ac_site_file1=NONE
meillo@36 2102 ac_site_file2=NONE
meillo@1 2103 if test -n "$CONFIG_SITE"; then
meillo@296 2104 # We do not want a PATH search for config.site.
meillo@296 2105 case $CONFIG_SITE in #((
meillo@296 2106 -*) ac_site_file1=./$CONFIG_SITE;;
meillo@296 2107 */*) ac_site_file1=$CONFIG_SITE;;
meillo@296 2108 *) ac_site_file1=./$CONFIG_SITE;;
meillo@296 2109 esac
meillo@1 2110 elif test "x$prefix" != xNONE; then
meillo@36 2111 ac_site_file1=$prefix/share/config.site
meillo@36 2112 ac_site_file2=$prefix/etc/config.site
meillo@36 2113 else
meillo@36 2114 ac_site_file1=$ac_default_prefix/share/config.site
meillo@36 2115 ac_site_file2=$ac_default_prefix/etc/config.site
meillo@36 2116 fi
meillo@36 2117 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
meillo@1 2118 do
meillo@36 2119 test "x$ac_site_file" = xNONE && continue
meillo@36 2120 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
meillo@36 2121 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
meillo@36 2122 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
meillo@0 2123 sed 's/^/| /' "$ac_site_file" >&5
meillo@296 2124 . "$ac_site_file" \
meillo@296 2125 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
meillo@296 2126 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
meillo@296 2127 as_fn_error $? "failed to load site script $ac_site_file
meillo@296 2128 See \`config.log' for more details" "$LINENO" 5 ; }
meillo@0 2129 fi
meillo@0 2130 done
meillo@0 2131
meillo@0 2132 if test -r "$cache_file"; then
meillo@36 2133 # Some versions of bash will fail to source /dev/null (special files
meillo@36 2134 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
meillo@36 2135 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
meillo@36 2136 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
meillo@36 2137 $as_echo "$as_me: loading cache $cache_file" >&6;}
meillo@0 2138 case $cache_file in
meillo@1 2139 [\\/]* | ?:[\\/]* ) . "$cache_file";;
meillo@1 2140 *) . "./$cache_file";;
meillo@0 2141 esac
meillo@0 2142 fi
meillo@0 2143 else
meillo@36 2144 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
meillo@36 2145 $as_echo "$as_me: creating cache $cache_file" >&6;}
meillo@0 2146 >$cache_file
meillo@0 2147 fi
meillo@0 2148
meillo@0 2149 # Check that the precious variables saved in the cache have kept the same
meillo@0 2150 # value.
meillo@0 2151 ac_cache_corrupted=false
meillo@1 2152 for ac_var in $ac_precious_vars; do
meillo@0 2153 eval ac_old_set=\$ac_cv_env_${ac_var}_set
meillo@0 2154 eval ac_new_set=\$ac_env_${ac_var}_set
meillo@1 2155 eval ac_old_val=\$ac_cv_env_${ac_var}_value
meillo@1 2156 eval ac_new_val=\$ac_env_${ac_var}_value
meillo@0 2157 case $ac_old_set,$ac_new_set in
meillo@0 2158 set,)
meillo@36 2159 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
meillo@36 2160 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
meillo@0 2161 ac_cache_corrupted=: ;;
meillo@0 2162 ,set)
meillo@36 2163 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
meillo@36 2164 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
meillo@0 2165 ac_cache_corrupted=: ;;
meillo@0 2166 ,);;
meillo@0 2167 *)
meillo@0 2168 if test "x$ac_old_val" != "x$ac_new_val"; then
meillo@36 2169 # differences in whitespace do not lead to failure.
meillo@36 2170 ac_old_val_w=`echo x $ac_old_val`
meillo@36 2171 ac_new_val_w=`echo x $ac_new_val`
meillo@36 2172 if test "$ac_old_val_w" != "$ac_new_val_w"; then
meillo@36 2173 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
meillo@36 2174 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
meillo@36 2175 ac_cache_corrupted=:
meillo@36 2176 else
meillo@36 2177 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
meillo@36 2178 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
meillo@36 2179 eval $ac_var=\$ac_old_val
meillo@36 2180 fi
meillo@36 2181 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
meillo@36 2182 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
meillo@36 2183 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
meillo@36 2184 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
meillo@0 2185 fi;;
meillo@0 2186 esac
meillo@0 2187 # Pass precious variables to config.status.
meillo@0 2188 if test "$ac_new_set" = set; then
meillo@0 2189 case $ac_new_val in
meillo@36 2190 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
meillo@0 2191 *) ac_arg=$ac_var=$ac_new_val ;;
meillo@0 2192 esac
meillo@0 2193 case " $ac_configure_args " in
meillo@0 2194 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
meillo@36 2195 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
meillo@0 2196 esac
meillo@0 2197 fi
meillo@0 2198 done
meillo@0 2199 if $ac_cache_corrupted; then
meillo@36 2200 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
meillo@36 2201 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
meillo@36 2202 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
meillo@36 2203 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
meillo@296 2204 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
meillo@36 2205 fi
meillo@36 2206 ## -------------------- ##
meillo@36 2207 ## Main body of script. ##
meillo@36 2208 ## -------------------- ##
meillo@1 2209
meillo@0 2210 ac_ext=c
meillo@0 2211 ac_cpp='$CPP $CPPFLAGS'
meillo@0 2212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
meillo@0 2213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
meillo@0 2214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
meillo@0 2215
meillo@0 2216
meillo@0 2217
meillo@1 2218 ac_config_headers="$ac_config_headers config.h"
meillo@0 2219
meillo@36 2220 am__api_version='1.11'
meillo@36 2221
meillo@0 2222 ac_aux_dir=
meillo@1 2223 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
meillo@296 2224 if test -f "$ac_dir/install-sh"; then
meillo@296 2225 ac_aux_dir=$ac_dir
meillo@296 2226 ac_install_sh="$ac_aux_dir/install-sh -c"
meillo@296 2227 break
meillo@296 2228 elif test -f "$ac_dir/install.sh"; then
meillo@296 2229 ac_aux_dir=$ac_dir
meillo@296 2230 ac_install_sh="$ac_aux_dir/install.sh -c"
meillo@296 2231 break
meillo@296 2232 elif test -f "$ac_dir/shtool"; then
meillo@296 2233 ac_aux_dir=$ac_dir
meillo@296 2234 ac_install_sh="$ac_aux_dir/shtool install -c"
meillo@296 2235 break
meillo@296 2236 fi
meillo@0 2237 done
meillo@0 2238 if test -z "$ac_aux_dir"; then
meillo@296 2239 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
meillo@0 2240 fi
meillo@1 2241
meillo@1 2242 # These three variables are undocumented and unsupported,
meillo@1 2243 # and are intended to be withdrawn in a future Autoconf release.
meillo@1 2244 # They can cause serious problems if a builder's source tree is in a directory
meillo@1 2245 # whose full name contains unusual characters.
meillo@1 2246 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
meillo@1 2247 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
meillo@1 2248 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
meillo@1 2249
meillo@0 2250
meillo@0 2251 # Find a good install program. We prefer a C program (faster),
meillo@0 2252 # so one script is as good as another. But avoid the broken or
meillo@0 2253 # incompatible versions:
meillo@0 2254 # SysV /etc/install, /usr/sbin/install
meillo@0 2255 # SunOS /usr/etc/install
meillo@0 2256 # IRIX /sbin/install
meillo@0 2257 # AIX /bin/install
meillo@0 2258 # AmigaOS /C/install, which installs bootblocks on floppy discs
meillo@0 2259 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
meillo@0 2260 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
meillo@0 2261 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
meillo@0 2262 # OS/2's system install, which has a completely different semantic
meillo@0 2263 # ./install, which can be erroneously created by make from ./install.sh.
meillo@36 2264 # Reject install programs that cannot install multiple files.
meillo@36 2265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
meillo@36 2266 $as_echo_n "checking for a BSD-compatible install... " >&6; }
meillo@0 2267 if test -z "$INSTALL"; then
meillo@36 2268 if test "${ac_cv_path_install+set}" = set; then :
meillo@36 2269 $as_echo_n "(cached) " >&6
meillo@0 2270 else
meillo@0 2271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
meillo@0 2272 for as_dir in $PATH
meillo@0 2273 do
meillo@0 2274 IFS=$as_save_IFS
meillo@0 2275 test -z "$as_dir" && as_dir=.
meillo@36 2276 # Account for people who put trailing slashes in PATH elements.
meillo@36 2277 case $as_dir/ in #((
meillo@36 2278 ./ | .// | /[cC]/* | \
meillo@0 2279 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
meillo@36 2280 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
meillo@0 2281 /usr/ucb/* ) ;;
meillo@0 2282 *)
meillo@0 2283 # OSF1 and SCO ODT 3.0 have their own names for install.
meillo@0 2284 # Don't use installbsd from OSF since it installs stuff as root
meillo@0 2285 # by default.
meillo@0 2286 for ac_prog in ginstall scoinst install; do
meillo@0 2287 for ac_exec_ext in '' $ac_executable_extensions; do
meillo@1 2288 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
meillo@0 2289 if test $ac_prog = install &&
meillo@0 2290 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
meillo@0 2291 # AIX install. It has an incompatible calling convention.
meillo@0 2292 :
meillo@0 2293 elif test $ac_prog = install &&
meillo@0 2294 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
meillo@0 2295 # program-specific install script used by HP pwplus--don't use.
meillo@0 2296 :
meillo@0 2297 else
meillo@36 2298 rm -rf conftest.one conftest.two conftest.dir
meillo@36 2299 echo one > conftest.one
meillo@36 2300 echo two > conftest.two
meillo@36 2301 mkdir conftest.dir
meillo@36 2302 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
meillo@36 2303 test -s conftest.one && test -s conftest.two &&
meillo@36 2304 test -s conftest.dir/conftest.one &&
meillo@36 2305 test -s conftest.dir/conftest.two
meillo@36 2306 then
meillo@36 2307 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
meillo@36 2308 break 3
meillo@36 2309 fi
meillo@0 2310 fi
meillo@0 2311 fi
meillo@0 2312 done
meillo@0 2313 done
meillo@0 2314 ;;
meillo@0 2315 esac
meillo@36 2316
meillo@36 2317 done
meillo@1 2318 IFS=$as_save_IFS
meillo@0 2319
meillo@36 2320 rm -rf conftest.one conftest.two conftest.dir
meillo@0 2321
meillo@0 2322 fi
meillo@0 2323 if test "${ac_cv_path_install+set}" = set; then
meillo@0 2324 INSTALL=$ac_cv_path_install
meillo@0 2325 else
meillo@1 2326 # As a last resort, use the slow shell script. Don't cache a
meillo@1 2327 # value for INSTALL within a source directory, because that will
meillo@0 2328 # break other packages using the cache if that directory is
meillo@1 2329 # removed, or if the value is a relative name.
meillo@0 2330 INSTALL=$ac_install_sh
meillo@0 2331 fi
meillo@0 2332 fi
meillo@36 2333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
meillo@36 2334 $as_echo "$INSTALL" >&6; }
meillo@0 2335
meillo@0 2336 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
meillo@0 2337 # It thinks the first close brace ends the variable substitution.
meillo@0 2338 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
meillo@0 2339
meillo@0 2340 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
meillo@0 2341
meillo@0 2342 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
meillo@0 2343
meillo@36 2344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
meillo@36 2345 $as_echo_n "checking whether build environment is sane... " >&6; }
meillo@0 2346 # Just in case
meillo@0 2347 sleep 1
meillo@0 2348 echo timestamp > conftest.file
meillo@36 2349 # Reject unsafe characters in $srcdir or the absolute working directory
meillo@36 2350 # name. Accept space and tab only in the latter.
meillo@36 2351 am_lf='
meillo@36 2352 '
meillo@36 2353 case `pwd` in
meillo@36 2354 *[\\\"\#\$\&\'\`$am_lf]*)
meillo@296 2355 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
meillo@36 2356 esac
meillo@36 2357 case $srcdir in
meillo@36 2358 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
meillo@296 2359 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
meillo@36 2360 esac
meillo@36 2361
meillo@0 2362 # Do `set' in a subshell so we don't clobber the current shell's
meillo@0 2363 # arguments. Must try -L first in case configure is actually a
meillo@0 2364 # symlink; some systems play weird games with the mod time of symlinks
meillo@0 2365 # (eg FreeBSD returns the mod time of the symlink's containing
meillo@0 2366 # directory).
meillo@0 2367 if (
meillo@36 2368 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
meillo@0 2369 if test "$*" = "X"; then
meillo@0 2370 # -L didn't work.
meillo@36 2371 set X `ls -t "$srcdir/configure" conftest.file`
meillo@0 2372 fi
meillo@0 2373 rm -f conftest.file
meillo@0 2374 if test "$*" != "X $srcdir/configure conftest.file" \
meillo@0 2375 && test "$*" != "X conftest.file $srcdir/configure"; then
meillo@0 2376
meillo@0 2377 # If neither matched, then we have a broken ls. This can happen
meillo@0 2378 # if, for instance, CONFIG_SHELL is bash and it inherits a
meillo@0 2379 # broken ls alias from the environment. This has actually
meillo@0 2380 # happened. Such a system could not be considered "sane".
meillo@296 2381 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
meillo@36 2382 alias in your environment" "$LINENO" 5
meillo@0 2383 fi
meillo@0 2384
meillo@0 2385 test "$2" = conftest.file
meillo@0 2386 )
meillo@0 2387 then
meillo@0 2388 # Ok.
meillo@0 2389 :
meillo@0 2390 else
meillo@296 2391 as_fn_error $? "newly created file is older than distributed files!
meillo@36 2392 Check your system clock" "$LINENO" 5
meillo@36 2393 fi
meillo@36 2394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
meillo@36 2395 $as_echo "yes" >&6; }
meillo@0 2396 test "$program_prefix" != NONE &&
meillo@1 2397 program_transform_name="s&^&$program_prefix&;$program_transform_name"
meillo@0 2398 # Use a double $ so make ignores it.
meillo@0 2399 test "$program_suffix" != NONE &&
meillo@1 2400 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
meillo@36 2401 # Double any \ or $.
meillo@0 2402 # By default was `s,x,x', remove it if useless.
meillo@36 2403 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
meillo@36 2404 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
meillo@0 2405
meillo@0 2406 # expand $ac_aux_dir to an absolute path
meillo@0 2407 am_aux_dir=`cd $ac_aux_dir && pwd`
meillo@0 2408
meillo@36 2409 if test x"${MISSING+set}" != xset; then
meillo@36 2410 case $am_aux_dir in
meillo@36 2411 *\ * | *\ *)
meillo@36 2412 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
meillo@36 2413 *)
meillo@36 2414 MISSING="\${SHELL} $am_aux_dir/missing" ;;
meillo@36 2415 esac
meillo@36 2416 fi
meillo@0 2417 # Use eval to expand $SHELL
meillo@0 2418 if eval "$MISSING --run true"; then
meillo@0 2419 am_missing_run="$MISSING --run "
meillo@0 2420 else
meillo@0 2421 am_missing_run=
meillo@36 2422 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
meillo@36 2423 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
meillo@36 2424 fi
meillo@36 2425
meillo@36 2426 if test x"${install_sh}" != xset; then
meillo@36 2427 case $am_aux_dir in
meillo@36 2428 *\ * | *\ *)
meillo@36 2429 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
meillo@36 2430 *)
meillo@36 2431 install_sh="\${SHELL} $am_aux_dir/install-sh"
meillo@36 2432 esac
meillo@36 2433 fi
meillo@36 2434
meillo@36 2435 # Installed binaries are usually stripped using `strip' when the user
meillo@36 2436 # run `make install-strip'. However `strip' might not be the right
meillo@36 2437 # tool to use in cross-compilation environments, therefore Automake
meillo@36 2438 # will honor the `STRIP' environment variable to overrule this program.
meillo@36 2439 if test "$cross_compiling" != no; then
meillo@36 2440 if test -n "$ac_tool_prefix"; then
meillo@36 2441 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
meillo@36 2442 set dummy ${ac_tool_prefix}strip; ac_word=$2
meillo@36 2443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
meillo@36 2444 $as_echo_n "checking for $ac_word... " >&6; }
meillo@36 2445 if test "${ac_cv_prog_STRIP+set}" = set; then :
meillo@36 2446 $as_echo_n "(cached) " >&6
meillo@36 2447 else
meillo@36 2448 if test -n "$STRIP"; then
meillo@36 2449 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
meillo@0 2450 else
meillo@0 2451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
meillo@0 2452 for as_dir in $PATH
meillo@0 2453 do
meillo@0 2454 IFS=$as_save_IFS
meillo@0 2455 test -z "$as_dir" && as_dir=.
meillo@36 2456 for ac_exec_ext in '' $ac_executable_extensions; do
meillo@1 2457 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
meillo@36 2458 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
meillo@36 2459 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
meillo@0 2460 break 2
meillo@0 2461 fi
meillo@0 2462 done
meillo@36 2463 done
meillo@36 2464 IFS=$as_save_IFS
meillo@36 2465
meillo@36 2466 fi
meillo@36 2467 fi
meillo@36 2468 STRIP=$ac_cv_prog_STRIP
meillo@36 2469 if test -n "$STRIP"; then
meillo@36 2470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
meillo@36 2471 $as_echo "$STRIP" >&6; }
meillo@36 2472 else
meillo@36 2473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
meillo@36 2474 $as_echo "no" >&6; }
meillo@36 2475 fi
meillo@36 2476
meillo@36 2477
meillo@36 2478 fi
meillo@36 2479 if test -z "$ac_cv_prog_STRIP"; then
meillo@36 2480 ac_ct_STRIP=$STRIP
meillo@36 2481 # Extract the first word of "strip", so it can be a program name with args.
meillo@36 2482 set dummy strip; ac_word=$2
meillo@36 2483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
meillo@36 2484 $as_echo_n "checking for $ac_word... " >&6; }
meillo@36 2485 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
meillo@36 2486 $as_echo_n "(cached) " >&6
meillo@36 2487 else
meillo@36 2488 if test -n "$ac_ct_STRIP"; then
meillo@36 2489 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
meillo@36 2490 else
meillo@36 2491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
meillo@36 2492 for as_dir in $PATH
meillo@36 2493 do
meillo@36 2494 IFS=$as_save_IFS
meillo@36 2495 test -z "$as_dir" && as_dir=.
meillo@36 2496 for ac_exec_ext in '' $ac_executable_extensions; do
meillo@36 2497 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
meillo@36 2498 ac_cv_prog_ac_ct_STRIP="strip"
meillo@36 2499 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
meillo@36 2500 break 2
meillo@36 2501 fi
meillo@0 2502 done
meillo@36 2503 done
meillo@36 2504 IFS=$as_save_IFS
meillo@36 2505
meillo@36 2506 fi
meillo@36 2507 fi
meillo@36 2508 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
meillo@36 2509 if test -n "$ac_ct_STRIP"; then
meillo@36 2510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
meillo@36 2511 $as_echo "$ac_ct_STRIP" >&6; }
meillo@36 2512 else
meillo@36 2513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
meillo@36 2514 $as_echo "no" >&6; }
meillo@36 2515 fi
meillo@36 2516
meillo@36 2517 if test "x$ac_ct_STRIP" = x; then
meillo@36 2518 STRIP=":"
meillo@36 2519 else
meillo@36 2520 case $cross_compiling:$ac_tool_warned in
meillo@36 2521 yes:)
meillo@36 2522 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
meillo@36 2523 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
meillo@36 2524 ac_tool_warned=yes ;;
meillo@36 2525 esac
meillo@36 2526 STRIP=$ac_ct_STRIP
meillo@36 2527 fi
meillo@36 2528 else
meillo@36 2529 STRIP="$ac_cv_prog_STRIP"
meillo@36 2530 fi
meillo@36 2531
meillo@36 2532 fi
meillo@36 2533 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
meillo@36 2534
meillo@36 2535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
meillo@36 2536 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
meillo@36 2537 if test -z "$MKDIR_P"; then
meillo@36 2538 if test "${ac_cv_path_mkdir+set}" = set; then :
meillo@36 2539 $as_echo_n "(cached) " >&6
meillo@36 2540 else
meillo@36 2541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
meillo@36 2542 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
meillo@36 2543 do
meillo@36 2544 IFS=$as_save_IFS
meillo@36 2545 test -z "$as_dir" && as_dir=.
meillo@36 2546 for ac_prog in mkdir gmkdir; do
meillo@36 2547 for ac_exec_ext in '' $ac_executable_extensions; do
meillo@36 2548 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
meillo@36 2549 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
meillo@36 2550 'mkdir (GNU coreutils) '* | \
meillo@36 2551 'mkdir (coreutils) '* | \
meillo@36 2552 'mkdir (fileutils) '4.1*)
meillo@36 2553 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
meillo@36 2554 break 3;;
meillo@36 2555 esac
meillo@36 2556 done
meillo@36 2557 done
meillo@36 2558 done
meillo@36 2559 IFS=$as_save_IFS
meillo@36 2560
meillo@36 2561 fi
meillo@36 2562
meillo@36 2563 test -d ./--version && rmdir ./--version
meillo@36 2564 if test "${ac_cv_path_mkdir+set}" = set; then
meillo@36 2565 MKDIR_P="$ac_cv_path_mkdir -p"
meillo@36 2566 else
meillo@36 2567 # As a last resort, use the slow shell script. Don't cache a
meillo@36 2568 # value for MKDIR_P within a source directory, because that will
meillo@36 2569 # break other packages using the cache if that directory is
meillo@36 2570 # removed, or if the value is a relative name.
meillo@36 2571 MKDIR_P="$ac_install_sh -d"
meillo@36 2572 fi
meillo@36 2573 fi
meillo@36 2574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
meillo@36 2575 $as_echo "$MKDIR_P" >&6; }
meillo@36 2576
meillo@36 2577 mkdir_p="$MKDIR_P"
meillo@36 2578 case $mkdir_p in
meillo@36 2579 [\\/$]* | ?:[\\/]*) ;;
meillo@36 2580 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
meillo@36 2581 esac
meillo@36 2582
meillo@36 2583 for ac_prog in gawk mawk nawk awk
meillo@36 2584 do
meillo@36 2585 # Extract the first word of "$ac_prog", so it can be a program name with args.
meillo@36 2586 set dummy $ac_prog; ac_word=$2
meillo@36 2587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
meillo@36 2588 $as_echo_n "checking for $ac_word... " >&6; }
meillo@36 2589 if test "${ac_cv_prog_AWK+set}" = set; then :
meillo@36 2590 $as_echo_n "(cached) " >&6
meillo@36 2591 else
meillo@36 2592 if test -n "$AWK"; then
meillo@36 2593 ac_cv_prog_AWK="$AWK" # Let the user override the test.
meillo@36 2594 else
meillo@36 2595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
meillo@36 2596 for as_dir in $PATH
meillo@36 2597 do
meillo@36 2598 IFS=$as_save_IFS
meillo@36 2599 test -z "$as_dir" && as_dir=.
meillo@36 2600 for ac_exec_ext in '' $ac_executable_extensions; do
meillo@36 2601 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
meillo@36 2602 ac_cv_prog_AWK="$ac_prog"
meillo@36 2603 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
meillo@36 2604 break 2
meillo@36 2605 fi
meillo@36 2606 done
meillo@36 2607 done
meillo@1 2608 IFS=$as_save_IFS
meillo@0 2609
meillo@0 2610 fi
meillo@0 2611 fi
meillo@0 2612 AWK=$ac_cv_prog_AWK
meillo@0 2613 if test -n "$AWK"; then
meillo@36 2614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
meillo@36 2615 $as_echo "$AWK" >&6; }
meillo@36 2616 else
meillo@36 2617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
meillo@36 2618 $as_echo "no" >&6; }
meillo@1 2619 fi
meillo@1 2620
meillo@0 2621
meillo@0 2622 test -n "$AWK" && break
meillo@0 2623 done
meillo@0 2624
meillo@36 2625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
meillo@36 2626 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
meillo@36 2627 set x ${MAKE-make}
meillo@36 2628 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
meillo@296 2629 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
meillo@36 2630 $as_echo_n "(cached) " >&6
meillo@0 2631 else
meillo@0 2632 cat >conftest.make <<\_ACEOF
meillo@1 2633 SHELL = /bin/sh
meillo@0 2634 all:
meillo@1 2635 @echo '@@@%%%=$(MAKE)=@@@%%%'
meillo@0 2636 _ACEOF
meillo@296 2637 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
meillo@1 2638 case `${MAKE-make} -f conftest.make 2>/dev/null` in
meillo@1 2639 *@@@%%%=?*=@@@%%%*)
meillo@1 2640 eval ac_cv_prog_make_${ac_make}_set=yes;;
meillo@1 2641 *)
meillo@1 2642 eval ac_cv_prog_make_${ac_make}_set=no;;
meillo@1 2643 esac
meillo@0 2644 rm -f conftest.make
meillo@0 2645 fi
meillo@1 2646 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
meillo@36 2647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
meillo@36 2648 $as_echo "yes" >&6; }
meillo@0 2649 SET_MAKE=
meillo@0 2650 else
meillo@36 2651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
meillo@36 2652 $as_echo "no" >&6; }
meillo@0 2653 SET_MAKE="MAKE=${MAKE-make}"
meillo@0 2654 fi
meillo@0 2655
meillo@0 2656 rm -rf .tst 2>/dev/null
meillo@0 2657 mkdir .tst 2>/dev/null
meillo@0 2658 if test -d .tst; then
meillo@0 2659 am__leading_dot=.
meillo@0 2660 else
meillo@0 2661 am__leading_dot=_
meillo@0 2662 fi
meillo@0 2663 rmdir .tst 2>/dev/null
meillo@0 2664
meillo@36 2665 if test "`cd $srcdir && pwd`" != "`pwd`"; then
meillo@36 2666 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
meillo@36 2667 # is not polluted with repeated "-I."
meillo@36 2668 am__isrc=' -I$(srcdir)'
meillo@36 2669 # test to see if srcdir already configured
meillo@36 2670 if test -f $srcdir/config.status; then
meillo@296 2671 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
meillo@36 2672 fi
meillo@0 2673 fi
meillo@0 2674
meillo@0 2675 # test whether we have cygpath
meillo@0 2676 if test -z "$CYGPATH_W"; then
meillo@0 2677 if (cygpath --version) >/dev/null 2>/dev/null; then
meillo@0 2678 CYGPATH_W='cygpath -w'
meillo@0 2679 else
meillo@0 2680 CYGPATH_W=echo
meillo@0 2681 fi
meillo@0 2682 fi
meillo@0 2683
meillo@0 2684
meillo@0 2685 # Define the identity of the package.
meillo@0 2686 PACKAGE='masqmail'
meillo@296 2687 VERSION='0.3.2-dev'
meillo@0 2688
meillo@0 2689
meillo@0 2690 cat >>confdefs.h <<_ACEOF
meillo@0 2691 #define PACKAGE "$PACKAGE"
meillo@0 2692 _ACEOF
meillo@0 2693
meillo@0 2694
meillo@0 2695 cat >>confdefs.h <<_ACEOF
meillo@0 2696 #define VERSION "$VERSION"
meillo@0 2697 _ACEOF
meillo@0 2698
meillo@0 2699 # Some tools Automake needs.
meillo@0 2700
meillo@0 2701 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
meillo@0 2702
meillo@0 2703
meillo@0 2704 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
meillo@0 2705
meillo@0 2706
meillo@0 2707 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
meillo@0 2708
meillo@0 2709
meillo@0 2710 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
meillo@0 2711
meillo@0 2712
meillo@0 2713 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
meillo@0 2714
meillo@0 2715 # We need awk for the "check" target. The system "awk" is bad on
meillo@0 2716 # some platforms.
meillo@36 2717 # Always define AMTAR for backward compatibility.
meillo@36 2718
meillo@36 2719 AMTAR=${AMTAR-"${am_missing_run}tar"}
meillo@36 2720
meillo@36 2721 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
meillo@36 2722
meillo@36 2723
meillo@0 2724
meillo@0 2725
meillo@0 2726
meillo@0 2727
meillo@0 2728
meillo@0 2729
meillo@0 2730 ac_ext=c
meillo@0 2731 ac_cpp='$CPP $CPPFLAGS'
meillo@0 2732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
meillo@0 2733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
meillo@0 2734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
meillo@0 2735 if test -n "$ac_tool_prefix"; then
meillo@0 2736 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
meillo@0 2737 set dummy ${ac_tool_prefix}gcc; ac_word=$2
meillo@36 2738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
meillo@36 2739 $as_echo_n "checking for $ac_word... " >&6; }
meillo@36 2740 if test "${ac_cv_prog_CC+set}" = set; then :
meillo@36 2741 $as_echo_n "(cached) " >&6
meillo@0 2742 else
meillo@0 2743 if test -n "$CC"; then
meillo@0 2744 ac_cv_prog_CC="$CC" # Let the user override the test.
meillo@0 2745 else
meillo@0 2746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
meillo@0 2747 for as_dir in $PATH
meillo@0 2748 do
meillo@0 2749 IFS=$as_save_IFS
meillo@0 2750 test -z "$as_dir" && as_dir=.
meillo@36 2751 for ac_exec_ext in '' $ac_executable_extensions; do
meillo@1 2752 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
meillo@0 2753 ac_cv_prog_CC="${ac_tool_prefix}gcc"
meillo@36 2754 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
meillo@0 2755 break 2
meillo@0 2756 fi
meillo@0 2757 done
meillo@36 2758 done
meillo@1 2759 IFS=$as_save_IFS
meillo@0 2760
meillo@0 2761 fi
meillo@0 2762 fi
meillo@0 2763 CC=$ac_cv_prog_CC
meillo@0 2764 if test -n "$CC"; then
meillo@36 2765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
meillo@36 2766 $as_echo "$CC" >&6; }
meillo@36 2767 else
meillo@36 2768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
meillo@36 2769 $as_echo "no" >&6; }
meillo@1 2770 fi
meillo@1 2771
meillo@0 2772
meillo@0 2773 fi
meillo@0 2774 if test -z "$ac_cv_prog_CC"; then
meillo@0 2775 ac_ct_CC=$CC
meillo@0 2776 # Extract the first word of "gcc", so it can be a program name with args.
meillo@0 2777 set dummy gcc; ac_word=$2
meillo@36 2778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
meillo@36 2779 $as_echo_n "checking for $ac_word... " >&6; }
meillo@36 2780 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
meillo@36 2781 $as_echo_n "(cached) " >&6
meillo@0 2782 else
meillo@0 2783 if test -n "$ac_ct_CC"; then
meillo@0 2784 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
meillo@0 2785 else
meillo@0 2786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
meillo@0 2787 for as_dir in $PATH
meillo@0 2788 do
meillo@0 2789 IFS=$as_save_IFS
meillo@0 2790 test -z "$as_dir" && as_dir=.
meillo@36 2791 for ac_exec_ext in '' $ac_executable_extensions; do
meillo@1 2792 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
meillo@0 2793 ac_cv_prog_ac_ct_CC="gcc"
meillo@36 2794 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
meillo@0 2795 break 2
meillo@0 2796 fi
meillo@0 2797 done
meillo@36 2798 done
meillo@1 2799 IFS=$as_save_IFS
meillo@0 2800
meillo@0 2801 fi
meillo@0 2802 fi
meillo@0 2803 ac_ct_CC=$ac_cv_prog_ac_ct_CC
meillo@0 2804 if test -n "$ac_ct_CC"; then
meillo@36 2805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
meillo@36 2806 $as_echo "$ac_ct_CC" >&6; }
meillo@36 2807 else
meillo@36 2808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
meillo@36 2809 $as_echo "no" >&6; }
meillo@1 2810 fi
meillo@1 2811
meillo@1 2812 if test "x$ac_ct_CC" = x; then
meillo@1 2813 CC=""
meillo@1 2814 else
meillo@1 2815 case $cross_compiling:$ac_tool_warned in
meillo@1 2816 yes:)
meillo@36 2817 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
meillo@36 2818 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
meillo@1 2819 ac_tool_warned=yes ;;
meillo@1 2820 esac
meillo@1 2821 CC=$ac_ct_CC
meillo@1 2822 fi
meillo@0 2823 else
meillo@0 2824 CC="$ac_cv_prog_CC"
meillo@0 2825 fi
meillo@0 2826
meillo@0 2827 if test -z "$CC"; then
meillo@1 2828 if test -n "$ac_tool_prefix"; then
meillo@1 2829 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
meillo@0 2830 set dummy ${ac_tool_prefix}cc; ac_word=$2
meillo@36 2831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
meillo@36 2832 $as_echo_n "checking for $ac_word... " >&6; }
meillo@36 2833 if test "${ac_cv_prog_CC+set}" = set; then :
meillo@36 2834 $as_echo_n "(cached) " >&6
meillo@0 2835 else
meillo@0 2836 if test -n "$CC"; then
meillo@0 2837 ac_cv_prog_CC="$CC" # Let the user override the test.
meillo@0 2838 else
meillo@0 2839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
meillo@0 2840 for as_dir in $PATH
meillo@0 2841 do
meillo@0 2842 IFS=$as_save_IFS
meillo@0 2843 test -z "$as_dir" && as_dir=.
meillo@36 2844 for ac_exec_ext in '' $ac_executable_extensions; do
meillo@1 2845 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
meillo@0 2846 ac_cv_prog_CC="${ac_tool_prefix}cc"
meillo@36 2847 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
meillo@0 2848 break 2
meillo@0 2849 fi
meillo@0 2850 done
meillo@36 2851 done
meillo@1 2852 IFS=$as_save_IFS
meillo@0 2853
meillo@0 2854 fi
meillo@0 2855 fi
meillo@0 2856 CC=$ac_cv_prog_CC
meillo@0 2857 if test -n "$CC"; then
meillo@36 2858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
meillo@36 2859 $as_echo "$CC" >&6; }
meillo@36 2860 else
meillo@36 2861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
meillo@36 2862 $as_echo "no" >&6; }
meillo@1 2863 fi
meillo@1 2864
meillo@1 2865
meillo@0 2866 fi
meillo@0 2867 fi
meillo@0 2868 if test -z "$CC"; then
meillo@0 2869 # Extract the first word of "cc", so it can be a program name with args.
meillo@0 2870 set dummy cc; ac_word=$2
meillo@36 2871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
meillo@36 2872 $as_echo_n "checking for $ac_word... " >&6; }
meillo@36 2873 if test "${ac_cv_prog_CC+set}" = set; then :
meillo@36 2874 $as_echo_n "(cached) " >&6
meillo@0 2875 else
meillo@0 2876 if test -n "$CC"; then
meillo@0 2877 ac_cv_prog_CC="$CC" # Let the user override the test.
meillo@0 2878 else
meillo@0 2879 ac_prog_rejected=no
meillo@0 2880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
meillo@0 2881 for as_dir in $PATH
meillo@0 2882 do
meillo@0 2883 IFS=$as_save_IFS
meillo@0 2884 test -z "$as_dir" && as_dir=.
meillo@36 2885 for ac_exec_ext in '' $ac_executable_extensions; do
meillo@1 2886 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
meillo@0 2887 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
meillo@0 2888 ac_prog_rejected=yes
meillo@0 2889 continue
meillo@0 2890 fi
meillo@0 2891 ac_cv_prog_CC="cc"
meillo@36 2892 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
meillo@0 2893 break 2
meillo@0 2894 fi
meillo@0 2895 done
meillo@36 2896 done
meillo@1 2897 IFS=$as_save_IFS
meillo@0 2898
meillo@0 2899 if test $ac_prog_rejected = yes; then
meillo@0 2900 # We found a bogon in the path, so make sure we never use it.
meillo@0 2901 set dummy $ac_cv_prog_CC
meillo@0 2902 shift
meillo@0 2903 if test $# != 0; then
meillo@0 2904 # We chose a different compiler from the bogus one.
meillo@0 2905 # However, it has the same basename, so the bogon will be chosen
meillo@0 2906 # first if we set CC to just the basename; use the full file name.
meillo@0 2907 shift
meillo@0 2908 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
meillo@0 2909 fi
meillo@0 2910 fi
meillo@0 2911 fi
meillo@0 2912 fi
meillo@0 2913 CC=$ac_cv_prog_CC
meillo@0 2914 if test -n "$CC"; then
meillo@36 2915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
meillo@36 2916 $as_echo "$CC" >&6; }
meillo@36 2917 else
meillo@36 2918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
meillo@36 2919 $as_echo "no" >&6; }
meillo@1 2920 fi
meillo@1 2921
meillo@0 2922
meillo@0 2923 fi
meillo@0 2924 if test -z "$CC"; then
meillo@0 2925 if test -n "$ac_tool_prefix"; then
meillo@1 2926 for ac_prog in cl.exe
meillo@0 2927 do
meillo@0 2928 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
meillo@0 2929 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
meillo@36 2930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
meillo@36 2931 $as_echo_n "checking for $ac_word... " >&6; }
meillo@36 2932 if test "${ac_cv_prog_CC+set}" = set; then :
meillo@36 2933 $as_echo_n "(cached) " >&6
meillo@0 2934 else
meillo@0 2935 if test -n "$CC"; then
meillo@0 2936 ac_cv_prog_CC="$CC" # Let the user override the test.
meillo@0 2937 else
meillo@0 2938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
meillo@0 2939 for as_dir in $PATH
meillo@0 2940 do
meillo@0 2941 IFS=$as_save_IFS
meillo@0 2942 test -z "$as_dir" && as_dir=.
meillo@36 2943 for ac_exec_ext in '' $ac_executable_extensions; do
meillo@1 2944 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
meillo@0 2945 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
meillo@36 2946 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
meillo@0 2947 break 2
meillo@0 2948 fi
meillo@0 2949 done
meillo@36 2950 done
meillo@1 2951 IFS=$as_save_IFS
meillo@0 2952
meillo@0 2953 fi
meillo@0 2954 fi
meillo@0 2955 CC=$ac_cv_prog_CC
meillo@0 2956 if test -n "$CC"; then
meillo@36 2957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
meillo@36 2958 $as_echo "$CC" >&6; }
meillo@36 2959 else
meillo@36 2960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
meillo@36 2961 $as_echo "no" >&6; }
meillo@1 2962 fi
meillo@1 2963
meillo@0 2964
meillo@0 2965 test -n "$CC" && break
meillo@0 2966 done
meillo@0 2967 fi
meillo@0 2968 if test -z "$CC"; then
meillo@0 2969 ac_ct_CC=$CC
meillo@1 2970 for ac_prog in cl.exe
meillo@0 2971 do
meillo@0 2972 # Extract the first word of "$ac_prog", so it can be a program name with args.
meillo@0 2973 set dummy $ac_prog; ac_word=$2
meillo@36 2974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
meillo@36 2975 $as_echo_n "checking for $ac_word... " >&6; }
meillo@36 2976 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
meillo@36 2977 $as_echo_n "(cached) " >&6
meillo@0 2978 else
meillo@0 2979 if test -n "$ac_ct_CC"; then
meillo@0 2980 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
meillo@0 2981 else
meillo@0 2982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
meillo@0 2983 for as_dir in $PATH
meillo@0 2984 do
meillo@0 2985 IFS=$as_save_IFS
meillo@0 2986 test -z "$as_dir" && as_dir=.
meillo@36 2987 for ac_exec_ext in '' $ac_executable_extensions; do
meillo@1 2988 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
meillo@0 2989 ac_cv_prog_ac_ct_CC="$ac_prog"
meillo@36 2990 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
meillo@0 2991 break 2
meillo@0 2992 fi
meillo@0 2993 done
meillo@36 2994 done
meillo@1 2995 IFS=$as_save_IFS
meillo@0 2996
meillo@0 2997 fi
meillo@0 2998 fi
meillo@0 2999 ac_ct_CC=$ac_cv_prog_ac_ct_CC
meillo@0 3000 if test -n "$ac_ct_CC"; then
meillo@36 3001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
meillo@36 3002 $as_echo "$ac_ct_CC" >&6; }
meillo@36 3003 else
meillo@36 3004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
meillo@36 3005 $as_echo "no" >&6; }
meillo@1 3006 fi
meillo@1 3007
meillo@0 3008
meillo@0 3009 test -n "$ac_ct_CC" && break
meillo@0 3010 done
meillo@0 3011
meillo@1 3012 if test "x$ac_ct_CC" = x; then
meillo@1 3013 CC=""
meillo@1 3014 else
meillo@1 3015 case $cross_compiling:$ac_tool_warned in
meillo@1 3016 yes:)
meillo@36 3017 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
meillo@36 3018 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
meillo@1 3019 ac_tool_warned=yes ;;
meillo@1 3020 esac
meillo@1 3021 CC=$ac_ct_CC
meillo@1 3022 fi
meillo@0 3023 fi
meillo@0 3024
meillo@0 3025 fi
meillo@0 3026
meillo@0 3027
meillo@36 3028 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
meillo@36 3029 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
meillo@296 3030 as_fn_error $? "no acceptable C compiler found in \$PATH
meillo@296 3031 See \`config.log' for more details" "$LINENO" 5 ; }
meillo@0 3032
meillo@0 3033 # Provide some information about the compiler.
meillo@36 3034 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
meillo@36 3035 set X $ac_compile
meillo@36 3036 ac_compiler=$2
meillo@36 3037 for ac_option in --version -v -V -qversion; do
meillo@36 3038 { { ac_try="$ac_compiler $ac_option >&5"
meillo@1 3039 case "(($ac_try" in
meillo@1 3040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
meillo@1 3041 *) ac_try_echo=$ac_try;;
meillo@1 3042 esac
meillo@36 3043 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
meillo@36 3044 $as_echo "$ac_try_echo"; } >&5
meillo@36 3045 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
meillo@0 3046 ac_status=$?
meillo@36 3047 if test -s conftest.err; then
meillo@36 3048 sed '10a\
meillo@36 3049 ... rest of stderr output deleted ...
meillo@36 3050 10q' conftest.err >conftest.er1
meillo@36 3051 cat conftest.er1 >&5
meillo@36 3052 fi
meillo@36 3053 rm -f conftest.er1 conftest.err
meillo@36 3054 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
meillo@36 3055 test $ac_status = 0; }
meillo@36 3056 done
meillo@36 3057
meillo@36 3058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
meillo@0 3059 /* end confdefs.h. */
meillo@0 3060
meillo@0 3061 int
meillo@0 3062 main ()
meillo@0 3063 {
meillo@0 3064
meillo@0 3065 ;
meillo@0 3066 return 0;
meillo@0 3067 }
meillo@0 3068 _ACEOF
meillo@0 3069 ac_clean_files_save=$ac_clean_files
meillo@36 3070 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
meillo@0 3071 # Try to create an executable without -o first, disregard a.out.
meillo@0 3072 # It will help us diagnose broken compilers, and finding out an intuition
meillo@0 3073 # of exeext.
meillo@36 3074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
meillo@36 3075 $as_echo_n "checking whether the C compiler works... " >&6; }
meillo@36 3076 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
meillo@36 3077
meillo@36 3078 # The possible output files:
meillo@36 3079 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
meillo@36 3080
meillo@1 3081 ac_rmfiles=
meillo@1 3082 for ac_file in $ac_files
meillo@1 3083 do
meillo@1 3084 case $ac_file in
meillo@36 3085 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
meillo@1 3086 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
meillo@1 3087 esac
meillo@1 3088 done
meillo@1 3089 rm -f $ac_rmfiles
meillo@1 3090
meillo@36 3091 if { { ac_try="$ac_link_default"
meillo@1 3092 case "(($ac_try" in
meillo@1 3093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
meillo@1 3094 *) ac_try_echo=$ac_try;;
meillo@1 3095 esac
meillo@36 3096 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
meillo@36 3097 $as_echo "$ac_try_echo"; } >&5
meillo@1 3098 (eval "$ac_link_default") 2>&5
meillo@0 3099 ac_status=$?
meillo@36 3100 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
meillo@36 3101 test $ac_status = 0; }; then :
meillo@1 3102 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
meillo@1 3103 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
meillo@1 3104 # in a Makefile. We should not override ac_cv_exeext if it was cached,
meillo@1 3105 # so that the user can short-circuit this test for compilers unknown to
meillo@1 3106 # Autoconf.
meillo@1 3107 for ac_file in $ac_files ''
meillo@0 3108 do
meillo@0 3109 test -f "$ac_file" || continue
meillo@0 3110 case $ac_file in
meillo@36 3111 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
meillo@0 3112 ;;
meillo@0 3113 [ab].out )
meillo@0 3114 # We found the default executable, but exeext='' is most
meillo@0 3115 # certainly right.
meillo@0 3116 break;;
meillo@0 3117 *.* )
meillo@36 3118 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
meillo@1 3119 then :; else
meillo@1 3120 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
meillo@1 3121 fi
meillo@1 3122 # We set ac_cv_exeext here because the later test for it is not
meillo@1 3123 # safe: cross compilers may not add the suffix if given an `-o'
meillo@1 3124 # argument, so we may need to know it at that point already.
meillo@1 3125 # Even if this section looks crufty: it has the advantage of
meillo@1 3126 # actually working.
meillo@0 3127 break;;
meillo@0 3128 * )
meillo@0 3129 break;;
meillo@0 3130 esac
meillo@0 3131 done
meillo@1 3132 test "$ac_cv_exeext" = no && ac_cv_exeext=
meillo@1 3133
meillo@1 3134 else
meillo@1 3135 ac_file=''
meillo@1 3136 fi
meillo@36 3137 if test -z "$ac_file"; then :
meillo@36 3138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
meillo@36 3139 $as_echo "no" >&6; }
meillo@36 3140 $as_echo "$as_me: failed program was:" >&5
meillo@0 3141 sed 's/^/| /' conftest.$ac_ext >&5
meillo@0 3142
meillo@36 3143 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
meillo@36 3144 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
meillo@296 3145 as_fn_error 77 "C compiler cannot create executables
meillo@296 3146 See \`config.log' for more details" "$LINENO" 5 ; }
meillo@36 3147 else
meillo@36 3148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
meillo@36 3149 $as_echo "yes" >&6; }
meillo@36 3150 fi
meillo@36 3151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
meillo@36 3152 $as_echo_n "checking for C compiler default output file name... " >&6; }
meillo@36 3153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
meillo@36 3154 $as_echo "$ac_file" >&6; }
meillo@0 3155 ac_exeext=$ac_cv_exeext
meillo@1 3156
meillo@36 3157 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
meillo@0 3158 ac_clean_files=$ac_clean_files_save
meillo@36 3159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
meillo@36 3160 $as_echo_n "checking for suffix of executables... " >&6; }
meillo@36 3161 if { { ac_try="$ac_link"
meillo@1 3162 case "(($ac_try" in
meillo@1 3163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
meillo@1 3164 *) ac_try_echo=$ac_try;;
meillo@1 3165 esac
meillo@36 3166 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
meillo@36 3167 $as_echo "$ac_try_echo"; } >&5
meillo@1 3168 (eval "$ac_link") 2>&5
meillo@0 3169 ac_status=$?
meillo@36 3170 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
meillo@36 3171 test $ac_status = 0; }; then :
meillo@0 3172 # If both `conftest.exe' and `conftest' are `present' (well, observable)
meillo@0 3173 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
meillo@0 3174 # work properly (i.e., refer to `conftest.exe'), while it won't with
meillo@0 3175 # `rm'.
meillo@0 3176 for ac_file in conftest.exe conftest conftest.*; do
meillo@0 3177 test -f "$ac_file" || continue
meillo@0 3178 case $ac_file in
meillo@36 3179 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
meillo@0 3180 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
meillo@0 3181 break;;
meillo@0 3182 * ) break;;
meillo@0 3183 esac
meillo@0 3184 done
meillo@0 3185 else
meillo@36 3186 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
meillo@36 3187 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
meillo@296 3188 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
meillo@296 3189 See \`config.log' for more details" "$LINENO" 5 ; }
meillo@36 3190 fi
meillo@36 3191 rm -f conftest conftest$ac_cv_exeext
meillo@36 3192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
meillo@36 3193 $as_echo "$ac_cv_exeext" >&6; }
meillo@0 3194
meillo@0 3195 rm -f conftest.$ac_ext
meillo@0 3196 EXEEXT=$ac_cv_exeext
meillo@0 3197 ac_exeext=$EXEEXT
meillo@36 3198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
meillo@36 3199 /* end confdefs.h. */
meillo@36 3200 #include <stdio.h>
meillo@36 3201 int
meillo@36 3202 main ()
meillo@36 3203 {
meillo@36 3204 FILE *f = fopen ("conftest.out", "w");
meillo@36 3205 return ferror (f) || fclose (f) != 0;
meillo@36 3206
meillo@36 3207 ;
meillo@36 3208 return 0;
meillo@36 3209 }
meillo@0 3210 _ACEOF
meillo@36 3211 ac_clean_files="$ac_clean_files conftest.out"
meillo@36 3212 # Check that the compiler produces executables we can run. If not, either
meillo@36 3213 # the compiler is broken, or we cross compile.
meillo@36 3214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
meillo@36 3215 $as_echo_n "checking whether we are cross compiling... " >&6; }
meillo@36 3216 if test "$cross_compiling" != yes; then
meillo@36 3217 { { ac_try="$ac_link"
meillo@36 3218 case "(($ac_try" in
meillo@36 3219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
meillo@36 3220 *) ac_try_echo=$ac_try;;
meillo@36 3221 esac
meillo@36 3222 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
meillo@36 3223 $as_echo "$ac_try_echo"; } >&5
meillo@36 3224 (eval "$ac_link") 2>&5
meillo@36 3225 ac_status=$?
meillo@36 3226 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
meillo@36 3227 test $ac_status = 0; }
meillo@36 3228 if { ac_try='./conftest$ac_cv_exeext'
meillo@36 3229 { { case "(($ac_try" in
meillo@36 3230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
meillo@36 3231 *) ac_try_echo=$ac_try;;
meillo@36 3232 esac
meillo@36 3233 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
meillo@36 3234 $as_echo "$ac_try_echo"; } >&5
meillo@36 3235 (eval "$ac_try") 2>&5
meillo@36 3236 ac_status=$?
meillo@36 3237 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
meillo@36 3238 test $ac_status = 0; }; }; then
meillo@36 3239 cross_compiling=no
meillo@36 3240 else
meillo@36 3241 if test "$cross_compiling" = maybe; then
meillo@36 3242 cross_compiling=yes
meillo@36 3243 else
meillo@36 3244 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
meillo@36 3245 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
meillo@296 3246 as_fn_error $? "cannot run C compiled programs.
meillo@36 3247 If you meant to cross compile, use \`--host'.
meillo@296 3248 See \`config.log' for more details" "$LINENO" 5 ; }
meillo@36 3249 fi
meillo@36 3250 fi
meillo@36 3251 fi
meillo@36 3252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
meillo@36 3253 $as_echo "$cross_compiling" >&6; }
meillo@36 3254
meillo@36 3255 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
meillo@36 3256 ac_clean_files=$ac_clean_files_save
meillo@36 3257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
meillo@36 3258 $as_echo_n "checking for suffix of object files... " >&6; }
meillo@36 3259 if test "${ac_cv_objext+set}" = set; then :
meillo@36 3260 $as_echo_n "(cached) " >&6
meillo@36 3261 else
meillo@36 3262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
meillo@0 3263 /* end confdefs.h. */
meillo@0 3264
meillo@0 3265 int
meillo@0 3266 main ()
meillo@0 3267 {
meillo@0 3268
meillo@0 3269 ;
meillo@0 3270 return 0;
meillo@0 3271 }
meillo@0 3272 _ACEOF
meillo@0 3273 rm -f conftest.o conftest.obj
meillo@36 3274 if { { ac_try="$ac_compile"
meillo@1 3275 case "(($ac_try" in
meillo@1 3276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
meillo@1 3277 *) ac_try_echo=$ac_try;;
meillo@1 3278 esac
meillo@36 3279 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
meillo@36 3280 $as_echo "$ac_try_echo"; } >&5
meillo@1 3281 (eval "$ac_compile") 2>&5
meillo@0 3282 ac_status=$?
meillo@36 3283 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
meillo@36 3284 test $ac_status = 0; }; then :
meillo@1 3285 for ac_file in conftest.o conftest.obj conftest.*; do
meillo@1 3286 test -f "$ac_file" || continue;
meillo@0 3287 case $ac_file in
meillo@36 3288 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
meillo@0 3289 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
meillo@0 3290 break;;
meillo@0 3291 esac
meillo@0 3292 done
meillo@0 3293 else
meillo@36 3294 $as_echo "$as_me: failed program was:" >&5
meillo@0 3295 sed 's/^/| /' conftest.$ac_ext >&5
meillo@0 3296
meillo@36 3297 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
meillo@36 3298 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
meillo@296 3299 as_fn_error $? "cannot compute suffix of object files: cannot compile
meillo@296 3300 See \`config.log' for more details" "$LINENO" 5 ; }
meillo@36 3301 fi
meillo@0 3302 rm -f conftest.$ac_cv_objext conftest.$ac_ext
meillo@0 3303 fi
meillo@36 3304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
meillo@36 3305 $as_echo "$ac_cv_objext" >&6; }
meillo@0 3306 OBJEXT=$ac_cv_objext
meillo@0 3307 ac_objext=$OBJEXT
meillo@36 3308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
meillo@36 3309 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
meillo@36 3310 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
meillo@36 3311 $as_echo_n "(cached) " >&6
meillo@36 3312 else
meillo@36 3313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
meillo@0 3314 /* end confdefs.h. */
meillo@0 3315
meillo@0 3316 int
meillo@0 3317 main ()
meillo@0 3318 {
meillo@0 3319 #ifndef __GNUC__
meillo@0 3320 choke me
meillo@0 3321 #endif
meillo@0 3322
meillo@0 3323 ;
meillo@0 3324 return 0;
meillo@0 3325 }
meillo@0 3326 _ACEOF
meillo@36 3327 if ac_fn_c_try_compile "$LINENO"; then :
meillo@0 3328 ac_compiler_gnu=yes
meillo@0 3329 else
meillo@36 3330 ac_compiler_gnu=no
meillo@36 3331 fi
meillo@1 3332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
meillo@0 3333 ac_cv_c_compiler_gnu=$ac_compiler_gnu
meillo@0 3334
meillo@0 3335 fi
meillo@36 3336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
meillo@36 3337 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
meillo@36 3338 if test $ac_compiler_gnu = yes; then
meillo@36 3339 GCC=yes
meillo@36 3340 else
meillo@36 3341 GCC=
meillo@36 3342 fi
meillo@0 3343 ac_test_CFLAGS=${CFLAGS+set}
meillo@0 3344 ac_save_CFLAGS=$CFLAGS
meillo@36 3345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
meillo@36 3346 $as_echo_n "checking whether $CC accepts -g... " >&6; }
meillo@36 3347 if test "${ac_cv_prog_cc_g+set}" = set; then :
meillo@36 3348 $as_echo_n "(cached) " >&6
meillo@0 3349 else
meillo@1 3350 ac_save_c_werror_flag=$ac_c_werror_flag
meillo@1 3351 ac_c_werror_flag=yes
meillo@1 3352 ac_cv_prog_cc_g=no
meillo@1 3353 CFLAGS="-g"
meillo@36 3354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
meillo@0 3355 /* end confdefs.h. */
meillo@0 3356
meillo@0 3357 int
meillo@0 3358 main ()
meillo@0 3359 {
meillo@0 3360
meillo@0 3361 ;
meillo@0 3362 return 0;
meillo@0 3363 }
meillo@0 3364 _ACEOF
meillo@36 3365 if ac_fn_c_try_compile "$LINENO"; then :
meillo@0 3366 ac_cv_prog_cc_g=yes
meillo@0 3367 else
meillo@36 3368 CFLAGS=""
meillo@36 3369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
meillo@1 3370 /* end confdefs.h. */
meillo@1 3371
meillo@1 3372 int
meillo@1 3373 main ()
meillo@1 3374 {
meillo@1 3375
meillo@1 3376 ;
meillo@1 3377 return 0;
meillo@1 3378 }
meillo@1 3379 _ACEOF
meillo@36 3380 if ac_fn_c_try_compile "$LINENO"; then :
meillo@36 3381
meillo@36 3382 else
meillo@36 3383 ac_c_werror_flag=$ac_save_c_werror_flag
meillo@1 3384 CFLAGS="-g"
meillo@36 3385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
meillo@1 3386 /* end confdefs.h. */
meillo@1 3387
meillo@1 3388 int
meillo@1 3389 main ()
meillo@1 3390 {
meillo@1 3391
meillo@1 3392 ;
meillo@1 3393 return 0;
meillo@1 3394 }
meillo@1 3395 _ACEOF
meillo@36 3396 if ac_fn_c_try_compile "$LINENO"; then :
meillo@1 3397 ac_cv_prog_cc_g=yes
meillo@36 3398 fi
meillo@1 3399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
meillo@1 3400 fi
meillo@1 3401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
meillo@1 3402 fi
meillo@1 3403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
meillo@1 3404 ac_c_werror_flag=$ac_save_c_werror_flag
meillo@1 3405 fi
meillo@36 3406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
meillo@36 3407 $as_echo "$ac_cv_prog_cc_g" >&6; }
meillo@0 3408 if test "$ac_test_CFLAGS" = set; then
meillo@0 3409 CFLAGS=$ac_save_CFLAGS
meillo@0 3410 elif test $ac_cv_prog_cc_g = yes; then
meillo@0 3411 if test "$GCC" = yes; then
meillo@0 3412 CFLAGS="-g -O2"
meillo@0 3413 else
meillo@0 3414 CFLAGS="-g"
meillo@0 3415 fi
meillo@0 3416 else
meillo@0 3417 if test "$GCC" = yes; then
meillo@0 3418 CFLAGS="-O2"
meillo@0 3419 else
meillo@0 3420 CFLAGS=
meillo@0 3421 fi
meillo@0 3422 fi
meillo@36 3423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
meillo@36 3424 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
meillo@36 3425 if test "${ac_cv_prog_cc_c89+set}" = set; then :
meillo@36 3426 $as_echo_n "(cached) " >&6
meillo@0 3427 else
meillo@1 3428 ac_cv_prog_cc_c89=no
meillo@0 3429 ac_save_CC=$CC
meillo@36 3430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
meillo@0 3431 /* end confdefs.h. */
meillo@0 3432 #include <stdarg.h>
meillo@0 3433 #include <stdio.h>
meillo@0 3434 #include <sys/types.h>
meillo@0 3435 #include <sys/stat.h>
meillo@0 3436 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
meillo@0 3437 struct buf { int x; };
meillo@0 3438 FILE * (*rcsopen) (struct buf *, struct stat *, int);
meillo@0 3439 static char *e (p, i)
meillo@0 3440 char **p;
meillo@0 3441 int i;
meillo@0 3442 {
meillo@0 3443 return p[i];
meillo@0 3444 }
meillo@0 3445 static char *f (char * (*g) (char **, int), char **p, ...)
meillo@0 3446 {
meillo@0 3447 char *s;
meillo@0 3448 va_list v;
meillo@0 3449 va_start (v,p);
meillo@0 3450 s = g (p, va_arg (v,int));
meillo@0 3451 va_end (v);
meillo@0 3452 return s;
meillo@0 3453 }
meillo@0 3454
meillo@0 3455 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
meillo@0 3456 function prototypes and stuff, but not '\xHH' hex character constants.
meillo@0 3457 These don't provoke an error unfortunately, instead are silently treated
meillo@1 3458 as 'x'. The following induces an error, until -std is added to get
meillo@0 3459 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
meillo@0 3460 array size at least. It's necessary to write '\x00'==0 to get something
meillo@1 3461 that's true only with -std. */
meillo@0 3462 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
meillo@0 3463
meillo@1 3464 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
meillo@1 3465 inside strings and character constants. */
meillo@1 3466 #define FOO(x) 'x'
meillo@1 3467 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
meillo@1 3468
meillo@0 3469 int test (int i, double x);
meillo@0 3470 struct s1 {int (*f) (int a);};
meillo@0 3471 struct s2 {int (*f) (double a);};
meillo@0 3472 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
meillo@0 3473 int argc;
meillo@0 3474 char **argv;
meillo@0 3475 int
meillo@0 3476 main ()
meillo@0 3477 {
meillo@0 3478 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
meillo@0 3479 ;
meillo@0 3480 return 0;
meillo@0 3481 }
meillo@0 3482 _ACEOF
meillo@1 3483 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
meillo@1 3484 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
meillo@0 3485 do
meillo@0 3486 CC="$ac_save_CC $ac_arg"
meillo@36 3487 if ac_fn_c_try_compile "$LINENO"; then :
meillo@1 3488 ac_cv_prog_cc_c89=$ac_arg
meillo@36 3489 fi
meillo@1 3490 rm -f core conftest.err conftest.$ac_objext
meillo@1 3491 test "x$ac_cv_prog_cc_c89" != "xno" && break
meillo@0 3492 done
meillo@1 3493 rm -f conftest.$ac_ext
meillo@0 3494 CC=$ac_save_CC
meillo@0 3495
meillo@0 3496 fi
meillo@1 3497 # AC_CACHE_VAL
meillo@1 3498 case "x$ac_cv_prog_cc_c89" in
meillo@1 3499 x)
meillo@36 3500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
meillo@36 3501 $as_echo "none needed" >&6; } ;;
meillo@1 3502 xno)
meillo@36 3503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
meillo@36 3504 $as_echo "unsupported" >&6; } ;;
meillo@0 3505 *)
meillo@1 3506 CC="$CC $ac_cv_prog_cc_c89"
meillo@36 3507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
meillo@36 3508 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
meillo@0 3509 esac
meillo@36 3510 if test "x$ac_cv_prog_cc_c89" != xno; then :
meillo@36 3511
meillo@36 3512 fi
meillo@1 3513
meillo@0 3514 ac_ext=c
meillo@0 3515 ac_cpp='$CPP $CPPFLAGS'
meillo@0 3516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
meillo@0 3517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
meillo@0 3518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
meillo@0 3519 DEPDIR="${am__leading_dot}deps"
meillo@0 3520
meillo@1 3521 ac_config_commands="$ac_config_commands depfiles"
meillo@0 3522
meillo@0 3523
meillo@0 3524 am_make=${MAKE-make}
meillo@0 3525 cat > confinc << 'END'
meillo@0 3526 am__doit:
meillo@36 3527 @echo this is the am__doit target
meillo@0 3528 .PHONY: am__doit
meillo@0 3529 END
meillo@0 3530 # If we don't find an include directive, just comment out the code.
meillo@36 3531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
meillo@36 3532 $as_echo_n "checking for style of include used by $am_make... " >&6; }
meillo@0 3533 am__include="#"
meillo@0 3534 am__quote=
meillo@0 3535 _am_result=none
meillo@0 3536 # First try GNU make style include.
meillo@0 3537 echo "include confinc" > confmf
meillo@36 3538 # Ignore all kinds of additional output from `make'.
meillo@36 3539 case `$am_make -s -f confmf 2> /dev/null` in #(
meillo@36 3540 *the\ am__doit\ target*)
meillo@36 3541 am__include=include
meillo@36 3542 am__quote=
meillo@36 3543 _am_result=GNU
meillo@36 3544 ;;
meillo@36 3545 esac
meillo@0 3546 # Now try BSD make style include.
meillo@0 3547 if test "$am__include" = "#"; then
meillo@0 3548 echo '.include "confinc"' > confmf
meillo@36 3549 case `$am_make -s -f confmf 2> /dev/null` in #(
meillo@36 3550 *the\ am__doit\ target*)
meillo@36 3551 am__include=.include
meillo@36 3552 am__quote="\""
meillo@36 3553 _am_result=BSD
meillo@36 3554 ;;
meillo@36 3555 esac
meillo@36 3556 fi
meillo@36 3557
meillo@36 3558
meillo@36 3559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
meillo@36 3560 $as_echo "$_am_result" >&6; }
meillo@0 3561 rm -f confinc confmf
meillo@0 3562
meillo@1 3563 # Check whether --enable-dependency-tracking was given.
meillo@36 3564 if test "${enable_dependency_tracking+set}" = set; then :
meillo@1 3565 enableval=$enable_dependency_tracking;
meillo@1 3566 fi
meillo@1 3567
meillo@0 3568 if test "x$enable_dependency_tracking" != xno; then
meillo@0 3569 am_depcomp="$ac_aux_dir/depcomp"
meillo@0 3570 AMDEPBACKSLASH='\'
meillo@0 3571 fi
meillo@36 3572 if test "x$enable_dependency_tracking" != xno; then
meillo@0 3573 AMDEP_TRUE=
meillo@0 3574 AMDEP_FALSE='#'
meillo@0 3575 else
meillo@0 3576 AMDEP_TRUE='#'
meillo@0 3577 AMDEP_FALSE=
meillo@0 3578 fi
meillo@0 3579
meillo@0 3580
meillo@0 3581
meillo@0 3582 depcc="$CC" am_compiler_list=
meillo@0 3583
meillo@36 3584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
meillo@36 3585 $as_echo_n "checking dependency style of $depcc... " >&6; }
meillo@36 3586 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
meillo@36 3587 $as_echo_n "(cached) " >&6
meillo@0 3588 else
meillo@0 3589 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
meillo@0 3590 # We make a subdir and do the tests there. Otherwise we can end up
meillo@0 3591 # making bogus files that we don't know about and never remove. For
meillo@0 3592 # instance it was reported that on HP-UX the gcc test will end up
meillo@0 3593 # making a dummy file named `D' -- because `-MD' means `put the output
meillo@0 3594 # in D'.
meillo@0 3595 mkdir conftest.dir
meillo@0 3596 # Copy depcomp to subdir because otherwise we won't find it if we're
meillo@0 3597 # using a relative directory.
meillo@0 3598 cp "$am_depcomp" conftest.dir
meillo@0 3599 cd conftest.dir
meillo@0 3600 # We will build objects and dependencies in a subdirectory because
meillo@0 3601 # it helps to detect inapplicable dependency modes. For instance
meillo@0 3602 # both Tru64's cc and ICC support -MD to output dependencies as a
meillo@0 3603 # side effect of compilation, but ICC will put the dependencies in
meillo@0 3604 # the current directory while Tru64 will put them in the object
meillo@0 3605 # directory.
meillo@0 3606 mkdir sub
meillo@0 3607
meillo@0 3608 am_cv_CC_dependencies_compiler_type=none
meillo@0 3609 if test "$am_compiler_list" = ""; then
meillo@0 3610 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
meillo@0 3611 fi
meillo@36 3612 am__universal=false
meillo@36 3613 case " $depcc " in #(
meillo@36 3614 *\ -arch\ *\ -arch\ *) am__universal=true ;;
meillo@36 3615 esac
meillo@36 3616
meillo@0 3617 for depmode in $am_compiler_list; do
meillo@0 3618 # Setup a source with many dependencies, because some compilers
meillo@0 3619 # like to wrap large dependency lists on column 80 (with \), and
meillo@0 3620 # we should not choose a depcomp mode which is confused by this.
meillo@0 3621 #
meillo@0 3622 # We need to recreate these files for each test, as the compiler may
meillo@0 3623 # overwrite some of them when testing with obscure command lines.
meillo@0 3624 # This happens at least with the AIX C compiler.
meillo@0 3625 : > sub/conftest.c
meillo@0 3626 for i in 1 2 3 4 5 6; do
meillo@0 3627 echo '#include "conftst'$i'.h"' >> sub/conftest.c
meillo@36 3628 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
meillo@36 3629 # Solaris 8's {/usr,}/bin/sh.
meillo@36 3630 touch sub/conftst$i.h
meillo@0 3631 done
meillo@0 3632 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
meillo@0 3633
meillo@36 3634 # We check with `-c' and `-o' for the sake of the "dashmstdout"
meillo@36 3635 # mode. It turns out that the SunPro C++ compiler does not properly
meillo@36 3636 # handle `-M -o', and we need to detect this. Also, some Intel
meillo@36 3637 # versions had trouble with output in subdirs
meillo@36 3638 am__obj=sub/conftest.${OBJEXT-o}
meillo@36 3639 am__minus_obj="-o $am__obj"
meillo@0 3640 case $depmode in
meillo@36 3641 gcc)
meillo@36 3642 # This depmode causes a compiler race in universal mode.
meillo@36 3643 test "$am__universal" = false || continue
meillo@36 3644 ;;
meillo@0 3645 nosideeffect)
meillo@0 3646 # after this tag, mechanisms are not by side-effect, so they'll
meillo@0 3647 # only be used when explicitly requested
meillo@0 3648 if test "x$enable_dependency_tracking" = xyes; then
meillo@0 3649 continue
meillo@0 3650 else
meillo@0 3651 break
meillo@0 3652 fi
meillo@0 3653 ;;
meillo@36 3654 msvisualcpp | msvcmsys)
meillo@36 3655 # This compiler won't grok `-c -o', but also, the minuso test has
meillo@36 3656 # not run yet. These depmodes are late enough in the game, and
meillo@36 3657 # so weak that their functioning should not be impacted.
meillo@36 3658 am__obj=conftest.${OBJEXT-o}
meillo@36 3659 am__minus_obj=
meillo@36 3660 ;;
meillo@0 3661 none) break ;;
meillo@0 3662 esac
meillo@0 3663 if depmode=$depmode \
meillo@36 3664 source=sub/conftest.c object=$am__obj \
meillo@0 3665 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
meillo@36 3666 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
meillo@0 3667 >/dev/null 2>conftest.err &&
meillo@36 3668 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
meillo@0 3669 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
meillo@36 3670 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
meillo@0 3671 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
meillo@0 3672 # icc doesn't choke on unknown options, it will just issue warnings
meillo@36 3673 # or remarks (even with -Werror). So we grep stderr for any message
meillo@36 3674 # that says an option was ignored or not supported.
meillo@36 3675 # When given -MP, icc 7.0 and 7.1 complain thusly:
meillo@36 3676 # icc: Command line warning: ignoring option '-M'; no argument required
meillo@36 3677 # The diagnosis changed in icc 8.0:
meillo@36 3678 # icc: Command line remark: option '-MP' not supported
meillo@36 3679 if (grep 'ignoring option' conftest.err ||
meillo@36 3680 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
meillo@0 3681 am_cv_CC_dependencies_compiler_type=$depmode
meillo@0 3682 break
meillo@0 3683 fi
meillo@0 3684 fi
meillo@0 3685 done
meillo@0 3686
meillo@0 3687 cd ..
meillo@0 3688 rm -rf conftest.dir
meillo@0 3689 else
meillo@0 3690 am_cv_CC_dependencies_compiler_type=none
meillo@0 3691 fi
meillo@0 3692
meillo@0 3693 fi
meillo@36 3694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
meillo@36 3695 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
meillo@0 3696 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
meillo@0 3697
meillo@36 3698 if
meillo@0 3699 test "x$enable_dependency_tracking" != xno \
meillo@0 3700 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
meillo@0 3701 am__fastdepCC_TRUE=
meillo@0 3702 am__fastdepCC_FALSE='#'
meillo@0 3703 else
meillo@0 3704 am__fastdepCC_TRUE='#'
meillo@0 3705 am__fastdepCC_FALSE=
meillo@0 3706 fi
meillo@0 3707
meillo@0 3708
meillo@0 3709
meillo@36 3710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
meillo@36 3711 $as_echo_n "checking for library containing strerror... " >&6; }
meillo@36 3712 if test "${ac_cv_search_strerror+set}" = set; then :
meillo@36 3713 $as_echo_n "(cached) " >&6
meillo@0 3714 else
meillo@1 3715 ac_func_search_save_LIBS=$LIBS
meillo@36 3716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
meillo@0 3717 /* end confdefs.h. */
meillo@0 3718
meillo@1 3719 /* Override any GCC internal prototype to avoid an error.
meillo@1 3720 Use char because int might match the return type of a GCC
meillo@1 3721 builtin and then its argument prototype would still apply. */
meillo@0 3722 #ifdef __cplusplus
meillo@0 3723 extern "C"
meillo@0 3724 #endif
meillo@0 3725 char strerror ();
meillo@0 3726 int
meillo@0 3727 main ()
meillo@0 3728 {
meillo@1 3729 return strerror ();
meillo@0 3730 ;
meillo@0 3731 return 0;
meillo@0 3732 }
meillo@0 3733 _ACEOF
meillo@1 3734 for ac_lib in '' cposix; do
meillo@1 3735 if test -z "$ac_lib"; then
meillo@1 3736 ac_res="none required"
meillo@1 3737 else
meillo@1 3738 ac_res=-l$ac_lib
meillo@1 3739 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
meillo@1 3740 fi
meillo@36 3741 if ac_fn_c_try_link "$LINENO"; then :
meillo@1 3742 ac_cv_search_strerror=$ac_res
meillo@36 3743 fi
meillo@36 3744 rm -f core conftest.err conftest.$ac_objext \
meillo@36 3745 conftest$ac_exeext
meillo@36 3746 if test "${ac_cv_search_strerror+set}" = set; then :
meillo@1 3747 break
meillo@1 3748 fi
meillo@1 3749 done
meillo@36 3750 if test "${ac_cv_search_strerror+set}" = set; then :
meillo@36 3751
meillo@1 3752 else
meillo@1 3753 ac_cv_search_strerror=no
meillo@1 3754 fi
meillo@1 3755 rm conftest.$ac_ext
meillo@1 3756 LIBS=$ac_func_search_save_LIBS
meillo@1 3757 fi
meillo@36 3758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
meillo@36 3759 $as_echo "$ac_cv_search_strerror" >&6; }
meillo@1 3760 ac_res=$ac_cv_search_strerror
meillo@36 3761 if test "$ac_res" != no; then :
meillo@1 3762 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
meillo@1 3763
meillo@1 3764 fi
meillo@0 3765
meillo@0 3766 ac_ext=c
meillo@0 3767 ac_cpp='$CPP $CPPFLAGS'
meillo@0 3768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
meillo@0 3769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
meillo@0 3770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
meillo@36 3771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
meillo@36 3772 $as_echo_n "checking how to run the C preprocessor... " >&6; }
meillo@0 3773 # On Suns, sometimes $CPP names a directory.
meillo@0 3774 if test -n "$CPP" && test -d "$CPP"; then
meillo@0 3775 CPP=
meillo@0 3776 fi
meillo@0 3777 if test -z "$CPP"; then
meillo@36 3778 if test "${ac_cv_prog_CPP+set}" = set; then :
meillo@36 3779 $as_echo_n "(cached) " >&6
meillo@0 3780 else
meillo@0 3781 # Double quotes because CPP needs to be expanded
meillo@0 3782 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
meillo@0 3783 do
meillo@0 3784 ac_preproc_ok=false
meillo@0 3785 for ac_c_preproc_warn_flag in '' yes
meillo@0 3786 do
meillo@0 3787 # Use a header file that comes with gcc, so configuring glibc
meillo@0 3788 # with a fresh cross-compiler works.
meillo@0 3789 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
meillo@0 3790 # <limits.h> exists even on freestanding compilers.
meillo@0 3791 # On the NeXT, cc -E runs the code through the compiler's parser,
meillo@0 3792 # not just through cpp. "Syntax error" is here to catch this case.
meillo@36 3793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
meillo@0 3794 /* end confdefs.h. */
meillo@0 3795 #ifdef __STDC__
meillo@0 3796 # include <limits.h>
meillo@0 3797 #else
meillo@0 3798 # include <assert.h>
meillo@0 3799 #endif
meillo@0 3800 Syntax error
meillo@0 3801 _ACEOF
meillo@36 3802 if ac_fn_c_try_cpp "$LINENO"; then :
meillo@36 3803
meillo@36 3804 else
meillo@0 3805 # Broken: fails on valid input.
meillo@0 3806 continue
meillo@0 3807 fi
meillo@296 3808 rm -f conftest.err conftest.i conftest.$ac_ext
meillo@0 3809
meillo@1 3810 # OK, works on sane cases. Now check whether nonexistent headers
meillo@0 3811 # can be detected and how.
meillo@36 3812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
meillo@0 3813 /* end confdefs.h. */
meillo@0 3814 #include <ac_nonexistent.h>
meillo@0 3815 _ACEOF
meillo@36 3816 if ac_fn_c_try_cpp "$LINENO"; then :
meillo@0 3817 # Broken: success on invalid input.
meillo@0 3818 continue
meillo@0 3819 else
meillo@0 3820 # Passes both tests.
meillo@0 3821 ac_preproc_ok=:
meillo@0 3822 break
meillo@0 3823 fi
meillo@296 3824 rm -f conftest.err conftest.i conftest.$ac_ext
meillo@0 3825
meillo@0 3826 done
meillo@0 3827 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
meillo@296 3828 rm -f conftest.i conftest.err conftest.$ac_ext
meillo@36 3829 if $ac_preproc_ok; then :
meillo@0 3830 break
meillo@0 3831 fi
meillo@0 3832
meillo@0 3833 done
meillo@0 3834 ac_cv_prog_CPP=$CPP
meillo@0 3835
meillo@0 3836 fi
meillo@0 3837 CPP=$ac_cv_prog_CPP
meillo@0 3838 else
meillo@0 3839 ac_cv_prog_CPP=$CPP
meillo@0 3840 fi
meillo@36 3841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
meillo@36 3842 $as_echo "$CPP" >&6; }
meillo@0 3843 ac_preproc_ok=false
meillo@0 3844 for ac_c_preproc_warn_flag in '' yes
meillo@0 3845 do
meillo@0 3846 # Use a header file that comes with gcc, so configuring glibc
meillo@0 3847 # with a fresh cross-compiler works.
meillo@0 3848 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
meillo@0 3849 # <limits.h> exists even on freestanding compilers.
meillo@0 3850 # On the NeXT, cc -E runs the code through the compiler's parser,
meillo@0 3851 # not just through cpp. "Syntax error" is here to catch this case.
meillo@36 3852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
meillo@0 3853 /* end confdefs.h. */
meillo@0 3854 #ifdef __STDC__
meillo@0 3855 # include <limits.h>
meillo@0 3856 #else
meillo@0 3857 # include <assert.h>
meillo@0 3858 #endif
meillo@0 3859 Syntax error
meillo@0 3860 _ACEOF
meillo@36 3861 if ac_fn_c_try_cpp "$LINENO"; then :
meillo@36 3862
meillo@36 3863 else
meillo@0 3864 # Broken: fails on valid input.
meillo@0 3865 continue
meillo@0 3866 fi
meillo@296 3867 rm -f conftest.err conftest.i conftest.$ac_ext
meillo@0 3868
meillo@1 3869 # OK, works on sane cases. Now check whether nonexistent headers
meillo@0 3870 # can be detected and how.
meillo@36 3871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
meillo@0 3872 /* end confdefs.h. */
meillo@0 3873 #include <ac_nonexistent.h>
meillo@0 3874 _ACEOF
meillo@36 3875 if ac_fn_c_try_cpp "$LINENO"; then :
meillo@0 3876 # Broken: success on invalid input.
meillo@0 3877 continue
meillo@0 3878 else
meillo@0 3879 # Passes both tests.
meillo@0 3880 ac_preproc_ok=:
meillo@0 3881 break
meillo@0 3882 fi
meillo@296 3883 rm -f conftest.err conftest.i conftest.$ac_ext
meillo@0 3884
meillo@0 3885 done
meillo@0 3886 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
meillo@296 3887 rm -f conftest.i conftest.err conftest.$ac_ext
meillo@36 3888 if $ac_preproc_ok; then :
meillo@36 3889
meillo@36 3890 else
meillo@36 3891 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
meillo@36 3892 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
meillo@296 3893 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
meillo@296 3894 See \`config.log' for more details" "$LINENO" 5 ; }
meillo@0 3895 fi
meillo@0 3896
meillo@0 3897 ac_ext=c
meillo@0 3898 ac_cpp='$CPP $CPPFLAGS'
meillo@0 3899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
meillo@0 3900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
meillo@0 3901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
meillo@0 3902
meillo@0 3903
meillo@36 3904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
meillo@36 3905 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
meillo@36 3906 if test "${ac_cv_path_GREP+set}" = set; then :
meillo@36 3907 $as_echo_n "(cached) " >&6
meillo@36 3908 else
meillo@36 3909 if test -z "$GREP"; then
meillo@1 3910 ac_path_GREP_found=false
meillo@36 3911 # Loop through the user's path and test for each of PROGNAME-LIST
meillo@36 3912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
meillo@1 3913 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
meillo@1 3914 do
meillo@1 3915 IFS=$as_save_IFS
meillo@1 3916 test -z "$as_dir" && as_dir=.
meillo@36 3917 for ac_prog in grep ggrep; do
meillo@36 3918 for ac_exec_ext in '' $ac_executable_extensions; do
meillo@36 3919 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
meillo@36 3920 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
meillo@36 3921 # Check for GNU ac_path_GREP and select it if it is found.
meillo@1 3922 # Check for GNU $ac_path_GREP
meillo@1 3923 case `"$ac_path_GREP" --version 2>&1` in
meillo@1 3924 *GNU*)
meillo@1 3925 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
meillo@1 3926 *)
meillo@1 3927 ac_count=0
meillo@36 3928 $as_echo_n 0123456789 >"conftest.in"
meillo@1 3929 while :
meillo@1 3930 do
meillo@1 3931 cat "conftest.in" "conftest.in" >"conftest.tmp"
meillo@1 3932 mv "conftest.tmp" "conftest.in"
meillo@1 3933 cp "conftest.in" "conftest.nl"
meillo@36 3934 $as_echo 'GREP' >> "conftest.nl"
meillo@1 3935 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
meillo@1 3936 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
meillo@36 3937 as_fn_arith $ac_count + 1 && ac_count=$as_val
meillo@1 3938 if test $ac_count -gt ${ac_path_GREP_max-0}; then
meillo@1 3939 # Best one so far, save it but keep looking for a better one
meillo@1 3940 ac_cv_path_GREP="$ac_path_GREP"
meillo@1 3941 ac_path_GREP_max=$ac_count
meillo@0 3942 fi
meillo@1 3943 # 10*(2^10) chars as input seems more than enough
meillo@1 3944 test $ac_count -gt 10 && break
meillo@1 3945 done
meillo@1 3946 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
meillo@1 3947 esac
meillo@1 3948
meillo@36 3949 $ac_path_GREP_found && break 3
meillo@36 3950 done
meillo@1 3951 done
meillo@36 3952 done
meillo@1 3953 IFS=$as_save_IFS
meillo@36 3954 if test -z "$ac_cv_path_GREP"; then
meillo@296 3955 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
meillo@36 3956 fi
meillo@1 3957 else
meillo@1 3958 ac_cv_path_GREP=$GREP
meillo@1 3959 fi
meillo@1 3960
meillo@36 3961 fi
meillo@36 3962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
meillo@36 3963 $as_echo "$ac_cv_path_GREP" >&6; }
meillo@1 3964 GREP="$ac_cv_path_GREP"
meillo@1 3965
meillo@1 3966
meillo@36 3967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
meillo@36 3968 $as_echo_n "checking for egrep... " >&6; }
meillo@36 3969 if test "${ac_cv_path_EGREP+set}" = set; then :
meillo@36 3970 $as_echo_n "(cached) " >&6
meillo@1 3971 else
meillo@1 3972 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
meillo@1 3973 then ac_cv_path_EGREP="$GREP -E"
meillo@1 3974 else
meillo@36 3975 if test -z "$EGREP"; then
meillo@1 3976 ac_path_EGREP_found=false
meillo@36 3977 # Loop through the user's path and test for each of PROGNAME-LIST
meillo@36 3978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
meillo@1 3979 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
meillo@1 3980 do
meillo@1 3981 IFS=$as_save_IFS
meillo@1 3982 test -z "$as_dir" && as_dir=.
meillo@36 3983 for ac_prog in egrep; do
meillo@36 3984 for ac_exec_ext in '' $ac_executable_extensions; do
meillo@36 3985 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
meillo@36 3986 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
meillo@36 3987 # Check for GNU ac_path_EGREP and select it if it is found.
meillo@1 3988 # Check for GNU $ac_path_EGREP
meillo@1 3989 case `"$ac_path_EGREP" --version 2>&1` in
meillo@1 3990 *GNU*)
meillo@1 3991 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
meillo@1 3992 *)
meillo@1 3993 ac_count=0
meillo@36 3994 $as_echo_n 0123456789 >"conftest.in"
meillo@1 3995 while :
meillo@1 3996 do
meillo@1 3997 cat "conftest.in" "conftest.in" >"conftest.tmp"
meillo@1 3998 mv "conftest.tmp" "conftest.in"
meillo@1 3999 cp "conftest.in" "conftest.nl"
meillo@36 4000 $as_echo 'EGREP' >> "conftest.nl"
meillo@1 4001 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
meillo@1 4002 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
meillo@36 4003 as_fn_arith $ac_count + 1 && ac_count=$as_val
meillo@1 4004 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
meillo@1 4005 # Best one so far, save it but keep looking for a better one
meillo@1 4006 ac_cv_path_EGREP="$ac_path_EGREP"
meillo@1 4007 ac_path_EGREP_max=$ac_count
meillo@1 4008 fi
meillo@1 4009 # 10*(2^10) chars as input seems more than enough
meillo@1 4010 test $ac_count -gt 10 && break
meillo@1 4011 done
meillo@1 4012 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
meillo@1 4013 esac
meillo@1 4014
meillo@36 4015 $ac_path_EGREP_found && break 3
meillo@36 4016 done
meillo@1 4017 done
meillo@36 4018 done
meillo@1 4019 IFS=$as_save_IFS
meillo@36 4020 if test -z "$ac_cv_path_EGREP"; then
meillo@296 4021 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
meillo@36 4022 fi
meillo@1 4023 else
meillo@1 4024 ac_cv_path_EGREP=$EGREP
meillo@1 4025 fi
meillo@1 4026
meillo@1 4027 fi
meillo@1 4028 fi
meillo@36 4029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
meillo@36 4030 $as_echo "$ac_cv_path_EGREP" >&6; }
meillo@1 4031 EGREP="$ac_cv_path_EGREP"
meillo@1 4032
meillo@1 4033
meillo@36 4034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
meillo@36 4035 $as_echo_n "checking for ANSI C header files... " >&6; }
meillo@36 4036 if test "${ac_cv_header_stdc+set}" = set; then :
meillo@36 4037 $as_echo_n "(cached) " >&6
meillo@36 4038 else
meillo@36 4039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
meillo@0 4040 /* end confdefs.h. */
meillo@0 4041 #include <stdlib.h>
meillo@0 4042 #include <stdarg.h>
meillo@0 4043 #include <string.h>
meillo@0 4044 #include <float.h>
meillo@0 4045
meillo@0 4046 int
meillo@0 4047 main ()
meillo@0 4048 {
meillo@0 4049
meillo@0 4050 ;
meillo@0 4051 return 0;
meillo@0 4052 }
meillo@0 4053 _ACEOF
meillo@36 4054 if ac_fn_c_try_compile "$LINENO"; then :
meillo@0 4055 ac_cv_header_stdc=yes
meillo@0 4056 else
meillo@36 4057 ac_cv_header_stdc=no
meillo@36 4058 fi
meillo@1 4059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
meillo@0 4060
meillo@0 4061 if test $ac_cv_header_stdc = yes; then
meillo@0 4062 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
meillo@36 4063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
meillo@0 4064 /* end confdefs.h. */
meillo@0 4065 #include <string.h>
meillo@0 4066
meillo@0 4067 _ACEOF
meillo@0 4068 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
meillo@36 4069 $EGREP "memchr" >/dev/null 2>&1; then :
meillo@36 4070
meillo@0 4071 else
meillo@0 4072 ac_cv_header_stdc=no
meillo@0 4073 fi
meillo@0 4074 rm -f conftest*
meillo@0 4075
meillo@0 4076 fi
meillo@0 4077
meillo@0 4078 if test $ac_cv_header_stdc = yes; then
meillo@0 4079 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
meillo@36 4080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
meillo@0 4081 /* end confdefs.h. */
meillo@0 4082 #include <stdlib.h>
meillo@0 4083
meillo@0 4084 _ACEOF
meillo@0 4085 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
meillo@36 4086 $EGREP "free" >/dev/null 2>&1; then :
meillo@36 4087
meillo@0 4088 else
meillo@0 4089 ac_cv_header_stdc=no
meillo@0 4090 fi
meillo@0 4091 rm -f conftest*
meillo@0 4092
meillo@0 4093 fi
meillo@0 4094
meillo@0 4095 if test $ac_cv_header_stdc = yes; then
meillo@0 4096 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
meillo@36 4097 if test "$cross_compiling" = yes; then :
meillo@0 4098 :
meillo@0 4099 else
meillo@36 4100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
meillo@0 4101 /* end confdefs.h. */
meillo@0 4102 #include <ctype.h>
meillo@1 4103 #include <stdlib.h>
meillo@0 4104 #if ((' ' & 0x0FF) == 0x020)
meillo@0 4105 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
meillo@0 4106 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
meillo@0 4107 #else
meillo@0 4108 # define ISLOWER(c) \
meillo@0 4109 (('a' <= (c) && (c) <= 'i') \
meillo@0 4110 || ('j' <= (c) && (c) <= 'r') \
meillo@0 4111 || ('s' <= (c) && (c) <= 'z'))
meillo@0 4112 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
meillo@0 4113 #endif
meillo@0 4114
meillo@0 4115 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
meillo@0 4116 int
meillo@0 4117 main ()
meillo@0 4118 {
meillo@0 4119 int i;
meillo@0 4120 for (i = 0; i < 256; i++)
meillo@0 4121 if (XOR (islower (i), ISLOWER (i))
meillo@0 4122 || toupper (i) != TOUPPER (i))
meillo@1 4123 return 2;
meillo@1 4124 return 0;
meillo@0 4125 }
meillo@0 4126 _ACEOF
meillo@36 4127 if ac_fn_c_try_run "$LINENO"; then :
meillo@36 4128
meillo@36 4129 else
meillo@36 4130 ac_cv_header_stdc=no
meillo@36 4131 fi
meillo@36 4132 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
meillo@36 4133 conftest.$ac_objext conftest.beam conftest.$ac_ext
meillo@36 4134 fi
meillo@36 4135
meillo@36 4136 fi
meillo@36 4137 fi
meillo@36 4138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
meillo@36 4139 $as_echo "$ac_cv_header_stdc" >&6; }
meillo@0 4140 if test $ac_cv_header_stdc = yes; then
meillo@0 4141
meillo@36 4142 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
meillo@0 4143
meillo@0 4144 fi
meillo@0 4145
meillo@0 4146 if test -n "$ac_tool_prefix"; then
meillo@0 4147 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
meillo@0 4148 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
meillo@36 4149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
meillo@36 4150 $as_echo_n "checking for $ac_word... " >&6; }
meillo@36 4151 if test "${ac_cv_prog_RANLIB+set}" = set; then :
meillo@36 4152 $as_echo_n "(cached) " >&6
meillo@0 4153 else
meillo@0 4154 if test -n "$RANLIB"; then
meillo@0 4155 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
meillo@0 4156 else
meillo@0 4157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
meillo@0 4158 for as_dir in $PATH
meillo@0 4159 do
meillo@0 4160 IFS=$as_save_IFS
meillo@0 4161 test -z "$as_dir" && as_dir=.
meillo@36 4162 for ac_exec_ext in '' $ac_executable_extensions; do
meillo@1 4163 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
meillo@0 4164 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
meillo@36 4165 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
meillo@0 4166 break 2
meillo@0 4167 fi
meillo@0 4168 done
meillo@36 4169 done
meillo@1 4170 IFS=$as_save_IFS
meillo@0 4171
meillo@0 4172 fi
meillo@0 4173 fi
meillo@0 4174 RANLIB=$ac_cv_prog_RANLIB
meillo@0 4175 if test -n "$RANLIB"; then
meillo@36 4176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
meillo@36 4177 $as_echo "$RANLIB" >&6; }
meillo@36 4178 else
meillo@36 4179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
meillo@36 4180 $as_echo "no" >&6; }
meillo@1 4181 fi
meillo@1 4182
meillo@0 4183
meillo@0 4184 fi
meillo@0 4185 if test -z "$ac_cv_prog_RANLIB"; then
meillo@0 4186 ac_ct_RANLIB=$RANLIB
meillo@0 4187 # Extract the first word of "ranlib", so it can be a program name with args.
meillo@0 4188 set dummy ranlib; ac_word=$2
meillo@36 4189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
meillo@36 4190 $as_echo_n "checking for $ac_word... " >&6; }
meillo@36 4191 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
meillo@36 4192 $as_echo_n "(cached) " >&6
meillo@0 4193 else
meillo@0 4194 if test -n "$ac_ct_RANLIB"; then
meillo@0 4195 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
meillo@0 4196 else
meillo@0 4197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
meillo@0 4198 for as_dir in $PATH
meillo@0 4199 do
meillo@0 4200 IFS=$as_save_IFS
meillo@0 4201 test -z "$as_dir" && as_dir=.
meillo@36 4202 for ac_exec_ext in '' $ac_executable_extensions; do
meillo@1 4203 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
meillo@0 4204 ac_cv_prog_ac_ct_RANLIB="ranlib"
meillo@36 4205 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
meillo@0 4206 break 2
meillo@0 4207 fi
meillo@0 4208 done
meillo@36 4209 done
meillo@1 4210 IFS=$as_save_IFS
meillo@1 4211
meillo@0 4212 fi
meillo@0 4213 fi
meillo@0 4214 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
meillo@0 4215 if test -n "$ac_ct_RANLIB"; then
meillo@36 4216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
meillo@36 4217 $as_echo "$ac_ct_RANLIB" >&6; }
meillo@36 4218 else
meillo@36 4219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
meillo@36 4220 $as_echo "no" >&6; }
meillo@1 4221 fi
meillo@1 4222
meillo@1 4223 if test "x$ac_ct_RANLIB" = x; then
meillo@1 4224 RANLIB=":"
meillo@1 4225 else
meillo@1 4226 case $cross_compiling:$ac_tool_warned in
meillo@1 4227 yes:)
meillo@36 4228 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
meillo@36 4229 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
meillo@1 4230 ac_tool_warned=yes ;;
meillo@1 4231 esac
meillo@1 4232 RANLIB=$ac_ct_RANLIB
meillo@1 4233 fi
meillo@0 4234 else
meillo@0 4235 RANLIB="$ac_cv_prog_RANLIB"
meillo@0 4236 fi
meillo@0 4237
meillo@0 4238
meillo@0 4239
meillo@0 4240
meillo@54 4241
meillo@54 4242
meillo@54 4243
meillo@54 4244
meillo@0 4245 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
meillo@0 4246 if test -n "$ac_tool_prefix"; then
meillo@0 4247 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
meillo@0 4248 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
meillo@36 4249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
meillo@36 4250 $as_echo_n "checking for $ac_word... " >&6; }
meillo@36 4251 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
meillo@36 4252 $as_echo_n "(cached) " >&6
meillo@0 4253 else
meillo@0 4254 case $PKG_CONFIG in
meillo@0 4255 [\\/]* | ?:[\\/]*)
meillo@0 4256 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
meillo@0 4257 ;;
meillo@0 4258 *)
meillo@0 4259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
meillo@0 4260 for as_dir in $PATH
meillo@0 4261 do
meillo@0 4262 IFS=$as_save_IFS
meillo@0 4263 test -z "$as_dir" && as_dir=.
meillo@36 4264 for ac_exec_ext in '' $ac_executable_extensions; do
meillo@1 4265 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
meillo@0 4266 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
meillo@36 4267 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
meillo@0 4268 break 2
meillo@0 4269 fi
meillo@0 4270 done
meillo@36 4271 done
meillo@1 4272 IFS=$as_save_IFS
meillo@0 4273
meillo@0 4274 ;;
meillo@0 4275 esac
meillo@0 4276 fi
meillo@0 4277 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
meillo@0 4278 if test -n "$PKG_CONFIG"; then
meillo@36 4279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
meillo@36 4280 $as_echo "$PKG_CONFIG" >&6; }
meillo@36 4281 else
meillo@36 4282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
meillo@36 4283 $as_echo "no" >&6; }
meillo@1 4284 fi
meillo@1 4285
meillo@0 4286
meillo@0 4287 fi
meillo@0 4288 if test -z "$ac_cv_path_PKG_CONFIG"; then
meillo@0 4289 ac_pt_PKG_CONFIG=$PKG_CONFIG
meillo@0 4290 # Extract the first word of "pkg-config", so it can be a program name with args.
meillo@0 4291 set dummy pkg-config; ac_word=$2
meillo@36 4292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
meillo@36 4293 $as_echo_n "checking for $ac_word... " >&6; }
meillo@36 4294 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
meillo@36 4295 $as_echo_n "(cached) " >&6
meillo@0 4296 else
meillo@0 4297 case $ac_pt_PKG_CONFIG in
meillo@0 4298 [\\/]* | ?:[\\/]*)
meillo@0 4299 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
meillo@0 4300 ;;
meillo@0 4301 *)
meillo@0 4302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
meillo@0 4303 for as_dir in $PATH
meillo@0 4304 do
meillo@0 4305 IFS=$as_save_IFS
meillo@0 4306 test -z "$as_dir" && as_dir=.
meillo@36 4307 for ac_exec_ext in '' $ac_executable_extensions; do
meillo@1 4308 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
meillo@0 4309 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
meillo@36 4310 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
meillo@0 4311 break 2
meillo@0 4312 fi
meillo@0 4313 done
meillo@36 4314 done
meillo@1 4315 IFS=$as_save_IFS
meillo@0 4316
meillo@0 4317 ;;
meillo@0 4318 esac
meillo@0 4319 fi
meillo@0 4320 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
meillo@0 4321 if test -n "$ac_pt_PKG_CONFIG"; then
meillo@36 4322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
meillo@36 4323 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
meillo@36 4324 else
meillo@36 4325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
meillo@36 4326 $as_echo "no" >&6; }
meillo@1 4327 fi
meillo@1 4328
meillo@1 4329 if test "x$ac_pt_PKG_CONFIG" = x; then
meillo@1 4330 PKG_CONFIG=""
meillo@1 4331 else
meillo@1 4332 case $cross_compiling:$ac_tool_warned in
meillo@1 4333 yes:)
meillo@36 4334 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
meillo@36 4335 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
meillo@1 4336 ac_tool_warned=yes ;;
meillo@1 4337 esac
meillo@1 4338 PKG_CONFIG=$ac_pt_PKG_CONFIG
meillo@1 4339 fi
meillo@0 4340 else
meillo@0 4341 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
meillo@0 4342 fi
meillo@0 4343
meillo@0 4344 fi
meillo@0 4345 if test -n "$PKG_CONFIG"; then
meillo@0 4346 _pkg_min_version=0.9.0
meillo@36 4347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
meillo@36 4348 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
meillo@0 4349 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
meillo@36 4350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
meillo@36 4351 $as_echo "yes" >&6; }
meillo@0 4352 else
meillo@36 4353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
meillo@36 4354 $as_echo "no" >&6; }
meillo@0 4355 PKG_CONFIG=""
meillo@0 4356 fi
meillo@0 4357 fi
meillo@0 4358
meillo@0 4359 pkg_failed=no
meillo@36 4360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
meillo@36 4361 $as_echo_n "checking for GLIB... " >&6; }
meillo@0 4362
meillo@54 4363 if test -n "$GLIB_CFLAGS"; then
meillo@54 4364 pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
meillo@54 4365 elif test -n "$PKG_CONFIG"; then
meillo@54 4366 if test -n "$PKG_CONFIG" && \
meillo@36 4367 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0\""; } >&5
meillo@0 4368 ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
meillo@0 4369 ac_status=$?
meillo@36 4370 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
meillo@36 4371 test $ac_status = 0; }; then
meillo@0 4372 pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0" 2>/dev/null`
meillo@0 4373 else
meillo@0 4374 pkg_failed=yes
meillo@0 4375 fi
meillo@54 4376 else
meillo@54 4377 pkg_failed=untried
meillo@54 4378 fi
meillo@54 4379 if test -n "$GLIB_LIBS"; then
meillo@54 4380 pkg_cv_GLIB_LIBS="$GLIB_LIBS"
meillo@54 4381 elif test -n "$PKG_CONFIG"; then
meillo@54 4382 if test -n "$PKG_CONFIG" && \
meillo@36 4383 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0\""; } >&5
meillo@0 4384 ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
meillo@0 4385 ac_status=$?
meillo@36 4386 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
meillo@36 4387 test $ac_status = 0; }; then
meillo@0 4388 pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0" 2>/dev/null`
meillo@0 4389 else
meillo@0 4390 pkg_failed=yes
meillo@0 4391 fi
meillo@54 4392 else
meillo@54 4393 pkg_failed=untried
meillo@0 4394 fi
meillo@0 4395
meillo@1 4396
meillo@1 4397
meillo@0 4398 if test $pkg_failed = yes; then
meillo@54 4399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
meillo@54 4400 $as_echo "no" >&6; }
meillo@1 4401
meillo@1 4402 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
meillo@1 4403 _pkg_short_errors_supported=yes
meillo@1 4404 else
meillo@1 4405 _pkg_short_errors_supported=no
meillo@1 4406 fi
meillo@1 4407 if test $_pkg_short_errors_supported = yes; then
meillo@54 4408 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0" 2>&1`
meillo@1 4409 else
meillo@54 4410 GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0" 2>&1`
meillo@1 4411 fi
meillo@0 4412 # Put the nasty error message in config.log where it belongs
meillo@1 4413 echo "$GLIB_PKG_ERRORS" >&5
meillo@1 4414
meillo@296 4415 as_fn_error $? "Package requirements (glib-2.0) were not met:
meillo@1 4416
meillo@1 4417 $GLIB_PKG_ERRORS
meillo@1 4418
meillo@0 4419 Consider adjusting the PKG_CONFIG_PATH environment variable if you
meillo@0 4420 installed software in a non-standard prefix.
meillo@0 4421
meillo@1 4422 Alternatively, you may set the environment variables GLIB_CFLAGS
meillo@1 4423 and GLIB_LIBS to avoid the need to call pkg-config.
meillo@54 4424 See the pkg-config man page for more details." "$LINENO" 5
meillo@36 4425 elif test $pkg_failed = untried; then
meillo@54 4426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
meillo@54 4427 $as_echo "no" >&6; }
meillo@36 4428 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
meillo@36 4429 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
meillo@296 4430 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
meillo@36 4431 is in your PATH or set the PKG_CONFIG environment variable to the full
meillo@36 4432 path to pkg-config.
meillo@0 4433
meillo@1 4434 Alternatively, you may set the environment variables GLIB_CFLAGS
meillo@1 4435 and GLIB_LIBS to avoid the need to call pkg-config.
meillo@1 4436 See the pkg-config man page for more details.
meillo@1 4437
meillo@1 4438 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
meillo@296 4439 See \`config.log' for more details" "$LINENO" 5 ; }
meillo@0 4440 else
meillo@0 4441 GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
meillo@0 4442 GLIB_LIBS=$pkg_cv_GLIB_LIBS
meillo@36 4443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
meillo@36 4444 $as_echo "yes" >&6; }
meillo@54 4445
meillo@0 4446 fi
meillo@0 4447
meillo@0 4448
meillo@0 4449
meillo@181 4450
meillo@1 4451 # Check whether --enable-resolver was given.
meillo@36 4452 if test "${enable_resolver+set}" = set; then :
meillo@1 4453 enableval=$enable_resolver; if test "$enable_resolver" != 'no'; then
meillo@0 4454 resolver_enabled='yes'
meillo@0 4455 fi
meillo@0 4456 else
meillo@0 4457 resolver_enabled='yes'
meillo@0 4458
meillo@1 4459 fi
meillo@1 4460
meillo@0 4461
meillo@0 4462 if test "$resolver_enabled" = yes; then
meillo@0 4463
meillo@36 4464 $as_echo "#define ENABLE_RESOLVER 1" >>confdefs.h
meillo@36 4465
meillo@36 4466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_search in -lc" >&5
meillo@36 4467 $as_echo_n "checking for res_search in -lc... " >&6; }
meillo@36 4468 if test "${ac_cv_lib_c_res_search+set}" = set; then :
meillo@36 4469 $as_echo_n "(cached) " >&6
meillo@0 4470 else
meillo@0 4471 ac_check_lib_save_LIBS=$LIBS
meillo@0 4472 LIBS="-lc $LIBS"
meillo@36 4473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
meillo@0 4474 /* end confdefs.h. */
meillo@0 4475
meillo@1 4476 /* Override any GCC internal prototype to avoid an error.
meillo@1 4477 Use char because int might match the return type of a GCC
meillo@1 4478 builtin and then its argument prototype would still apply. */
meillo@0 4479 #ifdef __cplusplus
meillo@0 4480 extern "C"
meillo@0 4481 #endif
meillo@0 4482 char res_search ();
meillo@0 4483 int
meillo@0 4484 main ()
meillo@0 4485 {
meillo@1 4486 return res_search ();
meillo@0 4487 ;
meillo@0 4488 return 0;
meillo@0 4489 }
meillo@0 4490 _ACEOF
meillo@36 4491 if ac_fn_c_try_link "$LINENO"; then :
meillo@0 4492 ac_cv_lib_c_res_search=yes
meillo@0 4493 else
meillo@36 4494 ac_cv_lib_c_res_search=no
meillo@36 4495 fi
meillo@36 4496 rm -f core conftest.err conftest.$ac_objext \
meillo@36 4497 conftest$ac_exeext conftest.$ac_ext
meillo@0 4498 LIBS=$ac_check_lib_save_LIBS
meillo@0 4499 fi
meillo@36 4500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_res_search" >&5
meillo@36 4501 $as_echo "$ac_cv_lib_c_res_search" >&6; }
meillo@36 4502 if test "x$ac_cv_lib_c_res_search" = x""yes; then :
meillo@0 4503 need_resolv=no
meillo@0 4504 else
meillo@0 4505 need_resolv=yes
meillo@0 4506 fi
meillo@0 4507
meillo@0 4508 if test "$need_resolv" = yes; then
meillo@36 4509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_search in -lresolv" >&5
meillo@36 4510 $as_echo_n "checking for res_search in -lresolv... " >&6; }
meillo@36 4511 if test "${ac_cv_lib_resolv_res_search+set}" = set; then :
meillo@36 4512 $as_echo_n "(cached) " >&6
meillo@0 4513 else
meillo@0 4514 ac_check_lib_save_LIBS=$LIBS
meillo@0 4515 LIBS="-lresolv $LIBS"
meillo@36 4516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
meillo@0 4517 /* end confdefs.h. */
meillo@0 4518
meillo@1 4519 /* Override any GCC internal prototype to avoid an error.
meillo@1 4520 Use char because int might match the return type of a GCC
meillo@1 4521 builtin and then its argument prototype would still apply. */
meillo@0 4522 #ifdef __cplusplus
meillo@0 4523 extern "C"
meillo@0 4524 #endif
meillo@0 4525 char res_search ();
meillo@0 4526 int
meillo@0 4527 main ()
meillo@0 4528 {
meillo@1 4529 return res_search ();
meillo@0 4530 ;
meillo@0 4531 return 0;
meillo@0 4532 }
meillo@0 4533 _ACEOF
meillo@36 4534 if ac_fn_c_try_link "$LINENO"; then :
meillo@0 4535 ac_cv_lib_resolv_res_search=yes
meillo@0 4536 else
meillo@36 4537 ac_cv_lib_resolv_res_search=no
meillo@36 4538 fi
meillo@36 4539 rm -f core conftest.err conftest.$ac_objext \
meillo@36 4540 conftest$ac_exeext conftest.$ac_ext
meillo@0 4541 LIBS=$ac_check_lib_save_LIBS
meillo@0 4542 fi
meillo@36 4543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_res_search" >&5
meillo@36 4544 $as_echo "$ac_cv_lib_resolv_res_search" >&6; }
meillo@36 4545 if test "x$ac_cv_lib_resolv_res_search" = x""yes; then :
meillo@1 4546 has_resolv=yes; RESOLV_LIBS="-lresolv"
meillo@1 4547 else
meillo@1 4548 has_resolv=no
meillo@1 4549 fi
meillo@1 4550
meillo@1 4551 if test "$has_resolv" = no; then
meillo@1 4552 saved_LIBS="$LIBS"
meillo@1 4553 LIBS="$LIBS -lresolv"
meillo@36 4554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_search in -lresolv" >&5
meillo@36 4555 $as_echo_n "checking for res_search in -lresolv... " >&6; }
meillo@36 4556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
meillo@1 4557 /* end confdefs.h. */
meillo@1 4558 #include <resolv.h>
meillo@1 4559 int
meillo@1 4560 main ()
meillo@1 4561 {
meillo@1 4562 res_search (0, 0, 0, 0, 0);
meillo@1 4563 ;
meillo@1 4564 return 0;
meillo@1 4565 }
meillo@1 4566 _ACEOF
meillo@36 4567 if ac_fn_c_try_link "$LINENO"; then :
meillo@36 4568 RESOLV_LIBS="-lresolv"; has_resolv=yes; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
meillo@36 4569 $as_echo "yes" >&6; }
meillo@36 4570 else
meillo@36 4571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
meillo@36 4572 $as_echo "no" >&6; }
meillo@36 4573 fi
meillo@36 4574 rm -f core conftest.err conftest.$ac_objext \
meillo@36 4575 conftest$ac_exeext conftest.$ac_ext;
meillo@1 4576 LIBS="$saved_LIBS"
meillo@1 4577 fi
meillo@1 4578 if test "$has_resolv" = no; then
meillo@296 4579 as_fn_error $? "\"no libresolv\"" "$LINENO" 5
meillo@1 4580 RESOLV_LIBS=''
meillo@1 4581 fi
meillo@0 4582 fi
meillo@0 4583 else
meillo@0 4584 RESOLV_LIBS=''
meillo@0 4585 fi
meillo@0 4586
meillo@0 4587
meillo@0 4588 for ac_func in getline
meillo@36 4589 do :
meillo@36 4590 ac_fn_c_check_func "$LINENO" "getline" "ac_cv_func_getline"
meillo@36 4591 if test "x$ac_cv_func_getline" = x""yes; then :
meillo@36 4592 cat >>confdefs.h <<_ACEOF
meillo@36 4593 #define HAVE_GETLINE 1
meillo@0 4594 _ACEOF
meillo@36 4595
meillo@36 4596 fi
meillo@36 4597 done
meillo@36 4598
meillo@36 4599
meillo@36 4600 for ac_func in fdatasync
meillo@36 4601 do :
meillo@36 4602 ac_fn_c_check_func "$LINENO" "fdatasync" "ac_cv_func_fdatasync"
meillo@36 4603 if test "x$ac_cv_func_fdatasync" = x""yes; then :
meillo@36 4604 cat >>confdefs.h <<_ACEOF
meillo@36 4605 #define HAVE_FDATASYNC 1
meillo@0 4606 _ACEOF
meillo@0 4607
meillo@0 4608 fi
meillo@0 4609 done
meillo@0 4610
meillo@0 4611
meillo@36 4612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
meillo@36 4613 $as_echo_n "checking for ANSI C header files... " >&6; }
meillo@36 4614 if test "${ac_cv_header_stdc+set}" = set; then :
meillo@36 4615 $as_echo_n "(cached) " >&6
meillo@36 4616 else
meillo@36 4617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
meillo@0 4618 /* end confdefs.h. */
meillo@0 4619 #include <stdlib.h>
meillo@0 4620 #include <stdarg.h>
meillo@0 4621 #include <string.h>
meillo@0 4622 #include <float.h>
meillo@0 4623
meillo@0 4624 int
meillo@0 4625 main ()
meillo@0 4626 {
meillo@0 4627
meillo@0 4628 ;
meillo@0 4629 return 0;
meillo@0 4630 }
meillo@0 4631 _ACEOF
meillo@36 4632 if ac_fn_c_try_compile "$LINENO"; then :
meillo@0 4633 ac_cv_header_stdc=yes
meillo@0 4634 else
meillo@36 4635 ac_cv_header_stdc=no
meillo@36 4636 fi
meillo@1 4637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
meillo@0 4638
meillo@0 4639 if test $ac_cv_header_stdc = yes; then
meillo@0 4640 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
meillo@36 4641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
meillo@0 4642 /* end confdefs.h. */
meillo@0 4643 #include <string.h>
meillo@0 4644
meillo@0 4645 _ACEOF
meillo@0 4646 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
meillo@36 4647 $EGREP "memchr" >/dev/null 2>&1; then :
meillo@36 4648
meillo@0 4649 else
meillo@0 4650 ac_cv_header_stdc=no
meillo@0 4651 fi
meillo@0 4652 rm -f conftest*
meillo@0 4653
meillo@0 4654 fi
meillo@0 4655
meillo@0 4656 if test $ac_cv_header_stdc = yes; then
meillo@0 4657 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
meillo@36 4658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
meillo@0 4659 /* end confdefs.h. */
meillo@0 4660 #include <stdlib.h>
meillo@0 4661
meillo@0 4662 _ACEOF
meillo@0 4663 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
meillo@36 4664 $EGREP "free" >/dev/null 2>&1; then :
meillo@36 4665
meillo@0 4666 else
meillo@0 4667 ac_cv_header_stdc=no
meillo@0 4668 fi
meillo@0 4669 rm -f conftest*
meillo@0 4670
meillo@0 4671 fi
meillo@0 4672
meillo@0 4673 if test $ac_cv_header_stdc = yes; then
meillo@0 4674 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
meillo@36 4675 if test "$cross_compiling" = yes; then :
meillo@0 4676 :
meillo@0 4677 else
meillo@36 4678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
meillo@0 4679 /* end confdefs.h. */
meillo@0 4680 #include <ctype.h>
meillo@1 4681 #include <stdlib.h>
meillo@0 4682 #if ((' ' & 0x0FF) == 0x020)
meillo@0 4683 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
meillo@0 4684 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
meillo@0 4685 #else
meillo@0 4686 # define ISLOWER(c) \
meillo@0 4687 (('a' <= (c) && (c) <= 'i') \
meillo@0 4688 || ('j' <= (c) && (c) <= 'r') \
meillo@0 4689 || ('s' <= (c) && (c) <= 'z'))
meillo@0 4690 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
meillo@0 4691 #endif
meillo@0 4692
meillo@0 4693 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
meillo@0 4694 int
meillo@0 4695 main ()
meillo@0 4696 {
meillo@0 4697 int i;
meillo@0 4698 for (i = 0; i < 256; i++)
meillo@0 4699 if (XOR (islower (i), ISLOWER (i))
meillo@0 4700 || toupper (i) != TOUPPER (i))
meillo@1 4701 return 2;
meillo@1 4702 return 0;
meillo@0 4703 }
meillo@0 4704 _ACEOF
meillo@36 4705 if ac_fn_c_try_run "$LINENO"; then :
meillo@36 4706
meillo@36 4707 else
meillo@36 4708 ac_cv_header_stdc=no
meillo@36 4709 fi
meillo@36 4710 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
meillo@36 4711 conftest.$ac_objext conftest.beam conftest.$ac_ext
meillo@36 4712 fi
meillo@36 4713
meillo@36 4714 fi
meillo@36 4715 fi
meillo@36 4716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
meillo@36 4717 $as_echo "$ac_cv_header_stdc" >&6; }
meillo@0 4718 if test $ac_cv_header_stdc = yes; then
meillo@0 4719
meillo@36 4720 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
meillo@0 4721
meillo@0 4722 fi
meillo@0 4723
meillo@0 4724 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
meillo@0 4725 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
meillo@0 4726 inttypes.h stdint.h unistd.h
meillo@36 4727 do :
meillo@36 4728 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
meillo@36 4729 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
meillo@36 4730 "
meillo@296 4731 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
meillo@36 4732 cat >>confdefs.h <<_ACEOF
meillo@36 4733 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
meillo@0 4734 _ACEOF
meillo@36 4735
meillo@36 4736 fi
meillo@36 4737
meillo@36 4738 done
meillo@36 4739
meillo@36 4740
meillo@36 4741 for ac_header in fcntl.h sys/time.h syslog.h unistd.h
meillo@36 4742 do :
meillo@36 4743 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
meillo@36 4744 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
meillo@296 4745 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
meillo@36 4746 cat >>confdefs.h <<_ACEOF
meillo@36 4747 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
meillo@0 4748 _ACEOF
meillo@0 4749
meillo@0 4750 fi
meillo@0 4751
meillo@0 4752 done
meillo@0 4753
meillo@0 4754
meillo@36 4755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
meillo@36 4756 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
meillo@36 4757 if test "${ac_cv_c_const+set}" = set; then :
meillo@36 4758 $as_echo_n "(cached) " >&6
meillo@36 4759 else
meillo@36 4760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
meillo@0 4761 /* end confdefs.h. */
meillo@0 4762
meillo@0 4763 int
meillo@0 4764 main ()
meillo@0 4765 {
meillo@0 4766 /* FIXME: Include the comments suggested by Paul. */
meillo@0 4767 #ifndef __cplusplus
meillo@0 4768 /* Ultrix mips cc rejects this. */
meillo@0 4769 typedef int charset[2];
meillo@1 4770 const charset cs;
meillo@0 4771 /* SunOS 4.1.1 cc rejects this. */
meillo@1 4772 char const *const *pcpcc;
meillo@1 4773 char **ppc;
meillo@0 4774 /* NEC SVR4.0.2 mips cc rejects this. */
meillo@0 4775 struct point {int x, y;};
meillo@0 4776 static struct point const zero = {0,0};
meillo@0 4777 /* AIX XL C 1.02.0.0 rejects this.
meillo@0 4778 It does not let you subtract one const X* pointer from another in
meillo@0 4779 an arm of an if-expression whose if-part is not a constant
meillo@0 4780 expression */
meillo@0 4781 const char *g = "string";
meillo@1 4782 pcpcc = &g + (g ? g-g : 0);
meillo@0 4783 /* HPUX 7.0 cc rejects these. */
meillo@1 4784 ++pcpcc;
meillo@1 4785 ppc = (char**) pcpcc;
meillo@1 4786 pcpcc = (char const *const *) ppc;
meillo@0 4787 { /* SCO 3.2v4 cc rejects this. */
meillo@0 4788 char *t;
meillo@0 4789 char const *s = 0 ? (char *) 0 : (char const *) 0;
meillo@0 4790
meillo@0 4791 *t++ = 0;
meillo@1 4792 if (s) return 0;
meillo@0 4793 }
meillo@0 4794 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
meillo@0 4795 int x[] = {25, 17};
meillo@0 4796 const int *foo = &x[0];
meillo@0 4797 ++foo;
meillo@0 4798 }
meillo@0 4799 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
meillo@0 4800 typedef const int *iptr;
meillo@0 4801 iptr p = 0;
meillo@0 4802 ++p;
meillo@0 4803 }
meillo@0 4804 { /* AIX XL C 1.02.0.0 rejects this saying
meillo@0 4805 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
meillo@0 4806 struct s { int j; const int *ap[3]; };
meillo@0 4807 struct s *b; b->j = 5;
meillo@0 4808 }
meillo@0 4809 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
meillo@0 4810 const int foo = 10;
meillo@1 4811 if (!foo) return 0;
meillo@0 4812 }
meillo@1 4813 return !cs[0] && !zero.x;
meillo@0 4814 #endif
meillo@0 4815
meillo@0 4816 ;
meillo@0 4817 return 0;
meillo@0 4818 }
meillo@0 4819 _ACEOF
meillo@36 4820 if ac_fn_c_try_compile "$LINENO"; then :
meillo@0 4821 ac_cv_c_const=yes
meillo@0 4822 else
meillo@36 4823 ac_cv_c_const=no
meillo@36 4824 fi
meillo@1 4825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
meillo@1 4826 fi
meillo@36 4827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
meillo@36 4828 $as_echo "$ac_cv_c_const" >&6; }
meillo@0 4829 if test $ac_cv_c_const = no; then
meillo@0 4830
meillo@36 4831 $as_echo "#define const /**/" >>confdefs.h
meillo@36 4832
meillo@36 4833 fi
meillo@36 4834
meillo@36 4835 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
meillo@36 4836 if test "x$ac_cv_type_pid_t" = x""yes; then :
meillo@36 4837
meillo@0 4838 else
meillo@0 4839
meillo@0 4840 cat >>confdefs.h <<_ACEOF
meillo@0 4841 #define pid_t int
meillo@0 4842 _ACEOF
meillo@0 4843
meillo@0 4844 fi
meillo@0 4845
meillo@36 4846 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
meillo@36 4847 if test "x$ac_cv_type_size_t" = x""yes; then :
meillo@36 4848
meillo@0 4849 else
meillo@0 4850
meillo@0 4851 cat >>confdefs.h <<_ACEOF
meillo@1 4852 #define size_t unsigned int
meillo@1 4853 _ACEOF
meillo@1 4854
meillo@1 4855 fi
meillo@1 4856
meillo@36 4857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
meillo@36 4858 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
meillo@36 4859 if test "${ac_cv_header_time+set}" = set; then :
meillo@36 4860 $as_echo_n "(cached) " >&6
meillo@36 4861 else
meillo@36 4862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
meillo@0 4863 /* end confdefs.h. */
meillo@0 4864 #include <sys/types.h>
meillo@0 4865 #include <sys/time.h>
meillo@0 4866 #include <time.h>
meillo@0 4867
meillo@0 4868 int
meillo@0 4869 main ()
meillo@0 4870 {
meillo@0 4871 if ((struct tm *) 0)
meillo@0 4872 return 0;
meillo@0 4873 ;
meillo@0 4874 return 0;
meillo@0 4875 }
meillo@0 4876 _ACEOF
meillo@36 4877 if ac_fn_c_try_compile "$LINENO"; then :
meillo@0 4878 ac_cv_header_time=yes
meillo@0 4879 else
meillo@36 4880 ac_cv_header_time=no
meillo@36 4881 fi
meillo@1 4882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
meillo@1 4883 fi
meillo@36 4884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
meillo@36 4885 $as_echo "$ac_cv_header_time" >&6; }
meillo@0 4886 if test $ac_cv_header_time = yes; then
meillo@0 4887
meillo@36 4888 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
meillo@36 4889
meillo@36 4890 fi
meillo@36 4891
meillo@36 4892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
meillo@36 4893 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
meillo@36 4894 if test "${ac_cv_struct_tm+set}" = set; then :
meillo@36 4895 $as_echo_n "(cached) " >&6
meillo@36 4896 else
meillo@36 4897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
meillo@0 4898 /* end confdefs.h. */
meillo@0 4899 #include <sys/types.h>
meillo@0 4900 #include <time.h>
meillo@0 4901
meillo@0 4902 int
meillo@0 4903 main ()
meillo@0 4904 {
meillo@1 4905 struct tm tm;
meillo@1 4906 int *p = &tm.tm_sec;
meillo@36 4907 return !p;
meillo@0 4908 ;
meillo@0 4909 return 0;
meillo@0 4910 }
meillo@0 4911 _ACEOF
meillo@36 4912 if ac_fn_c_try_compile "$LINENO"; then :
meillo@0 4913 ac_cv_struct_tm=time.h
meillo@0 4914 else
meillo@36 4915 ac_cv_struct_tm=sys/time.h
meillo@36 4916 fi
meillo@1 4917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
meillo@1 4918 fi
meillo@36 4919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
meillo@36 4920 $as_echo "$ac_cv_struct_tm" >&6; }
meillo@0 4921 if test $ac_cv_struct_tm = sys/time.h; then
meillo@0 4922
meillo@36 4923 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
meillo@36 4924
meillo@36 4925 fi
meillo@36 4926
meillo@36 4927
meillo@36 4928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working POSIX fnmatch" >&5
meillo@36 4929 $as_echo_n "checking for working POSIX fnmatch... " >&6; }
meillo@36 4930 if test "${ac_cv_func_fnmatch_works+set}" = set; then :
meillo@36 4931 $as_echo_n "(cached) " >&6
meillo@0 4932 else
meillo@0 4933 # Some versions of Solaris, SCO, and the GNU C Library
meillo@0 4934 # have a broken or incompatible fnmatch.
meillo@0 4935 # So we run a test program. If we are cross-compiling, take no chance.
meillo@0 4936 # Thanks to John Oleynick, Franc,ois Pinard, and Paul Eggert for this test.
meillo@36 4937 if test "$cross_compiling" = yes; then :
meillo@0 4938 ac_cv_func_fnmatch_works=cross
meillo@0 4939 else
meillo@36 4940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
meillo@0 4941 /* end confdefs.h. */
meillo@0 4942 #include <fnmatch.h>
meillo@0 4943 # define y(a, b, c) (fnmatch (a, b, c) == 0)
meillo@0 4944 # define n(a, b, c) (fnmatch (a, b, c) == FNM_NOMATCH)
meillo@0 4945
meillo@0 4946 int
meillo@0 4947 main ()
meillo@0 4948 {
meillo@1 4949 return
meillo@0 4950 (!(y ("a*", "abc", 0)
meillo@0 4951 && n ("d*/*1", "d/s/1", FNM_PATHNAME)
meillo@0 4952 && y ("a\\\\bc", "abc", 0)
meillo@0 4953 && n ("a\\\\bc", "abc", FNM_NOESCAPE)
meillo@0 4954 && y ("*x", ".x", 0)
meillo@0 4955 && n ("*x", ".x", FNM_PERIOD)
meillo@0 4956 && 1));
meillo@0 4957 ;
meillo@0 4958 return 0;
meillo@0 4959 }
meillo@0 4960 _ACEOF
meillo@36 4961 if ac_fn_c_try_run "$LINENO"; then :
meillo@0 4962 ac_cv_func_fnmatch_works=yes
meillo@0 4963 else
meillo@36 4964 ac_cv_func_fnmatch_works=no
meillo@36 4965 fi
meillo@36 4966 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
meillo@36 4967 conftest.$ac_objext conftest.beam conftest.$ac_ext
meillo@36 4968 fi
meillo@36 4969
meillo@36 4970 fi
meillo@36 4971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fnmatch_works" >&5
meillo@36 4972 $as_echo "$ac_cv_func_fnmatch_works" >&6; }
meillo@36 4973 if test $ac_cv_func_fnmatch_works = yes; then :
meillo@36 4974
meillo@36 4975 $as_echo "#define HAVE_FNMATCH 1" >>confdefs.h
meillo@36 4976
meillo@36 4977 fi
meillo@36 4978
meillo@36 4979
meillo@36 4980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
meillo@36 4981 $as_echo_n "checking return type of signal handlers... " >&6; }
meillo@36 4982 if test "${ac_cv_type_signal+set}" = set; then :
meillo@36 4983 $as_echo_n "(cached) " >&6
meillo@36 4984 else
meillo@36 4985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
meillo@0 4986 /* end confdefs.h. */
meillo@0 4987 #include <sys/types.h>
meillo@0 4988 #include <signal.h>
meillo@0 4989
meillo@0 4990 int
meillo@0 4991 main ()
meillo@0 4992 {
meillo@1 4993 return *(signal (0, 0)) (0) == 1;
meillo@0 4994 ;
meillo@0 4995 return 0;
meillo@0 4996 }
meillo@0 4997 _ACEOF
meillo@36 4998 if ac_fn_c_try_compile "$LINENO"; then :
meillo@1 4999 ac_cv_type_signal=int
meillo@0 5000 else
meillo@36 5001 ac_cv_type_signal=void
meillo@36 5002 fi
meillo@1 5003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
meillo@1 5004 fi
meillo@36 5005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
meillo@36 5006 $as_echo "$ac_cv_type_signal" >&6; }
meillo@0 5007
meillo@0 5008 cat >>confdefs.h <<_ACEOF
meillo@0 5009 #define RETSIGTYPE $ac_cv_type_signal
meillo@0 5010 _ACEOF
meillo@0 5011
meillo@0 5012
meillo@0 5013 for ac_func in strftime
meillo@36 5014 do :
meillo@36 5015 ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime"
meillo@36 5016 if test "x$ac_cv_func_strftime" = x""yes; then :
meillo@36 5017 cat >>confdefs.h <<_ACEOF
meillo@36 5018 #define HAVE_STRFTIME 1
meillo@0 5019 _ACEOF
meillo@0 5020
meillo@0 5021 else
meillo@0 5022 # strftime is in -lintl on SCO UNIX.
meillo@36 5023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5
meillo@36 5024 $as_echo_n "checking for strftime in -lintl... " >&6; }
meillo@36 5025 if test "${ac_cv_lib_intl_strftime+set}" = set; then :
meillo@36 5026 $as_echo_n "(cached) " >&6
meillo@0 5027 else
meillo@0 5028 ac_check_lib_save_LIBS=$LIBS
meillo@0 5029 LIBS="-lintl $LIBS"
meillo@36 5030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
meillo@0 5031 /* end confdefs.h. */
meillo@0 5032
meillo@1 5033 /* Override any GCC internal prototype to avoid an error.
meillo@1 5034 Use char because int might match the return type of a GCC
meillo@1 5035 builtin and then its argument prototype would still apply. */
meillo@0 5036 #ifdef __cplusplus
meillo@0 5037 extern "C"
meillo@0 5038 #endif
meillo@0 5039 char strftime ();
meillo@0 5040 int
meillo@0 5041 main ()
meillo@0 5042 {
meillo@1 5043 return strftime ();
meillo@0 5044 ;
meillo@0 5045 return 0;
meillo@0 5046 }
meillo@0 5047 _ACEOF
meillo@36 5048 if ac_fn_c_try_link "$LINENO"; then :
meillo@0 5049 ac_cv_lib_intl_strftime=yes
meillo@0 5050 else
meillo@36 5051 ac_cv_lib_intl_strftime=no
meillo@36 5052 fi
meillo@36 5053 rm -f core conftest.err conftest.$ac_objext \
meillo@36 5054 conftest$ac_exeext conftest.$ac_ext
meillo@0 5055 LIBS=$ac_check_lib_save_LIBS
meillo@0 5056 fi
meillo@36 5057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5
meillo@36 5058 $as_echo "$ac_cv_lib_intl_strftime" >&6; }
meillo@36 5059 if test "x$ac_cv_lib_intl_strftime" = x""yes; then :
meillo@36 5060 $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h
meillo@36 5061
meillo@36 5062 LIBS="-lintl $LIBS"
meillo@36 5063 fi
meillo@36 5064
meillo@36 5065 fi
meillo@36 5066 done
meillo@36 5067
meillo@36 5068 for ac_func in vprintf
meillo@36 5069 do :
meillo@36 5070 ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf"
meillo@36 5071 if test "x$ac_cv_func_vprintf" = x""yes; then :
meillo@36 5072 cat >>confdefs.h <<_ACEOF
meillo@36 5073 #define HAVE_VPRINTF 1
meillo@0 5074 _ACEOF
meillo@0 5075
meillo@36 5076 ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
meillo@36 5077 if test "x$ac_cv_func__doprnt" = x""yes; then :
meillo@36 5078
meillo@36 5079 $as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
meillo@36 5080
meillo@0 5081 fi
meillo@0 5082
meillo@0 5083 fi
meillo@0 5084 done
meillo@0 5085
meillo@0 5086
meillo@36 5087 for ac_func in select socket strerror strstr
meillo@36 5088 do :
meillo@36 5089 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
meillo@36 5090 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
meillo@296 5091 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
meillo@36 5092 cat >>confdefs.h <<_ACEOF
meillo@36 5093 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
meillo@0 5094 _ACEOF
meillo@0 5095
meillo@0 5096 fi
meillo@0 5097 done
meillo@0 5098
meillo@0 5099
meillo@0 5100
meillo@1 5101 # Check whether --with-user was given.
meillo@36 5102 if test "${with_user+set}" = set; then :
meillo@1 5103 withval=$with_user;
meillo@1 5104 fi
meillo@1 5105
meillo@0 5106 if test "x$with_user" = 'x'; then
meillo@0 5107 with_user='mail'
meillo@0 5108 fi
meillo@0 5109
meillo@0 5110
meillo@1 5111 # Check whether --with-group was given.
meillo@36 5112 if test "${with_group+set}" = set; then :
meillo@1 5113 withval=$with_group;
meillo@1 5114 fi
meillo@1 5115
meillo@0 5116 if test "x$with_group" = 'x'; then
meillo@0 5117 with_group='trusted'
meillo@0 5118 fi
meillo@0 5119
meillo@1 5120 # Check whether --enable-debug was given.
meillo@36 5121 if test "${enable_debug+set}" = set; then :
meillo@1 5122 enableval=$enable_debug; if test "x$enable_debug" != 'xno'; then
meillo@0 5123 debug_enabled='yes'
meillo@0 5124 fi
meillo@0 5125 else
meillo@0 5126 debug_enabled='yes'
meillo@0 5127
meillo@1 5128 fi
meillo@1 5129
meillo@0 5130 if test "x$debug_enabled" = xyes; then
meillo@0 5131
meillo@36 5132 $as_echo "#define ENABLE_DEBUG 1" >>confdefs.h
meillo@0 5133
meillo@0 5134 fi
meillo@0 5135
meillo@0 5136
meillo@0 5137 cat >>confdefs.h <<_ACEOF
meillo@0 5138 #define DEF_MAIL_USER "${with_user}"
meillo@0 5139 _ACEOF
meillo@0 5140
meillo@0 5141
meillo@0 5142
meillo@0 5143 cat >>confdefs.h <<_ACEOF
meillo@0 5144 #define DEF_MAIL_GROUP "${with_group}"
meillo@0 5145 _ACEOF
meillo@0 5146
meillo@0 5147
meillo@0 5148
meillo@0 5149 MD5_LIBS=''
meillo@0 5150 BASE64_LIBS=''
meillo@0 5151
meillo@1 5152 # Check whether --enable-auth was given.
meillo@36 5153 if test "${enable_auth+set}" = set; then :
meillo@1 5154 enableval=$enable_auth; if test "x$enable_auth" != 'xno'; then
meillo@0 5155 auth_enabled='yes'
meillo@0 5156 fi
meillo@1 5157 fi
meillo@1 5158
meillo@0 5159 if test "x$auth_enabled" = xyes; then
meillo@0 5160
meillo@36 5161 $as_echo "#define ENABLE_AUTH 1" >>confdefs.h
meillo@0 5162
meillo@0 5163 BASE64_LIBS='base64/libbase64.a'
meillo@0 5164 need_md5='yes'
meillo@0 5165 fi
meillo@0 5166
meillo@0 5167
meillo@0 5168
meillo@1 5169 # Check whether --with-libcrypto was given.
meillo@36 5170 if test "${with_libcrypto+set}" = set; then :
meillo@1 5171 withval=$with_libcrypto;
meillo@1 5172 fi
meillo@1 5173
meillo@0 5174 if test "x$with_libcrypto" != 'xyes'; then
meillo@0 5175 with_libcrypto='no'
meillo@0 5176 fi
meillo@0 5177
meillo@0 5178 if test "x$need_md5" = 'xyes'; then
meillo@0 5179 if test "x$with_libcrypto" = "xyes"; then
meillo@36 5180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MD5 in -lcrypto" >&5
meillo@36 5181 $as_echo_n "checking for MD5 in -lcrypto... " >&6; }
meillo@36 5182 if test "${ac_cv_lib_crypto_MD5+set}" = set; then :
meillo@36 5183 $as_echo_n "(cached) " >&6
meillo@0 5184 else
meillo@0 5185 ac_check_lib_save_LIBS=$LIBS
meillo@0 5186 LIBS="-lcrypto $LIBS"
meillo@36 5187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
meillo@0 5188 /* end confdefs.h. */
meillo@0 5189
meillo@1 5190 /* Override any GCC internal prototype to avoid an error.
meillo@1 5191 Use char because int might match the return type of a GCC
meillo@1 5192 builtin and then its argument prototype would still apply. */
meillo@0 5193 #ifdef __cplusplus
meillo@0 5194 extern "C"
meillo@0 5195 #endif
meillo@0 5196 char MD5 ();
meillo@0 5197 int
meillo@0 5198 main ()
meillo@0 5199 {
meillo@1 5200 return MD5 ();
meillo@0 5201 ;
meillo@0 5202 return 0;
meillo@0 5203 }
meillo@0 5204 _ACEOF
meillo@36 5205 if ac_fn_c_try_link "$LINENO"; then :
meillo@0 5206 ac_cv_lib_crypto_MD5=yes
meillo@0 5207 else
meillo@36 5208 ac_cv_lib_crypto_MD5=no
meillo@36 5209 fi
meillo@36 5210 rm -f core conftest.err conftest.$ac_objext \
meillo@36 5211 conftest$ac_exeext conftest.$ac_ext
meillo@0 5212 LIBS=$ac_check_lib_save_LIBS
meillo@0 5213 fi
meillo@36 5214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_MD5" >&5
meillo@36 5215 $as_echo "$ac_cv_lib_crypto_MD5" >&6; }
meillo@36 5216 if test "x$ac_cv_lib_crypto_MD5" = x""yes; then :
meillo@0 5217 has_crypto='yes'
meillo@0 5218 else
meillo@296 5219 as_fn_error $? "'no libcrypto'" "$LINENO" 5
meillo@0 5220 fi
meillo@0 5221
meillo@0 5222 if test "x$has_crypto" = 'xyes'; then
meillo@0 5223
meillo@36 5224 $as_echo "#define USE_LIB_CRYPTO 1" >>confdefs.h
meillo@0 5225
meillo@0 5226 MD5_LIBS='-lcrypto'
meillo@0 5227 fi
meillo@0 5228 else
meillo@209 5229 MD5_LIBS='md5/libmd5.a'
meillo@0 5230 fi
meillo@0 5231 fi
meillo@0 5232
meillo@0 5233
meillo@0 5234 IDENT_LIBS=''
meillo@1 5235 # Check whether --enable-ident was given.
meillo@36 5236 if test "${enable_ident+set}" = set; then :
meillo@1 5237 enableval=$enable_ident; if test "x$enable_ident" != 'xno'; then
meillo@0 5238 ident_enabled='yes'
meillo@0 5239 fi
meillo@1 5240 fi
meillo@1 5241
meillo@0 5242
meillo@0 5243 if test "x$ident_enabled" = xyes; then
meillo@0 5244
meillo@36 5245 $as_echo "#define ENABLE_IDENT 1" >>confdefs.h
meillo@36 5246
meillo@36 5247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ident_id in -lident" >&5
meillo@36 5248 $as_echo_n "checking for ident_id in -lident... " >&6; }
meillo@36 5249 if test "${ac_cv_lib_ident_ident_id+set}" = set; then :
meillo@36 5250 $as_echo_n "(cached) " >&6
meillo@0 5251 else
meillo@0 5252 ac_check_lib_save_LIBS=$LIBS
meillo@0 5253 LIBS="-lident $LIBS"
meillo@36 5254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
meillo@0 5255 /* end confdefs.h. */
meillo@0 5256
meillo@1 5257 /* Override any GCC internal prototype to avoid an error.
meillo@1 5258 Use char because int might match the return type of a GCC
meillo@1 5259 builtin and then its argument prototype would still apply. */
meillo@0 5260 #ifdef __cplusplus
meillo@0 5261 extern "C"
meillo@0 5262 #endif
meillo@0 5263 char ident_id ();
meillo@0 5264 int
meillo@0 5265 main ()
meillo@0 5266 {
meillo@1 5267 return ident_id ();
meillo@0 5268 ;
meillo@0 5269 return 0;
meillo@0 5270 }
meillo@0 5271 _ACEOF
meillo@36 5272 if ac_fn_c_try_link "$LINENO"; then :
meillo@0 5273 ac_cv_lib_ident_ident_id=yes
meillo@0 5274 else
meillo@36 5275 ac_cv_lib_ident_ident_id=no
meillo@36 5276 fi
meillo@36 5277 rm -f core conftest.err conftest.$ac_objext \
meillo@36 5278 conftest$ac_exeext conftest.$ac_ext
meillo@0 5279 LIBS=$ac_check_lib_save_LIBS
meillo@0 5280 fi
meillo@36 5281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ident_ident_id" >&5
meillo@36 5282 $as_echo "$ac_cv_lib_ident_ident_id" >&6; }
meillo@36 5283 if test "x$ac_cv_lib_ident_ident_id" = x""yes; then :
meillo@0 5284 IDENT_LIBS='-lident'
meillo@0 5285 else
meillo@0 5286 IDENT_LIBS='libident/libident.a'
meillo@0 5287 fi
meillo@0 5288
meillo@0 5289 fi
meillo@0 5290
meillo@0 5291
meillo@0 5292
meillo@1 5293 # Check whether --with-liblockfile was given.
meillo@36 5294 if test "${with_liblockfile+set}" = set; then :
meillo@1 5295 withval=$with_liblockfile;
meillo@1 5296 fi
meillo@1 5297
meillo@173 5298 if test "x$with_liblockfile" = 'xno'; then
meillo@173 5299 with_liblockfile=''
meillo@173 5300 fi
meillo@0 5301 if test "x$with_liblockfile" != 'x'; then
meillo@0 5302 with_liblockfile='yes'
meillo@0 5303 fi
meillo@0 5304 if test "x$with_liblockfile" = xyes; then
meillo@36 5305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for maillock in -llockfile" >&5
meillo@36 5306 $as_echo_n "checking for maillock in -llockfile... " >&6; }
meillo@36 5307 if test "${ac_cv_lib_lockfile_maillock+set}" = set; then :
meillo@36 5308 $as_echo_n "(cached) " >&6
meillo@0 5309 else
meillo@0 5310 ac_check_lib_save_LIBS=$LIBS
meillo@0 5311 LIBS="-llockfile $LIBS"
meillo@36 5312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
meillo@0 5313 /* end confdefs.h. */
meillo@0 5314
meillo@1 5315 /* Override any GCC internal prototype to avoid an error.
meillo@1 5316 Use char because int might match the return type of a GCC
meillo@1 5317 builtin and then its argument prototype would still apply. */
meillo@0 5318 #ifdef __cplusplus
meillo@0 5319 extern "C"
meillo@0 5320 #endif
meillo@0 5321 char maillock ();
meillo@0 5322 int
meillo@0 5323 main ()
meillo@0 5324 {
meillo@1 5325 return maillock ();
meillo@0 5326 ;
meillo@0 5327 return 0;
meillo@0 5328 }
meillo@0 5329 _ACEOF
meillo@36 5330 if ac_fn_c_try_link "$LINENO"; then :
meillo@0 5331 ac_cv_lib_lockfile_maillock=yes
meillo@0 5332 else
meillo@36 5333 ac_cv_lib_lockfile_maillock=no
meillo@36 5334 fi
meillo@36 5335 rm -f core conftest.err conftest.$ac_objext \
meillo@36 5336 conftest$ac_exeext conftest.$ac_ext
meillo@0 5337 LIBS=$ac_check_lib_save_LIBS
meillo@0 5338 fi
meillo@36 5339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lockfile_maillock" >&5
meillo@36 5340 $as_echo "$ac_cv_lib_lockfile_maillock" >&6; }
meillo@36 5341 if test "x$ac_cv_lib_lockfile_maillock" = x""yes; then :
meillo@0 5342 has_lockfile=yes
meillo@0 5343 else
meillo@296 5344 as_fn_error $? "\"no liblockfile\"" "$LINENO" 5
meillo@0 5345 fi
meillo@0 5346
meillo@0 5347 LOCKFILE_LIBS='-llockfile'
meillo@0 5348
meillo@36 5349 $as_echo "#define USE_LIBLOCKFILE 1" >>confdefs.h
meillo@0 5350
meillo@0 5351 else
meillo@0 5352 LOCKFILE_LIBS=''
meillo@0 5353 fi
meillo@0 5354
meillo@0 5355
meillo@0 5356
meillo@0 5357
meillo@1 5358 # Check whether --with-logdir was given.
meillo@36 5359 if test "${with_logdir+set}" = set; then :
meillo@1 5360 withval=$with_logdir;
meillo@0 5361 else
meillo@0 5362 with_logdir='/var/log/masqmail/'
meillo@0 5363
meillo@1 5364 fi
meillo@1 5365
meillo@1 5366
meillo@151 5367 cat >>confdefs.h <<_ACEOF
meillo@151 5368 #define LOG_DIR "${with_logdir}"
meillo@151 5369 _ACEOF
meillo@151 5370
meillo@151 5371
meillo@1 5372
meillo@1 5373
meillo@1 5374 # Check whether --with-spooldir was given.
meillo@36 5375 if test "${with_spooldir+set}" = set; then :
meillo@1 5376 withval=$with_spooldir;
meillo@0 5377 else
meillo@0 5378 with_spooldir='/var/spool/masqmail/'
meillo@0 5379
meillo@1 5380 fi
meillo@1 5381
meillo@1 5382
meillo@151 5383 cat >>confdefs.h <<_ACEOF
meillo@151 5384 #define SPOOL_DIR "${with_spooldir}"
meillo@151 5385 _ACEOF
meillo@151 5386
meillo@151 5387
meillo@1 5388
meillo@1 5389
meillo@1 5390 # Check whether --with-confdir was given.
meillo@36 5391 if test "${with_confdir+set}" = set; then :
meillo@1 5392 withval=$with_confdir;
meillo@0 5393 else
meillo@0 5394 with_confdir='/etc/masqmail'
meillo@0 5395
meillo@1 5396 fi
meillo@1 5397
meillo@0 5398
meillo@0 5399 cat >>confdefs.h <<_ACEOF
meillo@0 5400 #define CONF_DIR "${with_confdir}"
meillo@0 5401 _ACEOF
meillo@0 5402
meillo@0 5403
meillo@0 5404
meillo@0 5405 test "x$prefix" = xNONE && prefix="$ac_default_prefix"
meillo@0 5406
meillo@36 5407
meillo@0 5408 cat >>confdefs.h <<_ACEOF
meillo@36 5409 #define DATA_DIR "`eval eval echo $datadir`/masqmail"
meillo@0 5410 _ACEOF
meillo@0 5411
meillo@0 5412
meillo@0 5413 if test "x${exec_prefix}" != 'xNONE'; then
meillo@0 5414
meillo@0 5415 cat >>confdefs.h <<_ACEOF
meillo@0 5416 #define SBINDIR "${exec_prefix}/sbin"
meillo@0 5417 _ACEOF
meillo@0 5418
meillo@0 5419 else
meillo@0 5420 if test "x${prefix}" != 'xNONE'; then
meillo@0 5421 cat >>confdefs.h <<_ACEOF
meillo@0 5422 #define SBINDIR "${prefix}/sbin"
meillo@0 5423 _ACEOF
meillo@0 5424
meillo@0 5425 else
meillo@0 5426 cat >>confdefs.h <<_ACEOF
meillo@0 5427 #define SBINDIR "/usr/sbin"
meillo@0 5428 _ACEOF
meillo@0 5429
meillo@0 5430 fi
meillo@0 5431 fi
meillo@0 5432
meillo@57 5433 ac_config_files="$ac_config_files Makefile src/Makefile src/base64/Makefile src/md5/Makefile src/libident/Makefile man/Makefile"
meillo@1 5434
meillo@0 5435 cat >confcache <<\_ACEOF
meillo@0 5436 # This file is a shell script that caches the results of configure
meillo@0 5437 # tests run on this system so they can be shared between configure
meillo@0 5438 # scripts and configure runs, see configure's option --config-cache.
meillo@0 5439 # It is not useful on other systems. If it contains results you don't
meillo@0 5440 # want to keep, you may remove or edit it.
meillo@0 5441 #
meillo@0 5442 # config.status only pays attention to the cache file if you give it
meillo@0 5443 # the --recheck option to rerun configure.
meillo@0 5444 #
meillo@0 5445 # `ac_cv_env_foo' variables (set or unset) will be overridden when
meillo@0 5446 # loading this file, other *unset* `ac_cv_foo' will be assigned the
meillo@0 5447 # following values.
meillo@0 5448
meillo@0 5449 _ACEOF
meillo@0 5450
meillo@0 5451 # The following way of writing the cache mishandles newlines in values,
meillo@0 5452 # but we know of no workaround that is simple, portable, and efficient.
meillo@1 5453 # So, we kill variables containing newlines.
meillo@0 5454 # Ultrix sh set writes to stderr and can't be redirected directly,
meillo@0 5455 # and sets the high bit in the cache file unless we assign to the vars.
meillo@1 5456 (
meillo@1 5457 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
meillo@1 5458 eval ac_val=\$$ac_var
meillo@1 5459 case $ac_val in #(
meillo@1 5460 *${as_nl}*)
meillo@1 5461 case $ac_var in #(
meillo@36 5462 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
meillo@36 5463 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
meillo@1 5464 esac
meillo@1 5465 case $ac_var in #(
meillo@1 5466 _ | IFS | as_nl) ;; #(
meillo@36 5467 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
meillo@36 5468 *) { eval $ac_var=; unset $ac_var;} ;;
meillo@1 5469 esac ;;
meillo@1 5470 esac
meillo@1 5471 done
meillo@1 5472
meillo@0 5473 (set) 2>&1 |
meillo@1 5474 case $as_nl`(ac_space=' '; set) 2>&1` in #(
meillo@1 5475 *${as_nl}ac_space=\ *)
meillo@36 5476 # `set' does not quote correctly, so add quotes: double-quote
meillo@36 5477 # substitution turns \\\\ into \\, and sed turns \\ into \.
meillo@0 5478 sed -n \
meillo@0 5479 "s/'/'\\\\''/g;
meillo@0 5480 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
meillo@1 5481 ;; #(
meillo@0 5482 *)
meillo@0 5483 # `set' quotes correctly as required by POSIX, so do not add quotes.
meillo@1 5484 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
meillo@0 5485 ;;
meillo@1 5486 esac |
meillo@1 5487 sort
meillo@1 5488 ) |
meillo@0 5489 sed '
meillo@1 5490 /^ac_cv_env_/b end
meillo@0 5491 t clear
meillo@1 5492 :clear
meillo@0 5493 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
meillo@0 5494 t end
meillo@1 5495 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
meillo@1 5496 :end' >>confcache
meillo@1 5497 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
meillo@1 5498 if test -w "$cache_file"; then
meillo@1 5499 test "x$cache_file" != "x/dev/null" &&
meillo@36 5500 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
meillo@36 5501 $as_echo "$as_me: updating cache $cache_file" >&6;}
meillo@0 5502 cat confcache >$cache_file
meillo@0 5503 else
meillo@36 5504 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
meillo@36 5505 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
meillo@0 5506 fi
meillo@0 5507 fi
meillo@0 5508 rm -f confcache
meillo@0 5509
meillo@0 5510 test "x$prefix" = xNONE && prefix=$ac_default_prefix
meillo@0 5511 # Let make expand exec_prefix.
meillo@0 5512 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
meillo@0 5513
meillo@0 5514 DEFS=-DHAVE_CONFIG_H
meillo@0 5515
meillo@0 5516 ac_libobjs=
meillo@0 5517 ac_ltlibobjs=
meillo@296 5518 U=
meillo@0 5519 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
meillo@0 5520 # 1. Remove the extension, and $U if already installed.
meillo@1 5521 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
meillo@36 5522 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
meillo@1 5523 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
meillo@1 5524 # will be set to the directory where LIBOBJS objects are built.
meillo@36 5525 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
meillo@36 5526 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
meillo@0 5527 done
meillo@0 5528 LIBOBJS=$ac_libobjs
meillo@0 5529
meillo@0 5530 LTLIBOBJS=$ac_ltlibobjs
meillo@0 5531
meillo@0 5532
meillo@36 5533 if test -n "$EXEEXT"; then
meillo@36 5534 am__EXEEXT_TRUE=
meillo@36 5535 am__EXEEXT_FALSE='#'
meillo@36 5536 else
meillo@36 5537 am__EXEEXT_TRUE='#'
meillo@36 5538 am__EXEEXT_FALSE=
meillo@36 5539 fi
meillo@36 5540
meillo@0 5541 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
meillo@296 5542 as_fn_error $? "conditional \"AMDEP\" was never defined.
meillo@36 5543 Usually this means the macro was only invoked conditionally." "$LINENO" 5
meillo@0 5544 fi
meillo@0 5545 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
meillo@296 5546 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
meillo@36 5547 Usually this means the macro was only invoked conditionally." "$LINENO" 5
meillo@0 5548 fi
meillo@0 5549
meillo@0 5550 : ${CONFIG_STATUS=./config.status}
meillo@36 5551 ac_write_fail=0
meillo@0 5552 ac_clean_files_save=$ac_clean_files
meillo@0 5553 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
meillo@36 5554 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
meillo@36 5555 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
meillo@36 5556 as_write_fail=0
meillo@36 5557 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
meillo@0 5558 #! $SHELL
meillo@0 5559 # Generated by $as_me.
meillo@0 5560 # Run this file to recreate the current configuration.
meillo@0 5561 # Compiler output produced by configure, useful for debugging
meillo@0 5562 # configure, is in config.log if it exists.
meillo@0 5563
meillo@0 5564 debug=false
meillo@0 5565 ac_cs_recheck=false
meillo@0 5566 ac_cs_silent=false
meillo@36 5567
meillo@0 5568 SHELL=\${CONFIG_SHELL-$SHELL}
meillo@36 5569 export SHELL
meillo@36 5570 _ASEOF
meillo@36 5571 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
meillo@36 5572 ## -------------------- ##
meillo@36 5573 ## M4sh Initialization. ##
meillo@36 5574 ## -------------------- ##
meillo@0 5575
meillo@1 5576 # Be more Bourne compatible
meillo@1 5577 DUALCASE=1; export DUALCASE # for MKS sh
meillo@36 5578 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
meillo@0 5579 emulate sh
meillo@0 5580 NULLCMD=:
meillo@36 5581 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
meillo@0 5582 # is contrary to our usage. Disable this feature.
meillo@0 5583 alias -g '${1+"$@"}'='"$@"'
meillo@1 5584 setopt NO_GLOB_SUBST
meillo@1 5585 else
meillo@36 5586 case `(set -o) 2>/dev/null` in #(
meillo@36 5587 *posix*) :
meillo@36 5588 set -o posix ;; #(
meillo@36 5589 *) :
meillo@36 5590 ;;
meillo@1 5591 esac
meillo@36 5592 fi
meillo@36 5593
meillo@36 5594
meillo@36 5595 as_nl='
meillo@36 5596 '
meillo@36 5597 export as_nl
meillo@36 5598 # Printing a long string crashes Solaris 7 /usr/bin/printf.
meillo@36 5599 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
meillo@36 5600 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
meillo@36 5601 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
meillo@36 5602 # Prefer a ksh shell builtin over an external printf program on Solaris,
meillo@36 5603 # but without wasting forks for bash or zsh.
meillo@36 5604 if test -z "$BASH_VERSION$ZSH_VERSION" \
meillo@36 5605 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
meillo@36 5606 as_echo='print -r --'
meillo@36 5607 as_echo_n='print -rn --'
meillo@36 5608 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
meillo@36 5609 as_echo='printf %s\n'
meillo@36 5610 as_echo_n='printf %s'
meillo@36 5611 else
meillo@36 5612 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
meillo@36 5613 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
meillo@36 5614 as_echo_n='/usr/ucb/echo -n'
meillo@36 5615 else
meillo@36 5616 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
meillo@36 5617 as_echo_n_body='eval
meillo@36 5618 arg=$1;
meillo@36 5619 case $arg in #(
meillo@36 5620 *"$as_nl"*)
meillo@36 5621 expr "X$arg" : "X\\(.*\\)$as_nl";
meillo@36 5622 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
meillo@36 5623 esac;
meillo@36 5624 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
meillo@36 5625 '
meillo@36 5626 export as_echo_n_body
meillo@36 5627 as_echo_n='sh -c $as_echo_n_body as_echo'
meillo@36 5628 fi
meillo@36 5629 export as_echo_body
meillo@36 5630 as_echo='sh -c $as_echo_body as_echo'
meillo@36 5631 fi
meillo@0 5632
meillo@0 5633 # The user is always right.
meillo@0 5634 if test "${PATH_SEPARATOR+set}" != set; then
meillo@36 5635 PATH_SEPARATOR=:
meillo@36 5636 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
meillo@36 5637 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
meillo@36 5638 PATH_SEPARATOR=';'
meillo@36 5639 }
meillo@1 5640 fi
meillo@1 5641
meillo@1 5642
meillo@1 5643 # IFS
meillo@1 5644 # We need space, tab and new line, in precisely that order. Quoting is
meillo@1 5645 # there to prevent editors from complaining about space-tab.
meillo@1 5646 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
meillo@1 5647 # splitting by setting IFS to empty value.)
meillo@1 5648 IFS=" "" $as_nl"
meillo@1 5649
meillo@1 5650 # Find who we are. Look in the path if we contain no directory separator.
meillo@36 5651 case $0 in #((
meillo@1 5652 *[\\/]* ) as_myself=$0 ;;
meillo@1 5653 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
meillo@0 5654 for as_dir in $PATH
meillo@0 5655 do
meillo@0 5656 IFS=$as_save_IFS
meillo@0 5657 test -z "$as_dir" && as_dir=.
meillo@36 5658 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
meillo@36 5659 done
meillo@1 5660 IFS=$as_save_IFS
meillo@1 5661
meillo@1 5662 ;;
meillo@1 5663 esac
meillo@1 5664 # We did not find ourselves, most probably we were run as `sh COMMAND'
meillo@1 5665 # in which case we are not to be found in the path.
meillo@1 5666 if test "x$as_myself" = x; then
meillo@1 5667 as_myself=$0
meillo@1 5668 fi
meillo@1 5669 if test ! -f "$as_myself"; then
meillo@36 5670 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
meillo@36 5671 exit 1
meillo@36 5672 fi
meillo@36 5673
meillo@36 5674 # Unset variables that we do not need and which cause bugs (e.g. in
meillo@36 5675 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
meillo@36 5676 # suppresses any "Segmentation fault" message there. '((' could
meillo@36 5677 # trigger a bug in pdksh 5.2.14.
meillo@36 5678 for as_var in BASH_ENV ENV MAIL MAILPATH
meillo@36 5679 do eval test x\${$as_var+set} = xset \
meillo@36 5680 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
meillo@1 5681 done
meillo@1 5682 PS1='$ '
meillo@1 5683 PS2='> '
meillo@1 5684 PS4='+ '
meillo@1 5685
meillo@1 5686 # NLS nuisances.
meillo@36 5687 LC_ALL=C
meillo@36 5688 export LC_ALL
meillo@36 5689 LANGUAGE=C
meillo@36 5690 export LANGUAGE
meillo@36 5691
meillo@36 5692 # CDPATH.
meillo@36 5693 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
meillo@36 5694
meillo@36 5695
meillo@296 5696 # as_fn_error STATUS ERROR [LINENO LOG_FD]
meillo@296 5697 # ----------------------------------------
meillo@36 5698 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
meillo@36 5699 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
meillo@296 5700 # script with STATUS, using 1 if that was 0.
meillo@36 5701 as_fn_error ()
meillo@36 5702 {
meillo@296 5703 as_status=$1; test $as_status -eq 0 && as_status=1
meillo@296 5704 if test "$4"; then
meillo@296 5705 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
meillo@296 5706 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
meillo@0 5707 fi
meillo@296 5708 $as_echo "$as_me: error: $2" >&2
meillo@36 5709 as_fn_exit $as_status
meillo@36 5710 } # as_fn_error
meillo@36 5711
meillo@36 5712
meillo@36 5713 # as_fn_set_status STATUS
meillo@36 5714 # -----------------------
meillo@36 5715 # Set $? to STATUS, without forking.
meillo@36 5716 as_fn_set_status ()
meillo@36 5717 {
meillo@36 5718 return $1
meillo@36 5719 } # as_fn_set_status
meillo@36 5720
meillo@36 5721 # as_fn_exit STATUS
meillo@36 5722 # -----------------
meillo@36 5723 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
meillo@36 5724 as_fn_exit ()
meillo@36 5725 {
meillo@36 5726 set +e
meillo@36 5727 as_fn_set_status $1
meillo@36 5728 exit $1
meillo@36 5729 } # as_fn_exit
meillo@36 5730
meillo@36 5731 # as_fn_unset VAR
meillo@36 5732 # ---------------
meillo@36 5733 # Portably unset VAR.
meillo@36 5734 as_fn_unset ()
meillo@36 5735 {
meillo@36 5736 { eval $1=; unset $1;}
meillo@36 5737 }
meillo@36 5738 as_unset=as_fn_unset
meillo@36 5739 # as_fn_append VAR VALUE
meillo@36 5740 # ----------------------
meillo@36 5741 # Append the text in VALUE to the end of the definition contained in VAR. Take
meillo@36 5742 # advantage of any shell optimizations that allow amortized linear growth over
meillo@36 5743 # repeated appends, instead of the typical quadratic growth present in naive
meillo@36 5744 # implementations.
meillo@36 5745 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
meillo@36 5746 eval 'as_fn_append ()
meillo@36 5747 {
meillo@36 5748 eval $1+=\$2
meillo@36 5749 }'
meillo@36 5750 else
meillo@36 5751 as_fn_append ()
meillo@36 5752 {
meillo@36 5753 eval $1=\$$1\$2
meillo@36 5754 }
meillo@36 5755 fi # as_fn_append
meillo@36 5756
meillo@36 5757 # as_fn_arith ARG...
meillo@36 5758 # ------------------
meillo@36 5759 # Perform arithmetic evaluation on the ARGs, and store the result in the
meillo@36 5760 # global $as_val. Take advantage of shells that can avoid forks. The arguments
meillo@36 5761 # must be portable across $(()) and expr.
meillo@36 5762 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
meillo@36 5763 eval 'as_fn_arith ()
meillo@36 5764 {
meillo@36 5765 as_val=$(( $* ))
meillo@36 5766 }'
meillo@36 5767 else
meillo@36 5768 as_fn_arith ()
meillo@36 5769 {
meillo@36 5770 as_val=`expr "$@" || test $? -eq 1`
meillo@36 5771 }
meillo@36 5772 fi # as_fn_arith
meillo@36 5773
meillo@36 5774
meillo@1 5775 if expr a : '\(a\)' >/dev/null 2>&1 &&
meillo@1 5776 test "X`expr 00001 : '.*\(...\)'`" = X001; then
meillo@1 5777 as_expr=expr
meillo@1 5778 else
meillo@1 5779 as_expr=false
meillo@1 5780 fi
meillo@1 5781
meillo@1 5782 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
meillo@1 5783 as_basename=basename
meillo@1 5784 else
meillo@1 5785 as_basename=false
meillo@1 5786 fi
meillo@1 5787
meillo@36 5788 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
meillo@36 5789 as_dirname=dirname
meillo@36 5790 else
meillo@36 5791 as_dirname=false
meillo@36 5792 fi
meillo@36 5793
meillo@1 5794 as_me=`$as_basename -- "$0" ||
meillo@1 5795 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
meillo@1 5796 X"$0" : 'X\(//\)$' \| \
meillo@1 5797 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
meillo@36 5798 $as_echo X/"$0" |
meillo@1 5799 sed '/^.*\/\([^/][^/]*\)\/*$/{
meillo@1 5800 s//\1/
meillo@1 5801 q
meillo@1 5802 }
meillo@1 5803 /^X\/\(\/\/\)$/{
meillo@1 5804 s//\1/
meillo@1 5805 q
meillo@1 5806 }
meillo@1 5807 /^X\/\(\/\).*/{
meillo@1 5808 s//\1/
meillo@1 5809 q
meillo@1 5810 }
meillo@1 5811 s/.*/./; q'`
meillo@1 5812
meillo@36 5813 # Avoid depending upon Character Ranges.
meillo@36 5814 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
meillo@36 5815 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
meillo@36 5816 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
meillo@36 5817 as_cr_digits='0123456789'
meillo@36 5818 as_cr_alnum=$as_cr_Letters$as_cr_digits
meillo@1 5819
meillo@1 5820 ECHO_C= ECHO_N= ECHO_T=
meillo@36 5821 case `echo -n x` in #(((((
meillo@1 5822 -n*)
meillo@36 5823 case `echo 'xy\c'` in
meillo@1 5824 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
meillo@36 5825 xy) ECHO_C='\c';;
meillo@36 5826 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
meillo@36 5827 ECHO_T=' ';;
meillo@1 5828 esac;;
meillo@1 5829 *)
meillo@1 5830 ECHO_N='-n';;
meillo@0 5831 esac
meillo@0 5832
meillo@0 5833 rm -f conf$$ conf$$.exe conf$$.file
meillo@1 5834 if test -d conf$$.dir; then
meillo@1 5835 rm -f conf$$.dir/conf$$.file
meillo@1 5836 else
meillo@1 5837 rm -f conf$$.dir
meillo@36 5838 mkdir conf$$.dir 2>/dev/null
meillo@36 5839 fi
meillo@36 5840 if (echo >conf$$.file) 2>/dev/null; then
meillo@36 5841 if ln -s conf$$.file conf$$ 2>/dev/null; then
meillo@36 5842 as_ln_s='ln -s'
meillo@36 5843 # ... but there are two gotchas:
meillo@36 5844 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
meillo@36 5845 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
meillo@36 5846 # In both cases, we have to default to `cp -p'.
meillo@36 5847 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
meillo@36 5848 as_ln_s='cp -p'
meillo@36 5849 elif ln conf$$.file conf$$ 2>/dev/null; then
meillo@36 5850 as_ln_s=ln
meillo@36 5851 else
meillo@0 5852 as_ln_s='cp -p'
meillo@36 5853 fi
meillo@0 5854 else
meillo@0 5855 as_ln_s='cp -p'
meillo@0 5856 fi
meillo@1 5857 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
meillo@1 5858 rmdir conf$$.dir 2>/dev/null
meillo@0 5859
meillo@36 5860
meillo@36 5861 # as_fn_mkdir_p
meillo@36 5862 # -------------
meillo@36 5863 # Create "$as_dir" as a directory, including parents if necessary.
meillo@36 5864 as_fn_mkdir_p ()
meillo@1 5865 {
meillo@36 5866
meillo@1 5867 case $as_dir in #(
meillo@1 5868 -*) as_dir=./$as_dir;;
meillo@1 5869 esac
meillo@36 5870 test -d "$as_dir" || eval $as_mkdir_p || {
meillo@0 5871 as_dirs=
meillo@1 5872 while :; do
meillo@1 5873 case $as_dir in #(
meillo@36 5874 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
meillo@1 5875 *) as_qdir=$as_dir;;
meillo@1 5876 esac
meillo@1 5877 as_dirs="'$as_qdir' $as_dirs"
meillo@1 5878 as_dir=`$as_dirname -- "$as_dir" ||
meillo@0 5879 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
meillo@0 5880 X"$as_dir" : 'X\(//\)[^/]' \| \
meillo@0 5881 X"$as_dir" : 'X\(//\)$' \| \
meillo@1 5882 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
meillo@36 5883 $as_echo X"$as_dir" |
meillo@1 5884 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
meillo@1 5885 s//\1/
meillo@1 5886 q
meillo@1 5887 }
meillo@1 5888 /^X\(\/\/\)[^/].*/{
meillo@1 5889 s//\1/
meillo@1 5890 q
meillo@1 5891 }
meillo@1 5892 /^X\(\/\/\)$/{
meillo@1 5893 s//\1/
meillo@1 5894 q
meillo@1 5895 }
meillo@1 5896 /^X\(\/\).*/{
meillo@1 5897 s//\1/
meillo@1 5898 q
meillo@1 5899 }
meillo@1 5900 s/.*/./; q'`
meillo@1 5901 test -d "$as_dir" && break
meillo@0 5902 done
meillo@1 5903 test -z "$as_dirs" || eval "mkdir $as_dirs"
meillo@296 5904 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
meillo@36 5905
meillo@36 5906
meillo@36 5907 } # as_fn_mkdir_p
meillo@36 5908 if mkdir -p . 2>/dev/null; then
meillo@36 5909 as_mkdir_p='mkdir -p "$as_dir"'
meillo@36 5910 else
meillo@36 5911 test -d ./-p && rmdir ./-p
meillo@36 5912 as_mkdir_p=false
meillo@36 5913 fi
meillo@36 5914
meillo@36 5915 if test -x / >/dev/null 2>&1; then
meillo@36 5916 as_test_x='test -x'
meillo@36 5917 else
meillo@36 5918 if ls -dL / >/dev/null 2>&1; then
meillo@36 5919 as_ls_L_option=L
meillo@36 5920 else
meillo@36 5921 as_ls_L_option=
meillo@36 5922 fi
meillo@36 5923 as_test_x='
meillo@36 5924 eval sh -c '\''
meillo@36 5925 if test -d "$1"; then
meillo@36 5926 test -d "$1/.";
meillo@36 5927 else
meillo@36 5928 case $1 in #(
meillo@36 5929 -*)set "./$1";;
meillo@36 5930 esac;
meillo@36 5931 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
meillo@36 5932 ???[sx]*):;;*)false;;esac;fi
meillo@36 5933 '\'' sh
meillo@36 5934 '
meillo@36 5935 fi
meillo@36 5936 as_executable_p=$as_test_x
meillo@36 5937
meillo@36 5938 # Sed expression to map a string onto a valid CPP name.
meillo@36 5939 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
meillo@36 5940
meillo@36 5941 # Sed expression to map a string onto a valid variable name.
meillo@36 5942 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
meillo@36 5943
meillo@36 5944
meillo@36 5945 exec 6>&1
meillo@36 5946 ## ----------------------------------- ##
meillo@36 5947 ## Main body of $CONFIG_STATUS script. ##
meillo@36 5948 ## ----------------------------------- ##
meillo@36 5949 _ASEOF
meillo@36 5950 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
meillo@36 5951
meillo@36 5952 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
meillo@36 5953 # Save the log message, to keep $0 and so on meaningful, and to
meillo@36 5954 # report actual input values of CONFIG_FILES etc. instead of their
meillo@36 5955 # values after options handling.
meillo@36 5956 ac_log="
meillo@296 5957 This file was extended by masqmail $as_me 0.3.2-dev, which was
meillo@296 5958 generated by GNU Autoconf 2.67. Invocation command line was
meillo@36 5959
meillo@36 5960 CONFIG_FILES = $CONFIG_FILES
meillo@36 5961 CONFIG_HEADERS = $CONFIG_HEADERS
meillo@36 5962 CONFIG_LINKS = $CONFIG_LINKS
meillo@36 5963 CONFIG_COMMANDS = $CONFIG_COMMANDS
meillo@36 5964 $ $0 $@
meillo@36 5965
meillo@36 5966 on `(hostname || uname -n) 2>/dev/null | sed 1q`
meillo@36 5967 "
meillo@36 5968
meillo@36 5969 _ACEOF
meillo@36 5970
meillo@36 5971 case $ac_config_files in *"
meillo@36 5972 "*) set x $ac_config_files; shift; ac_config_files=$*;;
meillo@36 5973 esac
meillo@36 5974
meillo@36 5975 case $ac_config_headers in *"
meillo@36 5976 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
meillo@36 5977 esac
meillo@36 5978
meillo@36 5979
meillo@36 5980 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
meillo@36 5981 # Files that config.status was made for.
meillo@36 5982 config_files="$ac_config_files"
meillo@36 5983 config_headers="$ac_config_headers"
meillo@36 5984 config_commands="$ac_config_commands"
meillo@36 5985
meillo@36 5986 _ACEOF
meillo@36 5987
meillo@36 5988 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
meillo@36 5989 ac_cs_usage="\
meillo@36 5990 \`$as_me' instantiates files and other configuration actions
meillo@36 5991 from templates according to the current configuration. Unless the files
meillo@36 5992 and actions are specified as TAGs, all are instantiated by default.
meillo@36 5993
meillo@36 5994 Usage: $0 [OPTION]... [TAG]...
meillo@36 5995
meillo@36 5996 -h, --help print this help, then exit
meillo@36 5997 -V, --version print version number and configuration settings, then exit
meillo@36 5998 --config print configuration, then exit
meillo@36 5999 -q, --quiet, --silent
meillo@36 6000 do not print progress messages
meillo@36 6001 -d, --debug don't remove temporary files
meillo@36 6002 --recheck update $as_me by reconfiguring in the same conditions
meillo@36 6003 --file=FILE[:TEMPLATE]
meillo@36 6004 instantiate the configuration file FILE
meillo@36 6005 --header=FILE[:TEMPLATE]
meillo@36 6006 instantiate the configuration header FILE
meillo@36 6007
meillo@36 6008 Configuration files:
meillo@36 6009 $config_files
meillo@36 6010
meillo@36 6011 Configuration headers:
meillo@36 6012 $config_headers
meillo@36 6013
meillo@36 6014 Configuration commands:
meillo@36 6015 $config_commands
meillo@36 6016
meillo@36 6017 Report bugs to <meillo@marmaro.de>."
meillo@36 6018
meillo@36 6019 _ACEOF
meillo@36 6020 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
meillo@36 6021 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
meillo@36 6022 ac_cs_version="\\
meillo@296 6023 masqmail config.status 0.3.2-dev
meillo@296 6024 configured by $0, generated by GNU Autoconf 2.67,
meillo@36 6025 with options \\"\$ac_cs_config\\"
meillo@36 6026
meillo@296 6027 Copyright (C) 2010 Free Software Foundation, Inc.
meillo@36 6028 This config.status script is free software; the Free Software Foundation
meillo@36 6029 gives unlimited permission to copy, distribute and modify it."
meillo@36 6030
meillo@36 6031 ac_pwd='$ac_pwd'
meillo@36 6032 srcdir='$srcdir'
meillo@36 6033 INSTALL='$INSTALL'
meillo@36 6034 MKDIR_P='$MKDIR_P'
meillo@36 6035 AWK='$AWK'
meillo@36 6036 test -n "\$AWK" || AWK=awk
meillo@36 6037 _ACEOF
meillo@36 6038
meillo@36 6039 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
meillo@36 6040 # The default lists apply if the user does not specify any file.
meillo@36 6041 ac_need_defaults=:
meillo@36 6042 while test $# != 0
meillo@36 6043 do
meillo@36 6044 case $1 in
meillo@296 6045 --*=?*)
meillo@36 6046 ac_option=`expr "X$1" : 'X\([^=]*\)='`
meillo@36 6047 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
meillo@36 6048 ac_shift=:
meillo@36 6049 ;;
meillo@296 6050 --*=)
meillo@296 6051 ac_option=`expr "X$1" : 'X\([^=]*\)='`
meillo@296 6052 ac_optarg=
meillo@296 6053 ac_shift=:
meillo@296 6054 ;;
meillo@36 6055 *)
meillo@36 6056 ac_option=$1
meillo@36 6057 ac_optarg=$2
meillo@36 6058 ac_shift=shift
meillo@36 6059 ;;
meillo@36 6060 esac
meillo@36 6061
meillo@36 6062 case $ac_option in
meillo@36 6063 # Handling of the options.
meillo@36 6064 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
meillo@36 6065 ac_cs_recheck=: ;;
meillo@36 6066 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
meillo@36 6067 $as_echo "$ac_cs_version"; exit ;;
meillo@36 6068 --config | --confi | --conf | --con | --co | --c )
meillo@36 6069 $as_echo "$ac_cs_config"; exit ;;
meillo@36 6070 --debug | --debu | --deb | --de | --d | -d )
meillo@36 6071 debug=: ;;
meillo@36 6072 --file | --fil | --fi | --f )
meillo@36 6073 $ac_shift
meillo@36 6074 case $ac_optarg in
meillo@36 6075 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
meillo@296 6076 '') as_fn_error $? "missing file argument" ;;
meillo@36 6077 esac
meillo@36 6078 as_fn_append CONFIG_FILES " '$ac_optarg'"
meillo@36 6079 ac_need_defaults=false;;
meillo@36 6080 --header | --heade | --head | --hea )
meillo@36 6081 $ac_shift
meillo@36 6082 case $ac_optarg in
meillo@36 6083 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
meillo@36 6084 esac
meillo@36 6085 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
meillo@36 6086 ac_need_defaults=false;;
meillo@36 6087 --he | --h)
meillo@36 6088 # Conflict between --help and --header
meillo@296 6089 as_fn_error $? "ambiguous option: \`$1'
meillo@36 6090 Try \`$0 --help' for more information.";;
meillo@36 6091 --help | --hel | -h )
meillo@36 6092 $as_echo "$ac_cs_usage"; exit ;;
meillo@36 6093 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
meillo@36 6094 | -silent | --silent | --silen | --sile | --sil | --si | --s)
meillo@36 6095 ac_cs_silent=: ;;
meillo@36 6096
meillo@36 6097 # This is an error.
meillo@296 6098 -*) as_fn_error $? "unrecognized option: \`$1'
meillo@36 6099 Try \`$0 --help' for more information." ;;
meillo@36 6100
meillo@36 6101 *) as_fn_append ac_config_targets " $1"
meillo@36 6102 ac_need_defaults=false ;;
meillo@36 6103
meillo@36 6104 esac
meillo@36 6105 shift
meillo@36 6106 done
meillo@36 6107
meillo@36 6108 ac_configure_extra_args=
meillo@36 6109
meillo@36 6110 if $ac_cs_silent; then
meillo@36 6111 exec 6>/dev/null
meillo@36 6112 ac_configure_extra_args="$ac_configure_extra_args --silent"
meillo@36 6113 fi
meillo@36 6114
meillo@36 6115 _ACEOF
meillo@36 6116 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
meillo@36 6117 if \$ac_cs_recheck; then
meillo@36 6118 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
meillo@36 6119 shift
meillo@36 6120 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
meillo@36 6121 CONFIG_SHELL='$SHELL'
meillo@36 6122 export CONFIG_SHELL
meillo@36 6123 exec "\$@"
meillo@36 6124 fi
meillo@36 6125
meillo@36 6126 _ACEOF
meillo@36 6127 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
meillo@36 6128 exec 5>>config.log
meillo@36 6129 {
meillo@36 6130 echo
meillo@36 6131 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
meillo@36 6132 ## Running $as_me. ##
meillo@36 6133 _ASBOX
meillo@36 6134 $as_echo "$ac_log"
meillo@36 6135 } >&5
meillo@36 6136
meillo@36 6137 _ACEOF
meillo@36 6138 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
meillo@36 6139 #
meillo@36 6140 # INIT-COMMANDS
meillo@36 6141 #
meillo@36 6142 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
meillo@36 6143
meillo@36 6144 _ACEOF
meillo@36 6145
meillo@36 6146 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
meillo@36 6147
meillo@36 6148 # Handling of arguments.
meillo@36 6149 for ac_config_target in $ac_config_targets
meillo@36 6150 do
meillo@36 6151 case $ac_config_target in
meillo@36 6152 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
meillo@36 6153 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
meillo@36 6154 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
meillo@36 6155 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
meillo@36 6156 "src/base64/Makefile") CONFIG_FILES="$CONFIG_FILES src/base64/Makefile" ;;
meillo@36 6157 "src/md5/Makefile") CONFIG_FILES="$CONFIG_FILES src/md5/Makefile" ;;
meillo@36 6158 "src/libident/Makefile") CONFIG_FILES="$CONFIG_FILES src/libident/Makefile" ;;
meillo@57 6159 "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
meillo@36 6160
meillo@296 6161 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
meillo@36 6162 esac
meillo@36 6163 done
meillo@36 6164
meillo@36 6165
meillo@36 6166 # If the user did not use the arguments to specify the items to instantiate,
meillo@36 6167 # then the envvar interface is used. Set only those that are not.
meillo@36 6168 # We use the long form for the default assignment because of an extremely
meillo@36 6169 # bizarre bug on SunOS 4.1.3.
meillo@36 6170 if $ac_need_defaults; then
meillo@36 6171 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
meillo@36 6172 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
meillo@36 6173 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
meillo@36 6174 fi
meillo@36 6175
meillo@36 6176 # Have a temporary directory for convenience. Make it in the build tree
meillo@36 6177 # simply because there is no reason against having it here, and in addition,
meillo@36 6178 # creating and moving files from /tmp can sometimes cause problems.
meillo@36 6179 # Hook for its removal unless debugging.
meillo@36 6180 # Note that there is a small window in which the directory will not be cleaned:
meillo@36 6181 # after its creation but before its name has been assigned to `$tmp'.
meillo@36 6182 $debug ||
meillo@36 6183 {
meillo@36 6184 tmp=
meillo@36 6185 trap 'exit_status=$?
meillo@36 6186 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
meillo@36 6187 ' 0
meillo@36 6188 trap 'as_fn_exit 1' 1 2 13 15
meillo@36 6189 }
meillo@36 6190 # Create a (secure) tmp directory for tmp files.
meillo@36 6191
meillo@36 6192 {
meillo@36 6193 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
meillo@36 6194 test -n "$tmp" && test -d "$tmp"
meillo@36 6195 } ||
meillo@36 6196 {
meillo@36 6197 tmp=./conf$$-$RANDOM
meillo@36 6198 (umask 077 && mkdir "$tmp")
meillo@296 6199 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
meillo@36 6200
meillo@36 6201 # Set up the scripts for CONFIG_FILES section.
meillo@36 6202 # No need to generate them if there are no CONFIG_FILES.
meillo@36 6203 # This happens for instance with `./config.status config.h'.
meillo@36 6204 if test -n "$CONFIG_FILES"; then
meillo@36 6205
meillo@36 6206
meillo@36 6207 ac_cr=`echo X | tr X '\015'`
meillo@36 6208 # On cygwin, bash can eat \r inside `` if the user requested igncr.
meillo@36 6209 # But we know of no other shell where ac_cr would be empty at this
meillo@36 6210 # point, so we can use a bashism as a fallback.
meillo@36 6211 if test "x$ac_cr" = x; then
meillo@36 6212 eval ac_cr=\$\'\\r\'
meillo@36 6213 fi
meillo@36 6214 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
meillo@36 6215 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
meillo@296 6216 ac_cs_awk_cr='\\r'
meillo@36 6217 else
meillo@36 6218 ac_cs_awk_cr=$ac_cr
meillo@36 6219 fi
meillo@36 6220
meillo@36 6221 echo 'BEGIN {' >"$tmp/subs1.awk" &&
meillo@36 6222 _ACEOF
meillo@36 6223
meillo@36 6224
meillo@36 6225 {
meillo@36 6226 echo "cat >conf$$subs.awk <<_ACEOF" &&
meillo@36 6227 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
meillo@36 6228 echo "_ACEOF"
meillo@36 6229 } >conf$$subs.sh ||
meillo@296 6230 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
meillo@296 6231 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
meillo@36 6232 ac_delim='%!_!# '
meillo@36 6233 for ac_last_try in false false false false false :; do
meillo@36 6234 . ./conf$$subs.sh ||
meillo@296 6235 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
meillo@36 6236
meillo@36 6237 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
meillo@36 6238 if test $ac_delim_n = $ac_delim_num; then
meillo@36 6239 break
meillo@36 6240 elif $ac_last_try; then
meillo@296 6241 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
meillo@36 6242 else
meillo@36 6243 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
meillo@36 6244 fi
meillo@36 6245 done
meillo@36 6246 rm -f conf$$subs.sh
meillo@36 6247
meillo@36 6248 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
meillo@36 6249 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
meillo@36 6250 _ACEOF
meillo@36 6251 sed -n '
meillo@36 6252 h
meillo@36 6253 s/^/S["/; s/!.*/"]=/
meillo@36 6254 p
meillo@36 6255 g
meillo@36 6256 s/^[^!]*!//
meillo@36 6257 :repl
meillo@36 6258 t repl
meillo@36 6259 s/'"$ac_delim"'$//
meillo@36 6260 t delim
meillo@36 6261 :nl
meillo@36 6262 h
meillo@36 6263 s/\(.\{148\}\)..*/\1/
meillo@36 6264 t more1
meillo@36 6265 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
meillo@36 6266 p
meillo@36 6267 n
meillo@36 6268 b repl
meillo@36 6269 :more1
meillo@36 6270 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
meillo@36 6271 p
meillo@36 6272 g
meillo@36 6273 s/.\{148\}//
meillo@36 6274 t nl
meillo@36 6275 :delim
meillo@36 6276 h
meillo@36 6277 s/\(.\{148\}\)..*/\1/
meillo@36 6278 t more2
meillo@36 6279 s/["\\]/\\&/g; s/^/"/; s/$/"/
meillo@36 6280 p
meillo@36 6281 b
meillo@36 6282 :more2
meillo@36 6283 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
meillo@36 6284 p
meillo@36 6285 g
meillo@36 6286 s/.\{148\}//
meillo@36 6287 t delim
meillo@36 6288 ' <conf$$subs.awk | sed '
meillo@36 6289 /^[^""]/{
meillo@36 6290 N
meillo@36 6291 s/\n//
meillo@36 6292 }
meillo@36 6293 ' >>$CONFIG_STATUS || ac_write_fail=1
meillo@36 6294 rm -f conf$$subs.awk
meillo@36 6295 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
meillo@36 6296 _ACAWK
meillo@36 6297 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
meillo@36 6298 for (key in S) S_is_set[key] = 1
meillo@36 6299 FS = ""
meillo@36 6300
meillo@36 6301 }
meillo@36 6302 {
meillo@36 6303 line = $ 0
meillo@36 6304 nfields = split(line, field, "@")
meillo@36 6305 substed = 0
meillo@36 6306 len = length(field[1])
meillo@36 6307 for (i = 2; i < nfields; i++) {
meillo@36 6308 key = field[i]
meillo@36 6309 keylen = length(key)
meillo@36 6310 if (S_is_set[key]) {
meillo@36 6311 value = S[key]
meillo@36 6312 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
meillo@36 6313 len += length(value) + length(field[++i])
meillo@36 6314 substed = 1
meillo@36 6315 } else
meillo@36 6316 len += 1 + keylen
meillo@36 6317 }
meillo@36 6318
meillo@36 6319 print line
meillo@36 6320 }
meillo@36 6321
meillo@36 6322 _ACAWK
meillo@36 6323 _ACEOF
meillo@36 6324 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
meillo@36 6325 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
meillo@36 6326 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
meillo@36 6327 else
meillo@36 6328 cat
meillo@36 6329 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
meillo@296 6330 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
meillo@36 6331 _ACEOF
meillo@36 6332
meillo@296 6333 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
meillo@296 6334 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
meillo@36 6335 # trailing colons and then remove the whole line if VPATH becomes empty
meillo@36 6336 # (actually we leave an empty line to preserve line numbers).
meillo@36 6337 if test "x$srcdir" = x.; then
meillo@296 6338 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
meillo@296 6339 h
meillo@296 6340 s///
meillo@296 6341 s/^/:/
meillo@296 6342 s/[ ]*$/:/
meillo@296 6343 s/:\$(srcdir):/:/g
meillo@296 6344 s/:\${srcdir}:/:/g
meillo@296 6345 s/:@srcdir@:/:/g
meillo@296 6346 s/^:*//
meillo@36 6347 s/:*$//
meillo@296 6348 x
meillo@296 6349 s/\(=[ ]*\).*/\1/
meillo@296 6350 G
meillo@296 6351 s/\n//
meillo@36 6352 s/^[^=]*=[ ]*$//
meillo@36 6353 }'
meillo@36 6354 fi
meillo@36 6355
meillo@36 6356 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
meillo@36 6357 fi # test -n "$CONFIG_FILES"
meillo@36 6358
meillo@36 6359 # Set up the scripts for CONFIG_HEADERS section.
meillo@36 6360 # No need to generate them if there are no CONFIG_HEADERS.
meillo@36 6361 # This happens for instance with `./config.status Makefile'.
meillo@36 6362 if test -n "$CONFIG_HEADERS"; then
meillo@36 6363 cat >"$tmp/defines.awk" <<\_ACAWK ||
meillo@36 6364 BEGIN {
meillo@36 6365 _ACEOF
meillo@36 6366
meillo@36 6367 # Transform confdefs.h into an awk script `defines.awk', embedded as
meillo@36 6368 # here-document in config.status, that substitutes the proper values into
meillo@36 6369 # config.h.in to produce config.h.
meillo@36 6370
meillo@36 6371 # Create a delimiter string that does not exist in confdefs.h, to ease
meillo@36 6372 # handling of long lines.
meillo@36 6373 ac_delim='%!_!# '
meillo@36 6374 for ac_last_try in false false :; do
meillo@36 6375 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
meillo@36 6376 if test -z "$ac_t"; then
meillo@36 6377 break
meillo@36 6378 elif $ac_last_try; then
meillo@296 6379 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
meillo@36 6380 else
meillo@36 6381 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
meillo@36 6382 fi
meillo@36 6383 done
meillo@36 6384
meillo@36 6385 # For the awk script, D is an array of macro values keyed by name,
meillo@36 6386 # likewise P contains macro parameters if any. Preserve backslash
meillo@36 6387 # newline sequences.
meillo@36 6388
meillo@36 6389 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
meillo@36 6390 sed -n '
meillo@36 6391 s/.\{148\}/&'"$ac_delim"'/g
meillo@36 6392 t rset
meillo@36 6393 :rset
meillo@36 6394 s/^[ ]*#[ ]*define[ ][ ]*/ /
meillo@36 6395 t def
meillo@36 6396 d
meillo@36 6397 :def
meillo@36 6398 s/\\$//
meillo@36 6399 t bsnl
meillo@36 6400 s/["\\]/\\&/g
meillo@36 6401 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
meillo@36 6402 D["\1"]=" \3"/p
meillo@36 6403 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
meillo@36 6404 d
meillo@36 6405 :bsnl
meillo@36 6406 s/["\\]/\\&/g
meillo@36 6407 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
meillo@36 6408 D["\1"]=" \3\\\\\\n"\\/p
meillo@36 6409 t cont
meillo@36 6410 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
meillo@36 6411 t cont
meillo@36 6412 d
meillo@36 6413 :cont
meillo@36 6414 n
meillo@36 6415 s/.\{148\}/&'"$ac_delim"'/g
meillo@36 6416 t clear
meillo@36 6417 :clear
meillo@36 6418 s/\\$//
meillo@36 6419 t bsnlc
meillo@36 6420 s/["\\]/\\&/g; s/^/"/; s/$/"/p
meillo@36 6421 d
meillo@36 6422 :bsnlc
meillo@36 6423 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
meillo@36 6424 b cont
meillo@36 6425 ' <confdefs.h | sed '
meillo@36 6426 s/'"$ac_delim"'/"\\\
meillo@36 6427 "/g' >>$CONFIG_STATUS || ac_write_fail=1
meillo@36 6428
meillo@36 6429 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
meillo@36 6430 for (key in D) D_is_set[key] = 1
meillo@36 6431 FS = ""
meillo@36 6432 }
meillo@36 6433 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
meillo@36 6434 line = \$ 0
meillo@36 6435 split(line, arg, " ")
meillo@36 6436 if (arg[1] == "#") {
meillo@36 6437 defundef = arg[2]
meillo@36 6438 mac1 = arg[3]
meillo@36 6439 } else {
meillo@36 6440 defundef = substr(arg[1], 2)
meillo@36 6441 mac1 = arg[2]
meillo@36 6442 }
meillo@36 6443 split(mac1, mac2, "(") #)
meillo@36 6444 macro = mac2[1]
meillo@36 6445 prefix = substr(line, 1, index(line, defundef) - 1)
meillo@36 6446 if (D_is_set[macro]) {
meillo@36 6447 # Preserve the white space surrounding the "#".
meillo@36 6448 print prefix "define", macro P[macro] D[macro]
meillo@36 6449 next
meillo@36 6450 } else {
meillo@36 6451 # Replace #undef with comments. This is necessary, for example,
meillo@36 6452 # in the case of _POSIX_SOURCE, which is predefined and required
meillo@36 6453 # on some systems where configure will not decide to define it.
meillo@36 6454 if (defundef == "undef") {
meillo@36 6455 print "/*", prefix defundef, macro, "*/"
meillo@36 6456 next
meillo@36 6457 }
meillo@36 6458 }
meillo@36 6459 }
meillo@36 6460 { print }
meillo@36 6461 _ACAWK
meillo@36 6462 _ACEOF
meillo@36 6463 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
meillo@296 6464 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
meillo@36 6465 fi # test -n "$CONFIG_HEADERS"
meillo@36 6466
meillo@36 6467
meillo@36 6468 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
meillo@36 6469 shift
meillo@36 6470 for ac_tag
meillo@36 6471 do
meillo@36 6472 case $ac_tag in
meillo@36 6473 :[FHLC]) ac_mode=$ac_tag; continue;;
meillo@36 6474 esac
meillo@36 6475 case $ac_mode$ac_tag in
meillo@36 6476 :[FHL]*:*);;
meillo@296 6477 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
meillo@36 6478 :[FH]-) ac_tag=-:-;;
meillo@36 6479 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
meillo@36 6480 esac
meillo@36 6481 ac_save_IFS=$IFS
meillo@36 6482 IFS=:
meillo@36 6483 set x $ac_tag
meillo@36 6484 IFS=$ac_save_IFS
meillo@36 6485 shift
meillo@36 6486 ac_file=$1
meillo@36 6487 shift
meillo@36 6488
meillo@36 6489 case $ac_mode in
meillo@36 6490 :L) ac_source=$1;;
meillo@36 6491 :[FH])
meillo@36 6492 ac_file_inputs=
meillo@36 6493 for ac_f
meillo@36 6494 do
meillo@36 6495 case $ac_f in
meillo@36 6496 -) ac_f="$tmp/stdin";;
meillo@36 6497 *) # Look for the file first in the build tree, then in the source tree
meillo@36 6498 # (if the path is not absolute). The absolute path cannot be DOS-style,
meillo@36 6499 # because $ac_f cannot contain `:'.
meillo@36 6500 test -f "$ac_f" ||
meillo@36 6501 case $ac_f in
meillo@36 6502 [\\/$]*) false;;
meillo@36 6503 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
meillo@36 6504 esac ||
meillo@296 6505 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
meillo@36 6506 esac
meillo@36 6507 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
meillo@36 6508 as_fn_append ac_file_inputs " '$ac_f'"
meillo@36 6509 done
meillo@36 6510
meillo@36 6511 # Let's still pretend it is `configure' which instantiates (i.e., don't
meillo@36 6512 # use $as_me), people would be surprised to read:
meillo@36 6513 # /* config.h. Generated by config.status. */
meillo@36 6514 configure_input='Generated from '`
meillo@36 6515 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
meillo@36 6516 `' by configure.'
meillo@36 6517 if test x"$ac_file" != x-; then
meillo@36 6518 configure_input="$ac_file. $configure_input"
meillo@36 6519 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
meillo@36 6520 $as_echo "$as_me: creating $ac_file" >&6;}
meillo@36 6521 fi
meillo@36 6522 # Neutralize special characters interpreted by sed in replacement strings.
meillo@36 6523 case $configure_input in #(
meillo@36 6524 *\&* | *\|* | *\\* )
meillo@36 6525 ac_sed_conf_input=`$as_echo "$configure_input" |
meillo@36 6526 sed 's/[\\\\&|]/\\\\&/g'`;; #(
meillo@36 6527 *) ac_sed_conf_input=$configure_input;;
meillo@36 6528 esac
meillo@36 6529
meillo@36 6530 case $ac_tag in
meillo@36 6531 *:-:* | *:-) cat >"$tmp/stdin" \
meillo@296 6532 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
meillo@36 6533 esac
meillo@36 6534 ;;
meillo@36 6535 esac
meillo@36 6536
meillo@36 6537 ac_dir=`$as_dirname -- "$ac_file" ||
meillo@36 6538 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
meillo@36 6539 X"$ac_file" : 'X\(//\)[^/]' \| \
meillo@36 6540 X"$ac_file" : 'X\(//\)$' \| \
meillo@36 6541 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
meillo@36 6542 $as_echo X"$ac_file" |
meillo@36 6543 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
meillo@36 6544 s//\1/
meillo@36 6545 q
meillo@36 6546 }
meillo@36 6547 /^X\(\/\/\)[^/].*/{
meillo@36 6548 s//\1/
meillo@36 6549 q
meillo@36 6550 }
meillo@36 6551 /^X\(\/\/\)$/{
meillo@36 6552 s//\1/
meillo@36 6553 q
meillo@36 6554 }
meillo@36 6555 /^X\(\/\).*/{
meillo@36 6556 s//\1/
meillo@36 6557 q
meillo@36 6558 }
meillo@36 6559 s/.*/./; q'`
meillo@36 6560 as_dir="$ac_dir"; as_fn_mkdir_p
meillo@0 6561 ac_builddir=.
meillo@0 6562
meillo@1 6563 case "$ac_dir" in
meillo@1 6564 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
meillo@1 6565 *)
meillo@36 6566 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
meillo@1 6567 # A ".." for each directory in $ac_dir_suffix.
meillo@36 6568 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
meillo@1 6569 case $ac_top_builddir_sub in
meillo@1 6570 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
meillo@1 6571 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
meillo@1 6572 esac ;;
meillo@1 6573 esac
meillo@1 6574 ac_abs_top_builddir=$ac_pwd
meillo@1 6575 ac_abs_builddir=$ac_pwd$ac_dir_suffix
meillo@1 6576 # for backward compatibility:
meillo@1 6577 ac_top_builddir=$ac_top_build_prefix
meillo@0 6578
meillo@0 6579 case $srcdir in
meillo@1 6580 .) # We are building in place.
meillo@0 6581 ac_srcdir=.
meillo@1 6582 ac_top_srcdir=$ac_top_builddir_sub
meillo@1 6583 ac_abs_top_srcdir=$ac_pwd ;;
meillo@1 6584 [\\/]* | ?:[\\/]* ) # Absolute name.
meillo@0 6585 ac_srcdir=$srcdir$ac_dir_suffix;
meillo@1 6586 ac_top_srcdir=$srcdir
meillo@1 6587 ac_abs_top_srcdir=$srcdir ;;
meillo@1 6588 *) # Relative name.
meillo@1 6589 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
meillo@1 6590 ac_top_srcdir=$ac_top_build_prefix$srcdir
meillo@1 6591 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
meillo@0 6592 esac
meillo@1 6593 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
meillo@1 6594
meillo@1 6595
meillo@1 6596 case $ac_mode in
meillo@1 6597 :F)
meillo@1 6598 #
meillo@1 6599 # CONFIG_FILE
meillo@1 6600 #
meillo@0 6601
meillo@0 6602 case $INSTALL in
meillo@0 6603 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
meillo@1 6604 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
meillo@0 6605 esac
meillo@36 6606 ac_MKDIR_P=$MKDIR_P
meillo@36 6607 case $MKDIR_P in
meillo@36 6608 [\\/$]* | ?:[\\/]* ) ;;
meillo@36 6609 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
meillo@36 6610 esac
meillo@1 6611 _ACEOF
meillo@1 6612
meillo@36 6613 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
meillo@1 6614 # If the template does not know about datarootdir, expand it.
meillo@1 6615 # FIXME: This hack should be removed a few years after 2.60.
meillo@1 6616 ac_datarootdir_hack=; ac_datarootdir_seen=
meillo@36 6617 ac_sed_dataroot='
meillo@36 6618 /datarootdir/ {
meillo@1 6619 p
meillo@1 6620 q
meillo@1 6621 }
meillo@1 6622 /@datadir@/p
meillo@1 6623 /@docdir@/p
meillo@1 6624 /@infodir@/p
meillo@1 6625 /@localedir@/p
meillo@36 6626 /@mandir@/p'
meillo@36 6627 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
meillo@1 6628 *datarootdir*) ac_datarootdir_seen=yes;;
meillo@1 6629 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
meillo@36 6630 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
meillo@36 6631 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
meillo@1 6632 _ACEOF
meillo@36 6633 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
meillo@1 6634 ac_datarootdir_hack='
meillo@1 6635 s&@datadir@&$datadir&g
meillo@1 6636 s&@docdir@&$docdir&g
meillo@1 6637 s&@infodir@&$infodir&g
meillo@1 6638 s&@localedir@&$localedir&g
meillo@1 6639 s&@mandir@&$mandir&g
meillo@36 6640 s&\\\${datarootdir}&$datarootdir&g' ;;
meillo@1 6641 esac
meillo@1 6642 _ACEOF
meillo@1 6643
meillo@1 6644 # Neutralize VPATH when `$srcdir' = `.'.
meillo@1 6645 # Shell code in configure.ac might set extrasub.
meillo@1 6646 # FIXME: do we really want to maintain this feature?
meillo@36 6647 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
meillo@36 6648 ac_sed_extra="$ac_vpsub
meillo@0 6649 $extrasub
meillo@0 6650 _ACEOF
meillo@36 6651 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
meillo@0 6652 :t
meillo@0 6653 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
meillo@36 6654 s|@configure_input@|$ac_sed_conf_input|;t t
meillo@1 6655 s&@top_builddir@&$ac_top_builddir_sub&;t t
meillo@36 6656 s&@top_build_prefix@&$ac_top_build_prefix&;t t
meillo@1 6657 s&@srcdir@&$ac_srcdir&;t t
meillo@1 6658 s&@abs_srcdir@&$ac_abs_srcdir&;t t
meillo@1 6659 s&@top_srcdir@&$ac_top_srcdir&;t t
meillo@1 6660 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
meillo@1 6661 s&@builddir@&$ac_builddir&;t t
meillo@1 6662 s&@abs_builddir@&$ac_abs_builddir&;t t
meillo@1 6663 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
meillo@1 6664 s&@INSTALL@&$ac_INSTALL&;t t
meillo@36 6665 s&@MKDIR_P@&$ac_MKDIR_P&;t t
meillo@1 6666 $ac_datarootdir_hack
meillo@36 6667 "
meillo@36 6668 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
meillo@296 6669 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
meillo@1 6670
meillo@1 6671 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
meillo@1 6672 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
meillo@1 6673 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
meillo@36 6674 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
meillo@296 6675 which seems to be undefined. Please make sure it is defined" >&5
meillo@36 6676 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
meillo@296 6677 which seems to be undefined. Please make sure it is defined" >&2;}
meillo@1 6678
meillo@1 6679 rm -f "$tmp/stdin"
meillo@1 6680 case $ac_file in
meillo@36 6681 -) cat "$tmp/out" && rm -f "$tmp/out";;
meillo@36 6682 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
meillo@36 6683 esac \
meillo@296 6684 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
meillo@1 6685 ;;
meillo@1 6686 :H)
meillo@1 6687 #
meillo@1 6688 # CONFIG_HEADER
meillo@1 6689 #
meillo@0 6690 if test x"$ac_file" != x-; then
meillo@36 6691 {
meillo@36 6692 $as_echo "/* $configure_input */" \
meillo@36 6693 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
meillo@36 6694 } >"$tmp/config.h" \
meillo@296 6695 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
meillo@36 6696 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
meillo@36 6697 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
meillo@36 6698 $as_echo "$as_me: $ac_file is unchanged" >&6;}
meillo@0 6699 else
meillo@36 6700 rm -f "$ac_file"
meillo@36 6701 mv "$tmp/config.h" "$ac_file" \
meillo@296 6702 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
meillo@0 6703 fi
meillo@0 6704 else
meillo@36 6705 $as_echo "/* $configure_input */" \
meillo@36 6706 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
meillo@296 6707 || as_fn_error $? "could not create -" "$LINENO" 5
meillo@0 6708 fi
meillo@36 6709 # Compute "$ac_file"'s index in $config_headers.
meillo@36 6710 _am_arg="$ac_file"
meillo@0 6711 _am_stamp_count=1
meillo@0 6712 for _am_header in $config_headers :; do
meillo@0 6713 case $_am_header in
meillo@36 6714 $_am_arg | $_am_arg:* )
meillo@0 6715 break ;;
meillo@0 6716 * )
meillo@0 6717 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
meillo@0 6718 esac
meillo@0 6719 done
meillo@36 6720 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
meillo@36 6721 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
meillo@36 6722 X"$_am_arg" : 'X\(//\)[^/]' \| \
meillo@36 6723 X"$_am_arg" : 'X\(//\)$' \| \
meillo@36 6724 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
meillo@36 6725 $as_echo X"$_am_arg" |
meillo@1 6726 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
meillo@1 6727 s//\1/
meillo@1 6728 q
meillo@1 6729 }
meillo@1 6730 /^X\(\/\/\)[^/].*/{
meillo@1 6731 s//\1/
meillo@1 6732 q
meillo@1 6733 }
meillo@1 6734 /^X\(\/\/\)$/{
meillo@1 6735 s//\1/
meillo@1 6736 q
meillo@1 6737 }
meillo@1 6738 /^X\(\/\).*/{
meillo@1 6739 s//\1/
meillo@1 6740 q
meillo@1 6741 }
meillo@1 6742 s/.*/./; q'`/stamp-h$_am_stamp_count
meillo@1 6743 ;;
meillo@1 6744
meillo@36 6745 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
meillo@36 6746 $as_echo "$as_me: executing $ac_file commands" >&6;}
meillo@1 6747 ;;
meillo@1 6748 esac
meillo@1 6749
meillo@1 6750
meillo@1 6751 case $ac_file$ac_mode in
meillo@36 6752 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
meillo@36 6753 # Autoconf 2.62 quotes --file arguments for eval, but not when files
meillo@36 6754 # are listed without --file. Let's play safe and only enable the eval
meillo@36 6755 # if we detect the quoting.
meillo@36 6756 case $CONFIG_FILES in
meillo@36 6757 *\'*) eval set x "$CONFIG_FILES" ;;
meillo@36 6758 *) set x $CONFIG_FILES ;;
meillo@36 6759 esac
meillo@36 6760 shift
meillo@36 6761 for mf
meillo@36 6762 do
meillo@36 6763 # Strip MF so we end up with the name of the file.
meillo@36 6764 mf=`echo "$mf" | sed -e 's/:.*$//'`
meillo@36 6765 # Check whether this is an Automake generated Makefile or not.
meillo@36 6766 # We used to match only the files named `Makefile.in', but
meillo@36 6767 # some people rename them; so instead we look at the file content.
meillo@36 6768 # Grep'ing the first line is not enough: some people post-process
meillo@36 6769 # each Makefile.in and add a new line on top of each file to say so.
meillo@36 6770 # Grep'ing the whole file is not good either: AIX grep has a line
meillo@36 6771 # limit of 2048, but all sed's we know have understand at least 4000.
meillo@36 6772 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
meillo@36 6773 dirpart=`$as_dirname -- "$mf" ||
meillo@0 6774 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
meillo@0 6775 X"$mf" : 'X\(//\)[^/]' \| \
meillo@0 6776 X"$mf" : 'X\(//\)$' \| \
meillo@1 6777 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
meillo@36 6778 $as_echo X"$mf" |
meillo@1 6779 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
meillo@1 6780 s//\1/
meillo@1 6781 q
meillo@1 6782 }
meillo@1 6783 /^X\(\/\/\)[^/].*/{
meillo@1 6784 s//\1/
meillo@1 6785 q
meillo@1 6786 }
meillo@1 6787 /^X\(\/\/\)$/{
meillo@1 6788 s//\1/
meillo@1 6789 q
meillo@1 6790 }
meillo@1 6791 /^X\(\/\).*/{
meillo@1 6792 s//\1/
meillo@1 6793 q
meillo@1 6794 }
meillo@1 6795 s/.*/./; q'`
meillo@36 6796 else
meillo@36 6797 continue
meillo@36 6798 fi
meillo@36 6799 # Extract the definition of DEPDIR, am__include, and am__quote
meillo@36 6800 # from the Makefile without running `make'.
meillo@36 6801 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
meillo@36 6802 test -z "$DEPDIR" && continue
meillo@36 6803 am__include=`sed -n 's/^am__include = //p' < "$mf"`
meillo@36 6804 test -z "am__include" && continue
meillo@36 6805 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
meillo@36 6806 # When using ansi2knr, U may be empty or an underscore; expand it
meillo@36 6807 U=`sed -n 's/^U = //p' < "$mf"`
meillo@36 6808 # Find all dependency output files, they are included files with
meillo@36 6809 # $(DEPDIR) in their names. We invoke sed twice because it is the
meillo@36 6810 # simplest approach to changing $(DEPDIR) to its actual value in the
meillo@36 6811 # expansion.
meillo@36 6812 for file in `sed -n "
meillo@36 6813 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
meillo@36 6814 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
meillo@36 6815 # Make sure the directory exists.
meillo@36 6816 test -f "$dirpart/$file" && continue
meillo@36 6817 fdir=`$as_dirname -- "$file" ||
meillo@0 6818 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
meillo@0 6819 X"$file" : 'X\(//\)[^/]' \| \
meillo@0 6820 X"$file" : 'X\(//\)$' \| \
meillo@1 6821 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
meillo@36 6822 $as_echo X"$file" |
meillo@1 6823 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
meillo@1 6824 s//\1/
meillo@1 6825 q
meillo@1 6826 }
meillo@1 6827 /^X\(\/\/\)[^/].*/{
meillo@1 6828 s//\1/
meillo@1 6829 q
meillo@1 6830 }
meillo@1 6831 /^X\(\/\/\)$/{
meillo@1 6832 s//\1/
meillo@1 6833 q
meillo@1 6834 }
meillo@1 6835 /^X\(\/\).*/{
meillo@1 6836 s//\1/
meillo@1 6837 q
meillo@1 6838 }
meillo@1 6839 s/.*/./; q'`
meillo@36 6840 as_dir=$dirpart/$fdir; as_fn_mkdir_p
meillo@36 6841 # echo "creating $dirpart/$file"
meillo@36 6842 echo '# dummy' > "$dirpart/$file"
meillo@0 6843 done
meillo@0 6844 done
meillo@36 6845 }
meillo@0 6846 ;;
meillo@1 6847
meillo@0 6848 esac
meillo@1 6849 done # for ac_tag
meillo@1 6850
meillo@0 6851
meillo@36 6852 as_fn_exit 0
meillo@0 6853 _ACEOF
meillo@0 6854 ac_clean_files=$ac_clean_files_save
meillo@0 6855
meillo@36 6856 test $ac_write_fail = 0 ||
meillo@296 6857 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
meillo@36 6858
meillo@0 6859
meillo@0 6860 # configure is writing to config.log, and then calls config.status.
meillo@0 6861 # config.status does its own redirection, appending to config.log.
meillo@0 6862 # Unfortunately, on DOS this fails, as config.log is still kept open
meillo@0 6863 # by configure, so config.status won't be able to write to it; its
meillo@0 6864 # output is simply discarded. So we exec the FD to /dev/null,
meillo@0 6865 # effectively closing config.log, so it can be properly (re)opened and
meillo@0 6866 # appended to by config.status. When coming back to configure, we
meillo@0 6867 # need to make the FD available again.
meillo@0 6868 if test "$no_create" != yes; then
meillo@0 6869 ac_cs_success=:
meillo@0 6870 ac_config_status_args=
meillo@0 6871 test "$silent" = yes &&
meillo@0 6872 ac_config_status_args="$ac_config_status_args --quiet"
meillo@0 6873 exec 5>/dev/null
meillo@0 6874 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
meillo@0 6875 exec 5>>config.log
meillo@0 6876 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
meillo@0 6877 # would make configure fail if this is the last instruction.
meillo@296 6878 $ac_cs_success || as_fn_exit 1
meillo@36 6879 fi
meillo@36 6880 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
meillo@36 6881 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
meillo@36 6882 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
meillo@36 6883 fi
meillo@36 6884