masqmail-0.2

annotate config.status.lineno @ 13:49dab67fe461

code beautifying
author meillo@marmaro.de
date Wed, 29 Oct 2008 21:10:18 +0100
parents 8c55886cacd8
children
rev   line source
meillo@1 1 #! /bin/sh
meillo@1 2 # Generated by configure.
meillo@1 3 # Run this file to recreate the current configuration.
meillo@1 4 # Compiler output produced by configure, useful for debugging
meillo@1 5 # configure, is in config.log if it exists.
meillo@1 6
meillo@1 7 debug=false
meillo@1 8 ac_cs_recheck=false
meillo@1 9 ac_cs_silent=false
meillo@1 10 SHELL=${CONFIG_SHELL-/bin/sh}
meillo@1 11 ## --------------------- ##
meillo@1 12 ## M4sh Initialization. ##
meillo@1 13 ## --------------------- ##
meillo@1 14
meillo@1 15 # Be more Bourne compatible
meillo@1 16 DUALCASE=1; export DUALCASE # for MKS sh
meillo@1 17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
meillo@1 18 emulate sh
meillo@1 19 NULLCMD=:
meillo@1 20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
meillo@1 21 # is contrary to our usage. Disable this feature.
meillo@1 22 alias -g '${1+"$@"}'='"$@"'
meillo@1 23 setopt NO_GLOB_SUBST
meillo@1 24 else
meillo@1 25 case `(set -o) 2>/dev/null` in
meillo@1 26 *posix*) set -o posix ;;
meillo@1 27 esac
meillo@1 28
meillo@1 29 fi
meillo@1 30
meillo@1 31
meillo@1 32
meillo@1 33
meillo@1 34 # PATH needs CR
meillo@1 35 # Avoid depending upon Character Ranges.
meillo@1 36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
meillo@1 37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
meillo@1 38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
meillo@1 39 as_cr_digits='0123456789'
meillo@1 40 as_cr_alnum=$as_cr_Letters$as_cr_digits
meillo@1 41
meillo@1 42 # The user is always right.
meillo@1 43 if test "${PATH_SEPARATOR+set}" != set; then
meillo@1 44 echo "#! /bin/sh" >conf$$.sh
meillo@1 45 echo "exit 0" >>conf$$.sh
meillo@1 46 chmod +x conf$$.sh
meillo@1 47 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
meillo@1 48 PATH_SEPARATOR=';'
meillo@1 49 else
meillo@1 50 PATH_SEPARATOR=:
meillo@1 51 fi
meillo@1 52 rm -f conf$$.sh
meillo@1 53 fi
meillo@1 54
meillo@1 55 # Support unset when possible.
meillo@1 56 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
meillo@1 57 as_unset=unset
meillo@1 58 else
meillo@1 59 as_unset=false
meillo@1 60 fi
meillo@1 61
meillo@1 62
meillo@1 63 # IFS
meillo@1 64 # We need space, tab and new line, in precisely that order. Quoting is
meillo@1 65 # there to prevent editors from complaining about space-tab.
meillo@1 66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
meillo@1 67 # splitting by setting IFS to empty value.)
meillo@1 68 as_nl='
meillo@1 69 '
meillo@1 70 IFS=" "" $as_nl"
meillo@1 71
meillo@1 72 # Find who we are. Look in the path if we contain no directory separator.
meillo@1 73 case $0 in
meillo@1 74 *[\\/]* ) as_myself=$0 ;;
meillo@1 75 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
meillo@1 76 for as_dir in $PATH
meillo@1 77 do
meillo@1 78 IFS=$as_save_IFS
meillo@1 79 test -z "$as_dir" && as_dir=.
meillo@1 80 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
meillo@1 81 done
meillo@1 82 IFS=$as_save_IFS
meillo@1 83
meillo@1 84 ;;
meillo@1 85 esac
meillo@1 86 # We did not find ourselves, most probably we were run as `sh COMMAND'
meillo@1 87 # in which case we are not to be found in the path.
meillo@1 88 if test "x$as_myself" = x; then
meillo@1 89 as_myself=$0
meillo@1 90 fi
meillo@1 91 if test ! -f "$as_myself"; then
meillo@1 92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
meillo@1 93 { (exit 1); exit 1; }
meillo@1 94 fi
meillo@1 95
meillo@1 96 # Work around bugs in pre-3.0 UWIN ksh.
meillo@1 97 for as_var in ENV MAIL MAILPATH
meillo@1 98 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
meillo@1 99 done
meillo@1 100 PS1='$ '
meillo@1 101 PS2='> '
meillo@1 102 PS4='+ '
meillo@1 103
meillo@1 104 # NLS nuisances.
meillo@1 105 for as_var in \
meillo@1 106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
meillo@1 107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
meillo@1 108 LC_TELEPHONE LC_TIME
meillo@1 109 do
meillo@1 110 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
meillo@1 111 eval $as_var=C; export $as_var
meillo@1 112 else
meillo@1 113 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
meillo@1 114 fi
meillo@1 115 done
meillo@1 116
meillo@1 117 # Required to use basename.
meillo@1 118 if expr a : '\(a\)' >/dev/null 2>&1 &&
meillo@1 119 test "X`expr 00001 : '.*\(...\)'`" = X001; then
meillo@1 120 as_expr=expr
meillo@1 121 else
meillo@1 122 as_expr=false
meillo@1 123 fi
meillo@1 124
meillo@1 125 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
meillo@1 126 as_basename=basename
meillo@1 127 else
meillo@1 128 as_basename=false
meillo@1 129 fi
meillo@1 130
meillo@1 131
meillo@1 132 # Name of the executable.
meillo@1 133 as_me=`$as_basename -- "$0" ||
meillo@1 134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
meillo@1 135 X"$0" : 'X\(//\)$' \| \
meillo@1 136 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
meillo@1 137 echo X/"$0" |
meillo@1 138 sed '/^.*\/\([^/][^/]*\)\/*$/{
meillo@1 139 s//\1/
meillo@1 140 q
meillo@1 141 }
meillo@1 142 /^X\/\(\/\/\)$/{
meillo@1 143 s//\1/
meillo@1 144 q
meillo@1 145 }
meillo@1 146 /^X\/\(\/\).*/{
meillo@1 147 s//\1/
meillo@1 148 q
meillo@1 149 }
meillo@1 150 s/.*/./; q'`
meillo@1 151
meillo@1 152 # CDPATH.
meillo@1 153 $as_unset CDPATH
meillo@1 154
meillo@1 155
meillo@1 156
meillo@1 157 as_lineno_1=157
meillo@1 158 as_lineno_2=158
meillo@1 159 test "x$as_lineno_1" != "x$as_lineno_2" &&
meillo@1 160 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
meillo@1 161
meillo@1 162 # Create $as_me.lineno as a copy of $as_myself, but with 162
meillo@1 163 # uniformly replaced by the line number. The first 'sed' inserts a
meillo@1 164 # line-number line after each line using 164; the second 'sed'
meillo@1 165 # does the real work. The second script uses 'N' to pair each
meillo@1 166 # line-number line with the line containing 166, and appends
meillo@1 167 # trailing '-' during substitution so that 167 is not a special
meillo@1 168 # case at line end.
meillo@1 169 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
meillo@1 170 # scripts with optimization help from Paolo Bonzini. Blame Lee
meillo@1 171 # E. McMahon (1931-1989) for sed's syntax. :-)
meillo@1 172 sed -n '
meillo@1 173 p
meillo@1 174 /[$]LINENO/=
meillo@1 175 ' <$as_myself |
meillo@1 176 sed '
meillo@1 177 s/[$]LINENO.*/&-/
meillo@1 178 t lineno
meillo@1 179 b
meillo@1 180 :lineno
meillo@1 181 N
meillo@1 182 :loop
meillo@1 183 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
meillo@1 184 t loop
meillo@1 185 s/-\n.*//
meillo@1 186 ' >$as_me.lineno &&
meillo@1 187 chmod +x "$as_me.lineno" ||
meillo@1 188 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
meillo@1 189 { (exit 1); exit 1; }; }
meillo@1 190
meillo@1 191 # Don't try to exec as it changes $[0], causing all sort of problems
meillo@1 192 # (the dirname of $[0] is not the place where we might find the
meillo@1 193 # original and so on. Autoconf is especially sensitive to this).
meillo@1 194 . "./$as_me.lineno"
meillo@1 195 # Exit status is that of the last command.
meillo@1 196 exit
meillo@1 197 }
meillo@1 198
meillo@1 199
meillo@1 200 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
meillo@1 201 as_dirname=dirname
meillo@1 202 else
meillo@1 203 as_dirname=false
meillo@1 204 fi
meillo@1 205
meillo@1 206 ECHO_C= ECHO_N= ECHO_T=
meillo@1 207 case `echo -n x` in
meillo@1 208 -n*)
meillo@1 209 case `echo 'x\c'` in
meillo@1 210 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
meillo@1 211 *) ECHO_C='\c';;
meillo@1 212 esac;;
meillo@1 213 *)
meillo@1 214 ECHO_N='-n';;
meillo@1 215 esac
meillo@1 216
meillo@1 217 if expr a : '\(a\)' >/dev/null 2>&1 &&
meillo@1 218 test "X`expr 00001 : '.*\(...\)'`" = X001; then
meillo@1 219 as_expr=expr
meillo@1 220 else
meillo@1 221 as_expr=false
meillo@1 222 fi
meillo@1 223
meillo@1 224 rm -f conf$$ conf$$.exe conf$$.file
meillo@1 225 if test -d conf$$.dir; then
meillo@1 226 rm -f conf$$.dir/conf$$.file
meillo@1 227 else
meillo@1 228 rm -f conf$$.dir
meillo@1 229 mkdir conf$$.dir
meillo@1 230 fi
meillo@1 231 echo >conf$$.file
meillo@1 232 if ln -s conf$$.file conf$$ 2>/dev/null; then
meillo@1 233 as_ln_s='ln -s'
meillo@1 234 # ... but there are two gotchas:
meillo@1 235 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
meillo@1 236 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
meillo@1 237 # In both cases, we have to default to `cp -p'.
meillo@1 238 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
meillo@1 239 as_ln_s='cp -p'
meillo@1 240 elif ln conf$$.file conf$$ 2>/dev/null; then
meillo@1 241 as_ln_s=ln
meillo@1 242 else
meillo@1 243 as_ln_s='cp -p'
meillo@1 244 fi
meillo@1 245 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
meillo@1 246 rmdir conf$$.dir 2>/dev/null
meillo@1 247
meillo@1 248 if mkdir -p . 2>/dev/null; then
meillo@1 249 as_mkdir_p=:
meillo@1 250 else
meillo@1 251 test -d ./-p && rmdir ./-p
meillo@1 252 as_mkdir_p=false
meillo@1 253 fi
meillo@1 254
meillo@1 255 if test -x / >/dev/null 2>&1; then
meillo@1 256 as_test_x='test -x'
meillo@1 257 else
meillo@1 258 if ls -dL / >/dev/null 2>&1; then
meillo@1 259 as_ls_L_option=L
meillo@1 260 else
meillo@1 261 as_ls_L_option=
meillo@1 262 fi
meillo@1 263 as_test_x='
meillo@1 264 eval sh -c '\''
meillo@1 265 if test -d "$1"; then
meillo@1 266 test -d "$1/.";
meillo@1 267 else
meillo@1 268 case $1 in
meillo@1 269 -*)set "./$1";;
meillo@1 270 esac;
meillo@1 271 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
meillo@1 272 ???[sx]*):;;*)false;;esac;fi
meillo@1 273 '\'' sh
meillo@1 274 '
meillo@1 275 fi
meillo@1 276 as_executable_p=$as_test_x
meillo@1 277
meillo@1 278 # Sed expression to map a string onto a valid CPP name.
meillo@1 279 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
meillo@1 280
meillo@1 281 # Sed expression to map a string onto a valid variable name.
meillo@1 282 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
meillo@1 283
meillo@1 284
meillo@1 285 exec 6>&1
meillo@1 286
meillo@1 287 # Save the log message, to keep $[0] and so on meaningful, and to
meillo@1 288 # report actual input values of CONFIG_FILES etc. instead of their
meillo@1 289 # values after options handling.
meillo@1 290 ac_log="
meillo@1 291 This file was extended by masqmail $as_me 0.2.21, which was
meillo@1 292 generated by GNU Autoconf 2.61. Invocation command line was
meillo@1 293
meillo@1 294 CONFIG_FILES = $CONFIG_FILES
meillo@1 295 CONFIG_HEADERS = $CONFIG_HEADERS
meillo@1 296 CONFIG_LINKS = $CONFIG_LINKS
meillo@1 297 CONFIG_COMMANDS = $CONFIG_COMMANDS
meillo@1 298 $ $0 $@
meillo@1 299
meillo@1 300 on `(hostname || uname -n) 2>/dev/null | sed 1q`
meillo@1 301 "
meillo@1 302
meillo@1 303 # Files that config.status was made for.
meillo@4 304 config_files=" Makefile tests/Makefile src/Makefile src/base64/Makefile src/md5/Makefile src/libident/Makefile"
meillo@1 305 config_headers=" config.h"
meillo@1 306 config_commands=" depfiles"
meillo@1 307
meillo@1 308 ac_cs_usage="\
meillo@1 309 \`$as_me' instantiates files from templates according to the
meillo@1 310 current configuration.
meillo@1 311
meillo@1 312 Usage: $0 [OPTIONS] [FILE]...
meillo@1 313
meillo@1 314 -h, --help print this help, then exit
meillo@1 315 -V, --version print version number and configuration settings, then exit
meillo@1 316 -q, --quiet do not print progress messages
meillo@1 317 -d, --debug don't remove temporary files
meillo@1 318 --recheck update $as_me by reconfiguring in the same conditions
meillo@1 319 --file=FILE[:TEMPLATE]
meillo@1 320 instantiate the configuration file FILE
meillo@1 321 --header=FILE[:TEMPLATE]
meillo@1 322 instantiate the configuration header FILE
meillo@1 323
meillo@1 324 Configuration files:
meillo@1 325 $config_files
meillo@1 326
meillo@1 327 Configuration headers:
meillo@1 328 $config_headers
meillo@1 329
meillo@1 330 Configuration commands:
meillo@1 331 $config_commands
meillo@1 332
meillo@1 333 Report bugs to <bug-autoconf@gnu.org>."
meillo@1 334
meillo@1 335 ac_cs_version="\
meillo@1 336 masqmail config.status 0.2.21
meillo@1 337 configured by ./configure, generated by GNU Autoconf 2.61,
meillo@1 338 with options \"'--build' 'i486-linux-gnu' '--prefix=/usr' '--mandir=\${prefix}/share/man' '--with-logdir=/var/log/masqmail' '--with-spooldir=/var/spool/masqmail' '--with-user=mail' '--with-group=mail' '--with-confdir=/etc/masqmail' '--with-liblockfile' '--enable-auth' '--enable-ident' '--enable-maildir' 'build_alias=i486-linux-gnu'\"
meillo@1 339
meillo@1 340 Copyright (C) 2006 Free Software Foundation, Inc.
meillo@1 341 This config.status script is free software; the Free Software Foundation
meillo@1 342 gives unlimited permission to copy, distribute and modify it."
meillo@1 343
meillo@1 344 ac_pwd='/home/pere/src/debiancvs/initscripts-ng-svn/trunk/src/insserv/masqmail-0.2.21'
meillo@1 345 srcdir='.'
meillo@1 346 INSTALL='/usr/bin/install -c'
meillo@1 347 # If no file are specified by the user, then we need to provide default
meillo@1 348 # value. By we need to know if files were specified by the user.
meillo@1 349 ac_need_defaults=:
meillo@1 350 while test $# != 0
meillo@1 351 do
meillo@1 352 case $1 in
meillo@1 353 --*=*)
meillo@1 354 ac_option=`expr "X$1" : 'X\([^=]*\)='`
meillo@1 355 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
meillo@1 356 ac_shift=:
meillo@1 357 ;;
meillo@1 358 *)
meillo@1 359 ac_option=$1
meillo@1 360 ac_optarg=$2
meillo@1 361 ac_shift=shift
meillo@1 362 ;;
meillo@1 363 esac
meillo@1 364
meillo@1 365 case $ac_option in
meillo@1 366 # Handling of the options.
meillo@1 367 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
meillo@1 368 ac_cs_recheck=: ;;
meillo@1 369 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
meillo@1 370 echo "$ac_cs_version"; exit ;;
meillo@1 371 --debug | --debu | --deb | --de | --d | -d )
meillo@1 372 debug=: ;;
meillo@1 373 --file | --fil | --fi | --f )
meillo@1 374 $ac_shift
meillo@1 375 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
meillo@1 376 ac_need_defaults=false;;
meillo@1 377 --header | --heade | --head | --hea )
meillo@1 378 $ac_shift
meillo@1 379 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
meillo@1 380 ac_need_defaults=false;;
meillo@1 381 --he | --h)
meillo@1 382 # Conflict between --help and --header
meillo@1 383 { echo "$as_me: error: ambiguous option: $1
meillo@1 384 Try \`$0 --help' for more information." >&2
meillo@1 385 { (exit 1); exit 1; }; };;
meillo@1 386 --help | --hel | -h )
meillo@1 387 echo "$ac_cs_usage"; exit ;;
meillo@1 388 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
meillo@1 389 | -silent | --silent | --silen | --sile | --sil | --si | --s)
meillo@1 390 ac_cs_silent=: ;;
meillo@1 391
meillo@1 392 # This is an error.
meillo@1 393 -*) { echo "$as_me: error: unrecognized option: $1
meillo@1 394 Try \`$0 --help' for more information." >&2
meillo@1 395 { (exit 1); exit 1; }; } ;;
meillo@1 396
meillo@1 397 *) ac_config_targets="$ac_config_targets $1"
meillo@1 398 ac_need_defaults=false ;;
meillo@1 399
meillo@1 400 esac
meillo@1 401 shift
meillo@1 402 done
meillo@1 403
meillo@1 404 ac_configure_extra_args=
meillo@1 405
meillo@1 406 if $ac_cs_silent; then
meillo@1 407 exec 6>/dev/null
meillo@1 408 ac_configure_extra_args="$ac_configure_extra_args --silent"
meillo@1 409 fi
meillo@1 410
meillo@1 411 if $ac_cs_recheck; then
meillo@1 412 echo "running CONFIG_SHELL=/bin/sh /bin/sh ./configure " '--build' 'i486-linux-gnu' '--prefix=/usr' '--mandir=${prefix}/share/man' '--with-logdir=/var/log/masqmail' '--with-spooldir=/var/spool/masqmail' '--with-user=mail' '--with-group=mail' '--with-confdir=/etc/masqmail' '--with-liblockfile' '--enable-auth' '--enable-ident' '--enable-maildir' 'build_alias=i486-linux-gnu' $ac_configure_extra_args " --no-create --no-recursion" >&6
meillo@1 413 CONFIG_SHELL=/bin/sh
meillo@1 414 export CONFIG_SHELL
meillo@1 415 exec /bin/sh "./configure" '--build' 'i486-linux-gnu' '--prefix=/usr' '--mandir=${prefix}/share/man' '--with-logdir=/var/log/masqmail' '--with-spooldir=/var/spool/masqmail' '--with-user=mail' '--with-group=mail' '--with-confdir=/etc/masqmail' '--with-liblockfile' '--enable-auth' '--enable-ident' '--enable-maildir' 'build_alias=i486-linux-gnu' $ac_configure_extra_args --no-create --no-recursion
meillo@1 416 fi
meillo@1 417
meillo@1 418 exec 5>>config.log
meillo@1 419 {
meillo@1 420 echo
meillo@1 421 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
meillo@1 422 ## Running $as_me. ##
meillo@1 423 _ASBOX
meillo@1 424 echo "$ac_log"
meillo@1 425 } >&5
meillo@1 426
meillo@1 427 #
meillo@1 428 # INIT-COMMANDS
meillo@1 429 #
meillo@1 430 AMDEP_TRUE="" ac_aux_dir="."
meillo@1 431
meillo@1 432
meillo@1 433 # Handling of arguments.
meillo@1 434 for ac_config_target in $ac_config_targets
meillo@1 435 do
meillo@1 436 case $ac_config_target in
meillo@1 437 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
meillo@1 438 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
meillo@1 439 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
meillo@1 440 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
meillo@1 441 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
meillo@1 442 "src/base64/Makefile") CONFIG_FILES="$CONFIG_FILES src/base64/Makefile" ;;
meillo@1 443 "src/md5/Makefile") CONFIG_FILES="$CONFIG_FILES src/md5/Makefile" ;;
meillo@1 444 "src/libident/Makefile") CONFIG_FILES="$CONFIG_FILES src/libident/Makefile" ;;
meillo@1 445
meillo@1 446 *) { { echo "$as_me:452: error: invalid argument: $ac_config_target" >&5
meillo@1 447 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
meillo@1 448 { (exit 1); exit 1; }; };;
meillo@1 449 esac
meillo@1 450 done
meillo@1 451
meillo@1 452
meillo@1 453 # If the user did not use the arguments to specify the items to instantiate,
meillo@1 454 # then the envvar interface is used. Set only those that are not.
meillo@1 455 # We use the long form for the default assignment because of an extremely
meillo@1 456 # bizarre bug on SunOS 4.1.3.
meillo@1 457 if $ac_need_defaults; then
meillo@1 458 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
meillo@1 459 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
meillo@1 460 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
meillo@1 461 fi
meillo@1 462
meillo@1 463 # Have a temporary directory for convenience. Make it in the build tree
meillo@1 464 # simply because there is no reason against having it here, and in addition,
meillo@1 465 # creating and moving files from /tmp can sometimes cause problems.
meillo@1 466 # Hook for its removal unless debugging.
meillo@1 467 # Note that there is a small window in which the directory will not be cleaned:
meillo@1 468 # after its creation but before its name has been assigned to `$tmp'.
meillo@1 469 $debug ||
meillo@1 470 {
meillo@1 471 tmp=
meillo@1 472 trap 'exit_status=$?
meillo@1 473 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
meillo@1 474 ' 0
meillo@1 475 trap '{ (exit 1); exit 1; }' 1 2 13 15
meillo@1 476 }
meillo@1 477 # Create a (secure) tmp directory for tmp files.
meillo@1 478
meillo@1 479 {
meillo@1 480 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
meillo@1 481 test -n "$tmp" && test -d "$tmp"
meillo@1 482 } ||
meillo@1 483 {
meillo@1 484 tmp=./conf$$-$RANDOM
meillo@1 485 (umask 077 && mkdir "$tmp")
meillo@1 486 } ||
meillo@1 487 {
meillo@1 488 echo "$me: cannot create a temporary directory in ." >&2
meillo@1 489 { (exit 1); exit 1; }
meillo@1 490 }
meillo@1 491
meillo@1 492 #
meillo@1 493 # Set up the sed scripts for CONFIG_FILES section.
meillo@1 494 #
meillo@1 495
meillo@1 496 # No need to generate the scripts if there are no CONFIG_FILES.
meillo@1 497 # This happens for instance when ./config.status config.h
meillo@1 498 if test -n "$CONFIG_FILES"; then
meillo@1 499
meillo@1 500 cat >"$tmp/subs-1.sed" <<\CEOF
meillo@1 501 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
meillo@1 502 s,@SHELL@,|#_!!_#|/bin/sh,g
meillo@1 503 s,@PATH_SEPARATOR@,|#_!!_#|:,g
meillo@1 504 s,@PACKAGE_NAME@,|#_!!_#|masqmail,g
meillo@1 505 s,@PACKAGE_TARNAME@,|#_!!_#|masqmail,g
meillo@1 506 s,@PACKAGE_VERSION@,|#_!!_#|0.2.21,g
meillo@1 507 s,@PACKAGE_STRING@,|#_!!_#|masqmail 0.2.21,g
meillo@1 508 s,@PACKAGE_BUGREPORT@,|#_!!_#|oku@|#_!!_#|debian.org,g
meillo@1 509 s,@exec_prefix@,|#_!!_#|${prefix},g
meillo@1 510 s,@prefix@,|#_!!_#|/usr,g
meillo@1 511 s,@program_transform_name@,|#_!!_#|s\,x\,x\,,g
meillo@1 512 s,@bindir@,|#_!!_#|${exec_prefix}/bin,g
meillo@1 513 s,@sbindir@,|#_!!_#|${exec_prefix}/sbin,g
meillo@1 514 s,@libexecdir@,|#_!!_#|${exec_prefix}/libexec,g
meillo@1 515 s,@datarootdir@,|#_!!_#|${prefix}/share,g
meillo@1 516 s,@datadir@,|#_!!_#|${datarootdir},g
meillo@1 517 s,@sysconfdir@,|#_!!_#|${prefix}/etc,g
meillo@1 518 s,@sharedstatedir@,|#_!!_#|${prefix}/com,g
meillo@1 519 s,@localstatedir@,|#_!!_#|${prefix}/var,g
meillo@1 520 s,@includedir@,|#_!!_#|${prefix}/include,g
meillo@1 521 s,@oldincludedir@,|#_!!_#|/usr/include,g
meillo@1 522 s,@docdir@,|#_!!_#|${datarootdir}/doc/${PACKAGE_TARNAME},g
meillo@1 523 s,@infodir@,|#_!!_#|${datarootdir}/info,g
meillo@1 524 s,@htmldir@,|#_!!_#|${docdir},g
meillo@1 525 s,@dvidir@,|#_!!_#|${docdir},g
meillo@1 526 s,@pdfdir@,|#_!!_#|${docdir},g
meillo@1 527 s,@psdir@,|#_!!_#|${docdir},g
meillo@1 528 s,@libdir@,|#_!!_#|${exec_prefix}/lib,g
meillo@1 529 s,@localedir@,|#_!!_#|${datarootdir}/locale,g
meillo@1 530 s,@mandir@,|#_!!_#|${prefix}/share/man,g
meillo@1 531 s,@DEFS@,|#_!!_#|-DHAVE_CONFIG_H,g
meillo@1 532 s,@ECHO_C@,|#_!!_#|,g
meillo@1 533 s,@ECHO_N@,|#_!!_#|-n,g
meillo@1 534 s,@ECHO_T@,|#_!!_#|,g
meillo@1 535 s,@LIBS@,|#_!!_#|,g
meillo@1 536 s,@build_alias@,|#_!!_#|i486-linux-gnu,g
meillo@1 537 s,@host_alias@,|#_!!_#|,g
meillo@1 538 s,@target_alias@,|#_!!_#|,g
meillo@1 539 s,@INSTALL_PROGRAM@,|#_!!_#|${INSTALL},g
meillo@1 540 s,@INSTALL_SCRIPT@,|#_!!_#|${INSTALL},g
meillo@1 541 s,@INSTALL_DATA@,|#_!!_#|${INSTALL} -m 644,g
meillo@1 542 s,@CYGPATH_W@,|#_!!_#|echo,g
meillo@1 543 s,@PACKAGE@,|#_!!_#|masqmail,g
meillo@1 544 s,@VERSION@,|#_!!_#|0.2.21,g
meillo@1 545 s,@ACLOCAL@,|#_!!_#|${SHELL} /home/pere/src/debiancvs/initscripts-ng-svn/trunk/src/insserv/masqmail-0.2.21/missing --run aclocal-1.7,g
meillo@1 546 s,@AUTOCONF@,|#_!!_#|${SHELL} /home/pere/src/debiancvs/initscripts-ng-svn/trunk/src/insserv/masqmail-0.2.21/missing --run autoconf,g
meillo@1 547 s,@AUTOMAKE@,|#_!!_#|${SHELL} /home/pere/src/debiancvs/initscripts-ng-svn/trunk/src/insserv/masqmail-0.2.21/missing --run automake-1.7,g
meillo@1 548 s,@AUTOHEADER@,|#_!!_#|${SHELL} /home/pere/src/debiancvs/initscripts-ng-svn/trunk/src/insserv/masqmail-0.2.21/missing --run autoheader,g
meillo@1 549 s,@MAKEINFO@,|#_!!_#|${SHELL} /home/pere/src/debiancvs/initscripts-ng-svn/trunk/src/insserv/masqmail-0.2.21/missing --run makeinfo,g
meillo@1 550 s,@AMTAR@,|#_!!_#|${SHELL} /home/pere/src/debiancvs/initscripts-ng-svn/trunk/src/insserv/masqmail-0.2.21/missing --run tar,g
meillo@1 551 s,@install_sh@,|#_!!_#|/home/pere/src/debiancvs/initscripts-ng-svn/trunk/src/insserv/masqmail-0.2.21/install-sh,g
meillo@1 552 s,@STRIP@,|#_!!_#|,g
meillo@1 553 s,@INSTALL_STRIP_PROGRAM@,|#_!!_#|${SHELL} $(install_sh) -c -s,g
meillo@1 554 s,@AWK@,|#_!!_#|gawk,g
meillo@1 555 s,@SET_MAKE@,|#_!!_#|,g
meillo@1 556 s,@am__leading_dot@,|#_!!_#|.,g
meillo@1 557 s,@CC@,|#_!!_#|gcc,g
meillo@1 558 s,@CFLAGS@,|#_!!_#|-g -O2,g
meillo@1 559 s,@LDFLAGS@,|#_!!_#|,g
meillo@1 560 s,@CPPFLAGS@,|#_!!_#|,g
meillo@1 561 s,@ac_ct_CC@,|#_!!_#|gcc,g
meillo@1 562 s,@EXEEXT@,|#_!!_#|,g
meillo@1 563 s,@OBJEXT@,|#_!!_#|o,g
meillo@1 564 s,@DEPDIR@,|#_!!_#|.deps,g
meillo@1 565 s,@am__include@,|#_!!_#|include,g
meillo@1 566 s,@am__quote@,|#_!!_#|,g
meillo@1 567 s,@AMDEP_TRUE@,|#_!!_#|,g
meillo@1 568 s,@AMDEP_FALSE@,|#_!!_#|#,g
meillo@1 569 s,@AMDEPBACKSLASH@,|#_!!_#|\\,g
meillo@1 570 s,@CCDEPMODE@,|#_!!_#|depmode=gcc3,g
meillo@1 571 s,@am__fastdepCC_TRUE@,|#_!!_#|,g
meillo@1 572 s,@am__fastdepCC_FALSE@,|#_!!_#|#,g
meillo@1 573 s,@CPP@,|#_!!_#|gcc -E,g
meillo@1 574 s,@GREP@,|#_!!_#|/bin/grep,g
meillo@1 575 s,@EGREP@,|#_!!_#|/bin/grep -E,g
meillo@1 576 s,@RANLIB@,|#_!!_#|ranlib,g
meillo@1 577 s,@PKG_CONFIG@,|#_!!_#|/usr/bin/pkg-config,g
meillo@1 578 s,@GLIB_CFLAGS@,|#_!!_#|-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include ,g
meillo@1 579 s,@GLIB_LIBS@,|#_!!_#|-lglib-2.0 ,g
meillo@1 580 s,@RESOLV_LIBS@,|#_!!_#|-lresolv,g
meillo@1 581 s,@with_user@,|#_!!_#|mail,g
meillo@1 582 s,@with_group@,|#_!!_#|mail,g
meillo@1 583 s,@BASE64_LIBS@,|#_!!_#|base64/libbase64.a,g
meillo@1 584 s,@MD5_LIBS@,|#_!!_#|md5/libmd5c.a,g
meillo@1 585 s,@has_ident@,|#_!!_#|,g
meillo@1 586 s,@IDENT_LIBS@,|#_!!_#|-lident,g
meillo@1 587 s,@LOCKFILE_LIBS@,|#_!!_#|-llockfile,g
meillo@1 588 s,@USE_LIBLOCKFILE@,|#_!!_#|,g
meillo@1 589 s,@with_logdir@,|#_!!_#|/var/log/masqmail,g
meillo@1 590 s,@with_spooldir@,|#_!!_#|/var/spool/masqmail,g
meillo@1 591 s,@with_confdir@,|#_!!_#|/etc/masqmail,g
meillo@1 592 s,@LIBOBJS@,|#_!!_#|,g
meillo@1 593 s,@LTLIBOBJS@,|#_!!_#|,g
meillo@1 594 :end
meillo@1 595 s/|#_!!_#|//g
meillo@1 596 CEOF
meillo@1 597 fi # test -n "$CONFIG_FILES"
meillo@1 598
meillo@1 599
meillo@1 600 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
meillo@1 601 do
meillo@1 602 case $ac_tag in
meillo@1 603 :[FHLC]) ac_mode=$ac_tag; continue;;
meillo@1 604 esac
meillo@1 605 case $ac_mode$ac_tag in
meillo@1 606 :[FHL]*:*);;
meillo@1 607 :L* | :C*:*) { { echo "$as_me:613: error: Invalid tag $ac_tag." >&5
meillo@1 608 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
meillo@1 609 { (exit 1); exit 1; }; };;
meillo@1 610 :[FH]-) ac_tag=-:-;;
meillo@1 611 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
meillo@1 612 esac
meillo@1 613 ac_save_IFS=$IFS
meillo@1 614 IFS=:
meillo@1 615 set x $ac_tag
meillo@1 616 IFS=$ac_save_IFS
meillo@1 617 shift
meillo@1 618 ac_file=$1
meillo@1 619 shift
meillo@1 620
meillo@1 621 case $ac_mode in
meillo@1 622 :L) ac_source=$1;;
meillo@1 623 :[FH])
meillo@1 624 ac_file_inputs=
meillo@1 625 for ac_f
meillo@1 626 do
meillo@1 627 case $ac_f in
meillo@1 628 -) ac_f="$tmp/stdin";;
meillo@1 629 *) # Look for the file first in the build tree, then in the source tree
meillo@1 630 # (if the path is not absolute). The absolute path cannot be DOS-style,
meillo@1 631 # because $ac_f cannot contain `:'.
meillo@1 632 test -f "$ac_f" ||
meillo@1 633 case $ac_f in
meillo@1 634 [\\/$]*) false;;
meillo@1 635 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
meillo@1 636 esac ||
meillo@1 637 { { echo "$as_me:643: error: cannot find input file: $ac_f" >&5
meillo@1 638 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
meillo@1 639 { (exit 1); exit 1; }; };;
meillo@1 640 esac
meillo@1 641 ac_file_inputs="$ac_file_inputs $ac_f"
meillo@1 642 done
meillo@1 643
meillo@1 644 # Let's still pretend it is `configure' which instantiates (i.e., don't
meillo@1 645 # use $as_me), people would be surprised to read:
meillo@1 646 # /* config.h. Generated by config.status. */
meillo@1 647 configure_input="Generated from "`IFS=:
meillo@1 648 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
meillo@1 649 if test x"$ac_file" != x-; then
meillo@1 650 configure_input="$ac_file. $configure_input"
meillo@1 651 { echo "$as_me:657: creating $ac_file" >&5
meillo@1 652 echo "$as_me: creating $ac_file" >&6;}
meillo@1 653 fi
meillo@1 654
meillo@1 655 case $ac_tag in
meillo@1 656 *:-:* | *:-) cat >"$tmp/stdin";;
meillo@1 657 esac
meillo@1 658 ;;
meillo@1 659 esac
meillo@1 660
meillo@1 661 ac_dir=`$as_dirname -- "$ac_file" ||
meillo@1 662 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
meillo@1 663 X"$ac_file" : 'X\(//\)[^/]' \| \
meillo@1 664 X"$ac_file" : 'X\(//\)$' \| \
meillo@1 665 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
meillo@1 666 echo X"$ac_file" |
meillo@1 667 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
meillo@1 668 s//\1/
meillo@1 669 q
meillo@1 670 }
meillo@1 671 /^X\(\/\/\)[^/].*/{
meillo@1 672 s//\1/
meillo@1 673 q
meillo@1 674 }
meillo@1 675 /^X\(\/\/\)$/{
meillo@1 676 s//\1/
meillo@1 677 q
meillo@1 678 }
meillo@1 679 /^X\(\/\).*/{
meillo@1 680 s//\1/
meillo@1 681 q
meillo@1 682 }
meillo@1 683 s/.*/./; q'`
meillo@1 684 { as_dir="$ac_dir"
meillo@1 685 case $as_dir in #(
meillo@1 686 -*) as_dir=./$as_dir;;
meillo@1 687 esac
meillo@1 688 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
meillo@1 689 as_dirs=
meillo@1 690 while :; do
meillo@1 691 case $as_dir in #(
meillo@1 692 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
meillo@1 693 *) as_qdir=$as_dir;;
meillo@1 694 esac
meillo@1 695 as_dirs="'$as_qdir' $as_dirs"
meillo@1 696 as_dir=`$as_dirname -- "$as_dir" ||
meillo@1 697 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
meillo@1 698 X"$as_dir" : 'X\(//\)[^/]' \| \
meillo@1 699 X"$as_dir" : 'X\(//\)$' \| \
meillo@1 700 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
meillo@1 701 echo X"$as_dir" |
meillo@1 702 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
meillo@1 703 s//\1/
meillo@1 704 q
meillo@1 705 }
meillo@1 706 /^X\(\/\/\)[^/].*/{
meillo@1 707 s//\1/
meillo@1 708 q
meillo@1 709 }
meillo@1 710 /^X\(\/\/\)$/{
meillo@1 711 s//\1/
meillo@1 712 q
meillo@1 713 }
meillo@1 714 /^X\(\/\).*/{
meillo@1 715 s//\1/
meillo@1 716 q
meillo@1 717 }
meillo@1 718 s/.*/./; q'`
meillo@1 719 test -d "$as_dir" && break
meillo@1 720 done
meillo@1 721 test -z "$as_dirs" || eval "mkdir $as_dirs"
meillo@1 722 } || test -d "$as_dir" || { { echo "$as_me:728: error: cannot create directory $as_dir" >&5
meillo@1 723 echo "$as_me: error: cannot create directory $as_dir" >&2;}
meillo@1 724 { (exit 1); exit 1; }; }; }
meillo@1 725 ac_builddir=.
meillo@1 726
meillo@1 727 case "$ac_dir" in
meillo@1 728 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
meillo@1 729 *)
meillo@1 730 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
meillo@1 731 # A ".." for each directory in $ac_dir_suffix.
meillo@1 732 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
meillo@1 733 case $ac_top_builddir_sub in
meillo@1 734 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
meillo@1 735 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
meillo@1 736 esac ;;
meillo@1 737 esac
meillo@1 738 ac_abs_top_builddir=$ac_pwd
meillo@1 739 ac_abs_builddir=$ac_pwd$ac_dir_suffix
meillo@1 740 # for backward compatibility:
meillo@1 741 ac_top_builddir=$ac_top_build_prefix
meillo@1 742
meillo@1 743 case $srcdir in
meillo@1 744 .) # We are building in place.
meillo@1 745 ac_srcdir=.
meillo@1 746 ac_top_srcdir=$ac_top_builddir_sub
meillo@1 747 ac_abs_top_srcdir=$ac_pwd ;;
meillo@1 748 [\\/]* | ?:[\\/]* ) # Absolute name.
meillo@1 749 ac_srcdir=$srcdir$ac_dir_suffix;
meillo@1 750 ac_top_srcdir=$srcdir
meillo@1 751 ac_abs_top_srcdir=$srcdir ;;
meillo@1 752 *) # Relative name.
meillo@1 753 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
meillo@1 754 ac_top_srcdir=$ac_top_build_prefix$srcdir
meillo@1 755 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
meillo@1 756 esac
meillo@1 757 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
meillo@1 758
meillo@1 759
meillo@1 760 case $ac_mode in
meillo@1 761 :F)
meillo@1 762 #
meillo@1 763 # CONFIG_FILE
meillo@1 764 #
meillo@1 765
meillo@1 766 case $INSTALL in
meillo@1 767 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
meillo@1 768 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
meillo@1 769 esac
meillo@1 770 # If the template does not know about datarootdir, expand it.
meillo@1 771 # FIXME: This hack should be removed a few years after 2.60.
meillo@1 772 ac_datarootdir_hack=; ac_datarootdir_seen=
meillo@1 773
meillo@1 774 case `sed -n '/datarootdir/ {
meillo@1 775 p
meillo@1 776 q
meillo@1 777 }
meillo@1 778 /@datadir@/p
meillo@1 779 /@docdir@/p
meillo@1 780 /@infodir@/p
meillo@1 781 /@localedir@/p
meillo@1 782 /@mandir@/p
meillo@1 783 ' $ac_file_inputs` in
meillo@1 784 *datarootdir*) ac_datarootdir_seen=yes;;
meillo@1 785 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
meillo@1 786 { echo "$as_me:792: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
meillo@1 787 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
meillo@1 788 ac_datarootdir_hack='
meillo@1 789 s&@datadir@&${datarootdir}&g
meillo@1 790 s&@docdir@&${datarootdir}/doc/${PACKAGE_TARNAME}&g
meillo@1 791 s&@infodir@&${datarootdir}/info&g
meillo@1 792 s&@localedir@&${datarootdir}/locale&g
meillo@1 793 s&@mandir@&${prefix}/share/man&g
meillo@1 794 s&\${datarootdir}&${prefix}/share&g' ;;
meillo@1 795 esac
meillo@1 796 sed "/^[ ]*VPATH[ ]*=/{
meillo@1 797 s/:*\$(srcdir):*/:/
meillo@1 798 s/:*\${srcdir}:*/:/
meillo@1 799 s/:*@srcdir@:*/:/
meillo@1 800 s/^\([^=]*=[ ]*\):*/\1/
meillo@1 801 s/:*$//
meillo@1 802 s/^[^=]*=[ ]*$//
meillo@1 803 }
meillo@1 804
meillo@1 805 :t
meillo@1 806 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
meillo@1 807 s&@configure_input@&$configure_input&;t t
meillo@1 808 s&@top_builddir@&$ac_top_builddir_sub&;t t
meillo@1 809 s&@srcdir@&$ac_srcdir&;t t
meillo@1 810 s&@abs_srcdir@&$ac_abs_srcdir&;t t
meillo@1 811 s&@top_srcdir@&$ac_top_srcdir&;t t
meillo@1 812 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
meillo@1 813 s&@builddir@&$ac_builddir&;t t
meillo@1 814 s&@abs_builddir@&$ac_abs_builddir&;t t
meillo@1 815 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
meillo@1 816 s&@INSTALL@&$ac_INSTALL&;t t
meillo@1 817 $ac_datarootdir_hack
meillo@1 818 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
meillo@1 819
meillo@1 820 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
meillo@1 821 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
meillo@1 822 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
meillo@1 823 { echo "$as_me:829: WARNING: $ac_file contains a reference to the variable \`datarootdir'
meillo@1 824 which seems to be undefined. Please make sure it is defined." >&5
meillo@1 825 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
meillo@1 826 which seems to be undefined. Please make sure it is defined." >&2;}
meillo@1 827
meillo@1 828 rm -f "$tmp/stdin"
meillo@1 829 case $ac_file in
meillo@1 830 -) cat "$tmp/out"; rm -f "$tmp/out";;
meillo@1 831 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
meillo@1 832 esac
meillo@1 833 ;;
meillo@1 834 :H)
meillo@1 835 #
meillo@1 836 # CONFIG_HEADER
meillo@1 837 #
meillo@1 838 # First, check the format of the line:
meillo@1 839 cat >"$tmp/defines.sed" <<\CEOF
meillo@1 840 /^[ ]*#[ ]*undef[ ][ ]*[_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ][_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]*[ ]*$/b def
meillo@1 841 /^[ ]*#[ ]*define[ ][ ]*[_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ][_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]*[( ]/b def
meillo@1 842 b
meillo@1 843 :def
meillo@1 844 s/$/ /
meillo@1 845 s,^\([ #]*\)[^ ]*\([ ]*PACKAGE_NAME\)[ (].*,\1define\2 "masqmail" ,
meillo@1 846 s,^\([ #]*\)[^ ]*\([ ]*PACKAGE_TARNAME\)[ (].*,\1define\2 "masqmail" ,
meillo@1 847 s,^\([ #]*\)[^ ]*\([ ]*PACKAGE_VERSION\)[ (].*,\1define\2 "0.2.21" ,
meillo@1 848 s,^\([ #]*\)[^ ]*\([ ]*PACKAGE_STRING\)[ (].*,\1define\2 "masqmail 0.2.21" ,
meillo@1 849 s,^\([ #]*\)[^ ]*\([ ]*PACKAGE_BUGREPORT\)[ (].*,\1define\2 "oku@debian.org" ,
meillo@1 850 s,^\([ #]*\)[^ ]*\([ ]*PACKAGE\)[ (].*,\1define\2 "masqmail" ,
meillo@1 851 s,^\([ #]*\)[^ ]*\([ ]*VERSION\)[ (].*,\1define\2 "0.2.21" ,
meillo@1 852 s,^\([ #]*\)[^ ]*\([ ]*STDC_HEADERS\)[ (].*,\1define\2 1 ,
meillo@1 853 s,^\([ #]*\)[^ ]*\([ ]*ENABLE_RESOLVER\)[ (].*,\1define\2 1 ,
meillo@1 854 s,^\([ #]*\)[^ ]*\([ ]*HAVE_GETLINE\)[ (].*,\1define\2 1 ,
meillo@1 855 s,^\([ #]*\)[^ ]*\([ ]*HAVE_FDATASYNC\)[ (].*,\1define\2 1 ,
meillo@1 856 s,^\([ #]*\)[^ ]*\([ ]*STDC_HEADERS\)[ (].*,\1define\2 1 ,
meillo@1 857 s,^\([ #]*\)[^ ]*\([ ]*HAVE_SYS_TYPES_H\)[ (].*,\1define\2 1 ,
meillo@1 858 s,^\([ #]*\)[^ ]*\([ ]*HAVE_SYS_STAT_H\)[ (].*,\1define\2 1 ,
meillo@1 859 s,^\([ #]*\)[^ ]*\([ ]*HAVE_STDLIB_H\)[ (].*,\1define\2 1 ,
meillo@1 860 s,^\([ #]*\)[^ ]*\([ ]*HAVE_STRING_H\)[ (].*,\1define\2 1 ,
meillo@1 861 s,^\([ #]*\)[^ ]*\([ ]*HAVE_MEMORY_H\)[ (].*,\1define\2 1 ,
meillo@1 862 s,^\([ #]*\)[^ ]*\([ ]*HAVE_STRINGS_H\)[ (].*,\1define\2 1 ,
meillo@1 863 s,^\([ #]*\)[^ ]*\([ ]*HAVE_INTTYPES_H\)[ (].*,\1define\2 1 ,
meillo@1 864 s,^\([ #]*\)[^ ]*\([ ]*HAVE_STDINT_H\)[ (].*,\1define\2 1 ,
meillo@1 865 s,^\([ #]*\)[^ ]*\([ ]*HAVE_UNISTD_H\)[ (].*,\1define\2 1 ,
meillo@1 866 s,^\([ #]*\)[^ ]*\([ ]*HAVE_FCNTL_H\)[ (].*,\1define\2 1 ,
meillo@1 867 s,^\([ #]*\)[^ ]*\([ ]*HAVE_SYS_TIME_H\)[ (].*,\1define\2 1 ,
meillo@1 868 s,^\([ #]*\)[^ ]*\([ ]*HAVE_SYSLOG_H\)[ (].*,\1define\2 1 ,
meillo@1 869 s,^\([ #]*\)[^ ]*\([ ]*HAVE_UNISTD_H\)[ (].*,\1define\2 1 ,
meillo@1 870 s,^\([ #]*\)[^ ]*\([ ]*TIME_WITH_SYS_TIME\)[ (].*,\1define\2 1 ,
meillo@1 871 s,^\([ #]*\)[^ ]*\([ ]*HAVE_FNMATCH\)[ (].*,\1define\2 1 ,
meillo@1 872 s,^\([ #]*\)[^ ]*\([ ]*RETSIGTYPE\)[ (].*,\1define\2 void ,
meillo@1 873 s,^\([ #]*\)[^ ]*\([ ]*HAVE_STRFTIME\)[ (].*,\1define\2 1 ,
meillo@1 874 s,^\([ #]*\)[^ ]*\([ ]*HAVE_VPRINTF\)[ (].*,\1define\2 1 ,
meillo@1 875 s,^\([ #]*\)[^ ]*\([ ]*HAVE_SELECT\)[ (].*,\1define\2 1 ,
meillo@1 876 s,^\([ #]*\)[^ ]*\([ ]*HAVE_SOCKET\)[ (].*,\1define\2 1 ,
meillo@1 877 s,^\([ #]*\)[^ ]*\([ ]*HAVE_STRERROR\)[ (].*,\1define\2 1 ,
meillo@1 878 s,^\([ #]*\)[^ ]*\([ ]*HAVE_STRSTR\)[ (].*,\1define\2 1 ,
meillo@1 879 s,^\([ #]*\)[^ ]*\([ ]*ENABLE_DEBUG\)[ (].*,\1define\2 1 ,
meillo@1 880 s,^\([ #]*\)[^ ]*\([ ]*DEF_MAIL_USER\)[ (].*,\1define\2 "mail" ,
meillo@1 881 s,^\([ #]*\)[^ ]*\([ ]*DEF_MAIL_GROUP\)[ (].*,\1define\2 "mail" ,
meillo@1 882 s,^\([ #]*\)[^ ]*\([ ]*ENABLE_SMTP_SERVER\)[ (].*,\1define\2 1 ,
meillo@1 883 s,^\([ #]*\)[^ ]*\([ ]*ENABLE_POP3\)[ (].*,\1define\2 1 ,
meillo@1 884 s,^\([ #]*\)[^ ]*\([ ]*ENABLE_AUTH\)[ (].*,\1define\2 1 ,
meillo@1 885 s,^\([ #]*\)[^ ]*\([ ]*ENABLE_MAILDIR\)[ (].*,\1define\2 1 ,
meillo@1 886 s,^\([ #]*\)[^ ]*\([ ]*ENABLE_IDENT\)[ (].*,\1define\2 1 ,
meillo@1 887 s,^\([ #]*\)[^ ]*\([ ]*USE_LIBLOCKFILE\)[ (].*,\1define\2 1 ,
meillo@1 888 s,^\([ #]*\)[^ ]*\([ ]*CONF_DIR\)[ (].*,\1define\2 "/etc/masqmail" ,
meillo@1 889 s,^\([ #]*\)[^ ]*\([ ]*DATA_DIR\)[ (].*,\1define\2 "${prefix}/share/masqmail" ,
meillo@1 890 s,^\([ #]*\)[^ ]*\([ ]*SBINDIR\)[ (].*,\1define\2 "/usr/sbin" ,
meillo@1 891 s/ $//
meillo@1 892 s,^[ #]*u.*,/* & */,
meillo@1 893 CEOF
meillo@1 894 sed -f "$tmp/defines.sed" $ac_file_inputs >"$tmp/out1"
meillo@1 895 ac_result="$tmp/out1"
meillo@1 896 if test x"$ac_file" != x-; then
meillo@1 897 echo "/* $configure_input */" >"$tmp/config.h"
meillo@1 898 cat "$ac_result" >>"$tmp/config.h"
meillo@1 899 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
meillo@1 900 { echo "$as_me:906: $ac_file is unchanged" >&5
meillo@1 901 echo "$as_me: $ac_file is unchanged" >&6;}
meillo@1 902 else
meillo@1 903 rm -f $ac_file
meillo@1 904 mv "$tmp/config.h" $ac_file
meillo@1 905 fi
meillo@1 906 else
meillo@1 907 echo "/* $configure_input */"
meillo@1 908 cat "$ac_result"
meillo@1 909 fi
meillo@1 910 rm -f "$tmp/out12"
meillo@1 911 # Compute $ac_file's index in $config_headers.
meillo@1 912 _am_stamp_count=1
meillo@1 913 for _am_header in $config_headers :; do
meillo@1 914 case $_am_header in
meillo@1 915 $ac_file | $ac_file:* )
meillo@1 916 break ;;
meillo@1 917 * )
meillo@1 918 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
meillo@1 919 esac
meillo@1 920 done
meillo@1 921 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
meillo@1 922 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
meillo@1 923 X$ac_file : 'X\(//\)[^/]' \| \
meillo@1 924 X$ac_file : 'X\(//\)$' \| \
meillo@1 925 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
meillo@1 926 echo X$ac_file |
meillo@1 927 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
meillo@1 928 s//\1/
meillo@1 929 q
meillo@1 930 }
meillo@1 931 /^X\(\/\/\)[^/].*/{
meillo@1 932 s//\1/
meillo@1 933 q
meillo@1 934 }
meillo@1 935 /^X\(\/\/\)$/{
meillo@1 936 s//\1/
meillo@1 937 q
meillo@1 938 }
meillo@1 939 /^X\(\/\).*/{
meillo@1 940 s//\1/
meillo@1 941 q
meillo@1 942 }
meillo@1 943 s/.*/./; q'`/stamp-h$_am_stamp_count
meillo@1 944 ;;
meillo@1 945
meillo@1 946 :C) { echo "$as_me:952: executing $ac_file commands" >&5
meillo@1 947 echo "$as_me: executing $ac_file commands" >&6;}
meillo@1 948 ;;
meillo@1 949 esac
meillo@1 950
meillo@1 951
meillo@1 952 case $ac_file$ac_mode in
meillo@1 953 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
meillo@1 954 # Strip MF so we end up with the name of the file.
meillo@1 955 mf=`echo "$mf" | sed -e 's/:.*$//'`
meillo@1 956 # Check whether this is an Automake generated Makefile or not.
meillo@1 957 # We used to match only the files named `Makefile.in', but
meillo@1 958 # some people rename them; so instead we look at the file content.
meillo@1 959 # Grep'ing the first line is not enough: some people post-process
meillo@1 960 # each Makefile.in and add a new line on top of each file to say so.
meillo@1 961 # So let's grep whole file.
meillo@1 962 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
meillo@1 963 dirpart=`$as_dirname -- "$mf" ||
meillo@1 964 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
meillo@1 965 X"$mf" : 'X\(//\)[^/]' \| \
meillo@1 966 X"$mf" : 'X\(//\)$' \| \
meillo@1 967 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
meillo@1 968 echo X"$mf" |
meillo@1 969 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
meillo@1 970 s//\1/
meillo@1 971 q
meillo@1 972 }
meillo@1 973 /^X\(\/\/\)[^/].*/{
meillo@1 974 s//\1/
meillo@1 975 q
meillo@1 976 }
meillo@1 977 /^X\(\/\/\)$/{
meillo@1 978 s//\1/
meillo@1 979 q
meillo@1 980 }
meillo@1 981 /^X\(\/\).*/{
meillo@1 982 s//\1/
meillo@1 983 q
meillo@1 984 }
meillo@1 985 s/.*/./; q'`
meillo@1 986 else
meillo@1 987 continue
meillo@1 988 fi
meillo@1 989 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
meillo@1 990 # Extract the definition of DEP_FILES from the Makefile without
meillo@1 991 # running `make'.
meillo@1 992 DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
meillo@1 993 test -z "$DEPDIR" && continue
meillo@1 994 # When using ansi2knr, U may be empty or an underscore; expand it
meillo@1 995 U=`sed -n -e '/^U = / s///p' < "$mf"`
meillo@1 996 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
meillo@1 997 # We invoke sed twice because it is the simplest approach to
meillo@1 998 # changing $(DEPDIR) to its actual value in the expansion.
meillo@1 999 for file in `sed -n -e '
meillo@1 1000 /^DEP_FILES = .*\\\\$/ {
meillo@1 1001 s/^DEP_FILES = //
meillo@1 1002 :loop
meillo@1 1003 s/\\\\$//
meillo@1 1004 p
meillo@1 1005 n
meillo@1 1006 /\\\\$/ b loop
meillo@1 1007 p
meillo@1 1008 }
meillo@1 1009 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
meillo@1 1010 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
meillo@1 1011 # Make sure the directory exists.
meillo@1 1012 test -f "$dirpart/$file" && continue
meillo@1 1013 fdir=`$as_dirname -- "$file" ||
meillo@1 1014 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
meillo@1 1015 X"$file" : 'X\(//\)[^/]' \| \
meillo@1 1016 X"$file" : 'X\(//\)$' \| \
meillo@1 1017 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
meillo@1 1018 echo X"$file" |
meillo@1 1019 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
meillo@1 1020 s//\1/
meillo@1 1021 q
meillo@1 1022 }
meillo@1 1023 /^X\(\/\/\)[^/].*/{
meillo@1 1024 s//\1/
meillo@1 1025 q
meillo@1 1026 }
meillo@1 1027 /^X\(\/\/\)$/{
meillo@1 1028 s//\1/
meillo@1 1029 q
meillo@1 1030 }
meillo@1 1031 /^X\(\/\).*/{
meillo@1 1032 s//\1/
meillo@1 1033 q
meillo@1 1034 }
meillo@1 1035 s/.*/./; q'`
meillo@1 1036 { as_dir=$dirpart/$fdir
meillo@1 1037 case $as_dir in #(
meillo@1 1038 -*) as_dir=./$as_dir;;
meillo@1 1039 esac
meillo@1 1040 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
meillo@1 1041 as_dirs=
meillo@1 1042 while :; do
meillo@1 1043 case $as_dir in #(
meillo@1 1044 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
meillo@1 1045 *) as_qdir=$as_dir;;
meillo@1 1046 esac
meillo@1 1047 as_dirs="'$as_qdir' $as_dirs"
meillo@1 1048 as_dir=`$as_dirname -- "$as_dir" ||
meillo@1 1049 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
meillo@1 1050 X"$as_dir" : 'X\(//\)[^/]' \| \
meillo@1 1051 X"$as_dir" : 'X\(//\)$' \| \
meillo@1 1052 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
meillo@1 1053 echo X"$as_dir" |
meillo@1 1054 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
meillo@1 1055 s//\1/
meillo@1 1056 q
meillo@1 1057 }
meillo@1 1058 /^X\(\/\/\)[^/].*/{
meillo@1 1059 s//\1/
meillo@1 1060 q
meillo@1 1061 }
meillo@1 1062 /^X\(\/\/\)$/{
meillo@1 1063 s//\1/
meillo@1 1064 q
meillo@1 1065 }
meillo@1 1066 /^X\(\/\).*/{
meillo@1 1067 s//\1/
meillo@1 1068 q
meillo@1 1069 }
meillo@1 1070 s/.*/./; q'`
meillo@1 1071 test -d "$as_dir" && break
meillo@1 1072 done
meillo@1 1073 test -z "$as_dirs" || eval "mkdir $as_dirs"
meillo@1 1074 } || test -d "$as_dir" || { { echo "$as_me:1080: error: cannot create directory $as_dir" >&5
meillo@1 1075 echo "$as_me: error: cannot create directory $as_dir" >&2;}
meillo@1 1076 { (exit 1); exit 1; }; }; }
meillo@1 1077 # echo "creating $dirpart/$file"
meillo@1 1078 echo '# dummy' > "$dirpart/$file"
meillo@1 1079 done
meillo@1 1080 done
meillo@1 1081 ;;
meillo@1 1082
meillo@1 1083 esac
meillo@1 1084 done # for ac_tag
meillo@1 1085
meillo@1 1086
meillo@1 1087 { (exit 0); exit 0; }