configure

Wed, 31 May 2017 12:22:36 +0200

author
Mike Becker <universe@uap-core.de>
date
Wed, 31 May 2017 12:22:36 +0200
changeset 49
08b780ecc611
parent 48
0d2c13c24fd0
child 51
5acf05940667
permissions
-rwxr-xr-x

adds *.in files

48
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1 #! /bin/sh
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2 # Guess values for system-dependent variables and create Makefiles.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3 # Generated by GNU Autoconf 2.69 for cline 1.1.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4 #
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5 # Report bugs to <universe@uap-core.de>.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6 #
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
7 #
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
9 #
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
10 #
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
11 # This configure script is free software; the Free Software Foundation
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
12 # gives unlimited permission to copy, distribute and modify it.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
13 ## -------------------- ##
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
14 ## M4sh Initialization. ##
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
15 ## -------------------- ##
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
16
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
17 # Be more Bourne compatible
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
18 DUALCASE=1; export DUALCASE # for MKS sh
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
20 emulate sh
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
21 NULLCMD=:
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
23 # is contrary to our usage. Disable this feature.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
24 alias -g '${1+"$@"}'='"$@"'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
25 setopt NO_GLOB_SUBST
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
26 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
27 case `(set -o) 2>/dev/null` in #(
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
28 *posix*) :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
29 set -o posix ;; #(
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
30 *) :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
31 ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
32 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
33 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
34
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
35
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
36 as_nl='
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
37 '
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
38 export as_nl
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
44 # but without wasting forks for bash or zsh.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
47 as_echo='print -r --'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
48 as_echo_n='print -rn --'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
50 as_echo='printf %s\n'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
51 as_echo_n='printf %s'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
52 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
55 as_echo_n='/usr/ucb/echo -n'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
56 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
58 as_echo_n_body='eval
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
59 arg=$1;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
60 case $arg in #(
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
61 *"$as_nl"*)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
62 expr "X$arg" : "X\\(.*\\)$as_nl";
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
64 esac;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
66 '
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
67 export as_echo_n_body
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
68 as_echo_n='sh -c $as_echo_n_body as_echo'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
69 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
70 export as_echo_body
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
71 as_echo='sh -c $as_echo_body as_echo'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
72 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
73
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
74 # The user is always right.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
75 if test "${PATH_SEPARATOR+set}" != set; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
76 PATH_SEPARATOR=:
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
79 PATH_SEPARATOR=';'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
80 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
81 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
82
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
83
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
84 # IFS
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
85 # We need space, tab and new line, in precisely that order. Quoting is
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
86 # there to prevent editors from complaining about space-tab.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
88 # splitting by setting IFS to empty value.)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
89 IFS=" "" $as_nl"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
90
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
91 # Find who we are. Look in the path if we contain no directory separator.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
92 as_myself=
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
93 case $0 in #((
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
94 *[\\/]* ) as_myself=$0 ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
96 for as_dir in $PATH
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
97 do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
98 IFS=$as_save_IFS
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
99 test -z "$as_dir" && as_dir=.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
101 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
102 IFS=$as_save_IFS
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
103
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
104 ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
105 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
107 # in which case we are not to be found in the path.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
108 if test "x$as_myself" = x; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
109 as_myself=$0
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
110 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
111 if test ! -f "$as_myself"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
113 exit 1
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
114 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
115
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
116 # Unset variables that we do not need and which cause bugs (e.g. in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
118 # suppresses any "Segmentation fault" message there. '((' could
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
119 # trigger a bug in pdksh 5.2.14.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
120 for as_var in BASH_ENV ENV MAIL MAILPATH
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
121 do eval test x\${$as_var+set} = xset \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
123 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
124 PS1='$ '
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
125 PS2='> '
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
126 PS4='+ '
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
127
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
128 # NLS nuisances.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
129 LC_ALL=C
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
130 export LC_ALL
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
131 LANGUAGE=C
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
132 export LANGUAGE
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
133
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
134 # CDPATH.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
136
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
137 # Use a proper internal environment variable to ensure we don't fall
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
138 # into an infinite loop, continuously re-executing ourselves.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
140 _as_can_reexec=no; export _as_can_reexec;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
141 # We cannot yet assume a decent shell, so we have to provide a
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
142 # neutralization value for shells without unset; and this also
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
143 # works around shells that cannot unset nonexistent variables.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
144 # Preserve -v and -x to the replacement shell.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
145 BASH_ENV=/dev/null
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
146 ENV=/dev/null
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
148 case $- in # ((((
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
149 *v*x* | *x*v* ) as_opts=-vx ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
150 *v* ) as_opts=-v ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
151 *x* ) as_opts=-x ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
152 * ) as_opts= ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
153 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
155 # Admittedly, this is quite paranoid, since all the known shells bail
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
156 # out after a failed `exec'.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
158 as_fn_exit 255
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
159 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
160 # We don't want this to propagate to other subprocesses.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
161 { _as_can_reexec=; unset _as_can_reexec;}
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
162 if test "x$CONFIG_SHELL" = x; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
164 emulate sh
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
165 NULLCMD=:
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
167 # is contrary to our usage. Disable this feature.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
169 setopt NO_GLOB_SUBST
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
170 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
171 case \`(set -o) 2>/dev/null\` in #(
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
172 *posix*) :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
173 set -o posix ;; #(
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
174 *) :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
175 ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
176 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
177 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
178 "
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
179 as_required="as_fn_return () { (exit \$1); }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
180 as_fn_success () { as_fn_return 0; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
181 as_fn_failure () { as_fn_return 1; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
182 as_fn_ret_success () { return 0; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
183 as_fn_ret_failure () { return 1; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
184
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
185 exitcode=0
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
191
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
192 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
193 exitcode=1; echo positional parameters were not saved.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
194 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
195 test x\$exitcode = x0 || exit 1
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
196 test -x / || exit 1"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
201 test \$(( 1 + 1 )) = 2 || exit 1"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
202 if (eval "$as_required") 2>/dev/null; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
203 as_have_required=yes
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
204 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
205 as_have_required=no
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
206 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
208
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
209 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
211 as_found=false
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
213 do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
214 IFS=$as_save_IFS
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
215 test -z "$as_dir" && as_dir=.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
216 as_found=:
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
217 case $as_dir in #(
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
218 /*)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
219 for as_base in sh bash ksh sh5; do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
220 # Try only shells that exist, to save several forks.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
221 as_shell=$as_dir/$as_base
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
224 CONFIG_SHELL=$as_shell as_have_required=yes
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
226 break 2
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
227 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
228 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
229 done;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
230 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
231 as_found=false
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
232 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
235 CONFIG_SHELL=$SHELL as_have_required=yes
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
236 fi; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
237 IFS=$as_save_IFS
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
238
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
239
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
240 if test "x$CONFIG_SHELL" != x; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
241 export CONFIG_SHELL
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
242 # We cannot yet assume a decent shell, so we have to provide a
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
243 # neutralization value for shells without unset; and this also
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
244 # works around shells that cannot unset nonexistent variables.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
245 # Preserve -v and -x to the replacement shell.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
246 BASH_ENV=/dev/null
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
247 ENV=/dev/null
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
249 case $- in # ((((
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
250 *v*x* | *x*v* ) as_opts=-vx ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
251 *v* ) as_opts=-v ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
252 *x* ) as_opts=-x ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
253 * ) as_opts= ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
254 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
256 # Admittedly, this is quite paranoid, since all the known shells bail
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
257 # out after a failed `exec'.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
259 exit 255
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
260 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
261
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
262 if test x$as_have_required = xno; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
263 $as_echo "$0: This script requires a shell more modern than all"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
264 $as_echo "$0: the shells that I found on your system."
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
265 if test x${ZSH_VERSION+set} = xset ; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
268 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
270 $0: universe@uap-core.de about your system, including any
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
271 $0: error possibly output before this message. Then install
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
272 $0: a modern shell, or manually run the script under such a
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
273 $0: shell if you do have one."
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
274 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
275 exit 1
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
276 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
277 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
278 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
279 SHELL=${CONFIG_SHELL-/bin/sh}
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
280 export SHELL
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
281 # Unset more variables known to interfere with behavior of common tools.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
282 CLICOLOR_FORCE= GREP_OPTIONS=
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
283 unset CLICOLOR_FORCE GREP_OPTIONS
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
284
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
285 ## --------------------- ##
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
286 ## M4sh Shell Functions. ##
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
287 ## --------------------- ##
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
288 # as_fn_unset VAR
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
289 # ---------------
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
290 # Portably unset VAR.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
291 as_fn_unset ()
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
292 {
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
293 { eval $1=; unset $1;}
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
294 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
295 as_unset=as_fn_unset
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
296
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
297 # as_fn_set_status STATUS
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
298 # -----------------------
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
299 # Set $? to STATUS, without forking.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
300 as_fn_set_status ()
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
301 {
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
302 return $1
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
303 } # as_fn_set_status
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
304
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
305 # as_fn_exit STATUS
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
306 # -----------------
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
308 as_fn_exit ()
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
309 {
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
310 set +e
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
311 as_fn_set_status $1
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
312 exit $1
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
313 } # as_fn_exit
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
314
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
315 # as_fn_mkdir_p
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
316 # -------------
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
317 # Create "$as_dir" as a directory, including parents if necessary.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
318 as_fn_mkdir_p ()
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
319 {
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
320
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
321 case $as_dir in #(
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
322 -*) as_dir=./$as_dir;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
323 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
324 test -d "$as_dir" || eval $as_mkdir_p || {
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
325 as_dirs=
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
326 while :; do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
327 case $as_dir in #(
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
329 *) as_qdir=$as_dir;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
330 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
331 as_dirs="'$as_qdir' $as_dirs"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
332 as_dir=`$as_dirname -- "$as_dir" ||
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
334 X"$as_dir" : 'X\(//\)[^/]' \| \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
335 X"$as_dir" : 'X\(//\)$' \| \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
337 $as_echo X"$as_dir" |
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
339 s//\1/
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
340 q
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
341 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
342 /^X\(\/\/\)[^/].*/{
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
343 s//\1/
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
344 q
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
345 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
346 /^X\(\/\/\)$/{
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
347 s//\1/
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
348 q
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
349 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
350 /^X\(\/\).*/{
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
351 s//\1/
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
352 q
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
353 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
354 s/.*/./; q'`
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
355 test -d "$as_dir" && break
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
356 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
357 test -z "$as_dirs" || eval "mkdir $as_dirs"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
359
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
360
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
361 } # as_fn_mkdir_p
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
362
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
363 # as_fn_executable_p FILE
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
364 # -----------------------
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
365 # Test if FILE is an executable regular file.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
366 as_fn_executable_p ()
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
367 {
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
368 test -f "$1" && test -x "$1"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
369 } # as_fn_executable_p
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
370 # as_fn_append VAR VALUE
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
371 # ----------------------
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
373 # advantage of any shell optimizations that allow amortized linear growth over
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
374 # repeated appends, instead of the typical quadratic growth present in naive
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
375 # implementations.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
377 eval 'as_fn_append ()
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
378 {
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
379 eval $1+=\$2
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
380 }'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
381 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
382 as_fn_append ()
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
383 {
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
384 eval $1=\$$1\$2
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
385 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
386 fi # as_fn_append
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
387
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
388 # as_fn_arith ARG...
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
389 # ------------------
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
392 # must be portable across $(()) and expr.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
394 eval 'as_fn_arith ()
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
395 {
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
396 as_val=$(( $* ))
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
397 }'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
398 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
399 as_fn_arith ()
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
400 {
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
401 as_val=`expr "$@" || test $? -eq 1`
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
402 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
403 fi # as_fn_arith
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
404
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
405
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
407 # ----------------------------------------
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
410 # script with STATUS, using 1 if that was 0.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
411 as_fn_error ()
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
412 {
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
413 as_status=$1; test $as_status -eq 0 && as_status=1
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
414 if test "$4"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
417 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
418 $as_echo "$as_me: error: $2" >&2
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
419 as_fn_exit $as_status
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
420 } # as_fn_error
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
421
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
422 if expr a : '\(a\)' >/dev/null 2>&1 &&
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
423 test "X`expr 00001 : '.*\(...\)'`" = X001; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
424 as_expr=expr
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
425 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
426 as_expr=false
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
427 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
428
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
430 as_basename=basename
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
431 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
432 as_basename=false
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
433 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
434
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
436 as_dirname=dirname
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
437 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
438 as_dirname=false
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
439 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
440
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
441 as_me=`$as_basename -- "$0" ||
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
443 X"$0" : 'X\(//\)$' \| \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
445 $as_echo X/"$0" |
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
447 s//\1/
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
448 q
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
449 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
450 /^X\/\(\/\/\)$/{
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
451 s//\1/
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
452 q
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
453 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
454 /^X\/\(\/\).*/{
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
455 s//\1/
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
456 q
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
457 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
458 s/.*/./; q'`
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
459
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
460 # Avoid depending upon Character Ranges.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
461 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
464 as_cr_digits='0123456789'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
465 as_cr_alnum=$as_cr_Letters$as_cr_digits
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
466
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
467
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
468 as_lineno_1=$LINENO as_lineno_1a=$LINENO
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
469 as_lineno_2=$LINENO as_lineno_2a=$LINENO
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
473 sed -n '
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
474 p
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
475 /[$]LINENO/=
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
476 ' <$as_myself |
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
477 sed '
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
478 s/[$]LINENO.*/&-/
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
479 t lineno
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
480 b
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
481 :lineno
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
482 N
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
483 :loop
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
485 t loop
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
486 s/-\n.*//
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
487 ' >$as_me.lineno &&
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
488 chmod +x "$as_me.lineno" ||
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
490
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
492 # already done that, so ensure we don't try to do so again and fall
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
493 # in an infinite loop. This has already happened in practice.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
494 _as_can_reexec=no; export _as_can_reexec
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
495 # Don't try to exec as it changes $[0], causing all sort of problems
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
496 # (the dirname of $[0] is not the place where we might find the
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
497 # original and so on. Autoconf is especially sensitive to this).
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
498 . "./$as_me.lineno"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
499 # Exit status is that of the last command.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
500 exit
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
501 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
502
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
503 ECHO_C= ECHO_N= ECHO_T=
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
504 case `echo -n x` in #(((((
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
505 -n*)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
506 case `echo 'xy\c'` in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
507 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
508 xy) ECHO_C='\c';;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
510 ECHO_T=' ';;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
511 esac;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
512 *)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
513 ECHO_N='-n';;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
514 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
515
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
516 rm -f conf$$ conf$$.exe conf$$.file
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
517 if test -d conf$$.dir; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
518 rm -f conf$$.dir/conf$$.file
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
519 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
520 rm -f conf$$.dir
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
521 mkdir conf$$.dir 2>/dev/null
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
522 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
523 if (echo >conf$$.file) 2>/dev/null; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
524 if ln -s conf$$.file conf$$ 2>/dev/null; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
525 as_ln_s='ln -s'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
526 # ... but there are two gotchas:
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
529 # In both cases, we have to default to `cp -pR'.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
531 as_ln_s='cp -pR'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
532 elif ln conf$$.file conf$$ 2>/dev/null; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
533 as_ln_s=ln
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
534 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
535 as_ln_s='cp -pR'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
536 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
537 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
538 as_ln_s='cp -pR'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
539 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
541 rmdir conf$$.dir 2>/dev/null
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
542
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
543 if mkdir -p . 2>/dev/null; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
544 as_mkdir_p='mkdir -p "$as_dir"'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
545 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
546 test -d ./-p && rmdir ./-p
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
547 as_mkdir_p=false
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
548 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
549
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
550 as_test_x='test -x'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
551 as_executable_p=as_fn_executable_p
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
552
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
553 # Sed expression to map a string onto a valid CPP name.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
554 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
555
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
556 # Sed expression to map a string onto a valid variable name.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
557 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
558
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
559
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
560 test -n "$DJDIR" || exec 7<&0 </dev/null
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
561 exec 6>&1
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
562
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
563 # Name of the host.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
565 # so uname gets run too.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
567
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
568 #
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
569 # Initializations.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
570 #
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
571 ac_default_prefix=/usr/local
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
572 ac_clean_files=
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
573 ac_config_libobj_dir=.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
574 LIBOBJS=
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
575 cross_compiling=no
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
576 subdirs=
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
577 MFLAGS=
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
578 MAKEFLAGS=
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
579
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
580 # Identity of this package.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
581 PACKAGE_NAME='cline'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
582 PACKAGE_TARNAME='cline'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
583 PACKAGE_VERSION='1.1'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
584 PACKAGE_STRING='cline 1.1'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
585 PACKAGE_BUGREPORT='universe@uap-core.de'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
586 PACKAGE_URL=''
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
587
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
588 ac_unique_file="src/cline.c"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
589 # Factoring default headers for most tests.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
590 ac_includes_default="\
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
591 #include <stdio.h>
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
592 #ifdef HAVE_SYS_TYPES_H
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
593 # include <sys/types.h>
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
594 #endif
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
595 #ifdef HAVE_SYS_STAT_H
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
596 # include <sys/stat.h>
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
597 #endif
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
598 #ifdef STDC_HEADERS
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
599 # include <stdlib.h>
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
600 # include <stddef.h>
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
601 #else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
602 # ifdef HAVE_STDLIB_H
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
603 # include <stdlib.h>
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
604 # endif
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
605 #endif
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
606 #ifdef HAVE_STRING_H
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
608 # include <memory.h>
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
609 # endif
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
610 # include <string.h>
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
611 #endif
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
612 #ifdef HAVE_STRINGS_H
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
613 # include <strings.h>
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
614 #endif
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
615 #ifdef HAVE_INTTYPES_H
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
616 # include <inttypes.h>
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
617 #endif
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
618 #ifdef HAVE_STDINT_H
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
619 # include <stdint.h>
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
620 #endif
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
621 #ifdef HAVE_UNISTD_H
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
622 # include <unistd.h>
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
623 #endif"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
624
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
625 ac_subst_vars='am__EXEEXT_FALSE
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
626 am__EXEEXT_TRUE
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
627 LTLIBOBJS
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
628 LIBOBJS
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
629 EGREP
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
630 GREP
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
631 CPP
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
632 am__fastdepCC_FALSE
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
633 am__fastdepCC_TRUE
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
634 CCDEPMODE
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
635 am__nodep
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
636 AMDEPBACKSLASH
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
637 AMDEP_FALSE
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
638 AMDEP_TRUE
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
639 am__quote
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
640 am__include
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
641 DEPDIR
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
642 OBJEXT
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
643 EXEEXT
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
644 ac_ct_CC
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
645 CPPFLAGS
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
646 LDFLAGS
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
647 CFLAGS
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
648 CC
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
649 DEBUG_FALSE
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
650 DEBUG_TRUE
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
651 AM_BACKSLASH
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
652 AM_DEFAULT_VERBOSITY
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
653 AM_DEFAULT_V
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
654 AM_V
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
655 am__untar
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
656 am__tar
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
657 AMTAR
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
658 am__leading_dot
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
659 SET_MAKE
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
660 AWK
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
661 mkdir_p
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
662 MKDIR_P
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
663 INSTALL_STRIP_PROGRAM
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
664 STRIP
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
665 install_sh
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
666 MAKEINFO
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
667 AUTOHEADER
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
668 AUTOMAKE
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
669 AUTOCONF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
670 ACLOCAL
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
671 VERSION
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
672 PACKAGE
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
673 CYGPATH_W
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
674 am__isrc
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
675 INSTALL_DATA
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
676 INSTALL_SCRIPT
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
677 INSTALL_PROGRAM
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
678 target_alias
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
679 host_alias
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
680 build_alias
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
681 LIBS
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
682 ECHO_T
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
683 ECHO_N
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
684 ECHO_C
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
685 DEFS
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
686 mandir
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
687 localedir
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
688 libdir
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
689 psdir
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
690 pdfdir
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
691 dvidir
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
692 htmldir
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
693 infodir
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
694 docdir
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
695 oldincludedir
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
696 includedir
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
697 localstatedir
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
698 sharedstatedir
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
699 sysconfdir
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
700 datadir
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
701 datarootdir
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
702 libexecdir
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
703 sbindir
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
704 bindir
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
705 program_transform_name
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
706 prefix
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
707 exec_prefix
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
708 PACKAGE_URL
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
709 PACKAGE_BUGREPORT
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
710 PACKAGE_STRING
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
711 PACKAGE_VERSION
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
712 PACKAGE_TARNAME
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
713 PACKAGE_NAME
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
714 PATH_SEPARATOR
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
715 SHELL'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
716 ac_subst_files=''
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
717 ac_user_opts='
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
718 enable_option_checking
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
719 enable_silent_rules
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
720 enable_debug
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
721 enable_dependency_tracking
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
722 '
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
723 ac_precious_vars='build_alias
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
724 host_alias
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
725 target_alias
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
726 CC
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
727 CFLAGS
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
728 LDFLAGS
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
729 LIBS
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
730 CPPFLAGS
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
731 CPP'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
732
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
733
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
734 # Initialize some variables set by options.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
735 ac_init_help=
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
736 ac_init_version=false
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
737 ac_unrecognized_opts=
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
738 ac_unrecognized_sep=
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
739 # The variables have the same names as the options, with
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
740 # dashes changed to underlines.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
741 cache_file=/dev/null
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
742 exec_prefix=NONE
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
743 no_create=
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
744 no_recursion=
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
745 prefix=NONE
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
746 program_prefix=NONE
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
747 program_suffix=NONE
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
748 program_transform_name=s,x,x,
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
749 silent=
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
750 site=
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
751 srcdir=
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
752 verbose=
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
753 x_includes=NONE
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
754 x_libraries=NONE
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
755
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
756 # Installation directory options.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
757 # These are left unexpanded so users can "make install exec_prefix=/foo"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
758 # and all the variables that are supposed to be based on exec_prefix
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
759 # by default will actually change.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
760 # Use braces instead of parens because sh, perl, etc. also accept them.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
761 # (The list follows the same order as the GNU Coding Standards.)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
762 bindir='${exec_prefix}/bin'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
763 sbindir='${exec_prefix}/sbin'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
764 libexecdir='${exec_prefix}/libexec'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
765 datarootdir='${prefix}/share'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
766 datadir='${datarootdir}'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
767 sysconfdir='${prefix}/etc'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
768 sharedstatedir='${prefix}/com'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
769 localstatedir='${prefix}/var'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
770 includedir='${prefix}/include'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
771 oldincludedir='/usr/include'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
772 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
773 infodir='${datarootdir}/info'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
774 htmldir='${docdir}'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
775 dvidir='${docdir}'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
776 pdfdir='${docdir}'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
777 psdir='${docdir}'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
778 libdir='${exec_prefix}/lib'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
779 localedir='${datarootdir}/locale'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
780 mandir='${datarootdir}/man'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
781
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
782 ac_prev=
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
783 ac_dashdash=
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
784 for ac_option
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
785 do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
786 # If the previous option needs an argument, assign it.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
787 if test -n "$ac_prev"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
788 eval $ac_prev=\$ac_option
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
789 ac_prev=
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
790 continue
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
791 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
792
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
793 case $ac_option in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
794 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
795 *=) ac_optarg= ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
796 *) ac_optarg=yes ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
797 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
798
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
799 # Accept the important Cygnus configure options, so we can diagnose typos.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
800
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
801 case $ac_dashdash$ac_option in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
802 --)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
803 ac_dashdash=yes ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
804
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
805 -bindir | --bindir | --bindi | --bind | --bin | --bi)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
806 ac_prev=bindir ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
807 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
808 bindir=$ac_optarg ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
809
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
810 -build | --build | --buil | --bui | --bu)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
811 ac_prev=build_alias ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
812 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
813 build_alias=$ac_optarg ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
814
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
815 -cache-file | --cache-file | --cache-fil | --cache-fi \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
816 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
817 ac_prev=cache_file ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
818 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
819 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
820 cache_file=$ac_optarg ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
821
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
822 --config-cache | -C)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
823 cache_file=config.cache ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
824
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
825 -datadir | --datadir | --datadi | --datad)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
826 ac_prev=datadir ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
827 -datadir=* | --datadir=* | --datadi=* | --datad=*)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
828 datadir=$ac_optarg ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
829
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
830 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
831 | --dataroo | --dataro | --datar)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
832 ac_prev=datarootdir ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
833 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
834 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
835 datarootdir=$ac_optarg ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
836
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
837 -disable-* | --disable-*)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
838 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
839 # Reject names that are not valid shell variable names.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
840 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
841 as_fn_error $? "invalid feature name: $ac_useropt"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
842 ac_useropt_orig=$ac_useropt
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
843 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
844 case $ac_user_opts in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
845 *"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
846 "enable_$ac_useropt"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
847 "*) ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
848 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
849 ac_unrecognized_sep=', ';;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
850 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
851 eval enable_$ac_useropt=no ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
852
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
853 -docdir | --docdir | --docdi | --doc | --do)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
854 ac_prev=docdir ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
855 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
856 docdir=$ac_optarg ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
857
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
858 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
859 ac_prev=dvidir ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
860 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
861 dvidir=$ac_optarg ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
862
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
863 -enable-* | --enable-*)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
864 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
865 # Reject names that are not valid shell variable names.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
866 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
867 as_fn_error $? "invalid feature name: $ac_useropt"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
868 ac_useropt_orig=$ac_useropt
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
869 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
870 case $ac_user_opts in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
871 *"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
872 "enable_$ac_useropt"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
873 "*) ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
874 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
875 ac_unrecognized_sep=', ';;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
876 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
877 eval enable_$ac_useropt=\$ac_optarg ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
878
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
879 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
880 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
881 | --exec | --exe | --ex)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
882 ac_prev=exec_prefix ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
883 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
884 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
885 | --exec=* | --exe=* | --ex=*)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
886 exec_prefix=$ac_optarg ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
887
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
888 -gas | --gas | --ga | --g)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
889 # Obsolete; use --with-gas.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
890 with_gas=yes ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
891
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
892 -help | --help | --hel | --he | -h)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
893 ac_init_help=long ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
894 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
895 ac_init_help=recursive ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
896 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
897 ac_init_help=short ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
898
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
899 -host | --host | --hos | --ho)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
900 ac_prev=host_alias ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
901 -host=* | --host=* | --hos=* | --ho=*)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
902 host_alias=$ac_optarg ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
903
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
904 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
905 ac_prev=htmldir ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
906 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
907 | --ht=*)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
908 htmldir=$ac_optarg ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
909
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
910 -includedir | --includedir | --includedi | --included | --include \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
911 | --includ | --inclu | --incl | --inc)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
912 ac_prev=includedir ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
913 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
914 | --includ=* | --inclu=* | --incl=* | --inc=*)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
915 includedir=$ac_optarg ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
916
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
917 -infodir | --infodir | --infodi | --infod | --info | --inf)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
918 ac_prev=infodir ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
919 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
920 infodir=$ac_optarg ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
921
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
922 -libdir | --libdir | --libdi | --libd)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
923 ac_prev=libdir ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
924 -libdir=* | --libdir=* | --libdi=* | --libd=*)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
925 libdir=$ac_optarg ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
926
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
927 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
928 | --libexe | --libex | --libe)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
929 ac_prev=libexecdir ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
930 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
931 | --libexe=* | --libex=* | --libe=*)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
932 libexecdir=$ac_optarg ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
933
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
934 -localedir | --localedir | --localedi | --localed | --locale)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
935 ac_prev=localedir ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
936 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
937 localedir=$ac_optarg ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
938
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
939 -localstatedir | --localstatedir | --localstatedi | --localstated \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
940 | --localstate | --localstat | --localsta | --localst | --locals)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
941 ac_prev=localstatedir ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
942 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
943 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
944 localstatedir=$ac_optarg ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
945
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
946 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
947 ac_prev=mandir ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
948 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
949 mandir=$ac_optarg ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
950
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
951 -nfp | --nfp | --nf)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
952 # Obsolete; use --without-fp.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
953 with_fp=no ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
954
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
955 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
956 | --no-cr | --no-c | -n)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
957 no_create=yes ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
958
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
959 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
960 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
961 no_recursion=yes ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
962
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
963 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
964 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
965 | --oldin | --oldi | --old | --ol | --o)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
966 ac_prev=oldincludedir ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
967 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
968 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
969 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
970 oldincludedir=$ac_optarg ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
971
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
972 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
973 ac_prev=prefix ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
974 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
975 prefix=$ac_optarg ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
976
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
977 -program-prefix | --program-prefix | --program-prefi | --program-pref \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
978 | --program-pre | --program-pr | --program-p)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
979 ac_prev=program_prefix ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
980 -program-prefix=* | --program-prefix=* | --program-prefi=* \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
981 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
982 program_prefix=$ac_optarg ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
983
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
984 -program-suffix | --program-suffix | --program-suffi | --program-suff \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
985 | --program-suf | --program-su | --program-s)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
986 ac_prev=program_suffix ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
987 -program-suffix=* | --program-suffix=* | --program-suffi=* \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
988 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
989 program_suffix=$ac_optarg ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
990
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
991 -program-transform-name | --program-transform-name \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
992 | --program-transform-nam | --program-transform-na \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
993 | --program-transform-n | --program-transform- \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
994 | --program-transform | --program-transfor \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
995 | --program-transfo | --program-transf \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
996 | --program-trans | --program-tran \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
997 | --progr-tra | --program-tr | --program-t)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
998 ac_prev=program_transform_name ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
999 -program-transform-name=* | --program-transform-name=* \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1000 | --program-transform-nam=* | --program-transform-na=* \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1001 | --program-transform-n=* | --program-transform-=* \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1002 | --program-transform=* | --program-transfor=* \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1003 | --program-transfo=* | --program-transf=* \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1004 | --program-trans=* | --program-tran=* \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1005 | --progr-tra=* | --program-tr=* | --program-t=*)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1006 program_transform_name=$ac_optarg ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1007
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1008 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1009 ac_prev=pdfdir ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1010 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1011 pdfdir=$ac_optarg ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1012
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1013 -psdir | --psdir | --psdi | --psd | --ps)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1014 ac_prev=psdir ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1015 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1016 psdir=$ac_optarg ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1017
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1018 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1019 | -silent | --silent | --silen | --sile | --sil)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1020 silent=yes ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1021
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1022 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1023 ac_prev=sbindir ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1024 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1025 | --sbi=* | --sb=*)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1026 sbindir=$ac_optarg ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1027
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1028 -sharedstatedir | --sharedstatedir | --sharedstatedi \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1029 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1030 | --sharedst | --shareds | --shared | --share | --shar \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1031 | --sha | --sh)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1032 ac_prev=sharedstatedir ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1033 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1034 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1035 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1036 | --sha=* | --sh=*)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1037 sharedstatedir=$ac_optarg ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1038
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1039 -site | --site | --sit)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1040 ac_prev=site ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1041 -site=* | --site=* | --sit=*)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1042 site=$ac_optarg ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1043
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1044 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1045 ac_prev=srcdir ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1046 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1047 srcdir=$ac_optarg ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1048
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1049 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1050 | --syscon | --sysco | --sysc | --sys | --sy)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1051 ac_prev=sysconfdir ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1052 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1053 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1054 sysconfdir=$ac_optarg ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1055
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1056 -target | --target | --targe | --targ | --tar | --ta | --t)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1057 ac_prev=target_alias ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1058 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1059 target_alias=$ac_optarg ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1060
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1061 -v | -verbose | --verbose | --verbos | --verbo | --verb)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1062 verbose=yes ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1063
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1064 -version | --version | --versio | --versi | --vers | -V)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1065 ac_init_version=: ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1066
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1067 -with-* | --with-*)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1068 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1069 # Reject names that are not valid shell variable names.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1070 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1071 as_fn_error $? "invalid package name: $ac_useropt"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1072 ac_useropt_orig=$ac_useropt
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1073 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1074 case $ac_user_opts in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1075 *"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1076 "with_$ac_useropt"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1077 "*) ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1078 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1079 ac_unrecognized_sep=', ';;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1080 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1081 eval with_$ac_useropt=\$ac_optarg ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1082
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1083 -without-* | --without-*)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1084 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1085 # Reject names that are not valid shell variable names.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1086 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1087 as_fn_error $? "invalid package name: $ac_useropt"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1088 ac_useropt_orig=$ac_useropt
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1089 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1090 case $ac_user_opts in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1091 *"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1092 "with_$ac_useropt"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1093 "*) ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1094 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1095 ac_unrecognized_sep=', ';;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1096 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1097 eval with_$ac_useropt=no ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1098
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1099 --x)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1100 # Obsolete; use --with-x.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1101 with_x=yes ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1102
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1103 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1104 | --x-incl | --x-inc | --x-in | --x-i)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1105 ac_prev=x_includes ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1106 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1107 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1108 x_includes=$ac_optarg ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1109
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1110 -x-libraries | --x-libraries | --x-librarie | --x-librari \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1111 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1112 ac_prev=x_libraries ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1113 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1114 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1115 x_libraries=$ac_optarg ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1116
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1117 -*) as_fn_error $? "unrecognized option: \`$ac_option'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1118 Try \`$0 --help' for more information"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1119 ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1120
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1121 *=*)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1122 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1123 # Reject names that are not valid shell variable names.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1124 case $ac_envvar in #(
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1125 '' | [0-9]* | *[!_$as_cr_alnum]* )
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1126 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1127 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1128 eval $ac_envvar=\$ac_optarg
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1129 export $ac_envvar ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1130
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1131 *)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1132 # FIXME: should be removed in autoconf 3.0.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1133 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1134 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1135 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1136 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1137 ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1138
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1139 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1140 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1141
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1142 if test -n "$ac_prev"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1143 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1144 as_fn_error $? "missing argument to $ac_option"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1145 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1146
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1147 if test -n "$ac_unrecognized_opts"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1148 case $enable_option_checking in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1149 no) ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1150 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1151 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1152 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1153 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1154
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1155 # Check all directory arguments for consistency.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1156 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1157 datadir sysconfdir sharedstatedir localstatedir includedir \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1158 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1159 libdir localedir mandir
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1160 do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1161 eval ac_val=\$$ac_var
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1162 # Remove trailing slashes.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1163 case $ac_val in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1164 */ )
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1165 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1166 eval $ac_var=\$ac_val;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1167 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1168 # Be sure to have absolute directory names.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1169 case $ac_val in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1170 [\\/$]* | ?:[\\/]* ) continue;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1171 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1172 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1173 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1174 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1175
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1176 # There might be people who depend on the old broken behavior: `$host'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1177 # used to hold the argument of --host etc.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1178 # FIXME: To remove some day.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1179 build=$build_alias
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1180 host=$host_alias
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1181 target=$target_alias
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1182
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1183 # FIXME: To remove some day.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1184 if test "x$host_alias" != x; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1185 if test "x$build_alias" = x; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1186 cross_compiling=maybe
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1187 elif test "x$build_alias" != "x$host_alias"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1188 cross_compiling=yes
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1189 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1190 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1191
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1192 ac_tool_prefix=
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1193 test -n "$host_alias" && ac_tool_prefix=$host_alias-
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1194
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1195 test "$silent" = yes && exec 6>/dev/null
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1196
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1197
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1198 ac_pwd=`pwd` && test -n "$ac_pwd" &&
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1199 ac_ls_di=`ls -di .` &&
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1200 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1201 as_fn_error $? "working directory cannot be determined"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1202 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1203 as_fn_error $? "pwd does not report name of working directory"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1204
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1205
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1206 # Find the source files, if location was not specified.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1207 if test -z "$srcdir"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1208 ac_srcdir_defaulted=yes
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1209 # Try the directory containing this script, then the parent directory.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1210 ac_confdir=`$as_dirname -- "$as_myself" ||
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1211 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1212 X"$as_myself" : 'X\(//\)[^/]' \| \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1213 X"$as_myself" : 'X\(//\)$' \| \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1214 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1215 $as_echo X"$as_myself" |
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1216 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1217 s//\1/
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1218 q
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1219 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1220 /^X\(\/\/\)[^/].*/{
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1221 s//\1/
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1222 q
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1223 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1224 /^X\(\/\/\)$/{
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1225 s//\1/
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1226 q
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1227 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1228 /^X\(\/\).*/{
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1229 s//\1/
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1230 q
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1231 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1232 s/.*/./; q'`
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1233 srcdir=$ac_confdir
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1234 if test ! -r "$srcdir/$ac_unique_file"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1235 srcdir=..
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1236 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1237 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1238 ac_srcdir_defaulted=no
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1239 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1240 if test ! -r "$srcdir/$ac_unique_file"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1241 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1242 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1243 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1244 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1245 ac_abs_confdir=`(
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1246 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1247 pwd)`
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1248 # When building in place, set srcdir=.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1249 if test "$ac_abs_confdir" = "$ac_pwd"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1250 srcdir=.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1251 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1252 # Remove unnecessary trailing slashes from srcdir.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1253 # Double slashes in file names in object file debugging info
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1254 # mess up M-x gdb in Emacs.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1255 case $srcdir in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1256 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1257 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1258 for ac_var in $ac_precious_vars; do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1259 eval ac_env_${ac_var}_set=\${${ac_var}+set}
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1260 eval ac_env_${ac_var}_value=\$${ac_var}
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1261 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1262 eval ac_cv_env_${ac_var}_value=\$${ac_var}
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1263 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1264
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1265 #
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1266 # Report the --help message.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1267 #
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1268 if test "$ac_init_help" = "long"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1269 # Omit some internal or obsolete options to make the list less imposing.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1270 # This message is too long to be a string in the A/UX 3.1 sh.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1271 cat <<_ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1272 \`configure' configures cline 1.1 to adapt to many kinds of systems.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1273
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1274 Usage: $0 [OPTION]... [VAR=VALUE]...
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1275
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1276 To assign environment variables (e.g., CC, CFLAGS...), specify them as
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1277 VAR=VALUE. See below for descriptions of some of the useful variables.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1278
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1279 Defaults for the options are specified in brackets.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1280
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1281 Configuration:
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1282 -h, --help display this help and exit
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1283 --help=short display options specific to this package
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1284 --help=recursive display the short help of all the included packages
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1285 -V, --version display version information and exit
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1286 -q, --quiet, --silent do not print \`checking ...' messages
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1287 --cache-file=FILE cache test results in FILE [disabled]
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1288 -C, --config-cache alias for \`--cache-file=config.cache'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1289 -n, --no-create do not create output files
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1290 --srcdir=DIR find the sources in DIR [configure dir or \`..']
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1291
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1292 Installation directories:
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1293 --prefix=PREFIX install architecture-independent files in PREFIX
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1294 [$ac_default_prefix]
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1295 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1296 [PREFIX]
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1297
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1298 By default, \`make install' will install all the files in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1299 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1300 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1301 for instance \`--prefix=\$HOME'.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1302
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1303 For better control, use the options below.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1304
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1305 Fine tuning of the installation directories:
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1306 --bindir=DIR user executables [EPREFIX/bin]
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1307 --sbindir=DIR system admin executables [EPREFIX/sbin]
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1308 --libexecdir=DIR program executables [EPREFIX/libexec]
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1309 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1310 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1311 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1312 --libdir=DIR object code libraries [EPREFIX/lib]
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1313 --includedir=DIR C header files [PREFIX/include]
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1314 --oldincludedir=DIR C header files for non-gcc [/usr/include]
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1315 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1316 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1317 --infodir=DIR info documentation [DATAROOTDIR/info]
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1318 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1319 --mandir=DIR man documentation [DATAROOTDIR/man]
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1320 --docdir=DIR documentation root [DATAROOTDIR/doc/cline]
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1321 --htmldir=DIR html documentation [DOCDIR]
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1322 --dvidir=DIR dvi documentation [DOCDIR]
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1323 --pdfdir=DIR pdf documentation [DOCDIR]
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1324 --psdir=DIR ps documentation [DOCDIR]
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1325 _ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1326
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1327 cat <<\_ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1328
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1329 Program names:
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1330 --program-prefix=PREFIX prepend PREFIX to installed program names
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1331 --program-suffix=SUFFIX append SUFFIX to installed program names
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1332 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1333 _ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1334 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1335
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1336 if test -n "$ac_init_help"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1337 case $ac_init_help in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1338 short | recursive ) echo "Configuration of cline 1.1:";;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1339 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1340 cat <<\_ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1341
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1342 Optional Features:
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1343 --disable-option-checking ignore unrecognized --enable/--with options
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1344 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1345 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1346 --enable-silent-rules less verbose build output (undo: "make V=1")
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1347 --disable-silent-rules verbose build output (undo: "make V=0")
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1348 --enable-debug Turn on debugging
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1349 --enable-dependency-tracking
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1350 do not reject slow dependency extractors
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1351 --disable-dependency-tracking
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1352 speeds up one-time build
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1353
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1354 Some influential environment variables:
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1355 CC C compiler command
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1356 CFLAGS C compiler flags
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1357 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1358 nonstandard directory <lib dir>
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1359 LIBS libraries to pass to the linker, e.g. -l<library>
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1360 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1361 you have headers in a nonstandard directory <include dir>
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1362 CPP C preprocessor
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1363
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1364 Use these variables to override the choices made by `configure' or to help
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1365 it to find libraries and programs with nonstandard names/locations.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1366
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1367 Report bugs to <universe@uap-core.de>.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1368 _ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1369 ac_status=$?
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1370 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1371
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1372 if test "$ac_init_help" = "recursive"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1373 # If there are subdirs, report their specific --help.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1374 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1375 test -d "$ac_dir" ||
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1376 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1377 continue
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1378 ac_builddir=.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1379
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1380 case "$ac_dir" in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1381 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1382 *)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1383 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1384 # A ".." for each directory in $ac_dir_suffix.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1385 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1386 case $ac_top_builddir_sub in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1387 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1388 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1389 esac ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1390 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1391 ac_abs_top_builddir=$ac_pwd
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1392 ac_abs_builddir=$ac_pwd$ac_dir_suffix
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1393 # for backward compatibility:
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1394 ac_top_builddir=$ac_top_build_prefix
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1395
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1396 case $srcdir in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1397 .) # We are building in place.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1398 ac_srcdir=.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1399 ac_top_srcdir=$ac_top_builddir_sub
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1400 ac_abs_top_srcdir=$ac_pwd ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1401 [\\/]* | ?:[\\/]* ) # Absolute name.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1402 ac_srcdir=$srcdir$ac_dir_suffix;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1403 ac_top_srcdir=$srcdir
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1404 ac_abs_top_srcdir=$srcdir ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1405 *) # Relative name.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1406 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1407 ac_top_srcdir=$ac_top_build_prefix$srcdir
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1408 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1409 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1410 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1411
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1412 cd "$ac_dir" || { ac_status=$?; continue; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1413 # Check for guested configure.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1414 if test -f "$ac_srcdir/configure.gnu"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1415 echo &&
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1416 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1417 elif test -f "$ac_srcdir/configure"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1418 echo &&
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1419 $SHELL "$ac_srcdir/configure" --help=recursive
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1420 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1421 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1422 fi || ac_status=$?
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1423 cd "$ac_pwd" || { ac_status=$?; break; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1424 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1425 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1426
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1427 test -n "$ac_init_help" && exit $ac_status
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1428 if $ac_init_version; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1429 cat <<\_ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1430 cline configure 1.1
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1431 generated by GNU Autoconf 2.69
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1432
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1433 Copyright (C) 2012 Free Software Foundation, Inc.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1434 This configure script is free software; the Free Software Foundation
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1435 gives unlimited permission to copy, distribute and modify it.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1436 _ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1437 exit
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1438 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1439
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1440 ## ------------------------ ##
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1441 ## Autoconf initialization. ##
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1442 ## ------------------------ ##
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1443
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1444 # ac_fn_c_try_compile LINENO
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1445 # --------------------------
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1446 # Try to compile conftest.$ac_ext, and return whether this succeeded.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1447 ac_fn_c_try_compile ()
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1448 {
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1449 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1450 rm -f conftest.$ac_objext
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1451 if { { ac_try="$ac_compile"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1452 case "(($ac_try" in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1454 *) ac_try_echo=$ac_try;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1455 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1456 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1457 $as_echo "$ac_try_echo"; } >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1458 (eval "$ac_compile") 2>conftest.err
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1459 ac_status=$?
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1460 if test -s conftest.err; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1461 grep -v '^ *+' conftest.err >conftest.er1
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1462 cat conftest.er1 >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1463 mv -f conftest.er1 conftest.err
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1464 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1465 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1466 test $ac_status = 0; } && {
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1467 test -z "$ac_c_werror_flag" ||
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1468 test ! -s conftest.err
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1469 } && test -s conftest.$ac_objext; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1470 ac_retval=0
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1471 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1472 $as_echo "$as_me: failed program was:" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1473 sed 's/^/| /' conftest.$ac_ext >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1474
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1475 ac_retval=1
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1476 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1477 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1478 as_fn_set_status $ac_retval
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1479
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1480 } # ac_fn_c_try_compile
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1481
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1482 # ac_fn_c_try_cpp LINENO
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1483 # ----------------------
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1484 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1485 ac_fn_c_try_cpp ()
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1486 {
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1487 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1488 if { { ac_try="$ac_cpp conftest.$ac_ext"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1489 case "(($ac_try" in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1491 *) ac_try_echo=$ac_try;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1492 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1493 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1494 $as_echo "$ac_try_echo"; } >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1495 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1496 ac_status=$?
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1497 if test -s conftest.err; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1498 grep -v '^ *+' conftest.err >conftest.er1
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1499 cat conftest.er1 >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1500 mv -f conftest.er1 conftest.err
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1501 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1502 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1503 test $ac_status = 0; } > conftest.i && {
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1504 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1505 test ! -s conftest.err
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1506 }; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1507 ac_retval=0
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1508 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1509 $as_echo "$as_me: failed program was:" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1510 sed 's/^/| /' conftest.$ac_ext >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1511
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1512 ac_retval=1
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1513 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1514 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1515 as_fn_set_status $ac_retval
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1516
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1517 } # ac_fn_c_try_cpp
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1518
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1519 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1520 # -------------------------------------------------------
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1521 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1522 # the include files in INCLUDES and setting the cache variable VAR
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1523 # accordingly.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1524 ac_fn_c_check_header_mongrel ()
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1525 {
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1526 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1527 if eval \${$3+:} false; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1529 $as_echo_n "checking for $2... " >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1530 if eval \${$3+:} false; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1531 $as_echo_n "(cached) " >&6
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1532 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1533 eval ac_res=\$$3
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1535 $as_echo "$ac_res" >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1536 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1537 # Is the header compilable?
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1539 $as_echo_n "checking $2 usability... " >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1541 /* end confdefs.h. */
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1542 $4
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1543 #include <$2>
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1544 _ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1545 if ac_fn_c_try_compile "$LINENO"; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1546 ac_header_compiler=yes
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1547 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1548 ac_header_compiler=no
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1549 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1552 $as_echo "$ac_header_compiler" >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1553
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1554 # Is the header present?
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1556 $as_echo_n "checking $2 presence... " >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1558 /* end confdefs.h. */
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1559 #include <$2>
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1560 _ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1561 if ac_fn_c_try_cpp "$LINENO"; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1562 ac_header_preproc=yes
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1563 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1564 ac_header_preproc=no
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1565 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1566 rm -f conftest.err conftest.i conftest.$ac_ext
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1568 $as_echo "$ac_header_preproc" >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1569
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1570 # So? What about this header?
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1571 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1572 yes:no: )
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1573 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1574 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1575 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1576 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1577 ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1578 no:yes:* )
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1579 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1580 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1581 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1582 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1583 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1584 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1585 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1586 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1587 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1588 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1589 ( $as_echo "## ----------------------------------- ##
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1590 ## Report this to universe@uap-core.de ##
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1591 ## ----------------------------------- ##"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1592 ) | sed "s/^/$as_me: WARNING: /" >&2
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1593 ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1594 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1596 $as_echo_n "checking for $2... " >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1597 if eval \${$3+:} false; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1598 $as_echo_n "(cached) " >&6
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1599 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1600 eval "$3=\$ac_header_compiler"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1601 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1602 eval ac_res=\$$3
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1604 $as_echo "$ac_res" >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1605 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1606 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1607
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1608 } # ac_fn_c_check_header_mongrel
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1609
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1610 # ac_fn_c_try_run LINENO
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1611 # ----------------------
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1612 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1613 # that executables *can* be run.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1614 ac_fn_c_try_run ()
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1615 {
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1616 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1617 if { { ac_try="$ac_link"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1618 case "(($ac_try" in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1620 *) ac_try_echo=$ac_try;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1621 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1622 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1623 $as_echo "$ac_try_echo"; } >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1624 (eval "$ac_link") 2>&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1625 ac_status=$?
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1626 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1627 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1628 { { case "(($ac_try" in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1630 *) ac_try_echo=$ac_try;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1631 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1632 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1633 $as_echo "$ac_try_echo"; } >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1634 (eval "$ac_try") 2>&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1635 ac_status=$?
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1636 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1637 test $ac_status = 0; }; }; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1638 ac_retval=0
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1639 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1640 $as_echo "$as_me: program exited with status $ac_status" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1641 $as_echo "$as_me: failed program was:" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1642 sed 's/^/| /' conftest.$ac_ext >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1643
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1644 ac_retval=$ac_status
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1645 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1646 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1647 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1648 as_fn_set_status $ac_retval
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1649
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1650 } # ac_fn_c_try_run
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1651
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1652 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1653 # -------------------------------------------------------
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1654 # Tests whether HEADER exists and can be compiled using the include files in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1655 # INCLUDES, setting the cache variable VAR accordingly.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1656 ac_fn_c_check_header_compile ()
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1657 {
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1658 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1660 $as_echo_n "checking for $2... " >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1661 if eval \${$3+:} false; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1662 $as_echo_n "(cached) " >&6
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1663 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1665 /* end confdefs.h. */
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1666 $4
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1667 #include <$2>
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1668 _ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1669 if ac_fn_c_try_compile "$LINENO"; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1670 eval "$3=yes"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1671 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1672 eval "$3=no"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1673 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1675 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1676 eval ac_res=\$$3
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1678 $as_echo "$ac_res" >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1679 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1680
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1681 } # ac_fn_c_check_header_compile
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1682
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1683 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1684 # -------------------------------------------
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1685 # Tests whether TYPE exists after having included INCLUDES, setting cache
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1686 # variable VAR accordingly.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1687 ac_fn_c_check_type ()
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1688 {
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1689 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1691 $as_echo_n "checking for $2... " >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1692 if eval \${$3+:} false; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1693 $as_echo_n "(cached) " >&6
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1694 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1695 eval "$3=no"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1697 /* end confdefs.h. */
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1698 $4
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1699 int
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1700 main ()
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1701 {
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1702 if (sizeof ($2))
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1703 return 0;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1704 ;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1705 return 0;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1706 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1707 _ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1708 if ac_fn_c_try_compile "$LINENO"; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1710 /* end confdefs.h. */
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1711 $4
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1712 int
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1713 main ()
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1714 {
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1715 if (sizeof (($2)))
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1716 return 0;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1717 ;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1718 return 0;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1719 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1720 _ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1721 if ac_fn_c_try_compile "$LINENO"; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1722
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1723 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1724 eval "$3=yes"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1725 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1727 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1729 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1730 eval ac_res=\$$3
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1732 $as_echo "$ac_res" >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1733 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1734
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1735 } # ac_fn_c_check_type
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1736
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1737 # ac_fn_c_try_link LINENO
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1738 # -----------------------
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1739 # Try to link conftest.$ac_ext, and return whether this succeeded.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1740 ac_fn_c_try_link ()
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1741 {
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1742 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1743 rm -f conftest.$ac_objext conftest$ac_exeext
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1744 if { { ac_try="$ac_link"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1745 case "(($ac_try" in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1747 *) ac_try_echo=$ac_try;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1748 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1749 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1750 $as_echo "$ac_try_echo"; } >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1751 (eval "$ac_link") 2>conftest.err
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1752 ac_status=$?
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1753 if test -s conftest.err; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1754 grep -v '^ *+' conftest.err >conftest.er1
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1755 cat conftest.er1 >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1756 mv -f conftest.er1 conftest.err
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1757 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1758 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1759 test $ac_status = 0; } && {
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1760 test -z "$ac_c_werror_flag" ||
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1761 test ! -s conftest.err
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1762 } && test -s conftest$ac_exeext && {
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1763 test "$cross_compiling" = yes ||
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1764 test -x conftest$ac_exeext
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1765 }; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1766 ac_retval=0
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1767 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1768 $as_echo "$as_me: failed program was:" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1769 sed 's/^/| /' conftest.$ac_ext >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1770
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1771 ac_retval=1
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1772 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1773 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1774 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1775 # interfere with the next link command; also delete a directory that is
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1776 # left behind by Apple's compiler. We do this before executing the actions.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1777 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1778 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1779 as_fn_set_status $ac_retval
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1780
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1781 } # ac_fn_c_try_link
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1782
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1783 # ac_fn_c_check_func LINENO FUNC VAR
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1784 # ----------------------------------
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1785 # Tests whether FUNC exists, setting the cache variable VAR accordingly
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1786 ac_fn_c_check_func ()
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1787 {
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1788 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1790 $as_echo_n "checking for $2... " >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1791 if eval \${$3+:} false; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1792 $as_echo_n "(cached) " >&6
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1793 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1795 /* end confdefs.h. */
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1796 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1797 For example, HP-UX 11i <limits.h> declares gettimeofday. */
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1798 #define $2 innocuous_$2
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1799
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1800 /* System header to define __stub macros and hopefully few prototypes,
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1801 which can conflict with char $2 (); below.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1802 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1803 <limits.h> exists even on freestanding compilers. */
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1804
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1805 #ifdef __STDC__
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1806 # include <limits.h>
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1807 #else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1808 # include <assert.h>
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1809 #endif
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1810
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1811 #undef $2
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1812
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1813 /* Override any GCC internal prototype to avoid an error.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1814 Use char because int might match the return type of a GCC
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1815 builtin and then its argument prototype would still apply. */
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1816 #ifdef __cplusplus
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1817 extern "C"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1818 #endif
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1819 char $2 ();
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1820 /* The GNU C library defines this for functions which it implements
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1821 to always fail with ENOSYS. Some functions are actually named
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1822 something starting with __ and the normal name is an alias. */
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1823 #if defined __stub_$2 || defined __stub___$2
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1824 choke me
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1825 #endif
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1826
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1827 int
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1828 main ()
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1829 {
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1830 return $2 ();
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1831 ;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1832 return 0;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1833 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1834 _ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1835 if ac_fn_c_try_link "$LINENO"; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1836 eval "$3=yes"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1837 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1838 eval "$3=no"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1839 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1840 rm -f core conftest.err conftest.$ac_objext \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1841 conftest$ac_exeext conftest.$ac_ext
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1842 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1843 eval ac_res=\$$3
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1845 $as_echo "$ac_res" >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1846 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1847
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1848 } # ac_fn_c_check_func
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1849 cat >config.log <<_ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1850 This file contains any messages produced by compilers while
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1851 running configure, to aid debugging if configure makes a mistake.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1852
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1853 It was created by cline $as_me 1.1, which was
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1854 generated by GNU Autoconf 2.69. Invocation command line was
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1855
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1856 $ $0 $@
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1857
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1858 _ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1859 exec 5>>config.log
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1860 {
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1861 cat <<_ASUNAME
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1862 ## --------- ##
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1863 ## Platform. ##
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1864 ## --------- ##
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1865
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1866 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1867 uname -m = `(uname -m) 2>/dev/null || echo unknown`
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1868 uname -r = `(uname -r) 2>/dev/null || echo unknown`
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1869 uname -s = `(uname -s) 2>/dev/null || echo unknown`
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1870 uname -v = `(uname -v) 2>/dev/null || echo unknown`
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1871
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1872 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1873 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1874
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1875 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1876 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1877 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1878 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1879 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1880 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1881 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1882
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1883 _ASUNAME
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1884
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1886 for as_dir in $PATH
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1887 do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1888 IFS=$as_save_IFS
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1889 test -z "$as_dir" && as_dir=.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1890 $as_echo "PATH: $as_dir"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1891 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1892 IFS=$as_save_IFS
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1893
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1894 } >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1895
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1896 cat >&5 <<_ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1897
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1898
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1899 ## ----------- ##
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1900 ## Core tests. ##
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1901 ## ----------- ##
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1902
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1903 _ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1904
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1905
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1906 # Keep a trace of the command line.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1907 # Strip out --no-create and --no-recursion so they do not pile up.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1908 # Strip out --silent because we don't want to record it for future runs.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1909 # Also quote any args containing shell meta-characters.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1910 # Make two passes to allow for proper duplicate-argument suppression.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1911 ac_configure_args=
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1912 ac_configure_args0=
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1913 ac_configure_args1=
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1914 ac_must_keep_next=false
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1915 for ac_pass in 1 2
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1916 do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1917 for ac_arg
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1918 do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1919 case $ac_arg in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1920 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1921 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1922 | -silent | --silent | --silen | --sile | --sil)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1923 continue ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1924 *\'*)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1925 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1926 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1927 case $ac_pass in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1928 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1929 2)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1930 as_fn_append ac_configure_args1 " '$ac_arg'"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1931 if test $ac_must_keep_next = true; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1932 ac_must_keep_next=false # Got value, back to normal.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1933 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1934 case $ac_arg in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1935 *=* | --config-cache | -C | -disable-* | --disable-* \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1936 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1937 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1938 | -with-* | --with-* | -without-* | --without-* | --x)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1939 case "$ac_configure_args0 " in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1940 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1941 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1942 ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1943 -* ) ac_must_keep_next=true ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1944 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1945 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1946 as_fn_append ac_configure_args " '$ac_arg'"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1947 ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1948 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1949 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1950 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1951 { ac_configure_args0=; unset ac_configure_args0;}
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1952 { ac_configure_args1=; unset ac_configure_args1;}
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1953
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1954 # When interrupted or exit'd, cleanup temporary files, and complete
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1955 # config.log. We remove comments because anyway the quotes in there
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1956 # would cause problems or look ugly.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1957 # WARNING: Use '\'' to represent an apostrophe within the trap.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1958 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1959 trap 'exit_status=$?
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1960 # Save into config.log some information that might help in debugging.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1961 {
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1962 echo
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1963
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1964 $as_echo "## ---------------- ##
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1965 ## Cache variables. ##
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1966 ## ---------------- ##"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1967 echo
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1968 # The following way of writing the cache mishandles newlines in values,
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1969 (
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1970 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1971 eval ac_val=\$$ac_var
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1972 case $ac_val in #(
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1973 *${as_nl}*)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1974 case $ac_var in #(
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1975 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1976 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1977 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1978 case $ac_var in #(
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1979 _ | IFS | as_nl) ;; #(
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1980 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1981 *) { eval $ac_var=; unset $ac_var;} ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1982 esac ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1983 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1984 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1985 (set) 2>&1 |
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1986 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1987 *${as_nl}ac_space=\ *)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1988 sed -n \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1989 "s/'\''/'\''\\\\'\'''\''/g;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1990 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1991 ;; #(
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1992 *)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1993 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1994 ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1995 esac |
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1996 sort
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1997 )
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1998 echo
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1999
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2000 $as_echo "## ----------------- ##
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2001 ## Output variables. ##
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2002 ## ----------------- ##"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2003 echo
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2004 for ac_var in $ac_subst_vars
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2005 do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2006 eval ac_val=\$$ac_var
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2007 case $ac_val in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2008 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2009 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2010 $as_echo "$ac_var='\''$ac_val'\''"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2011 done | sort
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2012 echo
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2013
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2014 if test -n "$ac_subst_files"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2015 $as_echo "## ------------------- ##
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2016 ## File substitutions. ##
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2017 ## ------------------- ##"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2018 echo
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2019 for ac_var in $ac_subst_files
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2020 do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2021 eval ac_val=\$$ac_var
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2022 case $ac_val in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2023 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2024 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2025 $as_echo "$ac_var='\''$ac_val'\''"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2026 done | sort
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2027 echo
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2028 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2029
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2030 if test -s confdefs.h; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2031 $as_echo "## ----------- ##
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2032 ## confdefs.h. ##
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2033 ## ----------- ##"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2034 echo
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2035 cat confdefs.h
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2036 echo
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2037 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2038 test "$ac_signal" != 0 &&
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2039 $as_echo "$as_me: caught signal $ac_signal"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2040 $as_echo "$as_me: exit $exit_status"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2041 } >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2042 rm -f core *.core core.conftest.* &&
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2043 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2044 exit $exit_status
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2045 ' 0
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2046 for ac_signal in 1 2 13 15; do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2047 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2048 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2049 ac_signal=0
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2050
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2051 # confdefs.h avoids OS command line length limits that DEFS can exceed.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2052 rm -f -r conftest* confdefs.h
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2053
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2054 $as_echo "/* confdefs.h */" > confdefs.h
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2055
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2056 # Predefined preprocessor variables.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2057
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2058 cat >>confdefs.h <<_ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2059 #define PACKAGE_NAME "$PACKAGE_NAME"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2060 _ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2061
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2062 cat >>confdefs.h <<_ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2063 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2064 _ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2065
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2066 cat >>confdefs.h <<_ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2067 #define PACKAGE_VERSION "$PACKAGE_VERSION"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2068 _ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2069
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2070 cat >>confdefs.h <<_ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2071 #define PACKAGE_STRING "$PACKAGE_STRING"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2072 _ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2073
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2074 cat >>confdefs.h <<_ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2075 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2076 _ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2077
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2078 cat >>confdefs.h <<_ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2079 #define PACKAGE_URL "$PACKAGE_URL"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2080 _ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2081
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2082
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2083 # Let the site file select an alternate cache file if it wants to.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2084 # Prefer an explicitly selected file to automatically selected ones.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2085 ac_site_file1=NONE
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2086 ac_site_file2=NONE
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2087 if test -n "$CONFIG_SITE"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2088 # We do not want a PATH search for config.site.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2089 case $CONFIG_SITE in #((
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2090 -*) ac_site_file1=./$CONFIG_SITE;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2091 */*) ac_site_file1=$CONFIG_SITE;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2092 *) ac_site_file1=./$CONFIG_SITE;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2093 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2094 elif test "x$prefix" != xNONE; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2095 ac_site_file1=$prefix/share/config.site
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2096 ac_site_file2=$prefix/etc/config.site
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2097 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2098 ac_site_file1=$ac_default_prefix/share/config.site
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2099 ac_site_file2=$ac_default_prefix/etc/config.site
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2100 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2101 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2102 do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2103 test "x$ac_site_file" = xNONE && continue
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2104 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2105 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2106 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2107 sed 's/^/| /' "$ac_site_file" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2108 . "$ac_site_file" \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2109 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2110 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2111 as_fn_error $? "failed to load site script $ac_site_file
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2112 See \`config.log' for more details" "$LINENO" 5; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2113 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2114 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2115
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2116 if test -r "$cache_file"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2117 # Some versions of bash will fail to source /dev/null (special files
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2118 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2119 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2120 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2121 $as_echo "$as_me: loading cache $cache_file" >&6;}
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2122 case $cache_file in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2123 [\\/]* | ?:[\\/]* ) . "$cache_file";;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2124 *) . "./$cache_file";;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2125 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2126 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2127 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2128 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2129 $as_echo "$as_me: creating cache $cache_file" >&6;}
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2130 >$cache_file
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2131 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2132
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2133 # Check that the precious variables saved in the cache have kept the same
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2134 # value.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2135 ac_cache_corrupted=false
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2136 for ac_var in $ac_precious_vars; do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2137 eval ac_old_set=\$ac_cv_env_${ac_var}_set
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2138 eval ac_new_set=\$ac_env_${ac_var}_set
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2139 eval ac_old_val=\$ac_cv_env_${ac_var}_value
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2140 eval ac_new_val=\$ac_env_${ac_var}_value
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2141 case $ac_old_set,$ac_new_set in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2142 set,)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2143 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2144 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2145 ac_cache_corrupted=: ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2146 ,set)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2147 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2148 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2149 ac_cache_corrupted=: ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2150 ,);;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2151 *)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2152 if test "x$ac_old_val" != "x$ac_new_val"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2153 # differences in whitespace do not lead to failure.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2154 ac_old_val_w=`echo x $ac_old_val`
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2155 ac_new_val_w=`echo x $ac_new_val`
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2156 if test "$ac_old_val_w" != "$ac_new_val_w"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2157 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2158 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2159 ac_cache_corrupted=:
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2160 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2161 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2162 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2163 eval $ac_var=\$ac_old_val
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2164 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2165 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2166 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2167 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2168 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2169 fi;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2170 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2171 # Pass precious variables to config.status.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2172 if test "$ac_new_set" = set; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2173 case $ac_new_val in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2174 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2175 *) ac_arg=$ac_var=$ac_new_val ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2176 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2177 case " $ac_configure_args " in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2178 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2179 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2180 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2181 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2182 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2183 if $ac_cache_corrupted; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2184 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2185 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2186 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2187 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2188 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2189 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2190 ## -------------------- ##
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2191 ## Main body of script. ##
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2192 ## -------------------- ##
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2193
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2194 ac_ext=c
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2195 ac_cpp='$CPP $CPPFLAGS'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2199
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2200
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2201
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2202 ac_config_headers="$ac_config_headers config.h"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2203
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2204 am__api_version='1.13'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2205
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2206 ac_aux_dir=
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2207 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2208 if test -f "$ac_dir/install-sh"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2209 ac_aux_dir=$ac_dir
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2210 ac_install_sh="$ac_aux_dir/install-sh -c"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2211 break
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2212 elif test -f "$ac_dir/install.sh"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2213 ac_aux_dir=$ac_dir
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2214 ac_install_sh="$ac_aux_dir/install.sh -c"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2215 break
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2216 elif test -f "$ac_dir/shtool"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2217 ac_aux_dir=$ac_dir
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2218 ac_install_sh="$ac_aux_dir/shtool install -c"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2219 break
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2220 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2221 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2222 if test -z "$ac_aux_dir"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2223 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2224 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2225
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2226 # These three variables are undocumented and unsupported,
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2227 # and are intended to be withdrawn in a future Autoconf release.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2228 # They can cause serious problems if a builder's source tree is in a directory
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2229 # whose full name contains unusual characters.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2230 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2231 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2232 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2233
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2234
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2235 # Find a good install program. We prefer a C program (faster),
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2236 # so one script is as good as another. But avoid the broken or
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2237 # incompatible versions:
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2238 # SysV /etc/install, /usr/sbin/install
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2239 # SunOS /usr/etc/install
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2240 # IRIX /sbin/install
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2241 # AIX /bin/install
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2242 # AmigaOS /C/install, which installs bootblocks on floppy discs
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2243 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2244 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2245 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2246 # OS/2's system install, which has a completely different semantic
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2247 # ./install, which can be erroneously created by make from ./install.sh.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2248 # Reject install programs that cannot install multiple files.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2250 $as_echo_n "checking for a BSD-compatible install... " >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2251 if test -z "$INSTALL"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2252 if ${ac_cv_path_install+:} false; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2253 $as_echo_n "(cached) " >&6
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2254 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2256 for as_dir in $PATH
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2257 do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2258 IFS=$as_save_IFS
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2259 test -z "$as_dir" && as_dir=.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2260 # Account for people who put trailing slashes in PATH elements.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2261 case $as_dir/ in #((
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2262 ./ | .// | /[cC]/* | \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2263 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2264 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2265 /usr/ucb/* ) ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2266 *)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2267 # OSF1 and SCO ODT 3.0 have their own names for install.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2268 # Don't use installbsd from OSF since it installs stuff as root
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2269 # by default.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2270 for ac_prog in ginstall scoinst install; do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2271 for ac_exec_ext in '' $ac_executable_extensions; do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2272 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2273 if test $ac_prog = install &&
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2274 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2275 # AIX install. It has an incompatible calling convention.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2276 :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2277 elif test $ac_prog = install &&
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2278 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2279 # program-specific install script used by HP pwplus--don't use.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2280 :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2281 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2282 rm -rf conftest.one conftest.two conftest.dir
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2283 echo one > conftest.one
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2284 echo two > conftest.two
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2285 mkdir conftest.dir
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2286 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2287 test -s conftest.one && test -s conftest.two &&
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2288 test -s conftest.dir/conftest.one &&
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2289 test -s conftest.dir/conftest.two
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2290 then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2291 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2292 break 3
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2293 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2294 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2295 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2296 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2297 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2298 ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2299 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2300
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2301 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2302 IFS=$as_save_IFS
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2303
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2304 rm -rf conftest.one conftest.two conftest.dir
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2305
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2306 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2307 if test "${ac_cv_path_install+set}" = set; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2308 INSTALL=$ac_cv_path_install
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2309 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2310 # As a last resort, use the slow shell script. Don't cache a
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2311 # value for INSTALL within a source directory, because that will
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2312 # break other packages using the cache if that directory is
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2313 # removed, or if the value is a relative name.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2314 INSTALL=$ac_install_sh
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2315 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2316 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2318 $as_echo "$INSTALL" >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2319
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2320 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2321 # It thinks the first close brace ends the variable substitution.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2322 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2323
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2324 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2325
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2326 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2327
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2329 $as_echo_n "checking whether build environment is sane... " >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2330 # Reject unsafe characters in $srcdir or the absolute working directory
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2331 # name. Accept space and tab only in the latter.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2332 am_lf='
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2333 '
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2334 case `pwd` in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2335 *[\\\"\#\$\&\'\`$am_lf]*)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2336 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2337 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2338 case $srcdir in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2339 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2340 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2341 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2342
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2343 # Do 'set' in a subshell so we don't clobber the current shell's
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2344 # arguments. Must try -L first in case configure is actually a
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2345 # symlink; some systems play weird games with the mod time of symlinks
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2346 # (eg FreeBSD returns the mod time of the symlink's containing
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2347 # directory).
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2348 if (
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2349 am_has_slept=no
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2350 for am_try in 1 2; do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2351 echo "timestamp, slept: $am_has_slept" > conftest.file
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2352 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2353 if test "$*" = "X"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2354 # -L didn't work.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2355 set X `ls -t "$srcdir/configure" conftest.file`
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2356 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2357 if test "$*" != "X $srcdir/configure conftest.file" \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2358 && test "$*" != "X conftest.file $srcdir/configure"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2359
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2360 # If neither matched, then we have a broken ls. This can happen
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2361 # if, for instance, CONFIG_SHELL is bash and it inherits a
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2362 # broken ls alias from the environment. This has actually
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2363 # happened. Such a system could not be considered "sane".
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2364 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2365 alias in your environment" "$LINENO" 5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2366 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2367 if test "$2" = conftest.file || test $am_try -eq 2; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2368 break
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2369 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2370 # Just in case.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2371 sleep 1
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2372 am_has_slept=yes
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2373 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2374 test "$2" = conftest.file
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2375 )
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2376 then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2377 # Ok.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2378 :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2379 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2380 as_fn_error $? "newly created file is older than distributed files!
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2381 Check your system clock" "$LINENO" 5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2382 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2384 $as_echo "yes" >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2385 # If we didn't sleep, we still need to ensure time stamps of config.status and
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2386 # generated files are strictly newer.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2387 am_sleep_pid=
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2388 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2389 ( sleep 1 ) &
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2390 am_sleep_pid=$!
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2391 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2392
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2393 rm -f conftest.file
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2394
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2395 test "$program_prefix" != NONE &&
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2396 program_transform_name="s&^&$program_prefix&;$program_transform_name"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2397 # Use a double $ so make ignores it.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2398 test "$program_suffix" != NONE &&
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2399 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2400 # Double any \ or $.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2401 # By default was `s,x,x', remove it if useless.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2402 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2403 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2404
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2405 # expand $ac_aux_dir to an absolute path
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2406 am_aux_dir=`cd $ac_aux_dir && pwd`
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2407
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2408 if test x"${MISSING+set}" != xset; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2409 case $am_aux_dir in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2410 *\ * | *\ *)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2411 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2412 *)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2413 MISSING="\${SHELL} $am_aux_dir/missing" ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2414 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2415 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2416 # Use eval to expand $SHELL
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2417 if eval "$MISSING --is-lightweight"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2418 am_missing_run="$MISSING "
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2419 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2420 am_missing_run=
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2421 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2422 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2423 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2424
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2425 if test x"${install_sh}" != xset; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2426 case $am_aux_dir in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2427 *\ * | *\ *)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2428 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2429 *)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2430 install_sh="\${SHELL} $am_aux_dir/install-sh"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2431 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2432 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2433
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2434 # Installed binaries are usually stripped using 'strip' when the user
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2435 # run "make install-strip". However 'strip' might not be the right
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2436 # tool to use in cross-compilation environments, therefore Automake
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2437 # will honor the 'STRIP' environment variable to overrule this program.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2438 if test "$cross_compiling" != no; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2439 if test -n "$ac_tool_prefix"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2440 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2441 set dummy ${ac_tool_prefix}strip; ac_word=$2
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2443 $as_echo_n "checking for $ac_word... " >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2444 if ${ac_cv_prog_STRIP+:} false; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2445 $as_echo_n "(cached) " >&6
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2446 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2447 if test -n "$STRIP"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2448 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2449 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2451 for as_dir in $PATH
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2452 do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2453 IFS=$as_save_IFS
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2454 test -z "$as_dir" && as_dir=.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2455 for ac_exec_ext in '' $ac_executable_extensions; do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2456 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2457 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2458 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2459 break 2
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2460 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2461 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2462 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2463 IFS=$as_save_IFS
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2464
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2465 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2466 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2467 STRIP=$ac_cv_prog_STRIP
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2468 if test -n "$STRIP"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2470 $as_echo "$STRIP" >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2471 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2473 $as_echo "no" >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2474 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2475
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2476
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2477 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2478 if test -z "$ac_cv_prog_STRIP"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2479 ac_ct_STRIP=$STRIP
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2480 # Extract the first word of "strip", so it can be a program name with args.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2481 set dummy strip; ac_word=$2
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2483 $as_echo_n "checking for $ac_word... " >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2484 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2485 $as_echo_n "(cached) " >&6
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2486 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2487 if test -n "$ac_ct_STRIP"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2488 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2489 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2491 for as_dir in $PATH
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2492 do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2493 IFS=$as_save_IFS
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2494 test -z "$as_dir" && as_dir=.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2495 for ac_exec_ext in '' $ac_executable_extensions; do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2496 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2497 ac_cv_prog_ac_ct_STRIP="strip"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2498 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2499 break 2
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2500 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2501 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2502 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2503 IFS=$as_save_IFS
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2504
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2505 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2506 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2507 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2508 if test -n "$ac_ct_STRIP"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2510 $as_echo "$ac_ct_STRIP" >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2511 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2513 $as_echo "no" >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2514 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2515
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2516 if test "x$ac_ct_STRIP" = x; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2517 STRIP=":"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2518 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2519 case $cross_compiling:$ac_tool_warned in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2520 yes:)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2521 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2522 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2523 ac_tool_warned=yes ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2524 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2525 STRIP=$ac_ct_STRIP
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2526 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2527 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2528 STRIP="$ac_cv_prog_STRIP"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2529 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2530
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2531 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2532 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2533
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2535 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2536 if test -z "$MKDIR_P"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2537 if ${ac_cv_path_mkdir+:} false; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2538 $as_echo_n "(cached) " >&6
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2539 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2541 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2542 do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2543 IFS=$as_save_IFS
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2544 test -z "$as_dir" && as_dir=.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2545 for ac_prog in mkdir gmkdir; do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2546 for ac_exec_ext in '' $ac_executable_extensions; do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2547 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2548 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2549 'mkdir (GNU coreutils) '* | \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2550 'mkdir (coreutils) '* | \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2551 'mkdir (fileutils) '4.1*)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2552 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2553 break 3;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2554 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2555 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2556 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2557 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2558 IFS=$as_save_IFS
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2559
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2560 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2561
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2562 test -d ./--version && rmdir ./--version
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2563 if test "${ac_cv_path_mkdir+set}" = set; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2564 MKDIR_P="$ac_cv_path_mkdir -p"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2565 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2566 # As a last resort, use the slow shell script. Don't cache a
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2567 # value for MKDIR_P within a source directory, because that will
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2568 # break other packages using the cache if that directory is
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2569 # removed, or if the value is a relative name.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2570 MKDIR_P="$ac_install_sh -d"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2571 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2572 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2574 $as_echo "$MKDIR_P" >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2575
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2576 for ac_prog in gawk mawk nawk awk
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2577 do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2578 # Extract the first word of "$ac_prog", so it can be a program name with args.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2579 set dummy $ac_prog; ac_word=$2
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2581 $as_echo_n "checking for $ac_word... " >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2582 if ${ac_cv_prog_AWK+:} false; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2583 $as_echo_n "(cached) " >&6
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2584 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2585 if test -n "$AWK"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2586 ac_cv_prog_AWK="$AWK" # Let the user override the test.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2587 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2589 for as_dir in $PATH
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2590 do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2591 IFS=$as_save_IFS
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2592 test -z "$as_dir" && as_dir=.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2593 for ac_exec_ext in '' $ac_executable_extensions; do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2594 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2595 ac_cv_prog_AWK="$ac_prog"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2596 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2597 break 2
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2598 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2599 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2600 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2601 IFS=$as_save_IFS
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2602
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2603 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2604 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2605 AWK=$ac_cv_prog_AWK
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2606 if test -n "$AWK"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2608 $as_echo "$AWK" >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2609 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2611 $as_echo "no" >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2612 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2613
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2614
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2615 test -n "$AWK" && break
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2616 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2617
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2619 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2620 set x ${MAKE-make}
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2621 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2622 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2623 $as_echo_n "(cached) " >&6
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2624 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2625 cat >conftest.make <<\_ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2626 SHELL = /bin/sh
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2627 all:
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2628 @echo '@@@%%%=$(MAKE)=@@@%%%'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2629 _ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2630 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2631 case `${MAKE-make} -f conftest.make 2>/dev/null` in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2632 *@@@%%%=?*=@@@%%%*)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2633 eval ac_cv_prog_make_${ac_make}_set=yes;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2634 *)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2635 eval ac_cv_prog_make_${ac_make}_set=no;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2636 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2637 rm -f conftest.make
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2638 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2639 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2641 $as_echo "yes" >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2642 SET_MAKE=
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2643 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2645 $as_echo "no" >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2646 SET_MAKE="MAKE=${MAKE-make}"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2647 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2648
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2649 rm -rf .tst 2>/dev/null
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2650 mkdir .tst 2>/dev/null
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2651 if test -d .tst; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2652 am__leading_dot=.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2653 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2654 am__leading_dot=_
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2655 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2656 rmdir .tst 2>/dev/null
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2657
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2658 # Check whether --enable-silent-rules was given.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2659 if test "${enable_silent_rules+set}" = set; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2660 enableval=$enable_silent_rules;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2661 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2662
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2663 case $enable_silent_rules in # (((
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2664 yes) AM_DEFAULT_VERBOSITY=0;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2665 no) AM_DEFAULT_VERBOSITY=1;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2666 *) AM_DEFAULT_VERBOSITY=1;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2667 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2668 am_make=${MAKE-make}
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2670 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2671 if ${am_cv_make_support_nested_variables+:} false; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2672 $as_echo_n "(cached) " >&6
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2673 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2674 if $as_echo 'TRUE=$(BAR$(V))
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2675 BAR0=false
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2676 BAR1=true
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2677 V=1
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2678 am__doit:
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2679 @$(TRUE)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2680 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2681 am_cv_make_support_nested_variables=yes
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2682 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2683 am_cv_make_support_nested_variables=no
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2684 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2685 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2687 $as_echo "$am_cv_make_support_nested_variables" >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2688 if test $am_cv_make_support_nested_variables = yes; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2689 AM_V='$(V)'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2690 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2691 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2692 AM_V=$AM_DEFAULT_VERBOSITY
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2693 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2694 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2695 AM_BACKSLASH='\'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2696
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2697 if test "`cd $srcdir && pwd`" != "`pwd`"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2698 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2699 # is not polluted with repeated "-I."
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2700 am__isrc=' -I$(srcdir)'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2701 # test to see if srcdir already configured
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2702 if test -f $srcdir/config.status; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2703 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2704 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2705 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2706
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2707 # test whether we have cygpath
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2708 if test -z "$CYGPATH_W"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2709 if (cygpath --version) >/dev/null 2>/dev/null; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2710 CYGPATH_W='cygpath -w'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2711 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2712 CYGPATH_W=echo
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2713 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2714 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2715
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2716
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2717 # Define the identity of the package.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2718 PACKAGE='cline'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2719 VERSION='1.1'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2720
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2721
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2722 cat >>confdefs.h <<_ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2723 #define PACKAGE "$PACKAGE"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2724 _ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2725
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2726
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2727 cat >>confdefs.h <<_ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2728 #define VERSION "$VERSION"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2729 _ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2730
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2731 # Some tools Automake needs.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2732
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2733 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2734
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2735
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2736 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2737
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2738
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2739 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2740
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2741
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2742 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2743
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2744
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2745 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2746
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2747 # For better backward compatibility. To be removed once Automake 1.9.x
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2748 # dies out for good. For more background, see:
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2749 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2750 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2751 mkdir_p='$(MKDIR_P)'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2752
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2753 # We need awk for the "check" target. The system "awk" is bad on
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2754 # some platforms.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2755 # Always define AMTAR for backward compatibility. Yes, it's still used
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2756 # in the wild :-( We should find a proper way to deprecate it ...
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2757 AMTAR='$${TAR-tar}'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2758
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2759
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2760 # We'll loop over all known methods to create a tar archive until one works.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2761 _am_tools='gnutar pax cpio none'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2762
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2763 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2764
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2765
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2766
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2767
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2768
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2769
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2770
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2771 # Conditionals
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2772 # Check whether --enable-debug was given.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2773 if test "${enable_debug+set}" = set; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2774 enableval=$enable_debug; case "${enableval}" in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2775 yes) debug=true ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2776 no) debug=false ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2777 *) as_fn_error $? "bad value ${enableval} for --enable-debug" "$LINENO" 5 ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2778 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2779 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2780 debug=false
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2781 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2782
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2783 if test x$debug = xtrue; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2784 DEBUG_TRUE=
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2785 DEBUG_FALSE='#'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2786 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2787 DEBUG_TRUE='#'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2788 DEBUG_FALSE=
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2789 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2790
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2791
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2792 # Checks for programs.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2793 ac_ext=c
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2794 ac_cpp='$CPP $CPPFLAGS'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2798 if test -n "$ac_tool_prefix"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2799 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2800 set dummy ${ac_tool_prefix}gcc; ac_word=$2
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2802 $as_echo_n "checking for $ac_word... " >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2803 if ${ac_cv_prog_CC+:} false; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2804 $as_echo_n "(cached) " >&6
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2805 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2806 if test -n "$CC"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2807 ac_cv_prog_CC="$CC" # Let the user override the test.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2808 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2810 for as_dir in $PATH
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2811 do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2812 IFS=$as_save_IFS
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2813 test -z "$as_dir" && as_dir=.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2814 for ac_exec_ext in '' $ac_executable_extensions; do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2815 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2816 ac_cv_prog_CC="${ac_tool_prefix}gcc"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2817 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2818 break 2
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2819 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2820 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2821 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2822 IFS=$as_save_IFS
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2823
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2824 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2825 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2826 CC=$ac_cv_prog_CC
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2827 if test -n "$CC"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2829 $as_echo "$CC" >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2830 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2832 $as_echo "no" >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2833 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2834
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2835
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2836 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2837 if test -z "$ac_cv_prog_CC"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2838 ac_ct_CC=$CC
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2839 # Extract the first word of "gcc", so it can be a program name with args.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2840 set dummy gcc; ac_word=$2
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2842 $as_echo_n "checking for $ac_word... " >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2843 if ${ac_cv_prog_ac_ct_CC+:} false; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2844 $as_echo_n "(cached) " >&6
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2845 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2846 if test -n "$ac_ct_CC"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2847 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2848 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2850 for as_dir in $PATH
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2851 do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2852 IFS=$as_save_IFS
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2853 test -z "$as_dir" && as_dir=.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2854 for ac_exec_ext in '' $ac_executable_extensions; do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2855 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2856 ac_cv_prog_ac_ct_CC="gcc"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2857 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2858 break 2
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2859 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2860 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2861 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2862 IFS=$as_save_IFS
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2863
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2864 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2865 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2866 ac_ct_CC=$ac_cv_prog_ac_ct_CC
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2867 if test -n "$ac_ct_CC"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2869 $as_echo "$ac_ct_CC" >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2870 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2872 $as_echo "no" >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2873 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2874
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2875 if test "x$ac_ct_CC" = x; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2876 CC=""
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2877 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2878 case $cross_compiling:$ac_tool_warned in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2879 yes:)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2880 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2881 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2882 ac_tool_warned=yes ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2883 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2884 CC=$ac_ct_CC
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2885 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2886 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2887 CC="$ac_cv_prog_CC"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2888 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2889
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2890 if test -z "$CC"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2891 if test -n "$ac_tool_prefix"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2892 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2893 set dummy ${ac_tool_prefix}cc; ac_word=$2
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2895 $as_echo_n "checking for $ac_word... " >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2896 if ${ac_cv_prog_CC+:} false; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2897 $as_echo_n "(cached) " >&6
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2898 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2899 if test -n "$CC"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2900 ac_cv_prog_CC="$CC" # Let the user override the test.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2901 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2903 for as_dir in $PATH
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2904 do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2905 IFS=$as_save_IFS
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2906 test -z "$as_dir" && as_dir=.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2907 for ac_exec_ext in '' $ac_executable_extensions; do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2908 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2909 ac_cv_prog_CC="${ac_tool_prefix}cc"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2910 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2911 break 2
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2912 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2913 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2914 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2915 IFS=$as_save_IFS
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2916
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2917 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2918 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2919 CC=$ac_cv_prog_CC
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2920 if test -n "$CC"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2922 $as_echo "$CC" >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2923 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2925 $as_echo "no" >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2926 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2927
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2928
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2929 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2930 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2931 if test -z "$CC"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2932 # Extract the first word of "cc", so it can be a program name with args.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2933 set dummy cc; ac_word=$2
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2935 $as_echo_n "checking for $ac_word... " >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2936 if ${ac_cv_prog_CC+:} false; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2937 $as_echo_n "(cached) " >&6
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2938 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2939 if test -n "$CC"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2940 ac_cv_prog_CC="$CC" # Let the user override the test.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2941 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2942 ac_prog_rejected=no
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2944 for as_dir in $PATH
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2945 do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2946 IFS=$as_save_IFS
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2947 test -z "$as_dir" && as_dir=.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2948 for ac_exec_ext in '' $ac_executable_extensions; do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2949 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2950 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2951 ac_prog_rejected=yes
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2952 continue
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2953 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2954 ac_cv_prog_CC="cc"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2955 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2956 break 2
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2957 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2958 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2959 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2960 IFS=$as_save_IFS
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2961
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2962 if test $ac_prog_rejected = yes; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2963 # We found a bogon in the path, so make sure we never use it.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2964 set dummy $ac_cv_prog_CC
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2965 shift
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2966 if test $# != 0; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2967 # We chose a different compiler from the bogus one.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2968 # However, it has the same basename, so the bogon will be chosen
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2969 # first if we set CC to just the basename; use the full file name.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2970 shift
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2971 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2972 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2973 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2974 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2975 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2976 CC=$ac_cv_prog_CC
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2977 if test -n "$CC"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2979 $as_echo "$CC" >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2980 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2982 $as_echo "no" >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2983 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2984
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2985
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2986 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2987 if test -z "$CC"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2988 if test -n "$ac_tool_prefix"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2989 for ac_prog in cl.exe
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2990 do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2991 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2992 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2994 $as_echo_n "checking for $ac_word... " >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2995 if ${ac_cv_prog_CC+:} false; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2996 $as_echo_n "(cached) " >&6
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2997 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2998 if test -n "$CC"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2999 ac_cv_prog_CC="$CC" # Let the user override the test.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3000 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3002 for as_dir in $PATH
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3003 do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3004 IFS=$as_save_IFS
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3005 test -z "$as_dir" && as_dir=.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3006 for ac_exec_ext in '' $ac_executable_extensions; do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3007 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3008 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3009 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3010 break 2
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3011 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3012 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3013 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3014 IFS=$as_save_IFS
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3015
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3016 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3017 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3018 CC=$ac_cv_prog_CC
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3019 if test -n "$CC"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3021 $as_echo "$CC" >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3022 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3024 $as_echo "no" >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3025 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3026
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3027
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3028 test -n "$CC" && break
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3029 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3030 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3031 if test -z "$CC"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3032 ac_ct_CC=$CC
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3033 for ac_prog in cl.exe
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3034 do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3035 # Extract the first word of "$ac_prog", so it can be a program name with args.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3036 set dummy $ac_prog; ac_word=$2
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3038 $as_echo_n "checking for $ac_word... " >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3039 if ${ac_cv_prog_ac_ct_CC+:} false; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3040 $as_echo_n "(cached) " >&6
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3041 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3042 if test -n "$ac_ct_CC"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3043 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3044 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3046 for as_dir in $PATH
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3047 do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3048 IFS=$as_save_IFS
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3049 test -z "$as_dir" && as_dir=.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3050 for ac_exec_ext in '' $ac_executable_extensions; do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3051 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3052 ac_cv_prog_ac_ct_CC="$ac_prog"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3053 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3054 break 2
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3055 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3056 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3057 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3058 IFS=$as_save_IFS
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3059
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3060 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3061 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3062 ac_ct_CC=$ac_cv_prog_ac_ct_CC
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3063 if test -n "$ac_ct_CC"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3065 $as_echo "$ac_ct_CC" >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3066 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3068 $as_echo "no" >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3069 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3070
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3071
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3072 test -n "$ac_ct_CC" && break
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3073 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3074
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3075 if test "x$ac_ct_CC" = x; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3076 CC=""
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3077 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3078 case $cross_compiling:$ac_tool_warned in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3079 yes:)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3080 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3081 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3082 ac_tool_warned=yes ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3083 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3084 CC=$ac_ct_CC
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3085 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3086 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3087
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3088 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3089
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3090
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3091 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3092 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3093 as_fn_error $? "no acceptable C compiler found in \$PATH
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3094 See \`config.log' for more details" "$LINENO" 5; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3095
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3096 # Provide some information about the compiler.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3097 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3098 set X $ac_compile
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3099 ac_compiler=$2
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3100 for ac_option in --version -v -V -qversion; do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3101 { { ac_try="$ac_compiler $ac_option >&5"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3102 case "(($ac_try" in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3104 *) ac_try_echo=$ac_try;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3105 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3106 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3107 $as_echo "$ac_try_echo"; } >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3108 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3109 ac_status=$?
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3110 if test -s conftest.err; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3111 sed '10a\
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3112 ... rest of stderr output deleted ...
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3113 10q' conftest.err >conftest.er1
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3114 cat conftest.er1 >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3115 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3116 rm -f conftest.er1 conftest.err
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3117 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3118 test $ac_status = 0; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3119 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3120
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3122 /* end confdefs.h. */
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3123
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3124 int
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3125 main ()
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3126 {
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3127
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3128 ;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3129 return 0;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3130 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3131 _ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3132 ac_clean_files_save=$ac_clean_files
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3133 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3134 # Try to create an executable without -o first, disregard a.out.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3135 # It will help us diagnose broken compilers, and finding out an intuition
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3136 # of exeext.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3138 $as_echo_n "checking whether the C compiler works... " >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3139 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3140
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3141 # The possible output files:
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3142 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3143
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3144 ac_rmfiles=
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3145 for ac_file in $ac_files
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3146 do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3147 case $ac_file in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3148 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3149 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3150 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3151 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3152 rm -f $ac_rmfiles
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3153
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3154 if { { ac_try="$ac_link_default"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3155 case "(($ac_try" in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3157 *) ac_try_echo=$ac_try;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3158 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3159 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3160 $as_echo "$ac_try_echo"; } >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3161 (eval "$ac_link_default") 2>&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3162 ac_status=$?
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3163 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3164 test $ac_status = 0; }; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3165 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3166 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3167 # in a Makefile. We should not override ac_cv_exeext if it was cached,
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3168 # so that the user can short-circuit this test for compilers unknown to
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3169 # Autoconf.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3170 for ac_file in $ac_files ''
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3171 do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3172 test -f "$ac_file" || continue
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3173 case $ac_file in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3174 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3175 ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3176 [ab].out )
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3177 # We found the default executable, but exeext='' is most
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3178 # certainly right.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3179 break;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3180 *.* )
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3181 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3182 then :; else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3183 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3184 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3185 # We set ac_cv_exeext here because the later test for it is not
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3186 # safe: cross compilers may not add the suffix if given an `-o'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3187 # argument, so we may need to know it at that point already.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3188 # Even if this section looks crufty: it has the advantage of
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3189 # actually working.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3190 break;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3191 * )
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3192 break;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3193 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3194 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3195 test "$ac_cv_exeext" = no && ac_cv_exeext=
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3196
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3197 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3198 ac_file=''
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3199 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3200 if test -z "$ac_file"; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3202 $as_echo "no" >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3203 $as_echo "$as_me: failed program was:" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3204 sed 's/^/| /' conftest.$ac_ext >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3205
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3206 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3207 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3208 as_fn_error 77 "C compiler cannot create executables
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3209 See \`config.log' for more details" "$LINENO" 5; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3210 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3212 $as_echo "yes" >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3213 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3215 $as_echo_n "checking for C compiler default output file name... " >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3217 $as_echo "$ac_file" >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3218 ac_exeext=$ac_cv_exeext
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3219
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3220 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3221 ac_clean_files=$ac_clean_files_save
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3223 $as_echo_n "checking for suffix of executables... " >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3224 if { { ac_try="$ac_link"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3225 case "(($ac_try" in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3227 *) ac_try_echo=$ac_try;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3228 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3229 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3230 $as_echo "$ac_try_echo"; } >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3231 (eval "$ac_link") 2>&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3232 ac_status=$?
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3233 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3234 test $ac_status = 0; }; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3235 # If both `conftest.exe' and `conftest' are `present' (well, observable)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3236 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3237 # work properly (i.e., refer to `conftest.exe'), while it won't with
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3238 # `rm'.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3239 for ac_file in conftest.exe conftest conftest.*; do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3240 test -f "$ac_file" || continue
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3241 case $ac_file in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3242 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3243 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3244 break;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3245 * ) break;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3246 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3247 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3248 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3249 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3250 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3251 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3252 See \`config.log' for more details" "$LINENO" 5; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3253 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3254 rm -f conftest conftest$ac_cv_exeext
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3256 $as_echo "$ac_cv_exeext" >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3257
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3258 rm -f conftest.$ac_ext
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3259 EXEEXT=$ac_cv_exeext
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3260 ac_exeext=$EXEEXT
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3262 /* end confdefs.h. */
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3263 #include <stdio.h>
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3264 int
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3265 main ()
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3266 {
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3267 FILE *f = fopen ("conftest.out", "w");
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3268 return ferror (f) || fclose (f) != 0;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3269
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3270 ;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3271 return 0;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3272 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3273 _ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3274 ac_clean_files="$ac_clean_files conftest.out"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3275 # Check that the compiler produces executables we can run. If not, either
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3276 # the compiler is broken, or we cross compile.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3278 $as_echo_n "checking whether we are cross compiling... " >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3279 if test "$cross_compiling" != yes; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3280 { { ac_try="$ac_link"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3281 case "(($ac_try" in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3283 *) ac_try_echo=$ac_try;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3284 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3285 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3286 $as_echo "$ac_try_echo"; } >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3287 (eval "$ac_link") 2>&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3288 ac_status=$?
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3289 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3290 test $ac_status = 0; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3291 if { ac_try='./conftest$ac_cv_exeext'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3292 { { case "(($ac_try" in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3294 *) ac_try_echo=$ac_try;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3295 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3296 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3297 $as_echo "$ac_try_echo"; } >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3298 (eval "$ac_try") 2>&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3299 ac_status=$?
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3300 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3301 test $ac_status = 0; }; }; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3302 cross_compiling=no
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3303 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3304 if test "$cross_compiling" = maybe; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3305 cross_compiling=yes
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3306 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3307 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3308 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3309 as_fn_error $? "cannot run C compiled programs.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3310 If you meant to cross compile, use \`--host'.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3311 See \`config.log' for more details" "$LINENO" 5; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3312 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3313 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3314 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3316 $as_echo "$cross_compiling" >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3317
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3318 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3319 ac_clean_files=$ac_clean_files_save
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3321 $as_echo_n "checking for suffix of object files... " >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3322 if ${ac_cv_objext+:} false; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3323 $as_echo_n "(cached) " >&6
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3324 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3326 /* end confdefs.h. */
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3327
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3328 int
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3329 main ()
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3330 {
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3331
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3332 ;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3333 return 0;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3334 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3335 _ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3336 rm -f conftest.o conftest.obj
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3337 if { { ac_try="$ac_compile"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3338 case "(($ac_try" in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3340 *) ac_try_echo=$ac_try;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3341 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3342 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3343 $as_echo "$ac_try_echo"; } >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3344 (eval "$ac_compile") 2>&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3345 ac_status=$?
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3346 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3347 test $ac_status = 0; }; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3348 for ac_file in conftest.o conftest.obj conftest.*; do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3349 test -f "$ac_file" || continue;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3350 case $ac_file in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3351 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3352 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3353 break;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3354 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3355 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3356 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3357 $as_echo "$as_me: failed program was:" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3358 sed 's/^/| /' conftest.$ac_ext >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3359
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3360 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3361 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3362 as_fn_error $? "cannot compute suffix of object files: cannot compile
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3363 See \`config.log' for more details" "$LINENO" 5; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3364 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3365 rm -f conftest.$ac_cv_objext conftest.$ac_ext
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3366 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3368 $as_echo "$ac_cv_objext" >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3369 OBJEXT=$ac_cv_objext
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3370 ac_objext=$OBJEXT
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3372 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3373 if ${ac_cv_c_compiler_gnu+:} false; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3374 $as_echo_n "(cached) " >&6
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3375 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3377 /* end confdefs.h. */
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3378
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3379 int
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3380 main ()
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3381 {
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3382 #ifndef __GNUC__
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3383 choke me
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3384 #endif
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3385
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3386 ;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3387 return 0;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3388 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3389 _ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3390 if ac_fn_c_try_compile "$LINENO"; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3391 ac_compiler_gnu=yes
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3392 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3393 ac_compiler_gnu=no
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3394 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3396 ac_cv_c_compiler_gnu=$ac_compiler_gnu
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3397
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3398 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3400 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3401 if test $ac_compiler_gnu = yes; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3402 GCC=yes
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3403 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3404 GCC=
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3405 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3406 ac_test_CFLAGS=${CFLAGS+set}
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3407 ac_save_CFLAGS=$CFLAGS
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3409 $as_echo_n "checking whether $CC accepts -g... " >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3410 if ${ac_cv_prog_cc_g+:} false; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3411 $as_echo_n "(cached) " >&6
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3412 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3413 ac_save_c_werror_flag=$ac_c_werror_flag
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3414 ac_c_werror_flag=yes
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3415 ac_cv_prog_cc_g=no
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3416 CFLAGS="-g"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3418 /* end confdefs.h. */
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3419
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3420 int
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3421 main ()
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3422 {
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3423
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3424 ;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3425 return 0;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3426 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3427 _ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3428 if ac_fn_c_try_compile "$LINENO"; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3429 ac_cv_prog_cc_g=yes
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3430 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3431 CFLAGS=""
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3433 /* end confdefs.h. */
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3434
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3435 int
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3436 main ()
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3437 {
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3438
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3439 ;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3440 return 0;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3441 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3442 _ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3443 if ac_fn_c_try_compile "$LINENO"; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3444
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3445 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3446 ac_c_werror_flag=$ac_save_c_werror_flag
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3447 CFLAGS="-g"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3449 /* end confdefs.h. */
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3450
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3451 int
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3452 main ()
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3453 {
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3454
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3455 ;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3456 return 0;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3457 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3458 _ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3459 if ac_fn_c_try_compile "$LINENO"; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3460 ac_cv_prog_cc_g=yes
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3461 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3463 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3465 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3467 ac_c_werror_flag=$ac_save_c_werror_flag
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3468 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3470 $as_echo "$ac_cv_prog_cc_g" >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3471 if test "$ac_test_CFLAGS" = set; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3472 CFLAGS=$ac_save_CFLAGS
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3473 elif test $ac_cv_prog_cc_g = yes; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3474 if test "$GCC" = yes; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3475 CFLAGS="-g -O2"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3476 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3477 CFLAGS="-g"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3478 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3479 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3480 if test "$GCC" = yes; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3481 CFLAGS="-O2"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3482 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3483 CFLAGS=
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3484 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3485 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3487 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3488 if ${ac_cv_prog_cc_c89+:} false; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3489 $as_echo_n "(cached) " >&6
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3490 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3491 ac_cv_prog_cc_c89=no
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3492 ac_save_CC=$CC
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3494 /* end confdefs.h. */
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3495 #include <stdarg.h>
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3496 #include <stdio.h>
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3497 struct stat;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3498 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3499 struct buf { int x; };
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3500 FILE * (*rcsopen) (struct buf *, struct stat *, int);
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3501 static char *e (p, i)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3502 char **p;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3503 int i;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3504 {
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3505 return p[i];
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3506 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3507 static char *f (char * (*g) (char **, int), char **p, ...)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3508 {
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3509 char *s;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3510 va_list v;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3511 va_start (v,p);
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3512 s = g (p, va_arg (v,int));
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3513 va_end (v);
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3514 return s;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3515 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3516
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3517 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3518 function prototypes and stuff, but not '\xHH' hex character constants.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3519 These don't provoke an error unfortunately, instead are silently treated
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3520 as 'x'. The following induces an error, until -std is added to get
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3521 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3522 array size at least. It's necessary to write '\x00'==0 to get something
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3523 that's true only with -std. */
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3524 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3525
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3526 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3527 inside strings and character constants. */
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3528 #define FOO(x) 'x'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3529 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3530
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3531 int test (int i, double x);
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3532 struct s1 {int (*f) (int a);};
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3533 struct s2 {int (*f) (double a);};
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3534 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3535 int argc;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3536 char **argv;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3537 int
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3538 main ()
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3539 {
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3540 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3541 ;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3542 return 0;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3543 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3544 _ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3545 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3546 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3547 do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3548 CC="$ac_save_CC $ac_arg"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3549 if ac_fn_c_try_compile "$LINENO"; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3550 ac_cv_prog_cc_c89=$ac_arg
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3551 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3552 rm -f core conftest.err conftest.$ac_objext
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3553 test "x$ac_cv_prog_cc_c89" != "xno" && break
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3554 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3555 rm -f conftest.$ac_ext
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3556 CC=$ac_save_CC
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3557
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3558 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3559 # AC_CACHE_VAL
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3560 case "x$ac_cv_prog_cc_c89" in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3561 x)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3563 $as_echo "none needed" >&6; } ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3564 xno)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3566 $as_echo "unsupported" >&6; } ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3567 *)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3568 CC="$CC $ac_cv_prog_cc_c89"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3570 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3571 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3572 if test "x$ac_cv_prog_cc_c89" != xno; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3573
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3574 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3575
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3576 ac_ext=c
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3577 ac_cpp='$CPP $CPPFLAGS'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3581 DEPDIR="${am__leading_dot}deps"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3582
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3583 ac_config_commands="$ac_config_commands depfiles"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3584
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3585
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3586 am_make=${MAKE-make}
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3587 cat > confinc << 'END'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3588 am__doit:
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3589 @echo this is the am__doit target
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3590 .PHONY: am__doit
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3591 END
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3592 # If we don't find an include directive, just comment out the code.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3594 $as_echo_n "checking for style of include used by $am_make... " >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3595 am__include="#"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3596 am__quote=
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3597 _am_result=none
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3598 # First try GNU make style include.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3599 echo "include confinc" > confmf
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3600 # Ignore all kinds of additional output from 'make'.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3601 case `$am_make -s -f confmf 2> /dev/null` in #(
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3602 *the\ am__doit\ target*)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3603 am__include=include
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3604 am__quote=
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3605 _am_result=GNU
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3606 ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3607 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3608 # Now try BSD make style include.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3609 if test "$am__include" = "#"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3610 echo '.include "confinc"' > confmf
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3611 case `$am_make -s -f confmf 2> /dev/null` in #(
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3612 *the\ am__doit\ target*)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3613 am__include=.include
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3614 am__quote="\""
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3615 _am_result=BSD
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3616 ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3617 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3618 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3619
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3620
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3622 $as_echo "$_am_result" >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3623 rm -f confinc confmf
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3624
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3625 # Check whether --enable-dependency-tracking was given.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3626 if test "${enable_dependency_tracking+set}" = set; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3627 enableval=$enable_dependency_tracking;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3628 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3629
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3630 if test "x$enable_dependency_tracking" != xno; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3631 am_depcomp="$ac_aux_dir/depcomp"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3632 AMDEPBACKSLASH='\'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3633 am__nodep='_no'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3634 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3635 if test "x$enable_dependency_tracking" != xno; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3636 AMDEP_TRUE=
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3637 AMDEP_FALSE='#'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3638 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3639 AMDEP_TRUE='#'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3640 AMDEP_FALSE=
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3641 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3642
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3643
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3644
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3645 depcc="$CC" am_compiler_list=
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3646
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3648 $as_echo_n "checking dependency style of $depcc... " >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3649 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3650 $as_echo_n "(cached) " >&6
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3651 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3652 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3653 # We make a subdir and do the tests there. Otherwise we can end up
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3654 # making bogus files that we don't know about and never remove. For
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3655 # instance it was reported that on HP-UX the gcc test will end up
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3656 # making a dummy file named 'D' -- because '-MD' means "put the output
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3657 # in D".
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3658 rm -rf conftest.dir
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3659 mkdir conftest.dir
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3660 # Copy depcomp to subdir because otherwise we won't find it if we're
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3661 # using a relative directory.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3662 cp "$am_depcomp" conftest.dir
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3663 cd conftest.dir
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3664 # We will build objects and dependencies in a subdirectory because
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3665 # it helps to detect inapplicable dependency modes. For instance
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3666 # both Tru64's cc and ICC support -MD to output dependencies as a
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3667 # side effect of compilation, but ICC will put the dependencies in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3668 # the current directory while Tru64 will put them in the object
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3669 # directory.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3670 mkdir sub
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3671
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3672 am_cv_CC_dependencies_compiler_type=none
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3673 if test "$am_compiler_list" = ""; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3674 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3675 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3676 am__universal=false
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3677 case " $depcc " in #(
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3678 *\ -arch\ *\ -arch\ *) am__universal=true ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3679 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3680
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3681 for depmode in $am_compiler_list; do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3682 # Setup a source with many dependencies, because some compilers
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3683 # like to wrap large dependency lists on column 80 (with \), and
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3684 # we should not choose a depcomp mode which is confused by this.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3685 #
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3686 # We need to recreate these files for each test, as the compiler may
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3687 # overwrite some of them when testing with obscure command lines.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3688 # This happens at least with the AIX C compiler.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3689 : > sub/conftest.c
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3690 for i in 1 2 3 4 5 6; do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3691 echo '#include "conftst'$i'.h"' >> sub/conftest.c
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3692 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3693 # Solaris 10 /bin/sh.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3694 echo '/* dummy */' > sub/conftst$i.h
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3695 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3696 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3697
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3698 # We check with '-c' and '-o' for the sake of the "dashmstdout"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3699 # mode. It turns out that the SunPro C++ compiler does not properly
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3700 # handle '-M -o', and we need to detect this. Also, some Intel
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3701 # versions had trouble with output in subdirs.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3702 am__obj=sub/conftest.${OBJEXT-o}
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3703 am__minus_obj="-o $am__obj"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3704 case $depmode in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3705 gcc)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3706 # This depmode causes a compiler race in universal mode.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3707 test "$am__universal" = false || continue
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3708 ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3709 nosideeffect)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3710 # After this tag, mechanisms are not by side-effect, so they'll
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3711 # only be used when explicitly requested.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3712 if test "x$enable_dependency_tracking" = xyes; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3713 continue
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3714 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3715 break
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3716 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3717 ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3718 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3719 # This compiler won't grok '-c -o', but also, the minuso test has
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3720 # not run yet. These depmodes are late enough in the game, and
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3721 # so weak that their functioning should not be impacted.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3722 am__obj=conftest.${OBJEXT-o}
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3723 am__minus_obj=
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3724 ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3725 none) break ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3726 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3727 if depmode=$depmode \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3728 source=sub/conftest.c object=$am__obj \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3729 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3730 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3731 >/dev/null 2>conftest.err &&
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3732 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3733 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3734 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3735 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3736 # icc doesn't choke on unknown options, it will just issue warnings
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3737 # or remarks (even with -Werror). So we grep stderr for any message
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3738 # that says an option was ignored or not supported.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3739 # When given -MP, icc 7.0 and 7.1 complain thusly:
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3740 # icc: Command line warning: ignoring option '-M'; no argument required
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3741 # The diagnosis changed in icc 8.0:
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3742 # icc: Command line remark: option '-MP' not supported
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3743 if (grep 'ignoring option' conftest.err ||
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3744 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3745 am_cv_CC_dependencies_compiler_type=$depmode
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3746 break
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3747 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3748 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3749 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3750
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3751 cd ..
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3752 rm -rf conftest.dir
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3753 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3754 am_cv_CC_dependencies_compiler_type=none
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3755 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3756
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3757 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3759 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3760 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3761
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3762 if
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3763 test "x$enable_dependency_tracking" != xno \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3764 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3765 am__fastdepCC_TRUE=
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3766 am__fastdepCC_FALSE='#'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3767 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3768 am__fastdepCC_TRUE='#'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3769 am__fastdepCC_FALSE=
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3770 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3771
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3772
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3773
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3774 # Checks for libraries.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3775
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3776 # Checks for header files.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3777
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3778 ac_ext=c
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3779 ac_cpp='$CPP $CPPFLAGS'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3784 $as_echo_n "checking how to run the C preprocessor... " >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3785 # On Suns, sometimes $CPP names a directory.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3786 if test -n "$CPP" && test -d "$CPP"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3787 CPP=
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3788 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3789 if test -z "$CPP"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3790 if ${ac_cv_prog_CPP+:} false; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3791 $as_echo_n "(cached) " >&6
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3792 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3793 # Double quotes because CPP needs to be expanded
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3794 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3795 do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3796 ac_preproc_ok=false
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3797 for ac_c_preproc_warn_flag in '' yes
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3798 do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3799 # Use a header file that comes with gcc, so configuring glibc
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3800 # with a fresh cross-compiler works.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3801 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3802 # <limits.h> exists even on freestanding compilers.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3803 # On the NeXT, cc -E runs the code through the compiler's parser,
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3804 # not just through cpp. "Syntax error" is here to catch this case.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3806 /* end confdefs.h. */
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3807 #ifdef __STDC__
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3808 # include <limits.h>
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3809 #else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3810 # include <assert.h>
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3811 #endif
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3812 Syntax error
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3813 _ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3814 if ac_fn_c_try_cpp "$LINENO"; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3815
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3816 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3817 # Broken: fails on valid input.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3818 continue
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3819 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3820 rm -f conftest.err conftest.i conftest.$ac_ext
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3821
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3822 # OK, works on sane cases. Now check whether nonexistent headers
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3823 # can be detected and how.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3825 /* end confdefs.h. */
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3826 #include <ac_nonexistent.h>
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3827 _ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3828 if ac_fn_c_try_cpp "$LINENO"; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3829 # Broken: success on invalid input.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3830 continue
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3831 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3832 # Passes both tests.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3833 ac_preproc_ok=:
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3834 break
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3835 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3836 rm -f conftest.err conftest.i conftest.$ac_ext
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3837
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3838 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3839 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3840 rm -f conftest.i conftest.err conftest.$ac_ext
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3841 if $ac_preproc_ok; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3842 break
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3843 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3844
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3845 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3846 ac_cv_prog_CPP=$CPP
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3847
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3848 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3849 CPP=$ac_cv_prog_CPP
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3850 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3851 ac_cv_prog_CPP=$CPP
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3852 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3854 $as_echo "$CPP" >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3855 ac_preproc_ok=false
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3856 for ac_c_preproc_warn_flag in '' yes
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3857 do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3858 # Use a header file that comes with gcc, so configuring glibc
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3859 # with a fresh cross-compiler works.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3860 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3861 # <limits.h> exists even on freestanding compilers.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3862 # On the NeXT, cc -E runs the code through the compiler's parser,
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3863 # not just through cpp. "Syntax error" is here to catch this case.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3865 /* end confdefs.h. */
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3866 #ifdef __STDC__
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3867 # include <limits.h>
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3868 #else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3869 # include <assert.h>
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3870 #endif
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3871 Syntax error
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3872 _ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3873 if ac_fn_c_try_cpp "$LINENO"; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3874
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3875 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3876 # Broken: fails on valid input.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3877 continue
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3878 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3879 rm -f conftest.err conftest.i conftest.$ac_ext
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3880
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3881 # OK, works on sane cases. Now check whether nonexistent headers
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3882 # can be detected and how.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3884 /* end confdefs.h. */
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3885 #include <ac_nonexistent.h>
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3886 _ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3887 if ac_fn_c_try_cpp "$LINENO"; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3888 # Broken: success on invalid input.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3889 continue
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3890 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3891 # Passes both tests.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3892 ac_preproc_ok=:
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3893 break
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3894 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3895 rm -f conftest.err conftest.i conftest.$ac_ext
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3896
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3897 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3898 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3899 rm -f conftest.i conftest.err conftest.$ac_ext
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3900 if $ac_preproc_ok; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3901
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3902 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3903 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3904 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3905 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3906 See \`config.log' for more details" "$LINENO" 5; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3907 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3908
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3909 ac_ext=c
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3910 ac_cpp='$CPP $CPPFLAGS'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3914
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3915
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3917 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3918 if ${ac_cv_path_GREP+:} false; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3919 $as_echo_n "(cached) " >&6
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3920 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3921 if test -z "$GREP"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3922 ac_path_GREP_found=false
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3923 # Loop through the user's path and test for each of PROGNAME-LIST
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3925 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3926 do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3927 IFS=$as_save_IFS
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3928 test -z "$as_dir" && as_dir=.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3929 for ac_prog in grep ggrep; do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3930 for ac_exec_ext in '' $ac_executable_extensions; do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3931 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3932 as_fn_executable_p "$ac_path_GREP" || continue
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3933 # Check for GNU ac_path_GREP and select it if it is found.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3934 # Check for GNU $ac_path_GREP
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3935 case `"$ac_path_GREP" --version 2>&1` in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3936 *GNU*)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3937 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3938 *)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3939 ac_count=0
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3940 $as_echo_n 0123456789 >"conftest.in"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3941 while :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3942 do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3943 cat "conftest.in" "conftest.in" >"conftest.tmp"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3944 mv "conftest.tmp" "conftest.in"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3945 cp "conftest.in" "conftest.nl"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3946 $as_echo 'GREP' >> "conftest.nl"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3947 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3948 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3949 as_fn_arith $ac_count + 1 && ac_count=$as_val
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3950 if test $ac_count -gt ${ac_path_GREP_max-0}; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3951 # Best one so far, save it but keep looking for a better one
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3952 ac_cv_path_GREP="$ac_path_GREP"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3953 ac_path_GREP_max=$ac_count
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3954 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3955 # 10*(2^10) chars as input seems more than enough
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3956 test $ac_count -gt 10 && break
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3957 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3958 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3959 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3960
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3961 $ac_path_GREP_found && break 3
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3962 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3963 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3964 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3965 IFS=$as_save_IFS
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3966 if test -z "$ac_cv_path_GREP"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3967 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3968 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3969 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3970 ac_cv_path_GREP=$GREP
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3971 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3972
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3973 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3975 $as_echo "$ac_cv_path_GREP" >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3976 GREP="$ac_cv_path_GREP"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3977
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3978
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3980 $as_echo_n "checking for egrep... " >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3981 if ${ac_cv_path_EGREP+:} false; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3982 $as_echo_n "(cached) " >&6
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3983 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3984 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3985 then ac_cv_path_EGREP="$GREP -E"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3986 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3987 if test -z "$EGREP"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3988 ac_path_EGREP_found=false
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3989 # Loop through the user's path and test for each of PROGNAME-LIST
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3991 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3992 do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3993 IFS=$as_save_IFS
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3994 test -z "$as_dir" && as_dir=.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3995 for ac_prog in egrep; do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3996 for ac_exec_ext in '' $ac_executable_extensions; do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3997 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3998 as_fn_executable_p "$ac_path_EGREP" || continue
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3999 # Check for GNU ac_path_EGREP and select it if it is found.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4000 # Check for GNU $ac_path_EGREP
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4001 case `"$ac_path_EGREP" --version 2>&1` in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4002 *GNU*)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4003 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4004 *)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4005 ac_count=0
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4006 $as_echo_n 0123456789 >"conftest.in"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4007 while :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4008 do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4009 cat "conftest.in" "conftest.in" >"conftest.tmp"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4010 mv "conftest.tmp" "conftest.in"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4011 cp "conftest.in" "conftest.nl"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4012 $as_echo 'EGREP' >> "conftest.nl"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4013 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4014 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4015 as_fn_arith $ac_count + 1 && ac_count=$as_val
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4016 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4017 # Best one so far, save it but keep looking for a better one
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4018 ac_cv_path_EGREP="$ac_path_EGREP"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4019 ac_path_EGREP_max=$ac_count
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4020 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4021 # 10*(2^10) chars as input seems more than enough
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4022 test $ac_count -gt 10 && break
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4023 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4024 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4025 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4026
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4027 $ac_path_EGREP_found && break 3
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4028 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4029 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4030 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4031 IFS=$as_save_IFS
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4032 if test -z "$ac_cv_path_EGREP"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4033 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4034 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4035 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4036 ac_cv_path_EGREP=$EGREP
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4037 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4038
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4039 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4040 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4042 $as_echo "$ac_cv_path_EGREP" >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4043 EGREP="$ac_cv_path_EGREP"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4044
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4045
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4047 $as_echo_n "checking for ANSI C header files... " >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4048 if ${ac_cv_header_stdc+:} false; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4049 $as_echo_n "(cached) " >&6
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4050 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4052 /* end confdefs.h. */
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4053 #include <stdlib.h>
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4054 #include <stdarg.h>
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4055 #include <string.h>
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4056 #include <float.h>
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4057
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4058 int
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4059 main ()
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4060 {
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4061
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4062 ;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4063 return 0;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4064 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4065 _ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4066 if ac_fn_c_try_compile "$LINENO"; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4067 ac_cv_header_stdc=yes
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4068 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4069 ac_cv_header_stdc=no
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4070 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4072
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4073 if test $ac_cv_header_stdc = yes; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4074 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4076 /* end confdefs.h. */
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4077 #include <string.h>
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4078
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4079 _ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4080 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4081 $EGREP "memchr" >/dev/null 2>&1; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4082
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4083 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4084 ac_cv_header_stdc=no
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4085 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4086 rm -f conftest*
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4087
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4088 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4089
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4090 if test $ac_cv_header_stdc = yes; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4091 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4093 /* end confdefs.h. */
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4094 #include <stdlib.h>
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4095
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4096 _ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4097 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4098 $EGREP "free" >/dev/null 2>&1; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4099
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4100 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4101 ac_cv_header_stdc=no
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4102 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4103 rm -f conftest*
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4104
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4105 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4106
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4107 if test $ac_cv_header_stdc = yes; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4108 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4109 if test "$cross_compiling" = yes; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4110 :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4111 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4113 /* end confdefs.h. */
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4114 #include <ctype.h>
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4115 #include <stdlib.h>
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4116 #if ((' ' & 0x0FF) == 0x020)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4117 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4118 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4119 #else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4120 # define ISLOWER(c) \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4121 (('a' <= (c) && (c) <= 'i') \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4122 || ('j' <= (c) && (c) <= 'r') \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4123 || ('s' <= (c) && (c) <= 'z'))
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4124 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4125 #endif
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4126
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4127 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4128 int
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4129 main ()
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4130 {
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4131 int i;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4132 for (i = 0; i < 256; i++)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4133 if (XOR (islower (i), ISLOWER (i))
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4134 || toupper (i) != TOUPPER (i))
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4135 return 2;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4136 return 0;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4137 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4138 _ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4139 if ac_fn_c_try_run "$LINENO"; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4140
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4141 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4142 ac_cv_header_stdc=no
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4143 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4144 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4145 conftest.$ac_objext conftest.beam conftest.$ac_ext
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4146 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4147
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4148 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4149 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4151 $as_echo "$ac_cv_header_stdc" >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4152 if test $ac_cv_header_stdc = yes; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4153
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4154 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4155
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4156 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4157
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4158 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4159 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4160 inttypes.h stdint.h unistd.h
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4161 do :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4162 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4163 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4164 "
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4165 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4166 cat >>confdefs.h <<_ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4167 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4168 _ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4169
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4170 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4171
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4172 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4173
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4174
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4175 for ac_header in stdlib.h string.h
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4176 do :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4177 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4178 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4179 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4180 cat >>confdefs.h <<_ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4181 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4182 _ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4183
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4184 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4185
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4186 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4187
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4188
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4189 # Checks for typedefs, structures, and compiler characteristics.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4191 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4192 if ${ac_cv_header_stdbool_h+:} false; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4193 $as_echo_n "(cached) " >&6
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4194 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4196 /* end confdefs.h. */
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4197
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4198 #include <stdbool.h>
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4199 #ifndef bool
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4200 "error: bool is not defined"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4201 #endif
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4202 #ifndef false
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4203 "error: false is not defined"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4204 #endif
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4205 #if false
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4206 "error: false is not 0"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4207 #endif
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4208 #ifndef true
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4209 "error: true is not defined"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4210 #endif
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4211 #if true != 1
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4212 "error: true is not 1"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4213 #endif
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4214 #ifndef __bool_true_false_are_defined
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4215 "error: __bool_true_false_are_defined is not defined"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4216 #endif
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4217
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4218 struct s { _Bool s: 1; _Bool t; } s;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4219
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4220 char a[true == 1 ? 1 : -1];
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4221 char b[false == 0 ? 1 : -1];
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4222 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4223 char d[(bool) 0.5 == true ? 1 : -1];
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4224 /* See body of main program for 'e'. */
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4225 char f[(_Bool) 0.0 == false ? 1 : -1];
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4226 char g[true];
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4227 char h[sizeof (_Bool)];
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4228 char i[sizeof s.t];
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4229 enum { j = false, k = true, l = false * true, m = true * 256 };
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4230 /* The following fails for
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4231 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4232 _Bool n[m];
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4233 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4234 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4235 /* Catch a bug in an HP-UX C compiler. See
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4236 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4237 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4238 */
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4239 _Bool q = true;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4240 _Bool *pq = &q;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4241
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4242 int
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4243 main ()
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4244 {
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4245
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4246 bool e = &s;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4247 *pq |= q;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4248 *pq |= ! q;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4249 /* Refer to every declared value, to avoid compiler optimizations. */
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4250 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4251 + !m + !n + !o + !p + !q + !pq);
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4252
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4253 ;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4254 return 0;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4255 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4256 _ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4257 if ac_fn_c_try_compile "$LINENO"; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4258 ac_cv_header_stdbool_h=yes
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4259 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4260 ac_cv_header_stdbool_h=no
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4261 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4263 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4265 $as_echo "$ac_cv_header_stdbool_h" >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4266 ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4267 if test "x$ac_cv_type__Bool" = xyes; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4268
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4269 cat >>confdefs.h <<_ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4270 #define HAVE__BOOL 1
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4271 _ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4272
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4273
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4274 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4275
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4276
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4277 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4278 if test "x$ac_cv_type_size_t" = xyes; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4279
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4280 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4281
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4282 cat >>confdefs.h <<_ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4283 #define size_t unsigned int
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4284 _ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4285
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4286 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4287
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4288
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4289 # Checks for library functions.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4290 for ac_header in stdlib.h
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4291 do :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4292 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4293 if test "x$ac_cv_header_stdlib_h" = xyes; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4294 cat >>confdefs.h <<_ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4295 #define HAVE_STDLIB_H 1
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4296 _ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4297
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4298 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4299
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4300 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4301
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4303 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4304 if ${ac_cv_func_malloc_0_nonnull+:} false; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4305 $as_echo_n "(cached) " >&6
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4306 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4307 if test "$cross_compiling" = yes; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4308 ac_cv_func_malloc_0_nonnull=no
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4309 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4311 /* end confdefs.h. */
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4312 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4313 # include <stdlib.h>
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4314 #else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4315 char *malloc ();
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4316 #endif
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4317
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4318 int
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4319 main ()
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4320 {
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4321 return ! malloc (0);
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4322 ;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4323 return 0;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4324 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4325 _ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4326 if ac_fn_c_try_run "$LINENO"; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4327 ac_cv_func_malloc_0_nonnull=yes
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4328 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4329 ac_cv_func_malloc_0_nonnull=no
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4330 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4331 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4332 conftest.$ac_objext conftest.beam conftest.$ac_ext
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4333 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4334
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4335 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4337 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4338 if test $ac_cv_func_malloc_0_nonnull = yes; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4339
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4340 $as_echo "#define HAVE_MALLOC 1" >>confdefs.h
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4341
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4342 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4343 $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4344
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4345 case " $LIBOBJS " in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4346 *" malloc.$ac_objext "* ) ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4347 *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4348 ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4349 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4350
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4351
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4352 $as_echo "#define malloc rpl_malloc" >>confdefs.h
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4353
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4354 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4355
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4356
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4357 for ac_header in stdlib.h
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4358 do :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4359 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4360 if test "x$ac_cv_header_stdlib_h" = xyes; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4361 cat >>confdefs.h <<_ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4362 #define HAVE_STDLIB_H 1
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4363 _ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4364
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4365 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4366
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4367 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4368
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4370 $as_echo_n "checking for GNU libc compatible realloc... " >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4371 if ${ac_cv_func_realloc_0_nonnull+:} false; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4372 $as_echo_n "(cached) " >&6
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4373 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4374 if test "$cross_compiling" = yes; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4375 ac_cv_func_realloc_0_nonnull=no
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4376 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4378 /* end confdefs.h. */
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4379 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4380 # include <stdlib.h>
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4381 #else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4382 char *realloc ();
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4383 #endif
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4384
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4385 int
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4386 main ()
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4387 {
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4388 return ! realloc (0, 0);
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4389 ;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4390 return 0;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4391 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4392 _ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4393 if ac_fn_c_try_run "$LINENO"; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4394 ac_cv_func_realloc_0_nonnull=yes
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4395 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4396 ac_cv_func_realloc_0_nonnull=no
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4397 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4398 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4399 conftest.$ac_objext conftest.beam conftest.$ac_ext
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4400 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4401
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4402 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4404 $as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4405 if test $ac_cv_func_realloc_0_nonnull = yes; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4406
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4407 $as_echo "#define HAVE_REALLOC 1" >>confdefs.h
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4408
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4409 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4410 $as_echo "#define HAVE_REALLOC 0" >>confdefs.h
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4411
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4412 case " $LIBOBJS " in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4413 *" realloc.$ac_objext "* ) ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4414 *) LIBOBJS="$LIBOBJS realloc.$ac_objext"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4415 ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4416 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4417
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4418
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4419 $as_echo "#define realloc rpl_realloc" >>confdefs.h
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4420
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4421 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4422
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4423
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4424 for ac_func in memset regcomp strcasecmp strchr
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4425 do :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4426 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4427 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4428 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4429 cat >>confdefs.h <<_ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4430 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4431 _ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4432
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4433 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4434 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4435
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4436
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4437 ac_config_files="$ac_config_files Makefile src/Makefile"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4438
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4439 cat >confcache <<\_ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4440 # This file is a shell script that caches the results of configure
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4441 # tests run on this system so they can be shared between configure
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4442 # scripts and configure runs, see configure's option --config-cache.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4443 # It is not useful on other systems. If it contains results you don't
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4444 # want to keep, you may remove or edit it.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4445 #
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4446 # config.status only pays attention to the cache file if you give it
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4447 # the --recheck option to rerun configure.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4448 #
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4449 # `ac_cv_env_foo' variables (set or unset) will be overridden when
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4450 # loading this file, other *unset* `ac_cv_foo' will be assigned the
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4451 # following values.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4452
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4453 _ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4454
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4455 # The following way of writing the cache mishandles newlines in values,
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4456 # but we know of no workaround that is simple, portable, and efficient.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4457 # So, we kill variables containing newlines.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4458 # Ultrix sh set writes to stderr and can't be redirected directly,
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4459 # and sets the high bit in the cache file unless we assign to the vars.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4460 (
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4461 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4462 eval ac_val=\$$ac_var
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4463 case $ac_val in #(
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4464 *${as_nl}*)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4465 case $ac_var in #(
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4466 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4467 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4468 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4469 case $ac_var in #(
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4470 _ | IFS | as_nl) ;; #(
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4471 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4472 *) { eval $ac_var=; unset $ac_var;} ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4473 esac ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4474 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4475 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4476
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4477 (set) 2>&1 |
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4478 case $as_nl`(ac_space=' '; set) 2>&1` in #(
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4479 *${as_nl}ac_space=\ *)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4480 # `set' does not quote correctly, so add quotes: double-quote
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4481 # substitution turns \\\\ into \\, and sed turns \\ into \.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4482 sed -n \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4483 "s/'/'\\\\''/g;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4484 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4485 ;; #(
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4486 *)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4487 # `set' quotes correctly as required by POSIX, so do not add quotes.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4488 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4489 ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4490 esac |
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4491 sort
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4492 ) |
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4493 sed '
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4494 /^ac_cv_env_/b end
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4495 t clear
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4496 :clear
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4497 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4498 t end
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4499 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4500 :end' >>confcache
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4501 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4502 if test -w "$cache_file"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4503 if test "x$cache_file" != "x/dev/null"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4504 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4505 $as_echo "$as_me: updating cache $cache_file" >&6;}
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4506 if test ! -f "$cache_file" || test -h "$cache_file"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4507 cat confcache >"$cache_file"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4508 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4509 case $cache_file in #(
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4510 */* | ?:*)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4511 mv -f confcache "$cache_file"$$ &&
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4512 mv -f "$cache_file"$$ "$cache_file" ;; #(
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4513 *)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4514 mv -f confcache "$cache_file" ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4515 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4516 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4517 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4518 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4519 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4520 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4521 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4522 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4523 rm -f confcache
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4524
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4525 test "x$prefix" = xNONE && prefix=$ac_default_prefix
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4526 # Let make expand exec_prefix.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4527 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4528
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4529 DEFS=-DHAVE_CONFIG_H
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4530
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4531 ac_libobjs=
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4532 ac_ltlibobjs=
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4533 U=
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4534 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4535 # 1. Remove the extension, and $U if already installed.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4536 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4537 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4538 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4539 # will be set to the directory where LIBOBJS objects are built.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4540 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4541 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4542 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4543 LIBOBJS=$ac_libobjs
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4544
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4545 LTLIBOBJS=$ac_ltlibobjs
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4546
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4547
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4549 $as_echo_n "checking that generated files are newer than configure... " >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4550 if test -n "$am_sleep_pid"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4551 # Hide warnings about reused PIDs.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4552 wait $am_sleep_pid 2>/dev/null
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4553 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4555 $as_echo "done" >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4556 if test -n "$EXEEXT"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4557 am__EXEEXT_TRUE=
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4558 am__EXEEXT_FALSE='#'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4559 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4560 am__EXEEXT_TRUE='#'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4561 am__EXEEXT_FALSE=
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4562 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4563
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4564 if test -z "${DEBUG_TRUE}" && test -z "${DEBUG_FALSE}"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4565 as_fn_error $? "conditional \"DEBUG\" was never defined.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4566 Usually this means the macro was only invoked conditionally." "$LINENO" 5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4567 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4568 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4569 as_fn_error $? "conditional \"AMDEP\" was never defined.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4570 Usually this means the macro was only invoked conditionally." "$LINENO" 5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4571 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4572 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4573 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4574 Usually this means the macro was only invoked conditionally." "$LINENO" 5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4575 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4576
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4577 : "${CONFIG_STATUS=./config.status}"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4578 ac_write_fail=0
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4579 ac_clean_files_save=$ac_clean_files
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4580 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4581 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4582 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4583 as_write_fail=0
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4584 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4585 #! $SHELL
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4586 # Generated by $as_me.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4587 # Run this file to recreate the current configuration.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4588 # Compiler output produced by configure, useful for debugging
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4589 # configure, is in config.log if it exists.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4590
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4591 debug=false
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4592 ac_cs_recheck=false
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4593 ac_cs_silent=false
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4594
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4595 SHELL=\${CONFIG_SHELL-$SHELL}
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4596 export SHELL
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4597 _ASEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4598 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4599 ## -------------------- ##
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4600 ## M4sh Initialization. ##
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4601 ## -------------------- ##
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4602
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4603 # Be more Bourne compatible
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4604 DUALCASE=1; export DUALCASE # for MKS sh
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4605 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4606 emulate sh
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4607 NULLCMD=:
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4608 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4609 # is contrary to our usage. Disable this feature.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4610 alias -g '${1+"$@"}'='"$@"'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4611 setopt NO_GLOB_SUBST
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4612 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4613 case `(set -o) 2>/dev/null` in #(
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4614 *posix*) :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4615 set -o posix ;; #(
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4616 *) :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4617 ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4618 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4619 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4620
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4621
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4622 as_nl='
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4623 '
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4624 export as_nl
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4625 # Printing a long string crashes Solaris 7 /usr/bin/printf.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4626 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4627 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4628 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4629 # Prefer a ksh shell builtin over an external printf program on Solaris,
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4630 # but without wasting forks for bash or zsh.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4631 if test -z "$BASH_VERSION$ZSH_VERSION" \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4632 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4633 as_echo='print -r --'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4634 as_echo_n='print -rn --'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4635 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4636 as_echo='printf %s\n'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4637 as_echo_n='printf %s'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4638 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4639 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4640 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4641 as_echo_n='/usr/ucb/echo -n'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4642 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4643 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4644 as_echo_n_body='eval
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4645 arg=$1;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4646 case $arg in #(
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4647 *"$as_nl"*)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4648 expr "X$arg" : "X\\(.*\\)$as_nl";
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4649 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4650 esac;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4651 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4652 '
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4653 export as_echo_n_body
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4654 as_echo_n='sh -c $as_echo_n_body as_echo'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4655 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4656 export as_echo_body
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4657 as_echo='sh -c $as_echo_body as_echo'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4658 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4659
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4660 # The user is always right.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4661 if test "${PATH_SEPARATOR+set}" != set; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4662 PATH_SEPARATOR=:
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4663 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4664 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4665 PATH_SEPARATOR=';'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4666 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4667 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4668
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4669
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4670 # IFS
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4671 # We need space, tab and new line, in precisely that order. Quoting is
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4672 # there to prevent editors from complaining about space-tab.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4673 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4674 # splitting by setting IFS to empty value.)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4675 IFS=" "" $as_nl"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4676
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4677 # Find who we are. Look in the path if we contain no directory separator.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4678 as_myself=
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4679 case $0 in #((
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4680 *[\\/]* ) as_myself=$0 ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4681 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4682 for as_dir in $PATH
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4683 do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4684 IFS=$as_save_IFS
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4685 test -z "$as_dir" && as_dir=.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4686 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4687 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4688 IFS=$as_save_IFS
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4689
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4690 ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4691 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4692 # We did not find ourselves, most probably we were run as `sh COMMAND'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4693 # in which case we are not to be found in the path.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4694 if test "x$as_myself" = x; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4695 as_myself=$0
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4696 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4697 if test ! -f "$as_myself"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4698 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4699 exit 1
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4700 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4701
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4702 # Unset variables that we do not need and which cause bugs (e.g. in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4703 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4704 # suppresses any "Segmentation fault" message there. '((' could
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4705 # trigger a bug in pdksh 5.2.14.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4706 for as_var in BASH_ENV ENV MAIL MAILPATH
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4707 do eval test x\${$as_var+set} = xset \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4708 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4709 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4710 PS1='$ '
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4711 PS2='> '
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4712 PS4='+ '
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4713
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4714 # NLS nuisances.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4715 LC_ALL=C
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4716 export LC_ALL
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4717 LANGUAGE=C
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4718 export LANGUAGE
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4719
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4720 # CDPATH.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4721 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4722
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4723
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4724 # as_fn_error STATUS ERROR [LINENO LOG_FD]
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4725 # ----------------------------------------
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4726 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4727 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4728 # script with STATUS, using 1 if that was 0.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4729 as_fn_error ()
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4730 {
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4731 as_status=$1; test $as_status -eq 0 && as_status=1
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4732 if test "$4"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4733 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4734 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4735 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4736 $as_echo "$as_me: error: $2" >&2
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4737 as_fn_exit $as_status
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4738 } # as_fn_error
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4739
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4740
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4741 # as_fn_set_status STATUS
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4742 # -----------------------
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4743 # Set $? to STATUS, without forking.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4744 as_fn_set_status ()
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4745 {
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4746 return $1
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4747 } # as_fn_set_status
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4748
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4749 # as_fn_exit STATUS
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4750 # -----------------
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4751 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4752 as_fn_exit ()
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4753 {
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4754 set +e
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4755 as_fn_set_status $1
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4756 exit $1
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4757 } # as_fn_exit
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4758
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4759 # as_fn_unset VAR
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4760 # ---------------
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4761 # Portably unset VAR.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4762 as_fn_unset ()
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4763 {
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4764 { eval $1=; unset $1;}
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4765 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4766 as_unset=as_fn_unset
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4767 # as_fn_append VAR VALUE
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4768 # ----------------------
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4769 # Append the text in VALUE to the end of the definition contained in VAR. Take
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4770 # advantage of any shell optimizations that allow amortized linear growth over
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4771 # repeated appends, instead of the typical quadratic growth present in naive
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4772 # implementations.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4773 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4774 eval 'as_fn_append ()
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4775 {
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4776 eval $1+=\$2
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4777 }'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4778 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4779 as_fn_append ()
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4780 {
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4781 eval $1=\$$1\$2
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4782 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4783 fi # as_fn_append
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4784
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4785 # as_fn_arith ARG...
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4786 # ------------------
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4787 # Perform arithmetic evaluation on the ARGs, and store the result in the
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4788 # global $as_val. Take advantage of shells that can avoid forks. The arguments
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4789 # must be portable across $(()) and expr.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4790 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4791 eval 'as_fn_arith ()
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4792 {
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4793 as_val=$(( $* ))
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4794 }'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4795 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4796 as_fn_arith ()
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4797 {
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4798 as_val=`expr "$@" || test $? -eq 1`
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4799 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4800 fi # as_fn_arith
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4801
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4802
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4803 if expr a : '\(a\)' >/dev/null 2>&1 &&
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4804 test "X`expr 00001 : '.*\(...\)'`" = X001; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4805 as_expr=expr
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4806 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4807 as_expr=false
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4808 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4809
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4810 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4811 as_basename=basename
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4812 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4813 as_basename=false
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4814 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4815
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4816 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4817 as_dirname=dirname
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4818 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4819 as_dirname=false
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4820 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4821
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4822 as_me=`$as_basename -- "$0" ||
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4823 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4824 X"$0" : 'X\(//\)$' \| \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4825 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4826 $as_echo X/"$0" |
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4827 sed '/^.*\/\([^/][^/]*\)\/*$/{
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4828 s//\1/
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4829 q
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4830 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4831 /^X\/\(\/\/\)$/{
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4832 s//\1/
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4833 q
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4834 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4835 /^X\/\(\/\).*/{
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4836 s//\1/
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4837 q
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4838 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4839 s/.*/./; q'`
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4840
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4841 # Avoid depending upon Character Ranges.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4842 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4843 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4844 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4845 as_cr_digits='0123456789'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4846 as_cr_alnum=$as_cr_Letters$as_cr_digits
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4847
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4848 ECHO_C= ECHO_N= ECHO_T=
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4849 case `echo -n x` in #(((((
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4850 -n*)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4851 case `echo 'xy\c'` in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4852 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4853 xy) ECHO_C='\c';;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4854 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4855 ECHO_T=' ';;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4856 esac;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4857 *)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4858 ECHO_N='-n';;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4859 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4860
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4861 rm -f conf$$ conf$$.exe conf$$.file
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4862 if test -d conf$$.dir; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4863 rm -f conf$$.dir/conf$$.file
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4864 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4865 rm -f conf$$.dir
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4866 mkdir conf$$.dir 2>/dev/null
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4867 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4868 if (echo >conf$$.file) 2>/dev/null; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4869 if ln -s conf$$.file conf$$ 2>/dev/null; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4870 as_ln_s='ln -s'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4871 # ... but there are two gotchas:
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4872 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4873 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4874 # In both cases, we have to default to `cp -pR'.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4875 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4876 as_ln_s='cp -pR'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4877 elif ln conf$$.file conf$$ 2>/dev/null; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4878 as_ln_s=ln
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4879 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4880 as_ln_s='cp -pR'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4881 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4882 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4883 as_ln_s='cp -pR'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4884 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4885 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4886 rmdir conf$$.dir 2>/dev/null
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4887
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4888
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4889 # as_fn_mkdir_p
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4890 # -------------
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4891 # Create "$as_dir" as a directory, including parents if necessary.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4892 as_fn_mkdir_p ()
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4893 {
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4894
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4895 case $as_dir in #(
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4896 -*) as_dir=./$as_dir;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4897 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4898 test -d "$as_dir" || eval $as_mkdir_p || {
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4899 as_dirs=
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4900 while :; do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4901 case $as_dir in #(
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4902 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4903 *) as_qdir=$as_dir;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4904 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4905 as_dirs="'$as_qdir' $as_dirs"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4906 as_dir=`$as_dirname -- "$as_dir" ||
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4907 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4908 X"$as_dir" : 'X\(//\)[^/]' \| \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4909 X"$as_dir" : 'X\(//\)$' \| \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4910 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4911 $as_echo X"$as_dir" |
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4912 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4913 s//\1/
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4914 q
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4915 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4916 /^X\(\/\/\)[^/].*/{
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4917 s//\1/
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4918 q
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4919 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4920 /^X\(\/\/\)$/{
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4921 s//\1/
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4922 q
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4923 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4924 /^X\(\/\).*/{
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4925 s//\1/
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4926 q
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4927 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4928 s/.*/./; q'`
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4929 test -d "$as_dir" && break
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4930 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4931 test -z "$as_dirs" || eval "mkdir $as_dirs"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4932 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4933
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4934
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4935 } # as_fn_mkdir_p
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4936 if mkdir -p . 2>/dev/null; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4937 as_mkdir_p='mkdir -p "$as_dir"'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4938 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4939 test -d ./-p && rmdir ./-p
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4940 as_mkdir_p=false
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4941 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4942
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4943
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4944 # as_fn_executable_p FILE
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4945 # -----------------------
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4946 # Test if FILE is an executable regular file.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4947 as_fn_executable_p ()
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4948 {
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4949 test -f "$1" && test -x "$1"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4950 } # as_fn_executable_p
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4951 as_test_x='test -x'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4952 as_executable_p=as_fn_executable_p
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4953
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4954 # Sed expression to map a string onto a valid CPP name.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4955 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4956
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4957 # Sed expression to map a string onto a valid variable name.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4958 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4959
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4960
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4961 exec 6>&1
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4962 ## ----------------------------------- ##
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4963 ## Main body of $CONFIG_STATUS script. ##
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4964 ## ----------------------------------- ##
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4965 _ASEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4966 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4967
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4968 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4969 # Save the log message, to keep $0 and so on meaningful, and to
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4970 # report actual input values of CONFIG_FILES etc. instead of their
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4971 # values after options handling.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4972 ac_log="
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4973 This file was extended by cline $as_me 1.1, which was
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4974 generated by GNU Autoconf 2.69. Invocation command line was
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4975
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4976 CONFIG_FILES = $CONFIG_FILES
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4977 CONFIG_HEADERS = $CONFIG_HEADERS
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4978 CONFIG_LINKS = $CONFIG_LINKS
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4979 CONFIG_COMMANDS = $CONFIG_COMMANDS
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4980 $ $0 $@
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4981
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4982 on `(hostname || uname -n) 2>/dev/null | sed 1q`
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4983 "
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4984
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4985 _ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4986
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4987 case $ac_config_files in *"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4988 "*) set x $ac_config_files; shift; ac_config_files=$*;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4989 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4990
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4991 case $ac_config_headers in *"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4992 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4993 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4994
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4995
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4996 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4997 # Files that config.status was made for.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4998 config_files="$ac_config_files"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4999 config_headers="$ac_config_headers"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5000 config_commands="$ac_config_commands"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5001
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5002 _ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5003
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5004 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5005 ac_cs_usage="\
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5006 \`$as_me' instantiates files and other configuration actions
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5007 from templates according to the current configuration. Unless the files
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5008 and actions are specified as TAGs, all are instantiated by default.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5009
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5010 Usage: $0 [OPTION]... [TAG]...
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5011
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5012 -h, --help print this help, then exit
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5013 -V, --version print version number and configuration settings, then exit
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5014 --config print configuration, then exit
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5015 -q, --quiet, --silent
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5016 do not print progress messages
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5017 -d, --debug don't remove temporary files
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5018 --recheck update $as_me by reconfiguring in the same conditions
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5019 --file=FILE[:TEMPLATE]
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5020 instantiate the configuration file FILE
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5021 --header=FILE[:TEMPLATE]
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5022 instantiate the configuration header FILE
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5023
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5024 Configuration files:
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5025 $config_files
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5026
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5027 Configuration headers:
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5028 $config_headers
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5029
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5030 Configuration commands:
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5031 $config_commands
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5032
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5033 Report bugs to <universe@uap-core.de>."
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5034
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5035 _ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5036 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5037 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5038 ac_cs_version="\\
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5039 cline config.status 1.1
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5040 configured by $0, generated by GNU Autoconf 2.69,
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5041 with options \\"\$ac_cs_config\\"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5042
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5043 Copyright (C) 2012 Free Software Foundation, Inc.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5044 This config.status script is free software; the Free Software Foundation
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5045 gives unlimited permission to copy, distribute and modify it."
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5046
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5047 ac_pwd='$ac_pwd'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5048 srcdir='$srcdir'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5049 INSTALL='$INSTALL'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5050 MKDIR_P='$MKDIR_P'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5051 AWK='$AWK'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5052 test -n "\$AWK" || AWK=awk
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5053 _ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5054
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5055 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5056 # The default lists apply if the user does not specify any file.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5057 ac_need_defaults=:
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5058 while test $# != 0
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5059 do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5060 case $1 in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5061 --*=?*)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5062 ac_option=`expr "X$1" : 'X\([^=]*\)='`
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5063 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5064 ac_shift=:
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5065 ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5066 --*=)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5067 ac_option=`expr "X$1" : 'X\([^=]*\)='`
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5068 ac_optarg=
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5069 ac_shift=:
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5070 ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5071 *)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5072 ac_option=$1
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5073 ac_optarg=$2
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5074 ac_shift=shift
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5075 ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5076 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5077
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5078 case $ac_option in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5079 # Handling of the options.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5080 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5081 ac_cs_recheck=: ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5082 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5083 $as_echo "$ac_cs_version"; exit ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5084 --config | --confi | --conf | --con | --co | --c )
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5085 $as_echo "$ac_cs_config"; exit ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5086 --debug | --debu | --deb | --de | --d | -d )
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5087 debug=: ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5088 --file | --fil | --fi | --f )
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5089 $ac_shift
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5090 case $ac_optarg in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5091 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5092 '') as_fn_error $? "missing file argument" ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5093 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5094 as_fn_append CONFIG_FILES " '$ac_optarg'"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5095 ac_need_defaults=false;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5096 --header | --heade | --head | --hea )
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5097 $ac_shift
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5098 case $ac_optarg in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5099 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5100 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5101 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5102 ac_need_defaults=false;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5103 --he | --h)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5104 # Conflict between --help and --header
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5105 as_fn_error $? "ambiguous option: \`$1'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5106 Try \`$0 --help' for more information.";;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5107 --help | --hel | -h )
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5108 $as_echo "$ac_cs_usage"; exit ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5109 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5110 | -silent | --silent | --silen | --sile | --sil | --si | --s)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5111 ac_cs_silent=: ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5112
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5113 # This is an error.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5114 -*) as_fn_error $? "unrecognized option: \`$1'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5115 Try \`$0 --help' for more information." ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5116
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5117 *) as_fn_append ac_config_targets " $1"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5118 ac_need_defaults=false ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5119
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5120 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5121 shift
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5122 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5123
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5124 ac_configure_extra_args=
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5125
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5126 if $ac_cs_silent; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5127 exec 6>/dev/null
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5128 ac_configure_extra_args="$ac_configure_extra_args --silent"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5129 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5130
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5131 _ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5132 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5133 if \$ac_cs_recheck; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5134 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5135 shift
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5136 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5137 CONFIG_SHELL='$SHELL'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5138 export CONFIG_SHELL
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5139 exec "\$@"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5140 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5141
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5142 _ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5143 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5144 exec 5>>config.log
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5145 {
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5146 echo
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5147 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5148 ## Running $as_me. ##
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5149 _ASBOX
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5150 $as_echo "$ac_log"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5151 } >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5152
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5153 _ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5154 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5155 #
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5156 # INIT-COMMANDS
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5157 #
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5158 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5159
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5160 _ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5161
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5162 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5163
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5164 # Handling of arguments.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5165 for ac_config_target in $ac_config_targets
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5166 do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5167 case $ac_config_target in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5168 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5169 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5170 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5171 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5172
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5173 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5174 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5175 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5176
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5177
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5178 # If the user did not use the arguments to specify the items to instantiate,
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5179 # then the envvar interface is used. Set only those that are not.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5180 # We use the long form for the default assignment because of an extremely
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5181 # bizarre bug on SunOS 4.1.3.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5182 if $ac_need_defaults; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5183 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5184 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5185 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5186 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5187
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5188 # Have a temporary directory for convenience. Make it in the build tree
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5189 # simply because there is no reason against having it here, and in addition,
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5190 # creating and moving files from /tmp can sometimes cause problems.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5191 # Hook for its removal unless debugging.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5192 # Note that there is a small window in which the directory will not be cleaned:
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5193 # after its creation but before its name has been assigned to `$tmp'.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5194 $debug ||
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5195 {
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5196 tmp= ac_tmp=
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5197 trap 'exit_status=$?
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5198 : "${ac_tmp:=$tmp}"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5199 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5200 ' 0
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5201 trap 'as_fn_exit 1' 1 2 13 15
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5202 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5203 # Create a (secure) tmp directory for tmp files.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5204
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5205 {
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5206 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5207 test -d "$tmp"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5208 } ||
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5209 {
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5210 tmp=./conf$$-$RANDOM
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5211 (umask 077 && mkdir "$tmp")
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5212 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5213 ac_tmp=$tmp
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5214
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5215 # Set up the scripts for CONFIG_FILES section.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5216 # No need to generate them if there are no CONFIG_FILES.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5217 # This happens for instance with `./config.status config.h'.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5218 if test -n "$CONFIG_FILES"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5219
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5220
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5221 ac_cr=`echo X | tr X '\015'`
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5222 # On cygwin, bash can eat \r inside `` if the user requested igncr.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5223 # But we know of no other shell where ac_cr would be empty at this
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5224 # point, so we can use a bashism as a fallback.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5225 if test "x$ac_cr" = x; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5226 eval ac_cr=\$\'\\r\'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5227 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5228 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5229 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5230 ac_cs_awk_cr='\\r'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5231 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5232 ac_cs_awk_cr=$ac_cr
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5233 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5234
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5235 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5236 _ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5237
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5238
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5239 {
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5240 echo "cat >conf$$subs.awk <<_ACEOF" &&
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5241 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5242 echo "_ACEOF"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5243 } >conf$$subs.sh ||
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5244 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5245 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5246 ac_delim='%!_!# '
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5247 for ac_last_try in false false false false false :; do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5248 . ./conf$$subs.sh ||
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5249 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5250
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5251 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5252 if test $ac_delim_n = $ac_delim_num; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5253 break
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5254 elif $ac_last_try; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5255 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5256 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5257 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5258 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5259 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5260 rm -f conf$$subs.sh
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5261
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5262 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5263 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5264 _ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5265 sed -n '
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5266 h
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5267 s/^/S["/; s/!.*/"]=/
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5268 p
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5269 g
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5270 s/^[^!]*!//
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5271 :repl
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5272 t repl
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5273 s/'"$ac_delim"'$//
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5274 t delim
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5275 :nl
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5276 h
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5277 s/\(.\{148\}\)..*/\1/
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5278 t more1
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5279 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5280 p
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5281 n
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5282 b repl
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5283 :more1
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5284 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5285 p
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5286 g
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5287 s/.\{148\}//
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5288 t nl
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5289 :delim
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5290 h
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5291 s/\(.\{148\}\)..*/\1/
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5292 t more2
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5293 s/["\\]/\\&/g; s/^/"/; s/$/"/
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5294 p
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5295 b
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5296 :more2
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5297 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5298 p
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5299 g
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5300 s/.\{148\}//
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5301 t delim
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5302 ' <conf$$subs.awk | sed '
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5303 /^[^""]/{
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5304 N
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5305 s/\n//
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5306 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5307 ' >>$CONFIG_STATUS || ac_write_fail=1
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5308 rm -f conf$$subs.awk
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5309 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5310 _ACAWK
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5311 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5312 for (key in S) S_is_set[key] = 1
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5313 FS = ""
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5314
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5315 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5316 {
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5317 line = $ 0
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5318 nfields = split(line, field, "@")
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5319 substed = 0
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5320 len = length(field[1])
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5321 for (i = 2; i < nfields; i++) {
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5322 key = field[i]
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5323 keylen = length(key)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5324 if (S_is_set[key]) {
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5325 value = S[key]
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5326 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5327 len += length(value) + length(field[++i])
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5328 substed = 1
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5329 } else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5330 len += 1 + keylen
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5331 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5332
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5333 print line
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5334 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5335
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5336 _ACAWK
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5337 _ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5338 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5339 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5340 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5341 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5342 cat
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5343 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5344 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5345 _ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5346
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5347 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5348 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5349 # trailing colons and then remove the whole line if VPATH becomes empty
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5350 # (actually we leave an empty line to preserve line numbers).
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5351 if test "x$srcdir" = x.; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5352 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5353 h
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5354 s///
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5355 s/^/:/
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5356 s/[ ]*$/:/
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5357 s/:\$(srcdir):/:/g
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5358 s/:\${srcdir}:/:/g
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5359 s/:@srcdir@:/:/g
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5360 s/^:*//
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5361 s/:*$//
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5362 x
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5363 s/\(=[ ]*\).*/\1/
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5364 G
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5365 s/\n//
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5366 s/^[^=]*=[ ]*$//
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5367 }'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5368 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5369
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5370 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5371 fi # test -n "$CONFIG_FILES"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5372
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5373 # Set up the scripts for CONFIG_HEADERS section.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5374 # No need to generate them if there are no CONFIG_HEADERS.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5375 # This happens for instance with `./config.status Makefile'.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5376 if test -n "$CONFIG_HEADERS"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5377 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5378 BEGIN {
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5379 _ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5380
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5381 # Transform confdefs.h into an awk script `defines.awk', embedded as
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5382 # here-document in config.status, that substitutes the proper values into
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5383 # config.h.in to produce config.h.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5384
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5385 # Create a delimiter string that does not exist in confdefs.h, to ease
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5386 # handling of long lines.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5387 ac_delim='%!_!# '
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5388 for ac_last_try in false false :; do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5389 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5390 if test -z "$ac_tt"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5391 break
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5392 elif $ac_last_try; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5393 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5394 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5395 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5396 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5397 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5398
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5399 # For the awk script, D is an array of macro values keyed by name,
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5400 # likewise P contains macro parameters if any. Preserve backslash
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5401 # newline sequences.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5402
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5403 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5404 sed -n '
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5405 s/.\{148\}/&'"$ac_delim"'/g
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5406 t rset
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5407 :rset
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5408 s/^[ ]*#[ ]*define[ ][ ]*/ /
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5409 t def
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5410 d
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5411 :def
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5412 s/\\$//
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5413 t bsnl
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5414 s/["\\]/\\&/g
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5415 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5416 D["\1"]=" \3"/p
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5417 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5418 d
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5419 :bsnl
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5420 s/["\\]/\\&/g
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5421 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5422 D["\1"]=" \3\\\\\\n"\\/p
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5423 t cont
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5424 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5425 t cont
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5426 d
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5427 :cont
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5428 n
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5429 s/.\{148\}/&'"$ac_delim"'/g
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5430 t clear
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5431 :clear
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5432 s/\\$//
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5433 t bsnlc
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5434 s/["\\]/\\&/g; s/^/"/; s/$/"/p
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5435 d
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5436 :bsnlc
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5437 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5438 b cont
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5439 ' <confdefs.h | sed '
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5440 s/'"$ac_delim"'/"\\\
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5441 "/g' >>$CONFIG_STATUS || ac_write_fail=1
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5442
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5443 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5444 for (key in D) D_is_set[key] = 1
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5445 FS = ""
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5446 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5447 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5448 line = \$ 0
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5449 split(line, arg, " ")
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5450 if (arg[1] == "#") {
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5451 defundef = arg[2]
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5452 mac1 = arg[3]
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5453 } else {
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5454 defundef = substr(arg[1], 2)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5455 mac1 = arg[2]
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5456 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5457 split(mac1, mac2, "(") #)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5458 macro = mac2[1]
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5459 prefix = substr(line, 1, index(line, defundef) - 1)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5460 if (D_is_set[macro]) {
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5461 # Preserve the white space surrounding the "#".
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5462 print prefix "define", macro P[macro] D[macro]
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5463 next
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5464 } else {
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5465 # Replace #undef with comments. This is necessary, for example,
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5466 # in the case of _POSIX_SOURCE, which is predefined and required
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5467 # on some systems where configure will not decide to define it.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5468 if (defundef == "undef") {
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5469 print "/*", prefix defundef, macro, "*/"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5470 next
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5471 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5472 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5473 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5474 { print }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5475 _ACAWK
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5476 _ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5477 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5478 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5479 fi # test -n "$CONFIG_HEADERS"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5480
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5481
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5482 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5483 shift
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5484 for ac_tag
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5485 do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5486 case $ac_tag in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5487 :[FHLC]) ac_mode=$ac_tag; continue;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5488 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5489 case $ac_mode$ac_tag in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5490 :[FHL]*:*);;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5491 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5492 :[FH]-) ac_tag=-:-;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5493 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5494 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5495 ac_save_IFS=$IFS
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5496 IFS=:
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5497 set x $ac_tag
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5498 IFS=$ac_save_IFS
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5499 shift
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5500 ac_file=$1
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5501 shift
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5502
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5503 case $ac_mode in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5504 :L) ac_source=$1;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5505 :[FH])
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5506 ac_file_inputs=
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5507 for ac_f
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5508 do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5509 case $ac_f in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5510 -) ac_f="$ac_tmp/stdin";;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5511 *) # Look for the file first in the build tree, then in the source tree
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5512 # (if the path is not absolute). The absolute path cannot be DOS-style,
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5513 # because $ac_f cannot contain `:'.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5514 test -f "$ac_f" ||
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5515 case $ac_f in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5516 [\\/$]*) false;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5517 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5518 esac ||
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5519 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5520 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5521 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5522 as_fn_append ac_file_inputs " '$ac_f'"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5523 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5524
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5525 # Let's still pretend it is `configure' which instantiates (i.e., don't
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5526 # use $as_me), people would be surprised to read:
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5527 # /* config.h. Generated by config.status. */
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5528 configure_input='Generated from '`
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5529 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5530 `' by configure.'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5531 if test x"$ac_file" != x-; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5532 configure_input="$ac_file. $configure_input"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5533 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5534 $as_echo "$as_me: creating $ac_file" >&6;}
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5535 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5536 # Neutralize special characters interpreted by sed in replacement strings.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5537 case $configure_input in #(
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5538 *\&* | *\|* | *\\* )
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5539 ac_sed_conf_input=`$as_echo "$configure_input" |
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5540 sed 's/[\\\\&|]/\\\\&/g'`;; #(
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5541 *) ac_sed_conf_input=$configure_input;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5542 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5543
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5544 case $ac_tag in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5545 *:-:* | *:-) cat >"$ac_tmp/stdin" \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5546 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5547 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5548 ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5549 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5550
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5551 ac_dir=`$as_dirname -- "$ac_file" ||
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5552 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5553 X"$ac_file" : 'X\(//\)[^/]' \| \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5554 X"$ac_file" : 'X\(//\)$' \| \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5555 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5556 $as_echo X"$ac_file" |
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5557 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5558 s//\1/
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5559 q
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5560 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5561 /^X\(\/\/\)[^/].*/{
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5562 s//\1/
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5563 q
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5564 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5565 /^X\(\/\/\)$/{
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5566 s//\1/
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5567 q
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5568 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5569 /^X\(\/\).*/{
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5570 s//\1/
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5571 q
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5572 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5573 s/.*/./; q'`
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5574 as_dir="$ac_dir"; as_fn_mkdir_p
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5575 ac_builddir=.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5576
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5577 case "$ac_dir" in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5578 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5579 *)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5580 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5581 # A ".." for each directory in $ac_dir_suffix.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5582 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5583 case $ac_top_builddir_sub in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5584 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5585 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5586 esac ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5587 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5588 ac_abs_top_builddir=$ac_pwd
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5589 ac_abs_builddir=$ac_pwd$ac_dir_suffix
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5590 # for backward compatibility:
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5591 ac_top_builddir=$ac_top_build_prefix
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5592
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5593 case $srcdir in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5594 .) # We are building in place.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5595 ac_srcdir=.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5596 ac_top_srcdir=$ac_top_builddir_sub
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5597 ac_abs_top_srcdir=$ac_pwd ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5598 [\\/]* | ?:[\\/]* ) # Absolute name.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5599 ac_srcdir=$srcdir$ac_dir_suffix;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5600 ac_top_srcdir=$srcdir
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5601 ac_abs_top_srcdir=$srcdir ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5602 *) # Relative name.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5603 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5604 ac_top_srcdir=$ac_top_build_prefix$srcdir
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5605 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5606 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5607 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5608
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5609
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5610 case $ac_mode in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5611 :F)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5612 #
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5613 # CONFIG_FILE
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5614 #
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5615
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5616 case $INSTALL in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5617 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5618 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5619 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5620 ac_MKDIR_P=$MKDIR_P
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5621 case $MKDIR_P in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5622 [\\/$]* | ?:[\\/]* ) ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5623 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5624 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5625 _ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5626
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5627 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5628 # If the template does not know about datarootdir, expand it.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5629 # FIXME: This hack should be removed a few years after 2.60.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5630 ac_datarootdir_hack=; ac_datarootdir_seen=
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5631 ac_sed_dataroot='
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5632 /datarootdir/ {
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5633 p
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5634 q
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5635 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5636 /@datadir@/p
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5637 /@docdir@/p
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5638 /@infodir@/p
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5639 /@localedir@/p
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5640 /@mandir@/p'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5641 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5642 *datarootdir*) ac_datarootdir_seen=yes;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5643 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5644 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5645 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5646 _ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5647 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5648 ac_datarootdir_hack='
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5649 s&@datadir@&$datadir&g
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5650 s&@docdir@&$docdir&g
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5651 s&@infodir@&$infodir&g
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5652 s&@localedir@&$localedir&g
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5653 s&@mandir@&$mandir&g
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5654 s&\\\${datarootdir}&$datarootdir&g' ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5655 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5656 _ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5657
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5658 # Neutralize VPATH when `$srcdir' = `.'.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5659 # Shell code in configure.ac might set extrasub.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5660 # FIXME: do we really want to maintain this feature?
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5661 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5662 ac_sed_extra="$ac_vpsub
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5663 $extrasub
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5664 _ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5665 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5666 :t
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5667 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5668 s|@configure_input@|$ac_sed_conf_input|;t t
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5669 s&@top_builddir@&$ac_top_builddir_sub&;t t
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5670 s&@top_build_prefix@&$ac_top_build_prefix&;t t
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5671 s&@srcdir@&$ac_srcdir&;t t
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5672 s&@abs_srcdir@&$ac_abs_srcdir&;t t
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5673 s&@top_srcdir@&$ac_top_srcdir&;t t
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5674 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5675 s&@builddir@&$ac_builddir&;t t
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5676 s&@abs_builddir@&$ac_abs_builddir&;t t
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5677 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5678 s&@INSTALL@&$ac_INSTALL&;t t
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5679 s&@MKDIR_P@&$ac_MKDIR_P&;t t
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5680 $ac_datarootdir_hack
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5681 "
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5682 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5683 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5684
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5685 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5686 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5687 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5688 "$ac_tmp/out"`; test -z "$ac_out"; } &&
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5689 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5690 which seems to be undefined. Please make sure it is defined" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5691 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5692 which seems to be undefined. Please make sure it is defined" >&2;}
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5693
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5694 rm -f "$ac_tmp/stdin"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5695 case $ac_file in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5696 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5697 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5698 esac \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5699 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5700 ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5701 :H)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5702 #
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5703 # CONFIG_HEADER
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5704 #
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5705 if test x"$ac_file" != x-; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5706 {
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5707 $as_echo "/* $configure_input */" \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5708 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5709 } >"$ac_tmp/config.h" \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5710 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5711 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5712 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5713 $as_echo "$as_me: $ac_file is unchanged" >&6;}
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5714 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5715 rm -f "$ac_file"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5716 mv "$ac_tmp/config.h" "$ac_file" \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5717 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5718 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5719 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5720 $as_echo "/* $configure_input */" \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5721 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5722 || as_fn_error $? "could not create -" "$LINENO" 5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5723 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5724 # Compute "$ac_file"'s index in $config_headers.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5725 _am_arg="$ac_file"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5726 _am_stamp_count=1
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5727 for _am_header in $config_headers :; do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5728 case $_am_header in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5729 $_am_arg | $_am_arg:* )
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5730 break ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5731 * )
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5732 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5733 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5734 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5735 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5736 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5737 X"$_am_arg" : 'X\(//\)[^/]' \| \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5738 X"$_am_arg" : 'X\(//\)$' \| \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5739 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5740 $as_echo X"$_am_arg" |
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5741 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5742 s//\1/
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5743 q
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5744 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5745 /^X\(\/\/\)[^/].*/{
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5746 s//\1/
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5747 q
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5748 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5749 /^X\(\/\/\)$/{
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5750 s//\1/
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5751 q
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5752 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5753 /^X\(\/\).*/{
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5754 s//\1/
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5755 q
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5756 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5757 s/.*/./; q'`/stamp-h$_am_stamp_count
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5758 ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5759
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5760 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5761 $as_echo "$as_me: executing $ac_file commands" >&6;}
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5762 ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5763 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5764
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5765
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5766 case $ac_file$ac_mode in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5767 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5768 # Older Autoconf quotes --file arguments for eval, but not when files
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5769 # are listed without --file. Let's play safe and only enable the eval
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5770 # if we detect the quoting.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5771 case $CONFIG_FILES in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5772 *\'*) eval set x "$CONFIG_FILES" ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5773 *) set x $CONFIG_FILES ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5774 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5775 shift
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5776 for mf
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5777 do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5778 # Strip MF so we end up with the name of the file.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5779 mf=`echo "$mf" | sed -e 's/:.*$//'`
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5780 # Check whether this is an Automake generated Makefile or not.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5781 # We used to match only the files named 'Makefile.in', but
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5782 # some people rename them; so instead we look at the file content.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5783 # Grep'ing the first line is not enough: some people post-process
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5784 # each Makefile.in and add a new line on top of each file to say so.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5785 # Grep'ing the whole file is not good either: AIX grep has a line
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5786 # limit of 2048, but all sed's we know have understand at least 4000.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5787 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5788 dirpart=`$as_dirname -- "$mf" ||
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5789 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5790 X"$mf" : 'X\(//\)[^/]' \| \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5791 X"$mf" : 'X\(//\)$' \| \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5792 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5793 $as_echo X"$mf" |
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5794 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5795 s//\1/
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5796 q
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5797 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5798 /^X\(\/\/\)[^/].*/{
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5799 s//\1/
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5800 q
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5801 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5802 /^X\(\/\/\)$/{
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5803 s//\1/
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5804 q
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5805 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5806 /^X\(\/\).*/{
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5807 s//\1/
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5808 q
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5809 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5810 s/.*/./; q'`
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5811 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5812 continue
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5813 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5814 # Extract the definition of DEPDIR, am__include, and am__quote
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5815 # from the Makefile without running 'make'.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5816 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5817 test -z "$DEPDIR" && continue
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5818 am__include=`sed -n 's/^am__include = //p' < "$mf"`
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5819 test -z "$am__include" && continue
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5820 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5821 # Find all dependency output files, they are included files with
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5822 # $(DEPDIR) in their names. We invoke sed twice because it is the
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5823 # simplest approach to changing $(DEPDIR) to its actual value in the
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5824 # expansion.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5825 for file in `sed -n "
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5826 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5827 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5828 # Make sure the directory exists.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5829 test -f "$dirpart/$file" && continue
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5830 fdir=`$as_dirname -- "$file" ||
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5831 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5832 X"$file" : 'X\(//\)[^/]' \| \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5833 X"$file" : 'X\(//\)$' \| \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5834 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5835 $as_echo X"$file" |
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5836 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5837 s//\1/
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5838 q
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5839 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5840 /^X\(\/\/\)[^/].*/{
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5841 s//\1/
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5842 q
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5843 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5844 /^X\(\/\/\)$/{
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5845 s//\1/
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5846 q
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5847 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5848 /^X\(\/\).*/{
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5849 s//\1/
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5850 q
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5851 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5852 s/.*/./; q'`
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5853 as_dir=$dirpart/$fdir; as_fn_mkdir_p
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5854 # echo "creating $dirpart/$file"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5855 echo '# dummy' > "$dirpart/$file"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5856 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5857 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5858 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5859 ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5860
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5861 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5862 done # for ac_tag
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5863
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5864
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5865 as_fn_exit 0
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5866 _ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5867 ac_clean_files=$ac_clean_files_save
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5868
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5869 test $ac_write_fail = 0 ||
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5870 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5871
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5872
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5873 # configure is writing to config.log, and then calls config.status.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5874 # config.status does its own redirection, appending to config.log.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5875 # Unfortunately, on DOS this fails, as config.log is still kept open
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5876 # by configure, so config.status won't be able to write to it; its
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5877 # output is simply discarded. So we exec the FD to /dev/null,
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5878 # effectively closing config.log, so it can be properly (re)opened and
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5879 # appended to by config.status. When coming back to configure, we
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5880 # need to make the FD available again.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5881 if test "$no_create" != yes; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5882 ac_cs_success=:
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5883 ac_config_status_args=
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5884 test "$silent" = yes &&
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5885 ac_config_status_args="$ac_config_status_args --quiet"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5886 exec 5>/dev/null
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5887 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5888 exec 5>>config.log
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5889 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5890 # would make configure fail if this is the last instruction.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5891 $ac_cs_success || as_fn_exit 1
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5892 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5893 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5894 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5895 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5896 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5897

mercurial