masqmail-0.2

annotate configure @ 188:407874c88cf0

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