]> sourceware.org Git - systemtap.git/blame - testsuite/configure
Support for presenting multiple graphs
[systemtap.git] / testsuite / configure
CommitLineData
5ba96b90
FCE
1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
e1774a7f 3# Generated by GNU Autoconf 2.63 for systemtap 0.9.8.
5ba96b90
FCE
4#
5# Report bugs to <systemtap@sources.redhat.com>.
6#
7fbd9d09 7# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
440f755a 8# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
5ba96b90
FCE
9# This configure script is free software; the Free Software Foundation
10# gives unlimited permission to copy, distribute and modify it.
11## --------------------- ##
12## M4sh Initialization. ##
13## --------------------- ##
14
7fbd9d09
FCE
15# Be more Bourne compatible
16DUALCASE=1; export DUALCASE # for MKS sh
5ba96b90
FCE
17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 emulate sh
19 NULLCMD=:
440f755a 20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5ba96b90
FCE
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
7fbd9d09
FCE
23 setopt NO_GLOB_SUBST
24else
25 case `(set -o) 2>/dev/null` in
26 *posix*) set -o posix ;;
27esac
28
29fi
30
31
32
33
34# PATH needs CR
35# Avoid depending upon Character Ranges.
36as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39as_cr_digits='0123456789'
40as_cr_alnum=$as_cr_Letters$as_cr_digits
41
440f755a
JS
42as_nl='
43'
44export as_nl
45# Printing a long string crashes Solaris 7 /usr/bin/printf.
46as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
47as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
48as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
49if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
d450a957 56 else
440f755a
JS
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 '
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
d450a957 69 fi
440f755a
JS
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
72fi
73
74# The user is always right.
75if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
80 }
5ba96b90 81fi
5ba96b90
FCE
82
83# Support unset when possible.
84if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
85 as_unset=unset
86else
87 as_unset=false
88fi
89
90
7fbd9d09
FCE
91# IFS
92# We need space, tab and new line, in precisely that order. Quoting is
93# there to prevent editors from complaining about space-tab.
94# (If _AS_PATH_WALK were called with IFS unset, it would disable word
95# splitting by setting IFS to empty value.)
7fbd9d09
FCE
96IFS=" "" $as_nl"
97
98# Find who we are. Look in the path if we contain no directory separator.
99case $0 in
100 *[\\/]* ) as_myself=$0 ;;
101 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
102for as_dir in $PATH
103do
104 IFS=$as_save_IFS
105 test -z "$as_dir" && as_dir=.
106 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107done
108IFS=$as_save_IFS
109
110 ;;
111esac
112# We did not find ourselves, most probably we were run as `sh COMMAND'
113# in which case we are not to be found in the path.
114if test "x$as_myself" = x; then
115 as_myself=$0
116fi
117if test ! -f "$as_myself"; then
440f755a 118 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7fbd9d09
FCE
119 { (exit 1); exit 1; }
120fi
121
5ba96b90 122# Work around bugs in pre-3.0 UWIN ksh.
7fbd9d09
FCE
123for as_var in ENV MAIL MAILPATH
124do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
125done
5ba96b90
FCE
126PS1='$ '
127PS2='> '
128PS4='+ '
129
130# NLS nuisances.
440f755a
JS
131LC_ALL=C
132export LC_ALL
133LANGUAGE=C
134export LANGUAGE
5ba96b90
FCE
135
136# Required to use basename.
7fbd9d09
FCE
137if expr a : '\(a\)' >/dev/null 2>&1 &&
138 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5ba96b90
FCE
139 as_expr=expr
140else
141 as_expr=false
142fi
143
7fbd9d09 144if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5ba96b90
FCE
145 as_basename=basename
146else
147 as_basename=false
148fi
149
150
151# Name of the executable.
7fbd9d09 152as_me=`$as_basename -- "$0" ||
5ba96b90
FCE
153$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
154 X"$0" : 'X\(//\)$' \| \
7fbd9d09 155 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
440f755a 156$as_echo X/"$0" |
7fbd9d09
FCE
157 sed '/^.*\/\([^/][^/]*\)\/*$/{
158 s//\1/
159 q
160 }
161 /^X\/\(\/\/\)$/{
162 s//\1/
163 q
164 }
165 /^X\/\(\/\).*/{
166 s//\1/
167 q
168 }
169 s/.*/./; q'`
5ba96b90 170
7fbd9d09
FCE
171# CDPATH.
172$as_unset CDPATH
5e0d2ebf 173
5e0d2ebf 174
7fbd9d09
FCE
175if test "x$CONFIG_SHELL" = x; then
176 if (eval ":") 2>/dev/null; then
177 as_have_required=yes
178else
179 as_have_required=no
5e0d2ebf
DS
180fi
181
440f755a 182 if test $as_have_required = yes && (eval ":
7fbd9d09
FCE
183(as_func_return () {
184 (exit \$1)
185}
186as_func_success () {
187 as_func_return 0
188}
189as_func_failure () {
190 as_func_return 1
191}
192as_func_ret_success () {
193 return 0
194}
195as_func_ret_failure () {
196 return 1
197}
5e0d2ebf 198
7fbd9d09
FCE
199exitcode=0
200if as_func_success; then
201 :
202else
203 exitcode=1
204 echo as_func_success failed.
205fi
5e0d2ebf 206
7fbd9d09
FCE
207if as_func_failure; then
208 exitcode=1
209 echo as_func_failure succeeded.
210fi
211
212if as_func_ret_success; then
213 :
214else
215 exitcode=1
216 echo as_func_ret_success failed.
217fi
218
219if as_func_ret_failure; then
220 exitcode=1
221 echo as_func_ret_failure succeeded.
222fi
223
224if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
225 :
226else
227 exitcode=1
228 echo positional parameters were not saved.
229fi
230
231test \$exitcode = 0) || { (exit 1); exit 1; }
232
233(
234 as_lineno_1=\$LINENO
235 as_lineno_2=\$LINENO
236 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
237 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
238") 2> /dev/null; then
239 :
240else
241 as_candidate_shells=
5ba96b90
FCE
242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
243for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
244do
245 IFS=$as_save_IFS
246 test -z "$as_dir" && as_dir=.
7fbd9d09 247 case $as_dir in
5ba96b90 248 /*)
7fbd9d09
FCE
249 for as_base in sh bash ksh sh5; do
250 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
251 done;;
252 esac
253done
254IFS=$as_save_IFS
255
256
257 for as_shell in $as_candidate_shells $SHELL; do
258 # Try only shells that exist, to save several forks.
259 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
260 { ("$as_shell") 2> /dev/null <<\_ASEOF
261if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262 emulate sh
263 NULLCMD=:
440f755a 264 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
7fbd9d09
FCE
265 # is contrary to our usage. Disable this feature.
266 alias -g '${1+"$@"}'='"$@"'
267 setopt NO_GLOB_SUBST
268else
269 case `(set -o) 2>/dev/null` in
270 *posix*) set -o posix ;;
271esac
272
273fi
274
275
276:
277_ASEOF
278}; then
279 CONFIG_SHELL=$as_shell
280 as_have_required=yes
281 if { "$as_shell" 2> /dev/null <<\_ASEOF
282if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
283 emulate sh
284 NULLCMD=:
440f755a 285 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
7fbd9d09
FCE
286 # is contrary to our usage. Disable this feature.
287 alias -g '${1+"$@"}'='"$@"'
288 setopt NO_GLOB_SUBST
289else
290 case `(set -o) 2>/dev/null` in
291 *posix*) set -o posix ;;
292esac
293
294fi
295
296
297:
298(as_func_return () {
299 (exit $1)
300}
301as_func_success () {
302 as_func_return 0
303}
304as_func_failure () {
305 as_func_return 1
306}
307as_func_ret_success () {
308 return 0
309}
310as_func_ret_failure () {
311 return 1
312}
313
314exitcode=0
315if as_func_success; then
316 :
317else
318 exitcode=1
319 echo as_func_success failed.
320fi
321
322if as_func_failure; then
323 exitcode=1
324 echo as_func_failure succeeded.
325fi
326
327if as_func_ret_success; then
328 :
329else
330 exitcode=1
331 echo as_func_ret_success failed.
332fi
333
334if as_func_ret_failure; then
335 exitcode=1
336 echo as_func_ret_failure succeeded.
337fi
338
339if ( set x; as_func_ret_success y && test x = "$1" ); then
340 :
341else
342 exitcode=1
343 echo positional parameters were not saved.
344fi
345
346test $exitcode = 0) || { (exit 1); exit 1; }
347
348(
5e0d2ebf
DS
349 as_lineno_1=$LINENO
350 as_lineno_2=$LINENO
351 test "x$as_lineno_1" != "x$as_lineno_2" &&
7fbd9d09
FCE
352 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
353
354_ASEOF
355}; then
356 break
357fi
358
359fi
360
361 done
362
363 if test "x$CONFIG_SHELL" != x; then
364 for as_var in BASH_ENV ENV
440f755a
JS
365 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
366 done
367 export CONFIG_SHELL
368 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
7fbd9d09
FCE
369fi
370
371
372 if test $as_have_required = no; then
373 echo This script requires a shell more modern than all the
374 echo shells that I found on your system. Please install a
375 echo modern shell, or manually run the script under such a
376 echo shell if you do have one.
377 { (exit 1); exit 1; }
378fi
379
380
381fi
382
383fi
384
385
386
387(eval "as_func_return () {
388 (exit \$1)
389}
390as_func_success () {
391 as_func_return 0
392}
393as_func_failure () {
394 as_func_return 1
395}
396as_func_ret_success () {
397 return 0
398}
399as_func_ret_failure () {
400 return 1
401}
402
403exitcode=0
404if as_func_success; then
405 :
406else
407 exitcode=1
408 echo as_func_success failed.
409fi
410
411if as_func_failure; then
412 exitcode=1
413 echo as_func_failure succeeded.
414fi
415
416if as_func_ret_success; then
417 :
418else
419 exitcode=1
420 echo as_func_ret_success failed.
421fi
422
423if as_func_ret_failure; then
424 exitcode=1
425 echo as_func_ret_failure succeeded.
426fi
427
428if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
429 :
430else
431 exitcode=1
432 echo positional parameters were not saved.
433fi
434
435test \$exitcode = 0") || {
436 echo No shell found that supports shell functions.
440f755a
JS
437 echo Please tell bug-autoconf@gnu.org about your system,
438 echo including any error possibly output before this message.
439 echo This can help us improve future autoconf versions.
440 echo Configuration will now proceed without shell functions.
7fbd9d09
FCE
441}
442
443
444
445 as_lineno_1=$LINENO
446 as_lineno_2=$LINENO
447 test "x$as_lineno_1" != "x$as_lineno_2" &&
448 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
5ba96b90
FCE
449
450 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
451 # uniformly replaced by the line number. The first 'sed' inserts a
7fbd9d09
FCE
452 # line-number line after each line using $LINENO; the second 'sed'
453 # does the real work. The second script uses 'N' to pair each
454 # line-number line with the line containing $LINENO, and appends
455 # trailing '-' during substitution so that $LINENO is not a special
456 # case at line end.
5ba96b90 457 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
7fbd9d09
FCE
458 # scripts with optimization help from Paolo Bonzini. Blame Lee
459 # E. McMahon (1931-1989) for sed's syntax. :-)
460 sed -n '
461 p
462 /[$]LINENO/=
463 ' <$as_myself |
5ba96b90 464 sed '
7fbd9d09
FCE
465 s/[$]LINENO.*/&-/
466 t lineno
467 b
468 :lineno
5ba96b90 469 N
7fbd9d09
FCE
470 :loop
471 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
5ba96b90 472 t loop
7fbd9d09 473 s/-\n.*//
5ba96b90 474 ' >$as_me.lineno &&
7fbd9d09 475 chmod +x "$as_me.lineno" ||
440f755a 476 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
5ba96b90
FCE
477 { (exit 1); exit 1; }; }
478
479 # Don't try to exec as it changes $[0], causing all sort of problems
480 # (the dirname of $[0] is not the place where we might find the
7fbd9d09
FCE
481 # original and so on. Autoconf is especially sensitive to this).
482 . "./$as_me.lineno"
5ba96b90
FCE
483 # Exit status is that of the last command.
484 exit
485}
486
487
7fbd9d09
FCE
488if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
489 as_dirname=dirname
490else
491 as_dirname=false
492fi
493
494ECHO_C= ECHO_N= ECHO_T=
495case `echo -n x` in
496-n*)
497 case `echo 'x\c'` in
498 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
499 *) ECHO_C='\c';;
500 esac;;
501*)
502 ECHO_N='-n';;
5ba96b90 503esac
7fbd9d09
FCE
504if expr a : '\(a\)' >/dev/null 2>&1 &&
505 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5ba96b90
FCE
506 as_expr=expr
507else
508 as_expr=false
509fi
510
511rm -f conf$$ conf$$.exe conf$$.file
7fbd9d09
FCE
512if test -d conf$$.dir; then
513 rm -f conf$$.dir/conf$$.file
514else
515 rm -f conf$$.dir
440f755a
JS
516 mkdir conf$$.dir 2>/dev/null
517fi
518if (echo >conf$$.file) 2>/dev/null; then
519 if ln -s conf$$.file conf$$ 2>/dev/null; then
520 as_ln_s='ln -s'
521 # ... but there are two gotchas:
522 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
523 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
524 # In both cases, we have to default to `cp -p'.
525 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
526 as_ln_s='cp -p'
527 elif ln conf$$.file conf$$ 2>/dev/null; then
528 as_ln_s=ln
529 else
5ba96b90 530 as_ln_s='cp -p'
440f755a 531 fi
5ba96b90
FCE
532else
533 as_ln_s='cp -p'
534fi
7fbd9d09
FCE
535rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
536rmdir conf$$.dir 2>/dev/null
5ba96b90
FCE
537
538if mkdir -p . 2>/dev/null; then
539 as_mkdir_p=:
540else
541 test -d ./-p && rmdir ./-p
542 as_mkdir_p=false
543fi
544
7fbd9d09
FCE
545if test -x / >/dev/null 2>&1; then
546 as_test_x='test -x'
547else
548 if ls -dL / >/dev/null 2>&1; then
549 as_ls_L_option=L
550 else
551 as_ls_L_option=
552 fi
553 as_test_x='
554 eval sh -c '\''
555 if test -d "$1"; then
440f755a 556 test -d "$1/.";
7fbd9d09
FCE
557 else
558 case $1 in
440f755a 559 -*)set "./$1";;
7fbd9d09
FCE
560 esac;
561 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
562 ???[sx]*):;;*)false;;esac;fi
563 '\'' sh
564 '
565fi
566as_executable_p=$as_test_x
5ba96b90
FCE
567
568# Sed expression to map a string onto a valid CPP name.
569as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
570
571# Sed expression to map a string onto a valid variable name.
572as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
573
574
5ba96b90 575
7fbd9d09 576exec 7<&0 </dev/null 6>&1
5ba96b90
FCE
577
578# Name of the host.
579# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
580# so uname gets run too.
581ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
582
5ba96b90
FCE
583#
584# Initializations.
585#
586ac_default_prefix=/usr/local
7fbd9d09 587ac_clean_files=
5ba96b90 588ac_config_libobj_dir=.
7fbd9d09 589LIBOBJS=
5ba96b90
FCE
590cross_compiling=no
591subdirs=
592MFLAGS=
593MAKEFLAGS=
594SHELL=${CONFIG_SHELL-/bin/sh}
595
5ba96b90
FCE
596# Identity of this package.
597PACKAGE_NAME='systemtap'
598PACKAGE_TARNAME='systemtap'
e1774a7f
JS
599PACKAGE_VERSION='0.9.8'
600PACKAGE_STRING='systemtap 0.9.8'
5ba96b90
FCE
601PACKAGE_BUGREPORT='systemtap@sources.redhat.com'
602
440f755a 603ac_subst_vars='LTLIBOBJS
d450a957 604LIBOBJS
440f755a
JS
605dejazilla
606MAINT
607MAINTAINER_MODE_FALSE
608MAINTAINER_MODE_TRUE
609am__untar
610am__tar
611AMTAR
612am__leading_dot
613SET_MAKE
614AWK
615mkdir_p
616MKDIR_P
617INSTALL_STRIP_PROGRAM
618STRIP
619install_sh
620MAKEINFO
621AUTOHEADER
622AUTOMAKE
623AUTOCONF
624ACLOCAL
625VERSION
626PACKAGE
627CYGPATH_W
628am__isrc
629INSTALL_DATA
630INSTALL_SCRIPT
631INSTALL_PROGRAM
632target_alias
633host_alias
634build_alias
635LIBS
636ECHO_T
637ECHO_N
638ECHO_C
639DEFS
640mandir
641localedir
642libdir
643psdir
644pdfdir
645dvidir
646htmldir
647infodir
648docdir
649oldincludedir
650includedir
651localstatedir
652sharedstatedir
653sysconfdir
654datadir
655datarootdir
656libexecdir
657sbindir
658bindir
659program_transform_name
660prefix
661exec_prefix
662PACKAGE_BUGREPORT
663PACKAGE_STRING
664PACKAGE_VERSION
665PACKAGE_TARNAME
666PACKAGE_NAME
667PATH_SEPARATOR
668SHELL'
5ba96b90 669ac_subst_files=''
440f755a
JS
670ac_user_opts='
671enable_option_checking
672enable_maintainer_mode
673enable_dejazilla
674'
7fbd9d09
FCE
675 ac_precious_vars='build_alias
676host_alias
677target_alias'
678
5ba96b90
FCE
679
680# Initialize some variables set by options.
681ac_init_help=
682ac_init_version=false
440f755a
JS
683ac_unrecognized_opts=
684ac_unrecognized_sep=
5ba96b90
FCE
685# The variables have the same names as the options, with
686# dashes changed to underlines.
687cache_file=/dev/null
688exec_prefix=NONE
689no_create=
690no_recursion=
691prefix=NONE
692program_prefix=NONE
693program_suffix=NONE
694program_transform_name=s,x,x,
695silent=
696site=
697srcdir=
698verbose=
699x_includes=NONE
700x_libraries=NONE
701
702# Installation directory options.
703# These are left unexpanded so users can "make install exec_prefix=/foo"
704# and all the variables that are supposed to be based on exec_prefix
705# by default will actually change.
706# Use braces instead of parens because sh, perl, etc. also accept them.
7fbd9d09 707# (The list follows the same order as the GNU Coding Standards.)
5ba96b90
FCE
708bindir='${exec_prefix}/bin'
709sbindir='${exec_prefix}/sbin'
710libexecdir='${exec_prefix}/libexec'
7fbd9d09
FCE
711datarootdir='${prefix}/share'
712datadir='${datarootdir}'
5ba96b90
FCE
713sysconfdir='${prefix}/etc'
714sharedstatedir='${prefix}/com'
715localstatedir='${prefix}/var'
5ba96b90
FCE
716includedir='${prefix}/include'
717oldincludedir='/usr/include'
7fbd9d09
FCE
718docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
719infodir='${datarootdir}/info'
720htmldir='${docdir}'
721dvidir='${docdir}'
722pdfdir='${docdir}'
723psdir='${docdir}'
724libdir='${exec_prefix}/lib'
725localedir='${datarootdir}/locale'
726mandir='${datarootdir}/man'
5ba96b90
FCE
727
728ac_prev=
7fbd9d09 729ac_dashdash=
5ba96b90
FCE
730for ac_option
731do
732 # If the previous option needs an argument, assign it.
733 if test -n "$ac_prev"; then
7fbd9d09 734 eval $ac_prev=\$ac_option
5ba96b90
FCE
735 ac_prev=
736 continue
737 fi
738
7fbd9d09
FCE
739 case $ac_option in
740 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
741 *) ac_optarg=yes ;;
742 esac
5ba96b90
FCE
743
744 # Accept the important Cygnus configure options, so we can diagnose typos.
745
7fbd9d09
FCE
746 case $ac_dashdash$ac_option in
747 --)
748 ac_dashdash=yes ;;
5ba96b90
FCE
749
750 -bindir | --bindir | --bindi | --bind | --bin | --bi)
751 ac_prev=bindir ;;
752 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
753 bindir=$ac_optarg ;;
754
755 -build | --build | --buil | --bui | --bu)
756 ac_prev=build_alias ;;
757 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
758 build_alias=$ac_optarg ;;
759
760 -cache-file | --cache-file | --cache-fil | --cache-fi \
761 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
762 ac_prev=cache_file ;;
763 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
764 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
765 cache_file=$ac_optarg ;;
766
767 --config-cache | -C)
768 cache_file=config.cache ;;
769
7fbd9d09 770 -datadir | --datadir | --datadi | --datad)
5ba96b90 771 ac_prev=datadir ;;
7fbd9d09 772 -datadir=* | --datadir=* | --datadi=* | --datad=*)
5ba96b90
FCE
773 datadir=$ac_optarg ;;
774
7fbd9d09
FCE
775 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
776 | --dataroo | --dataro | --datar)
777 ac_prev=datarootdir ;;
778 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
779 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
780 datarootdir=$ac_optarg ;;
781
5ba96b90 782 -disable-* | --disable-*)
440f755a 783 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
5ba96b90 784 # Reject names that are not valid shell variable names.
440f755a
JS
785 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
786 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
5ba96b90 787 { (exit 1); exit 1; }; }
440f755a
JS
788 ac_useropt_orig=$ac_useropt
789 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
790 case $ac_user_opts in
791 *"
792"enable_$ac_useropt"
793"*) ;;
794 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
795 ac_unrecognized_sep=', ';;
796 esac
797 eval enable_$ac_useropt=no ;;
7fbd9d09
FCE
798
799 -docdir | --docdir | --docdi | --doc | --do)
800 ac_prev=docdir ;;
801 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
802 docdir=$ac_optarg ;;
803
804 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
805 ac_prev=dvidir ;;
806 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
807 dvidir=$ac_optarg ;;
5ba96b90
FCE
808
809 -enable-* | --enable-*)
440f755a 810 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
5ba96b90 811 # Reject names that are not valid shell variable names.
440f755a
JS
812 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
813 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
5ba96b90 814 { (exit 1); exit 1; }; }
440f755a
JS
815 ac_useropt_orig=$ac_useropt
816 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
817 case $ac_user_opts in
818 *"
819"enable_$ac_useropt"
820"*) ;;
821 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
822 ac_unrecognized_sep=', ';;
823 esac
824 eval enable_$ac_useropt=\$ac_optarg ;;
5ba96b90
FCE
825
826 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
827 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
828 | --exec | --exe | --ex)
829 ac_prev=exec_prefix ;;
830 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
831 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
832 | --exec=* | --exe=* | --ex=*)
833 exec_prefix=$ac_optarg ;;
834
835 -gas | --gas | --ga | --g)
836 # Obsolete; use --with-gas.
837 with_gas=yes ;;
838
839 -help | --help | --hel | --he | -h)
840 ac_init_help=long ;;
841 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
842 ac_init_help=recursive ;;
843 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
844 ac_init_help=short ;;
845
846 -host | --host | --hos | --ho)
847 ac_prev=host_alias ;;
848 -host=* | --host=* | --hos=* | --ho=*)
849 host_alias=$ac_optarg ;;
850
7fbd9d09
FCE
851 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
852 ac_prev=htmldir ;;
853 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
854 | --ht=*)
855 htmldir=$ac_optarg ;;
856
5ba96b90
FCE
857 -includedir | --includedir | --includedi | --included | --include \
858 | --includ | --inclu | --incl | --inc)
859 ac_prev=includedir ;;
860 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
861 | --includ=* | --inclu=* | --incl=* | --inc=*)
862 includedir=$ac_optarg ;;
863
864 -infodir | --infodir | --infodi | --infod | --info | --inf)
865 ac_prev=infodir ;;
866 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
867 infodir=$ac_optarg ;;
868
869 -libdir | --libdir | --libdi | --libd)
870 ac_prev=libdir ;;
871 -libdir=* | --libdir=* | --libdi=* | --libd=*)
872 libdir=$ac_optarg ;;
873
874 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
875 | --libexe | --libex | --libe)
876 ac_prev=libexecdir ;;
877 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
878 | --libexe=* | --libex=* | --libe=*)
879 libexecdir=$ac_optarg ;;
880
7fbd9d09
FCE
881 -localedir | --localedir | --localedi | --localed | --locale)
882 ac_prev=localedir ;;
883 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
884 localedir=$ac_optarg ;;
885
5ba96b90 886 -localstatedir | --localstatedir | --localstatedi | --localstated \
7fbd9d09 887 | --localstate | --localstat | --localsta | --localst | --locals)
5ba96b90
FCE
888 ac_prev=localstatedir ;;
889 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
7fbd9d09 890 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
5ba96b90
FCE
891 localstatedir=$ac_optarg ;;
892
893 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
894 ac_prev=mandir ;;
895 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
896 mandir=$ac_optarg ;;
897
898 -nfp | --nfp | --nf)
899 # Obsolete; use --without-fp.
900 with_fp=no ;;
901
902 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
903 | --no-cr | --no-c | -n)
904 no_create=yes ;;
905
906 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
907 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
908 no_recursion=yes ;;
909
910 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
911 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
912 | --oldin | --oldi | --old | --ol | --o)
913 ac_prev=oldincludedir ;;
914 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
915 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
916 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
917 oldincludedir=$ac_optarg ;;
918
919 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
920 ac_prev=prefix ;;
921 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
922 prefix=$ac_optarg ;;
923
924 -program-prefix | --program-prefix | --program-prefi | --program-pref \
925 | --program-pre | --program-pr | --program-p)
926 ac_prev=program_prefix ;;
927 -program-prefix=* | --program-prefix=* | --program-prefi=* \
928 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
929 program_prefix=$ac_optarg ;;
930
931 -program-suffix | --program-suffix | --program-suffi | --program-suff \
932 | --program-suf | --program-su | --program-s)
933 ac_prev=program_suffix ;;
934 -program-suffix=* | --program-suffix=* | --program-suffi=* \
935 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
936 program_suffix=$ac_optarg ;;
937
938 -program-transform-name | --program-transform-name \
939 | --program-transform-nam | --program-transform-na \
940 | --program-transform-n | --program-transform- \
941 | --program-transform | --program-transfor \
942 | --program-transfo | --program-transf \
943 | --program-trans | --program-tran \
944 | --progr-tra | --program-tr | --program-t)
945 ac_prev=program_transform_name ;;
946 -program-transform-name=* | --program-transform-name=* \
947 | --program-transform-nam=* | --program-transform-na=* \
948 | --program-transform-n=* | --program-transform-=* \
949 | --program-transform=* | --program-transfor=* \
950 | --program-transfo=* | --program-transf=* \
951 | --program-trans=* | --program-tran=* \
952 | --progr-tra=* | --program-tr=* | --program-t=*)
953 program_transform_name=$ac_optarg ;;
954
7fbd9d09
FCE
955 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
956 ac_prev=pdfdir ;;
957 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
958 pdfdir=$ac_optarg ;;
959
960 -psdir | --psdir | --psdi | --psd | --ps)
961 ac_prev=psdir ;;
962 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
963 psdir=$ac_optarg ;;
964
5ba96b90
FCE
965 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
966 | -silent | --silent | --silen | --sile | --sil)
967 silent=yes ;;
968
969 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
970 ac_prev=sbindir ;;
971 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
972 | --sbi=* | --sb=*)
973 sbindir=$ac_optarg ;;
974
975 -sharedstatedir | --sharedstatedir | --sharedstatedi \
976 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
977 | --sharedst | --shareds | --shared | --share | --shar \
978 | --sha | --sh)
979 ac_prev=sharedstatedir ;;
980 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
981 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
982 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
983 | --sha=* | --sh=*)
984 sharedstatedir=$ac_optarg ;;
985
986 -site | --site | --sit)
987 ac_prev=site ;;
988 -site=* | --site=* | --sit=*)
989 site=$ac_optarg ;;
990
991 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
992 ac_prev=srcdir ;;
993 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
994 srcdir=$ac_optarg ;;
995
996 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
997 | --syscon | --sysco | --sysc | --sys | --sy)
998 ac_prev=sysconfdir ;;
999 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1000 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1001 sysconfdir=$ac_optarg ;;
1002
1003 -target | --target | --targe | --targ | --tar | --ta | --t)
1004 ac_prev=target_alias ;;
1005 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1006 target_alias=$ac_optarg ;;
1007
1008 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1009 verbose=yes ;;
1010
1011 -version | --version | --versio | --versi | --vers | -V)
1012 ac_init_version=: ;;
1013
1014 -with-* | --with-*)
440f755a 1015 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
5ba96b90 1016 # Reject names that are not valid shell variable names.
440f755a
JS
1017 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1018 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
5ba96b90 1019 { (exit 1); exit 1; }; }
440f755a
JS
1020 ac_useropt_orig=$ac_useropt
1021 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1022 case $ac_user_opts in
1023 *"
1024"with_$ac_useropt"
1025"*) ;;
1026 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1027 ac_unrecognized_sep=', ';;
1028 esac
1029 eval with_$ac_useropt=\$ac_optarg ;;
5ba96b90
FCE
1030
1031 -without-* | --without-*)
440f755a 1032 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
5ba96b90 1033 # Reject names that are not valid shell variable names.
440f755a
JS
1034 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1035 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
5ba96b90 1036 { (exit 1); exit 1; }; }
440f755a
JS
1037 ac_useropt_orig=$ac_useropt
1038 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1039 case $ac_user_opts in
1040 *"
1041"with_$ac_useropt"
1042"*) ;;
1043 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1044 ac_unrecognized_sep=', ';;
1045 esac
1046 eval with_$ac_useropt=no ;;
5ba96b90
FCE
1047
1048 --x)
1049 # Obsolete; use --with-x.
1050 with_x=yes ;;
1051
1052 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1053 | --x-incl | --x-inc | --x-in | --x-i)
1054 ac_prev=x_includes ;;
1055 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1056 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1057 x_includes=$ac_optarg ;;
1058
1059 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1060 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1061 ac_prev=x_libraries ;;
1062 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1063 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1064 x_libraries=$ac_optarg ;;
1065
440f755a 1066 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
5ba96b90
FCE
1067Try \`$0 --help' for more information." >&2
1068 { (exit 1); exit 1; }; }
1069 ;;
1070
1071 *=*)
1072 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1073 # Reject names that are not valid shell variable names.
1074 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
440f755a 1075 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
5ba96b90 1076 { (exit 1); exit 1; }; }
7fbd9d09 1077 eval $ac_envvar=\$ac_optarg
5ba96b90
FCE
1078 export $ac_envvar ;;
1079
1080 *)
1081 # FIXME: should be removed in autoconf 3.0.
440f755a 1082 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
5ba96b90 1083 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
440f755a 1084 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
5ba96b90
FCE
1085 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1086 ;;
1087
1088 esac
1089done
1090
1091if test -n "$ac_prev"; then
1092 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
440f755a 1093 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
5ba96b90
FCE
1094 { (exit 1); exit 1; }; }
1095fi
1096
440f755a
JS
1097if test -n "$ac_unrecognized_opts"; then
1098 case $enable_option_checking in
1099 no) ;;
1100 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1101 { (exit 1); exit 1; }; } ;;
1102 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1103 esac
1104fi
1105
1106# Check all directory arguments for consistency.
7fbd9d09
FCE
1107for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1108 datadir sysconfdir sharedstatedir localstatedir includedir \
1109 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1110 libdir localedir mandir
818ba2bc 1111do
7fbd9d09 1112 eval ac_val=\$$ac_var
440f755a
JS
1113 # Remove trailing slashes.
1114 case $ac_val in
1115 */ )
1116 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1117 eval $ac_var=\$ac_val;;
1118 esac
1119 # Be sure to have absolute directory names.
5ba96b90 1120 case $ac_val in
7fbd9d09
FCE
1121 [\\/$]* | ?:[\\/]* ) continue;;
1122 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
5ba96b90 1123 esac
440f755a 1124 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
7fbd9d09 1125 { (exit 1); exit 1; }; }
5ba96b90
FCE
1126done
1127
1128# There might be people who depend on the old broken behavior: `$host'
1129# used to hold the argument of --host etc.
1130# FIXME: To remove some day.
1131build=$build_alias
1132host=$host_alias
1133target=$target_alias
1134
1135# FIXME: To remove some day.
1136if test "x$host_alias" != x; then
1137 if test "x$build_alias" = x; then
1138 cross_compiling=maybe
440f755a 1139 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
5ba96b90
FCE
1140 If a cross compiler is detected then cross compile mode will be used." >&2
1141 elif test "x$build_alias" != "x$host_alias"; then
1142 cross_compiling=yes
1143 fi
1144fi
1145
1146ac_tool_prefix=
1147test -n "$host_alias" && ac_tool_prefix=$host_alias-
1148
1149test "$silent" = yes && exec 6>/dev/null
1150
1151
7fbd9d09
FCE
1152ac_pwd=`pwd` && test -n "$ac_pwd" &&
1153ac_ls_di=`ls -di .` &&
1154ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
440f755a 1155 { $as_echo "$as_me: error: working directory cannot be determined" >&2
7fbd9d09
FCE
1156 { (exit 1); exit 1; }; }
1157test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
440f755a 1158 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
7fbd9d09
FCE
1159 { (exit 1); exit 1; }; }
1160
1161
5ba96b90
FCE
1162# Find the source files, if location was not specified.
1163if test -z "$srcdir"; then
1164 ac_srcdir_defaulted=yes
7fbd9d09 1165 # Try the directory containing this script, then the parent directory.
440f755a
JS
1166 ac_confdir=`$as_dirname -- "$as_myself" ||
1167$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1168 X"$as_myself" : 'X\(//\)[^/]' \| \
1169 X"$as_myself" : 'X\(//\)$' \| \
1170 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1171$as_echo X"$as_myself" |
7fbd9d09
FCE
1172 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1173 s//\1/
1174 q
1175 }
1176 /^X\(\/\/\)[^/].*/{
1177 s//\1/
1178 q
1179 }
1180 /^X\(\/\/\)$/{
1181 s//\1/
1182 q
1183 }
1184 /^X\(\/\).*/{
1185 s//\1/
1186 q
1187 }
1188 s/.*/./; q'`
5ba96b90 1189 srcdir=$ac_confdir
7fbd9d09 1190 if test ! -r "$srcdir/$ac_unique_file"; then
5ba96b90
FCE
1191 srcdir=..
1192 fi
1193else
1194 ac_srcdir_defaulted=no
1195fi
7fbd9d09
FCE
1196if test ! -r "$srcdir/$ac_unique_file"; then
1197 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
440f755a 1198 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
5ba96b90 1199 { (exit 1); exit 1; }; }
5ba96b90 1200fi
7fbd9d09
FCE
1201ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1202ac_abs_confdir=`(
440f755a 1203 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
5ba96b90 1204 { (exit 1); exit 1; }; }
7fbd9d09
FCE
1205 pwd)`
1206# When building in place, set srcdir=.
1207if test "$ac_abs_confdir" = "$ac_pwd"; then
1208 srcdir=.
1209fi
1210# Remove unnecessary trailing slashes from srcdir.
1211# Double slashes in file names in object file debugging info
1212# mess up M-x gdb in Emacs.
1213case $srcdir in
1214*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1215esac
1216for ac_var in $ac_precious_vars; do
1217 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1218 eval ac_env_${ac_var}_value=\$${ac_var}
1219 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1220 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1221done
5ba96b90
FCE
1222
1223#
1224# Report the --help message.
1225#
1226if test "$ac_init_help" = "long"; then
1227 # Omit some internal or obsolete options to make the list less imposing.
1228 # This message is too long to be a string in the A/UX 3.1 sh.
1229 cat <<_ACEOF
e1774a7f 1230\`configure' configures systemtap 0.9.8 to adapt to many kinds of systems.
5ba96b90
FCE
1231
1232Usage: $0 [OPTION]... [VAR=VALUE]...
1233
1234To assign environment variables (e.g., CC, CFLAGS...), specify them as
1235VAR=VALUE. See below for descriptions of some of the useful variables.
1236
1237Defaults for the options are specified in brackets.
1238
1239Configuration:
1240 -h, --help display this help and exit
1241 --help=short display options specific to this package
1242 --help=recursive display the short help of all the included packages
1243 -V, --version display version information and exit
1244 -q, --quiet, --silent do not print \`checking...' messages
1245 --cache-file=FILE cache test results in FILE [disabled]
1246 -C, --config-cache alias for \`--cache-file=config.cache'
1247 -n, --no-create do not create output files
1248 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1249
5ba96b90
FCE
1250Installation directories:
1251 --prefix=PREFIX install architecture-independent files in PREFIX
440f755a 1252 [$ac_default_prefix]
5ba96b90 1253 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
440f755a 1254 [PREFIX]
5ba96b90
FCE
1255
1256By default, \`make install' will install all the files in
1257\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1258an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1259for instance \`--prefix=\$HOME'.
1260
1261For better control, use the options below.
1262
1263Fine tuning of the installation directories:
440f755a
JS
1264 --bindir=DIR user executables [EPREFIX/bin]
1265 --sbindir=DIR system admin executables [EPREFIX/sbin]
1266 --libexecdir=DIR program executables [EPREFIX/libexec]
1267 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1268 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1269 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1270 --libdir=DIR object code libraries [EPREFIX/lib]
1271 --includedir=DIR C header files [PREFIX/include]
1272 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1273 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1274 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1275 --infodir=DIR info documentation [DATAROOTDIR/info]
1276 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1277 --mandir=DIR man documentation [DATAROOTDIR/man]
1278 --docdir=DIR documentation root [DATAROOTDIR/doc/systemtap]
1279 --htmldir=DIR html documentation [DOCDIR]
1280 --dvidir=DIR dvi documentation [DOCDIR]
1281 --pdfdir=DIR pdf documentation [DOCDIR]
1282 --psdir=DIR ps documentation [DOCDIR]
5ba96b90
FCE
1283_ACEOF
1284
1285 cat <<\_ACEOF
1286
1287Program names:
1288 --program-prefix=PREFIX prepend PREFIX to installed program names
1289 --program-suffix=SUFFIX append SUFFIX to installed program names
1290 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1291_ACEOF
1292fi
1293
1294if test -n "$ac_init_help"; then
1295 case $ac_init_help in
e1774a7f 1296 short | recursive ) echo "Configuration of systemtap 0.9.8:";;
5ba96b90
FCE
1297 esac
1298 cat <<\_ACEOF
1299
1300Optional Features:
440f755a 1301 --disable-option-checking ignore unrecognized --enable/--with options
5ba96b90
FCE
1302 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1303 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1304 --enable-maintainer-mode enable make rules and dependencies not useful
1305 (and sometimes confusing) to the casual installer
50d0c992
FCE
1306 --enable-dejazilla[=EMAIL]
1307 enable dejazilla support to automatically email test
1308 results to a central public collection point
1309 (default is disabled). Optional EMAIL overrides the
1310 default email address.
5ba96b90
FCE
1311
1312Report bugs to <systemtap@sources.redhat.com>.
1313_ACEOF
7fbd9d09 1314ac_status=$?
5ba96b90
FCE
1315fi
1316
1317if test "$ac_init_help" = "recursive"; then
1318 # If there are subdirs, report their specific --help.
5ba96b90 1319 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
440f755a
JS
1320 test -d "$ac_dir" ||
1321 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1322 continue
5ba96b90
FCE
1323 ac_builddir=.
1324
7fbd9d09
FCE
1325case "$ac_dir" in
1326.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1327*)
440f755a 1328 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
7fbd9d09 1329 # A ".." for each directory in $ac_dir_suffix.
440f755a 1330 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
7fbd9d09
FCE
1331 case $ac_top_builddir_sub in
1332 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1333 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1334 esac ;;
1335esac
1336ac_abs_top_builddir=$ac_pwd
1337ac_abs_builddir=$ac_pwd$ac_dir_suffix
1338# for backward compatibility:
1339ac_top_builddir=$ac_top_build_prefix
5ba96b90
FCE
1340
1341case $srcdir in
7fbd9d09 1342 .) # We are building in place.
5ba96b90 1343 ac_srcdir=.
7fbd9d09
FCE
1344 ac_top_srcdir=$ac_top_builddir_sub
1345 ac_abs_top_srcdir=$ac_pwd ;;
1346 [\\/]* | ?:[\\/]* ) # Absolute name.
5ba96b90 1347 ac_srcdir=$srcdir$ac_dir_suffix;
7fbd9d09
FCE
1348 ac_top_srcdir=$srcdir
1349 ac_abs_top_srcdir=$srcdir ;;
1350 *) # Relative name.
1351 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1352 ac_top_srcdir=$ac_top_build_prefix$srcdir
1353 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5ba96b90 1354esac
7fbd9d09
FCE
1355ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1356
1357 cd "$ac_dir" || { ac_status=$?; continue; }
1358 # Check for guested configure.
1359 if test -f "$ac_srcdir/configure.gnu"; then
1360 echo &&
1361 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1362 elif test -f "$ac_srcdir/configure"; then
1363 echo &&
1364 $SHELL "$ac_srcdir/configure" --help=recursive
818ba2bc 1365 else
440f755a 1366 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
7fbd9d09
FCE
1367 fi || ac_status=$?
1368 cd "$ac_pwd" || { ac_status=$?; break; }
818ba2bc
MW
1369 done
1370fi
1371
7fbd9d09 1372test -n "$ac_init_help" && exit $ac_status
5ba96b90
FCE
1373if $ac_init_version; then
1374 cat <<\_ACEOF
e1774a7f 1375systemtap configure 0.9.8
440f755a 1376generated by GNU Autoconf 2.63
5ba96b90 1377
7fbd9d09 1378Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
440f755a 13792002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
5ba96b90
FCE
1380This configure script is free software; the Free Software Foundation
1381gives unlimited permission to copy, distribute and modify it.
1382_ACEOF
7fbd9d09 1383 exit
5ba96b90 1384fi
7fbd9d09 1385cat >config.log <<_ACEOF
5ba96b90
FCE
1386This file contains any messages produced by compilers while
1387running configure, to aid debugging if configure makes a mistake.
1388
e1774a7f 1389It was created by systemtap $as_me 0.9.8, which was
440f755a 1390generated by GNU Autoconf 2.63. Invocation command line was
5ba96b90
FCE
1391
1392 $ $0 $@
1393
1394_ACEOF
7fbd9d09 1395exec 5>>config.log
5ba96b90
FCE
1396{
1397cat <<_ASUNAME
1398## --------- ##
1399## Platform. ##
1400## --------- ##
1401
1402hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1403uname -m = `(uname -m) 2>/dev/null || echo unknown`
1404uname -r = `(uname -r) 2>/dev/null || echo unknown`
1405uname -s = `(uname -s) 2>/dev/null || echo unknown`
1406uname -v = `(uname -v) 2>/dev/null || echo unknown`
1407
1408/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1409/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1410
1411/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1412/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1413/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
7fbd9d09 1414/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
5ba96b90
FCE
1415/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1416/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1417/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1418
1419_ASUNAME
1420
1421as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1422for as_dir in $PATH
1423do
1424 IFS=$as_save_IFS
1425 test -z "$as_dir" && as_dir=.
440f755a 1426 $as_echo "PATH: $as_dir"
5ba96b90 1427done
7fbd9d09 1428IFS=$as_save_IFS
5ba96b90
FCE
1429
1430} >&5
1431
1432cat >&5 <<_ACEOF
1433
1434
1435## ----------- ##
1436## Core tests. ##
1437## ----------- ##
1438
1439_ACEOF
1440
1441
1442# Keep a trace of the command line.
1443# Strip out --no-create and --no-recursion so they do not pile up.
1444# Strip out --silent because we don't want to record it for future runs.
1445# Also quote any args containing shell meta-characters.
1446# Make two passes to allow for proper duplicate-argument suppression.
1447ac_configure_args=
1448ac_configure_args0=
1449ac_configure_args1=
5ba96b90
FCE
1450ac_must_keep_next=false
1451for ac_pass in 1 2
1452do
1453 for ac_arg
1454 do
1455 case $ac_arg in
1456 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1457 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1458 | -silent | --silent | --silen | --sile | --sil)
1459 continue ;;
7fbd9d09 1460 *\'*)
440f755a 1461 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
5ba96b90
FCE
1462 esac
1463 case $ac_pass in
1464 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1465 2)
1466 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1467 if test $ac_must_keep_next = true; then
1468 ac_must_keep_next=false # Got value, back to normal.
1469 else
1470 case $ac_arg in
1471 *=* | --config-cache | -C | -disable-* | --disable-* \
1472 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1473 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1474 | -with-* | --with-* | -without-* | --without-* | --x)
1475 case "$ac_configure_args0 " in
1476 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1477 esac
1478 ;;
1479 -* ) ac_must_keep_next=true ;;
1480 esac
1481 fi
7fbd9d09 1482 ac_configure_args="$ac_configure_args '$ac_arg'"
5ba96b90
FCE
1483 ;;
1484 esac
1485 done
1486done
1487$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1488$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1489
1490# When interrupted or exit'd, cleanup temporary files, and complete
1491# config.log. We remove comments because anyway the quotes in there
1492# would cause problems or look ugly.
7fbd9d09
FCE
1493# WARNING: Use '\'' to represent an apostrophe within the trap.
1494# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
5ba96b90
FCE
1495trap 'exit_status=$?
1496 # Save into config.log some information that might help in debugging.
1497 {
1498 echo
1499
1500 cat <<\_ASBOX
1501## ---------------- ##
1502## Cache variables. ##
1503## ---------------- ##
1504_ASBOX
1505 echo
1506 # The following way of writing the cache mishandles newlines in values,
7fbd9d09
FCE
1507(
1508 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1509 eval ac_val=\$$ac_var
1510 case $ac_val in #(
1511 *${as_nl}*)
1512 case $ac_var in #(
440f755a
JS
1513 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1514$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
7fbd9d09
FCE
1515 esac
1516 case $ac_var in #(
1517 _ | IFS | as_nl) ;; #(
440f755a 1518 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
7fbd9d09
FCE
1519 *) $as_unset $ac_var ;;
1520 esac ;;
1521 esac
1522 done
5ba96b90 1523 (set) 2>&1 |
7fbd9d09
FCE
1524 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1525 *${as_nl}ac_space=\ *)
5ba96b90 1526 sed -n \
7fbd9d09
FCE
1527 "s/'\''/'\''\\\\'\'''\''/g;
1528 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1529 ;; #(
5ba96b90 1530 *)
7fbd9d09 1531 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5ba96b90 1532 ;;
7fbd9d09
FCE
1533 esac |
1534 sort
1535)
5ba96b90
FCE
1536 echo
1537
1538 cat <<\_ASBOX
1539## ----------------- ##
1540## Output variables. ##
1541## ----------------- ##
1542_ASBOX
1543 echo
1544 for ac_var in $ac_subst_vars
1545 do
7fbd9d09
FCE
1546 eval ac_val=\$$ac_var
1547 case $ac_val in
440f755a 1548 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
7fbd9d09 1549 esac
440f755a 1550 $as_echo "$ac_var='\''$ac_val'\''"
5ba96b90
FCE
1551 done | sort
1552 echo
1553
1554 if test -n "$ac_subst_files"; then
1555 cat <<\_ASBOX
7fbd9d09
FCE
1556## ------------------- ##
1557## File substitutions. ##
1558## ------------------- ##
5ba96b90
FCE
1559_ASBOX
1560 echo
1561 for ac_var in $ac_subst_files
1562 do
7fbd9d09
FCE
1563 eval ac_val=\$$ac_var
1564 case $ac_val in
440f755a 1565 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
7fbd9d09 1566 esac
440f755a 1567 $as_echo "$ac_var='\''$ac_val'\''"
5ba96b90
FCE
1568 done | sort
1569 echo
1570 fi
1571
1572 if test -s confdefs.h; then
1573 cat <<\_ASBOX
1574## ----------- ##
1575## confdefs.h. ##
1576## ----------- ##
1577_ASBOX
1578 echo
7fbd9d09 1579 cat confdefs.h
5ba96b90
FCE
1580 echo
1581 fi
1582 test "$ac_signal" != 0 &&
440f755a
JS
1583 $as_echo "$as_me: caught signal $ac_signal"
1584 $as_echo "$as_me: exit $exit_status"
5ba96b90 1585 } >&5
7fbd9d09
FCE
1586 rm -f core *.core core.conftest.* &&
1587 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
5ba96b90 1588 exit $exit_status
7fbd9d09 1589' 0
5ba96b90
FCE
1590for ac_signal in 1 2 13 15; do
1591 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1592done
1593ac_signal=0
1594
1595# confdefs.h avoids OS command line length limits that DEFS can exceed.
7fbd9d09 1596rm -f -r conftest* confdefs.h
5ba96b90
FCE
1597
1598# Predefined preprocessor variables.
1599
1600cat >>confdefs.h <<_ACEOF
1601#define PACKAGE_NAME "$PACKAGE_NAME"
1602_ACEOF
1603
1604
1605cat >>confdefs.h <<_ACEOF
1606#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1607_ACEOF
1608
1609
1610cat >>confdefs.h <<_ACEOF
1611#define PACKAGE_VERSION "$PACKAGE_VERSION"
1612_ACEOF
1613
1614
1615cat >>confdefs.h <<_ACEOF
1616#define PACKAGE_STRING "$PACKAGE_STRING"
1617_ACEOF
1618
1619
1620cat >>confdefs.h <<_ACEOF
1621#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1622_ACEOF
1623
1624
1625# Let the site file select an alternate cache file if it wants to.
440f755a
JS
1626# Prefer an explicitly selected file to automatically selected ones.
1627ac_site_file1=NONE
1628ac_site_file2=NONE
7fbd9d09 1629if test -n "$CONFIG_SITE"; then
440f755a 1630 ac_site_file1=$CONFIG_SITE
7fbd9d09 1631elif test "x$prefix" != xNONE; then
440f755a
JS
1632 ac_site_file1=$prefix/share/config.site
1633 ac_site_file2=$prefix/etc/config.site
7fbd9d09 1634else
440f755a
JS
1635 ac_site_file1=$ac_default_prefix/share/config.site
1636 ac_site_file2=$ac_default_prefix/etc/config.site
5ba96b90 1637fi
440f755a 1638for ac_site_file in "$ac_site_file1" "$ac_site_file2"
7fbd9d09 1639do
440f755a 1640 test "x$ac_site_file" = xNONE && continue
5ba96b90 1641 if test -r "$ac_site_file"; then
440f755a
JS
1642 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1643$as_echo "$as_me: loading site script $ac_site_file" >&6;}
5ba96b90
FCE
1644 sed 's/^/| /' "$ac_site_file" >&5
1645 . "$ac_site_file"
1646 fi
1647done
1648
1649if test -r "$cache_file"; then
1650 # Some versions of bash will fail to source /dev/null (special
1651 # files actually), so we avoid doing that.
1652 if test -f "$cache_file"; then
440f755a
JS
1653 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1654$as_echo "$as_me: loading cache $cache_file" >&6;}
5ba96b90 1655 case $cache_file in
7fbd9d09
FCE
1656 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1657 *) . "./$cache_file";;
5ba96b90
FCE
1658 esac
1659 fi
1660else
440f755a
JS
1661 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1662$as_echo "$as_me: creating cache $cache_file" >&6;}
5ba96b90
FCE
1663 >$cache_file
1664fi
1665
1666# Check that the precious variables saved in the cache have kept the same
1667# value.
1668ac_cache_corrupted=false
7fbd9d09 1669for ac_var in $ac_precious_vars; do
5ba96b90
FCE
1670 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1671 eval ac_new_set=\$ac_env_${ac_var}_set
7fbd9d09
FCE
1672 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1673 eval ac_new_val=\$ac_env_${ac_var}_value
5ba96b90
FCE
1674 case $ac_old_set,$ac_new_set in
1675 set,)
440f755a
JS
1676 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1677$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
5ba96b90
FCE
1678 ac_cache_corrupted=: ;;
1679 ,set)
440f755a
JS
1680 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1681$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
5ba96b90
FCE
1682 ac_cache_corrupted=: ;;
1683 ,);;
1684 *)
1685 if test "x$ac_old_val" != "x$ac_new_val"; then
440f755a
JS
1686 # differences in whitespace do not lead to failure.
1687 ac_old_val_w=`echo x $ac_old_val`
1688 ac_new_val_w=`echo x $ac_new_val`
1689 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1690 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1691$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1692 ac_cache_corrupted=:
1693 else
1694 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1695$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1696 eval $ac_var=\$ac_old_val
1697 fi
1698 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1699$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1700 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1701$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
5ba96b90
FCE
1702 fi;;
1703 esac
1704 # Pass precious variables to config.status.
1705 if test "$ac_new_set" = set; then
1706 case $ac_new_val in
440f755a 1707 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
5ba96b90
FCE
1708 *) ac_arg=$ac_var=$ac_new_val ;;
1709 esac
1710 case " $ac_configure_args " in
1711 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1712 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1713 esac
1714 fi
1715done
1716if $ac_cache_corrupted; then
440f755a
JS
1717 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1718$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1719 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1720$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1721 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1722$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
5ba96b90
FCE
1723 { (exit 1); exit 1; }; }
1724fi
1725
5ba96b90
FCE
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
7fbd9d09
FCE
1750ac_ext=c
1751ac_cpp='$CPP $CPPFLAGS'
1752ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1753ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1754ac_compiler_gnu=$ac_cv_c_compiler_gnu
5ba96b90
FCE
1755
1756
1757
1758
1759ac_aux_dir=
7fbd9d09
FCE
1760for ac_dir in .. "$srcdir"/..; do
1761 if test -f "$ac_dir/install-sh"; then
5ba96b90
FCE
1762 ac_aux_dir=$ac_dir
1763 ac_install_sh="$ac_aux_dir/install-sh -c"
1764 break
7fbd9d09 1765 elif test -f "$ac_dir/install.sh"; then
5ba96b90
FCE
1766 ac_aux_dir=$ac_dir
1767 ac_install_sh="$ac_aux_dir/install.sh -c"
1768 break
7fbd9d09 1769 elif test -f "$ac_dir/shtool"; then
5ba96b90
FCE
1770 ac_aux_dir=$ac_dir
1771 ac_install_sh="$ac_aux_dir/shtool install -c"
1772 break
1773 fi
1774done
1775if test -z "$ac_aux_dir"; then
440f755a
JS
1776 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in .. \"$srcdir\"/.." >&5
1777$as_echo "$as_me: error: cannot find install-sh or install.sh in .. \"$srcdir\"/.." >&2;}
5ba96b90
FCE
1778 { (exit 1); exit 1; }; }
1779fi
5ba96b90 1780
7fbd9d09
FCE
1781# These three variables are undocumented and unsupported,
1782# and are intended to be withdrawn in a future Autoconf release.
1783# They can cause serious problems if a builder's source tree is in a directory
1784# whose full name contains unusual characters.
1785ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1786ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1787ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1788
1789
364ad890 1790am__api_version='1.11'
7fbd9d09 1791
5ba96b90
FCE
1792# Find a good install program. We prefer a C program (faster),
1793# so one script is as good as another. But avoid the broken or
1794# incompatible versions:
1795# SysV /etc/install, /usr/sbin/install
1796# SunOS /usr/etc/install
1797# IRIX /sbin/install
1798# AIX /bin/install
1799# AmigaOS /C/install, which installs bootblocks on floppy discs
1800# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1801# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1802# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1803# OS/2's system install, which has a completely different semantic
1804# ./install, which can be erroneously created by make from ./install.sh.
440f755a
JS
1805# Reject install programs that cannot install multiple files.
1806{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1807$as_echo_n "checking for a BSD-compatible install... " >&6; }
5ba96b90
FCE
1808if test -z "$INSTALL"; then
1809if test "${ac_cv_path_install+set}" = set; then
440f755a 1810 $as_echo_n "(cached) " >&6
5ba96b90
FCE
1811else
1812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1813for as_dir in $PATH
1814do
1815 IFS=$as_save_IFS
1816 test -z "$as_dir" && as_dir=.
1817 # Account for people who put trailing slashes in PATH elements.
1818case $as_dir/ in
1819 ./ | .// | /cC/* | \
1820 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1821 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1822 /usr/ucb/* ) ;;
1823 *)
1824 # OSF1 and SCO ODT 3.0 have their own names for install.
1825 # Don't use installbsd from OSF since it installs stuff as root
1826 # by default.
1827 for ac_prog in ginstall scoinst install; do
1828 for ac_exec_ext in '' $ac_executable_extensions; do
7fbd9d09 1829 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
5ba96b90
FCE
1830 if test $ac_prog = install &&
1831 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1832 # AIX install. It has an incompatible calling convention.
1833 :
1834 elif test $ac_prog = install &&
1835 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1836 # program-specific install script used by HP pwplus--don't use.
1837 :
1838 else
440f755a
JS
1839 rm -rf conftest.one conftest.two conftest.dir
1840 echo one > conftest.one
1841 echo two > conftest.two
1842 mkdir conftest.dir
1843 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1844 test -s conftest.one && test -s conftest.two &&
1845 test -s conftest.dir/conftest.one &&
1846 test -s conftest.dir/conftest.two
1847 then
1848 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1849 break 3
1850 fi
5ba96b90
FCE
1851 fi
1852 fi
1853 done
1854 done
1855 ;;
1856esac
440f755a 1857
5ba96b90 1858done
7fbd9d09 1859IFS=$as_save_IFS
5ba96b90 1860
440f755a 1861rm -rf conftest.one conftest.two conftest.dir
5ba96b90
FCE
1862
1863fi
1864 if test "${ac_cv_path_install+set}" = set; then
1865 INSTALL=$ac_cv_path_install
1866 else
7fbd9d09
FCE
1867 # As a last resort, use the slow shell script. Don't cache a
1868 # value for INSTALL within a source directory, because that will
5ba96b90 1869 # break other packages using the cache if that directory is
7fbd9d09 1870 # removed, or if the value is a relative name.
5ba96b90
FCE
1871 INSTALL=$ac_install_sh
1872 fi
1873fi
440f755a
JS
1874{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
1875$as_echo "$INSTALL" >&6; }
5ba96b90
FCE
1876
1877# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1878# It thinks the first close brace ends the variable substitution.
1879test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1880
1881test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1882
1883test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1884
440f755a
JS
1885{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1886$as_echo_n "checking whether build environment is sane... " >&6; }
5ba96b90
FCE
1887# Just in case
1888sleep 1
1889echo timestamp > conftest.file
364ad890
TM
1890# Reject unsafe characters in $srcdir or the absolute working directory
1891# name. Accept space and tab only in the latter.
1892am_lf='
1893'
1894case `pwd` in
1895 *[\\\"\#\$\&\'\`$am_lf]*)
1896 { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
1897$as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
1898 { (exit 1); exit 1; }; };;
1899esac
1900case $srcdir in
1901 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
1902 { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
1903$as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
1904 { (exit 1); exit 1; }; };;
1905esac
1906
5ba96b90
FCE
1907# Do `set' in a subshell so we don't clobber the current shell's
1908# arguments. Must try -L first in case configure is actually a
1909# symlink; some systems play weird games with the mod time of symlinks
1910# (eg FreeBSD returns the mod time of the symlink's containing
1911# directory).
1912if (
364ad890 1913 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
5ba96b90
FCE
1914 if test "$*" = "X"; then
1915 # -L didn't work.
364ad890 1916 set X `ls -t "$srcdir/configure" conftest.file`
5ba96b90
FCE
1917 fi
1918 rm -f conftest.file
1919 if test "$*" != "X $srcdir/configure conftest.file" \
1920 && test "$*" != "X conftest.file $srcdir/configure"; then
1921
1922 # If neither matched, then we have a broken ls. This can happen
1923 # if, for instance, CONFIG_SHELL is bash and it inherits a
1924 # broken ls alias from the environment. This has actually
1925 # happened. Such a system could not be considered "sane".
440f755a 1926 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
5ba96b90 1927alias in your environment" >&5
440f755a 1928$as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
5ba96b90
FCE
1929alias in your environment" >&2;}
1930 { (exit 1); exit 1; }; }
1931 fi
1932
1933 test "$2" = conftest.file
1934 )
1935then
1936 # Ok.
1937 :
1938else
440f755a 1939 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
5ba96b90 1940Check your system clock" >&5
440f755a 1941$as_echo "$as_me: error: newly created file is older than distributed files!
5ba96b90
FCE
1942Check your system clock" >&2;}
1943 { (exit 1); exit 1; }; }
1944fi
440f755a
JS
1945{ $as_echo "$as_me:$LINENO: result: yes" >&5
1946$as_echo "yes" >&6; }
5ba96b90 1947test "$program_prefix" != NONE &&
7fbd9d09 1948 program_transform_name="s&^&$program_prefix&;$program_transform_name"
5ba96b90
FCE
1949# Use a double $ so make ignores it.
1950test "$program_suffix" != NONE &&
7fbd9d09 1951 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
440f755a 1952# Double any \ or $.
5ba96b90 1953# By default was `s,x,x', remove it if useless.
440f755a
JS
1954ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
1955program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
5ba96b90
FCE
1956
1957# expand $ac_aux_dir to an absolute path
1958am_aux_dir=`cd $ac_aux_dir && pwd`
1959
364ad890
TM
1960if test x"${MISSING+set}" != xset; then
1961 case $am_aux_dir in
1962 *\ * | *\ *)
1963 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
1964 *)
1965 MISSING="\${SHELL} $am_aux_dir/missing" ;;
1966 esac
1967fi
5ba96b90
FCE
1968# Use eval to expand $SHELL
1969if eval "$MISSING --run true"; then
1970 am_missing_run="$MISSING --run "
1971else
1972 am_missing_run=
440f755a
JS
1973 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1974$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
818ba2bc
MW
1975fi
1976
364ad890
TM
1977if test x"${install_sh}" != xset; then
1978 case $am_aux_dir in
1979 *\ * | *\ *)
1980 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
1981 *)
1982 install_sh="\${SHELL} $am_aux_dir/install-sh"
1983 esac
1984fi
1985
1986# Installed binaries are usually stripped using `strip' when the user
1987# run `make install-strip'. However `strip' might not be the right
1988# tool to use in cross-compilation environments, therefore Automake
1989# will honor the `STRIP' environment variable to overrule this program.
1990if test "$cross_compiling" != no; then
1991 if test -n "$ac_tool_prefix"; then
1992 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1993set dummy ${ac_tool_prefix}strip; ac_word=$2
1994{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
1995$as_echo_n "checking for $ac_word... " >&6; }
1996if test "${ac_cv_prog_STRIP+set}" = set; then
1997 $as_echo_n "(cached) " >&6
1998else
1999 if test -n "$STRIP"; then
2000 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2001else
2002as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2003for as_dir in $PATH
2004do
2005 IFS=$as_save_IFS
2006 test -z "$as_dir" && as_dir=.
2007 for ac_exec_ext in '' $ac_executable_extensions; do
2008 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2009 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2010 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2011 break 2
2012 fi
2013done
2014done
2015IFS=$as_save_IFS
2016
2017fi
2018fi
2019STRIP=$ac_cv_prog_STRIP
2020if test -n "$STRIP"; then
2021 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2022$as_echo "$STRIP" >&6; }
2023else
2024 { $as_echo "$as_me:$LINENO: result: no" >&5
2025$as_echo "no" >&6; }
2026fi
2027
2028
2029fi
2030if test -z "$ac_cv_prog_STRIP"; then
2031 ac_ct_STRIP=$STRIP
2032 # Extract the first word of "strip", so it can be a program name with args.
2033set dummy strip; ac_word=$2
2034{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2035$as_echo_n "checking for $ac_word... " >&6; }
2036if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2037 $as_echo_n "(cached) " >&6
2038else
2039 if test -n "$ac_ct_STRIP"; then
2040 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2041else
2042as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2043for as_dir in $PATH
2044do
2045 IFS=$as_save_IFS
2046 test -z "$as_dir" && as_dir=.
2047 for ac_exec_ext in '' $ac_executable_extensions; do
2048 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2049 ac_cv_prog_ac_ct_STRIP="strip"
2050 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2051 break 2
2052 fi
2053done
2054done
2055IFS=$as_save_IFS
2056
2057fi
2058fi
2059ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2060if test -n "$ac_ct_STRIP"; then
2061 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2062$as_echo "$ac_ct_STRIP" >&6; }
2063else
2064 { $as_echo "$as_me:$LINENO: result: no" >&5
2065$as_echo "no" >&6; }
2066fi
2067
2068 if test "x$ac_ct_STRIP" = x; then
2069 STRIP=":"
2070 else
2071 case $cross_compiling:$ac_tool_warned in
2072yes:)
2073{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2074$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2075ac_tool_warned=yes ;;
2076esac
2077 STRIP=$ac_ct_STRIP
2078 fi
2079else
2080 STRIP="$ac_cv_prog_STRIP"
2081fi
2082
2083fi
2084INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2085
440f755a
JS
2086{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2087$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
7fbd9d09
FCE
2088if test -z "$MKDIR_P"; then
2089 if test "${ac_cv_path_mkdir+set}" = set; then
440f755a 2090 $as_echo_n "(cached) " >&6
5ba96b90 2091else
7fbd9d09
FCE
2092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2093for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2094do
2095 IFS=$as_save_IFS
2096 test -z "$as_dir" && as_dir=.
2097 for ac_prog in mkdir gmkdir; do
2098 for ac_exec_ext in '' $ac_executable_extensions; do
2099 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2100 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2101 'mkdir (GNU coreutils) '* | \
2102 'mkdir (coreutils) '* | \
2103 'mkdir (fileutils) '4.1*)
2104 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2105 break 3;;
2106 esac
2107 done
2108 done
2109done
2110IFS=$as_save_IFS
2111
2112fi
2113
2114 if test "${ac_cv_path_mkdir+set}" = set; then
2115 MKDIR_P="$ac_cv_path_mkdir -p"
5ba96b90 2116 else
7fbd9d09
FCE
2117 # As a last resort, use the slow shell script. Don't cache a
2118 # value for MKDIR_P within a source directory, because that will
2119 # break other packages using the cache if that directory is
2120 # removed, or if the value is a relative name.
2121 test -d ./--version && rmdir ./--version
2122 MKDIR_P="$ac_install_sh -d"
5ba96b90
FCE
2123 fi
2124fi
440f755a
JS
2125{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2126$as_echo "$MKDIR_P" >&6; }
7fbd9d09
FCE
2127
2128mkdir_p="$MKDIR_P"
2129case $mkdir_p in
2130 [\\/$]* | ?:[\\/]*) ;;
2131 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2132esac
5ba96b90
FCE
2133
2134for ac_prog in gawk mawk nawk awk
2135do
2136 # Extract the first word of "$ac_prog", so it can be a program name with args.
2137set dummy $ac_prog; ac_word=$2
440f755a
JS
2138{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2139$as_echo_n "checking for $ac_word... " >&6; }
5ba96b90 2140if test "${ac_cv_prog_AWK+set}" = set; then
440f755a 2141 $as_echo_n "(cached) " >&6
5ba96b90
FCE
2142else
2143 if test -n "$AWK"; then
2144 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2145else
2146as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2147for as_dir in $PATH
2148do
2149 IFS=$as_save_IFS
2150 test -z "$as_dir" && as_dir=.
2151 for ac_exec_ext in '' $ac_executable_extensions; do
7fbd9d09 2152 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5ba96b90 2153 ac_cv_prog_AWK="$ac_prog"
440f755a 2154 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5ba96b90
FCE
2155 break 2
2156 fi
2157done
2158done
7fbd9d09 2159IFS=$as_save_IFS
5ba96b90
FCE
2160
2161fi
2162fi
2163AWK=$ac_cv_prog_AWK
2164if test -n "$AWK"; then
440f755a
JS
2165 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2166$as_echo "$AWK" >&6; }
5ba96b90 2167else
440f755a
JS
2168 { $as_echo "$as_me:$LINENO: result: no" >&5
2169$as_echo "no" >&6; }
5ba96b90
FCE
2170fi
2171
7fbd9d09 2172
5ba96b90
FCE
2173 test -n "$AWK" && break
2174done
2175
440f755a
JS
2176{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2177$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2178set x ${MAKE-make}
2179ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
7fbd9d09 2180if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
440f755a 2181 $as_echo_n "(cached) " >&6
5ba96b90
FCE
2182else
2183 cat >conftest.make <<\_ACEOF
7fbd9d09 2184SHELL = /bin/sh
5ba96b90 2185all:
7fbd9d09 2186 @echo '@@@%%%=$(MAKE)=@@@%%%'
5ba96b90
FCE
2187_ACEOF
2188# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
7fbd9d09
FCE
2189case `${MAKE-make} -f conftest.make 2>/dev/null` in
2190 *@@@%%%=?*=@@@%%%*)
2191 eval ac_cv_prog_make_${ac_make}_set=yes;;
2192 *)
2193 eval ac_cv_prog_make_${ac_make}_set=no;;
2194esac
5ba96b90
FCE
2195rm -f conftest.make
2196fi
7fbd9d09 2197if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
440f755a
JS
2198 { $as_echo "$as_me:$LINENO: result: yes" >&5
2199$as_echo "yes" >&6; }
5ba96b90
FCE
2200 SET_MAKE=
2201else
440f755a
JS
2202 { $as_echo "$as_me:$LINENO: result: no" >&5
2203$as_echo "no" >&6; }
5ba96b90
FCE
2204 SET_MAKE="MAKE=${MAKE-make}"
2205fi
2206
2207rm -rf .tst 2>/dev/null
2208mkdir .tst 2>/dev/null
2209if test -d .tst; then
2210 am__leading_dot=.
2211else
2212 am__leading_dot=_
2213fi
2214rmdir .tst 2>/dev/null
2215
7fbd9d09
FCE
2216if test "`cd $srcdir && pwd`" != "`pwd`"; then
2217 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2218 # is not polluted with repeated "-I."
2219 am__isrc=' -I$(srcdir)'
2220 # test to see if srcdir already configured
2221 if test -f $srcdir/config.status; then
440f755a
JS
2222 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2223$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
5ba96b90 2224 { (exit 1); exit 1; }; }
7fbd9d09 2225 fi
5ba96b90
FCE
2226fi
2227
2228# test whether we have cygpath
2229if test -z "$CYGPATH_W"; then
2230 if (cygpath --version) >/dev/null 2>/dev/null; then
2231 CYGPATH_W='cygpath -w'
2232 else
2233 CYGPATH_W=echo
2234 fi
2235fi
2236
2237
2238# Define the identity of the package.
2239 PACKAGE='systemtap'
e1774a7f 2240 VERSION='0.9.8'
5ba96b90
FCE
2241
2242
2243cat >>confdefs.h <<_ACEOF
2244#define PACKAGE "$PACKAGE"
2245_ACEOF
2246
2247
2248cat >>confdefs.h <<_ACEOF
2249#define VERSION "$VERSION"
2250_ACEOF
2251
2252# Some tools Automake needs.
2253
2254ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2255
2256
2257AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2258
2259
2260AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2261
2262
2263AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2264
2265
2266MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2267
5ba96b90
FCE
2268# We need awk for the "check" target. The system "awk" is bad on
2269# some platforms.
2270# Always define AMTAR for backward compatibility.
2271
2272AMTAR=${AMTAR-"${am_missing_run}tar"}
2273
2274am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2275
2276
2277
2278
2279
364ad890 2280
440f755a
JS
2281{ $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2282$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
7fbd9d09 2283 # Check whether --enable-maintainer-mode was given.
5ba96b90 2284if test "${enable_maintainer_mode+set}" = set; then
7fbd9d09 2285 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5ba96b90
FCE
2286else
2287 USE_MAINTAINER_MODE=no
7fbd9d09 2288fi
5ba96b90 2289
440f755a
JS
2290 { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2291$as_echo "$USE_MAINTAINER_MODE" >&6; }
7fbd9d09 2292 if test $USE_MAINTAINER_MODE = yes; then
5ba96b90
FCE
2293 MAINTAINER_MODE_TRUE=
2294 MAINTAINER_MODE_FALSE='#'
2295else
2296 MAINTAINER_MODE_TRUE='#'
2297 MAINTAINER_MODE_FALSE=
2298fi
2299
2300 MAINT=$MAINTAINER_MODE_TRUE
2301
2302
2303
7fbd9d09 2304# Check whether --enable-dejazilla was given.
50d0c992 2305if test "${enable_dejazilla+set}" = set; then
7fbd9d09
FCE
2306 enableval=$enable_dejazilla;
2307fi
50d0c992
FCE
2308
2309case "$enable_dejazilla" in
2310 no) dejazilla= ;;
2311 yes) dejazilla=dejazilla@elastic.org ;;
2312 *) dejazilla="$enable_dejazilla" ;;
2313esac
2314if test -n "$dejazilla"; then
440f755a
JS
2315 { $as_echo "$as_me:$LINENO: A \"make *check\" will email results to $dejazilla" >&5
2316$as_echo "$as_me: A \"make *check\" will email results to $dejazilla" >&6;}
50d0c992
FCE
2317fi
2318
2319
7fbd9d09 2320ac_config_files="$ac_config_files Makefile"
5ba96b90
FCE
2321
2322cat >confcache <<\_ACEOF
2323# This file is a shell script that caches the results of configure
2324# tests run on this system so they can be shared between configure
2325# scripts and configure runs, see configure's option --config-cache.
2326# It is not useful on other systems. If it contains results you don't
2327# want to keep, you may remove or edit it.
2328#
2329# config.status only pays attention to the cache file if you give it
2330# the --recheck option to rerun configure.
2331#
2332# `ac_cv_env_foo' variables (set or unset) will be overridden when
2333# loading this file, other *unset* `ac_cv_foo' will be assigned the
2334# following values.
2335
2336_ACEOF
2337
2338# The following way of writing the cache mishandles newlines in values,
2339# but we know of no workaround that is simple, portable, and efficient.
7fbd9d09 2340# So, we kill variables containing newlines.
5ba96b90
FCE
2341# Ultrix sh set writes to stderr and can't be redirected directly,
2342# and sets the high bit in the cache file unless we assign to the vars.
7fbd9d09
FCE
2343(
2344 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2345 eval ac_val=\$$ac_var
2346 case $ac_val in #(
2347 *${as_nl}*)
2348 case $ac_var in #(
440f755a
JS
2349 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
2350$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
7fbd9d09
FCE
2351 esac
2352 case $ac_var in #(
2353 _ | IFS | as_nl) ;; #(
440f755a 2354 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
7fbd9d09
FCE
2355 *) $as_unset $ac_var ;;
2356 esac ;;
2357 esac
2358 done
2359
5ba96b90 2360 (set) 2>&1 |
7fbd9d09
FCE
2361 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2362 *${as_nl}ac_space=\ *)
5ba96b90
FCE
2363 # `set' does not quote correctly, so add quotes (double-quote
2364 # substitution turns \\\\ into \\, and sed turns \\ into \).
2365 sed -n \
2366 "s/'/'\\\\''/g;
2367 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7fbd9d09 2368 ;; #(
5ba96b90
FCE
2369 *)
2370 # `set' quotes correctly as required by POSIX, so do not add quotes.
7fbd9d09 2371 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5ba96b90 2372 ;;
7fbd9d09
FCE
2373 esac |
2374 sort
2375) |
5ba96b90 2376 sed '
7fbd9d09 2377 /^ac_cv_env_/b end
5ba96b90 2378 t clear
7fbd9d09 2379 :clear
5ba96b90
FCE
2380 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2381 t end
7fbd9d09
FCE
2382 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2383 :end' >>confcache
2384if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2385 if test -w "$cache_file"; then
2386 test "x$cache_file" != "x/dev/null" &&
440f755a
JS
2387 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
2388$as_echo "$as_me: updating cache $cache_file" >&6;}
5ba96b90
FCE
2389 cat confcache >$cache_file
2390 else
440f755a
JS
2391 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
2392$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5ba96b90
FCE
2393 fi
2394fi
2395rm -f confcache
2396
2397test "x$prefix" = xNONE && prefix=$ac_default_prefix
2398# Let make expand exec_prefix.
2399test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2400
5ba96b90
FCE
2401# Transform confdefs.h into DEFS.
2402# Protect against shell expansion while executing Makefile rules.
2403# Protect against Makefile macro expansion.
2404#
2405# If the first sed substitution is executed (which looks for macros that
7fbd9d09 2406# take arguments), then branch to the quote section. Otherwise,
5ba96b90 2407# look for a macro that doesn't take arguments.
7fbd9d09 2408ac_script='
440f755a
JS
2409:mline
2410/\\$/{
2411 N
2412 s,\\\n,,
2413 b mline
2414}
5ba96b90 2415t clear
7fbd9d09
FCE
2416:clear
2417s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
5ba96b90 2418t quote
7fbd9d09 2419s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
5ba96b90 2420t quote
7fbd9d09
FCE
2421b any
2422:quote
2423s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2424s/\[/\\&/g
2425s/\]/\\&/g
2426s/\$/$$/g
2427H
2428:any
2429${
2430 g
2431 s/^\n//
2432 s/\n/ /g
2433 p
2434}
2435'
2436DEFS=`sed -n "$ac_script" confdefs.h`
5ba96b90
FCE
2437
2438
2439ac_libobjs=
2440ac_ltlibobjs=
2441for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2442 # 1. Remove the extension, and $U if already installed.
7fbd9d09 2443 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
440f755a 2444 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
7fbd9d09
FCE
2445 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
2446 # will be set to the directory where LIBOBJS objects are built.
2447 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2448 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
5ba96b90
FCE
2449done
2450LIBOBJS=$ac_libobjs
2451
2452LTLIBOBJS=$ac_ltlibobjs
2453
2454
364ad890 2455
5ba96b90 2456if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
440f755a 2457 { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
5ba96b90 2458Usually this means the macro was only invoked conditionally." >&5
440f755a 2459$as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
5ba96b90
FCE
2460Usually this means the macro was only invoked conditionally." >&2;}
2461 { (exit 1); exit 1; }; }
2462fi
2463
2464: ${CONFIG_STATUS=./config.status}
440f755a 2465ac_write_fail=0
5ba96b90
FCE
2466ac_clean_files_save=$ac_clean_files
2467ac_clean_files="$ac_clean_files $CONFIG_STATUS"
440f755a
JS
2468{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2469$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
2470cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5ba96b90
FCE
2471#! $SHELL
2472# Generated by $as_me.
2473# Run this file to recreate the current configuration.
2474# Compiler output produced by configure, useful for debugging
2475# configure, is in config.log if it exists.
2476
2477debug=false
2478ac_cs_recheck=false
2479ac_cs_silent=false
2480SHELL=\${CONFIG_SHELL-$SHELL}
2481_ACEOF
2482
440f755a 2483cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5ba96b90
FCE
2484## --------------------- ##
2485## M4sh Initialization. ##
2486## --------------------- ##
2487
7fbd9d09
FCE
2488# Be more Bourne compatible
2489DUALCASE=1; export DUALCASE # for MKS sh
5ba96b90
FCE
2490if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2491 emulate sh
2492 NULLCMD=:
440f755a 2493 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5ba96b90
FCE
2494 # is contrary to our usage. Disable this feature.
2495 alias -g '${1+"$@"}'='"$@"'
7fbd9d09
FCE
2496 setopt NO_GLOB_SUBST
2497else
2498 case `(set -o) 2>/dev/null` in
2499 *posix*) set -o posix ;;
2500esac
2501
2502fi
2503
2504
2505
2506
2507# PATH needs CR
2508# Avoid depending upon Character Ranges.
2509as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2510as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2511as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2512as_cr_digits='0123456789'
2513as_cr_alnum=$as_cr_Letters$as_cr_digits
2514
440f755a
JS
2515as_nl='
2516'
2517export as_nl
2518# Printing a long string crashes Solaris 7 /usr/bin/printf.
2519as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2520as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
2521as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
2522if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
2523 as_echo='printf %s\n'
2524 as_echo_n='printf %s'
2525else
2526 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
2527 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
2528 as_echo_n='/usr/ucb/echo -n'
d450a957 2529 else
440f755a
JS
2530 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
2531 as_echo_n_body='eval
2532 arg=$1;
2533 case $arg in
2534 *"$as_nl"*)
2535 expr "X$arg" : "X\\(.*\\)$as_nl";
2536 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
2537 esac;
2538 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
2539 '
2540 export as_echo_n_body
2541 as_echo_n='sh -c $as_echo_n_body as_echo'
d450a957 2542 fi
440f755a
JS
2543 export as_echo_body
2544 as_echo='sh -c $as_echo_body as_echo'
2545fi
2546
2547# The user is always right.
2548if test "${PATH_SEPARATOR+set}" != set; then
2549 PATH_SEPARATOR=:
2550 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
2551 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
2552 PATH_SEPARATOR=';'
2553 }
5ba96b90 2554fi
5ba96b90
FCE
2555
2556# Support unset when possible.
2557if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2558 as_unset=unset
2559else
2560 as_unset=false
2561fi
2562
2563
7fbd9d09
FCE
2564# IFS
2565# We need space, tab and new line, in precisely that order. Quoting is
2566# there to prevent editors from complaining about space-tab.
2567# (If _AS_PATH_WALK were called with IFS unset, it would disable word
2568# splitting by setting IFS to empty value.)
7fbd9d09
FCE
2569IFS=" "" $as_nl"
2570
2571# Find who we are. Look in the path if we contain no directory separator.
2572case $0 in
2573 *[\\/]* ) as_myself=$0 ;;
2574 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2575for as_dir in $PATH
2576do
2577 IFS=$as_save_IFS
2578 test -z "$as_dir" && as_dir=.
2579 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2580done
2581IFS=$as_save_IFS
2582
2583 ;;
2584esac
2585# We did not find ourselves, most probably we were run as `sh COMMAND'
2586# in which case we are not to be found in the path.
2587if test "x$as_myself" = x; then
2588 as_myself=$0
2589fi
2590if test ! -f "$as_myself"; then
440f755a 2591 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7fbd9d09
FCE
2592 { (exit 1); exit 1; }
2593fi
2594
5ba96b90 2595# Work around bugs in pre-3.0 UWIN ksh.
7fbd9d09
FCE
2596for as_var in ENV MAIL MAILPATH
2597do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2598done
5ba96b90
FCE
2599PS1='$ '
2600PS2='> '
2601PS4='+ '
2602
2603# NLS nuisances.
440f755a
JS
2604LC_ALL=C
2605export LC_ALL
2606LANGUAGE=C
2607export LANGUAGE
5ba96b90
FCE
2608
2609# Required to use basename.
7fbd9d09
FCE
2610if expr a : '\(a\)' >/dev/null 2>&1 &&
2611 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5ba96b90
FCE
2612 as_expr=expr
2613else
2614 as_expr=false
2615fi
2616
7fbd9d09 2617if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5ba96b90
FCE
2618 as_basename=basename
2619else
2620 as_basename=false
2621fi
2622
2623
2624# Name of the executable.
7fbd9d09 2625as_me=`$as_basename -- "$0" ||
5ba96b90
FCE
2626$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2627 X"$0" : 'X\(//\)$' \| \
7fbd9d09 2628 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
440f755a 2629$as_echo X/"$0" |
7fbd9d09
FCE
2630 sed '/^.*\/\([^/][^/]*\)\/*$/{
2631 s//\1/
2632 q
2633 }
2634 /^X\/\(\/\/\)$/{
2635 s//\1/
2636 q
2637 }
2638 /^X\/\(\/\).*/{
2639 s//\1/
2640 q
2641 }
2642 s/.*/./; q'`
818ba2bc 2643
7fbd9d09
FCE
2644# CDPATH.
2645$as_unset CDPATH
818ba2bc 2646
5ba96b90
FCE
2647
2648
818ba2bc
MW
2649 as_lineno_1=$LINENO
2650 as_lineno_2=$LINENO
818ba2bc 2651 test "x$as_lineno_1" != "x$as_lineno_2" &&
7fbd9d09 2652 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
5ba96b90
FCE
2653
2654 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2655 # uniformly replaced by the line number. The first 'sed' inserts a
7fbd9d09
FCE
2656 # line-number line after each line using $LINENO; the second 'sed'
2657 # does the real work. The second script uses 'N' to pair each
2658 # line-number line with the line containing $LINENO, and appends
2659 # trailing '-' during substitution so that $LINENO is not a special
2660 # case at line end.
5ba96b90 2661 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
7fbd9d09
FCE
2662 # scripts with optimization help from Paolo Bonzini. Blame Lee
2663 # E. McMahon (1931-1989) for sed's syntax. :-)
2664 sed -n '
2665 p
2666 /[$]LINENO/=
2667 ' <$as_myself |
5ba96b90 2668 sed '
7fbd9d09
FCE
2669 s/[$]LINENO.*/&-/
2670 t lineno
2671 b
2672 :lineno
5ba96b90 2673 N
7fbd9d09
FCE
2674 :loop
2675 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
5ba96b90 2676 t loop
7fbd9d09 2677 s/-\n.*//
5ba96b90 2678 ' >$as_me.lineno &&
7fbd9d09 2679 chmod +x "$as_me.lineno" ||
440f755a 2680 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
5ba96b90
FCE
2681 { (exit 1); exit 1; }; }
2682
2683 # Don't try to exec as it changes $[0], causing all sort of problems
2684 # (the dirname of $[0] is not the place where we might find the
7fbd9d09
FCE
2685 # original and so on. Autoconf is especially sensitive to this).
2686 . "./$as_me.lineno"
5ba96b90
FCE
2687 # Exit status is that of the last command.
2688 exit
2689}
2690
2691
7fbd9d09
FCE
2692if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2693 as_dirname=dirname
2694else
2695 as_dirname=false
2696fi
2697
2698ECHO_C= ECHO_N= ECHO_T=
2699case `echo -n x` in
2700-n*)
2701 case `echo 'x\c'` in
2702 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
2703 *) ECHO_C='\c';;
2704 esac;;
2705*)
2706 ECHO_N='-n';;
5ba96b90 2707esac
7fbd9d09
FCE
2708if expr a : '\(a\)' >/dev/null 2>&1 &&
2709 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5ba96b90
FCE
2710 as_expr=expr
2711else
2712 as_expr=false
2713fi
2714
2715rm -f conf$$ conf$$.exe conf$$.file
7fbd9d09
FCE
2716if test -d conf$$.dir; then
2717 rm -f conf$$.dir/conf$$.file
2718else
2719 rm -f conf$$.dir
440f755a
JS
2720 mkdir conf$$.dir 2>/dev/null
2721fi
2722if (echo >conf$$.file) 2>/dev/null; then
2723 if ln -s conf$$.file conf$$ 2>/dev/null; then
2724 as_ln_s='ln -s'
2725 # ... but there are two gotchas:
2726 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
2727 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
2728 # In both cases, we have to default to `cp -p'.
2729 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
2730 as_ln_s='cp -p'
2731 elif ln conf$$.file conf$$ 2>/dev/null; then
2732 as_ln_s=ln
2733 else
5ba96b90 2734 as_ln_s='cp -p'
440f755a 2735 fi
5ba96b90
FCE
2736else
2737 as_ln_s='cp -p'
2738fi
7fbd9d09
FCE
2739rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2740rmdir conf$$.dir 2>/dev/null
5ba96b90
FCE
2741
2742if mkdir -p . 2>/dev/null; then
2743 as_mkdir_p=:
2744else
2745 test -d ./-p && rmdir ./-p
2746 as_mkdir_p=false
2747fi
2748
7fbd9d09
FCE
2749if test -x / >/dev/null 2>&1; then
2750 as_test_x='test -x'
2751else
2752 if ls -dL / >/dev/null 2>&1; then
2753 as_ls_L_option=L
2754 else
2755 as_ls_L_option=
2756 fi
2757 as_test_x='
2758 eval sh -c '\''
2759 if test -d "$1"; then
440f755a 2760 test -d "$1/.";
7fbd9d09
FCE
2761 else
2762 case $1 in
440f755a 2763 -*)set "./$1";;
7fbd9d09
FCE
2764 esac;
2765 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
2766 ???[sx]*):;;*)false;;esac;fi
2767 '\'' sh
2768 '
2769fi
2770as_executable_p=$as_test_x
5ba96b90
FCE
2771
2772# Sed expression to map a string onto a valid CPP name.
2773as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2774
2775# Sed expression to map a string onto a valid variable name.
2776as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2777
2778
5ba96b90
FCE
2779exec 6>&1
2780
7fbd9d09 2781# Save the log message, to keep $[0] and so on meaningful, and to
5ba96b90 2782# report actual input values of CONFIG_FILES etc. instead of their
7fbd9d09
FCE
2783# values after options handling.
2784ac_log="
e1774a7f 2785This file was extended by systemtap $as_me 0.9.8, which was
440f755a 2786generated by GNU Autoconf 2.63. Invocation command line was
5ba96b90
FCE
2787
2788 CONFIG_FILES = $CONFIG_FILES
2789 CONFIG_HEADERS = $CONFIG_HEADERS
2790 CONFIG_LINKS = $CONFIG_LINKS
2791 CONFIG_COMMANDS = $CONFIG_COMMANDS
2792 $ $0 $@
2793
7fbd9d09
FCE
2794on `(hostname || uname -n) 2>/dev/null | sed 1q`
2795"
2796
5ba96b90
FCE
2797_ACEOF
2798
440f755a
JS
2799case $ac_config_files in *"
2800"*) set x $ac_config_files; shift; ac_config_files=$*;;
2801esac
2802
2803
2804
2805cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
818ba2bc 2806# Files that config.status was made for.
7fbd9d09 2807config_files="$ac_config_files"
8ca54d60 2808
7fbd9d09 2809_ACEOF
5ba96b90 2810
440f755a 2811cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5ba96b90
FCE
2812ac_cs_usage="\
2813\`$as_me' instantiates files from templates according to the
2814current configuration.
2815
440f755a 2816Usage: $0 [OPTION]... [FILE]...
5ba96b90
FCE
2817
2818 -h, --help print this help, then exit
7fbd9d09 2819 -V, --version print version number and configuration settings, then exit
440f755a
JS
2820 -q, --quiet, --silent
2821 do not print progress messages
5ba96b90
FCE
2822 -d, --debug don't remove temporary files
2823 --recheck update $as_me by reconfiguring in the same conditions
440f755a
JS
2824 --file=FILE[:TEMPLATE]
2825 instantiate the configuration file FILE
5ba96b90
FCE
2826
2827Configuration files:
2828$config_files
2829
2830Report bugs to <bug-autoconf@gnu.org>."
818ba2bc 2831
7fbd9d09 2832_ACEOF
440f755a 2833cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5ba96b90 2834ac_cs_version="\\
e1774a7f 2835systemtap config.status 0.9.8
440f755a
JS
2836configured by $0, generated by GNU Autoconf 2.63,
2837 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
5ba96b90 2838
440f755a 2839Copyright (C) 2008 Free Software Foundation, Inc.
5ba96b90
FCE
2840This config.status script is free software; the Free Software Foundation
2841gives unlimited permission to copy, distribute and modify it."
7fbd9d09
FCE
2842
2843ac_pwd='$ac_pwd'
2844srcdir='$srcdir'
2845INSTALL='$INSTALL'
2846MKDIR_P='$MKDIR_P'
440f755a
JS
2847AWK='$AWK'
2848test -n "\$AWK" || AWK=awk
5ba96b90
FCE
2849_ACEOF
2850
440f755a
JS
2851cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2852# The default lists apply if the user does not specify any file.
5ba96b90
FCE
2853ac_need_defaults=:
2854while test $# != 0
2855do
2856 case $1 in
2857 --*=*)
7fbd9d09
FCE
2858 ac_option=`expr "X$1" : 'X\([^=]*\)='`
2859 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5ba96b90
FCE
2860 ac_shift=:
2861 ;;
7fbd9d09 2862 *)
5ba96b90
FCE
2863 ac_option=$1
2864 ac_optarg=$2
2865 ac_shift=shift
2866 ;;
5ba96b90
FCE
2867 esac
2868
2869 case $ac_option in
2870 # Handling of the options.
5ba96b90
FCE
2871 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2872 ac_cs_recheck=: ;;
7fbd9d09 2873 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
440f755a 2874 $as_echo "$ac_cs_version"; exit ;;
7fbd9d09 2875 --debug | --debu | --deb | --de | --d | -d )
5ba96b90
FCE
2876 debug=: ;;
2877 --file | --fil | --fi | --f )
2878 $ac_shift
440f755a
JS
2879 case $ac_optarg in
2880 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
2881 esac
2882 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
818ba2bc 2883 ac_need_defaults=false;;
7fbd9d09 2884 --he | --h | --help | --hel | -h )
440f755a 2885 $as_echo "$ac_cs_usage"; exit ;;
5ba96b90
FCE
2886 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2887 | -silent | --silent | --silen | --sile | --sil | --si | --s)
2888 ac_cs_silent=: ;;
2889
2890 # This is an error.
440f755a 2891 -*) { $as_echo "$as_me: error: unrecognized option: $1
7fbd9d09 2892Try \`$0 --help' for more information." >&2
5ba96b90
FCE
2893 { (exit 1); exit 1; }; } ;;
2894
7fbd9d09
FCE
2895 *) ac_config_targets="$ac_config_targets $1"
2896 ac_need_defaults=false ;;
5ba96b90
FCE
2897
2898 esac
2899 shift
2900done
2901
2902ac_configure_extra_args=
2903
2904if $ac_cs_silent; then
2905 exec 6>/dev/null
2906 ac_configure_extra_args="$ac_configure_extra_args --silent"
2907fi
2908
2909_ACEOF
440f755a 2910cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5ba96b90 2911if \$ac_cs_recheck; then
440f755a
JS
2912 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2913 shift
2914 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
2915 CONFIG_SHELL='$SHELL'
7fbd9d09 2916 export CONFIG_SHELL
440f755a 2917 exec "\$@"
5ba96b90
FCE
2918fi
2919
2920_ACEOF
440f755a 2921cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7fbd9d09
FCE
2922exec 5>>config.log
2923{
2924 echo
2925 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2926## Running $as_me. ##
2927_ASBOX
440f755a 2928 $as_echo "$ac_log"
7fbd9d09 2929} >&5
5ba96b90 2930
7fbd9d09 2931_ACEOF
440f755a 2932cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7fbd9d09 2933_ACEOF
818ba2bc 2934
440f755a 2935cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7fbd9d09
FCE
2936
2937# Handling of arguments.
5ba96b90
FCE
2938for ac_config_target in $ac_config_targets
2939do
7fbd9d09
FCE
2940 case $ac_config_target in
2941 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
2942
440f755a
JS
2943 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
2944$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5ba96b90
FCE
2945 { (exit 1); exit 1; }; };;
2946 esac
2947done
2948
7fbd9d09 2949
5ba96b90
FCE
2950# If the user did not use the arguments to specify the items to instantiate,
2951# then the envvar interface is used. Set only those that are not.
2952# We use the long form for the default assignment because of an extremely
2953# bizarre bug on SunOS 4.1.3.
2954if $ac_need_defaults; then
2955 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2956fi
2957
2958# Have a temporary directory for convenience. Make it in the build tree
7fbd9d09 2959# simply because there is no reason against having it here, and in addition,
5ba96b90 2960# creating and moving files from /tmp can sometimes cause problems.
7fbd9d09
FCE
2961# Hook for its removal unless debugging.
2962# Note that there is a small window in which the directory will not be cleaned:
2963# after its creation but before its name has been assigned to `$tmp'.
5ba96b90
FCE
2964$debug ||
2965{
7fbd9d09
FCE
2966 tmp=
2967 trap 'exit_status=$?
2968 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
2969' 0
5ba96b90
FCE
2970 trap '{ (exit 1); exit 1; }' 1 2 13 15
2971}
5ba96b90
FCE
2972# Create a (secure) tmp directory for tmp files.
2973
2974{
7fbd9d09 2975 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5ba96b90
FCE
2976 test -n "$tmp" && test -d "$tmp"
2977} ||
2978{
7fbd9d09
FCE
2979 tmp=./conf$$-$RANDOM
2980 (umask 077 && mkdir "$tmp")
5ba96b90
FCE
2981} ||
2982{
440f755a 2983 $as_echo "$as_me: cannot create a temporary directory in ." >&2
5ba96b90
FCE
2984 { (exit 1); exit 1; }
2985}
2986
440f755a
JS
2987# Set up the scripts for CONFIG_FILES section.
2988# No need to generate them if there are no CONFIG_FILES.
2989# This happens for instance with `./config.status config.h'.
d450a957 2990if test -n "$CONFIG_FILES"; then
8697ba53 2991
7fbd9d09 2992
440f755a
JS
2993ac_cr='\r'
2994ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
2995if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
2996 ac_cs_awk_cr='\\r'
2997else
2998 ac_cs_awk_cr=$ac_cr
2999fi
3000
3001echo 'BEGIN {' >"$tmp/subs1.awk" &&
3002_ACEOF
2035bcd4 3003
d450a957 3004
440f755a
JS
3005{
3006 echo "cat >conf$$subs.awk <<_ACEOF" &&
3007 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3008 echo "_ACEOF"
3009} >conf$$subs.sh ||
3010 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
3011$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
3012 { (exit 1); exit 1; }; }
3013ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
7fbd9d09
FCE
3014ac_delim='%!_!# '
3015for ac_last_try in false false false false false :; do
440f755a
JS
3016 . ./conf$$subs.sh ||
3017 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
3018$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
3019 { (exit 1); exit 1; }; }
7fbd9d09 3020
440f755a
JS
3021 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
3022 if test $ac_delim_n = $ac_delim_num; then
7fbd9d09
FCE
3023 break
3024 elif $ac_last_try; then
440f755a
JS
3025 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
3026$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
7fbd9d09
FCE
3027 { (exit 1); exit 1; }; }
3028 else
3029 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
818ba2bc 3030 fi
7fbd9d09 3031done
440f755a 3032rm -f conf$$subs.sh
27aba29a 3033
440f755a
JS
3034cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3035cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
3036_ACEOF
3037sed -n '
3038h
3039s/^/S["/; s/!.*/"]=/
3040p
3041g
3042s/^[^!]*!//
3043:repl
3044t repl
3045s/'"$ac_delim"'$//
3046t delim
3047:nl
3048h
3049s/\(.\{148\}\).*/\1/
3050t more1
3051s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3052p
3053n
3054b repl
3055:more1
3056s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3057p
3058g
3059s/.\{148\}//
3060t nl
3061:delim
3062h
3063s/\(.\{148\}\).*/\1/
3064t more2
3065s/["\\]/\\&/g; s/^/"/; s/$/"/
3066p
3067b
3068:more2
3069s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3070p
3071g
3072s/.\{148\}//
3073t delim
3074' <conf$$subs.awk | sed '
3075/^[^""]/{
3076 N
3077 s/\n//
3078}
3079' >>$CONFIG_STATUS || ac_write_fail=1
3080rm -f conf$$subs.awk
3081cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3082_ACAWK
3083cat >>"\$tmp/subs1.awk" <<_ACAWK &&
3084 for (key in S) S_is_set[key] = 1
3085 FS = "\a"
8697ba53 3086
440f755a
JS
3087}
3088{
3089 line = $ 0
3090 nfields = split(line, field, "@")
3091 substed = 0
3092 len = length(field[1])
3093 for (i = 2; i < nfields; i++) {
3094 key = field[i]
3095 keylen = length(key)
3096 if (S_is_set[key]) {
3097 value = S[key]
3098 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3099 len += length(value) + length(field[++i])
3100 substed = 1
3101 } else
3102 len += 1 + keylen
3103 }
3104
3105 print line
3106}
3107
3108_ACAWK
7fbd9d09 3109_ACEOF
440f755a
JS
3110cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3111if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3112 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
3113else
3114 cat
3115fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
3116 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
3117$as_echo "$as_me: error: could not setup config files machinery" >&2;}
3118 { (exit 1); exit 1; }; }
818ba2bc 3119_ACEOF
7fbd9d09 3120
7fbd9d09
FCE
3121# VPATH may cause trouble with some makes, so we remove $(srcdir),
3122# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3123# trailing colons and then remove the whole line if VPATH becomes empty
3124# (actually we leave an empty line to preserve line numbers).
3125if test "x$srcdir" = x.; then
3126 ac_vpsub='/^[ ]*VPATH[ ]*=/{
3127s/:*\$(srcdir):*/:/
3128s/:*\${srcdir}:*/:/
3129s/:*@srcdir@:*/:/
3130s/^\([^=]*=[ ]*\):*/\1/
3131s/:*$//
3132s/^[^=]*=[ ]*$//
3133}'
3134fi
3135
440f755a 3136cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7fbd9d09
FCE
3137fi # test -n "$CONFIG_FILES"
3138
3139
440f755a
JS
3140eval set X " :F $CONFIG_FILES "
3141shift
3142for ac_tag
7fbd9d09
FCE
3143do
3144 case $ac_tag in
3145 :[FHLC]) ac_mode=$ac_tag; continue;;
3146 esac
3147 case $ac_mode$ac_tag in
3148 :[FHL]*:*);;
440f755a
JS
3149 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
3150$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
7fbd9d09
FCE
3151 { (exit 1); exit 1; }; };;
3152 :[FH]-) ac_tag=-:-;;
3153 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3154 esac
3155 ac_save_IFS=$IFS
3156 IFS=:
3157 set x $ac_tag
3158 IFS=$ac_save_IFS
3159 shift
3160 ac_file=$1
3161 shift
3162
3163 case $ac_mode in
3164 :L) ac_source=$1;;
3165 :[FH])
3166 ac_file_inputs=
3167 for ac_f
3168 do
3169 case $ac_f in
3170 -) ac_f="$tmp/stdin";;
3171 *) # Look for the file first in the build tree, then in the source tree
3172 # (if the path is not absolute). The absolute path cannot be DOS-style,
3173 # because $ac_f cannot contain `:'.
3174 test -f "$ac_f" ||
3175 case $ac_f in
3176 [\\/$]*) false;;
3177 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3178 esac ||
440f755a
JS
3179 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
3180$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
7fbd9d09
FCE
3181 { (exit 1); exit 1; }; };;
3182 esac
440f755a
JS
3183 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
3184 ac_file_inputs="$ac_file_inputs '$ac_f'"
7fbd9d09
FCE
3185 done
3186
3187 # Let's still pretend it is `configure' which instantiates (i.e., don't
3188 # use $as_me), people would be surprised to read:
3189 # /* config.h. Generated by config.status. */
440f755a
JS
3190 configure_input='Generated from '`
3191 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3192 `' by configure.'
7fbd9d09
FCE
3193 if test x"$ac_file" != x-; then
3194 configure_input="$ac_file. $configure_input"
440f755a
JS
3195 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
3196$as_echo "$as_me: creating $ac_file" >&6;}
7fbd9d09 3197 fi
440f755a
JS
3198 # Neutralize special characters interpreted by sed in replacement strings.
3199 case $configure_input in #(
3200 *\&* | *\|* | *\\* )
3201 ac_sed_conf_input=`$as_echo "$configure_input" |
3202 sed 's/[\\\\&|]/\\\\&/g'`;; #(
3203 *) ac_sed_conf_input=$configure_input;;
3204 esac
7fbd9d09
FCE
3205
3206 case $ac_tag in
440f755a
JS
3207 *:-:* | *:-) cat >"$tmp/stdin" \
3208 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
3209$as_echo "$as_me: error: could not create $ac_file" >&2;}
3210 { (exit 1); exit 1; }; } ;;
7fbd9d09
FCE
3211 esac
3212 ;;
5ba96b90
FCE
3213 esac
3214
7fbd9d09 3215 ac_dir=`$as_dirname -- "$ac_file" ||
5ba96b90
FCE
3216$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3217 X"$ac_file" : 'X\(//\)[^/]' \| \
3218 X"$ac_file" : 'X\(//\)$' \| \
7fbd9d09 3219 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
440f755a 3220$as_echo X"$ac_file" |
7fbd9d09
FCE
3221 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3222 s//\1/
3223 q
3224 }
3225 /^X\(\/\/\)[^/].*/{
3226 s//\1/
3227 q
3228 }
3229 /^X\(\/\/\)$/{
3230 s//\1/
3231 q
3232 }
3233 /^X\(\/\).*/{
3234 s//\1/
3235 q
3236 }
3237 s/.*/./; q'`
3238 { as_dir="$ac_dir"
3239 case $as_dir in #(
3240 -*) as_dir=./$as_dir;;
3241 esac
3242 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
5ba96b90 3243 as_dirs=
7fbd9d09
FCE
3244 while :; do
3245 case $as_dir in #(
440f755a 3246 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7fbd9d09
FCE
3247 *) as_qdir=$as_dir;;
3248 esac
3249 as_dirs="'$as_qdir' $as_dirs"
3250 as_dir=`$as_dirname -- "$as_dir" ||
5ba96b90
FCE
3251$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3252 X"$as_dir" : 'X\(//\)[^/]' \| \
3253 X"$as_dir" : 'X\(//\)$' \| \
7fbd9d09 3254 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
440f755a 3255$as_echo X"$as_dir" |
7fbd9d09
FCE
3256 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3257 s//\1/
3258 q
3259 }
3260 /^X\(\/\/\)[^/].*/{
3261 s//\1/
3262 q
3263 }
3264 /^X\(\/\/\)$/{
3265 s//\1/
3266 q
3267 }
3268 /^X\(\/\).*/{
3269 s//\1/
3270 q
3271 }
3272 s/.*/./; q'`
3273 test -d "$as_dir" && break
5ba96b90 3274 done
7fbd9d09 3275 test -z "$as_dirs" || eval "mkdir $as_dirs"
440f755a
JS
3276 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
3277$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
5ba96b90 3278 { (exit 1); exit 1; }; }; }
5ba96b90
FCE
3279 ac_builddir=.
3280
7fbd9d09
FCE
3281case "$ac_dir" in
3282.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3283*)
440f755a 3284 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
7fbd9d09 3285 # A ".." for each directory in $ac_dir_suffix.
440f755a 3286 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
7fbd9d09
FCE
3287 case $ac_top_builddir_sub in
3288 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3289 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3290 esac ;;
3291esac
3292ac_abs_top_builddir=$ac_pwd
3293ac_abs_builddir=$ac_pwd$ac_dir_suffix
3294# for backward compatibility:
3295ac_top_builddir=$ac_top_build_prefix
5ba96b90
FCE
3296
3297case $srcdir in
7fbd9d09 3298 .) # We are building in place.
5ba96b90 3299 ac_srcdir=.
7fbd9d09
FCE
3300 ac_top_srcdir=$ac_top_builddir_sub
3301 ac_abs_top_srcdir=$ac_pwd ;;
3302 [\\/]* | ?:[\\/]* ) # Absolute name.
5ba96b90 3303 ac_srcdir=$srcdir$ac_dir_suffix;
7fbd9d09
FCE
3304 ac_top_srcdir=$srcdir
3305 ac_abs_top_srcdir=$srcdir ;;
3306 *) # Relative name.
3307 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3308 ac_top_srcdir=$ac_top_build_prefix$srcdir
3309 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5ba96b90 3310esac
7fbd9d09 3311ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5ba96b90 3312
5ba96b90 3313
7fbd9d09
FCE
3314 case $ac_mode in
3315 :F)
3316 #
3317 # CONFIG_FILE
3318 #
5ba96b90
FCE
3319
3320 case $INSTALL in
3321 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
7fbd9d09 3322 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5e0d2ebf 3323 esac
7fbd9d09
FCE
3324 ac_MKDIR_P=$MKDIR_P
3325 case $MKDIR_P in
3326 [\\/$]* | ?:[\\/]* ) ;;
3327 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
3328 esac
3329_ACEOF
5ba96b90 3330
440f755a 3331cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7fbd9d09
FCE
3332# If the template does not know about datarootdir, expand it.
3333# FIXME: This hack should be removed a few years after 2.60.
3334ac_datarootdir_hack=; ac_datarootdir_seen=
3335
440f755a
JS
3336ac_sed_dataroot='
3337/datarootdir/ {
7fbd9d09
FCE
3338 p
3339 q
3340}
3341/@datadir@/p
3342/@docdir@/p
3343/@infodir@/p
3344/@localedir@/p
3345/@mandir@/p
440f755a
JS
3346'
3347case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
7fbd9d09
FCE
3348*datarootdir*) ac_datarootdir_seen=yes;;
3349*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
440f755a
JS
3350 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3351$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5e0d2ebf 3352_ACEOF
440f755a 3353cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7fbd9d09
FCE
3354 ac_datarootdir_hack='
3355 s&@datadir@&$datadir&g
3356 s&@docdir@&$docdir&g
3357 s&@infodir@&$infodir&g
3358 s&@localedir@&$localedir&g
3359 s&@mandir@&$mandir&g
3360 s&\\\${datarootdir}&$datarootdir&g' ;;
3361esac
3362_ACEOF
3363
3364# Neutralize VPATH when `$srcdir' = `.'.
3365# Shell code in configure.ac might set extrasub.
3366# FIXME: do we really want to maintain this feature?
440f755a
JS
3367cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3368ac_sed_extra="$ac_vpsub
5ba96b90
FCE
3369$extrasub
3370_ACEOF
440f755a 3371cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5ba96b90
FCE
3372:t
3373/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
440f755a 3374s|@configure_input@|$ac_sed_conf_input|;t t
7fbd9d09 3375s&@top_builddir@&$ac_top_builddir_sub&;t t
440f755a 3376s&@top_build_prefix@&$ac_top_build_prefix&;t t
7fbd9d09
FCE
3377s&@srcdir@&$ac_srcdir&;t t
3378s&@abs_srcdir@&$ac_abs_srcdir&;t t
3379s&@top_srcdir@&$ac_top_srcdir&;t t
3380s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3381s&@builddir@&$ac_builddir&;t t
3382s&@abs_builddir@&$ac_abs_builddir&;t t
3383s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3384s&@INSTALL@&$ac_INSTALL&;t t
3385s&@MKDIR_P@&$ac_MKDIR_P&;t t
3386$ac_datarootdir_hack
440f755a
JS
3387"
3388eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
3389 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
3390$as_echo "$as_me: error: could not create $ac_file" >&2;}
3391 { (exit 1); exit 1; }; }
7fbd9d09
FCE
3392
3393test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3394 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
3395 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
440f755a 3396 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7fbd9d09 3397which seems to be undefined. Please make sure it is defined." >&5
440f755a 3398$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7fbd9d09
FCE
3399which seems to be undefined. Please make sure it is defined." >&2;}
3400
3401 rm -f "$tmp/stdin"
3402 case $ac_file in
440f755a
JS
3403 -) cat "$tmp/out" && rm -f "$tmp/out";;
3404 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
3405 esac \
3406 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
3407$as_echo "$as_me: error: could not create $ac_file" >&2;}
3408 { (exit 1); exit 1; }; }
7fbd9d09 3409 ;;
5e0d2ebf 3410
5e0d2ebf 3411
7fbd9d09
FCE
3412
3413 esac
3414
3415done # for ac_tag
3416
5ba96b90
FCE
3417
3418{ (exit 0); exit 0; }
3419_ACEOF
3420chmod +x $CONFIG_STATUS
3421ac_clean_files=$ac_clean_files_save
3422
440f755a
JS
3423test $ac_write_fail = 0 ||
3424 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
3425$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
3426 { (exit 1); exit 1; }; }
3427
5ba96b90
FCE
3428
3429# configure is writing to config.log, and then calls config.status.
3430# config.status does its own redirection, appending to config.log.
3431# Unfortunately, on DOS this fails, as config.log is still kept open
3432# by configure, so config.status won't be able to write to it; its
3433# output is simply discarded. So we exec the FD to /dev/null,
3434# effectively closing config.log, so it can be properly (re)opened and
3435# appended to by config.status. When coming back to configure, we
3436# need to make the FD available again.
3437if test "$no_create" != yes; then
3438 ac_cs_success=:
3439 ac_config_status_args=
3440 test "$silent" = yes &&
3441 ac_config_status_args="$ac_config_status_args --quiet"
3442 exec 5>/dev/null
3443 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3444 exec 5>>config.log
3445 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3446 # would make configure fail if this is the last instruction.
3447 $ac_cs_success || { (exit 1); exit 1; }
3448fi
440f755a
JS
3449if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
3450 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
3451$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
3452fi
5ba96b90 3453
This page took 0.443604 seconds and 5 git commands to generate.