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