Annotation of embedaddon/igmpproxy/configure, revision 1.1.1.1
1.1 misho 1: #! /bin/sh
2: # Guess values for system-dependent variables and create Makefiles.
3: # Generated by GNU Autoconf 2.63 for igmpproxy 0.1.
4: #
5: # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6: # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
7: # This configure script is free software; the Free Software Foundation
8: # gives unlimited permission to copy, distribute and modify it.
9: ## --------------------- ##
10: ## M4sh Initialization. ##
11: ## --------------------- ##
12:
13: # Be more Bourne compatible
14: DUALCASE=1; export DUALCASE # for MKS sh
15: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16: emulate sh
17: NULLCMD=:
18: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19: # is contrary to our usage. Disable this feature.
20: alias -g '${1+"$@"}'='"$@"'
21: setopt NO_GLOB_SUBST
22: else
23: case `(set -o) 2>/dev/null` in
24: *posix*) set -o posix ;;
25: esac
26:
27: fi
28:
29:
30:
31:
32: # PATH needs CR
33: # Avoid depending upon Character Ranges.
34: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37: as_cr_digits='0123456789'
38: as_cr_alnum=$as_cr_Letters$as_cr_digits
39:
40: as_nl='
41: '
42: export as_nl
43: # Printing a long string crashes Solaris 7 /usr/bin/printf.
44: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
45: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
46: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
47: if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48: as_echo='printf %s\n'
49: as_echo_n='printf %s'
50: else
51: if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52: as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53: as_echo_n='/usr/ucb/echo -n'
54: else
55: as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56: as_echo_n_body='eval
57: arg=$1;
58: case $arg in
59: *"$as_nl"*)
60: expr "X$arg" : "X\\(.*\\)$as_nl";
61: arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62: esac;
63: expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64: '
65: export as_echo_n_body
66: as_echo_n='sh -c $as_echo_n_body as_echo'
67: fi
68: export as_echo_body
69: as_echo='sh -c $as_echo_body as_echo'
70: fi
71:
72: # The user is always right.
73: if test "${PATH_SEPARATOR+set}" != set; then
74: PATH_SEPARATOR=:
75: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76: (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77: PATH_SEPARATOR=';'
78: }
79: fi
80:
81: # Support unset when possible.
82: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
83: as_unset=unset
84: else
85: as_unset=false
86: fi
87:
88:
89: # IFS
90: # We need space, tab and new line, in precisely that order. Quoting is
91: # there to prevent editors from complaining about space-tab.
92: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
93: # splitting by setting IFS to empty value.)
94: IFS=" "" $as_nl"
95:
96: # Find who we are. Look in the path if we contain no directory separator.
97: case $0 in
98: *[\\/]* ) as_myself=$0 ;;
99: *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100: for as_dir in $PATH
101: do
102: IFS=$as_save_IFS
103: test -z "$as_dir" && as_dir=.
104: test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
105: done
106: IFS=$as_save_IFS
107:
108: ;;
109: esac
110: # We did not find ourselves, most probably we were run as `sh COMMAND'
111: # in which case we are not to be found in the path.
112: if test "x$as_myself" = x; then
113: as_myself=$0
114: fi
115: if test ! -f "$as_myself"; then
116: $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117: { (exit 1); exit 1; }
118: fi
119:
120: # Work around bugs in pre-3.0 UWIN ksh.
121: for as_var in ENV MAIL MAILPATH
122: do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
123: done
124: PS1='$ '
125: PS2='> '
126: PS4='+ '
127:
128: # NLS nuisances.
129: LC_ALL=C
130: export LC_ALL
131: LANGUAGE=C
132: export LANGUAGE
133:
134: # Required to use basename.
135: if expr a : '\(a\)' >/dev/null 2>&1 &&
136: test "X`expr 00001 : '.*\(...\)'`" = X001; then
137: as_expr=expr
138: else
139: as_expr=false
140: fi
141:
142: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
143: as_basename=basename
144: else
145: as_basename=false
146: fi
147:
148:
149: # Name of the executable.
150: as_me=`$as_basename -- "$0" ||
151: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
152: X"$0" : 'X\(//\)$' \| \
153: X"$0" : 'X\(/\)' \| . 2>/dev/null ||
154: $as_echo X/"$0" |
155: sed '/^.*\/\([^/][^/]*\)\/*$/{
156: s//\1/
157: q
158: }
159: /^X\/\(\/\/\)$/{
160: s//\1/
161: q
162: }
163: /^X\/\(\/\).*/{
164: s//\1/
165: q
166: }
167: s/.*/./; q'`
168:
169: # CDPATH.
170: $as_unset CDPATH
171:
172:
173: if test "x$CONFIG_SHELL" = x; then
174: if (eval ":") 2>/dev/null; then
175: as_have_required=yes
176: else
177: as_have_required=no
178: fi
179:
180: if test $as_have_required = yes && (eval ":
181: (as_func_return () {
182: (exit \$1)
183: }
184: as_func_success () {
185: as_func_return 0
186: }
187: as_func_failure () {
188: as_func_return 1
189: }
190: as_func_ret_success () {
191: return 0
192: }
193: as_func_ret_failure () {
194: return 1
195: }
196:
197: exitcode=0
198: if as_func_success; then
199: :
200: else
201: exitcode=1
202: echo as_func_success failed.
203: fi
204:
205: if as_func_failure; then
206: exitcode=1
207: echo as_func_failure succeeded.
208: fi
209:
210: if as_func_ret_success; then
211: :
212: else
213: exitcode=1
214: echo as_func_ret_success failed.
215: fi
216:
217: if as_func_ret_failure; then
218: exitcode=1
219: echo as_func_ret_failure succeeded.
220: fi
221:
222: if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
223: :
224: else
225: exitcode=1
226: echo positional parameters were not saved.
227: fi
228:
229: test \$exitcode = 0) || { (exit 1); exit 1; }
230:
231: (
232: as_lineno_1=\$LINENO
233: as_lineno_2=\$LINENO
234: test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
235: test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
236: ") 2> /dev/null; then
237: :
238: else
239: as_candidate_shells=
240: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
241: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
242: do
243: IFS=$as_save_IFS
244: test -z "$as_dir" && as_dir=.
245: case $as_dir in
246: /*)
247: for as_base in sh bash ksh sh5; do
248: as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
249: done;;
250: esac
251: done
252: IFS=$as_save_IFS
253:
254:
255: for as_shell in $as_candidate_shells $SHELL; do
256: # Try only shells that exist, to save several forks.
257: if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
258: { ("$as_shell") 2> /dev/null <<\_ASEOF
259: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
260: emulate sh
261: NULLCMD=:
262: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
263: # is contrary to our usage. Disable this feature.
264: alias -g '${1+"$@"}'='"$@"'
265: setopt NO_GLOB_SUBST
266: else
267: case `(set -o) 2>/dev/null` in
268: *posix*) set -o posix ;;
269: esac
270:
271: fi
272:
273:
274: :
275: _ASEOF
276: }; then
277: CONFIG_SHELL=$as_shell
278: as_have_required=yes
279: if { "$as_shell" 2> /dev/null <<\_ASEOF
280: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
281: emulate sh
282: NULLCMD=:
283: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
284: # is contrary to our usage. Disable this feature.
285: alias -g '${1+"$@"}'='"$@"'
286: setopt NO_GLOB_SUBST
287: else
288: case `(set -o) 2>/dev/null` in
289: *posix*) set -o posix ;;
290: esac
291:
292: fi
293:
294:
295: :
296: (as_func_return () {
297: (exit $1)
298: }
299: as_func_success () {
300: as_func_return 0
301: }
302: as_func_failure () {
303: as_func_return 1
304: }
305: as_func_ret_success () {
306: return 0
307: }
308: as_func_ret_failure () {
309: return 1
310: }
311:
312: exitcode=0
313: if as_func_success; then
314: :
315: else
316: exitcode=1
317: echo as_func_success failed.
318: fi
319:
320: if as_func_failure; then
321: exitcode=1
322: echo as_func_failure succeeded.
323: fi
324:
325: if as_func_ret_success; then
326: :
327: else
328: exitcode=1
329: echo as_func_ret_success failed.
330: fi
331:
332: if as_func_ret_failure; then
333: exitcode=1
334: echo as_func_ret_failure succeeded.
335: fi
336:
337: if ( set x; as_func_ret_success y && test x = "$1" ); then
338: :
339: else
340: exitcode=1
341: echo positional parameters were not saved.
342: fi
343:
344: test $exitcode = 0) || { (exit 1); exit 1; }
345:
346: (
347: as_lineno_1=$LINENO
348: as_lineno_2=$LINENO
349: test "x$as_lineno_1" != "x$as_lineno_2" &&
350: test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
351:
352: _ASEOF
353: }; then
354: break
355: fi
356:
357: fi
358:
359: done
360:
361: if test "x$CONFIG_SHELL" != x; then
362: for as_var in BASH_ENV ENV
363: do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
364: done
365: export CONFIG_SHELL
366: exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
367: fi
368:
369:
370: if test $as_have_required = no; then
371: echo This script requires a shell more modern than all the
372: echo shells that I found on your system. Please install a
373: echo modern shell, or manually run the script under such a
374: echo shell if you do have one.
375: { (exit 1); exit 1; }
376: fi
377:
378:
379: fi
380:
381: fi
382:
383:
384:
385: (eval "as_func_return () {
386: (exit \$1)
387: }
388: as_func_success () {
389: as_func_return 0
390: }
391: as_func_failure () {
392: as_func_return 1
393: }
394: as_func_ret_success () {
395: return 0
396: }
397: as_func_ret_failure () {
398: return 1
399: }
400:
401: exitcode=0
402: if as_func_success; then
403: :
404: else
405: exitcode=1
406: echo as_func_success failed.
407: fi
408:
409: if as_func_failure; then
410: exitcode=1
411: echo as_func_failure succeeded.
412: fi
413:
414: if as_func_ret_success; then
415: :
416: else
417: exitcode=1
418: echo as_func_ret_success failed.
419: fi
420:
421: if as_func_ret_failure; then
422: exitcode=1
423: echo as_func_ret_failure succeeded.
424: fi
425:
426: if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
427: :
428: else
429: exitcode=1
430: echo positional parameters were not saved.
431: fi
432:
433: test \$exitcode = 0") || {
434: echo No shell found that supports shell functions.
435: echo Please tell bug-autoconf@gnu.org about your system,
436: echo including any error possibly output before this message.
437: echo This can help us improve future autoconf versions.
438: echo Configuration will now proceed without shell functions.
439: }
440:
441:
442:
443: as_lineno_1=$LINENO
444: as_lineno_2=$LINENO
445: test "x$as_lineno_1" != "x$as_lineno_2" &&
446: test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
447:
448: # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
449: # uniformly replaced by the line number. The first 'sed' inserts a
450: # line-number line after each line using $LINENO; the second 'sed'
451: # does the real work. The second script uses 'N' to pair each
452: # line-number line with the line containing $LINENO, and appends
453: # trailing '-' during substitution so that $LINENO is not a special
454: # case at line end.
455: # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
456: # scripts with optimization help from Paolo Bonzini. Blame Lee
457: # E. McMahon (1931-1989) for sed's syntax. :-)
458: sed -n '
459: p
460: /[$]LINENO/=
461: ' <$as_myself |
462: sed '
463: s/[$]LINENO.*/&-/
464: t lineno
465: b
466: :lineno
467: N
468: :loop
469: s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
470: t loop
471: s/-\n.*//
472: ' >$as_me.lineno &&
473: chmod +x "$as_me.lineno" ||
474: { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
475: { (exit 1); exit 1; }; }
476:
477: # Don't try to exec as it changes $[0], causing all sort of problems
478: # (the dirname of $[0] is not the place where we might find the
479: # original and so on. Autoconf is especially sensitive to this).
480: . "./$as_me.lineno"
481: # Exit status is that of the last command.
482: exit
483: }
484:
485:
486: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
487: as_dirname=dirname
488: else
489: as_dirname=false
490: fi
491:
492: ECHO_C= ECHO_N= ECHO_T=
493: case `echo -n x` in
494: -n*)
495: case `echo 'x\c'` in
496: *c*) ECHO_T=' ';; # ECHO_T is single tab character.
497: *) ECHO_C='\c';;
498: esac;;
499: *)
500: ECHO_N='-n';;
501: esac
502: if expr a : '\(a\)' >/dev/null 2>&1 &&
503: test "X`expr 00001 : '.*\(...\)'`" = X001; then
504: as_expr=expr
505: else
506: as_expr=false
507: fi
508:
509: rm -f conf$$ conf$$.exe conf$$.file
510: if test -d conf$$.dir; then
511: rm -f conf$$.dir/conf$$.file
512: else
513: rm -f conf$$.dir
514: mkdir conf$$.dir 2>/dev/null
515: fi
516: if (echo >conf$$.file) 2>/dev/null; then
517: if ln -s conf$$.file conf$$ 2>/dev/null; then
518: as_ln_s='ln -s'
519: # ... but there are two gotchas:
520: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
521: # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
522: # In both cases, we have to default to `cp -p'.
523: ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
524: as_ln_s='cp -p'
525: elif ln conf$$.file conf$$ 2>/dev/null; then
526: as_ln_s=ln
527: else
528: as_ln_s='cp -p'
529: fi
530: else
531: as_ln_s='cp -p'
532: fi
533: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
534: rmdir conf$$.dir 2>/dev/null
535:
536: if mkdir -p . 2>/dev/null; then
537: as_mkdir_p=:
538: else
539: test -d ./-p && rmdir ./-p
540: as_mkdir_p=false
541: fi
542:
543: if test -x / >/dev/null 2>&1; then
544: as_test_x='test -x'
545: else
546: if ls -dL / >/dev/null 2>&1; then
547: as_ls_L_option=L
548: else
549: as_ls_L_option=
550: fi
551: as_test_x='
552: eval sh -c '\''
553: if test -d "$1"; then
554: test -d "$1/.";
555: else
556: case $1 in
557: -*)set "./$1";;
558: esac;
559: case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
560: ???[sx]*):;;*)false;;esac;fi
561: '\'' sh
562: '
563: fi
564: as_executable_p=$as_test_x
565:
566: # Sed expression to map a string onto a valid CPP name.
567: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
568:
569: # Sed expression to map a string onto a valid variable name.
570: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
571:
572:
573:
574: exec 7<&0 </dev/null 6>&1
575:
576: # Name of the host.
577: # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
578: # so uname gets run too.
579: ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
580:
581: #
582: # Initializations.
583: #
584: ac_default_prefix=/usr/local
585: ac_clean_files=
586: ac_config_libobj_dir=.
587: LIBOBJS=
588: cross_compiling=no
589: subdirs=
590: MFLAGS=
591: MAKEFLAGS=
592: SHELL=${CONFIG_SHELL-/bin/sh}
593:
594: # Identity of this package.
595: PACKAGE_NAME='igmpproxy'
596: PACKAGE_TARNAME='igmpproxy'
597: PACKAGE_VERSION='0.1'
598: PACKAGE_STRING='igmpproxy 0.1'
599: PACKAGE_BUGREPORT=''
600:
601: ac_unique_file="src/igmpproxy.c"
602: ac_subst_vars='am__EXEEXT_FALSE
603: am__EXEEXT_TRUE
604: LTLIBOBJS
605: LIBOBJS
606: host_os
607: host_vendor
608: host_cpu
609: host
610: build_os
611: build_vendor
612: build_cpu
613: build
614: am__fastdepCC_FALSE
615: am__fastdepCC_TRUE
616: CCDEPMODE
617: AMDEPBACKSLASH
618: AMDEP_FALSE
619: AMDEP_TRUE
620: am__quote
621: am__include
622: DEPDIR
623: OBJEXT
624: EXEEXT
625: ac_ct_CC
626: CPPFLAGS
627: LDFLAGS
628: CFLAGS
629: CC
630: am__untar
631: am__tar
632: AMTAR
633: am__leading_dot
634: SET_MAKE
635: AWK
636: mkdir_p
637: MKDIR_P
638: INSTALL_STRIP_PROGRAM
639: STRIP
640: install_sh
641: MAKEINFO
642: AUTOHEADER
643: AUTOMAKE
644: AUTOCONF
645: ACLOCAL
646: VERSION
647: PACKAGE
648: CYGPATH_W
649: am__isrc
650: INSTALL_DATA
651: INSTALL_SCRIPT
652: INSTALL_PROGRAM
653: target_alias
654: host_alias
655: build_alias
656: LIBS
657: ECHO_T
658: ECHO_N
659: ECHO_C
660: DEFS
661: mandir
662: localedir
663: libdir
664: psdir
665: pdfdir
666: dvidir
667: htmldir
668: infodir
669: docdir
670: oldincludedir
671: includedir
672: localstatedir
673: sharedstatedir
674: sysconfdir
675: datadir
676: datarootdir
677: libexecdir
678: sbindir
679: bindir
680: program_transform_name
681: prefix
682: exec_prefix
683: PACKAGE_BUGREPORT
684: PACKAGE_STRING
685: PACKAGE_VERSION
686: PACKAGE_TARNAME
687: PACKAGE_NAME
688: PATH_SEPARATOR
689: SHELL'
690: ac_subst_files=''
691: ac_user_opts='
692: enable_option_checking
693: enable_dependency_tracking
694: '
695: ac_precious_vars='build_alias
696: host_alias
697: target_alias
698: CC
699: CFLAGS
700: LDFLAGS
701: LIBS
702: CPPFLAGS'
703:
704:
705: # Initialize some variables set by options.
706: ac_init_help=
707: ac_init_version=false
708: ac_unrecognized_opts=
709: ac_unrecognized_sep=
710: # The variables have the same names as the options, with
711: # dashes changed to underlines.
712: cache_file=/dev/null
713: exec_prefix=NONE
714: no_create=
715: no_recursion=
716: prefix=NONE
717: program_prefix=NONE
718: program_suffix=NONE
719: program_transform_name=s,x,x,
720: silent=
721: site=
722: srcdir=
723: verbose=
724: x_includes=NONE
725: x_libraries=NONE
726:
727: # Installation directory options.
728: # These are left unexpanded so users can "make install exec_prefix=/foo"
729: # and all the variables that are supposed to be based on exec_prefix
730: # by default will actually change.
731: # Use braces instead of parens because sh, perl, etc. also accept them.
732: # (The list follows the same order as the GNU Coding Standards.)
733: bindir='${exec_prefix}/bin'
734: sbindir='${exec_prefix}/sbin'
735: libexecdir='${exec_prefix}/libexec'
736: datarootdir='${prefix}/share'
737: datadir='${datarootdir}'
738: sysconfdir='${prefix}/etc'
739: sharedstatedir='${prefix}/com'
740: localstatedir='${prefix}/var'
741: includedir='${prefix}/include'
742: oldincludedir='/usr/include'
743: docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
744: infodir='${datarootdir}/info'
745: htmldir='${docdir}'
746: dvidir='${docdir}'
747: pdfdir='${docdir}'
748: psdir='${docdir}'
749: libdir='${exec_prefix}/lib'
750: localedir='${datarootdir}/locale'
751: mandir='${datarootdir}/man'
752:
753: ac_prev=
754: ac_dashdash=
755: for ac_option
756: do
757: # If the previous option needs an argument, assign it.
758: if test -n "$ac_prev"; then
759: eval $ac_prev=\$ac_option
760: ac_prev=
761: continue
762: fi
763:
764: case $ac_option in
765: *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
766: *) ac_optarg=yes ;;
767: esac
768:
769: # Accept the important Cygnus configure options, so we can diagnose typos.
770:
771: case $ac_dashdash$ac_option in
772: --)
773: ac_dashdash=yes ;;
774:
775: -bindir | --bindir | --bindi | --bind | --bin | --bi)
776: ac_prev=bindir ;;
777: -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
778: bindir=$ac_optarg ;;
779:
780: -build | --build | --buil | --bui | --bu)
781: ac_prev=build_alias ;;
782: -build=* | --build=* | --buil=* | --bui=* | --bu=*)
783: build_alias=$ac_optarg ;;
784:
785: -cache-file | --cache-file | --cache-fil | --cache-fi \
786: | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
787: ac_prev=cache_file ;;
788: -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
789: | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
790: cache_file=$ac_optarg ;;
791:
792: --config-cache | -C)
793: cache_file=config.cache ;;
794:
795: -datadir | --datadir | --datadi | --datad)
796: ac_prev=datadir ;;
797: -datadir=* | --datadir=* | --datadi=* | --datad=*)
798: datadir=$ac_optarg ;;
799:
800: -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
801: | --dataroo | --dataro | --datar)
802: ac_prev=datarootdir ;;
803: -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
804: | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
805: datarootdir=$ac_optarg ;;
806:
807: -disable-* | --disable-*)
808: ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
809: # Reject names that are not valid shell variable names.
810: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
811: { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
812: { (exit 1); exit 1; }; }
813: ac_useropt_orig=$ac_useropt
814: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
815: case $ac_user_opts in
816: *"
817: "enable_$ac_useropt"
818: "*) ;;
819: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
820: ac_unrecognized_sep=', ';;
821: esac
822: eval enable_$ac_useropt=no ;;
823:
824: -docdir | --docdir | --docdi | --doc | --do)
825: ac_prev=docdir ;;
826: -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
827: docdir=$ac_optarg ;;
828:
829: -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
830: ac_prev=dvidir ;;
831: -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
832: dvidir=$ac_optarg ;;
833:
834: -enable-* | --enable-*)
835: ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
836: # Reject names that are not valid shell variable names.
837: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
838: { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
839: { (exit 1); exit 1; }; }
840: ac_useropt_orig=$ac_useropt
841: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
842: case $ac_user_opts in
843: *"
844: "enable_$ac_useropt"
845: "*) ;;
846: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
847: ac_unrecognized_sep=', ';;
848: esac
849: eval enable_$ac_useropt=\$ac_optarg ;;
850:
851: -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
852: | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
853: | --exec | --exe | --ex)
854: ac_prev=exec_prefix ;;
855: -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
856: | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
857: | --exec=* | --exe=* | --ex=*)
858: exec_prefix=$ac_optarg ;;
859:
860: -gas | --gas | --ga | --g)
861: # Obsolete; use --with-gas.
862: with_gas=yes ;;
863:
864: -help | --help | --hel | --he | -h)
865: ac_init_help=long ;;
866: -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
867: ac_init_help=recursive ;;
868: -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
869: ac_init_help=short ;;
870:
871: -host | --host | --hos | --ho)
872: ac_prev=host_alias ;;
873: -host=* | --host=* | --hos=* | --ho=*)
874: host_alias=$ac_optarg ;;
875:
876: -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
877: ac_prev=htmldir ;;
878: -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
879: | --ht=*)
880: htmldir=$ac_optarg ;;
881:
882: -includedir | --includedir | --includedi | --included | --include \
883: | --includ | --inclu | --incl | --inc)
884: ac_prev=includedir ;;
885: -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
886: | --includ=* | --inclu=* | --incl=* | --inc=*)
887: includedir=$ac_optarg ;;
888:
889: -infodir | --infodir | --infodi | --infod | --info | --inf)
890: ac_prev=infodir ;;
891: -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
892: infodir=$ac_optarg ;;
893:
894: -libdir | --libdir | --libdi | --libd)
895: ac_prev=libdir ;;
896: -libdir=* | --libdir=* | --libdi=* | --libd=*)
897: libdir=$ac_optarg ;;
898:
899: -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
900: | --libexe | --libex | --libe)
901: ac_prev=libexecdir ;;
902: -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
903: | --libexe=* | --libex=* | --libe=*)
904: libexecdir=$ac_optarg ;;
905:
906: -localedir | --localedir | --localedi | --localed | --locale)
907: ac_prev=localedir ;;
908: -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
909: localedir=$ac_optarg ;;
910:
911: -localstatedir | --localstatedir | --localstatedi | --localstated \
912: | --localstate | --localstat | --localsta | --localst | --locals)
913: ac_prev=localstatedir ;;
914: -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
915: | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
916: localstatedir=$ac_optarg ;;
917:
918: -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
919: ac_prev=mandir ;;
920: -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
921: mandir=$ac_optarg ;;
922:
923: -nfp | --nfp | --nf)
924: # Obsolete; use --without-fp.
925: with_fp=no ;;
926:
927: -no-create | --no-create | --no-creat | --no-crea | --no-cre \
928: | --no-cr | --no-c | -n)
929: no_create=yes ;;
930:
931: -no-recursion | --no-recursion | --no-recursio | --no-recursi \
932: | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
933: no_recursion=yes ;;
934:
935: -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
936: | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
937: | --oldin | --oldi | --old | --ol | --o)
938: ac_prev=oldincludedir ;;
939: -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
940: | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
941: | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
942: oldincludedir=$ac_optarg ;;
943:
944: -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
945: ac_prev=prefix ;;
946: -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
947: prefix=$ac_optarg ;;
948:
949: -program-prefix | --program-prefix | --program-prefi | --program-pref \
950: | --program-pre | --program-pr | --program-p)
951: ac_prev=program_prefix ;;
952: -program-prefix=* | --program-prefix=* | --program-prefi=* \
953: | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
954: program_prefix=$ac_optarg ;;
955:
956: -program-suffix | --program-suffix | --program-suffi | --program-suff \
957: | --program-suf | --program-su | --program-s)
958: ac_prev=program_suffix ;;
959: -program-suffix=* | --program-suffix=* | --program-suffi=* \
960: | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
961: program_suffix=$ac_optarg ;;
962:
963: -program-transform-name | --program-transform-name \
964: | --program-transform-nam | --program-transform-na \
965: | --program-transform-n | --program-transform- \
966: | --program-transform | --program-transfor \
967: | --program-transfo | --program-transf \
968: | --program-trans | --program-tran \
969: | --progr-tra | --program-tr | --program-t)
970: ac_prev=program_transform_name ;;
971: -program-transform-name=* | --program-transform-name=* \
972: | --program-transform-nam=* | --program-transform-na=* \
973: | --program-transform-n=* | --program-transform-=* \
974: | --program-transform=* | --program-transfor=* \
975: | --program-transfo=* | --program-transf=* \
976: | --program-trans=* | --program-tran=* \
977: | --progr-tra=* | --program-tr=* | --program-t=*)
978: program_transform_name=$ac_optarg ;;
979:
980: -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
981: ac_prev=pdfdir ;;
982: -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
983: pdfdir=$ac_optarg ;;
984:
985: -psdir | --psdir | --psdi | --psd | --ps)
986: ac_prev=psdir ;;
987: -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
988: psdir=$ac_optarg ;;
989:
990: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
991: | -silent | --silent | --silen | --sile | --sil)
992: silent=yes ;;
993:
994: -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
995: ac_prev=sbindir ;;
996: -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
997: | --sbi=* | --sb=*)
998: sbindir=$ac_optarg ;;
999:
1000: -sharedstatedir | --sharedstatedir | --sharedstatedi \
1001: | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1002: | --sharedst | --shareds | --shared | --share | --shar \
1003: | --sha | --sh)
1004: ac_prev=sharedstatedir ;;
1005: -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1006: | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1007: | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1008: | --sha=* | --sh=*)
1009: sharedstatedir=$ac_optarg ;;
1010:
1011: -site | --site | --sit)
1012: ac_prev=site ;;
1013: -site=* | --site=* | --sit=*)
1014: site=$ac_optarg ;;
1015:
1016: -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1017: ac_prev=srcdir ;;
1018: -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1019: srcdir=$ac_optarg ;;
1020:
1021: -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1022: | --syscon | --sysco | --sysc | --sys | --sy)
1023: ac_prev=sysconfdir ;;
1024: -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1025: | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1026: sysconfdir=$ac_optarg ;;
1027:
1028: -target | --target | --targe | --targ | --tar | --ta | --t)
1029: ac_prev=target_alias ;;
1030: -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1031: target_alias=$ac_optarg ;;
1032:
1033: -v | -verbose | --verbose | --verbos | --verbo | --verb)
1034: verbose=yes ;;
1035:
1036: -version | --version | --versio | --versi | --vers | -V)
1037: ac_init_version=: ;;
1038:
1039: -with-* | --with-*)
1040: ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1041: # Reject names that are not valid shell variable names.
1042: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1043: { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1044: { (exit 1); exit 1; }; }
1045: ac_useropt_orig=$ac_useropt
1046: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1047: case $ac_user_opts in
1048: *"
1049: "with_$ac_useropt"
1050: "*) ;;
1051: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1052: ac_unrecognized_sep=', ';;
1053: esac
1054: eval with_$ac_useropt=\$ac_optarg ;;
1055:
1056: -without-* | --without-*)
1057: ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1058: # Reject names that are not valid shell variable names.
1059: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1060: { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1061: { (exit 1); exit 1; }; }
1062: ac_useropt_orig=$ac_useropt
1063: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1064: case $ac_user_opts in
1065: *"
1066: "with_$ac_useropt"
1067: "*) ;;
1068: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1069: ac_unrecognized_sep=', ';;
1070: esac
1071: eval with_$ac_useropt=no ;;
1072:
1073: --x)
1074: # Obsolete; use --with-x.
1075: with_x=yes ;;
1076:
1077: -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1078: | --x-incl | --x-inc | --x-in | --x-i)
1079: ac_prev=x_includes ;;
1080: -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1081: | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1082: x_includes=$ac_optarg ;;
1083:
1084: -x-libraries | --x-libraries | --x-librarie | --x-librari \
1085: | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1086: ac_prev=x_libraries ;;
1087: -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1088: | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1089: x_libraries=$ac_optarg ;;
1090:
1091: -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1092: Try \`$0 --help' for more information." >&2
1093: { (exit 1); exit 1; }; }
1094: ;;
1095:
1096: *=*)
1097: ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1098: # Reject names that are not valid shell variable names.
1099: expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1100: { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1101: { (exit 1); exit 1; }; }
1102: eval $ac_envvar=\$ac_optarg
1103: export $ac_envvar ;;
1104:
1105: *)
1106: # FIXME: should be removed in autoconf 3.0.
1107: $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1108: expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1109: $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1110: : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1111: ;;
1112:
1113: esac
1114: done
1115:
1116: if test -n "$ac_prev"; then
1117: ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1118: { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1119: { (exit 1); exit 1; }; }
1120: fi
1121:
1122: if test -n "$ac_unrecognized_opts"; then
1123: case $enable_option_checking in
1124: no) ;;
1125: fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1126: { (exit 1); exit 1; }; } ;;
1127: *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1128: esac
1129: fi
1130:
1131: # Check all directory arguments for consistency.
1132: for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1133: datadir sysconfdir sharedstatedir localstatedir includedir \
1134: oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1135: libdir localedir mandir
1136: do
1137: eval ac_val=\$$ac_var
1138: # Remove trailing slashes.
1139: case $ac_val in
1140: */ )
1141: ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1142: eval $ac_var=\$ac_val;;
1143: esac
1144: # Be sure to have absolute directory names.
1145: case $ac_val in
1146: [\\/$]* | ?:[\\/]* ) continue;;
1147: NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1148: esac
1149: { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1150: { (exit 1); exit 1; }; }
1151: done
1152:
1153: # There might be people who depend on the old broken behavior: `$host'
1154: # used to hold the argument of --host etc.
1155: # FIXME: To remove some day.
1156: build=$build_alias
1157: host=$host_alias
1158: target=$target_alias
1159:
1160: # FIXME: To remove some day.
1161: if test "x$host_alias" != x; then
1162: if test "x$build_alias" = x; then
1163: cross_compiling=maybe
1164: $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1165: If a cross compiler is detected then cross compile mode will be used." >&2
1166: elif test "x$build_alias" != "x$host_alias"; then
1167: cross_compiling=yes
1168: fi
1169: fi
1170:
1171: ac_tool_prefix=
1172: test -n "$host_alias" && ac_tool_prefix=$host_alias-
1173:
1174: test "$silent" = yes && exec 6>/dev/null
1175:
1176:
1177: ac_pwd=`pwd` && test -n "$ac_pwd" &&
1178: ac_ls_di=`ls -di .` &&
1179: ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1180: { $as_echo "$as_me: error: working directory cannot be determined" >&2
1181: { (exit 1); exit 1; }; }
1182: test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1183: { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1184: { (exit 1); exit 1; }; }
1185:
1186:
1187: # Find the source files, if location was not specified.
1188: if test -z "$srcdir"; then
1189: ac_srcdir_defaulted=yes
1190: # Try the directory containing this script, then the parent directory.
1191: ac_confdir=`$as_dirname -- "$as_myself" ||
1192: $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1193: X"$as_myself" : 'X\(//\)[^/]' \| \
1194: X"$as_myself" : 'X\(//\)$' \| \
1195: X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1196: $as_echo X"$as_myself" |
1197: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1198: s//\1/
1199: q
1200: }
1201: /^X\(\/\/\)[^/].*/{
1202: s//\1/
1203: q
1204: }
1205: /^X\(\/\/\)$/{
1206: s//\1/
1207: q
1208: }
1209: /^X\(\/\).*/{
1210: s//\1/
1211: q
1212: }
1213: s/.*/./; q'`
1214: srcdir=$ac_confdir
1215: if test ! -r "$srcdir/$ac_unique_file"; then
1216: srcdir=..
1217: fi
1218: else
1219: ac_srcdir_defaulted=no
1220: fi
1221: if test ! -r "$srcdir/$ac_unique_file"; then
1222: test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1223: { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1224: { (exit 1); exit 1; }; }
1225: fi
1226: ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1227: ac_abs_confdir=`(
1228: cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1229: { (exit 1); exit 1; }; }
1230: pwd)`
1231: # When building in place, set srcdir=.
1232: if test "$ac_abs_confdir" = "$ac_pwd"; then
1233: srcdir=.
1234: fi
1235: # Remove unnecessary trailing slashes from srcdir.
1236: # Double slashes in file names in object file debugging info
1237: # mess up M-x gdb in Emacs.
1238: case $srcdir in
1239: */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1240: esac
1241: for ac_var in $ac_precious_vars; do
1242: eval ac_env_${ac_var}_set=\${${ac_var}+set}
1243: eval ac_env_${ac_var}_value=\$${ac_var}
1244: eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1245: eval ac_cv_env_${ac_var}_value=\$${ac_var}
1246: done
1247:
1248: #
1249: # Report the --help message.
1250: #
1251: if test "$ac_init_help" = "long"; then
1252: # Omit some internal or obsolete options to make the list less imposing.
1253: # This message is too long to be a string in the A/UX 3.1 sh.
1254: cat <<_ACEOF
1255: \`configure' configures igmpproxy 0.1 to adapt to many kinds of systems.
1256:
1257: Usage: $0 [OPTION]... [VAR=VALUE]...
1258:
1259: To assign environment variables (e.g., CC, CFLAGS...), specify them as
1260: VAR=VALUE. See below for descriptions of some of the useful variables.
1261:
1262: Defaults for the options are specified in brackets.
1263:
1264: Configuration:
1265: -h, --help display this help and exit
1266: --help=short display options specific to this package
1267: --help=recursive display the short help of all the included packages
1268: -V, --version display version information and exit
1269: -q, --quiet, --silent do not print \`checking...' messages
1270: --cache-file=FILE cache test results in FILE [disabled]
1271: -C, --config-cache alias for \`--cache-file=config.cache'
1272: -n, --no-create do not create output files
1273: --srcdir=DIR find the sources in DIR [configure dir or \`..']
1274:
1275: Installation directories:
1276: --prefix=PREFIX install architecture-independent files in PREFIX
1277: [$ac_default_prefix]
1278: --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1279: [PREFIX]
1280:
1281: By default, \`make install' will install all the files in
1282: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1283: an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1284: for instance \`--prefix=\$HOME'.
1285:
1286: For better control, use the options below.
1287:
1288: Fine tuning of the installation directories:
1289: --bindir=DIR user executables [EPREFIX/bin]
1290: --sbindir=DIR system admin executables [EPREFIX/sbin]
1291: --libexecdir=DIR program executables [EPREFIX/libexec]
1292: --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1293: --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1294: --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1295: --libdir=DIR object code libraries [EPREFIX/lib]
1296: --includedir=DIR C header files [PREFIX/include]
1297: --oldincludedir=DIR C header files for non-gcc [/usr/include]
1298: --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1299: --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1300: --infodir=DIR info documentation [DATAROOTDIR/info]
1301: --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1302: --mandir=DIR man documentation [DATAROOTDIR/man]
1303: --docdir=DIR documentation root [DATAROOTDIR/doc/igmpproxy]
1304: --htmldir=DIR html documentation [DOCDIR]
1305: --dvidir=DIR dvi documentation [DOCDIR]
1306: --pdfdir=DIR pdf documentation [DOCDIR]
1307: --psdir=DIR ps documentation [DOCDIR]
1308: _ACEOF
1309:
1310: cat <<\_ACEOF
1311:
1312: Program names:
1313: --program-prefix=PREFIX prepend PREFIX to installed program names
1314: --program-suffix=SUFFIX append SUFFIX to installed program names
1315: --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1316:
1317: System types:
1318: --build=BUILD configure for building on BUILD [guessed]
1319: --host=HOST cross-compile to build programs to run on HOST [BUILD]
1320: _ACEOF
1321: fi
1322:
1323: if test -n "$ac_init_help"; then
1324: case $ac_init_help in
1325: short | recursive ) echo "Configuration of igmpproxy 0.1:";;
1326: esac
1327: cat <<\_ACEOF
1328:
1329: Optional Features:
1330: --disable-option-checking ignore unrecognized --enable/--with options
1331: --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1332: --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1333: --disable-dependency-tracking speeds up one-time build
1334: --enable-dependency-tracking do not reject slow dependency extractors
1335:
1336: Some influential environment variables:
1337: CC C compiler command
1338: CFLAGS C compiler flags
1339: LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1340: nonstandard directory <lib dir>
1341: LIBS libraries to pass to the linker, e.g. -l<library>
1342: CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1343: you have headers in a nonstandard directory <include dir>
1344:
1345: Use these variables to override the choices made by `configure' or to help
1346: it to find libraries and programs with nonstandard names/locations.
1347:
1348: _ACEOF
1349: ac_status=$?
1350: fi
1351:
1352: if test "$ac_init_help" = "recursive"; then
1353: # If there are subdirs, report their specific --help.
1354: for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1355: test -d "$ac_dir" ||
1356: { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1357: continue
1358: ac_builddir=.
1359:
1360: case "$ac_dir" in
1361: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1362: *)
1363: ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1364: # A ".." for each directory in $ac_dir_suffix.
1365: ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1366: case $ac_top_builddir_sub in
1367: "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1368: *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1369: esac ;;
1370: esac
1371: ac_abs_top_builddir=$ac_pwd
1372: ac_abs_builddir=$ac_pwd$ac_dir_suffix
1373: # for backward compatibility:
1374: ac_top_builddir=$ac_top_build_prefix
1375:
1376: case $srcdir in
1377: .) # We are building in place.
1378: ac_srcdir=.
1379: ac_top_srcdir=$ac_top_builddir_sub
1380: ac_abs_top_srcdir=$ac_pwd ;;
1381: [\\/]* | ?:[\\/]* ) # Absolute name.
1382: ac_srcdir=$srcdir$ac_dir_suffix;
1383: ac_top_srcdir=$srcdir
1384: ac_abs_top_srcdir=$srcdir ;;
1385: *) # Relative name.
1386: ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1387: ac_top_srcdir=$ac_top_build_prefix$srcdir
1388: ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1389: esac
1390: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1391:
1392: cd "$ac_dir" || { ac_status=$?; continue; }
1393: # Check for guested configure.
1394: if test -f "$ac_srcdir/configure.gnu"; then
1395: echo &&
1396: $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1397: elif test -f "$ac_srcdir/configure"; then
1398: echo &&
1399: $SHELL "$ac_srcdir/configure" --help=recursive
1400: else
1401: $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1402: fi || ac_status=$?
1403: cd "$ac_pwd" || { ac_status=$?; break; }
1404: done
1405: fi
1406:
1407: test -n "$ac_init_help" && exit $ac_status
1408: if $ac_init_version; then
1409: cat <<\_ACEOF
1410: igmpproxy configure 0.1
1411: generated by GNU Autoconf 2.63
1412:
1413: Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1414: 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1415: This configure script is free software; the Free Software Foundation
1416: gives unlimited permission to copy, distribute and modify it.
1417: _ACEOF
1418: exit
1419: fi
1420: cat >config.log <<_ACEOF
1421: This file contains any messages produced by compilers while
1422: running configure, to aid debugging if configure makes a mistake.
1423:
1424: It was created by igmpproxy $as_me 0.1, which was
1425: generated by GNU Autoconf 2.63. Invocation command line was
1426:
1427: $ $0 $@
1428:
1429: _ACEOF
1430: exec 5>>config.log
1431: {
1432: cat <<_ASUNAME
1433: ## --------- ##
1434: ## Platform. ##
1435: ## --------- ##
1436:
1437: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1438: uname -m = `(uname -m) 2>/dev/null || echo unknown`
1439: uname -r = `(uname -r) 2>/dev/null || echo unknown`
1440: uname -s = `(uname -s) 2>/dev/null || echo unknown`
1441: uname -v = `(uname -v) 2>/dev/null || echo unknown`
1442:
1443: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1444: /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1445:
1446: /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1447: /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1448: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1449: /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1450: /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1451: /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1452: /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1453:
1454: _ASUNAME
1455:
1456: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1457: for as_dir in $PATH
1458: do
1459: IFS=$as_save_IFS
1460: test -z "$as_dir" && as_dir=.
1461: $as_echo "PATH: $as_dir"
1462: done
1463: IFS=$as_save_IFS
1464:
1465: } >&5
1466:
1467: cat >&5 <<_ACEOF
1468:
1469:
1470: ## ----------- ##
1471: ## Core tests. ##
1472: ## ----------- ##
1473:
1474: _ACEOF
1475:
1476:
1477: # Keep a trace of the command line.
1478: # Strip out --no-create and --no-recursion so they do not pile up.
1479: # Strip out --silent because we don't want to record it for future runs.
1480: # Also quote any args containing shell meta-characters.
1481: # Make two passes to allow for proper duplicate-argument suppression.
1482: ac_configure_args=
1483: ac_configure_args0=
1484: ac_configure_args1=
1485: ac_must_keep_next=false
1486: for ac_pass in 1 2
1487: do
1488: for ac_arg
1489: do
1490: case $ac_arg in
1491: -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1492: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1493: | -silent | --silent | --silen | --sile | --sil)
1494: continue ;;
1495: *\'*)
1496: ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1497: esac
1498: case $ac_pass in
1499: 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1500: 2)
1501: ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1502: if test $ac_must_keep_next = true; then
1503: ac_must_keep_next=false # Got value, back to normal.
1504: else
1505: case $ac_arg in
1506: *=* | --config-cache | -C | -disable-* | --disable-* \
1507: | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1508: | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1509: | -with-* | --with-* | -without-* | --without-* | --x)
1510: case "$ac_configure_args0 " in
1511: "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1512: esac
1513: ;;
1514: -* ) ac_must_keep_next=true ;;
1515: esac
1516: fi
1517: ac_configure_args="$ac_configure_args '$ac_arg'"
1518: ;;
1519: esac
1520: done
1521: done
1522: $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1523: $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1524:
1525: # When interrupted or exit'd, cleanup temporary files, and complete
1526: # config.log. We remove comments because anyway the quotes in there
1527: # would cause problems or look ugly.
1528: # WARNING: Use '\'' to represent an apostrophe within the trap.
1529: # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1530: trap 'exit_status=$?
1531: # Save into config.log some information that might help in debugging.
1532: {
1533: echo
1534:
1535: cat <<\_ASBOX
1536: ## ---------------- ##
1537: ## Cache variables. ##
1538: ## ---------------- ##
1539: _ASBOX
1540: echo
1541: # The following way of writing the cache mishandles newlines in values,
1542: (
1543: for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1544: eval ac_val=\$$ac_var
1545: case $ac_val in #(
1546: *${as_nl}*)
1547: case $ac_var in #(
1548: *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1549: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1550: esac
1551: case $ac_var in #(
1552: _ | IFS | as_nl) ;; #(
1553: BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1554: *) $as_unset $ac_var ;;
1555: esac ;;
1556: esac
1557: done
1558: (set) 2>&1 |
1559: case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1560: *${as_nl}ac_space=\ *)
1561: sed -n \
1562: "s/'\''/'\''\\\\'\'''\''/g;
1563: s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1564: ;; #(
1565: *)
1566: sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1567: ;;
1568: esac |
1569: sort
1570: )
1571: echo
1572:
1573: cat <<\_ASBOX
1574: ## ----------------- ##
1575: ## Output variables. ##
1576: ## ----------------- ##
1577: _ASBOX
1578: echo
1579: for ac_var in $ac_subst_vars
1580: do
1581: eval ac_val=\$$ac_var
1582: case $ac_val in
1583: *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1584: esac
1585: $as_echo "$ac_var='\''$ac_val'\''"
1586: done | sort
1587: echo
1588:
1589: if test -n "$ac_subst_files"; then
1590: cat <<\_ASBOX
1591: ## ------------------- ##
1592: ## File substitutions. ##
1593: ## ------------------- ##
1594: _ASBOX
1595: echo
1596: for ac_var in $ac_subst_files
1597: do
1598: eval ac_val=\$$ac_var
1599: case $ac_val in
1600: *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1601: esac
1602: $as_echo "$ac_var='\''$ac_val'\''"
1603: done | sort
1604: echo
1605: fi
1606:
1607: if test -s confdefs.h; then
1608: cat <<\_ASBOX
1609: ## ----------- ##
1610: ## confdefs.h. ##
1611: ## ----------- ##
1612: _ASBOX
1613: echo
1614: cat confdefs.h
1615: echo
1616: fi
1617: test "$ac_signal" != 0 &&
1618: $as_echo "$as_me: caught signal $ac_signal"
1619: $as_echo "$as_me: exit $exit_status"
1620: } >&5
1621: rm -f core *.core core.conftest.* &&
1622: rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1623: exit $exit_status
1624: ' 0
1625: for ac_signal in 1 2 13 15; do
1626: trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1627: done
1628: ac_signal=0
1629:
1630: # confdefs.h avoids OS command line length limits that DEFS can exceed.
1631: rm -f -r conftest* confdefs.h
1632:
1633: # Predefined preprocessor variables.
1634:
1635: cat >>confdefs.h <<_ACEOF
1636: #define PACKAGE_NAME "$PACKAGE_NAME"
1637: _ACEOF
1638:
1639:
1640: cat >>confdefs.h <<_ACEOF
1641: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1642: _ACEOF
1643:
1644:
1645: cat >>confdefs.h <<_ACEOF
1646: #define PACKAGE_VERSION "$PACKAGE_VERSION"
1647: _ACEOF
1648:
1649:
1650: cat >>confdefs.h <<_ACEOF
1651: #define PACKAGE_STRING "$PACKAGE_STRING"
1652: _ACEOF
1653:
1654:
1655: cat >>confdefs.h <<_ACEOF
1656: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1657: _ACEOF
1658:
1659:
1660: # Let the site file select an alternate cache file if it wants to.
1661: # Prefer an explicitly selected file to automatically selected ones.
1662: ac_site_file1=NONE
1663: ac_site_file2=NONE
1664: if test -n "$CONFIG_SITE"; then
1665: ac_site_file1=$CONFIG_SITE
1666: elif test "x$prefix" != xNONE; then
1667: ac_site_file1=$prefix/share/config.site
1668: ac_site_file2=$prefix/etc/config.site
1669: else
1670: ac_site_file1=$ac_default_prefix/share/config.site
1671: ac_site_file2=$ac_default_prefix/etc/config.site
1672: fi
1673: for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1674: do
1675: test "x$ac_site_file" = xNONE && continue
1676: if test -r "$ac_site_file"; then
1677: { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1678: $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1679: sed 's/^/| /' "$ac_site_file" >&5
1680: . "$ac_site_file"
1681: fi
1682: done
1683:
1684: if test -r "$cache_file"; then
1685: # Some versions of bash will fail to source /dev/null (special
1686: # files actually), so we avoid doing that.
1687: if test -f "$cache_file"; then
1688: { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1689: $as_echo "$as_me: loading cache $cache_file" >&6;}
1690: case $cache_file in
1691: [\\/]* | ?:[\\/]* ) . "$cache_file";;
1692: *) . "./$cache_file";;
1693: esac
1694: fi
1695: else
1696: { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1697: $as_echo "$as_me: creating cache $cache_file" >&6;}
1698: >$cache_file
1699: fi
1700:
1701: # Check that the precious variables saved in the cache have kept the same
1702: # value.
1703: ac_cache_corrupted=false
1704: for ac_var in $ac_precious_vars; do
1705: eval ac_old_set=\$ac_cv_env_${ac_var}_set
1706: eval ac_new_set=\$ac_env_${ac_var}_set
1707: eval ac_old_val=\$ac_cv_env_${ac_var}_value
1708: eval ac_new_val=\$ac_env_${ac_var}_value
1709: case $ac_old_set,$ac_new_set in
1710: set,)
1711: { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1712: $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1713: ac_cache_corrupted=: ;;
1714: ,set)
1715: { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1716: $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1717: ac_cache_corrupted=: ;;
1718: ,);;
1719: *)
1720: if test "x$ac_old_val" != "x$ac_new_val"; then
1721: # differences in whitespace do not lead to failure.
1722: ac_old_val_w=`echo x $ac_old_val`
1723: ac_new_val_w=`echo x $ac_new_val`
1724: if test "$ac_old_val_w" != "$ac_new_val_w"; then
1725: { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1726: $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1727: ac_cache_corrupted=:
1728: else
1729: { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1730: $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1731: eval $ac_var=\$ac_old_val
1732: fi
1733: { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1734: $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1735: { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1736: $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1737: fi;;
1738: esac
1739: # Pass precious variables to config.status.
1740: if test "$ac_new_set" = set; then
1741: case $ac_new_val in
1742: *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1743: *) ac_arg=$ac_var=$ac_new_val ;;
1744: esac
1745: case " $ac_configure_args " in
1746: *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1747: *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1748: esac
1749: fi
1750: done
1751: if $ac_cache_corrupted; then
1752: { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1753: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1754: { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1755: $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1756: { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1757: $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1758: { (exit 1); exit 1; }; }
1759: fi
1760:
1761:
1762:
1763:
1764:
1765:
1766:
1767:
1768:
1769:
1770:
1771:
1772:
1773:
1774:
1775:
1776:
1777:
1778:
1779:
1780:
1781:
1782:
1783:
1784:
1785: ac_ext=c
1786: ac_cpp='$CPP $CPPFLAGS'
1787: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1788: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1789: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1790:
1791:
1792: am__api_version='1.11'
1793:
1794: ac_aux_dir=
1795: for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1796: if test -f "$ac_dir/install-sh"; then
1797: ac_aux_dir=$ac_dir
1798: ac_install_sh="$ac_aux_dir/install-sh -c"
1799: break
1800: elif test -f "$ac_dir/install.sh"; then
1801: ac_aux_dir=$ac_dir
1802: ac_install_sh="$ac_aux_dir/install.sh -c"
1803: break
1804: elif test -f "$ac_dir/shtool"; then
1805: ac_aux_dir=$ac_dir
1806: ac_install_sh="$ac_aux_dir/shtool install -c"
1807: break
1808: fi
1809: done
1810: if test -z "$ac_aux_dir"; then
1811: { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1812: $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1813: { (exit 1); exit 1; }; }
1814: fi
1815:
1816: # These three variables are undocumented and unsupported,
1817: # and are intended to be withdrawn in a future Autoconf release.
1818: # They can cause serious problems if a builder's source tree is in a directory
1819: # whose full name contains unusual characters.
1820: ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1821: ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1822: ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1823:
1824:
1825: # Find a good install program. We prefer a C program (faster),
1826: # so one script is as good as another. But avoid the broken or
1827: # incompatible versions:
1828: # SysV /etc/install, /usr/sbin/install
1829: # SunOS /usr/etc/install
1830: # IRIX /sbin/install
1831: # AIX /bin/install
1832: # AmigaOS /C/install, which installs bootblocks on floppy discs
1833: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1834: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1835: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1836: # OS/2's system install, which has a completely different semantic
1837: # ./install, which can be erroneously created by make from ./install.sh.
1838: # Reject install programs that cannot install multiple files.
1839: { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1840: $as_echo_n "checking for a BSD-compatible install... " >&6; }
1841: if test -z "$INSTALL"; then
1842: if test "${ac_cv_path_install+set}" = set; then
1843: $as_echo_n "(cached) " >&6
1844: else
1845: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1846: for as_dir in $PATH
1847: do
1848: IFS=$as_save_IFS
1849: test -z "$as_dir" && as_dir=.
1850: # Account for people who put trailing slashes in PATH elements.
1851: case $as_dir/ in
1852: ./ | .// | /cC/* | \
1853: /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1854: ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1855: /usr/ucb/* ) ;;
1856: *)
1857: # OSF1 and SCO ODT 3.0 have their own names for install.
1858: # Don't use installbsd from OSF since it installs stuff as root
1859: # by default.
1860: for ac_prog in ginstall scoinst install; do
1861: for ac_exec_ext in '' $ac_executable_extensions; do
1862: if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1863: if test $ac_prog = install &&
1864: grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1865: # AIX install. It has an incompatible calling convention.
1866: :
1867: elif test $ac_prog = install &&
1868: grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1869: # program-specific install script used by HP pwplus--don't use.
1870: :
1871: else
1872: rm -rf conftest.one conftest.two conftest.dir
1873: echo one > conftest.one
1874: echo two > conftest.two
1875: mkdir conftest.dir
1876: if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1877: test -s conftest.one && test -s conftest.two &&
1878: test -s conftest.dir/conftest.one &&
1879: test -s conftest.dir/conftest.two
1880: then
1881: ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1882: break 3
1883: fi
1884: fi
1885: fi
1886: done
1887: done
1888: ;;
1889: esac
1890:
1891: done
1892: IFS=$as_save_IFS
1893:
1894: rm -rf conftest.one conftest.two conftest.dir
1895:
1896: fi
1897: if test "${ac_cv_path_install+set}" = set; then
1898: INSTALL=$ac_cv_path_install
1899: else
1900: # As a last resort, use the slow shell script. Don't cache a
1901: # value for INSTALL within a source directory, because that will
1902: # break other packages using the cache if that directory is
1903: # removed, or if the value is a relative name.
1904: INSTALL=$ac_install_sh
1905: fi
1906: fi
1907: { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
1908: $as_echo "$INSTALL" >&6; }
1909:
1910: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1911: # It thinks the first close brace ends the variable substitution.
1912: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1913:
1914: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1915:
1916: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1917:
1918: { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1919: $as_echo_n "checking whether build environment is sane... " >&6; }
1920: # Just in case
1921: sleep 1
1922: echo timestamp > conftest.file
1923: # Reject unsafe characters in $srcdir or the absolute working directory
1924: # name. Accept space and tab only in the latter.
1925: am_lf='
1926: '
1927: case `pwd` in
1928: *[\\\"\#\$\&\'\`$am_lf]*)
1929: { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
1930: $as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
1931: { (exit 1); exit 1; }; };;
1932: esac
1933: case $srcdir in
1934: *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
1935: { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
1936: $as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
1937: { (exit 1); exit 1; }; };;
1938: esac
1939:
1940: # Do `set' in a subshell so we don't clobber the current shell's
1941: # arguments. Must try -L first in case configure is actually a
1942: # symlink; some systems play weird games with the mod time of symlinks
1943: # (eg FreeBSD returns the mod time of the symlink's containing
1944: # directory).
1945: if (
1946: set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1947: if test "$*" = "X"; then
1948: # -L didn't work.
1949: set X `ls -t "$srcdir/configure" conftest.file`
1950: fi
1951: rm -f conftest.file
1952: if test "$*" != "X $srcdir/configure conftest.file" \
1953: && test "$*" != "X conftest.file $srcdir/configure"; then
1954:
1955: # If neither matched, then we have a broken ls. This can happen
1956: # if, for instance, CONFIG_SHELL is bash and it inherits a
1957: # broken ls alias from the environment. This has actually
1958: # happened. Such a system could not be considered "sane".
1959: { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1960: alias in your environment" >&5
1961: $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1962: alias in your environment" >&2;}
1963: { (exit 1); exit 1; }; }
1964: fi
1965:
1966: test "$2" = conftest.file
1967: )
1968: then
1969: # Ok.
1970: :
1971: else
1972: { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1973: Check your system clock" >&5
1974: $as_echo "$as_me: error: newly created file is older than distributed files!
1975: Check your system clock" >&2;}
1976: { (exit 1); exit 1; }; }
1977: fi
1978: { $as_echo "$as_me:$LINENO: result: yes" >&5
1979: $as_echo "yes" >&6; }
1980: test "$program_prefix" != NONE &&
1981: program_transform_name="s&^&$program_prefix&;$program_transform_name"
1982: # Use a double $ so make ignores it.
1983: test "$program_suffix" != NONE &&
1984: program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1985: # Double any \ or $.
1986: # By default was `s,x,x', remove it if useless.
1987: ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
1988: program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
1989:
1990: # expand $ac_aux_dir to an absolute path
1991: am_aux_dir=`cd $ac_aux_dir && pwd`
1992:
1993: if test x"${MISSING+set}" != xset; then
1994: case $am_aux_dir in
1995: *\ * | *\ *)
1996: MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
1997: *)
1998: MISSING="\${SHELL} $am_aux_dir/missing" ;;
1999: esac
2000: fi
2001: # Use eval to expand $SHELL
2002: if eval "$MISSING --run true"; then
2003: am_missing_run="$MISSING --run "
2004: else
2005: am_missing_run=
2006: { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2007: $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2008: fi
2009:
2010: if test x"${install_sh}" != xset; then
2011: case $am_aux_dir in
2012: *\ * | *\ *)
2013: install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2014: *)
2015: install_sh="\${SHELL} $am_aux_dir/install-sh"
2016: esac
2017: fi
2018:
2019: # Installed binaries are usually stripped using `strip' when the user
2020: # run `make install-strip'. However `strip' might not be the right
2021: # tool to use in cross-compilation environments, therefore Automake
2022: # will honor the `STRIP' environment variable to overrule this program.
2023: if test "$cross_compiling" != no; then
2024: if test -n "$ac_tool_prefix"; then
2025: # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2026: set dummy ${ac_tool_prefix}strip; ac_word=$2
2027: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2028: $as_echo_n "checking for $ac_word... " >&6; }
2029: if test "${ac_cv_prog_STRIP+set}" = set; then
2030: $as_echo_n "(cached) " >&6
2031: else
2032: if test -n "$STRIP"; then
2033: ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2034: else
2035: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2036: for as_dir in $PATH
2037: do
2038: IFS=$as_save_IFS
2039: test -z "$as_dir" && as_dir=.
2040: for ac_exec_ext in '' $ac_executable_extensions; do
2041: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2042: ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2043: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2044: break 2
2045: fi
2046: done
2047: done
2048: IFS=$as_save_IFS
2049:
2050: fi
2051: fi
2052: STRIP=$ac_cv_prog_STRIP
2053: if test -n "$STRIP"; then
2054: { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2055: $as_echo "$STRIP" >&6; }
2056: else
2057: { $as_echo "$as_me:$LINENO: result: no" >&5
2058: $as_echo "no" >&6; }
2059: fi
2060:
2061:
2062: fi
2063: if test -z "$ac_cv_prog_STRIP"; then
2064: ac_ct_STRIP=$STRIP
2065: # Extract the first word of "strip", so it can be a program name with args.
2066: set dummy strip; ac_word=$2
2067: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2068: $as_echo_n "checking for $ac_word... " >&6; }
2069: if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2070: $as_echo_n "(cached) " >&6
2071: else
2072: if test -n "$ac_ct_STRIP"; then
2073: ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2074: else
2075: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2076: for as_dir in $PATH
2077: do
2078: IFS=$as_save_IFS
2079: test -z "$as_dir" && as_dir=.
2080: for ac_exec_ext in '' $ac_executable_extensions; do
2081: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2082: ac_cv_prog_ac_ct_STRIP="strip"
2083: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2084: break 2
2085: fi
2086: done
2087: done
2088: IFS=$as_save_IFS
2089:
2090: fi
2091: fi
2092: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2093: if test -n "$ac_ct_STRIP"; then
2094: { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2095: $as_echo "$ac_ct_STRIP" >&6; }
2096: else
2097: { $as_echo "$as_me:$LINENO: result: no" >&5
2098: $as_echo "no" >&6; }
2099: fi
2100:
2101: if test "x$ac_ct_STRIP" = x; then
2102: STRIP=":"
2103: else
2104: case $cross_compiling:$ac_tool_warned in
2105: yes:)
2106: { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2107: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2108: ac_tool_warned=yes ;;
2109: esac
2110: STRIP=$ac_ct_STRIP
2111: fi
2112: else
2113: STRIP="$ac_cv_prog_STRIP"
2114: fi
2115:
2116: fi
2117: INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2118:
2119: { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2120: $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2121: if test -z "$MKDIR_P"; then
2122: if test "${ac_cv_path_mkdir+set}" = set; then
2123: $as_echo_n "(cached) " >&6
2124: else
2125: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2126: for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2127: do
2128: IFS=$as_save_IFS
2129: test -z "$as_dir" && as_dir=.
2130: for ac_prog in mkdir gmkdir; do
2131: for ac_exec_ext in '' $ac_executable_extensions; do
2132: { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2133: case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2134: 'mkdir (GNU coreutils) '* | \
2135: 'mkdir (coreutils) '* | \
2136: 'mkdir (fileutils) '4.1*)
2137: ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2138: break 3;;
2139: esac
2140: done
2141: done
2142: done
2143: IFS=$as_save_IFS
2144:
2145: fi
2146:
2147: if test "${ac_cv_path_mkdir+set}" = set; then
2148: MKDIR_P="$ac_cv_path_mkdir -p"
2149: else
2150: # As a last resort, use the slow shell script. Don't cache a
2151: # value for MKDIR_P within a source directory, because that will
2152: # break other packages using the cache if that directory is
2153: # removed, or if the value is a relative name.
2154: test -d ./--version && rmdir ./--version
2155: MKDIR_P="$ac_install_sh -d"
2156: fi
2157: fi
2158: { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2159: $as_echo "$MKDIR_P" >&6; }
2160:
2161: mkdir_p="$MKDIR_P"
2162: case $mkdir_p in
2163: [\\/$]* | ?:[\\/]*) ;;
2164: */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2165: esac
2166:
2167: for ac_prog in gawk mawk nawk awk
2168: do
2169: # Extract the first word of "$ac_prog", so it can be a program name with args.
2170: set dummy $ac_prog; ac_word=$2
2171: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2172: $as_echo_n "checking for $ac_word... " >&6; }
2173: if test "${ac_cv_prog_AWK+set}" = set; then
2174: $as_echo_n "(cached) " >&6
2175: else
2176: if test -n "$AWK"; then
2177: ac_cv_prog_AWK="$AWK" # Let the user override the test.
2178: else
2179: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2180: for as_dir in $PATH
2181: do
2182: IFS=$as_save_IFS
2183: test -z "$as_dir" && as_dir=.
2184: for ac_exec_ext in '' $ac_executable_extensions; do
2185: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2186: ac_cv_prog_AWK="$ac_prog"
2187: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2188: break 2
2189: fi
2190: done
2191: done
2192: IFS=$as_save_IFS
2193:
2194: fi
2195: fi
2196: AWK=$ac_cv_prog_AWK
2197: if test -n "$AWK"; then
2198: { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2199: $as_echo "$AWK" >&6; }
2200: else
2201: { $as_echo "$as_me:$LINENO: result: no" >&5
2202: $as_echo "no" >&6; }
2203: fi
2204:
2205:
2206: test -n "$AWK" && break
2207: done
2208:
2209: { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2210: $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2211: set x ${MAKE-make}
2212: ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2213: if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2214: $as_echo_n "(cached) " >&6
2215: else
2216: cat >conftest.make <<\_ACEOF
2217: SHELL = /bin/sh
2218: all:
2219: @echo '@@@%%%=$(MAKE)=@@@%%%'
2220: _ACEOF
2221: # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2222: case `${MAKE-make} -f conftest.make 2>/dev/null` in
2223: *@@@%%%=?*=@@@%%%*)
2224: eval ac_cv_prog_make_${ac_make}_set=yes;;
2225: *)
2226: eval ac_cv_prog_make_${ac_make}_set=no;;
2227: esac
2228: rm -f conftest.make
2229: fi
2230: if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2231: { $as_echo "$as_me:$LINENO: result: yes" >&5
2232: $as_echo "yes" >&6; }
2233: SET_MAKE=
2234: else
2235: { $as_echo "$as_me:$LINENO: result: no" >&5
2236: $as_echo "no" >&6; }
2237: SET_MAKE="MAKE=${MAKE-make}"
2238: fi
2239:
2240: rm -rf .tst 2>/dev/null
2241: mkdir .tst 2>/dev/null
2242: if test -d .tst; then
2243: am__leading_dot=.
2244: else
2245: am__leading_dot=_
2246: fi
2247: rmdir .tst 2>/dev/null
2248:
2249: if test "`cd $srcdir && pwd`" != "`pwd`"; then
2250: # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2251: # is not polluted with repeated "-I."
2252: am__isrc=' -I$(srcdir)'
2253: # test to see if srcdir already configured
2254: if test -f $srcdir/config.status; then
2255: { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2256: $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2257: { (exit 1); exit 1; }; }
2258: fi
2259: fi
2260:
2261: # test whether we have cygpath
2262: if test -z "$CYGPATH_W"; then
2263: if (cygpath --version) >/dev/null 2>/dev/null; then
2264: CYGPATH_W='cygpath -w'
2265: else
2266: CYGPATH_W=echo
2267: fi
2268: fi
2269:
2270:
2271: # Define the identity of the package.
2272: PACKAGE='igmpproxy'
2273: VERSION='0.1'
2274:
2275:
2276: cat >>confdefs.h <<_ACEOF
2277: #define PACKAGE "$PACKAGE"
2278: _ACEOF
2279:
2280:
2281: cat >>confdefs.h <<_ACEOF
2282: #define VERSION "$VERSION"
2283: _ACEOF
2284:
2285: # Some tools Automake needs.
2286:
2287: ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2288:
2289:
2290: AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2291:
2292:
2293: AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2294:
2295:
2296: AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2297:
2298:
2299: MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2300:
2301: # We need awk for the "check" target. The system "awk" is bad on
2302: # some platforms.
2303: # Always define AMTAR for backward compatibility.
2304:
2305: AMTAR=${AMTAR-"${am_missing_run}tar"}
2306:
2307: am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2308:
2309:
2310:
2311:
2312:
2313:
2314: ac_config_headers="$ac_config_headers config.h"
2315:
2316: DEPDIR="${am__leading_dot}deps"
2317:
2318: ac_config_commands="$ac_config_commands depfiles"
2319:
2320:
2321: am_make=${MAKE-make}
2322: cat > confinc << 'END'
2323: am__doit:
2324: @echo this is the am__doit target
2325: .PHONY: am__doit
2326: END
2327: # If we don't find an include directive, just comment out the code.
2328: { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2329: $as_echo_n "checking for style of include used by $am_make... " >&6; }
2330: am__include="#"
2331: am__quote=
2332: _am_result=none
2333: # First try GNU make style include.
2334: echo "include confinc" > confmf
2335: # Ignore all kinds of additional output from `make'.
2336: case `$am_make -s -f confmf 2> /dev/null` in #(
2337: *the\ am__doit\ target*)
2338: am__include=include
2339: am__quote=
2340: _am_result=GNU
2341: ;;
2342: esac
2343: # Now try BSD make style include.
2344: if test "$am__include" = "#"; then
2345: echo '.include "confinc"' > confmf
2346: case `$am_make -s -f confmf 2> /dev/null` in #(
2347: *the\ am__doit\ target*)
2348: am__include=.include
2349: am__quote="\""
2350: _am_result=BSD
2351: ;;
2352: esac
2353: fi
2354:
2355:
2356: { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
2357: $as_echo "$_am_result" >&6; }
2358: rm -f confinc confmf
2359:
2360: # Check whether --enable-dependency-tracking was given.
2361: if test "${enable_dependency_tracking+set}" = set; then
2362: enableval=$enable_dependency_tracking;
2363: fi
2364:
2365: if test "x$enable_dependency_tracking" != xno; then
2366: am_depcomp="$ac_aux_dir/depcomp"
2367: AMDEPBACKSLASH='\'
2368: fi
2369: if test "x$enable_dependency_tracking" != xno; then
2370: AMDEP_TRUE=
2371: AMDEP_FALSE='#'
2372: else
2373: AMDEP_TRUE='#'
2374: AMDEP_FALSE=
2375: fi
2376:
2377:
2378: ac_ext=c
2379: ac_cpp='$CPP $CPPFLAGS'
2380: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2381: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2382: ac_compiler_gnu=$ac_cv_c_compiler_gnu
2383: if test -n "$ac_tool_prefix"; then
2384: # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2385: set dummy ${ac_tool_prefix}gcc; ac_word=$2
2386: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2387: $as_echo_n "checking for $ac_word... " >&6; }
2388: if test "${ac_cv_prog_CC+set}" = set; then
2389: $as_echo_n "(cached) " >&6
2390: else
2391: if test -n "$CC"; then
2392: ac_cv_prog_CC="$CC" # Let the user override the test.
2393: else
2394: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2395: for as_dir in $PATH
2396: do
2397: IFS=$as_save_IFS
2398: test -z "$as_dir" && as_dir=.
2399: for ac_exec_ext in '' $ac_executable_extensions; do
2400: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2401: ac_cv_prog_CC="${ac_tool_prefix}gcc"
2402: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2403: break 2
2404: fi
2405: done
2406: done
2407: IFS=$as_save_IFS
2408:
2409: fi
2410: fi
2411: CC=$ac_cv_prog_CC
2412: if test -n "$CC"; then
2413: { $as_echo "$as_me:$LINENO: result: $CC" >&5
2414: $as_echo "$CC" >&6; }
2415: else
2416: { $as_echo "$as_me:$LINENO: result: no" >&5
2417: $as_echo "no" >&6; }
2418: fi
2419:
2420:
2421: fi
2422: if test -z "$ac_cv_prog_CC"; then
2423: ac_ct_CC=$CC
2424: # Extract the first word of "gcc", so it can be a program name with args.
2425: set dummy gcc; ac_word=$2
2426: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2427: $as_echo_n "checking for $ac_word... " >&6; }
2428: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2429: $as_echo_n "(cached) " >&6
2430: else
2431: if test -n "$ac_ct_CC"; then
2432: ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2433: else
2434: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2435: for as_dir in $PATH
2436: do
2437: IFS=$as_save_IFS
2438: test -z "$as_dir" && as_dir=.
2439: for ac_exec_ext in '' $ac_executable_extensions; do
2440: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2441: ac_cv_prog_ac_ct_CC="gcc"
2442: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2443: break 2
2444: fi
2445: done
2446: done
2447: IFS=$as_save_IFS
2448:
2449: fi
2450: fi
2451: ac_ct_CC=$ac_cv_prog_ac_ct_CC
2452: if test -n "$ac_ct_CC"; then
2453: { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2454: $as_echo "$ac_ct_CC" >&6; }
2455: else
2456: { $as_echo "$as_me:$LINENO: result: no" >&5
2457: $as_echo "no" >&6; }
2458: fi
2459:
2460: if test "x$ac_ct_CC" = x; then
2461: CC=""
2462: else
2463: case $cross_compiling:$ac_tool_warned in
2464: yes:)
2465: { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2466: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2467: ac_tool_warned=yes ;;
2468: esac
2469: CC=$ac_ct_CC
2470: fi
2471: else
2472: CC="$ac_cv_prog_CC"
2473: fi
2474:
2475: if test -z "$CC"; then
2476: if test -n "$ac_tool_prefix"; then
2477: # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2478: set dummy ${ac_tool_prefix}cc; ac_word=$2
2479: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2480: $as_echo_n "checking for $ac_word... " >&6; }
2481: if test "${ac_cv_prog_CC+set}" = set; then
2482: $as_echo_n "(cached) " >&6
2483: else
2484: if test -n "$CC"; then
2485: ac_cv_prog_CC="$CC" # Let the user override the test.
2486: else
2487: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2488: for as_dir in $PATH
2489: do
2490: IFS=$as_save_IFS
2491: test -z "$as_dir" && as_dir=.
2492: for ac_exec_ext in '' $ac_executable_extensions; do
2493: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2494: ac_cv_prog_CC="${ac_tool_prefix}cc"
2495: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2496: break 2
2497: fi
2498: done
2499: done
2500: IFS=$as_save_IFS
2501:
2502: fi
2503: fi
2504: CC=$ac_cv_prog_CC
2505: if test -n "$CC"; then
2506: { $as_echo "$as_me:$LINENO: result: $CC" >&5
2507: $as_echo "$CC" >&6; }
2508: else
2509: { $as_echo "$as_me:$LINENO: result: no" >&5
2510: $as_echo "no" >&6; }
2511: fi
2512:
2513:
2514: fi
2515: fi
2516: if test -z "$CC"; then
2517: # Extract the first word of "cc", so it can be a program name with args.
2518: set dummy cc; ac_word=$2
2519: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2520: $as_echo_n "checking for $ac_word... " >&6; }
2521: if test "${ac_cv_prog_CC+set}" = set; then
2522: $as_echo_n "(cached) " >&6
2523: else
2524: if test -n "$CC"; then
2525: ac_cv_prog_CC="$CC" # Let the user override the test.
2526: else
2527: ac_prog_rejected=no
2528: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2529: for as_dir in $PATH
2530: do
2531: IFS=$as_save_IFS
2532: test -z "$as_dir" && as_dir=.
2533: for ac_exec_ext in '' $ac_executable_extensions; do
2534: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2535: if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2536: ac_prog_rejected=yes
2537: continue
2538: fi
2539: ac_cv_prog_CC="cc"
2540: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2541: break 2
2542: fi
2543: done
2544: done
2545: IFS=$as_save_IFS
2546:
2547: if test $ac_prog_rejected = yes; then
2548: # We found a bogon in the path, so make sure we never use it.
2549: set dummy $ac_cv_prog_CC
2550: shift
2551: if test $# != 0; then
2552: # We chose a different compiler from the bogus one.
2553: # However, it has the same basename, so the bogon will be chosen
2554: # first if we set CC to just the basename; use the full file name.
2555: shift
2556: ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2557: fi
2558: fi
2559: fi
2560: fi
2561: CC=$ac_cv_prog_CC
2562: if test -n "$CC"; then
2563: { $as_echo "$as_me:$LINENO: result: $CC" >&5
2564: $as_echo "$CC" >&6; }
2565: else
2566: { $as_echo "$as_me:$LINENO: result: no" >&5
2567: $as_echo "no" >&6; }
2568: fi
2569:
2570:
2571: fi
2572: if test -z "$CC"; then
2573: if test -n "$ac_tool_prefix"; then
2574: for ac_prog in cl.exe
2575: do
2576: # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2577: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2578: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2579: $as_echo_n "checking for $ac_word... " >&6; }
2580: if test "${ac_cv_prog_CC+set}" = set; then
2581: $as_echo_n "(cached) " >&6
2582: else
2583: if test -n "$CC"; then
2584: ac_cv_prog_CC="$CC" # Let the user override the test.
2585: else
2586: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2587: for as_dir in $PATH
2588: do
2589: IFS=$as_save_IFS
2590: test -z "$as_dir" && as_dir=.
2591: for ac_exec_ext in '' $ac_executable_extensions; do
2592: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2593: ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2594: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2595: break 2
2596: fi
2597: done
2598: done
2599: IFS=$as_save_IFS
2600:
2601: fi
2602: fi
2603: CC=$ac_cv_prog_CC
2604: if test -n "$CC"; then
2605: { $as_echo "$as_me:$LINENO: result: $CC" >&5
2606: $as_echo "$CC" >&6; }
2607: else
2608: { $as_echo "$as_me:$LINENO: result: no" >&5
2609: $as_echo "no" >&6; }
2610: fi
2611:
2612:
2613: test -n "$CC" && break
2614: done
2615: fi
2616: if test -z "$CC"; then
2617: ac_ct_CC=$CC
2618: for ac_prog in cl.exe
2619: do
2620: # Extract the first word of "$ac_prog", so it can be a program name with args.
2621: set dummy $ac_prog; ac_word=$2
2622: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2623: $as_echo_n "checking for $ac_word... " >&6; }
2624: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2625: $as_echo_n "(cached) " >&6
2626: else
2627: if test -n "$ac_ct_CC"; then
2628: ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2629: else
2630: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2631: for as_dir in $PATH
2632: do
2633: IFS=$as_save_IFS
2634: test -z "$as_dir" && as_dir=.
2635: for ac_exec_ext in '' $ac_executable_extensions; do
2636: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2637: ac_cv_prog_ac_ct_CC="$ac_prog"
2638: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2639: break 2
2640: fi
2641: done
2642: done
2643: IFS=$as_save_IFS
2644:
2645: fi
2646: fi
2647: ac_ct_CC=$ac_cv_prog_ac_ct_CC
2648: if test -n "$ac_ct_CC"; then
2649: { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2650: $as_echo "$ac_ct_CC" >&6; }
2651: else
2652: { $as_echo "$as_me:$LINENO: result: no" >&5
2653: $as_echo "no" >&6; }
2654: fi
2655:
2656:
2657: test -n "$ac_ct_CC" && break
2658: done
2659:
2660: if test "x$ac_ct_CC" = x; then
2661: CC=""
2662: else
2663: case $cross_compiling:$ac_tool_warned in
2664: yes:)
2665: { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2666: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2667: ac_tool_warned=yes ;;
2668: esac
2669: CC=$ac_ct_CC
2670: fi
2671: fi
2672:
2673: fi
2674:
2675:
2676: test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2677: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2678: { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2679: See \`config.log' for more details." >&5
2680: $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2681: See \`config.log' for more details." >&2;}
2682: { (exit 1); exit 1; }; }; }
2683:
2684: # Provide some information about the compiler.
2685: $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2686: set X $ac_compile
2687: ac_compiler=$2
2688: { (ac_try="$ac_compiler --version >&5"
2689: case "(($ac_try" in
2690: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2691: *) ac_try_echo=$ac_try;;
2692: esac
2693: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2694: $as_echo "$ac_try_echo") >&5
2695: (eval "$ac_compiler --version >&5") 2>&5
2696: ac_status=$?
2697: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2698: (exit $ac_status); }
2699: { (ac_try="$ac_compiler -v >&5"
2700: case "(($ac_try" in
2701: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2702: *) ac_try_echo=$ac_try;;
2703: esac
2704: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2705: $as_echo "$ac_try_echo") >&5
2706: (eval "$ac_compiler -v >&5") 2>&5
2707: ac_status=$?
2708: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2709: (exit $ac_status); }
2710: { (ac_try="$ac_compiler -V >&5"
2711: case "(($ac_try" in
2712: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2713: *) ac_try_echo=$ac_try;;
2714: esac
2715: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2716: $as_echo "$ac_try_echo") >&5
2717: (eval "$ac_compiler -V >&5") 2>&5
2718: ac_status=$?
2719: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2720: (exit $ac_status); }
2721:
2722: cat >conftest.$ac_ext <<_ACEOF
2723: /* confdefs.h. */
2724: _ACEOF
2725: cat confdefs.h >>conftest.$ac_ext
2726: cat >>conftest.$ac_ext <<_ACEOF
2727: /* end confdefs.h. */
2728:
2729: int
2730: main ()
2731: {
2732:
2733: ;
2734: return 0;
2735: }
2736: _ACEOF
2737: ac_clean_files_save=$ac_clean_files
2738: ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2739: # Try to create an executable without -o first, disregard a.out.
2740: # It will help us diagnose broken compilers, and finding out an intuition
2741: # of exeext.
2742: { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2743: $as_echo_n "checking for C compiler default output file name... " >&6; }
2744: ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2745:
2746: # The possible output files:
2747: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2748:
2749: ac_rmfiles=
2750: for ac_file in $ac_files
2751: do
2752: case $ac_file in
2753: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2754: * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2755: esac
2756: done
2757: rm -f $ac_rmfiles
2758:
2759: if { (ac_try="$ac_link_default"
2760: case "(($ac_try" in
2761: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2762: *) ac_try_echo=$ac_try;;
2763: esac
2764: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2765: $as_echo "$ac_try_echo") >&5
2766: (eval "$ac_link_default") 2>&5
2767: ac_status=$?
2768: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2769: (exit $ac_status); }; then
2770: # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2771: # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2772: # in a Makefile. We should not override ac_cv_exeext if it was cached,
2773: # so that the user can short-circuit this test for compilers unknown to
2774: # Autoconf.
2775: for ac_file in $ac_files ''
2776: do
2777: test -f "$ac_file" || continue
2778: case $ac_file in
2779: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2780: ;;
2781: [ab].out )
2782: # We found the default executable, but exeext='' is most
2783: # certainly right.
2784: break;;
2785: *.* )
2786: if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2787: then :; else
2788: ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2789: fi
2790: # We set ac_cv_exeext here because the later test for it is not
2791: # safe: cross compilers may not add the suffix if given an `-o'
2792: # argument, so we may need to know it at that point already.
2793: # Even if this section looks crufty: it has the advantage of
2794: # actually working.
2795: break;;
2796: * )
2797: break;;
2798: esac
2799: done
2800: test "$ac_cv_exeext" = no && ac_cv_exeext=
2801:
2802: else
2803: ac_file=''
2804: fi
2805:
2806: { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2807: $as_echo "$ac_file" >&6; }
2808: if test -z "$ac_file"; then
2809: $as_echo "$as_me: failed program was:" >&5
2810: sed 's/^/| /' conftest.$ac_ext >&5
2811:
2812: { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2813: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2814: { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2815: See \`config.log' for more details." >&5
2816: $as_echo "$as_me: error: C compiler cannot create executables
2817: See \`config.log' for more details." >&2;}
2818: { (exit 77); exit 77; }; }; }
2819: fi
2820:
2821: ac_exeext=$ac_cv_exeext
2822:
2823: # Check that the compiler produces executables we can run. If not, either
2824: # the compiler is broken, or we cross compile.
2825: { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2826: $as_echo_n "checking whether the C compiler works... " >&6; }
2827: # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2828: # If not cross compiling, check that we can run a simple program.
2829: if test "$cross_compiling" != yes; then
2830: if { ac_try='./$ac_file'
2831: { (case "(($ac_try" in
2832: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2833: *) ac_try_echo=$ac_try;;
2834: esac
2835: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2836: $as_echo "$ac_try_echo") >&5
2837: (eval "$ac_try") 2>&5
2838: ac_status=$?
2839: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2840: (exit $ac_status); }; }; then
2841: cross_compiling=no
2842: else
2843: if test "$cross_compiling" = maybe; then
2844: cross_compiling=yes
2845: else
2846: { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2847: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2848: { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2849: If you meant to cross compile, use \`--host'.
2850: See \`config.log' for more details." >&5
2851: $as_echo "$as_me: error: cannot run C compiled programs.
2852: If you meant to cross compile, use \`--host'.
2853: See \`config.log' for more details." >&2;}
2854: { (exit 1); exit 1; }; }; }
2855: fi
2856: fi
2857: fi
2858: { $as_echo "$as_me:$LINENO: result: yes" >&5
2859: $as_echo "yes" >&6; }
2860:
2861: rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2862: ac_clean_files=$ac_clean_files_save
2863: # Check that the compiler produces executables we can run. If not, either
2864: # the compiler is broken, or we cross compile.
2865: { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2866: $as_echo_n "checking whether we are cross compiling... " >&6; }
2867: { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2868: $as_echo "$cross_compiling" >&6; }
2869:
2870: { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
2871: $as_echo_n "checking for suffix of executables... " >&6; }
2872: if { (ac_try="$ac_link"
2873: case "(($ac_try" in
2874: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2875: *) ac_try_echo=$ac_try;;
2876: esac
2877: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2878: $as_echo "$ac_try_echo") >&5
2879: (eval "$ac_link") 2>&5
2880: ac_status=$?
2881: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2882: (exit $ac_status); }; then
2883: # If both `conftest.exe' and `conftest' are `present' (well, observable)
2884: # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2885: # work properly (i.e., refer to `conftest.exe'), while it won't with
2886: # `rm'.
2887: for ac_file in conftest.exe conftest conftest.*; do
2888: test -f "$ac_file" || continue
2889: case $ac_file in
2890: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2891: *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2892: break;;
2893: * ) break;;
2894: esac
2895: done
2896: else
2897: { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2898: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2899: { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2900: See \`config.log' for more details." >&5
2901: $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2902: See \`config.log' for more details." >&2;}
2903: { (exit 1); exit 1; }; }; }
2904: fi
2905:
2906: rm -f conftest$ac_cv_exeext
2907: { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2908: $as_echo "$ac_cv_exeext" >&6; }
2909:
2910: rm -f conftest.$ac_ext
2911: EXEEXT=$ac_cv_exeext
2912: ac_exeext=$EXEEXT
2913: { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2914: $as_echo_n "checking for suffix of object files... " >&6; }
2915: if test "${ac_cv_objext+set}" = set; then
2916: $as_echo_n "(cached) " >&6
2917: else
2918: cat >conftest.$ac_ext <<_ACEOF
2919: /* confdefs.h. */
2920: _ACEOF
2921: cat confdefs.h >>conftest.$ac_ext
2922: cat >>conftest.$ac_ext <<_ACEOF
2923: /* end confdefs.h. */
2924:
2925: int
2926: main ()
2927: {
2928:
2929: ;
2930: return 0;
2931: }
2932: _ACEOF
2933: rm -f conftest.o conftest.obj
2934: if { (ac_try="$ac_compile"
2935: case "(($ac_try" in
2936: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2937: *) ac_try_echo=$ac_try;;
2938: esac
2939: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2940: $as_echo "$ac_try_echo") >&5
2941: (eval "$ac_compile") 2>&5
2942: ac_status=$?
2943: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2944: (exit $ac_status); }; then
2945: for ac_file in conftest.o conftest.obj conftest.*; do
2946: test -f "$ac_file" || continue;
2947: case $ac_file in
2948: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2949: *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2950: break;;
2951: esac
2952: done
2953: else
2954: $as_echo "$as_me: failed program was:" >&5
2955: sed 's/^/| /' conftest.$ac_ext >&5
2956:
2957: { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2958: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2959: { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2960: See \`config.log' for more details." >&5
2961: $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2962: See \`config.log' for more details." >&2;}
2963: { (exit 1); exit 1; }; }; }
2964: fi
2965:
2966: rm -f conftest.$ac_cv_objext conftest.$ac_ext
2967: fi
2968: { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2969: $as_echo "$ac_cv_objext" >&6; }
2970: OBJEXT=$ac_cv_objext
2971: ac_objext=$OBJEXT
2972: { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2973: $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2974: if test "${ac_cv_c_compiler_gnu+set}" = set; then
2975: $as_echo_n "(cached) " >&6
2976: else
2977: cat >conftest.$ac_ext <<_ACEOF
2978: /* confdefs.h. */
2979: _ACEOF
2980: cat confdefs.h >>conftest.$ac_ext
2981: cat >>conftest.$ac_ext <<_ACEOF
2982: /* end confdefs.h. */
2983:
2984: int
2985: main ()
2986: {
2987: #ifndef __GNUC__
2988: choke me
2989: #endif
2990:
2991: ;
2992: return 0;
2993: }
2994: _ACEOF
2995: rm -f conftest.$ac_objext
2996: if { (ac_try="$ac_compile"
2997: case "(($ac_try" in
2998: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2999: *) ac_try_echo=$ac_try;;
3000: esac
3001: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3002: $as_echo "$ac_try_echo") >&5
3003: (eval "$ac_compile") 2>conftest.er1
3004: ac_status=$?
3005: grep -v '^ *+' conftest.er1 >conftest.err
3006: rm -f conftest.er1
3007: cat conftest.err >&5
3008: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3009: (exit $ac_status); } && {
3010: test -z "$ac_c_werror_flag" ||
3011: test ! -s conftest.err
3012: } && test -s conftest.$ac_objext; then
3013: ac_compiler_gnu=yes
3014: else
3015: $as_echo "$as_me: failed program was:" >&5
3016: sed 's/^/| /' conftest.$ac_ext >&5
3017:
3018: ac_compiler_gnu=no
3019: fi
3020:
3021: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3022: ac_cv_c_compiler_gnu=$ac_compiler_gnu
3023:
3024: fi
3025: { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3026: $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3027: if test $ac_compiler_gnu = yes; then
3028: GCC=yes
3029: else
3030: GCC=
3031: fi
3032: ac_test_CFLAGS=${CFLAGS+set}
3033: ac_save_CFLAGS=$CFLAGS
3034: { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3035: $as_echo_n "checking whether $CC accepts -g... " >&6; }
3036: if test "${ac_cv_prog_cc_g+set}" = set; then
3037: $as_echo_n "(cached) " >&6
3038: else
3039: ac_save_c_werror_flag=$ac_c_werror_flag
3040: ac_c_werror_flag=yes
3041: ac_cv_prog_cc_g=no
3042: CFLAGS="-g"
3043: cat >conftest.$ac_ext <<_ACEOF
3044: /* confdefs.h. */
3045: _ACEOF
3046: cat confdefs.h >>conftest.$ac_ext
3047: cat >>conftest.$ac_ext <<_ACEOF
3048: /* end confdefs.h. */
3049:
3050: int
3051: main ()
3052: {
3053:
3054: ;
3055: return 0;
3056: }
3057: _ACEOF
3058: rm -f conftest.$ac_objext
3059: if { (ac_try="$ac_compile"
3060: case "(($ac_try" in
3061: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3062: *) ac_try_echo=$ac_try;;
3063: esac
3064: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3065: $as_echo "$ac_try_echo") >&5
3066: (eval "$ac_compile") 2>conftest.er1
3067: ac_status=$?
3068: grep -v '^ *+' conftest.er1 >conftest.err
3069: rm -f conftest.er1
3070: cat conftest.err >&5
3071: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3072: (exit $ac_status); } && {
3073: test -z "$ac_c_werror_flag" ||
3074: test ! -s conftest.err
3075: } && test -s conftest.$ac_objext; then
3076: ac_cv_prog_cc_g=yes
3077: else
3078: $as_echo "$as_me: failed program was:" >&5
3079: sed 's/^/| /' conftest.$ac_ext >&5
3080:
3081: CFLAGS=""
3082: cat >conftest.$ac_ext <<_ACEOF
3083: /* confdefs.h. */
3084: _ACEOF
3085: cat confdefs.h >>conftest.$ac_ext
3086: cat >>conftest.$ac_ext <<_ACEOF
3087: /* end confdefs.h. */
3088:
3089: int
3090: main ()
3091: {
3092:
3093: ;
3094: return 0;
3095: }
3096: _ACEOF
3097: rm -f conftest.$ac_objext
3098: if { (ac_try="$ac_compile"
3099: case "(($ac_try" in
3100: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3101: *) ac_try_echo=$ac_try;;
3102: esac
3103: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3104: $as_echo "$ac_try_echo") >&5
3105: (eval "$ac_compile") 2>conftest.er1
3106: ac_status=$?
3107: grep -v '^ *+' conftest.er1 >conftest.err
3108: rm -f conftest.er1
3109: cat conftest.err >&5
3110: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3111: (exit $ac_status); } && {
3112: test -z "$ac_c_werror_flag" ||
3113: test ! -s conftest.err
3114: } && test -s conftest.$ac_objext; then
3115: :
3116: else
3117: $as_echo "$as_me: failed program was:" >&5
3118: sed 's/^/| /' conftest.$ac_ext >&5
3119:
3120: ac_c_werror_flag=$ac_save_c_werror_flag
3121: CFLAGS="-g"
3122: cat >conftest.$ac_ext <<_ACEOF
3123: /* confdefs.h. */
3124: _ACEOF
3125: cat confdefs.h >>conftest.$ac_ext
3126: cat >>conftest.$ac_ext <<_ACEOF
3127: /* end confdefs.h. */
3128:
3129: int
3130: main ()
3131: {
3132:
3133: ;
3134: return 0;
3135: }
3136: _ACEOF
3137: rm -f conftest.$ac_objext
3138: if { (ac_try="$ac_compile"
3139: case "(($ac_try" in
3140: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3141: *) ac_try_echo=$ac_try;;
3142: esac
3143: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3144: $as_echo "$ac_try_echo") >&5
3145: (eval "$ac_compile") 2>conftest.er1
3146: ac_status=$?
3147: grep -v '^ *+' conftest.er1 >conftest.err
3148: rm -f conftest.er1
3149: cat conftest.err >&5
3150: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3151: (exit $ac_status); } && {
3152: test -z "$ac_c_werror_flag" ||
3153: test ! -s conftest.err
3154: } && test -s conftest.$ac_objext; then
3155: ac_cv_prog_cc_g=yes
3156: else
3157: $as_echo "$as_me: failed program was:" >&5
3158: sed 's/^/| /' conftest.$ac_ext >&5
3159:
3160:
3161: fi
3162:
3163: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3164: fi
3165:
3166: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3167: fi
3168:
3169: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3170: ac_c_werror_flag=$ac_save_c_werror_flag
3171: fi
3172: { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3173: $as_echo "$ac_cv_prog_cc_g" >&6; }
3174: if test "$ac_test_CFLAGS" = set; then
3175: CFLAGS=$ac_save_CFLAGS
3176: elif test $ac_cv_prog_cc_g = yes; then
3177: if test "$GCC" = yes; then
3178: CFLAGS="-g -O2"
3179: else
3180: CFLAGS="-g"
3181: fi
3182: else
3183: if test "$GCC" = yes; then
3184: CFLAGS="-O2"
3185: else
3186: CFLAGS=
3187: fi
3188: fi
3189: { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3190: $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3191: if test "${ac_cv_prog_cc_c89+set}" = set; then
3192: $as_echo_n "(cached) " >&6
3193: else
3194: ac_cv_prog_cc_c89=no
3195: ac_save_CC=$CC
3196: cat >conftest.$ac_ext <<_ACEOF
3197: /* confdefs.h. */
3198: _ACEOF
3199: cat confdefs.h >>conftest.$ac_ext
3200: cat >>conftest.$ac_ext <<_ACEOF
3201: /* end confdefs.h. */
3202: #include <stdarg.h>
3203: #include <stdio.h>
3204: #include <sys/types.h>
3205: #include <sys/stat.h>
3206: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3207: struct buf { int x; };
3208: FILE * (*rcsopen) (struct buf *, struct stat *, int);
3209: static char *e (p, i)
3210: char **p;
3211: int i;
3212: {
3213: return p[i];
3214: }
3215: static char *f (char * (*g) (char **, int), char **p, ...)
3216: {
3217: char *s;
3218: va_list v;
3219: va_start (v,p);
3220: s = g (p, va_arg (v,int));
3221: va_end (v);
3222: return s;
3223: }
3224:
3225: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3226: function prototypes and stuff, but not '\xHH' hex character constants.
3227: These don't provoke an error unfortunately, instead are silently treated
3228: as 'x'. The following induces an error, until -std is added to get
3229: proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3230: array size at least. It's necessary to write '\x00'==0 to get something
3231: that's true only with -std. */
3232: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3233:
3234: /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3235: inside strings and character constants. */
3236: #define FOO(x) 'x'
3237: int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3238:
3239: int test (int i, double x);
3240: struct s1 {int (*f) (int a);};
3241: struct s2 {int (*f) (double a);};
3242: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3243: int argc;
3244: char **argv;
3245: int
3246: main ()
3247: {
3248: return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3249: ;
3250: return 0;
3251: }
3252: _ACEOF
3253: for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3254: -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3255: do
3256: CC="$ac_save_CC $ac_arg"
3257: rm -f conftest.$ac_objext
3258: if { (ac_try="$ac_compile"
3259: case "(($ac_try" in
3260: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3261: *) ac_try_echo=$ac_try;;
3262: esac
3263: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3264: $as_echo "$ac_try_echo") >&5
3265: (eval "$ac_compile") 2>conftest.er1
3266: ac_status=$?
3267: grep -v '^ *+' conftest.er1 >conftest.err
3268: rm -f conftest.er1
3269: cat conftest.err >&5
3270: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3271: (exit $ac_status); } && {
3272: test -z "$ac_c_werror_flag" ||
3273: test ! -s conftest.err
3274: } && test -s conftest.$ac_objext; then
3275: ac_cv_prog_cc_c89=$ac_arg
3276: else
3277: $as_echo "$as_me: failed program was:" >&5
3278: sed 's/^/| /' conftest.$ac_ext >&5
3279:
3280:
3281: fi
3282:
3283: rm -f core conftest.err conftest.$ac_objext
3284: test "x$ac_cv_prog_cc_c89" != "xno" && break
3285: done
3286: rm -f conftest.$ac_ext
3287: CC=$ac_save_CC
3288:
3289: fi
3290: # AC_CACHE_VAL
3291: case "x$ac_cv_prog_cc_c89" in
3292: x)
3293: { $as_echo "$as_me:$LINENO: result: none needed" >&5
3294: $as_echo "none needed" >&6; } ;;
3295: xno)
3296: { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3297: $as_echo "unsupported" >&6; } ;;
3298: *)
3299: CC="$CC $ac_cv_prog_cc_c89"
3300: { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3301: $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3302: esac
3303:
3304:
3305: ac_ext=c
3306: ac_cpp='$CPP $CPPFLAGS'
3307: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3308: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3309: ac_compiler_gnu=$ac_cv_c_compiler_gnu
3310:
3311: depcc="$CC" am_compiler_list=
3312:
3313: { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3314: $as_echo_n "checking dependency style of $depcc... " >&6; }
3315: if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3316: $as_echo_n "(cached) " >&6
3317: else
3318: if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3319: # We make a subdir and do the tests there. Otherwise we can end up
3320: # making bogus files that we don't know about and never remove. For
3321: # instance it was reported that on HP-UX the gcc test will end up
3322: # making a dummy file named `D' -- because `-MD' means `put the output
3323: # in D'.
3324: mkdir conftest.dir
3325: # Copy depcomp to subdir because otherwise we won't find it if we're
3326: # using a relative directory.
3327: cp "$am_depcomp" conftest.dir
3328: cd conftest.dir
3329: # We will build objects and dependencies in a subdirectory because
3330: # it helps to detect inapplicable dependency modes. For instance
3331: # both Tru64's cc and ICC support -MD to output dependencies as a
3332: # side effect of compilation, but ICC will put the dependencies in
3333: # the current directory while Tru64 will put them in the object
3334: # directory.
3335: mkdir sub
3336:
3337: am_cv_CC_dependencies_compiler_type=none
3338: if test "$am_compiler_list" = ""; then
3339: am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3340: fi
3341: am__universal=false
3342: case " $depcc " in #(
3343: *\ -arch\ *\ -arch\ *) am__universal=true ;;
3344: esac
3345:
3346: for depmode in $am_compiler_list; do
3347: # Setup a source with many dependencies, because some compilers
3348: # like to wrap large dependency lists on column 80 (with \), and
3349: # we should not choose a depcomp mode which is confused by this.
3350: #
3351: # We need to recreate these files for each test, as the compiler may
3352: # overwrite some of them when testing with obscure command lines.
3353: # This happens at least with the AIX C compiler.
3354: : > sub/conftest.c
3355: for i in 1 2 3 4 5 6; do
3356: echo '#include "conftst'$i'.h"' >> sub/conftest.c
3357: # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3358: # Solaris 8's {/usr,}/bin/sh.
3359: touch sub/conftst$i.h
3360: done
3361: echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3362:
3363: # We check with `-c' and `-o' for the sake of the "dashmstdout"
3364: # mode. It turns out that the SunPro C++ compiler does not properly
3365: # handle `-M -o', and we need to detect this. Also, some Intel
3366: # versions had trouble with output in subdirs
3367: am__obj=sub/conftest.${OBJEXT-o}
3368: am__minus_obj="-o $am__obj"
3369: case $depmode in
3370: gcc)
3371: # This depmode causes a compiler race in universal mode.
3372: test "$am__universal" = false || continue
3373: ;;
3374: nosideeffect)
3375: # after this tag, mechanisms are not by side-effect, so they'll
3376: # only be used when explicitly requested
3377: if test "x$enable_dependency_tracking" = xyes; then
3378: continue
3379: else
3380: break
3381: fi
3382: ;;
3383: msvisualcpp | msvcmsys)
3384: # This compiler won't grok `-c -o', but also, the minuso test has
3385: # not run yet. These depmodes are late enough in the game, and
3386: # so weak that their functioning should not be impacted.
3387: am__obj=conftest.${OBJEXT-o}
3388: am__minus_obj=
3389: ;;
3390: none) break ;;
3391: esac
3392: if depmode=$depmode \
3393: source=sub/conftest.c object=$am__obj \
3394: depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3395: $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3396: >/dev/null 2>conftest.err &&
3397: grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3398: grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3399: grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3400: ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3401: # icc doesn't choke on unknown options, it will just issue warnings
3402: # or remarks (even with -Werror). So we grep stderr for any message
3403: # that says an option was ignored or not supported.
3404: # When given -MP, icc 7.0 and 7.1 complain thusly:
3405: # icc: Command line warning: ignoring option '-M'; no argument required
3406: # The diagnosis changed in icc 8.0:
3407: # icc: Command line remark: option '-MP' not supported
3408: if (grep 'ignoring option' conftest.err ||
3409: grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3410: am_cv_CC_dependencies_compiler_type=$depmode
3411: break
3412: fi
3413: fi
3414: done
3415:
3416: cd ..
3417: rm -rf conftest.dir
3418: else
3419: am_cv_CC_dependencies_compiler_type=none
3420: fi
3421:
3422: fi
3423: { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3424: $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3425: CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3426:
3427: if
3428: test "x$enable_dependency_tracking" != xno \
3429: && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3430: am__fastdepCC_TRUE=
3431: am__fastdepCC_FALSE='#'
3432: else
3433: am__fastdepCC_TRUE='#'
3434: am__fastdepCC_FALSE=
3435: fi
3436:
3437:
3438: { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C99" >&5
3439: $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3440: if test "${ac_cv_prog_cc_c99+set}" = set; then
3441: $as_echo_n "(cached) " >&6
3442: else
3443: ac_cv_prog_cc_c99=no
3444: ac_save_CC=$CC
3445: cat >conftest.$ac_ext <<_ACEOF
3446: /* confdefs.h. */
3447: _ACEOF
3448: cat confdefs.h >>conftest.$ac_ext
3449: cat >>conftest.$ac_ext <<_ACEOF
3450: /* end confdefs.h. */
3451: #include <stdarg.h>
3452: #include <stdbool.h>
3453: #include <stdlib.h>
3454: #include <wchar.h>
3455: #include <stdio.h>
3456:
3457: // Check varargs macros. These examples are taken from C99 6.10.3.5.
3458: #define debug(...) fprintf (stderr, __VA_ARGS__)
3459: #define showlist(...) puts (#__VA_ARGS__)
3460: #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3461: static void
3462: test_varargs_macros (void)
3463: {
3464: int x = 1234;
3465: int y = 5678;
3466: debug ("Flag");
3467: debug ("X = %d\n", x);
3468: showlist (The first, second, and third items.);
3469: report (x>y, "x is %d but y is %d", x, y);
3470: }
3471:
3472: // Check long long types.
3473: #define BIG64 18446744073709551615ull
3474: #define BIG32 4294967295ul
3475: #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3476: #if !BIG_OK
3477: your preprocessor is broken;
3478: #endif
3479: #if BIG_OK
3480: #else
3481: your preprocessor is broken;
3482: #endif
3483: static long long int bignum = -9223372036854775807LL;
3484: static unsigned long long int ubignum = BIG64;
3485:
3486: struct incomplete_array
3487: {
3488: int datasize;
3489: double data[];
3490: };
3491:
3492: struct named_init {
3493: int number;
3494: const wchar_t *name;
3495: double average;
3496: };
3497:
3498: typedef const char *ccp;
3499:
3500: static inline int
3501: test_restrict (ccp restrict text)
3502: {
3503: // See if C++-style comments work.
3504: // Iterate through items via the restricted pointer.
3505: // Also check for declarations in for loops.
3506: for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3507: continue;
3508: return 0;
3509: }
3510:
3511: // Check varargs and va_copy.
3512: static void
3513: test_varargs (const char *format, ...)
3514: {
3515: va_list args;
3516: va_start (args, format);
3517: va_list args_copy;
3518: va_copy (args_copy, args);
3519:
3520: const char *str;
3521: int number;
3522: float fnumber;
3523:
3524: while (*format)
3525: {
3526: switch (*format++)
3527: {
3528: case 's': // string
3529: str = va_arg (args_copy, const char *);
3530: break;
3531: case 'd': // int
3532: number = va_arg (args_copy, int);
3533: break;
3534: case 'f': // float
3535: fnumber = va_arg (args_copy, double);
3536: break;
3537: default:
3538: break;
3539: }
3540: }
3541: va_end (args_copy);
3542: va_end (args);
3543: }
3544:
3545: int
3546: main ()
3547: {
3548:
3549: // Check bool.
3550: _Bool success = false;
3551:
3552: // Check restrict.
3553: if (test_restrict ("String literal") == 0)
3554: success = true;
3555: char *restrict newvar = "Another string";
3556:
3557: // Check varargs.
3558: test_varargs ("s, d' f .", "string", 65, 34.234);
3559: test_varargs_macros ();
3560:
3561: // Check flexible array members.
3562: struct incomplete_array *ia =
3563: malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3564: ia->datasize = 10;
3565: for (int i = 0; i < ia->datasize; ++i)
3566: ia->data[i] = i * 1.234;
3567:
3568: // Check named initializers.
3569: struct named_init ni = {
3570: .number = 34,
3571: .name = L"Test wide string",
3572: .average = 543.34343,
3573: };
3574:
3575: ni.number = 58;
3576:
3577: int dynamic_array[ni.number];
3578: dynamic_array[ni.number - 1] = 543;
3579:
3580: // work around unused variable warnings
3581: return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
3582: || dynamic_array[ni.number - 1] != 543);
3583:
3584: ;
3585: return 0;
3586: }
3587: _ACEOF
3588: for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
3589: do
3590: CC="$ac_save_CC $ac_arg"
3591: rm -f conftest.$ac_objext
3592: if { (ac_try="$ac_compile"
3593: case "(($ac_try" in
3594: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3595: *) ac_try_echo=$ac_try;;
3596: esac
3597: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3598: $as_echo "$ac_try_echo") >&5
3599: (eval "$ac_compile") 2>conftest.er1
3600: ac_status=$?
3601: grep -v '^ *+' conftest.er1 >conftest.err
3602: rm -f conftest.er1
3603: cat conftest.err >&5
3604: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3605: (exit $ac_status); } && {
3606: test -z "$ac_c_werror_flag" ||
3607: test ! -s conftest.err
3608: } && test -s conftest.$ac_objext; then
3609: ac_cv_prog_cc_c99=$ac_arg
3610: else
3611: $as_echo "$as_me: failed program was:" >&5
3612: sed 's/^/| /' conftest.$ac_ext >&5
3613:
3614:
3615: fi
3616:
3617: rm -f core conftest.err conftest.$ac_objext
3618: test "x$ac_cv_prog_cc_c99" != "xno" && break
3619: done
3620: rm -f conftest.$ac_ext
3621: CC=$ac_save_CC
3622:
3623: fi
3624: # AC_CACHE_VAL
3625: case "x$ac_cv_prog_cc_c99" in
3626: x)
3627: { $as_echo "$as_me:$LINENO: result: none needed" >&5
3628: $as_echo "none needed" >&6; } ;;
3629: xno)
3630: { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3631: $as_echo "unsupported" >&6; } ;;
3632: *)
3633: CC="$CC $ac_cv_prog_cc_c99"
3634: { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c99" >&5
3635: $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
3636: esac
3637:
3638:
3639:
3640:
3641: # Make sure we can run config.sub.
3642: $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3643: { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
3644: $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
3645: { (exit 1); exit 1; }; }
3646:
3647: { $as_echo "$as_me:$LINENO: checking build system type" >&5
3648: $as_echo_n "checking build system type... " >&6; }
3649: if test "${ac_cv_build+set}" = set; then
3650: $as_echo_n "(cached) " >&6
3651: else
3652: ac_build_alias=$build_alias
3653: test "x$ac_build_alias" = x &&
3654: ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3655: test "x$ac_build_alias" = x &&
3656: { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3657: $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3658: { (exit 1); exit 1; }; }
3659: ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3660: { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
3661: $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
3662: { (exit 1); exit 1; }; }
3663:
3664: fi
3665: { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3666: $as_echo "$ac_cv_build" >&6; }
3667: case $ac_cv_build in
3668: *-*-*) ;;
3669: *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
3670: $as_echo "$as_me: error: invalid value of canonical build" >&2;}
3671: { (exit 1); exit 1; }; };;
3672: esac
3673: build=$ac_cv_build
3674: ac_save_IFS=$IFS; IFS='-'
3675: set x $ac_cv_build
3676: shift
3677: build_cpu=$1
3678: build_vendor=$2
3679: shift; shift
3680: # Remember, the first character of IFS is used to create $*,
3681: # except with old shells:
3682: build_os=$*
3683: IFS=$ac_save_IFS
3684: case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3685:
3686:
3687: { $as_echo "$as_me:$LINENO: checking host system type" >&5
3688: $as_echo_n "checking host system type... " >&6; }
3689: if test "${ac_cv_host+set}" = set; then
3690: $as_echo_n "(cached) " >&6
3691: else
3692: if test "x$host_alias" = x; then
3693: ac_cv_host=$ac_cv_build
3694: else
3695: ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3696: { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
3697: $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
3698: { (exit 1); exit 1; }; }
3699: fi
3700:
3701: fi
3702: { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3703: $as_echo "$ac_cv_host" >&6; }
3704: case $ac_cv_host in
3705: *-*-*) ;;
3706: *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
3707: $as_echo "$as_me: error: invalid value of canonical host" >&2;}
3708: { (exit 1); exit 1; }; };;
3709: esac
3710: host=$ac_cv_host
3711: ac_save_IFS=$IFS; IFS='-'
3712: set x $ac_cv_host
3713: shift
3714: host_cpu=$1
3715: host_vendor=$2
3716: shift; shift
3717: # Remember, the first character of IFS is used to create $*,
3718: # except with old shells:
3719: host_os=$*
3720: IFS=$ac_save_IFS
3721: case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3722:
3723:
3724: case $host_os in
3725: linux*) os=linux;;
3726: freebsd*) os=freebsd;;
3727: netbsd*) os=netbsd;;
3728: openbsd*) os=openbsd;;
3729: dragonfly*) os=dragonfly;;
3730: *) { { $as_echo "$as_me:$LINENO: error: OS $host_os is not supported" >&5
3731: $as_echo "$as_me: error: OS $host_os is not supported" >&2;}
3732: { (exit 1); exit 1; }; };;
3733: esac
3734: ac_config_links="$ac_config_links src/os.h:src/os-${os}.h"
3735:
3736:
3737:
3738: { $as_echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
3739: $as_echo_n "checking for struct sockaddr.sa_len... " >&6; }
3740: if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
3741: $as_echo_n "(cached) " >&6
3742: else
3743: cat >conftest.$ac_ext <<_ACEOF
3744: /* confdefs.h. */
3745: _ACEOF
3746: cat confdefs.h >>conftest.$ac_ext
3747: cat >>conftest.$ac_ext <<_ACEOF
3748: /* end confdefs.h. */
3749:
3750: #include <sys/types.h>
3751: #include <sys/socket.h>
3752:
3753:
3754: int
3755: main ()
3756: {
3757: static struct sockaddr ac_aggr;
3758: if (ac_aggr.sa_len)
3759: return 0;
3760: ;
3761: return 0;
3762: }
3763: _ACEOF
3764: rm -f conftest.$ac_objext
3765: if { (ac_try="$ac_compile"
3766: case "(($ac_try" in
3767: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3768: *) ac_try_echo=$ac_try;;
3769: esac
3770: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3771: $as_echo "$ac_try_echo") >&5
3772: (eval "$ac_compile") 2>conftest.er1
3773: ac_status=$?
3774: grep -v '^ *+' conftest.er1 >conftest.err
3775: rm -f conftest.er1
3776: cat conftest.err >&5
3777: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3778: (exit $ac_status); } && {
3779: test -z "$ac_c_werror_flag" ||
3780: test ! -s conftest.err
3781: } && test -s conftest.$ac_objext; then
3782: ac_cv_member_struct_sockaddr_sa_len=yes
3783: else
3784: $as_echo "$as_me: failed program was:" >&5
3785: sed 's/^/| /' conftest.$ac_ext >&5
3786:
3787: cat >conftest.$ac_ext <<_ACEOF
3788: /* confdefs.h. */
3789: _ACEOF
3790: cat confdefs.h >>conftest.$ac_ext
3791: cat >>conftest.$ac_ext <<_ACEOF
3792: /* end confdefs.h. */
3793:
3794: #include <sys/types.h>
3795: #include <sys/socket.h>
3796:
3797:
3798: int
3799: main ()
3800: {
3801: static struct sockaddr ac_aggr;
3802: if (sizeof ac_aggr.sa_len)
3803: return 0;
3804: ;
3805: return 0;
3806: }
3807: _ACEOF
3808: rm -f conftest.$ac_objext
3809: if { (ac_try="$ac_compile"
3810: case "(($ac_try" in
3811: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3812: *) ac_try_echo=$ac_try;;
3813: esac
3814: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3815: $as_echo "$ac_try_echo") >&5
3816: (eval "$ac_compile") 2>conftest.er1
3817: ac_status=$?
3818: grep -v '^ *+' conftest.er1 >conftest.err
3819: rm -f conftest.er1
3820: cat conftest.err >&5
3821: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3822: (exit $ac_status); } && {
3823: test -z "$ac_c_werror_flag" ||
3824: test ! -s conftest.err
3825: } && test -s conftest.$ac_objext; then
3826: ac_cv_member_struct_sockaddr_sa_len=yes
3827: else
3828: $as_echo "$as_me: failed program was:" >&5
3829: sed 's/^/| /' conftest.$ac_ext >&5
3830:
3831: ac_cv_member_struct_sockaddr_sa_len=no
3832: fi
3833:
3834: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3835: fi
3836:
3837: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3838: fi
3839: { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
3840: $as_echo "$ac_cv_member_struct_sockaddr_sa_len" >&6; }
3841: if test "x$ac_cv_member_struct_sockaddr_sa_len" = x""yes; then
3842:
3843: cat >>confdefs.h <<_ACEOF
3844: #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
3845: _ACEOF
3846:
3847:
3848: fi
3849:
3850: { $as_echo "$as_me:$LINENO: checking for struct sockaddr_in.sin_len" >&5
3851: $as_echo_n "checking for struct sockaddr_in.sin_len... " >&6; }
3852: if test "${ac_cv_member_struct_sockaddr_in_sin_len+set}" = set; then
3853: $as_echo_n "(cached) " >&6
3854: else
3855: cat >conftest.$ac_ext <<_ACEOF
3856: /* confdefs.h. */
3857: _ACEOF
3858: cat confdefs.h >>conftest.$ac_ext
3859: cat >>conftest.$ac_ext <<_ACEOF
3860: /* end confdefs.h. */
3861:
3862: #include <sys/types.h>
3863: #include <netinet/in.h>
3864:
3865:
3866: int
3867: main ()
3868: {
3869: static struct sockaddr_in ac_aggr;
3870: if (ac_aggr.sin_len)
3871: return 0;
3872: ;
3873: return 0;
3874: }
3875: _ACEOF
3876: rm -f conftest.$ac_objext
3877: if { (ac_try="$ac_compile"
3878: case "(($ac_try" in
3879: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3880: *) ac_try_echo=$ac_try;;
3881: esac
3882: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3883: $as_echo "$ac_try_echo") >&5
3884: (eval "$ac_compile") 2>conftest.er1
3885: ac_status=$?
3886: grep -v '^ *+' conftest.er1 >conftest.err
3887: rm -f conftest.er1
3888: cat conftest.err >&5
3889: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3890: (exit $ac_status); } && {
3891: test -z "$ac_c_werror_flag" ||
3892: test ! -s conftest.err
3893: } && test -s conftest.$ac_objext; then
3894: ac_cv_member_struct_sockaddr_in_sin_len=yes
3895: else
3896: $as_echo "$as_me: failed program was:" >&5
3897: sed 's/^/| /' conftest.$ac_ext >&5
3898:
3899: cat >conftest.$ac_ext <<_ACEOF
3900: /* confdefs.h. */
3901: _ACEOF
3902: cat confdefs.h >>conftest.$ac_ext
3903: cat >>conftest.$ac_ext <<_ACEOF
3904: /* end confdefs.h. */
3905:
3906: #include <sys/types.h>
3907: #include <netinet/in.h>
3908:
3909:
3910: int
3911: main ()
3912: {
3913: static struct sockaddr_in ac_aggr;
3914: if (sizeof ac_aggr.sin_len)
3915: return 0;
3916: ;
3917: return 0;
3918: }
3919: _ACEOF
3920: rm -f conftest.$ac_objext
3921: if { (ac_try="$ac_compile"
3922: case "(($ac_try" in
3923: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3924: *) ac_try_echo=$ac_try;;
3925: esac
3926: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3927: $as_echo "$ac_try_echo") >&5
3928: (eval "$ac_compile") 2>conftest.er1
3929: ac_status=$?
3930: grep -v '^ *+' conftest.er1 >conftest.err
3931: rm -f conftest.er1
3932: cat conftest.err >&5
3933: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3934: (exit $ac_status); } && {
3935: test -z "$ac_c_werror_flag" ||
3936: test ! -s conftest.err
3937: } && test -s conftest.$ac_objext; then
3938: ac_cv_member_struct_sockaddr_in_sin_len=yes
3939: else
3940: $as_echo "$as_me: failed program was:" >&5
3941: sed 's/^/| /' conftest.$ac_ext >&5
3942:
3943: ac_cv_member_struct_sockaddr_in_sin_len=no
3944: fi
3945:
3946: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3947: fi
3948:
3949: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3950: fi
3951: { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in_sin_len" >&5
3952: $as_echo "$ac_cv_member_struct_sockaddr_in_sin_len" >&6; }
3953: if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = x""yes; then
3954:
3955: cat >>confdefs.h <<_ACEOF
3956: #define HAVE_STRUCT_SOCKADDR_IN_SIN_LEN 1
3957: _ACEOF
3958:
3959:
3960: fi
3961:
3962:
3963: ac_config_files="$ac_config_files Makefile doc/Makefile src/Makefile doc/igmpproxy.8 doc/igmpproxy.conf.5"
3964:
3965: cat >confcache <<\_ACEOF
3966: # This file is a shell script that caches the results of configure
3967: # tests run on this system so they can be shared between configure
3968: # scripts and configure runs, see configure's option --config-cache.
3969: # It is not useful on other systems. If it contains results you don't
3970: # want to keep, you may remove or edit it.
3971: #
3972: # config.status only pays attention to the cache file if you give it
3973: # the --recheck option to rerun configure.
3974: #
3975: # `ac_cv_env_foo' variables (set or unset) will be overridden when
3976: # loading this file, other *unset* `ac_cv_foo' will be assigned the
3977: # following values.
3978:
3979: _ACEOF
3980:
3981: # The following way of writing the cache mishandles newlines in values,
3982: # but we know of no workaround that is simple, portable, and efficient.
3983: # So, we kill variables containing newlines.
3984: # Ultrix sh set writes to stderr and can't be redirected directly,
3985: # and sets the high bit in the cache file unless we assign to the vars.
3986: (
3987: for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3988: eval ac_val=\$$ac_var
3989: case $ac_val in #(
3990: *${as_nl}*)
3991: case $ac_var in #(
3992: *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
3993: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3994: esac
3995: case $ac_var in #(
3996: _ | IFS | as_nl) ;; #(
3997: BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3998: *) $as_unset $ac_var ;;
3999: esac ;;
4000: esac
4001: done
4002:
4003: (set) 2>&1 |
4004: case $as_nl`(ac_space=' '; set) 2>&1` in #(
4005: *${as_nl}ac_space=\ *)
4006: # `set' does not quote correctly, so add quotes (double-quote
4007: # substitution turns \\\\ into \\, and sed turns \\ into \).
4008: sed -n \
4009: "s/'/'\\\\''/g;
4010: s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4011: ;; #(
4012: *)
4013: # `set' quotes correctly as required by POSIX, so do not add quotes.
4014: sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4015: ;;
4016: esac |
4017: sort
4018: ) |
4019: sed '
4020: /^ac_cv_env_/b end
4021: t clear
4022: :clear
4023: s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4024: t end
4025: s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4026: :end' >>confcache
4027: if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4028: if test -w "$cache_file"; then
4029: test "x$cache_file" != "x/dev/null" &&
4030: { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
4031: $as_echo "$as_me: updating cache $cache_file" >&6;}
4032: cat confcache >$cache_file
4033: else
4034: { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
4035: $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4036: fi
4037: fi
4038: rm -f confcache
4039:
4040: test "x$prefix" = xNONE && prefix=$ac_default_prefix
4041: # Let make expand exec_prefix.
4042: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4043:
4044: DEFS=-DHAVE_CONFIG_H
4045:
4046: ac_libobjs=
4047: ac_ltlibobjs=
4048: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4049: # 1. Remove the extension, and $U if already installed.
4050: ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4051: ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4052: # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4053: # will be set to the directory where LIBOBJS objects are built.
4054: ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4055: ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
4056: done
4057: LIBOBJS=$ac_libobjs
4058:
4059: LTLIBOBJS=$ac_ltlibobjs
4060:
4061:
4062: if test -n "$EXEEXT"; then
4063: am__EXEEXT_TRUE=
4064: am__EXEEXT_FALSE='#'
4065: else
4066: am__EXEEXT_TRUE='#'
4067: am__EXEEXT_FALSE=
4068: fi
4069:
4070: if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4071: { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
4072: Usually this means the macro was only invoked conditionally." >&5
4073: $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
4074: Usually this means the macro was only invoked conditionally." >&2;}
4075: { (exit 1); exit 1; }; }
4076: fi
4077: if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4078: { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
4079: Usually this means the macro was only invoked conditionally." >&5
4080: $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
4081: Usually this means the macro was only invoked conditionally." >&2;}
4082: { (exit 1); exit 1; }; }
4083: fi
4084:
4085: : ${CONFIG_STATUS=./config.status}
4086: ac_write_fail=0
4087: ac_clean_files_save=$ac_clean_files
4088: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4089: { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4090: $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4091: cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4092: #! $SHELL
4093: # Generated by $as_me.
4094: # Run this file to recreate the current configuration.
4095: # Compiler output produced by configure, useful for debugging
4096: # configure, is in config.log if it exists.
4097:
4098: debug=false
4099: ac_cs_recheck=false
4100: ac_cs_silent=false
4101: SHELL=\${CONFIG_SHELL-$SHELL}
4102: _ACEOF
4103:
4104: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4105: ## --------------------- ##
4106: ## M4sh Initialization. ##
4107: ## --------------------- ##
4108:
4109: # Be more Bourne compatible
4110: DUALCASE=1; export DUALCASE # for MKS sh
4111: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4112: emulate sh
4113: NULLCMD=:
4114: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4115: # is contrary to our usage. Disable this feature.
4116: alias -g '${1+"$@"}'='"$@"'
4117: setopt NO_GLOB_SUBST
4118: else
4119: case `(set -o) 2>/dev/null` in
4120: *posix*) set -o posix ;;
4121: esac
4122:
4123: fi
4124:
4125:
4126:
4127:
4128: # PATH needs CR
4129: # Avoid depending upon Character Ranges.
4130: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4131: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4132: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4133: as_cr_digits='0123456789'
4134: as_cr_alnum=$as_cr_Letters$as_cr_digits
4135:
4136: as_nl='
4137: '
4138: export as_nl
4139: # Printing a long string crashes Solaris 7 /usr/bin/printf.
4140: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4141: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4142: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4143: if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4144: as_echo='printf %s\n'
4145: as_echo_n='printf %s'
4146: else
4147: if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4148: as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4149: as_echo_n='/usr/ucb/echo -n'
4150: else
4151: as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4152: as_echo_n_body='eval
4153: arg=$1;
4154: case $arg in
4155: *"$as_nl"*)
4156: expr "X$arg" : "X\\(.*\\)$as_nl";
4157: arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4158: esac;
4159: expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4160: '
4161: export as_echo_n_body
4162: as_echo_n='sh -c $as_echo_n_body as_echo'
4163: fi
4164: export as_echo_body
4165: as_echo='sh -c $as_echo_body as_echo'
4166: fi
4167:
4168: # The user is always right.
4169: if test "${PATH_SEPARATOR+set}" != set; then
4170: PATH_SEPARATOR=:
4171: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4172: (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4173: PATH_SEPARATOR=';'
4174: }
4175: fi
4176:
4177: # Support unset when possible.
4178: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4179: as_unset=unset
4180: else
4181: as_unset=false
4182: fi
4183:
4184:
4185: # IFS
4186: # We need space, tab and new line, in precisely that order. Quoting is
4187: # there to prevent editors from complaining about space-tab.
4188: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4189: # splitting by setting IFS to empty value.)
4190: IFS=" "" $as_nl"
4191:
4192: # Find who we are. Look in the path if we contain no directory separator.
4193: case $0 in
4194: *[\\/]* ) as_myself=$0 ;;
4195: *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4196: for as_dir in $PATH
4197: do
4198: IFS=$as_save_IFS
4199: test -z "$as_dir" && as_dir=.
4200: test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4201: done
4202: IFS=$as_save_IFS
4203:
4204: ;;
4205: esac
4206: # We did not find ourselves, most probably we were run as `sh COMMAND'
4207: # in which case we are not to be found in the path.
4208: if test "x$as_myself" = x; then
4209: as_myself=$0
4210: fi
4211: if test ! -f "$as_myself"; then
4212: $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4213: { (exit 1); exit 1; }
4214: fi
4215:
4216: # Work around bugs in pre-3.0 UWIN ksh.
4217: for as_var in ENV MAIL MAILPATH
4218: do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
4219: done
4220: PS1='$ '
4221: PS2='> '
4222: PS4='+ '
4223:
4224: # NLS nuisances.
4225: LC_ALL=C
4226: export LC_ALL
4227: LANGUAGE=C
4228: export LANGUAGE
4229:
4230: # Required to use basename.
4231: if expr a : '\(a\)' >/dev/null 2>&1 &&
4232: test "X`expr 00001 : '.*\(...\)'`" = X001; then
4233: as_expr=expr
4234: else
4235: as_expr=false
4236: fi
4237:
4238: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4239: as_basename=basename
4240: else
4241: as_basename=false
4242: fi
4243:
4244:
4245: # Name of the executable.
4246: as_me=`$as_basename -- "$0" ||
4247: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4248: X"$0" : 'X\(//\)$' \| \
4249: X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4250: $as_echo X/"$0" |
4251: sed '/^.*\/\([^/][^/]*\)\/*$/{
4252: s//\1/
4253: q
4254: }
4255: /^X\/\(\/\/\)$/{
4256: s//\1/
4257: q
4258: }
4259: /^X\/\(\/\).*/{
4260: s//\1/
4261: q
4262: }
4263: s/.*/./; q'`
4264:
4265: # CDPATH.
4266: $as_unset CDPATH
4267:
4268:
4269:
4270: as_lineno_1=$LINENO
4271: as_lineno_2=$LINENO
4272: test "x$as_lineno_1" != "x$as_lineno_2" &&
4273: test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
4274:
4275: # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4276: # uniformly replaced by the line number. The first 'sed' inserts a
4277: # line-number line after each line using $LINENO; the second 'sed'
4278: # does the real work. The second script uses 'N' to pair each
4279: # line-number line with the line containing $LINENO, and appends
4280: # trailing '-' during substitution so that $LINENO is not a special
4281: # case at line end.
4282: # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4283: # scripts with optimization help from Paolo Bonzini. Blame Lee
4284: # E. McMahon (1931-1989) for sed's syntax. :-)
4285: sed -n '
4286: p
4287: /[$]LINENO/=
4288: ' <$as_myself |
4289: sed '
4290: s/[$]LINENO.*/&-/
4291: t lineno
4292: b
4293: :lineno
4294: N
4295: :loop
4296: s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
4297: t loop
4298: s/-\n.*//
4299: ' >$as_me.lineno &&
4300: chmod +x "$as_me.lineno" ||
4301: { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
4302: { (exit 1); exit 1; }; }
4303:
4304: # Don't try to exec as it changes $[0], causing all sort of problems
4305: # (the dirname of $[0] is not the place where we might find the
4306: # original and so on. Autoconf is especially sensitive to this).
4307: . "./$as_me.lineno"
4308: # Exit status is that of the last command.
4309: exit
4310: }
4311:
4312:
4313: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4314: as_dirname=dirname
4315: else
4316: as_dirname=false
4317: fi
4318:
4319: ECHO_C= ECHO_N= ECHO_T=
4320: case `echo -n x` in
4321: -n*)
4322: case `echo 'x\c'` in
4323: *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4324: *) ECHO_C='\c';;
4325: esac;;
4326: *)
4327: ECHO_N='-n';;
4328: esac
4329: if expr a : '\(a\)' >/dev/null 2>&1 &&
4330: test "X`expr 00001 : '.*\(...\)'`" = X001; then
4331: as_expr=expr
4332: else
4333: as_expr=false
4334: fi
4335:
4336: rm -f conf$$ conf$$.exe conf$$.file
4337: if test -d conf$$.dir; then
4338: rm -f conf$$.dir/conf$$.file
4339: else
4340: rm -f conf$$.dir
4341: mkdir conf$$.dir 2>/dev/null
4342: fi
4343: if (echo >conf$$.file) 2>/dev/null; then
4344: if ln -s conf$$.file conf$$ 2>/dev/null; then
4345: as_ln_s='ln -s'
4346: # ... but there are two gotchas:
4347: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4348: # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4349: # In both cases, we have to default to `cp -p'.
4350: ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4351: as_ln_s='cp -p'
4352: elif ln conf$$.file conf$$ 2>/dev/null; then
4353: as_ln_s=ln
4354: else
4355: as_ln_s='cp -p'
4356: fi
4357: else
4358: as_ln_s='cp -p'
4359: fi
4360: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4361: rmdir conf$$.dir 2>/dev/null
4362:
4363: if mkdir -p . 2>/dev/null; then
4364: as_mkdir_p=:
4365: else
4366: test -d ./-p && rmdir ./-p
4367: as_mkdir_p=false
4368: fi
4369:
4370: if test -x / >/dev/null 2>&1; then
4371: as_test_x='test -x'
4372: else
4373: if ls -dL / >/dev/null 2>&1; then
4374: as_ls_L_option=L
4375: else
4376: as_ls_L_option=
4377: fi
4378: as_test_x='
4379: eval sh -c '\''
4380: if test -d "$1"; then
4381: test -d "$1/.";
4382: else
4383: case $1 in
4384: -*)set "./$1";;
4385: esac;
4386: case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
4387: ???[sx]*):;;*)false;;esac;fi
4388: '\'' sh
4389: '
4390: fi
4391: as_executable_p=$as_test_x
4392:
4393: # Sed expression to map a string onto a valid CPP name.
4394: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4395:
4396: # Sed expression to map a string onto a valid variable name.
4397: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4398:
4399:
4400: exec 6>&1
4401:
4402: # Save the log message, to keep $[0] and so on meaningful, and to
4403: # report actual input values of CONFIG_FILES etc. instead of their
4404: # values after options handling.
4405: ac_log="
4406: This file was extended by igmpproxy $as_me 0.1, which was
4407: generated by GNU Autoconf 2.63. Invocation command line was
4408:
4409: CONFIG_FILES = $CONFIG_FILES
4410: CONFIG_HEADERS = $CONFIG_HEADERS
4411: CONFIG_LINKS = $CONFIG_LINKS
4412: CONFIG_COMMANDS = $CONFIG_COMMANDS
4413: $ $0 $@
4414:
4415: on `(hostname || uname -n) 2>/dev/null | sed 1q`
4416: "
4417:
4418: _ACEOF
4419:
4420: case $ac_config_files in *"
4421: "*) set x $ac_config_files; shift; ac_config_files=$*;;
4422: esac
4423:
4424: case $ac_config_headers in *"
4425: "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
4426: esac
4427:
4428:
4429: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4430: # Files that config.status was made for.
4431: config_files="$ac_config_files"
4432: config_headers="$ac_config_headers"
4433: config_links="$ac_config_links"
4434: config_commands="$ac_config_commands"
4435:
4436: _ACEOF
4437:
4438: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4439: ac_cs_usage="\
4440: \`$as_me' instantiates files from templates according to the
4441: current configuration.
4442:
4443: Usage: $0 [OPTION]... [FILE]...
4444:
4445: -h, --help print this help, then exit
4446: -V, --version print version number and configuration settings, then exit
4447: -q, --quiet, --silent
4448: do not print progress messages
4449: -d, --debug don't remove temporary files
4450: --recheck update $as_me by reconfiguring in the same conditions
4451: --file=FILE[:TEMPLATE]
4452: instantiate the configuration file FILE
4453: --header=FILE[:TEMPLATE]
4454: instantiate the configuration header FILE
4455:
4456: Configuration files:
4457: $config_files
4458:
4459: Configuration headers:
4460: $config_headers
4461:
4462: Configuration links:
4463: $config_links
4464:
4465: Configuration commands:
4466: $config_commands
4467:
4468: Report bugs to <bug-autoconf@gnu.org>."
4469:
4470: _ACEOF
4471: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4472: ac_cs_version="\\
4473: igmpproxy config.status 0.1
4474: configured by $0, generated by GNU Autoconf 2.63,
4475: with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
4476:
4477: Copyright (C) 2008 Free Software Foundation, Inc.
4478: This config.status script is free software; the Free Software Foundation
4479: gives unlimited permission to copy, distribute and modify it."
4480:
4481: ac_pwd='$ac_pwd'
4482: srcdir='$srcdir'
4483: INSTALL='$INSTALL'
4484: MKDIR_P='$MKDIR_P'
4485: AWK='$AWK'
4486: test -n "\$AWK" || AWK=awk
4487: _ACEOF
4488:
4489: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4490: # The default lists apply if the user does not specify any file.
4491: ac_need_defaults=:
4492: while test $# != 0
4493: do
4494: case $1 in
4495: --*=*)
4496: ac_option=`expr "X$1" : 'X\([^=]*\)='`
4497: ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4498: ac_shift=:
4499: ;;
4500: *)
4501: ac_option=$1
4502: ac_optarg=$2
4503: ac_shift=shift
4504: ;;
4505: esac
4506:
4507: case $ac_option in
4508: # Handling of the options.
4509: -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4510: ac_cs_recheck=: ;;
4511: --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4512: $as_echo "$ac_cs_version"; exit ;;
4513: --debug | --debu | --deb | --de | --d | -d )
4514: debug=: ;;
4515: --file | --fil | --fi | --f )
4516: $ac_shift
4517: case $ac_optarg in
4518: *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4519: esac
4520: CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
4521: ac_need_defaults=false;;
4522: --header | --heade | --head | --hea )
4523: $ac_shift
4524: case $ac_optarg in
4525: *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4526: esac
4527: CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
4528: ac_need_defaults=false;;
4529: --he | --h)
4530: # Conflict between --help and --header
4531: { $as_echo "$as_me: error: ambiguous option: $1
4532: Try \`$0 --help' for more information." >&2
4533: { (exit 1); exit 1; }; };;
4534: --help | --hel | -h )
4535: $as_echo "$ac_cs_usage"; exit ;;
4536: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4537: | -silent | --silent | --silen | --sile | --sil | --si | --s)
4538: ac_cs_silent=: ;;
4539:
4540: # This is an error.
4541: -*) { $as_echo "$as_me: error: unrecognized option: $1
4542: Try \`$0 --help' for more information." >&2
4543: { (exit 1); exit 1; }; } ;;
4544:
4545: *) ac_config_targets="$ac_config_targets $1"
4546: ac_need_defaults=false ;;
4547:
4548: esac
4549: shift
4550: done
4551:
4552: ac_configure_extra_args=
4553:
4554: if $ac_cs_silent; then
4555: exec 6>/dev/null
4556: ac_configure_extra_args="$ac_configure_extra_args --silent"
4557: fi
4558:
4559: _ACEOF
4560: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4561: if \$ac_cs_recheck; then
4562: set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4563: shift
4564: \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4565: CONFIG_SHELL='$SHELL'
4566: export CONFIG_SHELL
4567: exec "\$@"
4568: fi
4569:
4570: _ACEOF
4571: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4572: exec 5>>config.log
4573: {
4574: echo
4575: sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4576: ## Running $as_me. ##
4577: _ASBOX
4578: $as_echo "$ac_log"
4579: } >&5
4580:
4581: _ACEOF
4582: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4583: #
4584: # INIT-COMMANDS
4585: #
4586: AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
4587:
4588: _ACEOF
4589:
4590: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4591:
4592: # Handling of arguments.
4593: for ac_config_target in $ac_config_targets
4594: do
4595: case $ac_config_target in
4596: "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
4597: "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
4598: "src/os.h") CONFIG_LINKS="$CONFIG_LINKS src/os.h:src/os-${os}.h" ;;
4599: "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4600: "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
4601: "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
4602: "doc/igmpproxy.8") CONFIG_FILES="$CONFIG_FILES doc/igmpproxy.8" ;;
4603: "doc/igmpproxy.conf.5") CONFIG_FILES="$CONFIG_FILES doc/igmpproxy.conf.5" ;;
4604:
4605: *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4606: $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4607: { (exit 1); exit 1; }; };;
4608: esac
4609: done
4610:
4611:
4612: # If the user did not use the arguments to specify the items to instantiate,
4613: # then the envvar interface is used. Set only those that are not.
4614: # We use the long form for the default assignment because of an extremely
4615: # bizarre bug on SunOS 4.1.3.
4616: if $ac_need_defaults; then
4617: test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4618: test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
4619: test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
4620: test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4621: fi
4622:
4623: # Have a temporary directory for convenience. Make it in the build tree
4624: # simply because there is no reason against having it here, and in addition,
4625: # creating and moving files from /tmp can sometimes cause problems.
4626: # Hook for its removal unless debugging.
4627: # Note that there is a small window in which the directory will not be cleaned:
4628: # after its creation but before its name has been assigned to `$tmp'.
4629: $debug ||
4630: {
4631: tmp=
4632: trap 'exit_status=$?
4633: { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
4634: ' 0
4635: trap '{ (exit 1); exit 1; }' 1 2 13 15
4636: }
4637: # Create a (secure) tmp directory for tmp files.
4638:
4639: {
4640: tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4641: test -n "$tmp" && test -d "$tmp"
4642: } ||
4643: {
4644: tmp=./conf$$-$RANDOM
4645: (umask 077 && mkdir "$tmp")
4646: } ||
4647: {
4648: $as_echo "$as_me: cannot create a temporary directory in ." >&2
4649: { (exit 1); exit 1; }
4650: }
4651:
4652: # Set up the scripts for CONFIG_FILES section.
4653: # No need to generate them if there are no CONFIG_FILES.
4654: # This happens for instance with `./config.status config.h'.
4655: if test -n "$CONFIG_FILES"; then
4656:
4657:
4658: ac_cr='
'
4659: ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4660: if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4661: ac_cs_awk_cr='\\r'
4662: else
4663: ac_cs_awk_cr=$ac_cr
4664: fi
4665:
4666: echo 'BEGIN {' >"$tmp/subs1.awk" &&
4667: _ACEOF
4668:
4669:
4670: {
4671: echo "cat >conf$$subs.awk <<_ACEOF" &&
4672: echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4673: echo "_ACEOF"
4674: } >conf$$subs.sh ||
4675: { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
4676: $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
4677: { (exit 1); exit 1; }; }
4678: ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
4679: ac_delim='%!_!# '
4680: for ac_last_try in false false false false false :; do
4681: . ./conf$$subs.sh ||
4682: { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
4683: $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
4684: { (exit 1); exit 1; }; }
4685:
4686: ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4687: if test $ac_delim_n = $ac_delim_num; then
4688: break
4689: elif $ac_last_try; then
4690: { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
4691: $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
4692: { (exit 1); exit 1; }; }
4693: else
4694: ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4695: fi
4696: done
4697: rm -f conf$$subs.sh
4698:
4699: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4700: cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
4701: _ACEOF
4702: sed -n '
4703: h
4704: s/^/S["/; s/!.*/"]=/
4705: p
4706: g
4707: s/^[^!]*!//
4708: :repl
4709: t repl
4710: s/'"$ac_delim"'$//
4711: t delim
4712: :nl
4713: h
4714: s/\(.\{148\}\).*/\1/
4715: t more1
4716: s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4717: p
4718: n
4719: b repl
4720: :more1
4721: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4722: p
4723: g
4724: s/.\{148\}//
4725: t nl
4726: :delim
4727: h
4728: s/\(.\{148\}\).*/\1/
4729: t more2
4730: s/["\\]/\\&/g; s/^/"/; s/$/"/
4731: p
4732: b
4733: :more2
4734: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4735: p
4736: g
4737: s/.\{148\}//
4738: t delim
4739: ' <conf$$subs.awk | sed '
4740: /^[^""]/{
4741: N
4742: s/\n//
4743: }
4744: ' >>$CONFIG_STATUS || ac_write_fail=1
4745: rm -f conf$$subs.awk
4746: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4747: _ACAWK
4748: cat >>"\$tmp/subs1.awk" <<_ACAWK &&
4749: for (key in S) S_is_set[key] = 1
4750: FS = ""
4751:
4752: }
4753: {
4754: line = $ 0
4755: nfields = split(line, field, "@")
4756: substed = 0
4757: len = length(field[1])
4758: for (i = 2; i < nfields; i++) {
4759: key = field[i]
4760: keylen = length(key)
4761: if (S_is_set[key]) {
4762: value = S[key]
4763: line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4764: len += length(value) + length(field[++i])
4765: substed = 1
4766: } else
4767: len += 1 + keylen
4768: }
4769:
4770: print line
4771: }
4772:
4773: _ACAWK
4774: _ACEOF
4775: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4776: if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4777: sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4778: else
4779: cat
4780: fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
4781: || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
4782: $as_echo "$as_me: error: could not setup config files machinery" >&2;}
4783: { (exit 1); exit 1; }; }
4784: _ACEOF
4785:
4786: # VPATH may cause trouble with some makes, so we remove $(srcdir),
4787: # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4788: # trailing colons and then remove the whole line if VPATH becomes empty
4789: # (actually we leave an empty line to preserve line numbers).
4790: if test "x$srcdir" = x.; then
4791: ac_vpsub='/^[ ]*VPATH[ ]*=/{
4792: s/:*\$(srcdir):*/:/
4793: s/:*\${srcdir}:*/:/
4794: s/:*@srcdir@:*/:/
4795: s/^\([^=]*=[ ]*\):*/\1/
4796: s/:*$//
4797: s/^[^=]*=[ ]*$//
4798: }'
4799: fi
4800:
4801: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4802: fi # test -n "$CONFIG_FILES"
4803:
4804: # Set up the scripts for CONFIG_HEADERS section.
4805: # No need to generate them if there are no CONFIG_HEADERS.
4806: # This happens for instance with `./config.status Makefile'.
4807: if test -n "$CONFIG_HEADERS"; then
4808: cat >"$tmp/defines.awk" <<\_ACAWK ||
4809: BEGIN {
4810: _ACEOF
4811:
4812: # Transform confdefs.h into an awk script `defines.awk', embedded as
4813: # here-document in config.status, that substitutes the proper values into
4814: # config.h.in to produce config.h.
4815:
4816: # Create a delimiter string that does not exist in confdefs.h, to ease
4817: # handling of long lines.
4818: ac_delim='%!_!# '
4819: for ac_last_try in false false :; do
4820: ac_t=`sed -n "/$ac_delim/p" confdefs.h`
4821: if test -z "$ac_t"; then
4822: break
4823: elif $ac_last_try; then
4824: { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
4825: $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
4826: { (exit 1); exit 1; }; }
4827: else
4828: ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4829: fi
4830: done
4831:
4832: # For the awk script, D is an array of macro values keyed by name,
4833: # likewise P contains macro parameters if any. Preserve backslash
4834: # newline sequences.
4835:
4836: ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
4837: sed -n '
4838: s/.\{148\}/&'"$ac_delim"'/g
4839: t rset
4840: :rset
4841: s/^[ ]*#[ ]*define[ ][ ]*/ /
4842: t def
4843: d
4844: :def
4845: s/\\$//
4846: t bsnl
4847: s/["\\]/\\&/g
4848: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
4849: D["\1"]=" \3"/p
4850: s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
4851: d
4852: :bsnl
4853: s/["\\]/\\&/g
4854: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
4855: D["\1"]=" \3\\\\\\n"\\/p
4856: t cont
4857: s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
4858: t cont
4859: d
4860: :cont
4861: n
4862: s/.\{148\}/&'"$ac_delim"'/g
4863: t clear
4864: :clear
4865: s/\\$//
4866: t bsnlc
4867: s/["\\]/\\&/g; s/^/"/; s/$/"/p
4868: d
4869: :bsnlc
4870: s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
4871: b cont
4872: ' <confdefs.h | sed '
4873: s/'"$ac_delim"'/"\\\
4874: "/g' >>$CONFIG_STATUS || ac_write_fail=1
4875:
4876: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4877: for (key in D) D_is_set[key] = 1
4878: FS = ""
4879: }
4880: /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
4881: line = \$ 0
4882: split(line, arg, " ")
4883: if (arg[1] == "#") {
4884: defundef = arg[2]
4885: mac1 = arg[3]
4886: } else {
4887: defundef = substr(arg[1], 2)
4888: mac1 = arg[2]
4889: }
4890: split(mac1, mac2, "(") #)
4891: macro = mac2[1]
4892: prefix = substr(line, 1, index(line, defundef) - 1)
4893: if (D_is_set[macro]) {
4894: # Preserve the white space surrounding the "#".
4895: print prefix "define", macro P[macro] D[macro]
4896: next
4897: } else {
4898: # Replace #undef with comments. This is necessary, for example,
4899: # in the case of _POSIX_SOURCE, which is predefined and required
4900: # on some systems where configure will not decide to define it.
4901: if (defundef == "undef") {
4902: print "/*", prefix defundef, macro, "*/"
4903: next
4904: }
4905: }
4906: }
4907: { print }
4908: _ACAWK
4909: _ACEOF
4910: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4911: { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
4912: $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
4913: { (exit 1); exit 1; }; }
4914: fi # test -n "$CONFIG_HEADERS"
4915:
4916:
4917: eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
4918: shift
4919: for ac_tag
4920: do
4921: case $ac_tag in
4922: :[FHLC]) ac_mode=$ac_tag; continue;;
4923: esac
4924: case $ac_mode$ac_tag in
4925: :[FHL]*:*);;
4926: :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
4927: $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
4928: { (exit 1); exit 1; }; };;
4929: :[FH]-) ac_tag=-:-;;
4930: :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4931: esac
4932: ac_save_IFS=$IFS
4933: IFS=:
4934: set x $ac_tag
4935: IFS=$ac_save_IFS
4936: shift
4937: ac_file=$1
4938: shift
4939:
4940: case $ac_mode in
4941: :L) ac_source=$1;;
4942: :[FH])
4943: ac_file_inputs=
4944: for ac_f
4945: do
4946: case $ac_f in
4947: -) ac_f="$tmp/stdin";;
4948: *) # Look for the file first in the build tree, then in the source tree
4949: # (if the path is not absolute). The absolute path cannot be DOS-style,
4950: # because $ac_f cannot contain `:'.
4951: test -f "$ac_f" ||
4952: case $ac_f in
4953: [\\/$]*) false;;
4954: *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4955: esac ||
4956: { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
4957: $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
4958: { (exit 1); exit 1; }; };;
4959: esac
4960: case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4961: ac_file_inputs="$ac_file_inputs '$ac_f'"
4962: done
4963:
4964: # Let's still pretend it is `configure' which instantiates (i.e., don't
4965: # use $as_me), people would be surprised to read:
4966: # /* config.h. Generated by config.status. */
4967: configure_input='Generated from '`
4968: $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4969: `' by configure.'
4970: if test x"$ac_file" != x-; then
4971: configure_input="$ac_file. $configure_input"
4972: { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
4973: $as_echo "$as_me: creating $ac_file" >&6;}
4974: fi
4975: # Neutralize special characters interpreted by sed in replacement strings.
4976: case $configure_input in #(
4977: *\&* | *\|* | *\\* )
4978: ac_sed_conf_input=`$as_echo "$configure_input" |
4979: sed 's/[\\\\&|]/\\\\&/g'`;; #(
4980: *) ac_sed_conf_input=$configure_input;;
4981: esac
4982:
4983: case $ac_tag in
4984: *:-:* | *:-) cat >"$tmp/stdin" \
4985: || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
4986: $as_echo "$as_me: error: could not create $ac_file" >&2;}
4987: { (exit 1); exit 1; }; } ;;
4988: esac
4989: ;;
4990: esac
4991:
4992: ac_dir=`$as_dirname -- "$ac_file" ||
4993: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4994: X"$ac_file" : 'X\(//\)[^/]' \| \
4995: X"$ac_file" : 'X\(//\)$' \| \
4996: X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4997: $as_echo X"$ac_file" |
4998: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4999: s//\1/
5000: q
5001: }
5002: /^X\(\/\/\)[^/].*/{
5003: s//\1/
5004: q
5005: }
5006: /^X\(\/\/\)$/{
5007: s//\1/
5008: q
5009: }
5010: /^X\(\/\).*/{
5011: s//\1/
5012: q
5013: }
5014: s/.*/./; q'`
5015: { as_dir="$ac_dir"
5016: case $as_dir in #(
5017: -*) as_dir=./$as_dir;;
5018: esac
5019: test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
5020: as_dirs=
5021: while :; do
5022: case $as_dir in #(
5023: *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5024: *) as_qdir=$as_dir;;
5025: esac
5026: as_dirs="'$as_qdir' $as_dirs"
5027: as_dir=`$as_dirname -- "$as_dir" ||
5028: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5029: X"$as_dir" : 'X\(//\)[^/]' \| \
5030: X"$as_dir" : 'X\(//\)$' \| \
5031: X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5032: $as_echo X"$as_dir" |
5033: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5034: s//\1/
5035: q
5036: }
5037: /^X\(\/\/\)[^/].*/{
5038: s//\1/
5039: q
5040: }
5041: /^X\(\/\/\)$/{
5042: s//\1/
5043: q
5044: }
5045: /^X\(\/\).*/{
5046: s//\1/
5047: q
5048: }
5049: s/.*/./; q'`
5050: test -d "$as_dir" && break
5051: done
5052: test -z "$as_dirs" || eval "mkdir $as_dirs"
5053: } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
5054: $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
5055: { (exit 1); exit 1; }; }; }
5056: ac_builddir=.
5057:
5058: case "$ac_dir" in
5059: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5060: *)
5061: ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5062: # A ".." for each directory in $ac_dir_suffix.
5063: ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5064: case $ac_top_builddir_sub in
5065: "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5066: *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5067: esac ;;
5068: esac
5069: ac_abs_top_builddir=$ac_pwd
5070: ac_abs_builddir=$ac_pwd$ac_dir_suffix
5071: # for backward compatibility:
5072: ac_top_builddir=$ac_top_build_prefix
5073:
5074: case $srcdir in
5075: .) # We are building in place.
5076: ac_srcdir=.
5077: ac_top_srcdir=$ac_top_builddir_sub
5078: ac_abs_top_srcdir=$ac_pwd ;;
5079: [\\/]* | ?:[\\/]* ) # Absolute name.
5080: ac_srcdir=$srcdir$ac_dir_suffix;
5081: ac_top_srcdir=$srcdir
5082: ac_abs_top_srcdir=$srcdir ;;
5083: *) # Relative name.
5084: ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5085: ac_top_srcdir=$ac_top_build_prefix$srcdir
5086: ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5087: esac
5088: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5089:
5090:
5091: case $ac_mode in
5092: :F)
5093: #
5094: # CONFIG_FILE
5095: #
5096:
5097: case $INSTALL in
5098: [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5099: *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5100: esac
5101: ac_MKDIR_P=$MKDIR_P
5102: case $MKDIR_P in
5103: [\\/$]* | ?:[\\/]* ) ;;
5104: */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
5105: esac
5106: _ACEOF
5107:
5108: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5109: # If the template does not know about datarootdir, expand it.
5110: # FIXME: This hack should be removed a few years after 2.60.
5111: ac_datarootdir_hack=; ac_datarootdir_seen=
5112:
5113: ac_sed_dataroot='
5114: /datarootdir/ {
5115: p
5116: q
5117: }
5118: /@datadir@/p
5119: /@docdir@/p
5120: /@infodir@/p
5121: /@localedir@/p
5122: /@mandir@/p
5123: '
5124: case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5125: *datarootdir*) ac_datarootdir_seen=yes;;
5126: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5127: { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5128: $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5129: _ACEOF
5130: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5131: ac_datarootdir_hack='
5132: s&@datadir@&$datadir&g
5133: s&@docdir@&$docdir&g
5134: s&@infodir@&$infodir&g
5135: s&@localedir@&$localedir&g
5136: s&@mandir@&$mandir&g
5137: s&\\\${datarootdir}&$datarootdir&g' ;;
5138: esac
5139: _ACEOF
5140:
5141: # Neutralize VPATH when `$srcdir' = `.'.
5142: # Shell code in configure.ac might set extrasub.
5143: # FIXME: do we really want to maintain this feature?
5144: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5145: ac_sed_extra="$ac_vpsub
5146: $extrasub
5147: _ACEOF
5148: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5149: :t
5150: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5151: s|@configure_input@|$ac_sed_conf_input|;t t
5152: s&@top_builddir@&$ac_top_builddir_sub&;t t
5153: s&@top_build_prefix@&$ac_top_build_prefix&;t t
5154: s&@srcdir@&$ac_srcdir&;t t
5155: s&@abs_srcdir@&$ac_abs_srcdir&;t t
5156: s&@top_srcdir@&$ac_top_srcdir&;t t
5157: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5158: s&@builddir@&$ac_builddir&;t t
5159: s&@abs_builddir@&$ac_abs_builddir&;t t
5160: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5161: s&@INSTALL@&$ac_INSTALL&;t t
5162: s&@MKDIR_P@&$ac_MKDIR_P&;t t
5163: $ac_datarootdir_hack
5164: "
5165: eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
5166: || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
5167: $as_echo "$as_me: error: could not create $ac_file" >&2;}
5168: { (exit 1); exit 1; }; }
5169:
5170: test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5171: { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
5172: { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
5173: { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5174: which seems to be undefined. Please make sure it is defined." >&5
5175: $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5176: which seems to be undefined. Please make sure it is defined." >&2;}
5177:
5178: rm -f "$tmp/stdin"
5179: case $ac_file in
5180: -) cat "$tmp/out" && rm -f "$tmp/out";;
5181: *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
5182: esac \
5183: || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
5184: $as_echo "$as_me: error: could not create $ac_file" >&2;}
5185: { (exit 1); exit 1; }; }
5186: ;;
5187: :H)
5188: #
5189: # CONFIG_HEADER
5190: #
5191: if test x"$ac_file" != x-; then
5192: {
5193: $as_echo "/* $configure_input */" \
5194: && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
5195: } >"$tmp/config.h" \
5196: || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
5197: $as_echo "$as_me: error: could not create $ac_file" >&2;}
5198: { (exit 1); exit 1; }; }
5199: if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
5200: { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
5201: $as_echo "$as_me: $ac_file is unchanged" >&6;}
5202: else
5203: rm -f "$ac_file"
5204: mv "$tmp/config.h" "$ac_file" \
5205: || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
5206: $as_echo "$as_me: error: could not create $ac_file" >&2;}
5207: { (exit 1); exit 1; }; }
5208: fi
5209: else
5210: $as_echo "/* $configure_input */" \
5211: && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
5212: || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
5213: $as_echo "$as_me: error: could not create -" >&2;}
5214: { (exit 1); exit 1; }; }
5215: fi
5216: # Compute "$ac_file"'s index in $config_headers.
5217: _am_arg="$ac_file"
5218: _am_stamp_count=1
5219: for _am_header in $config_headers :; do
5220: case $_am_header in
5221: $_am_arg | $_am_arg:* )
5222: break ;;
5223: * )
5224: _am_stamp_count=`expr $_am_stamp_count + 1` ;;
5225: esac
5226: done
5227: echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
5228: $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5229: X"$_am_arg" : 'X\(//\)[^/]' \| \
5230: X"$_am_arg" : 'X\(//\)$' \| \
5231: X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
5232: $as_echo X"$_am_arg" |
5233: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5234: s//\1/
5235: q
5236: }
5237: /^X\(\/\/\)[^/].*/{
5238: s//\1/
5239: q
5240: }
5241: /^X\(\/\/\)$/{
5242: s//\1/
5243: q
5244: }
5245: /^X\(\/\).*/{
5246: s//\1/
5247: q
5248: }
5249: s/.*/./; q'`/stamp-h$_am_stamp_count
5250: ;;
5251: :L)
5252: #
5253: # CONFIG_LINK
5254: #
5255:
5256: if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
5257: :
5258: else
5259: # Prefer the file from the source tree if names are identical.
5260: if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
5261: ac_source=$srcdir/$ac_source
5262: fi
5263:
5264: { $as_echo "$as_me:$LINENO: linking $ac_source to $ac_file" >&5
5265: $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
5266:
5267: if test ! -r "$ac_source"; then
5268: { { $as_echo "$as_me:$LINENO: error: $ac_source: file not found" >&5
5269: $as_echo "$as_me: error: $ac_source: file not found" >&2;}
5270: { (exit 1); exit 1; }; }
5271: fi
5272: rm -f "$ac_file"
5273:
5274: # Try a relative symlink, then a hard link, then a copy.
5275: case $srcdir in
5276: [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
5277: *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
5278: esac
5279: ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
5280: ln "$ac_source" "$ac_file" 2>/dev/null ||
5281: cp -p "$ac_source" "$ac_file" ||
5282: { { $as_echo "$as_me:$LINENO: error: cannot link or copy $ac_source to $ac_file" >&5
5283: $as_echo "$as_me: error: cannot link or copy $ac_source to $ac_file" >&2;}
5284: { (exit 1); exit 1; }; }
5285: fi
5286: ;;
5287: :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
5288: $as_echo "$as_me: executing $ac_file commands" >&6;}
5289: ;;
5290: esac
5291:
5292:
5293: case $ac_file$ac_mode in
5294: "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
5295: # Autoconf 2.62 quotes --file arguments for eval, but not when files
5296: # are listed without --file. Let's play safe and only enable the eval
5297: # if we detect the quoting.
5298: case $CONFIG_FILES in
5299: *\'*) eval set x "$CONFIG_FILES" ;;
5300: *) set x $CONFIG_FILES ;;
5301: esac
5302: shift
5303: for mf
5304: do
5305: # Strip MF so we end up with the name of the file.
5306: mf=`echo "$mf" | sed -e 's/:.*$//'`
5307: # Check whether this is an Automake generated Makefile or not.
5308: # We used to match only the files named `Makefile.in', but
5309: # some people rename them; so instead we look at the file content.
5310: # Grep'ing the first line is not enough: some people post-process
5311: # each Makefile.in and add a new line on top of each file to say so.
5312: # Grep'ing the whole file is not good either: AIX grep has a line
5313: # limit of 2048, but all sed's we know have understand at least 4000.
5314: if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
5315: dirpart=`$as_dirname -- "$mf" ||
5316: $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5317: X"$mf" : 'X\(//\)[^/]' \| \
5318: X"$mf" : 'X\(//\)$' \| \
5319: X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
5320: $as_echo X"$mf" |
5321: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5322: s//\1/
5323: q
5324: }
5325: /^X\(\/\/\)[^/].*/{
5326: s//\1/
5327: q
5328: }
5329: /^X\(\/\/\)$/{
5330: s//\1/
5331: q
5332: }
5333: /^X\(\/\).*/{
5334: s//\1/
5335: q
5336: }
5337: s/.*/./; q'`
5338: else
5339: continue
5340: fi
5341: # Extract the definition of DEPDIR, am__include, and am__quote
5342: # from the Makefile without running `make'.
5343: DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
5344: test -z "$DEPDIR" && continue
5345: am__include=`sed -n 's/^am__include = //p' < "$mf"`
5346: test -z "am__include" && continue
5347: am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
5348: # When using ansi2knr, U may be empty or an underscore; expand it
5349: U=`sed -n 's/^U = //p' < "$mf"`
5350: # Find all dependency output files, they are included files with
5351: # $(DEPDIR) in their names. We invoke sed twice because it is the
5352: # simplest approach to changing $(DEPDIR) to its actual value in the
5353: # expansion.
5354: for file in `sed -n "
5355: s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
5356: sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
5357: # Make sure the directory exists.
5358: test -f "$dirpart/$file" && continue
5359: fdir=`$as_dirname -- "$file" ||
5360: $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5361: X"$file" : 'X\(//\)[^/]' \| \
5362: X"$file" : 'X\(//\)$' \| \
5363: X"$file" : 'X\(/\)' \| . 2>/dev/null ||
5364: $as_echo X"$file" |
5365: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5366: s//\1/
5367: q
5368: }
5369: /^X\(\/\/\)[^/].*/{
5370: s//\1/
5371: q
5372: }
5373: /^X\(\/\/\)$/{
5374: s//\1/
5375: q
5376: }
5377: /^X\(\/\).*/{
5378: s//\1/
5379: q
5380: }
5381: s/.*/./; q'`
5382: { as_dir=$dirpart/$fdir
5383: case $as_dir in #(
5384: -*) as_dir=./$as_dir;;
5385: esac
5386: test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
5387: as_dirs=
5388: while :; do
5389: case $as_dir in #(
5390: *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5391: *) as_qdir=$as_dir;;
5392: esac
5393: as_dirs="'$as_qdir' $as_dirs"
5394: as_dir=`$as_dirname -- "$as_dir" ||
5395: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5396: X"$as_dir" : 'X\(//\)[^/]' \| \
5397: X"$as_dir" : 'X\(//\)$' \| \
5398: X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5399: $as_echo X"$as_dir" |
5400: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5401: s//\1/
5402: q
5403: }
5404: /^X\(\/\/\)[^/].*/{
5405: s//\1/
5406: q
5407: }
5408: /^X\(\/\/\)$/{
5409: s//\1/
5410: q
5411: }
5412: /^X\(\/\).*/{
5413: s//\1/
5414: q
5415: }
5416: s/.*/./; q'`
5417: test -d "$as_dir" && break
5418: done
5419: test -z "$as_dirs" || eval "mkdir $as_dirs"
5420: } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
5421: $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
5422: { (exit 1); exit 1; }; }; }
5423: # echo "creating $dirpart/$file"
5424: echo '# dummy' > "$dirpart/$file"
5425: done
5426: done
5427: }
5428: ;;
5429:
5430: esac
5431: done # for ac_tag
5432:
5433:
5434: { (exit 0); exit 0; }
5435: _ACEOF
5436: chmod +x $CONFIG_STATUS
5437: ac_clean_files=$ac_clean_files_save
5438:
5439: test $ac_write_fail = 0 ||
5440: { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
5441: $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
5442: { (exit 1); exit 1; }; }
5443:
5444:
5445: # configure is writing to config.log, and then calls config.status.
5446: # config.status does its own redirection, appending to config.log.
5447: # Unfortunately, on DOS this fails, as config.log is still kept open
5448: # by configure, so config.status won't be able to write to it; its
5449: # output is simply discarded. So we exec the FD to /dev/null,
5450: # effectively closing config.log, so it can be properly (re)opened and
5451: # appended to by config.status. When coming back to configure, we
5452: # need to make the FD available again.
5453: if test "$no_create" != yes; then
5454: ac_cs_success=:
5455: ac_config_status_args=
5456: test "$silent" = yes &&
5457: ac_config_status_args="$ac_config_status_args --quiet"
5458: exec 5>/dev/null
5459: $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5460: exec 5>>config.log
5461: # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5462: # would make configure fail if this is the last instruction.
5463: $ac_cs_success || { (exit 1); exit 1; }
5464: fi
5465: if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5466: { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5467: $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
5468: fi
5469:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>