blob: 321ffb3e5db3d09070822b2e4c5e7a38cb8f2059 [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)\\\""
1956
1957 ARCSID="-DARCSID='\\\"\$(IDGIT)\\\"'"
1958 #CFLAGS="$CPPFLAGS -DARCSID='\\\"\$(IDGIT)\\\"' -DRCSID=\\\"\$(IDGIT)\\\""
1959else
1960 RCSID="-DRCSID=\\\"\$(IDNOGIT)\\\""
1961 ARCSID="-DARCSID=\\\"\$(IDNOGIT)\\\""
1962 #CFLAGS="$CPPFLAGS -DRCSID='\\\"\$(IDNOGIT)\\\"' -DRCSID=\\\"\$(IDNOGIT)\\\""
1963fi
1964
Tomas Cejka96f4e612012-12-10 00:03:32 +01001965REQS="$REQS httpd php json-c"
1966BUILDREQS="$BUILDREQS json-c-devel httpd-devel"
1967
1968# Checks for libraries.
1969ac_ext=c
1970ac_cpp='$CPP $CPPFLAGS'
1971ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1972ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1973ac_compiler_gnu=$ac_cv_c_compiler_gnu
1974if test -n "$ac_tool_prefix"; then
1975 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1976set dummy ${ac_tool_prefix}gcc; ac_word=$2
1977{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
1978$as_echo_n "checking for $ac_word... " >&6; }
1979if test "${ac_cv_prog_CC+set}" = set; then
1980 $as_echo_n "(cached) " >&6
1981else
1982 if test -n "$CC"; then
1983 ac_cv_prog_CC="$CC" # Let the user override the test.
1984else
1985as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1986for as_dir in $PATH
1987do
1988 IFS=$as_save_IFS
1989 test -z "$as_dir" && as_dir=.
1990 for ac_exec_ext in '' $ac_executable_extensions; do
1991 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1992 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1993 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1994 break 2
1995 fi
1996done
1997done
1998IFS=$as_save_IFS
1999
2000fi
2001fi
2002CC=$ac_cv_prog_CC
2003if test -n "$CC"; then
2004 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2005$as_echo "$CC" >&6; }
2006else
2007 { $as_echo "$as_me:$LINENO: result: no" >&5
2008$as_echo "no" >&6; }
2009fi
2010
2011
2012fi
2013if test -z "$ac_cv_prog_CC"; then
2014 ac_ct_CC=$CC
2015 # Extract the first word of "gcc", so it can be a program name with args.
2016set dummy gcc; ac_word=$2
2017{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2018$as_echo_n "checking for $ac_word... " >&6; }
2019if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2020 $as_echo_n "(cached) " >&6
2021else
2022 if test -n "$ac_ct_CC"; then
2023 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2024else
2025as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2026for as_dir in $PATH
2027do
2028 IFS=$as_save_IFS
2029 test -z "$as_dir" && as_dir=.
2030 for ac_exec_ext in '' $ac_executable_extensions; do
2031 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2032 ac_cv_prog_ac_ct_CC="gcc"
2033 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2034 break 2
2035 fi
2036done
2037done
2038IFS=$as_save_IFS
2039
2040fi
2041fi
2042ac_ct_CC=$ac_cv_prog_ac_ct_CC
2043if test -n "$ac_ct_CC"; then
2044 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2045$as_echo "$ac_ct_CC" >&6; }
2046else
2047 { $as_echo "$as_me:$LINENO: result: no" >&5
2048$as_echo "no" >&6; }
2049fi
2050
2051 if test "x$ac_ct_CC" = x; then
2052 CC=""
2053 else
2054 case $cross_compiling:$ac_tool_warned in
2055yes:)
2056{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2057$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2058ac_tool_warned=yes ;;
2059esac
2060 CC=$ac_ct_CC
2061 fi
2062else
2063 CC="$ac_cv_prog_CC"
2064fi
2065
2066if test -z "$CC"; then
2067 if test -n "$ac_tool_prefix"; then
2068 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2069set dummy ${ac_tool_prefix}cc; ac_word=$2
2070{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2071$as_echo_n "checking for $ac_word... " >&6; }
2072if test "${ac_cv_prog_CC+set}" = set; then
2073 $as_echo_n "(cached) " >&6
2074else
2075 if test -n "$CC"; then
2076 ac_cv_prog_CC="$CC" # Let the user override the test.
2077else
2078as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2079for as_dir in $PATH
2080do
2081 IFS=$as_save_IFS
2082 test -z "$as_dir" && as_dir=.
2083 for ac_exec_ext in '' $ac_executable_extensions; do
2084 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2085 ac_cv_prog_CC="${ac_tool_prefix}cc"
2086 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2087 break 2
2088 fi
2089done
2090done
2091IFS=$as_save_IFS
2092
2093fi
2094fi
2095CC=$ac_cv_prog_CC
2096if test -n "$CC"; then
2097 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2098$as_echo "$CC" >&6; }
2099else
2100 { $as_echo "$as_me:$LINENO: result: no" >&5
2101$as_echo "no" >&6; }
2102fi
2103
2104
2105 fi
2106fi
2107if test -z "$CC"; then
2108 # Extract the first word of "cc", so it can be a program name with args.
2109set dummy cc; ac_word=$2
2110{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2111$as_echo_n "checking for $ac_word... " >&6; }
2112if test "${ac_cv_prog_CC+set}" = set; then
2113 $as_echo_n "(cached) " >&6
2114else
2115 if test -n "$CC"; then
2116 ac_cv_prog_CC="$CC" # Let the user override the test.
2117else
2118 ac_prog_rejected=no
2119as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2120for as_dir in $PATH
2121do
2122 IFS=$as_save_IFS
2123 test -z "$as_dir" && as_dir=.
2124 for ac_exec_ext in '' $ac_executable_extensions; do
2125 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2126 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2127 ac_prog_rejected=yes
2128 continue
2129 fi
2130 ac_cv_prog_CC="cc"
2131 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2132 break 2
2133 fi
2134done
2135done
2136IFS=$as_save_IFS
2137
2138if test $ac_prog_rejected = yes; then
2139 # We found a bogon in the path, so make sure we never use it.
2140 set dummy $ac_cv_prog_CC
2141 shift
2142 if test $# != 0; then
2143 # We chose a different compiler from the bogus one.
2144 # However, it has the same basename, so the bogon will be chosen
2145 # first if we set CC to just the basename; use the full file name.
2146 shift
2147 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2148 fi
2149fi
2150fi
2151fi
2152CC=$ac_cv_prog_CC
2153if test -n "$CC"; then
2154 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2155$as_echo "$CC" >&6; }
2156else
2157 { $as_echo "$as_me:$LINENO: result: no" >&5
2158$as_echo "no" >&6; }
2159fi
2160
2161
2162fi
2163if test -z "$CC"; then
2164 if test -n "$ac_tool_prefix"; then
2165 for ac_prog in cl.exe
2166 do
2167 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2168set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2169{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2170$as_echo_n "checking for $ac_word... " >&6; }
2171if test "${ac_cv_prog_CC+set}" = set; then
2172 $as_echo_n "(cached) " >&6
2173else
2174 if test -n "$CC"; then
2175 ac_cv_prog_CC="$CC" # Let the user override the test.
2176else
2177as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2178for as_dir in $PATH
2179do
2180 IFS=$as_save_IFS
2181 test -z "$as_dir" && as_dir=.
2182 for ac_exec_ext in '' $ac_executable_extensions; do
2183 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2184 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2185 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2186 break 2
2187 fi
2188done
2189done
2190IFS=$as_save_IFS
2191
2192fi
2193fi
2194CC=$ac_cv_prog_CC
2195if test -n "$CC"; then
2196 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2197$as_echo "$CC" >&6; }
2198else
2199 { $as_echo "$as_me:$LINENO: result: no" >&5
2200$as_echo "no" >&6; }
2201fi
2202
2203
2204 test -n "$CC" && break
2205 done
2206fi
2207if test -z "$CC"; then
2208 ac_ct_CC=$CC
2209 for ac_prog in cl.exe
2210do
2211 # Extract the first word of "$ac_prog", so it can be a program name with args.
2212set dummy $ac_prog; ac_word=$2
2213{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2214$as_echo_n "checking for $ac_word... " >&6; }
2215if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2216 $as_echo_n "(cached) " >&6
2217else
2218 if test -n "$ac_ct_CC"; then
2219 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2220else
2221as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2222for as_dir in $PATH
2223do
2224 IFS=$as_save_IFS
2225 test -z "$as_dir" && as_dir=.
2226 for ac_exec_ext in '' $ac_executable_extensions; do
2227 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2228 ac_cv_prog_ac_ct_CC="$ac_prog"
2229 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2230 break 2
2231 fi
2232done
2233done
2234IFS=$as_save_IFS
2235
2236fi
2237fi
2238ac_ct_CC=$ac_cv_prog_ac_ct_CC
2239if test -n "$ac_ct_CC"; then
2240 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2241$as_echo "$ac_ct_CC" >&6; }
2242else
2243 { $as_echo "$as_me:$LINENO: result: no" >&5
2244$as_echo "no" >&6; }
2245fi
2246
2247
2248 test -n "$ac_ct_CC" && break
2249done
2250
2251 if test "x$ac_ct_CC" = x; then
2252 CC=""
2253 else
2254 case $cross_compiling:$ac_tool_warned in
2255yes:)
2256{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2257$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2258ac_tool_warned=yes ;;
2259esac
2260 CC=$ac_ct_CC
2261 fi
2262fi
2263
2264fi
2265
2266
2267test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2268$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2269{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2270See \`config.log' for more details." >&5
2271$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2272See \`config.log' for more details." >&2;}
2273 { (exit 1); exit 1; }; }; }
2274
2275# Provide some information about the compiler.
2276$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2277set X $ac_compile
2278ac_compiler=$2
2279{ (ac_try="$ac_compiler --version >&5"
2280case "(($ac_try" in
2281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2282 *) ac_try_echo=$ac_try;;
2283esac
2284eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2285$as_echo "$ac_try_echo") >&5
2286 (eval "$ac_compiler --version >&5") 2>&5
2287 ac_status=$?
2288 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2289 (exit $ac_status); }
2290{ (ac_try="$ac_compiler -v >&5"
2291case "(($ac_try" in
2292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2293 *) ac_try_echo=$ac_try;;
2294esac
2295eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2296$as_echo "$ac_try_echo") >&5
2297 (eval "$ac_compiler -v >&5") 2>&5
2298 ac_status=$?
2299 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2300 (exit $ac_status); }
2301{ (ac_try="$ac_compiler -V >&5"
2302case "(($ac_try" in
2303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2304 *) ac_try_echo=$ac_try;;
2305esac
2306eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2307$as_echo "$ac_try_echo") >&5
2308 (eval "$ac_compiler -V >&5") 2>&5
2309 ac_status=$?
2310 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2311 (exit $ac_status); }
2312
2313cat >conftest.$ac_ext <<_ACEOF
2314/* confdefs.h. */
2315_ACEOF
2316cat confdefs.h >>conftest.$ac_ext
2317cat >>conftest.$ac_ext <<_ACEOF
2318/* end confdefs.h. */
2319
2320int
2321main ()
2322{
2323
2324 ;
2325 return 0;
2326}
2327_ACEOF
2328ac_clean_files_save=$ac_clean_files
2329ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2330# Try to create an executable without -o first, disregard a.out.
2331# It will help us diagnose broken compilers, and finding out an intuition
2332# of exeext.
2333{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2334$as_echo_n "checking for C compiler default output file name... " >&6; }
2335ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2336
2337# The possible output files:
2338ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2339
2340ac_rmfiles=
2341for ac_file in $ac_files
2342do
2343 case $ac_file in
2344 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2345 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2346 esac
2347done
2348rm -f $ac_rmfiles
2349
2350if { (ac_try="$ac_link_default"
2351case "(($ac_try" in
2352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2353 *) ac_try_echo=$ac_try;;
2354esac
2355eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2356$as_echo "$ac_try_echo") >&5
2357 (eval "$ac_link_default") 2>&5
2358 ac_status=$?
2359 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2360 (exit $ac_status); }; then
2361 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2362# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2363# in a Makefile. We should not override ac_cv_exeext if it was cached,
2364# so that the user can short-circuit this test for compilers unknown to
2365# Autoconf.
2366for ac_file in $ac_files ''
2367do
2368 test -f "$ac_file" || continue
2369 case $ac_file in
2370 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2371 ;;
2372 [ab].out )
2373 # We found the default executable, but exeext='' is most
2374 # certainly right.
2375 break;;
2376 *.* )
2377 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2378 then :; else
2379 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2380 fi
2381 # We set ac_cv_exeext here because the later test for it is not
2382 # safe: cross compilers may not add the suffix if given an `-o'
2383 # argument, so we may need to know it at that point already.
2384 # Even if this section looks crufty: it has the advantage of
2385 # actually working.
2386 break;;
2387 * )
2388 break;;
2389 esac
2390done
2391test "$ac_cv_exeext" = no && ac_cv_exeext=
2392
2393else
2394 ac_file=''
2395fi
2396
2397{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2398$as_echo "$ac_file" >&6; }
2399if test -z "$ac_file"; then
2400 $as_echo "$as_me: failed program was:" >&5
2401sed 's/^/| /' conftest.$ac_ext >&5
2402
2403{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2404$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2405{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2406See \`config.log' for more details." >&5
2407$as_echo "$as_me: error: C compiler cannot create executables
2408See \`config.log' for more details." >&2;}
2409 { (exit 77); exit 77; }; }; }
2410fi
2411
2412ac_exeext=$ac_cv_exeext
2413
2414# Check that the compiler produces executables we can run. If not, either
2415# the compiler is broken, or we cross compile.
2416{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2417$as_echo_n "checking whether the C compiler works... " >&6; }
2418# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2419# If not cross compiling, check that we can run a simple program.
2420if test "$cross_compiling" != yes; then
2421 if { ac_try='./$ac_file'
2422 { (case "(($ac_try" in
2423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2424 *) ac_try_echo=$ac_try;;
2425esac
2426eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2427$as_echo "$ac_try_echo") >&5
2428 (eval "$ac_try") 2>&5
2429 ac_status=$?
2430 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2431 (exit $ac_status); }; }; then
2432 cross_compiling=no
2433 else
2434 if test "$cross_compiling" = maybe; then
2435 cross_compiling=yes
2436 else
2437 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2438$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2439{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2440If you meant to cross compile, use \`--host'.
2441See \`config.log' for more details." >&5
2442$as_echo "$as_me: error: cannot run C compiled programs.
2443If you meant to cross compile, use \`--host'.
2444See \`config.log' for more details." >&2;}
2445 { (exit 1); exit 1; }; }; }
2446 fi
2447 fi
2448fi
2449{ $as_echo "$as_me:$LINENO: result: yes" >&5
2450$as_echo "yes" >&6; }
2451
2452rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2453ac_clean_files=$ac_clean_files_save
2454# Check that the compiler produces executables we can run. If not, either
2455# the compiler is broken, or we cross compile.
2456{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2457$as_echo_n "checking whether we are cross compiling... " >&6; }
2458{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2459$as_echo "$cross_compiling" >&6; }
2460
2461{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
2462$as_echo_n "checking for suffix of executables... " >&6; }
2463if { (ac_try="$ac_link"
2464case "(($ac_try" in
2465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2466 *) ac_try_echo=$ac_try;;
2467esac
2468eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2469$as_echo "$ac_try_echo") >&5
2470 (eval "$ac_link") 2>&5
2471 ac_status=$?
2472 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2473 (exit $ac_status); }; then
2474 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2475# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2476# work properly (i.e., refer to `conftest.exe'), while it won't with
2477# `rm'.
2478for ac_file in conftest.exe conftest conftest.*; do
2479 test -f "$ac_file" || continue
2480 case $ac_file in
2481 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2482 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2483 break;;
2484 * ) break;;
2485 esac
2486done
2487else
2488 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2489$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2490{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2491See \`config.log' for more details." >&5
2492$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2493See \`config.log' for more details." >&2;}
2494 { (exit 1); exit 1; }; }; }
2495fi
2496
2497rm -f conftest$ac_cv_exeext
2498{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2499$as_echo "$ac_cv_exeext" >&6; }
2500
2501rm -f conftest.$ac_ext
2502EXEEXT=$ac_cv_exeext
2503ac_exeext=$EXEEXT
2504{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2505$as_echo_n "checking for suffix of object files... " >&6; }
2506if test "${ac_cv_objext+set}" = set; then
2507 $as_echo_n "(cached) " >&6
2508else
2509 cat >conftest.$ac_ext <<_ACEOF
2510/* confdefs.h. */
2511_ACEOF
2512cat confdefs.h >>conftest.$ac_ext
2513cat >>conftest.$ac_ext <<_ACEOF
2514/* end confdefs.h. */
2515
2516int
2517main ()
2518{
2519
2520 ;
2521 return 0;
2522}
2523_ACEOF
2524rm -f conftest.o conftest.obj
2525if { (ac_try="$ac_compile"
2526case "(($ac_try" in
2527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2528 *) ac_try_echo=$ac_try;;
2529esac
2530eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2531$as_echo "$ac_try_echo") >&5
2532 (eval "$ac_compile") 2>&5
2533 ac_status=$?
2534 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2535 (exit $ac_status); }; then
2536 for ac_file in conftest.o conftest.obj conftest.*; do
2537 test -f "$ac_file" || continue;
2538 case $ac_file in
2539 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2540 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2541 break;;
2542 esac
2543done
2544else
2545 $as_echo "$as_me: failed program was:" >&5
2546sed 's/^/| /' conftest.$ac_ext >&5
2547
2548{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2549$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2550{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2551See \`config.log' for more details." >&5
2552$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2553See \`config.log' for more details." >&2;}
2554 { (exit 1); exit 1; }; }; }
2555fi
2556
2557rm -f conftest.$ac_cv_objext conftest.$ac_ext
2558fi
2559{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2560$as_echo "$ac_cv_objext" >&6; }
2561OBJEXT=$ac_cv_objext
2562ac_objext=$OBJEXT
2563{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2564$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2565if test "${ac_cv_c_compiler_gnu+set}" = set; then
2566 $as_echo_n "(cached) " >&6
2567else
2568 cat >conftest.$ac_ext <<_ACEOF
2569/* confdefs.h. */
2570_ACEOF
2571cat confdefs.h >>conftest.$ac_ext
2572cat >>conftest.$ac_ext <<_ACEOF
2573/* end confdefs.h. */
2574
2575int
2576main ()
2577{
2578#ifndef __GNUC__
2579 choke me
2580#endif
2581
2582 ;
2583 return 0;
2584}
2585_ACEOF
2586rm -f conftest.$ac_objext
2587if { (ac_try="$ac_compile"
2588case "(($ac_try" in
2589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2590 *) ac_try_echo=$ac_try;;
2591esac
2592eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2593$as_echo "$ac_try_echo") >&5
2594 (eval "$ac_compile") 2>conftest.er1
2595 ac_status=$?
2596 grep -v '^ *+' conftest.er1 >conftest.err
2597 rm -f conftest.er1
2598 cat conftest.err >&5
2599 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2600 (exit $ac_status); } && {
2601 test -z "$ac_c_werror_flag" ||
2602 test ! -s conftest.err
2603 } && test -s conftest.$ac_objext; then
2604 ac_compiler_gnu=yes
2605else
2606 $as_echo "$as_me: failed program was:" >&5
2607sed 's/^/| /' conftest.$ac_ext >&5
2608
2609 ac_compiler_gnu=no
2610fi
2611
2612rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2613ac_cv_c_compiler_gnu=$ac_compiler_gnu
2614
2615fi
2616{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2617$as_echo "$ac_cv_c_compiler_gnu" >&6; }
2618if test $ac_compiler_gnu = yes; then
2619 GCC=yes
2620else
2621 GCC=
2622fi
2623ac_test_CFLAGS=${CFLAGS+set}
2624ac_save_CFLAGS=$CFLAGS
2625{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2626$as_echo_n "checking whether $CC accepts -g... " >&6; }
2627if test "${ac_cv_prog_cc_g+set}" = set; then
2628 $as_echo_n "(cached) " >&6
2629else
2630 ac_save_c_werror_flag=$ac_c_werror_flag
2631 ac_c_werror_flag=yes
2632 ac_cv_prog_cc_g=no
2633 CFLAGS="-g"
2634 cat >conftest.$ac_ext <<_ACEOF
2635/* confdefs.h. */
2636_ACEOF
2637cat confdefs.h >>conftest.$ac_ext
2638cat >>conftest.$ac_ext <<_ACEOF
2639/* end confdefs.h. */
2640
2641int
2642main ()
2643{
2644
2645 ;
2646 return 0;
2647}
2648_ACEOF
2649rm -f conftest.$ac_objext
2650if { (ac_try="$ac_compile"
2651case "(($ac_try" in
2652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2653 *) ac_try_echo=$ac_try;;
2654esac
2655eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2656$as_echo "$ac_try_echo") >&5
2657 (eval "$ac_compile") 2>conftest.er1
2658 ac_status=$?
2659 grep -v '^ *+' conftest.er1 >conftest.err
2660 rm -f conftest.er1
2661 cat conftest.err >&5
2662 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2663 (exit $ac_status); } && {
2664 test -z "$ac_c_werror_flag" ||
2665 test ! -s conftest.err
2666 } && test -s conftest.$ac_objext; then
2667 ac_cv_prog_cc_g=yes
2668else
2669 $as_echo "$as_me: failed program was:" >&5
2670sed 's/^/| /' conftest.$ac_ext >&5
2671
2672 CFLAGS=""
2673 cat >conftest.$ac_ext <<_ACEOF
2674/* confdefs.h. */
2675_ACEOF
2676cat confdefs.h >>conftest.$ac_ext
2677cat >>conftest.$ac_ext <<_ACEOF
2678/* end confdefs.h. */
2679
2680int
2681main ()
2682{
2683
2684 ;
2685 return 0;
2686}
2687_ACEOF
2688rm -f conftest.$ac_objext
2689if { (ac_try="$ac_compile"
2690case "(($ac_try" in
2691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2692 *) ac_try_echo=$ac_try;;
2693esac
2694eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2695$as_echo "$ac_try_echo") >&5
2696 (eval "$ac_compile") 2>conftest.er1
2697 ac_status=$?
2698 grep -v '^ *+' conftest.er1 >conftest.err
2699 rm -f conftest.er1
2700 cat conftest.err >&5
2701 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2702 (exit $ac_status); } && {
2703 test -z "$ac_c_werror_flag" ||
2704 test ! -s conftest.err
2705 } && test -s conftest.$ac_objext; then
2706 :
2707else
2708 $as_echo "$as_me: failed program was:" >&5
2709sed 's/^/| /' conftest.$ac_ext >&5
2710
2711 ac_c_werror_flag=$ac_save_c_werror_flag
2712 CFLAGS="-g"
2713 cat >conftest.$ac_ext <<_ACEOF
2714/* confdefs.h. */
2715_ACEOF
2716cat confdefs.h >>conftest.$ac_ext
2717cat >>conftest.$ac_ext <<_ACEOF
2718/* end confdefs.h. */
2719
2720int
2721main ()
2722{
2723
2724 ;
2725 return 0;
2726}
2727_ACEOF
2728rm -f conftest.$ac_objext
2729if { (ac_try="$ac_compile"
2730case "(($ac_try" in
2731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2732 *) ac_try_echo=$ac_try;;
2733esac
2734eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2735$as_echo "$ac_try_echo") >&5
2736 (eval "$ac_compile") 2>conftest.er1
2737 ac_status=$?
2738 grep -v '^ *+' conftest.er1 >conftest.err
2739 rm -f conftest.er1
2740 cat conftest.err >&5
2741 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2742 (exit $ac_status); } && {
2743 test -z "$ac_c_werror_flag" ||
2744 test ! -s conftest.err
2745 } && test -s conftest.$ac_objext; then
2746 ac_cv_prog_cc_g=yes
2747else
2748 $as_echo "$as_me: failed program was:" >&5
2749sed 's/^/| /' conftest.$ac_ext >&5
2750
2751
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
2758fi
2759
2760rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2761 ac_c_werror_flag=$ac_save_c_werror_flag
2762fi
2763{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2764$as_echo "$ac_cv_prog_cc_g" >&6; }
2765if test "$ac_test_CFLAGS" = set; then
2766 CFLAGS=$ac_save_CFLAGS
2767elif test $ac_cv_prog_cc_g = yes; then
2768 if test "$GCC" = yes; then
2769 CFLAGS="-g -O2"
2770 else
2771 CFLAGS="-g"
2772 fi
2773else
2774 if test "$GCC" = yes; then
2775 CFLAGS="-O2"
2776 else
2777 CFLAGS=
2778 fi
2779fi
2780{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2781$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2782if test "${ac_cv_prog_cc_c89+set}" = set; then
2783 $as_echo_n "(cached) " >&6
2784else
2785 ac_cv_prog_cc_c89=no
2786ac_save_CC=$CC
2787cat >conftest.$ac_ext <<_ACEOF
2788/* confdefs.h. */
2789_ACEOF
2790cat confdefs.h >>conftest.$ac_ext
2791cat >>conftest.$ac_ext <<_ACEOF
2792/* end confdefs.h. */
2793#include <stdarg.h>
2794#include <stdio.h>
2795#include <sys/types.h>
2796#include <sys/stat.h>
2797/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2798struct buf { int x; };
2799FILE * (*rcsopen) (struct buf *, struct stat *, int);
2800static char *e (p, i)
2801 char **p;
2802 int i;
2803{
2804 return p[i];
2805}
2806static char *f (char * (*g) (char **, int), char **p, ...)
2807{
2808 char *s;
2809 va_list v;
2810 va_start (v,p);
2811 s = g (p, va_arg (v,int));
2812 va_end (v);
2813 return s;
2814}
2815
2816/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2817 function prototypes and stuff, but not '\xHH' hex character constants.
2818 These don't provoke an error unfortunately, instead are silently treated
2819 as 'x'. The following induces an error, until -std is added to get
2820 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2821 array size at least. It's necessary to write '\x00'==0 to get something
2822 that's true only with -std. */
2823int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2824
2825/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2826 inside strings and character constants. */
2827#define FOO(x) 'x'
2828int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2829
2830int test (int i, double x);
2831struct s1 {int (*f) (int a);};
2832struct s2 {int (*f) (double a);};
2833int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2834int argc;
2835char **argv;
2836int
2837main ()
2838{
2839return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2840 ;
2841 return 0;
2842}
2843_ACEOF
2844for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2845 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2846do
2847 CC="$ac_save_CC $ac_arg"
2848 rm -f conftest.$ac_objext
2849if { (ac_try="$ac_compile"
2850case "(($ac_try" in
2851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2852 *) ac_try_echo=$ac_try;;
2853esac
2854eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2855$as_echo "$ac_try_echo") >&5
2856 (eval "$ac_compile") 2>conftest.er1
2857 ac_status=$?
2858 grep -v '^ *+' conftest.er1 >conftest.err
2859 rm -f conftest.er1
2860 cat conftest.err >&5
2861 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2862 (exit $ac_status); } && {
2863 test -z "$ac_c_werror_flag" ||
2864 test ! -s conftest.err
2865 } && test -s conftest.$ac_objext; then
2866 ac_cv_prog_cc_c89=$ac_arg
2867else
2868 $as_echo "$as_me: failed program was:" >&5
2869sed 's/^/| /' conftest.$ac_ext >&5
2870
2871
2872fi
2873
2874rm -f core conftest.err conftest.$ac_objext
2875 test "x$ac_cv_prog_cc_c89" != "xno" && break
2876done
2877rm -f conftest.$ac_ext
2878CC=$ac_save_CC
2879
2880fi
2881# AC_CACHE_VAL
2882case "x$ac_cv_prog_cc_c89" in
2883 x)
2884 { $as_echo "$as_me:$LINENO: result: none needed" >&5
2885$as_echo "none needed" >&6; } ;;
2886 xno)
2887 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
2888$as_echo "unsupported" >&6; } ;;
2889 *)
2890 CC="$CC $ac_cv_prog_cc_c89"
2891 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2892$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2893esac
2894
2895
2896ac_ext=c
2897ac_cpp='$CPP $CPPFLAGS'
2898ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2899ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2900ac_compiler_gnu=$ac_cv_c_compiler_gnu
2901
2902
2903{ $as_echo "$as_me:$LINENO: checking for library containing ncds_apply_rpc" >&5
2904$as_echo_n "checking for library containing ncds_apply_rpc... " >&6; }
2905if test "${ac_cv_search_ncds_apply_rpc+set}" = set; then
2906 $as_echo_n "(cached) " >&6
2907else
2908 ac_func_search_save_LIBS=$LIBS
2909cat >conftest.$ac_ext <<_ACEOF
2910/* confdefs.h. */
2911_ACEOF
2912cat confdefs.h >>conftest.$ac_ext
2913cat >>conftest.$ac_ext <<_ACEOF
2914/* end confdefs.h. */
2915
2916/* Override any GCC internal prototype to avoid an error.
2917 Use char because int might match the return type of a GCC
2918 builtin and then its argument prototype would still apply. */
2919#ifdef __cplusplus
2920extern "C"
2921#endif
2922char ncds_apply_rpc ();
2923int
2924main ()
2925{
2926return ncds_apply_rpc ();
2927 ;
2928 return 0;
2929}
2930_ACEOF
2931for ac_lib in '' netconf; do
2932 if test -z "$ac_lib"; then
2933 ac_res="none required"
2934 else
2935 ac_res=-l$ac_lib
2936 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
2937 fi
2938 rm -f conftest.$ac_objext conftest$ac_exeext
2939if { (ac_try="$ac_link"
2940case "(($ac_try" in
2941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2942 *) ac_try_echo=$ac_try;;
2943esac
2944eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2945$as_echo "$ac_try_echo") >&5
2946 (eval "$ac_link") 2>conftest.er1
2947 ac_status=$?
2948 grep -v '^ *+' conftest.er1 >conftest.err
2949 rm -f conftest.er1
2950 cat conftest.err >&5
2951 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2952 (exit $ac_status); } && {
2953 test -z "$ac_c_werror_flag" ||
2954 test ! -s conftest.err
2955 } && test -s conftest$ac_exeext && {
2956 test "$cross_compiling" = yes ||
2957 $as_test_x conftest$ac_exeext
2958 }; then
2959 ac_cv_search_ncds_apply_rpc=$ac_res
2960else
2961 $as_echo "$as_me: failed program was:" >&5
2962sed 's/^/| /' conftest.$ac_ext >&5
2963
2964
2965fi
2966
2967rm -rf conftest.dSYM
2968rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
2969 conftest$ac_exeext
2970 if test "${ac_cv_search_ncds_apply_rpc+set}" = set; then
2971 break
2972fi
2973done
2974if test "${ac_cv_search_ncds_apply_rpc+set}" = set; then
2975 :
2976else
2977 ac_cv_search_ncds_apply_rpc=no
2978fi
2979rm conftest.$ac_ext
2980LIBS=$ac_func_search_save_LIBS
2981fi
2982{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_ncds_apply_rpc" >&5
2983$as_echo "$ac_cv_search_ncds_apply_rpc" >&6; }
2984ac_res=$ac_cv_search_ncds_apply_rpc
2985if test "$ac_res" != no; then
2986 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
2987
2988else
2989 { { $as_echo "$as_me:$LINENO: error: libnetconf not found!" >&5
2990$as_echo "$as_me: error: libnetconf not found!" >&2;}
2991 { (exit 1); exit 1; }; }
2992fi
2993
2994REQS="$REQS libnetconf"
2995BUILDREQS="$BUILDREQS libnetconf-devel"
2996
2997# Checks for header files.
2998ac_ext=c
2999ac_cpp='$CPP $CPPFLAGS'
3000ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3001ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3002ac_compiler_gnu=$ac_cv_c_compiler_gnu
3003{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3004$as_echo_n "checking how to run the C preprocessor... " >&6; }
3005# On Suns, sometimes $CPP names a directory.
3006if test -n "$CPP" && test -d "$CPP"; then
3007 CPP=
3008fi
3009if test -z "$CPP"; then
3010 if test "${ac_cv_prog_CPP+set}" = set; then
3011 $as_echo_n "(cached) " >&6
3012else
3013 # Double quotes because CPP needs to be expanded
3014 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3015 do
3016 ac_preproc_ok=false
3017for ac_c_preproc_warn_flag in '' yes
3018do
3019 # Use a header file that comes with gcc, so configuring glibc
3020 # with a fresh cross-compiler works.
3021 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3022 # <limits.h> exists even on freestanding compilers.
3023 # On the NeXT, cc -E runs the code through the compiler's parser,
3024 # not just through cpp. "Syntax error" is here to catch this case.
3025 cat >conftest.$ac_ext <<_ACEOF
3026/* confdefs.h. */
3027_ACEOF
3028cat confdefs.h >>conftest.$ac_ext
3029cat >>conftest.$ac_ext <<_ACEOF
3030/* end confdefs.h. */
3031#ifdef __STDC__
3032# include <limits.h>
3033#else
3034# include <assert.h>
3035#endif
3036 Syntax error
3037_ACEOF
3038if { (ac_try="$ac_cpp conftest.$ac_ext"
3039case "(($ac_try" in
3040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3041 *) ac_try_echo=$ac_try;;
3042esac
3043eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3044$as_echo "$ac_try_echo") >&5
3045 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3046 ac_status=$?
3047 grep -v '^ *+' conftest.er1 >conftest.err
3048 rm -f conftest.er1
3049 cat conftest.err >&5
3050 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3051 (exit $ac_status); } >/dev/null && {
3052 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3053 test ! -s conftest.err
3054 }; then
3055 :
3056else
3057 $as_echo "$as_me: failed program was:" >&5
3058sed 's/^/| /' conftest.$ac_ext >&5
3059
3060 # Broken: fails on valid input.
3061continue
3062fi
3063
3064rm -f conftest.err conftest.$ac_ext
3065
3066 # OK, works on sane cases. Now check whether nonexistent headers
3067 # can be detected and how.
3068 cat >conftest.$ac_ext <<_ACEOF
3069/* confdefs.h. */
3070_ACEOF
3071cat confdefs.h >>conftest.$ac_ext
3072cat >>conftest.$ac_ext <<_ACEOF
3073/* end confdefs.h. */
3074#include <ac_nonexistent.h>
3075_ACEOF
3076if { (ac_try="$ac_cpp conftest.$ac_ext"
3077case "(($ac_try" in
3078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3079 *) ac_try_echo=$ac_try;;
3080esac
3081eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3082$as_echo "$ac_try_echo") >&5
3083 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3084 ac_status=$?
3085 grep -v '^ *+' conftest.er1 >conftest.err
3086 rm -f conftest.er1
3087 cat conftest.err >&5
3088 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3089 (exit $ac_status); } >/dev/null && {
3090 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3091 test ! -s conftest.err
3092 }; then
3093 # Broken: success on invalid input.
3094continue
3095else
3096 $as_echo "$as_me: failed program was:" >&5
3097sed 's/^/| /' conftest.$ac_ext >&5
3098
3099 # Passes both tests.
3100ac_preproc_ok=:
3101break
3102fi
3103
3104rm -f conftest.err conftest.$ac_ext
3105
3106done
3107# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3108rm -f conftest.err conftest.$ac_ext
3109if $ac_preproc_ok; then
3110 break
3111fi
3112
3113 done
3114 ac_cv_prog_CPP=$CPP
3115
3116fi
3117 CPP=$ac_cv_prog_CPP
3118else
3119 ac_cv_prog_CPP=$CPP
3120fi
3121{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
3122$as_echo "$CPP" >&6; }
3123ac_preproc_ok=false
3124for ac_c_preproc_warn_flag in '' yes
3125do
3126 # Use a header file that comes with gcc, so configuring glibc
3127 # with a fresh cross-compiler works.
3128 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3129 # <limits.h> exists even on freestanding compilers.
3130 # On the NeXT, cc -E runs the code through the compiler's parser,
3131 # not just through cpp. "Syntax error" is here to catch this case.
3132 cat >conftest.$ac_ext <<_ACEOF
3133/* confdefs.h. */
3134_ACEOF
3135cat confdefs.h >>conftest.$ac_ext
3136cat >>conftest.$ac_ext <<_ACEOF
3137/* end confdefs.h. */
3138#ifdef __STDC__
3139# include <limits.h>
3140#else
3141# include <assert.h>
3142#endif
3143 Syntax error
3144_ACEOF
3145if { (ac_try="$ac_cpp conftest.$ac_ext"
3146case "(($ac_try" in
3147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3148 *) ac_try_echo=$ac_try;;
3149esac
3150eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3151$as_echo "$ac_try_echo") >&5
3152 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3153 ac_status=$?
3154 grep -v '^ *+' conftest.er1 >conftest.err
3155 rm -f conftest.er1
3156 cat conftest.err >&5
3157 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3158 (exit $ac_status); } >/dev/null && {
3159 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3160 test ! -s conftest.err
3161 }; then
3162 :
3163else
3164 $as_echo "$as_me: failed program was:" >&5
3165sed 's/^/| /' conftest.$ac_ext >&5
3166
3167 # Broken: fails on valid input.
3168continue
3169fi
3170
3171rm -f conftest.err conftest.$ac_ext
3172
3173 # OK, works on sane cases. Now check whether nonexistent headers
3174 # can be detected and how.
3175 cat >conftest.$ac_ext <<_ACEOF
3176/* confdefs.h. */
3177_ACEOF
3178cat confdefs.h >>conftest.$ac_ext
3179cat >>conftest.$ac_ext <<_ACEOF
3180/* end confdefs.h. */
3181#include <ac_nonexistent.h>
3182_ACEOF
3183if { (ac_try="$ac_cpp conftest.$ac_ext"
3184case "(($ac_try" in
3185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3186 *) ac_try_echo=$ac_try;;
3187esac
3188eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3189$as_echo "$ac_try_echo") >&5
3190 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3191 ac_status=$?
3192 grep -v '^ *+' conftest.er1 >conftest.err
3193 rm -f conftest.er1
3194 cat conftest.err >&5
3195 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3196 (exit $ac_status); } >/dev/null && {
3197 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3198 test ! -s conftest.err
3199 }; then
3200 # Broken: success on invalid input.
3201continue
3202else
3203 $as_echo "$as_me: failed program was:" >&5
3204sed 's/^/| /' conftest.$ac_ext >&5
3205
3206 # Passes both tests.
3207ac_preproc_ok=:
3208break
3209fi
3210
3211rm -f conftest.err conftest.$ac_ext
3212
3213done
3214# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3215rm -f conftest.err conftest.$ac_ext
3216if $ac_preproc_ok; then
3217 :
3218else
3219 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3220$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3221{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3222See \`config.log' for more details." >&5
3223$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3224See \`config.log' for more details." >&2;}
3225 { (exit 1); exit 1; }; }; }
3226fi
3227
3228ac_ext=c
3229ac_cpp='$CPP $CPPFLAGS'
3230ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3231ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3232ac_compiler_gnu=$ac_cv_c_compiler_gnu
3233
3234
3235{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3236$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3237if test "${ac_cv_path_GREP+set}" = set; then
3238 $as_echo_n "(cached) " >&6
3239else
3240 if test -z "$GREP"; then
3241 ac_path_GREP_found=false
3242 # Loop through the user's path and test for each of PROGNAME-LIST
3243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3244for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3245do
3246 IFS=$as_save_IFS
3247 test -z "$as_dir" && as_dir=.
3248 for ac_prog in grep ggrep; do
3249 for ac_exec_ext in '' $ac_executable_extensions; do
3250 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3251 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3252# Check for GNU ac_path_GREP and select it if it is found.
3253 # Check for GNU $ac_path_GREP
3254case `"$ac_path_GREP" --version 2>&1` in
3255*GNU*)
3256 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3257*)
3258 ac_count=0
3259 $as_echo_n 0123456789 >"conftest.in"
3260 while :
3261 do
3262 cat "conftest.in" "conftest.in" >"conftest.tmp"
3263 mv "conftest.tmp" "conftest.in"
3264 cp "conftest.in" "conftest.nl"
3265 $as_echo 'GREP' >> "conftest.nl"
3266 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3267 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3268 ac_count=`expr $ac_count + 1`
3269 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3270 # Best one so far, save it but keep looking for a better one
3271 ac_cv_path_GREP="$ac_path_GREP"
3272 ac_path_GREP_max=$ac_count
3273 fi
3274 # 10*(2^10) chars as input seems more than enough
3275 test $ac_count -gt 10 && break
3276 done
3277 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3278esac
3279
3280 $ac_path_GREP_found && break 3
3281 done
3282 done
3283done
3284IFS=$as_save_IFS
3285 if test -z "$ac_cv_path_GREP"; then
3286 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3287$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3288 { (exit 1); exit 1; }; }
3289 fi
3290else
3291 ac_cv_path_GREP=$GREP
3292fi
3293
3294fi
3295{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3296$as_echo "$ac_cv_path_GREP" >&6; }
3297 GREP="$ac_cv_path_GREP"
3298
3299
3300{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
3301$as_echo_n "checking for egrep... " >&6; }
3302if test "${ac_cv_path_EGREP+set}" = set; then
3303 $as_echo_n "(cached) " >&6
3304else
3305 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3306 then ac_cv_path_EGREP="$GREP -E"
3307 else
3308 if test -z "$EGREP"; then
3309 ac_path_EGREP_found=false
3310 # Loop through the user's path and test for each of PROGNAME-LIST
3311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3312for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3313do
3314 IFS=$as_save_IFS
3315 test -z "$as_dir" && as_dir=.
3316 for ac_prog in egrep; do
3317 for ac_exec_ext in '' $ac_executable_extensions; do
3318 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3319 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3320# Check for GNU ac_path_EGREP and select it if it is found.
3321 # Check for GNU $ac_path_EGREP
3322case `"$ac_path_EGREP" --version 2>&1` in
3323*GNU*)
3324 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3325*)
3326 ac_count=0
3327 $as_echo_n 0123456789 >"conftest.in"
3328 while :
3329 do
3330 cat "conftest.in" "conftest.in" >"conftest.tmp"
3331 mv "conftest.tmp" "conftest.in"
3332 cp "conftest.in" "conftest.nl"
3333 $as_echo 'EGREP' >> "conftest.nl"
3334 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3335 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3336 ac_count=`expr $ac_count + 1`
3337 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3338 # Best one so far, save it but keep looking for a better one
3339 ac_cv_path_EGREP="$ac_path_EGREP"
3340 ac_path_EGREP_max=$ac_count
3341 fi
3342 # 10*(2^10) chars as input seems more than enough
3343 test $ac_count -gt 10 && break
3344 done
3345 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3346esac
3347
3348 $ac_path_EGREP_found && break 3
3349 done
3350 done
3351done
3352IFS=$as_save_IFS
3353 if test -z "$ac_cv_path_EGREP"; then
3354 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3355$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3356 { (exit 1); exit 1; }; }
3357 fi
3358else
3359 ac_cv_path_EGREP=$EGREP
3360fi
3361
3362 fi
3363fi
3364{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3365$as_echo "$ac_cv_path_EGREP" >&6; }
3366 EGREP="$ac_cv_path_EGREP"
3367
3368
3369{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3370$as_echo_n "checking for ANSI C header files... " >&6; }
3371if test "${ac_cv_header_stdc+set}" = set; then
3372 $as_echo_n "(cached) " >&6
3373else
3374 cat >conftest.$ac_ext <<_ACEOF
3375/* confdefs.h. */
3376_ACEOF
3377cat confdefs.h >>conftest.$ac_ext
3378cat >>conftest.$ac_ext <<_ACEOF
3379/* end confdefs.h. */
3380#include <stdlib.h>
3381#include <stdarg.h>
3382#include <string.h>
3383#include <float.h>
3384
3385int
3386main ()
3387{
3388
3389 ;
3390 return 0;
3391}
3392_ACEOF
3393rm -f conftest.$ac_objext
3394if { (ac_try="$ac_compile"
3395case "(($ac_try" in
3396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3397 *) ac_try_echo=$ac_try;;
3398esac
3399eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3400$as_echo "$ac_try_echo") >&5
3401 (eval "$ac_compile") 2>conftest.er1
3402 ac_status=$?
3403 grep -v '^ *+' conftest.er1 >conftest.err
3404 rm -f conftest.er1
3405 cat conftest.err >&5
3406 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3407 (exit $ac_status); } && {
3408 test -z "$ac_c_werror_flag" ||
3409 test ! -s conftest.err
3410 } && test -s conftest.$ac_objext; then
3411 ac_cv_header_stdc=yes
3412else
3413 $as_echo "$as_me: failed program was:" >&5
3414sed 's/^/| /' conftest.$ac_ext >&5
3415
3416 ac_cv_header_stdc=no
3417fi
3418
3419rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3420
3421if test $ac_cv_header_stdc = yes; then
3422 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3423 cat >conftest.$ac_ext <<_ACEOF
3424/* confdefs.h. */
3425_ACEOF
3426cat confdefs.h >>conftest.$ac_ext
3427cat >>conftest.$ac_ext <<_ACEOF
3428/* end confdefs.h. */
3429#include <string.h>
3430
3431_ACEOF
3432if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3433 $EGREP "memchr" >/dev/null 2>&1; then
3434 :
3435else
3436 ac_cv_header_stdc=no
3437fi
3438rm -f conftest*
3439
3440fi
3441
3442if test $ac_cv_header_stdc = yes; then
3443 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3444 cat >conftest.$ac_ext <<_ACEOF
3445/* confdefs.h. */
3446_ACEOF
3447cat confdefs.h >>conftest.$ac_ext
3448cat >>conftest.$ac_ext <<_ACEOF
3449/* end confdefs.h. */
3450#include <stdlib.h>
3451
3452_ACEOF
3453if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3454 $EGREP "free" >/dev/null 2>&1; then
3455 :
3456else
3457 ac_cv_header_stdc=no
3458fi
3459rm -f conftest*
3460
3461fi
3462
3463if test $ac_cv_header_stdc = yes; then
3464 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3465 if test "$cross_compiling" = yes; then
3466 :
3467else
3468 cat >conftest.$ac_ext <<_ACEOF
3469/* confdefs.h. */
3470_ACEOF
3471cat confdefs.h >>conftest.$ac_ext
3472cat >>conftest.$ac_ext <<_ACEOF
3473/* end confdefs.h. */
3474#include <ctype.h>
3475#include <stdlib.h>
3476#if ((' ' & 0x0FF) == 0x020)
3477# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3478# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3479#else
3480# define ISLOWER(c) \
3481 (('a' <= (c) && (c) <= 'i') \
3482 || ('j' <= (c) && (c) <= 'r') \
3483 || ('s' <= (c) && (c) <= 'z'))
3484# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3485#endif
3486
3487#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3488int
3489main ()
3490{
3491 int i;
3492 for (i = 0; i < 256; i++)
3493 if (XOR (islower (i), ISLOWER (i))
3494 || toupper (i) != TOUPPER (i))
3495 return 2;
3496 return 0;
3497}
3498_ACEOF
3499rm -f conftest$ac_exeext
3500if { (ac_try="$ac_link"
3501case "(($ac_try" in
3502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3503 *) ac_try_echo=$ac_try;;
3504esac
3505eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3506$as_echo "$ac_try_echo") >&5
3507 (eval "$ac_link") 2>&5
3508 ac_status=$?
3509 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3510 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3511 { (case "(($ac_try" in
3512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3513 *) ac_try_echo=$ac_try;;
3514esac
3515eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3516$as_echo "$ac_try_echo") >&5
3517 (eval "$ac_try") 2>&5
3518 ac_status=$?
3519 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3520 (exit $ac_status); }; }; then
3521 :
3522else
3523 $as_echo "$as_me: program exited with status $ac_status" >&5
3524$as_echo "$as_me: failed program was:" >&5
3525sed 's/^/| /' conftest.$ac_ext >&5
3526
3527( exit $ac_status )
3528ac_cv_header_stdc=no
3529fi
3530rm -rf conftest.dSYM
3531rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3532fi
3533
3534
3535fi
3536fi
3537{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3538$as_echo "$ac_cv_header_stdc" >&6; }
3539if test $ac_cv_header_stdc = yes; then
3540
3541cat >>confdefs.h <<\_ACEOF
3542#define STDC_HEADERS 1
3543_ACEOF
3544
3545fi
3546
3547# On IRIX 5.3, sys/types and inttypes.h are conflicting.
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3558 inttypes.h stdint.h unistd.h
3559do
3560as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3561{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
3562$as_echo_n "checking for $ac_header... " >&6; }
3563if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3564 $as_echo_n "(cached) " >&6
3565else
3566 cat >conftest.$ac_ext <<_ACEOF
3567/* confdefs.h. */
3568_ACEOF
3569cat confdefs.h >>conftest.$ac_ext
3570cat >>conftest.$ac_ext <<_ACEOF
3571/* end confdefs.h. */
3572$ac_includes_default
3573
3574#include <$ac_header>
3575_ACEOF
3576rm -f conftest.$ac_objext
3577if { (ac_try="$ac_compile"
3578case "(($ac_try" in
3579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3580 *) ac_try_echo=$ac_try;;
3581esac
3582eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3583$as_echo "$ac_try_echo") >&5
3584 (eval "$ac_compile") 2>conftest.er1
3585 ac_status=$?
3586 grep -v '^ *+' conftest.er1 >conftest.err
3587 rm -f conftest.er1
3588 cat conftest.err >&5
3589 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3590 (exit $ac_status); } && {
3591 test -z "$ac_c_werror_flag" ||
3592 test ! -s conftest.err
3593 } && test -s conftest.$ac_objext; then
3594 eval "$as_ac_Header=yes"
3595else
3596 $as_echo "$as_me: failed program was:" >&5
3597sed 's/^/| /' conftest.$ac_ext >&5
3598
3599 eval "$as_ac_Header=no"
3600fi
3601
3602rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3603fi
3604ac_res=`eval 'as_val=${'$as_ac_Header'}
3605 $as_echo "$as_val"'`
3606 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
3607$as_echo "$ac_res" >&6; }
3608as_val=`eval 'as_val=${'$as_ac_Header'}
3609 $as_echo "$as_val"'`
3610 if test "x$as_val" = x""yes; then
3611 cat >>confdefs.h <<_ACEOF
3612#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3613_ACEOF
3614
3615fi
3616
3617done
3618
3619
3620if test "${ac_cv_header_libnetconf_h+set}" = set; then
3621 { $as_echo "$as_me:$LINENO: checking for libnetconf.h" >&5
3622$as_echo_n "checking for libnetconf.h... " >&6; }
3623if test "${ac_cv_header_libnetconf_h+set}" = set; then
3624 $as_echo_n "(cached) " >&6
3625fi
3626{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_libnetconf_h" >&5
3627$as_echo "$ac_cv_header_libnetconf_h" >&6; }
3628else
3629 # Is the header compilable?
3630{ $as_echo "$as_me:$LINENO: checking libnetconf.h usability" >&5
3631$as_echo_n "checking libnetconf.h usability... " >&6; }
3632cat >conftest.$ac_ext <<_ACEOF
3633/* confdefs.h. */
3634_ACEOF
3635cat confdefs.h >>conftest.$ac_ext
3636cat >>conftest.$ac_ext <<_ACEOF
3637/* end confdefs.h. */
3638$ac_includes_default
3639#include <libnetconf.h>
3640_ACEOF
3641rm -f conftest.$ac_objext
3642if { (ac_try="$ac_compile"
3643case "(($ac_try" in
3644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3645 *) ac_try_echo=$ac_try;;
3646esac
3647eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3648$as_echo "$ac_try_echo") >&5
3649 (eval "$ac_compile") 2>conftest.er1
3650 ac_status=$?
3651 grep -v '^ *+' conftest.er1 >conftest.err
3652 rm -f conftest.er1
3653 cat conftest.err >&5
3654 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3655 (exit $ac_status); } && {
3656 test -z "$ac_c_werror_flag" ||
3657 test ! -s conftest.err
3658 } && test -s conftest.$ac_objext; then
3659 ac_header_compiler=yes
3660else
3661 $as_echo "$as_me: failed program was:" >&5
3662sed 's/^/| /' conftest.$ac_ext >&5
3663
3664 ac_header_compiler=no
3665fi
3666
3667rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3668{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3669$as_echo "$ac_header_compiler" >&6; }
3670
3671# Is the header present?
3672{ $as_echo "$as_me:$LINENO: checking libnetconf.h presence" >&5
3673$as_echo_n "checking libnetconf.h presence... " >&6; }
3674cat >conftest.$ac_ext <<_ACEOF
3675/* confdefs.h. */
3676_ACEOF
3677cat confdefs.h >>conftest.$ac_ext
3678cat >>conftest.$ac_ext <<_ACEOF
3679/* end confdefs.h. */
3680#include <libnetconf.h>
3681_ACEOF
3682if { (ac_try="$ac_cpp conftest.$ac_ext"
3683case "(($ac_try" in
3684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3685 *) ac_try_echo=$ac_try;;
3686esac
3687eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3688$as_echo "$ac_try_echo") >&5
3689 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3690 ac_status=$?
3691 grep -v '^ *+' conftest.er1 >conftest.err
3692 rm -f conftest.er1
3693 cat conftest.err >&5
3694 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3695 (exit $ac_status); } >/dev/null && {
3696 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3697 test ! -s conftest.err
3698 }; then
3699 ac_header_preproc=yes
3700else
3701 $as_echo "$as_me: failed program was:" >&5
3702sed 's/^/| /' conftest.$ac_ext >&5
3703
3704 ac_header_preproc=no
3705fi
3706
3707rm -f conftest.err conftest.$ac_ext
3708{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3709$as_echo "$ac_header_preproc" >&6; }
3710
3711# So? What about this header?
3712case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3713 yes:no: )
3714 { $as_echo "$as_me:$LINENO: WARNING: libnetconf.h: accepted by the compiler, rejected by the preprocessor!" >&5
3715$as_echo "$as_me: WARNING: libnetconf.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3716 { $as_echo "$as_me:$LINENO: WARNING: libnetconf.h: proceeding with the compiler's result" >&5
3717$as_echo "$as_me: WARNING: libnetconf.h: proceeding with the compiler's result" >&2;}
3718 ac_header_preproc=yes
3719 ;;
3720 no:yes:* )
3721 { $as_echo "$as_me:$LINENO: WARNING: libnetconf.h: present but cannot be compiled" >&5
3722$as_echo "$as_me: WARNING: libnetconf.h: present but cannot be compiled" >&2;}
3723 { $as_echo "$as_me:$LINENO: WARNING: libnetconf.h: check for missing prerequisite headers?" >&5
3724$as_echo "$as_me: WARNING: libnetconf.h: check for missing prerequisite headers?" >&2;}
3725 { $as_echo "$as_me:$LINENO: WARNING: libnetconf.h: see the Autoconf documentation" >&5
3726$as_echo "$as_me: WARNING: libnetconf.h: see the Autoconf documentation" >&2;}
3727 { $as_echo "$as_me:$LINENO: WARNING: libnetconf.h: section \"Present But Cannot Be Compiled\"" >&5
3728$as_echo "$as_me: WARNING: libnetconf.h: section \"Present But Cannot Be Compiled\"" >&2;}
3729 { $as_echo "$as_me:$LINENO: WARNING: libnetconf.h: proceeding with the preprocessor's result" >&5
3730$as_echo "$as_me: WARNING: libnetconf.h: proceeding with the preprocessor's result" >&2;}
3731 { $as_echo "$as_me:$LINENO: WARNING: libnetconf.h: in the future, the compiler will take precedence" >&5
3732$as_echo "$as_me: WARNING: libnetconf.h: in the future, the compiler will take precedence" >&2;}
3733
3734 ;;
3735esac
3736{ $as_echo "$as_me:$LINENO: checking for libnetconf.h" >&5
3737$as_echo_n "checking for libnetconf.h... " >&6; }
3738if test "${ac_cv_header_libnetconf_h+set}" = set; then
3739 $as_echo_n "(cached) " >&6
3740else
3741 ac_cv_header_libnetconf_h=$ac_header_preproc
3742fi
3743{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_libnetconf_h" >&5
3744$as_echo "$ac_cv_header_libnetconf_h" >&6; }
3745
3746fi
3747if test "x$ac_cv_header_libnetconf_h" = x""yes; then
3748 :
3749else
3750 { { $as_echo "$as_me:$LINENO: error: libnetconf.h not found!" >&5
3751$as_echo "$as_me: error: libnetconf.h not found!" >&2;}
3752 { (exit 1); exit 1; }; }
3753fi
3754
3755
3756
3757# Checks for typedefs, structures, and compiler characteristics.
3758
3759# Checks for library functions.
3760
3761
3762if test -z "$RPMBUILD"; then
3763 { $as_echo "$as_me:$LINENO: WARNING: Due to missing rpmbuild you will not able to generate RPM package." >&5
3764$as_echo "$as_me: WARNING: Due to missing rpmbuild you will not able to generate RPM package." >&2;}
3765fi
3766
3767
3768
3769
Tomas Cejka689a1042013-01-16 15:08:25 +01003770
3771
3772
Tomas Cejka96f4e612012-12-10 00:03:32 +01003773ac_config_files="$ac_config_files Makefile"
3774
3775ac_config_files="$ac_config_files mod_netconf.spec"
3776
3777cat >confcache <<\_ACEOF
3778# This file is a shell script that caches the results of configure
3779# tests run on this system so they can be shared between configure
3780# scripts and configure runs, see configure's option --config-cache.
3781# It is not useful on other systems. If it contains results you don't
3782# want to keep, you may remove or edit it.
3783#
3784# config.status only pays attention to the cache file if you give it
3785# the --recheck option to rerun configure.
3786#
3787# `ac_cv_env_foo' variables (set or unset) will be overridden when
3788# loading this file, other *unset* `ac_cv_foo' will be assigned the
3789# following values.
3790
3791_ACEOF
3792
3793# The following way of writing the cache mishandles newlines in values,
3794# but we know of no workaround that is simple, portable, and efficient.
3795# So, we kill variables containing newlines.
3796# Ultrix sh set writes to stderr and can't be redirected directly,
3797# and sets the high bit in the cache file unless we assign to the vars.
3798(
3799 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3800 eval ac_val=\$$ac_var
3801 case $ac_val in #(
3802 *${as_nl}*)
3803 case $ac_var in #(
3804 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
3805$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3806 esac
3807 case $ac_var in #(
3808 _ | IFS | as_nl) ;; #(
3809 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3810 *) $as_unset $ac_var ;;
3811 esac ;;
3812 esac
3813 done
3814
3815 (set) 2>&1 |
3816 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3817 *${as_nl}ac_space=\ *)
3818 # `set' does not quote correctly, so add quotes (double-quote
3819 # substitution turns \\\\ into \\, and sed turns \\ into \).
3820 sed -n \
3821 "s/'/'\\\\''/g;
3822 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3823 ;; #(
3824 *)
3825 # `set' quotes correctly as required by POSIX, so do not add quotes.
3826 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3827 ;;
3828 esac |
3829 sort
3830) |
3831 sed '
3832 /^ac_cv_env_/b end
3833 t clear
3834 :clear
3835 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3836 t end
3837 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3838 :end' >>confcache
3839if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3840 if test -w "$cache_file"; then
3841 test "x$cache_file" != "x/dev/null" &&
3842 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
3843$as_echo "$as_me: updating cache $cache_file" >&6;}
3844 cat confcache >$cache_file
3845 else
3846 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
3847$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3848 fi
3849fi
3850rm -f confcache
3851
3852test "x$prefix" = xNONE && prefix=$ac_default_prefix
3853# Let make expand exec_prefix.
3854test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3855
3856# Transform confdefs.h into DEFS.
3857# Protect against shell expansion while executing Makefile rules.
3858# Protect against Makefile macro expansion.
3859#
3860# If the first sed substitution is executed (which looks for macros that
3861# take arguments), then branch to the quote section. Otherwise,
3862# look for a macro that doesn't take arguments.
3863ac_script='
3864:mline
3865/\\$/{
3866 N
3867 s,\\\n,,
3868 b mline
3869}
3870t clear
3871:clear
3872s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
3873t quote
3874s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
3875t quote
3876b any
3877:quote
3878s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3879s/\[/\\&/g
3880s/\]/\\&/g
3881s/\$/$$/g
3882H
3883:any
3884${
3885 g
3886 s/^\n//
3887 s/\n/ /g
3888 p
3889}
3890'
3891DEFS=`sed -n "$ac_script" confdefs.h`
3892
3893
3894ac_libobjs=
3895ac_ltlibobjs=
3896for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3897 # 1. Remove the extension, and $U if already installed.
3898 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3899 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
3900 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3901 # will be set to the directory where LIBOBJS objects are built.
3902 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3903 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
3904done
3905LIBOBJS=$ac_libobjs
3906
3907LTLIBOBJS=$ac_ltlibobjs
3908
3909
3910
3911: ${CONFIG_STATUS=./config.status}
3912ac_write_fail=0
3913ac_clean_files_save=$ac_clean_files
3914ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3915{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3916$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3917cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3918#! $SHELL
3919# Generated by $as_me.
3920# Run this file to recreate the current configuration.
3921# Compiler output produced by configure, useful for debugging
3922# configure, is in config.log if it exists.
3923
3924debug=false
3925ac_cs_recheck=false
3926ac_cs_silent=false
3927SHELL=\${CONFIG_SHELL-$SHELL}
3928_ACEOF
3929
3930cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3931## --------------------- ##
3932## M4sh Initialization. ##
3933## --------------------- ##
3934
3935# Be more Bourne compatible
3936DUALCASE=1; export DUALCASE # for MKS sh
3937if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3938 emulate sh
3939 NULLCMD=:
3940 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3941 # is contrary to our usage. Disable this feature.
3942 alias -g '${1+"$@"}'='"$@"'
3943 setopt NO_GLOB_SUBST
3944else
3945 case `(set -o) 2>/dev/null` in
3946 *posix*) set -o posix ;;
3947esac
3948
3949fi
3950
3951
3952
3953
3954# PATH needs CR
3955# Avoid depending upon Character Ranges.
3956as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3957as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3958as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3959as_cr_digits='0123456789'
3960as_cr_alnum=$as_cr_Letters$as_cr_digits
3961
3962as_nl='
3963'
3964export as_nl
3965# Printing a long string crashes Solaris 7 /usr/bin/printf.
3966as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3967as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3968as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3969if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3970 as_echo='printf %s\n'
3971 as_echo_n='printf %s'
3972else
3973 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3974 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
3975 as_echo_n='/usr/ucb/echo -n'
3976 else
3977 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3978 as_echo_n_body='eval
3979 arg=$1;
3980 case $arg in
3981 *"$as_nl"*)
3982 expr "X$arg" : "X\\(.*\\)$as_nl";
3983 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3984 esac;
3985 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
3986 '
3987 export as_echo_n_body
3988 as_echo_n='sh -c $as_echo_n_body as_echo'
3989 fi
3990 export as_echo_body
3991 as_echo='sh -c $as_echo_body as_echo'
3992fi
3993
3994# The user is always right.
3995if test "${PATH_SEPARATOR+set}" != set; then
3996 PATH_SEPARATOR=:
3997 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3998 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3999 PATH_SEPARATOR=';'
4000 }
4001fi
4002
4003# Support unset when possible.
4004if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4005 as_unset=unset
4006else
4007 as_unset=false
4008fi
4009
4010
4011# IFS
4012# We need space, tab and new line, in precisely that order. Quoting is
4013# there to prevent editors from complaining about space-tab.
4014# (If _AS_PATH_WALK were called with IFS unset, it would disable word
4015# splitting by setting IFS to empty value.)
4016IFS=" "" $as_nl"
4017
4018# Find who we are. Look in the path if we contain no directory separator.
4019case $0 in
4020 *[\\/]* ) as_myself=$0 ;;
4021 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4022for as_dir in $PATH
4023do
4024 IFS=$as_save_IFS
4025 test -z "$as_dir" && as_dir=.
4026 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4027done
4028IFS=$as_save_IFS
4029
4030 ;;
4031esac
4032# We did not find ourselves, most probably we were run as `sh COMMAND'
4033# in which case we are not to be found in the path.
4034if test "x$as_myself" = x; then
4035 as_myself=$0
4036fi
4037if test ! -f "$as_myself"; then
4038 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4039 { (exit 1); exit 1; }
4040fi
4041
4042# Work around bugs in pre-3.0 UWIN ksh.
4043for as_var in ENV MAIL MAILPATH
4044do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
4045done
4046PS1='$ '
4047PS2='> '
4048PS4='+ '
4049
4050# NLS nuisances.
4051LC_ALL=C
4052export LC_ALL
4053LANGUAGE=C
4054export LANGUAGE
4055
4056# Required to use basename.
4057if expr a : '\(a\)' >/dev/null 2>&1 &&
4058 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4059 as_expr=expr
4060else
4061 as_expr=false
4062fi
4063
4064if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4065 as_basename=basename
4066else
4067 as_basename=false
4068fi
4069
4070
4071# Name of the executable.
4072as_me=`$as_basename -- "$0" ||
4073$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4074 X"$0" : 'X\(//\)$' \| \
4075 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4076$as_echo X/"$0" |
4077 sed '/^.*\/\([^/][^/]*\)\/*$/{
4078 s//\1/
4079 q
4080 }
4081 /^X\/\(\/\/\)$/{
4082 s//\1/
4083 q
4084 }
4085 /^X\/\(\/\).*/{
4086 s//\1/
4087 q
4088 }
4089 s/.*/./; q'`
4090
4091# CDPATH.
4092$as_unset CDPATH
4093
4094
4095
4096 as_lineno_1=$LINENO
4097 as_lineno_2=$LINENO
4098 test "x$as_lineno_1" != "x$as_lineno_2" &&
4099 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
4100
4101 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4102 # uniformly replaced by the line number. The first 'sed' inserts a
4103 # line-number line after each line using $LINENO; the second 'sed'
4104 # does the real work. The second script uses 'N' to pair each
4105 # line-number line with the line containing $LINENO, and appends
4106 # trailing '-' during substitution so that $LINENO is not a special
4107 # case at line end.
4108 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4109 # scripts with optimization help from Paolo Bonzini. Blame Lee
4110 # E. McMahon (1931-1989) for sed's syntax. :-)
4111 sed -n '
4112 p
4113 /[$]LINENO/=
4114 ' <$as_myself |
4115 sed '
4116 s/[$]LINENO.*/&-/
4117 t lineno
4118 b
4119 :lineno
4120 N
4121 :loop
4122 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
4123 t loop
4124 s/-\n.*//
4125 ' >$as_me.lineno &&
4126 chmod +x "$as_me.lineno" ||
4127 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
4128 { (exit 1); exit 1; }; }
4129
4130 # Don't try to exec as it changes $[0], causing all sort of problems
4131 # (the dirname of $[0] is not the place where we might find the
4132 # original and so on. Autoconf is especially sensitive to this).
4133 . "./$as_me.lineno"
4134 # Exit status is that of the last command.
4135 exit
4136}
4137
4138
4139if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4140 as_dirname=dirname
4141else
4142 as_dirname=false
4143fi
4144
4145ECHO_C= ECHO_N= ECHO_T=
4146case `echo -n x` in
4147-n*)
4148 case `echo 'x\c'` in
4149 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4150 *) ECHO_C='\c';;
4151 esac;;
4152*)
4153 ECHO_N='-n';;
4154esac
4155if expr a : '\(a\)' >/dev/null 2>&1 &&
4156 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4157 as_expr=expr
4158else
4159 as_expr=false
4160fi
4161
4162rm -f conf$$ conf$$.exe conf$$.file
4163if test -d conf$$.dir; then
4164 rm -f conf$$.dir/conf$$.file
4165else
4166 rm -f conf$$.dir
4167 mkdir conf$$.dir 2>/dev/null
4168fi
4169if (echo >conf$$.file) 2>/dev/null; then
4170 if ln -s conf$$.file conf$$ 2>/dev/null; then
4171 as_ln_s='ln -s'
4172 # ... but there are two gotchas:
4173 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4174 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4175 # In both cases, we have to default to `cp -p'.
4176 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4177 as_ln_s='cp -p'
4178 elif ln conf$$.file conf$$ 2>/dev/null; then
4179 as_ln_s=ln
4180 else
4181 as_ln_s='cp -p'
4182 fi
4183else
4184 as_ln_s='cp -p'
4185fi
4186rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4187rmdir conf$$.dir 2>/dev/null
4188
4189if mkdir -p . 2>/dev/null; then
4190 as_mkdir_p=:
4191else
4192 test -d ./-p && rmdir ./-p
4193 as_mkdir_p=false
4194fi
4195
4196if test -x / >/dev/null 2>&1; then
4197 as_test_x='test -x'
4198else
4199 if ls -dL / >/dev/null 2>&1; then
4200 as_ls_L_option=L
4201 else
4202 as_ls_L_option=
4203 fi
4204 as_test_x='
4205 eval sh -c '\''
4206 if test -d "$1"; then
4207 test -d "$1/.";
4208 else
4209 case $1 in
4210 -*)set "./$1";;
4211 esac;
4212 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
4213 ???[sx]*):;;*)false;;esac;fi
4214 '\'' sh
4215 '
4216fi
4217as_executable_p=$as_test_x
4218
4219# Sed expression to map a string onto a valid CPP name.
4220as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4221
4222# Sed expression to map a string onto a valid variable name.
4223as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4224
4225
4226exec 6>&1
4227
4228# Save the log message, to keep $[0] and so on meaningful, and to
4229# report actual input values of CONFIG_FILES etc. instead of their
4230# values after options handling.
4231ac_log="
4232This file was extended by mod_netconf $as_me 1.0, which was
4233generated by GNU Autoconf 2.63. Invocation command line was
4234
4235 CONFIG_FILES = $CONFIG_FILES
4236 CONFIG_HEADERS = $CONFIG_HEADERS
4237 CONFIG_LINKS = $CONFIG_LINKS
4238 CONFIG_COMMANDS = $CONFIG_COMMANDS
4239 $ $0 $@
4240
4241on `(hostname || uname -n) 2>/dev/null | sed 1q`
4242"
4243
4244_ACEOF
4245
4246case $ac_config_files in *"
4247"*) set x $ac_config_files; shift; ac_config_files=$*;;
4248esac
4249
4250
4251
4252cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4253# Files that config.status was made for.
4254config_files="$ac_config_files"
4255
4256_ACEOF
4257
4258cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4259ac_cs_usage="\
4260\`$as_me' instantiates files from templates according to the
4261current configuration.
4262
4263Usage: $0 [OPTION]... [FILE]...
4264
4265 -h, --help print this help, then exit
4266 -V, --version print version number and configuration settings, then exit
4267 -q, --quiet, --silent
4268 do not print progress messages
4269 -d, --debug don't remove temporary files
4270 --recheck update $as_me by reconfiguring in the same conditions
4271 --file=FILE[:TEMPLATE]
4272 instantiate the configuration file FILE
4273
4274Configuration files:
4275$config_files
4276
4277Report bugs to <bug-autoconf@gnu.org>."
4278
4279_ACEOF
4280cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4281ac_cs_version="\\
4282mod_netconf config.status 1.0
4283configured by $0, generated by GNU Autoconf 2.63,
4284 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
4285
4286Copyright (C) 2008 Free Software Foundation, Inc.
4287This config.status script is free software; the Free Software Foundation
4288gives unlimited permission to copy, distribute and modify it."
4289
4290ac_pwd='$ac_pwd'
4291srcdir='$srcdir'
4292INSTALL='$INSTALL'
4293test -n "\$AWK" || AWK=awk
4294_ACEOF
4295
4296cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4297# The default lists apply if the user does not specify any file.
4298ac_need_defaults=:
4299while test $# != 0
4300do
4301 case $1 in
4302 --*=*)
4303 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4304 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4305 ac_shift=:
4306 ;;
4307 *)
4308 ac_option=$1
4309 ac_optarg=$2
4310 ac_shift=shift
4311 ;;
4312 esac
4313
4314 case $ac_option in
4315 # Handling of the options.
4316 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4317 ac_cs_recheck=: ;;
4318 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4319 $as_echo "$ac_cs_version"; exit ;;
4320 --debug | --debu | --deb | --de | --d | -d )
4321 debug=: ;;
4322 --file | --fil | --fi | --f )
4323 $ac_shift
4324 case $ac_optarg in
4325 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4326 esac
4327 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
4328 ac_need_defaults=false;;
4329 --he | --h | --help | --hel | -h )
4330 $as_echo "$ac_cs_usage"; exit ;;
4331 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4332 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4333 ac_cs_silent=: ;;
4334
4335 # This is an error.
4336 -*) { $as_echo "$as_me: error: unrecognized option: $1
4337Try \`$0 --help' for more information." >&2
4338 { (exit 1); exit 1; }; } ;;
4339
4340 *) ac_config_targets="$ac_config_targets $1"
4341 ac_need_defaults=false ;;
4342
4343 esac
4344 shift
4345done
4346
4347ac_configure_extra_args=
4348
4349if $ac_cs_silent; then
4350 exec 6>/dev/null
4351 ac_configure_extra_args="$ac_configure_extra_args --silent"
4352fi
4353
4354_ACEOF
4355cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4356if \$ac_cs_recheck; then
4357 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4358 shift
4359 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4360 CONFIG_SHELL='$SHELL'
4361 export CONFIG_SHELL
4362 exec "\$@"
4363fi
4364
4365_ACEOF
4366cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4367exec 5>>config.log
4368{
4369 echo
4370 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4371## Running $as_me. ##
4372_ASBOX
4373 $as_echo "$ac_log"
4374} >&5
4375
4376_ACEOF
4377cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4378_ACEOF
4379
4380cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4381
4382# Handling of arguments.
4383for ac_config_target in $ac_config_targets
4384do
4385 case $ac_config_target in
4386 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4387 "mod_netconf.spec") CONFIG_FILES="$CONFIG_FILES mod_netconf.spec" ;;
4388
4389 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4390$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4391 { (exit 1); exit 1; }; };;
4392 esac
4393done
4394
4395
4396# If the user did not use the arguments to specify the items to instantiate,
4397# then the envvar interface is used. Set only those that are not.
4398# We use the long form for the default assignment because of an extremely
4399# bizarre bug on SunOS 4.1.3.
4400if $ac_need_defaults; then
4401 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4402fi
4403
4404# Have a temporary directory for convenience. Make it in the build tree
4405# simply because there is no reason against having it here, and in addition,
4406# creating and moving files from /tmp can sometimes cause problems.
4407# Hook for its removal unless debugging.
4408# Note that there is a small window in which the directory will not be cleaned:
4409# after its creation but before its name has been assigned to `$tmp'.
4410$debug ||
4411{
4412 tmp=
4413 trap 'exit_status=$?
4414 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
4415' 0
4416 trap '{ (exit 1); exit 1; }' 1 2 13 15
4417}
4418# Create a (secure) tmp directory for tmp files.
4419
4420{
4421 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4422 test -n "$tmp" && test -d "$tmp"
4423} ||
4424{
4425 tmp=./conf$$-$RANDOM
4426 (umask 077 && mkdir "$tmp")
4427} ||
4428{
4429 $as_echo "$as_me: cannot create a temporary directory in ." >&2
4430 { (exit 1); exit 1; }
4431}
4432
4433# Set up the scripts for CONFIG_FILES section.
4434# No need to generate them if there are no CONFIG_FILES.
4435# This happens for instance with `./config.status config.h'.
4436if test -n "$CONFIG_FILES"; then
4437
4438
4439ac_cr=' '
4440ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4441if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4442 ac_cs_awk_cr='\\r'
4443else
4444 ac_cs_awk_cr=$ac_cr
4445fi
4446
4447echo 'BEGIN {' >"$tmp/subs1.awk" &&
4448_ACEOF
4449
4450
4451{
4452 echo "cat >conf$$subs.awk <<_ACEOF" &&
4453 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4454 echo "_ACEOF"
4455} >conf$$subs.sh ||
4456 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
4457$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
4458 { (exit 1); exit 1; }; }
4459ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
4460ac_delim='%!_!# '
4461for ac_last_try in false false false false false :; do
4462 . ./conf$$subs.sh ||
4463 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
4464$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
4465 { (exit 1); exit 1; }; }
4466
4467 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4468 if test $ac_delim_n = $ac_delim_num; then
4469 break
4470 elif $ac_last_try; then
4471 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
4472$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
4473 { (exit 1); exit 1; }; }
4474 else
4475 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4476 fi
4477done
4478rm -f conf$$subs.sh
4479
4480cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4481cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
4482_ACEOF
4483sed -n '
4484h
4485s/^/S["/; s/!.*/"]=/
4486p
4487g
4488s/^[^!]*!//
4489:repl
4490t repl
4491s/'"$ac_delim"'$//
4492t delim
4493:nl
4494h
4495s/\(.\{148\}\).*/\1/
4496t more1
4497s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4498p
4499n
4500b repl
4501:more1
4502s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4503p
4504g
4505s/.\{148\}//
4506t nl
4507:delim
4508h
4509s/\(.\{148\}\).*/\1/
4510t more2
4511s/["\\]/\\&/g; s/^/"/; s/$/"/
4512p
4513b
4514:more2
4515s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4516p
4517g
4518s/.\{148\}//
4519t delim
4520' <conf$$subs.awk | sed '
4521/^[^""]/{
4522 N
4523 s/\n//
4524}
4525' >>$CONFIG_STATUS || ac_write_fail=1
4526rm -f conf$$subs.awk
4527cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4528_ACAWK
4529cat >>"\$tmp/subs1.awk" <<_ACAWK &&
4530 for (key in S) S_is_set[key] = 1
4531 FS = ""
4532
4533}
4534{
4535 line = $ 0
4536 nfields = split(line, field, "@")
4537 substed = 0
4538 len = length(field[1])
4539 for (i = 2; i < nfields; i++) {
4540 key = field[i]
4541 keylen = length(key)
4542 if (S_is_set[key]) {
4543 value = S[key]
4544 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4545 len += length(value) + length(field[++i])
4546 substed = 1
4547 } else
4548 len += 1 + keylen
4549 }
4550
4551 print line
4552}
4553
4554_ACAWK
4555_ACEOF
4556cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4557if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4558 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4559else
4560 cat
4561fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
4562 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
4563$as_echo "$as_me: error: could not setup config files machinery" >&2;}
4564 { (exit 1); exit 1; }; }
4565_ACEOF
4566
4567# VPATH may cause trouble with some makes, so we remove $(srcdir),
4568# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4569# trailing colons and then remove the whole line if VPATH becomes empty
4570# (actually we leave an empty line to preserve line numbers).
4571if test "x$srcdir" = x.; then
4572 ac_vpsub='/^[ ]*VPATH[ ]*=/{
4573s/:*\$(srcdir):*/:/
4574s/:*\${srcdir}:*/:/
4575s/:*@srcdir@:*/:/
4576s/^\([^=]*=[ ]*\):*/\1/
4577s/:*$//
4578s/^[^=]*=[ ]*$//
4579}'
4580fi
4581
4582cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4583fi # test -n "$CONFIG_FILES"
4584
4585
4586eval set X " :F $CONFIG_FILES "
4587shift
4588for ac_tag
4589do
4590 case $ac_tag in
4591 :[FHLC]) ac_mode=$ac_tag; continue;;
4592 esac
4593 case $ac_mode$ac_tag in
4594 :[FHL]*:*);;
4595 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
4596$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
4597 { (exit 1); exit 1; }; };;
4598 :[FH]-) ac_tag=-:-;;
4599 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4600 esac
4601 ac_save_IFS=$IFS
4602 IFS=:
4603 set x $ac_tag
4604 IFS=$ac_save_IFS
4605 shift
4606 ac_file=$1
4607 shift
4608
4609 case $ac_mode in
4610 :L) ac_source=$1;;
4611 :[FH])
4612 ac_file_inputs=
4613 for ac_f
4614 do
4615 case $ac_f in
4616 -) ac_f="$tmp/stdin";;
4617 *) # Look for the file first in the build tree, then in the source tree
4618 # (if the path is not absolute). The absolute path cannot be DOS-style,
4619 # because $ac_f cannot contain `:'.
4620 test -f "$ac_f" ||
4621 case $ac_f in
4622 [\\/$]*) false;;
4623 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4624 esac ||
4625 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
4626$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
4627 { (exit 1); exit 1; }; };;
4628 esac
4629 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4630 ac_file_inputs="$ac_file_inputs '$ac_f'"
4631 done
4632
4633 # Let's still pretend it is `configure' which instantiates (i.e., don't
4634 # use $as_me), people would be surprised to read:
4635 # /* config.h. Generated by config.status. */
4636 configure_input='Generated from '`
4637 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4638 `' by configure.'
4639 if test x"$ac_file" != x-; then
4640 configure_input="$ac_file. $configure_input"
4641 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
4642$as_echo "$as_me: creating $ac_file" >&6;}
4643 fi
4644 # Neutralize special characters interpreted by sed in replacement strings.
4645 case $configure_input in #(
4646 *\&* | *\|* | *\\* )
4647 ac_sed_conf_input=`$as_echo "$configure_input" |
4648 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4649 *) ac_sed_conf_input=$configure_input;;
4650 esac
4651
4652 case $ac_tag in
4653 *:-:* | *:-) cat >"$tmp/stdin" \
4654 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
4655$as_echo "$as_me: error: could not create $ac_file" >&2;}
4656 { (exit 1); exit 1; }; } ;;
4657 esac
4658 ;;
4659 esac
4660
4661 ac_dir=`$as_dirname -- "$ac_file" ||
4662$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4663 X"$ac_file" : 'X\(//\)[^/]' \| \
4664 X"$ac_file" : 'X\(//\)$' \| \
4665 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4666$as_echo X"$ac_file" |
4667 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4668 s//\1/
4669 q
4670 }
4671 /^X\(\/\/\)[^/].*/{
4672 s//\1/
4673 q
4674 }
4675 /^X\(\/\/\)$/{
4676 s//\1/
4677 q
4678 }
4679 /^X\(\/\).*/{
4680 s//\1/
4681 q
4682 }
4683 s/.*/./; q'`
4684 { as_dir="$ac_dir"
4685 case $as_dir in #(
4686 -*) as_dir=./$as_dir;;
4687 esac
4688 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
4689 as_dirs=
4690 while :; do
4691 case $as_dir in #(
4692 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4693 *) as_qdir=$as_dir;;
4694 esac
4695 as_dirs="'$as_qdir' $as_dirs"
4696 as_dir=`$as_dirname -- "$as_dir" ||
4697$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4698 X"$as_dir" : 'X\(//\)[^/]' \| \
4699 X"$as_dir" : 'X\(//\)$' \| \
4700 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4701$as_echo X"$as_dir" |
4702 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4703 s//\1/
4704 q
4705 }
4706 /^X\(\/\/\)[^/].*/{
4707 s//\1/
4708 q
4709 }
4710 /^X\(\/\/\)$/{
4711 s//\1/
4712 q
4713 }
4714 /^X\(\/\).*/{
4715 s//\1/
4716 q
4717 }
4718 s/.*/./; q'`
4719 test -d "$as_dir" && break
4720 done
4721 test -z "$as_dirs" || eval "mkdir $as_dirs"
4722 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
4723$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
4724 { (exit 1); exit 1; }; }; }
4725 ac_builddir=.
4726
4727case "$ac_dir" in
4728.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4729*)
4730 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4731 # A ".." for each directory in $ac_dir_suffix.
4732 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4733 case $ac_top_builddir_sub in
4734 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4735 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4736 esac ;;
4737esac
4738ac_abs_top_builddir=$ac_pwd
4739ac_abs_builddir=$ac_pwd$ac_dir_suffix
4740# for backward compatibility:
4741ac_top_builddir=$ac_top_build_prefix
4742
4743case $srcdir in
4744 .) # We are building in place.
4745 ac_srcdir=.
4746 ac_top_srcdir=$ac_top_builddir_sub
4747 ac_abs_top_srcdir=$ac_pwd ;;
4748 [\\/]* | ?:[\\/]* ) # Absolute name.
4749 ac_srcdir=$srcdir$ac_dir_suffix;
4750 ac_top_srcdir=$srcdir
4751 ac_abs_top_srcdir=$srcdir ;;
4752 *) # Relative name.
4753 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4754 ac_top_srcdir=$ac_top_build_prefix$srcdir
4755 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4756esac
4757ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4758
4759
4760 case $ac_mode in
4761 :F)
4762 #
4763 # CONFIG_FILE
4764 #
4765
4766 case $INSTALL in
4767 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4768 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
4769 esac
4770_ACEOF
4771
4772cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4773# If the template does not know about datarootdir, expand it.
4774# FIXME: This hack should be removed a few years after 2.60.
4775ac_datarootdir_hack=; ac_datarootdir_seen=
4776
4777ac_sed_dataroot='
4778/datarootdir/ {
4779 p
4780 q
4781}
4782/@datadir@/p
4783/@docdir@/p
4784/@infodir@/p
4785/@localedir@/p
4786/@mandir@/p
4787'
4788case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
4789*datarootdir*) ac_datarootdir_seen=yes;;
4790*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4791 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4792$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4793_ACEOF
4794cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4795 ac_datarootdir_hack='
4796 s&@datadir@&$datadir&g
4797 s&@docdir@&$docdir&g
4798 s&@infodir@&$infodir&g
4799 s&@localedir@&$localedir&g
4800 s&@mandir@&$mandir&g
4801 s&\\\${datarootdir}&$datarootdir&g' ;;
4802esac
4803_ACEOF
4804
4805# Neutralize VPATH when `$srcdir' = `.'.
4806# Shell code in configure.ac might set extrasub.
4807# FIXME: do we really want to maintain this feature?
4808cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4809ac_sed_extra="$ac_vpsub
4810$extrasub
4811_ACEOF
4812cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4813:t
4814/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4815s|@configure_input@|$ac_sed_conf_input|;t t
4816s&@top_builddir@&$ac_top_builddir_sub&;t t
4817s&@top_build_prefix@&$ac_top_build_prefix&;t t
4818s&@srcdir@&$ac_srcdir&;t t
4819s&@abs_srcdir@&$ac_abs_srcdir&;t t
4820s&@top_srcdir@&$ac_top_srcdir&;t t
4821s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4822s&@builddir@&$ac_builddir&;t t
4823s&@abs_builddir@&$ac_abs_builddir&;t t
4824s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4825s&@INSTALL@&$ac_INSTALL&;t t
4826$ac_datarootdir_hack
4827"
4828eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
4829 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
4830$as_echo "$as_me: error: could not create $ac_file" >&2;}
4831 { (exit 1); exit 1; }; }
4832
4833test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4834 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
4835 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
4836 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4837which seems to be undefined. Please make sure it is defined." >&5
4838$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4839which seems to be undefined. Please make sure it is defined." >&2;}
4840
4841 rm -f "$tmp/stdin"
4842 case $ac_file in
4843 -) cat "$tmp/out" && rm -f "$tmp/out";;
4844 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
4845 esac \
4846 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
4847$as_echo "$as_me: error: could not create $ac_file" >&2;}
4848 { (exit 1); exit 1; }; }
4849 ;;
4850
4851
4852
4853 esac
4854
4855done # for ac_tag
4856
4857
4858{ (exit 0); exit 0; }
4859_ACEOF
4860chmod +x $CONFIG_STATUS
4861ac_clean_files=$ac_clean_files_save
4862
4863test $ac_write_fail = 0 ||
4864 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
4865$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
4866 { (exit 1); exit 1; }; }
4867
4868
4869# configure is writing to config.log, and then calls config.status.
4870# config.status does its own redirection, appending to config.log.
4871# Unfortunately, on DOS this fails, as config.log is still kept open
4872# by configure, so config.status won't be able to write to it; its
4873# output is simply discarded. So we exec the FD to /dev/null,
4874# effectively closing config.log, so it can be properly (re)opened and
4875# appended to by config.status. When coming back to configure, we
4876# need to make the FD available again.
4877if test "$no_create" != yes; then
4878 ac_cs_success=:
4879 ac_config_status_args=
4880 test "$silent" = yes &&
4881 ac_config_status_args="$ac_config_status_args --quiet"
4882 exec 5>/dev/null
4883 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4884 exec 5>>config.log
4885 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4886 # would make configure fail if this is the last instruction.
4887 $ac_cs_success || { (exit 1); exit 1; }
4888fi
4889if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
4890 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4891$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
4892fi
4893