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