1#! /bin/sh 2# Generated by configure. 3# Run this file to recreate the current configuration. 4# Compiler output produced by configure, useful for debugging 5# configure, is in config.log if it exists. 6 7debug=false 8ac_cs_recheck=false 9ac_cs_silent=false 10SHELL=${CONFIG_SHELL-/bin/sh} 11## --------------------- ## 12## M4sh Initialization. ## 13## --------------------- ## 14 15# Be Bourne compatible 16if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 17 emulate sh 18 NULLCMD=: 19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 20 # is contrary to our usage. Disable this feature. 21 alias -g '${1+"$@"}'='"$@"' 22elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 23 set -o posix 24fi 25DUALCASE=1; export DUALCASE # for MKS sh 26 27# Support unset when possible. 28if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 29 as_unset=unset 30else 31 as_unset=false 32fi 33 34 35# Work around bugs in pre-3.0 UWIN ksh. 36$as_unset ENV MAIL MAILPATH 37PS1='$ ' 38PS2='> ' 39PS4='+ ' 40 41# NLS nuisances. 42for as_var in \ 43 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 44 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 45 LC_TELEPHONE LC_TIME 46do 47 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 48 eval $as_var=C; export $as_var 49 else 50 $as_unset $as_var 51 fi 52done 53 54# Required to use basename. 55if expr a : '\(a\)' >/dev/null 2>&1; then 56 as_expr=expr 57else 58 as_expr=false 59fi 60 61if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 62 as_basename=basename 63else 64 as_basename=false 65fi 66 67 68# Name of the executable. 69as_me=`$as_basename "$0" || 70$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 71 X"$0" : 'X\(//\)$' \| \ 72 X"$0" : 'X\(/\)$' \| \ 73 . : '\(.\)' 2>/dev/null || 74echo X/"$0" | 75 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 76 /^X\/\(\/\/\)$/{ s//\1/; q; } 77 /^X\/\(\/\).*/{ s//\1/; q; } 78 s/.*/./; q'` 79 80 81# PATH needs CR, and LINENO needs CR and PATH. 82# Avoid depending upon Character Ranges. 83as_cr_letters='abcdefghijklmnopqrstuvwxyz' 84as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 85as_cr_Letters=$as_cr_letters$as_cr_LETTERS 86as_cr_digits='0123456789' 87as_cr_alnum=$as_cr_Letters$as_cr_digits 88 89# The user is always right. 90if test "${PATH_SEPARATOR+set}" != set; then 91 echo "#! /bin/sh" >conf$$.sh 92 echo "exit 0" >>conf$$.sh 93 chmod +x conf$$.sh 94 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 95 PATH_SEPARATOR=';' 96 else 97 PATH_SEPARATOR=: 98 fi 99 rm -f conf$$.sh 100fi 101 102 103 as_lineno_1=$LINENO 104 as_lineno_2=$LINENO 105 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 106 test "x$as_lineno_1" != "x$as_lineno_2" && 107 test "x$as_lineno_3" = "x$as_lineno_2" || { 108 # Find who we are. Look in the path if we contain no path at all 109 # relative or not. 110 case $0 in 111 *[\\/]* ) as_myself=$0 ;; 112 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 113for as_dir in $PATH 114do 115 IFS=$as_save_IFS 116 test -z "$as_dir" && as_dir=. 117 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 118done 119 120 ;; 121 esac 122 # We did not find ourselves, most probably we were run as `sh COMMAND' 123 # in which case we are not to be found in the path. 124 if test "x$as_myself" = x; then 125 as_myself=$0 126 fi 127 if test ! -f "$as_myself"; then 128 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 129echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} 130 { (exit 1); exit 1; }; } 131 fi 132 case $CONFIG_SHELL in 133 '') 134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 135for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 136do 137 IFS=$as_save_IFS 138 test -z "$as_dir" && as_dir=. 139 for as_base in sh bash ksh sh5; do 140 case $as_dir in 141 /*) 142 if ("$as_dir/$as_base" -c ' 143 as_lineno_1=$LINENO 144 as_lineno_2=$LINENO 145 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 146 test "x$as_lineno_1" != "x$as_lineno_2" && 147 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 148 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 149 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 150 CONFIG_SHELL=$as_dir/$as_base 151 export CONFIG_SHELL 152 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 153 fi;; 154 esac 155 done 156done 157;; 158 esac 159 160 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 161 # uniformly replaced by the line number. The first 'sed' inserts a 162 # line-number line before each line; the second 'sed' does the real 163 # work. The second script uses 'N' to pair each line-number line 164 # with the numbered line, and appends trailing '-' during 165 # substitution so that $LINENO is not a special case at line end. 166 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 167 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 168 sed '=' <$as_myself | 169 sed ' 170 N 171 s,$,-, 172 : loop 173 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 174 t loop 175 s,-$,, 176 s,^['$as_cr_digits']*\n,, 177 ' >$as_me.lineno && 178 chmod +x $as_me.lineno || 179 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 180echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} 181 { (exit 1); exit 1; }; } 182 183 # Don't try to exec as it changes $[0], causing all sort of problems 184 # (the dirname of $[0] is not the place where we might find the 185 # original and so on. Autoconf is especially sensible to this). 186 . ./$as_me.lineno 187 # Exit status is that of the last command. 188 exit 189} 190 191 192case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 193 *c*,-n*) ECHO_N= ECHO_C=' 194' ECHO_T=' ' ;; 195 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 196 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 197esac 198 199if expr a : '\(a\)' >/dev/null 2>&1; then 200 as_expr=expr 201else 202 as_expr=false 203fi 204 205rm -f conf$$ conf$$.exe conf$$.file 206echo >conf$$.file 207if ln -s conf$$.file conf$$ 2>/dev/null; then 208 # We could just check for DJGPP; but this test a) works b) is more generic 209 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 210 if test -f conf$$.exe; then 211 # Don't use ln at all; we don't have any links 212 as_ln_s='cp -p' 213 else 214 as_ln_s='ln -s' 215 fi 216elif ln conf$$.file conf$$ 2>/dev/null; then 217 as_ln_s=ln 218else 219 as_ln_s='cp -p' 220fi 221rm -f conf$$ conf$$.exe conf$$.file 222 223if mkdir -p . 2>/dev/null; then 224 as_mkdir_p=: 225else 226 test -d ./-p && rmdir ./-p 227 as_mkdir_p=false 228fi 229 230as_executable_p="test -f" 231 232# Sed expression to map a string onto a valid CPP name. 233as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 234 235# Sed expression to map a string onto a valid variable name. 236as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 237 238 239# IFS 240# We need space, tab and new line, in precisely that order. 241as_nl=' 242' 243IFS=" $as_nl" 244 245# CDPATH. 246$as_unset CDPATH 247 248exec 6>&1 249 250# Open the log real soon, to keep \$[0] and so on meaningful, and to 251# report actual input values of CONFIG_FILES etc. instead of their 252# values after options handling. Logging --version etc. is OK. 253exec 5>>config.log 254{ 255 echo 256 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 257## Running $as_me. ## 258_ASBOX 259} >&5 260cat >&5 <<_CSEOF 261 262This file was extended by $as_me, which was 263generated by GNU Autoconf 2.59. Invocation command line was 264 265 CONFIG_FILES = $CONFIG_FILES 266 CONFIG_HEADERS = $CONFIG_HEADERS 267 CONFIG_LINKS = $CONFIG_LINKS 268 CONFIG_COMMANDS = $CONFIG_COMMANDS 269 $ $0 $@ 270 271_CSEOF 272echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 273echo >&5 274config_files=" Makefile" 275config_headers=" config.h" 276config_commands=" default-1" 277 278ac_cs_usage="\ 279\`$as_me' instantiates files from templates according to the 280current configuration. 281 282Usage: $0 [OPTIONS] [FILE]... 283 284 -h, --help print this help, then exit 285 -V, --version print version number, then exit 286 -q, --quiet do not print progress messages 287 -d, --debug don't remove temporary files 288 --recheck update $as_me by reconfiguring in the same conditions 289 --file=FILE[:TEMPLATE] 290 instantiate the configuration file FILE 291 --header=FILE[:TEMPLATE] 292 instantiate the configuration header FILE 293 294Configuration files: 295$config_files 296 297Configuration headers: 298$config_headers 299 300Configuration commands: 301$config_commands 302 303Report bugs to <bug-autoconf@gnu.org>." 304ac_cs_version="\ 305config.status 306configured by ./configure, generated by GNU Autoconf 2.59, 307 with options \"\" 308 309Copyright (C) 2003 Free Software Foundation, Inc. 310This config.status script is free software; the Free Software Foundation 311gives unlimited permission to copy, distribute and modify it." 312srcdir=. 313INSTALL="/bin/install -c" 314# If no file are specified by the user, then we need to provide default 315# value. By we need to know if files were specified by the user. 316ac_need_defaults=: 317while test $# != 0 318do 319 case $1 in 320 --*=*) 321 ac_option=`expr "x$1" : 'x\([^=]*\)='` 322 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` 323 ac_shift=: 324 ;; 325 -*) 326 ac_option=$1 327 ac_optarg=$2 328 ac_shift=shift 329 ;; 330 *) # This is not an option, so the user has probably given explicit 331 # arguments. 332 ac_option=$1 333 ac_need_defaults=false;; 334 esac 335 336 case $ac_option in 337 # Handling of the options. 338 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 339 ac_cs_recheck=: ;; 340 --version | --vers* | -V ) 341 echo "$ac_cs_version"; exit 0 ;; 342 --he | --h) 343 # Conflict between --help and --header 344 { { echo "$as_me:$LINENO: error: ambiguous option: $1 345Try \`$0 --help' for more information." >&5 346echo "$as_me: error: ambiguous option: $1 347Try \`$0 --help' for more information." >&2;} 348 { (exit 1); exit 1; }; };; 349 --help | --hel | -h ) 350 echo "$ac_cs_usage"; exit 0 ;; 351 --debug | --d* | -d ) 352 debug=: ;; 353 --file | --fil | --fi | --f ) 354 $ac_shift 355 CONFIG_FILES="$CONFIG_FILES $ac_optarg" 356 ac_need_defaults=false;; 357 --header | --heade | --head | --hea ) 358 $ac_shift 359 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 360 ac_need_defaults=false;; 361 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 362 | -silent | --silent | --silen | --sile | --sil | --si | --s) 363 ac_cs_silent=: ;; 364 365 # This is an error. 366 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 367Try \`$0 --help' for more information." >&5 368echo "$as_me: error: unrecognized option: $1 369Try \`$0 --help' for more information." >&2;} 370 { (exit 1); exit 1; }; } ;; 371 372 *) ac_config_targets="$ac_config_targets $1" ;; 373 374 esac 375 shift 376done 377 378ac_configure_extra_args= 379 380if $ac_cs_silent; then 381 exec 6>/dev/null 382 ac_configure_extra_args="$ac_configure_extra_args --silent" 383fi 384 385if $ac_cs_recheck; then 386 echo "running /bin/sh ./configure " $ac_configure_extra_args " --no-create --no-recursion" >&6 387 exec /bin/sh ./configure $ac_configure_extra_args --no-create --no-recursion 388fi 389 390# 391# INIT-COMMANDS section. 392# 393 394 395 396for ac_config_target in $ac_config_targets 397do 398 case "$ac_config_target" in 399 # Handling of arguments. 400 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; 401 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;; 402 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 403 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 404echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 405 { (exit 1); exit 1; }; };; 406 esac 407done 408 409# If the user did not use the arguments to specify the items to instantiate, 410# then the envvar interface is used. Set only those that are not. 411# We use the long form for the default assignment because of an extremely 412# bizarre bug on SunOS 4.1.3. 413if $ac_need_defaults; then 414 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 415 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 416 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 417fi 418 419# Have a temporary directory for convenience. Make it in the build tree 420# simply because there is no reason to put it here, and in addition, 421# creating and moving files from /tmp can sometimes cause problems. 422# Create a temporary directory, and hook for its removal unless debugging. 423$debug || 424{ 425 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 426 trap '{ (exit 1); exit 1; }' 1 2 13 15 427} 428 429# Create a (secure) tmp directory for tmp files. 430 431{ 432 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && 433 test -n "$tmp" && test -d "$tmp" 434} || 435{ 436 tmp=./confstat$$-$RANDOM 437 (umask 077 && mkdir $tmp) 438} || 439{ 440 echo "$me: cannot create a temporary directory in ." >&2 441 { (exit 1); exit 1; } 442} 443 444 445# 446# CONFIG_FILES section. 447# 448 449# No need to generate the scripts if there are no CONFIG_FILES. 450# This happens for instance when ./config.status config.h 451if test -n "$CONFIG_FILES"; then 452 # Protect against being on the right side of a sed subst in config.status. 453 sed 's/,@/@@/; s/@,/@@/; s/,;t t$/@;t t/; /@;t t$/s/[\\&,]/\\&/g; 454 s/@@/,@/; s/@@/@,/; s/@;t t$/,;t t/' >$tmp/subs.sed <<\CEOF 455s,@SHELL@,/bin/sh,;t t 456s,@PATH_SEPARATOR@,:,;t t 457s,@PACKAGE_NAME@,,;t t 458s,@PACKAGE_TARNAME@,,;t t 459s,@PACKAGE_VERSION@,,;t t 460s,@PACKAGE_STRING@,,;t t 461s,@PACKAGE_BUGREPORT@,,;t t 462s,@exec_prefix@,${prefix},;t t 463s,@prefix@,/usr/local,;t t 464s,@program_transform_name@,s,x,x,,;t t 465s,@bindir@,${exec_prefix}/bin,;t t 466s,@sbindir@,${exec_prefix}/sbin,;t t 467s,@libexecdir@,${exec_prefix}/libexec,;t t 468s,@datadir@,${prefix}/share,;t t 469s,@sysconfdir@,${prefix}/etc,;t t 470s,@sharedstatedir@,${prefix}/com,;t t 471s,@localstatedir@,${prefix}/var,;t t 472s,@libdir@,${exec_prefix}/lib,;t t 473s,@includedir@,${prefix}/include,;t t 474s,@oldincludedir@,/usr/include,;t t 475s,@infodir@,${prefix}/info,;t t 476s,@mandir@,${prefix}/man,;t t 477s,@build_alias@,,;t t 478s,@host_alias@,,;t t 479s,@target_alias@,,;t t 480s,@DEFS@,-DHAVE_CONFIG_H,;t t 481s,@ECHO_C@,,;t t 482s,@ECHO_N@,-n,;t t 483s,@ECHO_T@,,;t t 484s,@LIBS@,-lpcap -lsocket ,;t t 485s,@build@,i586-pc-beos,;t t 486s,@build_cpu@,i586,;t t 487s,@build_vendor@,pc,;t t 488s,@build_os@,beos,;t t 489s,@host@,i586-pc-beos,;t t 490s,@host_cpu@,i586,;t t 491s,@host_vendor@,pc,;t t 492s,@host_os@,beos,;t t 493s,@SHLICC2@,,;t t 494s,@CC@,gcc,;t t 495s,@CFLAGS@,-g -O2,;t t 496s,@LDFLAGS@,,;t t 497s,@CPPFLAGS@, -I$(srcdir)/missing,;t t 498s,@ac_ct_CC@,gcc,;t t 499s,@EXEEXT@,,;t t 500s,@OBJEXT@,o,;t t 501s,@CPP@,gcc -E,;t t 502s,@EGREP@,grep -E,;t t 503s,@LIBOBJS@, strsep$U.o datalinks$U.o dlnames$U.o pcap_dump_ftell$U.o inet_ntop$U.o inet_pton$U.o inet_aton$U.o bpf_dump$U.o,;t t 504s,@V_CCOPT@,-O2,;t t 505s,@V_DEFS@, -D_U_="__attribute__((unused))",;t t 506s,@V_GROUP@,0,;t t 507s,@V_INCLS@, -I$(srcdir)/missing,;t t 508s,@V_PCAPDEP@,,;t t 509s,@LOCALSRC@,print-smb.c smbutil.c ,;t t 510s,@INSTALL_PROGRAM@,${INSTALL},;t t 511s,@INSTALL_SCRIPT@,${INSTALL},;t t 512s,@INSTALL_DATA@,${INSTALL} -m 644,;t t 513s,@LTLIBOBJS@, strsep$U.lo datalinks$U.lo dlnames$U.lo pcap_dump_ftell$U.lo inet_ntop$U.lo inet_pton$U.lo inet_aton$U.lo bpf_dump$U.lo,;t t 514CEOF 515 516 # Split the substitutions into bite-sized pieces for seds with 517 # small command number limits, like on Digital OSF/1 and HP-UX. 518 ac_max_sed_lines=48 519 ac_sed_frag=1 # Number of current file. 520 ac_beg=1 # First line for current file. 521 ac_end=$ac_max_sed_lines # Line after last line for current file. 522 ac_more_lines=: 523 ac_sed_cmds= 524 while $ac_more_lines; do 525 if test $ac_beg -gt 1; then 526 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 527 else 528 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 529 fi 530 if test ! -s $tmp/subs.frag; then 531 ac_more_lines=false 532 else 533 # The purpose of the label and of the branching condition is to 534 # speed up the sed processing (if there are no `@' at all, there 535 # is no need to browse any of the substitutions). 536 # These are the two extra sed commands mentioned above. 537 (echo ':t 538 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed 539 if test -z "$ac_sed_cmds"; then 540 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" 541 else 542 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" 543 fi 544 ac_sed_frag=`expr $ac_sed_frag + 1` 545 ac_beg=$ac_end 546 ac_end=`expr $ac_end + $ac_max_sed_lines` 547 fi 548 done 549 if test -z "$ac_sed_cmds"; then 550 ac_sed_cmds=cat 551 fi 552fi # test -n "$CONFIG_FILES" 553 554for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue 555 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 556 case $ac_file in 557 - | *:- | *:-:* ) # input from stdin 558 cat >$tmp/stdin 559 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 560 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 561 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 562 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 563 * ) ac_file_in=$ac_file.in ;; 564 esac 565 566 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. 567 ac_dir=`(dirname "$ac_file") 2>/dev/null || 568$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 569 X"$ac_file" : 'X\(//\)[^/]' \| \ 570 X"$ac_file" : 'X\(//\)$' \| \ 571 X"$ac_file" : 'X\(/\)' \| \ 572 . : '\(.\)' 2>/dev/null || 573echo X"$ac_file" | 574 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 575 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 576 /^X\(\/\/\)$/{ s//\1/; q; } 577 /^X\(\/\).*/{ s//\1/; q; } 578 s/.*/./; q'` 579 { if $as_mkdir_p; then 580 mkdir -p "$ac_dir" 581 else 582 as_dir="$ac_dir" 583 as_dirs= 584 while test ! -d "$as_dir"; do 585 as_dirs="$as_dir $as_dirs" 586 as_dir=`(dirname "$as_dir") 2>/dev/null || 587$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 588 X"$as_dir" : 'X\(//\)[^/]' \| \ 589 X"$as_dir" : 'X\(//\)$' \| \ 590 X"$as_dir" : 'X\(/\)' \| \ 591 . : '\(.\)' 2>/dev/null || 592echo X"$as_dir" | 593 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 594 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 595 /^X\(\/\/\)$/{ s//\1/; q; } 596 /^X\(\/\).*/{ s//\1/; q; } 597 s/.*/./; q'` 598 done 599 test ! -n "$as_dirs" || mkdir $as_dirs 600 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 601echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 602 { (exit 1); exit 1; }; }; } 603 604 ac_builddir=. 605 606if test "$ac_dir" != .; then 607 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 608 # A "../" for each directory in $ac_dir_suffix. 609 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 610else 611 ac_dir_suffix= ac_top_builddir= 612fi 613 614case $srcdir in 615 .) # No --srcdir option. We are building in place. 616 ac_srcdir=. 617 if test -z "$ac_top_builddir"; then 618 ac_top_srcdir=. 619 else 620 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 621 fi ;; 622 [\\/]* | ?:[\\/]* ) # Absolute path. 623 ac_srcdir=$srcdir$ac_dir_suffix; 624 ac_top_srcdir=$srcdir ;; 625 *) # Relative path. 626 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 627 ac_top_srcdir=$ac_top_builddir$srcdir ;; 628esac 629 630# Do not use `cd foo && pwd` to compute absolute paths, because 631# the directories may not exist. 632case `pwd` in 633.) ac_abs_builddir="$ac_dir";; 634*) 635 case "$ac_dir" in 636 .) ac_abs_builddir=`pwd`;; 637 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 638 *) ac_abs_builddir=`pwd`/"$ac_dir";; 639 esac;; 640esac 641case $ac_abs_builddir in 642.) ac_abs_top_builddir=${ac_top_builddir}.;; 643*) 644 case ${ac_top_builddir}. in 645 .) ac_abs_top_builddir=$ac_abs_builddir;; 646 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 647 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 648 esac;; 649esac 650case $ac_abs_builddir in 651.) ac_abs_srcdir=$ac_srcdir;; 652*) 653 case $ac_srcdir in 654 .) ac_abs_srcdir=$ac_abs_builddir;; 655 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 656 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 657 esac;; 658esac 659case $ac_abs_builddir in 660.) ac_abs_top_srcdir=$ac_top_srcdir;; 661*) 662 case $ac_top_srcdir in 663 .) ac_abs_top_srcdir=$ac_abs_builddir;; 664 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 665 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 666 esac;; 667esac 668 669 670 case $INSTALL in 671 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 672 *) ac_INSTALL=$ac_top_builddir$INSTALL ;; 673 esac 674 675 if test x"$ac_file" != x-; then 676 { echo "$as_me:$LINENO: creating $ac_file" >&5 677echo "$as_me: creating $ac_file" >&6;} 678 rm -f "$ac_file" 679 fi 680 # Let's still pretend it is `configure' which instantiates (i.e., don't 681 # use $as_me), people would be surprised to read: 682 # /* config.h. Generated by config.status. */ 683 if test x"$ac_file" = x-; then 684 configure_input= 685 else 686 configure_input="$ac_file. " 687 fi 688 configure_input=$configure_input"Generated from `echo $ac_file_in | 689 sed 's,.*/,,'` by configure." 690 691 # First look for the input files in the build tree, otherwise in the 692 # src tree. 693 ac_file_inputs=`IFS=: 694 for f in $ac_file_in; do 695 case $f in 696 -) echo $tmp/stdin ;; 697 [\\/$]*) 698 # Absolute (can't be DOS-style, as IFS=:) 699 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 700echo "$as_me: error: cannot find input file: $f" >&2;} 701 { (exit 1); exit 1; }; } 702 echo "$f";; 703 *) # Relative 704 if test -f "$f"; then 705 # Build tree 706 echo "$f" 707 elif test -f "$srcdir/$f"; then 708 # Source tree 709 echo "$srcdir/$f" 710 else 711 # /dev/null tree 712 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 713echo "$as_me: error: cannot find input file: $f" >&2;} 714 { (exit 1); exit 1; }; } 715 fi;; 716 esac 717 done` || { (exit 1); exit 1; } 718 sed "/^[ ]*VPATH[ ]*=/{ 719s/:*\$(srcdir):*/:/; 720s/:*\${srcdir}:*/:/; 721s/:*@srcdir@:*/:/; 722s/^\([^=]*=[ ]*\):*/\1/; 723s/:*$//; 724s/^[^=]*=[ ]*$//; 725} 726 727:t 728/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 729s,@configure_input@,$configure_input,;t t 730s,@srcdir@,$ac_srcdir,;t t 731s,@abs_srcdir@,$ac_abs_srcdir,;t t 732s,@top_srcdir@,$ac_top_srcdir,;t t 733s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t 734s,@builddir@,$ac_builddir,;t t 735s,@abs_builddir@,$ac_abs_builddir,;t t 736s,@top_builddir@,$ac_top_builddir,;t t 737s,@abs_top_builddir@,$ac_abs_top_builddir,;t t 738s,@INSTALL@,$ac_INSTALL,;t t 739" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out 740 rm -f $tmp/stdin 741 if test x"$ac_file" != x-; then 742 mv $tmp/out $ac_file 743 else 744 cat $tmp/out 745 rm -f $tmp/out 746 fi 747 748done 749 750# 751# CONFIG_HEADER section. 752# 753 754# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where 755# NAME is the cpp macro being defined and VALUE is the value it is being given. 756# 757# ac_d sets the value in "#define NAME VALUE" lines. 758ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' 759ac_dB='[ ].*$,\1#\2' 760ac_dC=' ' 761ac_dD=',;t' 762# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". 763ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' 764ac_uB='$,\1#\2define\3' 765ac_uC=' ' 766ac_uD=',;t' 767 768for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue 769 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 770 case $ac_file in 771 - | *:- | *:-:* ) # input from stdin 772 cat >$tmp/stdin 773 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 774 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 775 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 776 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 777 * ) ac_file_in=$ac_file.in ;; 778 esac 779 780 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 781echo "$as_me: creating $ac_file" >&6;} 782 783 # First look for the input files in the build tree, otherwise in the 784 # src tree. 785 ac_file_inputs=`IFS=: 786 for f in $ac_file_in; do 787 case $f in 788 -) echo $tmp/stdin ;; 789 [\\/$]*) 790 # Absolute (can't be DOS-style, as IFS=:) 791 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 792echo "$as_me: error: cannot find input file: $f" >&2;} 793 { (exit 1); exit 1; }; } 794 # Do quote $f, to prevent DOS paths from being IFS'd. 795 echo "$f";; 796 *) # Relative 797 if test -f "$f"; then 798 # Build tree 799 echo "$f" 800 elif test -f "$srcdir/$f"; then 801 # Source tree 802 echo "$srcdir/$f" 803 else 804 # /dev/null tree 805 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 806echo "$as_me: error: cannot find input file: $f" >&2;} 807 { (exit 1); exit 1; }; } 808 fi;; 809 esac 810 done` || { (exit 1); exit 1; } 811 # Remove the trailing spaces. 812 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in 813 814 # Handle all the #define templates only if necessary. 815 if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then 816 # If there are no defines, we may have an empty if/fi 817 : 818 cat >$tmp/defines.sed <<CEOF 819/^[ ]*#[ ]*define/!b 820t clr 821: clr 822${ac_dA}PACKAGE_NAME${ac_dB}PACKAGE_NAME${ac_dC}""${ac_dD} 823${ac_dA}PACKAGE_TARNAME${ac_dB}PACKAGE_TARNAME${ac_dC}""${ac_dD} 824${ac_dA}PACKAGE_VERSION${ac_dB}PACKAGE_VERSION${ac_dC}""${ac_dD} 825${ac_dA}PACKAGE_STRING${ac_dB}PACKAGE_STRING${ac_dC}""${ac_dD} 826${ac_dA}PACKAGE_BUGREPORT${ac_dB}PACKAGE_BUGREPORT${ac_dC}""${ac_dD} 827${ac_dA}inline${ac_dB}inline${ac_dC}inline${ac_dD} 828${ac_dA}HAVE___ATTRIBUTE__${ac_dB}HAVE___ATTRIBUTE__${ac_dC}1${ac_dD} 829${ac_dA}STDC_HEADERS${ac_dB}STDC_HEADERS${ac_dC}1${ac_dD} 830${ac_dA}HAVE_SYS_TYPES_H${ac_dB}HAVE_SYS_TYPES_H${ac_dC}1${ac_dD} 831${ac_dA}HAVE_SYS_STAT_H${ac_dB}HAVE_SYS_STAT_H${ac_dC}1${ac_dD} 832${ac_dA}HAVE_STDLIB_H${ac_dB}HAVE_STDLIB_H${ac_dC}1${ac_dD} 833${ac_dA}HAVE_STRING_H${ac_dB}HAVE_STRING_H${ac_dC}1${ac_dD} 834${ac_dA}HAVE_MEMORY_H${ac_dB}HAVE_MEMORY_H${ac_dC}1${ac_dD} 835${ac_dA}HAVE_STRINGS_H${ac_dB}HAVE_STRINGS_H${ac_dC}1${ac_dD} 836${ac_dA}HAVE_INTTYPES_H${ac_dB}HAVE_INTTYPES_H${ac_dC}1${ac_dD} 837${ac_dA}HAVE_UNISTD_H${ac_dB}HAVE_UNISTD_H${ac_dC}1${ac_dD} 838${ac_dA}HAVE_FCNTL_H${ac_dB}HAVE_FCNTL_H${ac_dC}1${ac_dD} 839${ac_dA}TIME_WITH_SYS_TIME${ac_dB}TIME_WITH_SYS_TIME${ac_dC}1${ac_dD} 840${ac_dA}TCPDUMP_DO_SMB${ac_dB}TCPDUMP_DO_SMB${ac_dC}1${ac_dD} 841${ac_dA}SIZEOF_CHAR${ac_dB}SIZEOF_CHAR${ac_dC}1${ac_dD} 842${ac_dA}SIZEOF_SHORT${ac_dB}SIZEOF_SHORT${ac_dC}2${ac_dD} 843${ac_dA}SIZEOF_INT${ac_dB}SIZEOF_INT${ac_dC}4${ac_dD} 844${ac_dA}SIZEOF_LONG${ac_dB}SIZEOF_LONG${ac_dC}4${ac_dD} 845${ac_dA}SIZEOF_LONG_LONG${ac_dB}SIZEOF_LONG_LONG${ac_dC}8${ac_dD} 846${ac_dA}HAVE_ADDRINFO${ac_dB}HAVE_ADDRINFO${ac_dC}1${ac_dD} 847${ac_dA}HAVE_INADDRSZ${ac_dB}HAVE_INADDRSZ${ac_dC}1${ac_dD} 848${ac_dA}HAVE_IN6ADDRSZ${ac_dB}HAVE_IN6ADDRSZ${ac_dC}1${ac_dD} 849${ac_dA}HAVE_VFPRINTF${ac_dB}HAVE_VFPRINTF${ac_dC}1${ac_dD} 850${ac_dA}HAVE_STRCASECMP${ac_dB}HAVE_STRCASECMP${ac_dC}1${ac_dD} 851${ac_dA}HAVE_STRLCAT${ac_dB}HAVE_STRLCAT${ac_dC}1${ac_dD} 852${ac_dA}HAVE_STRLCPY${ac_dB}HAVE_STRLCPY${ac_dC}1${ac_dD} 853${ac_dA}HAVE_STRDUP${ac_dB}HAVE_STRDUP${ac_dC}1${ac_dD} 854${ac_dA}HAVE_STRFTIME${ac_dB}HAVE_STRFTIME${ac_dC}1${ac_dD} 855${ac_dA}HAVE_SETLINEBUF${ac_dB}HAVE_SETLINEBUF${ac_dC}1${ac_dD} 856${ac_dA}HAVE_ALARM${ac_dB}HAVE_ALARM${ac_dC}1${ac_dD} 857${ac_dA}HAVE_VSNPRINTF${ac_dB}HAVE_VSNPRINTF${ac_dC}1${ac_dD} 858${ac_dA}HAVE_SNPRINTF${ac_dB}HAVE_SNPRINTF${ac_dC}1${ac_dD} 859${ac_dA}RETSIGTYPE${ac_dB}RETSIGTYPE${ac_dC}void${ac_dD} 860CEOF 861 sed -f $tmp/defines.sed $tmp/in >$tmp/out 862 rm -f $tmp/in 863 mv $tmp/out $tmp/in 864 865 cat >$tmp/defines.sed <<CEOF 866/^[ ]*#[ ]*define/!b 867t clr 868: clr 869${ac_dA}RETSIGVAL${ac_dB}RETSIGVAL${ac_dC}${ac_dD} 870${ac_dA}HAVE_SIGACTION${ac_dB}HAVE_SIGACTION${ac_dC}1${ac_dD} 871${ac_dA}HAVE_SOCKADDR_SA_LEN${ac_dB}HAVE_SOCKADDR_SA_LEN${ac_dC}1${ac_dD} 872${ac_dA}HAVE_PCAP_VERSION${ac_dB}HAVE_PCAP_VERSION${ac_dC}1${ac_dD} 873${ac_dA}HAVE_SYS_BITYPES_H${ac_dB}HAVE_SYS_BITYPES_H${ac_dC}1${ac_dD} 874${ac_dA}HAVE_INTTYPES_H${ac_dB}HAVE_INTTYPES_H${ac_dC}1${ac_dD} 875${ac_dA}PRId64${ac_dB}PRId64${ac_dC}"lld"${ac_dD} 876${ac_dA}PRIo64${ac_dB}PRIo64${ac_dC}"llo"${ac_dD} 877${ac_dA}PRIx64${ac_dB}PRIx64${ac_dC}"llx"${ac_dD} 878${ac_dA}PRIu64${ac_dB}PRIu64${ac_dC}"llu"${ac_dD} 879${ac_dA}HAVE_SOCKADDR_SA_LEN${ac_dB}HAVE_SOCKADDR_SA_LEN${ac_dC}1${ac_dD} 880${ac_dA}HAVE_H_ERRNO${ac_dB}HAVE_H_ERRNO${ac_dC}1${ac_dD} 881CEOF 882 sed -f $tmp/defines.sed $tmp/in >$tmp/out 883 rm -f $tmp/in 884 mv $tmp/out $tmp/in 885 886 fi # grep 887 888 # Handle all the #undef templates 889 cat >$tmp/undefs.sed <<CEOF 890/^[ ]*#[ ]*undef/!b 891t clr 892: clr 893${ac_uA}PACKAGE_NAME${ac_uB}PACKAGE_NAME${ac_uC}""${ac_uD} 894${ac_uA}PACKAGE_TARNAME${ac_uB}PACKAGE_TARNAME${ac_uC}""${ac_uD} 895${ac_uA}PACKAGE_VERSION${ac_uB}PACKAGE_VERSION${ac_uC}""${ac_uD} 896${ac_uA}PACKAGE_STRING${ac_uB}PACKAGE_STRING${ac_uC}""${ac_uD} 897${ac_uA}PACKAGE_BUGREPORT${ac_uB}PACKAGE_BUGREPORT${ac_uC}""${ac_uD} 898${ac_uA}inline${ac_uB}inline${ac_uC}inline${ac_uD} 899${ac_uA}HAVE___ATTRIBUTE__${ac_uB}HAVE___ATTRIBUTE__${ac_uC}1${ac_uD} 900${ac_uA}STDC_HEADERS${ac_uB}STDC_HEADERS${ac_uC}1${ac_uD} 901${ac_uA}HAVE_SYS_TYPES_H${ac_uB}HAVE_SYS_TYPES_H${ac_uC}1${ac_uD} 902${ac_uA}HAVE_SYS_STAT_H${ac_uB}HAVE_SYS_STAT_H${ac_uC}1${ac_uD} 903${ac_uA}HAVE_STDLIB_H${ac_uB}HAVE_STDLIB_H${ac_uC}1${ac_uD} 904${ac_uA}HAVE_STRING_H${ac_uB}HAVE_STRING_H${ac_uC}1${ac_uD} 905${ac_uA}HAVE_MEMORY_H${ac_uB}HAVE_MEMORY_H${ac_uC}1${ac_uD} 906${ac_uA}HAVE_STRINGS_H${ac_uB}HAVE_STRINGS_H${ac_uC}1${ac_uD} 907${ac_uA}HAVE_INTTYPES_H${ac_uB}HAVE_INTTYPES_H${ac_uC}1${ac_uD} 908${ac_uA}HAVE_UNISTD_H${ac_uB}HAVE_UNISTD_H${ac_uC}1${ac_uD} 909${ac_uA}HAVE_FCNTL_H${ac_uB}HAVE_FCNTL_H${ac_uC}1${ac_uD} 910${ac_uA}TIME_WITH_SYS_TIME${ac_uB}TIME_WITH_SYS_TIME${ac_uC}1${ac_uD} 911${ac_uA}TCPDUMP_DO_SMB${ac_uB}TCPDUMP_DO_SMB${ac_uC}1${ac_uD} 912${ac_uA}SIZEOF_CHAR${ac_uB}SIZEOF_CHAR${ac_uC}1${ac_uD} 913${ac_uA}SIZEOF_SHORT${ac_uB}SIZEOF_SHORT${ac_uC}2${ac_uD} 914${ac_uA}SIZEOF_INT${ac_uB}SIZEOF_INT${ac_uC}4${ac_uD} 915${ac_uA}SIZEOF_LONG${ac_uB}SIZEOF_LONG${ac_uC}4${ac_uD} 916${ac_uA}SIZEOF_LONG_LONG${ac_uB}SIZEOF_LONG_LONG${ac_uC}8${ac_uD} 917${ac_uA}HAVE_ADDRINFO${ac_uB}HAVE_ADDRINFO${ac_uC}1${ac_uD} 918${ac_uA}HAVE_INADDRSZ${ac_uB}HAVE_INADDRSZ${ac_uC}1${ac_uD} 919${ac_uA}HAVE_IN6ADDRSZ${ac_uB}HAVE_IN6ADDRSZ${ac_uC}1${ac_uD} 920${ac_uA}HAVE_VFPRINTF${ac_uB}HAVE_VFPRINTF${ac_uC}1${ac_uD} 921${ac_uA}HAVE_STRCASECMP${ac_uB}HAVE_STRCASECMP${ac_uC}1${ac_uD} 922${ac_uA}HAVE_STRLCAT${ac_uB}HAVE_STRLCAT${ac_uC}1${ac_uD} 923${ac_uA}HAVE_STRLCPY${ac_uB}HAVE_STRLCPY${ac_uC}1${ac_uD} 924${ac_uA}HAVE_STRDUP${ac_uB}HAVE_STRDUP${ac_uC}1${ac_uD} 925${ac_uA}HAVE_STRFTIME${ac_uB}HAVE_STRFTIME${ac_uC}1${ac_uD} 926${ac_uA}HAVE_SETLINEBUF${ac_uB}HAVE_SETLINEBUF${ac_uC}1${ac_uD} 927${ac_uA}HAVE_ALARM${ac_uB}HAVE_ALARM${ac_uC}1${ac_uD} 928${ac_uA}HAVE_VSNPRINTF${ac_uB}HAVE_VSNPRINTF${ac_uC}1${ac_uD} 929${ac_uA}HAVE_SNPRINTF${ac_uB}HAVE_SNPRINTF${ac_uC}1${ac_uD} 930${ac_uA}RETSIGTYPE${ac_uB}RETSIGTYPE${ac_uC}void${ac_uD} 931CEOF 932 sed -f $tmp/undefs.sed $tmp/in >$tmp/out 933 rm -f $tmp/in 934 mv $tmp/out $tmp/in 935 936 cat >$tmp/undefs.sed <<CEOF 937/^[ ]*#[ ]*undef/!b 938t clr 939: clr 940${ac_uA}RETSIGVAL${ac_uB}RETSIGVAL${ac_uC}${ac_uD} 941${ac_uA}HAVE_SIGACTION${ac_uB}HAVE_SIGACTION${ac_uC}1${ac_uD} 942${ac_uA}HAVE_SOCKADDR_SA_LEN${ac_uB}HAVE_SOCKADDR_SA_LEN${ac_uC}1${ac_uD} 943${ac_uA}HAVE_PCAP_VERSION${ac_uB}HAVE_PCAP_VERSION${ac_uC}1${ac_uD} 944${ac_uA}HAVE_SYS_BITYPES_H${ac_uB}HAVE_SYS_BITYPES_H${ac_uC}1${ac_uD} 945${ac_uA}HAVE_INTTYPES_H${ac_uB}HAVE_INTTYPES_H${ac_uC}1${ac_uD} 946${ac_uA}PRId64${ac_uB}PRId64${ac_uC}"lld"${ac_uD} 947${ac_uA}PRIo64${ac_uB}PRIo64${ac_uC}"llo"${ac_uD} 948${ac_uA}PRIx64${ac_uB}PRIx64${ac_uC}"llx"${ac_uD} 949${ac_uA}PRIu64${ac_uB}PRIu64${ac_uC}"llu"${ac_uD} 950${ac_uA}HAVE_SOCKADDR_SA_LEN${ac_uB}HAVE_SOCKADDR_SA_LEN${ac_uC}1${ac_uD} 951${ac_uA}HAVE_H_ERRNO${ac_uB}HAVE_H_ERRNO${ac_uC}1${ac_uD} 952s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, 953CEOF 954 sed -f $tmp/undefs.sed $tmp/in >$tmp/out 955 rm -f $tmp/in 956 mv $tmp/out $tmp/in 957 958 # Let's still pretend it is `configure' which instantiates (i.e., don't 959 # use $as_me), people would be surprised to read: 960 # /* config.h. Generated by config.status. */ 961 if test x"$ac_file" = x-; then 962 echo "/* Generated by configure. */" >$tmp/config.h 963 else 964 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h 965 fi 966 cat $tmp/in >>$tmp/config.h 967 rm -f $tmp/in 968 if test x"$ac_file" != x-; then 969 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then 970 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 971echo "$as_me: $ac_file is unchanged" >&6;} 972 else 973 ac_dir=`(dirname "$ac_file") 2>/dev/null || 974$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 975 X"$ac_file" : 'X\(//\)[^/]' \| \ 976 X"$ac_file" : 'X\(//\)$' \| \ 977 X"$ac_file" : 'X\(/\)' \| \ 978 . : '\(.\)' 2>/dev/null || 979echo X"$ac_file" | 980 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 981 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 982 /^X\(\/\/\)$/{ s//\1/; q; } 983 /^X\(\/\).*/{ s//\1/; q; } 984 s/.*/./; q'` 985 { if $as_mkdir_p; then 986 mkdir -p "$ac_dir" 987 else 988 as_dir="$ac_dir" 989 as_dirs= 990 while test ! -d "$as_dir"; do 991 as_dirs="$as_dir $as_dirs" 992 as_dir=`(dirname "$as_dir") 2>/dev/null || 993$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 994 X"$as_dir" : 'X\(//\)[^/]' \| \ 995 X"$as_dir" : 'X\(//\)$' \| \ 996 X"$as_dir" : 'X\(/\)' \| \ 997 . : '\(.\)' 2>/dev/null || 998echo X"$as_dir" | 999 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 1000 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 1001 /^X\(\/\/\)$/{ s//\1/; q; } 1002 /^X\(\/\).*/{ s//\1/; q; } 1003 s/.*/./; q'` 1004 done 1005 test ! -n "$as_dirs" || mkdir $as_dirs 1006 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 1007echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 1008 { (exit 1); exit 1; }; }; } 1009 1010 rm -f $ac_file 1011 mv $tmp/config.h $ac_file 1012 fi 1013 else 1014 cat $tmp/config.h 1015 rm -f $tmp/config.h 1016 fi 1017done 1018 1019# 1020# CONFIG_COMMANDS section. 1021# 1022for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue 1023 ac_dest=`echo "$ac_file" | sed 's,:.*,,'` 1024 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` 1025 ac_dir=`(dirname "$ac_dest") 2>/dev/null || 1026$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1027 X"$ac_dest" : 'X\(//\)[^/]' \| \ 1028 X"$ac_dest" : 'X\(//\)$' \| \ 1029 X"$ac_dest" : 'X\(/\)' \| \ 1030 . : '\(.\)' 2>/dev/null || 1031echo X"$ac_dest" | 1032 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 1033 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 1034 /^X\(\/\/\)$/{ s//\1/; q; } 1035 /^X\(\/\).*/{ s//\1/; q; } 1036 s/.*/./; q'` 1037 { if $as_mkdir_p; then 1038 mkdir -p "$ac_dir" 1039 else 1040 as_dir="$ac_dir" 1041 as_dirs= 1042 while test ! -d "$as_dir"; do 1043 as_dirs="$as_dir $as_dirs" 1044 as_dir=`(dirname "$as_dir") 2>/dev/null || 1045$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1046 X"$as_dir" : 'X\(//\)[^/]' \| \ 1047 X"$as_dir" : 'X\(//\)$' \| \ 1048 X"$as_dir" : 'X\(/\)' \| \ 1049 . : '\(.\)' 2>/dev/null || 1050echo X"$as_dir" | 1051 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 1052 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 1053 /^X\(\/\/\)$/{ s//\1/; q; } 1054 /^X\(\/\).*/{ s//\1/; q; } 1055 s/.*/./; q'` 1056 done 1057 test ! -n "$as_dirs" || mkdir $as_dirs 1058 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 1059echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 1060 { (exit 1); exit 1; }; }; } 1061 1062 ac_builddir=. 1063 1064if test "$ac_dir" != .; then 1065 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 1066 # A "../" for each directory in $ac_dir_suffix. 1067 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 1068else 1069 ac_dir_suffix= ac_top_builddir= 1070fi 1071 1072case $srcdir in 1073 .) # No --srcdir option. We are building in place. 1074 ac_srcdir=. 1075 if test -z "$ac_top_builddir"; then 1076 ac_top_srcdir=. 1077 else 1078 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 1079 fi ;; 1080 [\\/]* | ?:[\\/]* ) # Absolute path. 1081 ac_srcdir=$srcdir$ac_dir_suffix; 1082 ac_top_srcdir=$srcdir ;; 1083 *) # Relative path. 1084 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 1085 ac_top_srcdir=$ac_top_builddir$srcdir ;; 1086esac 1087 1088# Do not use `cd foo && pwd` to compute absolute paths, because 1089# the directories may not exist. 1090case `pwd` in 1091.) ac_abs_builddir="$ac_dir";; 1092*) 1093 case "$ac_dir" in 1094 .) ac_abs_builddir=`pwd`;; 1095 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 1096 *) ac_abs_builddir=`pwd`/"$ac_dir";; 1097 esac;; 1098esac 1099case $ac_abs_builddir in 1100.) ac_abs_top_builddir=${ac_top_builddir}.;; 1101*) 1102 case ${ac_top_builddir}. in 1103 .) ac_abs_top_builddir=$ac_abs_builddir;; 1104 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 1105 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 1106 esac;; 1107esac 1108case $ac_abs_builddir in 1109.) ac_abs_srcdir=$ac_srcdir;; 1110*) 1111 case $ac_srcdir in 1112 .) ac_abs_srcdir=$ac_abs_builddir;; 1113 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 1114 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 1115 esac;; 1116esac 1117case $ac_abs_builddir in 1118.) ac_abs_top_srcdir=$ac_top_srcdir;; 1119*) 1120 case $ac_top_srcdir in 1121 .) ac_abs_top_srcdir=$ac_abs_builddir;; 1122 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 1123 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 1124 esac;; 1125esac 1126 1127 1128 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5 1129echo "$as_me: executing $ac_dest commands" >&6;} 1130 case $ac_dest in 1131 default-1 ) if test -f .devel; then 1132 echo timestamp > stamp-h 1133 cat Makefile-devel-adds >> Makefile 1134 make depend 1135fi ;; 1136 esac 1137done 1138 1139{ (exit 0); exit 0; } 1140