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