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