configure

Wed, 31 May 2017 12:51:24 +0200

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

fixes compiler flags

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")
51
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
1348 --enable-debug Turn on debugging
48
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
51
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
2792 # Compiler (empty default options)
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
2793 ${CFLAGS=""}
48
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2794 ac_ext=c
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2795 ac_cpp='$CPP $CPPFLAGS'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2797 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
2798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2799 if test -n "$ac_tool_prefix"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2800 # 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
2801 set dummy ${ac_tool_prefix}gcc; ac_word=$2
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2802 { $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
2803 $as_echo_n "checking for $ac_word... " >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2804 if ${ac_cv_prog_CC+:} false; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2805 $as_echo_n "(cached) " >&6
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2806 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2807 if test -n "$CC"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2808 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
2809 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2811 for as_dir in $PATH
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2812 do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2813 IFS=$as_save_IFS
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2814 test -z "$as_dir" && as_dir=.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2815 for ac_exec_ext in '' $ac_executable_extensions; do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2816 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
2817 ac_cv_prog_CC="${ac_tool_prefix}gcc"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2818 $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
2819 break 2
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2820 fi
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 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2823 IFS=$as_save_IFS
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2824
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 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2827 CC=$ac_cv_prog_CC
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2828 if test -n "$CC"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2830 $as_echo "$CC" >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2831 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2833 $as_echo "no" >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2834 fi
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
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2837 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2838 if test -z "$ac_cv_prog_CC"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2839 ac_ct_CC=$CC
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2840 # 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
2841 set dummy gcc; ac_word=$2
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2842 { $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
2843 $as_echo_n "checking for $ac_word... " >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2844 if ${ac_cv_prog_ac_ct_CC+:} false; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2845 $as_echo_n "(cached) " >&6
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2846 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2847 if test -n "$ac_ct_CC"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2848 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
2849 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2851 for as_dir in $PATH
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2852 do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2853 IFS=$as_save_IFS
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2854 test -z "$as_dir" && as_dir=.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2855 for ac_exec_ext in '' $ac_executable_extensions; do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2856 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
2857 ac_cv_prog_ac_ct_CC="gcc"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2858 $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
2859 break 2
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2860 fi
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 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2863 IFS=$as_save_IFS
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2864
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 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2867 ac_ct_CC=$ac_cv_prog_ac_ct_CC
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2868 if test -n "$ac_ct_CC"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2869 { $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
2870 $as_echo "$ac_ct_CC" >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2871 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2873 $as_echo "no" >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2874 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2875
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2876 if test "x$ac_ct_CC" = x; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2877 CC=""
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2878 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2879 case $cross_compiling:$ac_tool_warned in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2880 yes:)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2881 { $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
2882 $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
2883 ac_tool_warned=yes ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2884 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2885 CC=$ac_ct_CC
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2886 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2887 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2888 CC="$ac_cv_prog_CC"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2889 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2890
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2891 if test -z "$CC"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2892 if test -n "$ac_tool_prefix"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2893 # 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
2894 set dummy ${ac_tool_prefix}cc; ac_word=$2
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2895 { $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
2896 $as_echo_n "checking for $ac_word... " >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2897 if ${ac_cv_prog_CC+:} false; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2898 $as_echo_n "(cached) " >&6
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2899 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2900 if test -n "$CC"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2901 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
2902 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2904 for as_dir in $PATH
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2905 do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2906 IFS=$as_save_IFS
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2907 test -z "$as_dir" && as_dir=.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2908 for ac_exec_ext in '' $ac_executable_extensions; do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2909 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
2910 ac_cv_prog_CC="${ac_tool_prefix}cc"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2911 $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
2912 break 2
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2913 fi
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 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2916 IFS=$as_save_IFS
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2917
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 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2920 CC=$ac_cv_prog_CC
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2921 if test -n "$CC"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2923 $as_echo "$CC" >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2924 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2926 $as_echo "no" >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2927 fi
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
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 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2932 if test -z "$CC"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2933 # 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
2934 set dummy cc; ac_word=$2
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2935 { $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
2936 $as_echo_n "checking for $ac_word... " >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2937 if ${ac_cv_prog_CC+:} false; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2938 $as_echo_n "(cached) " >&6
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2939 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2940 if test -n "$CC"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2941 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
2942 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2943 ac_prog_rejected=no
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2945 for as_dir in $PATH
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2946 do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2947 IFS=$as_save_IFS
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2948 test -z "$as_dir" && as_dir=.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2949 for ac_exec_ext in '' $ac_executable_extensions; do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2950 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
2951 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
2952 ac_prog_rejected=yes
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2953 continue
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2954 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2955 ac_cv_prog_CC="cc"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2956 $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
2957 break 2
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2958 fi
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 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2961 IFS=$as_save_IFS
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2962
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2963 if test $ac_prog_rejected = yes; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2964 # 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
2965 set dummy $ac_cv_prog_CC
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2966 shift
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2967 if test $# != 0; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2968 # We chose a different compiler from the bogus one.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2969 # 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
2970 # 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
2971 shift
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2972 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
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 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2977 CC=$ac_cv_prog_CC
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2978 if test -n "$CC"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2980 $as_echo "$CC" >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2981 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2983 $as_echo "no" >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2984 fi
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
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2987 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2988 if test -z "$CC"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2989 if test -n "$ac_tool_prefix"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2990 for ac_prog in cl.exe
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2991 do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2992 # 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
2993 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2994 { $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
2995 $as_echo_n "checking for $ac_word... " >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2996 if ${ac_cv_prog_CC+:} false; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2997 $as_echo_n "(cached) " >&6
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2998 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2999 if test -n "$CC"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3000 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
3001 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3003 for as_dir in $PATH
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3004 do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3005 IFS=$as_save_IFS
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3006 test -z "$as_dir" && as_dir=.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3007 for ac_exec_ext in '' $ac_executable_extensions; do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3008 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
3009 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3010 $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
3011 break 2
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3012 fi
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 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3015 IFS=$as_save_IFS
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3016
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 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3019 CC=$ac_cv_prog_CC
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3020 if test -n "$CC"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3022 $as_echo "$CC" >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3023 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3025 $as_echo "no" >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3026 fi
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
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3029 test -n "$CC" && break
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3030 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3031 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3032 if test -z "$CC"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3033 ac_ct_CC=$CC
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3034 for ac_prog in cl.exe
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3035 do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3036 # 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
3037 set dummy $ac_prog; ac_word=$2
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3038 { $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
3039 $as_echo_n "checking for $ac_word... " >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3040 if ${ac_cv_prog_ac_ct_CC+:} false; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3041 $as_echo_n "(cached) " >&6
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3042 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3043 if test -n "$ac_ct_CC"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3044 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
3045 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3047 for as_dir in $PATH
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3048 do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3049 IFS=$as_save_IFS
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3050 test -z "$as_dir" && as_dir=.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3051 for ac_exec_ext in '' $ac_executable_extensions; do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3052 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
3053 ac_cv_prog_ac_ct_CC="$ac_prog"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3054 $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
3055 break 2
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3056 fi
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 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3059 IFS=$as_save_IFS
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3060
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 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3063 ac_ct_CC=$ac_cv_prog_ac_ct_CC
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3064 if test -n "$ac_ct_CC"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3065 { $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
3066 $as_echo "$ac_ct_CC" >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3067 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3069 $as_echo "no" >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3070 fi
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
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3073 test -n "$ac_ct_CC" && break
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3074 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3075
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3076 if test "x$ac_ct_CC" = x; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3077 CC=""
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3078 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3079 case $cross_compiling:$ac_tool_warned in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3080 yes:)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3081 { $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
3082 $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
3083 ac_tool_warned=yes ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3084 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3085 CC=$ac_ct_CC
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 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3088
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3089 fi
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
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3092 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
3093 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3094 as_fn_error $? "no acceptable C compiler found in \$PATH
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3095 See \`config.log' for more details" "$LINENO" 5; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3096
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3097 # Provide some information about the compiler.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3098 $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
3099 set X $ac_compile
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3100 ac_compiler=$2
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3101 for ac_option in --version -v -V -qversion; do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3102 { { ac_try="$ac_compiler $ac_option >&5"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3103 case "(($ac_try" in
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 *) ac_try_echo=$ac_try;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3106 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3107 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
3108 $as_echo "$ac_try_echo"; } >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3109 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3110 ac_status=$?
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3111 if test -s conftest.err; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3112 sed '10a\
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3113 ... rest of stderr output deleted ...
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3114 10q' conftest.err >conftest.er1
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3115 cat conftest.er1 >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3116 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3117 rm -f conftest.er1 conftest.err
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3118 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3119 test $ac_status = 0; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3120 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3121
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3123 /* end confdefs.h. */
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3124
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3125 int
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3126 main ()
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 ;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3130 return 0;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3131 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3132 _ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3133 ac_clean_files_save=$ac_clean_files
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3134 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
3135 # 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
3136 # 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
3137 # of exeext.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3138 { $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
3139 $as_echo_n "checking whether the C compiler works... " >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3140 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
3141
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3142 # The possible output files:
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3143 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
3144
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3145 ac_rmfiles=
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3146 for ac_file in $ac_files
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3147 do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3148 case $ac_file in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3149 *.$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
3150 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3151 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3152 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3153 rm -f $ac_rmfiles
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3154
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3155 if { { ac_try="$ac_link_default"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3156 case "(($ac_try" in
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 *) ac_try_echo=$ac_try;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3159 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3160 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
3161 $as_echo "$ac_try_echo"; } >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3162 (eval "$ac_link_default") 2>&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3163 ac_status=$?
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3164 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3165 test $ac_status = 0; }; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3166 # 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
3167 # 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
3168 # 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
3169 # 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
3170 # Autoconf.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3171 for ac_file in $ac_files ''
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3172 do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3173 test -f "$ac_file" || continue
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3174 case $ac_file in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3175 *.$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
3176 ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3177 [ab].out )
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3178 # We found the default executable, but exeext='' is most
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3179 # certainly right.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3180 break;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3181 *.* )
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3182 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
3183 then :; else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3184 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3185 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3186 # 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
3187 # 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
3188 # 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
3189 # 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
3190 # actually working.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3191 break;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3192 * )
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3193 break;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3194 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3195 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3196 test "$ac_cv_exeext" = no && ac_cv_exeext=
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3197
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3198 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3199 ac_file=''
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3200 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3201 if test -z "$ac_file"; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3203 $as_echo "no" >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3204 $as_echo "$as_me: failed program was:" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3205 sed 's/^/| /' conftest.$ac_ext >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3206
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3207 { { $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
3208 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3209 as_fn_error 77 "C compiler cannot create executables
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3210 See \`config.log' for more details" "$LINENO" 5; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3211 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3213 $as_echo "yes" >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3214 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3215 { $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
3216 $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
3217 { $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
3218 $as_echo "$ac_file" >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3219 ac_exeext=$ac_cv_exeext
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3220
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3221 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
3222 ac_clean_files=$ac_clean_files_save
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3223 { $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
3224 $as_echo_n "checking for suffix of executables... " >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3225 if { { ac_try="$ac_link"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3226 case "(($ac_try" in
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 *) ac_try_echo=$ac_try;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3229 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3230 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
3231 $as_echo "$ac_try_echo"; } >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3232 (eval "$ac_link") 2>&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3233 ac_status=$?
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3234 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3235 test $ac_status = 0; }; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3236 # If both `conftest.exe' and `conftest' are `present' (well, observable)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3237 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3238 # 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
3239 # `rm'.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3240 for ac_file in conftest.exe conftest conftest.*; do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3241 test -f "$ac_file" || continue
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3242 case $ac_file in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3243 *.$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
3244 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
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 * ) break;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3247 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3248 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3249 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3250 { { $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
3251 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3252 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
3253 See \`config.log' for more details" "$LINENO" 5; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3254 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3255 rm -f conftest conftest$ac_cv_exeext
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3256 { $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
3257 $as_echo "$ac_cv_exeext" >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3258
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3259 rm -f conftest.$ac_ext
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3260 EXEEXT=$ac_cv_exeext
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3261 ac_exeext=$EXEEXT
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3263 /* end confdefs.h. */
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3264 #include <stdio.h>
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3265 int
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3266 main ()
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3267 {
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3268 FILE *f = fopen ("conftest.out", "w");
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3269 return ferror (f) || fclose (f) != 0;
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 ;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3272 return 0;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3273 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3274 _ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3275 ac_clean_files="$ac_clean_files conftest.out"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3276 # 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
3277 # the compiler is broken, or we cross compile.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3278 { $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
3279 $as_echo_n "checking whether we are cross compiling... " >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3280 if test "$cross_compiling" != yes; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3281 { { ac_try="$ac_link"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3282 case "(($ac_try" in
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 *) ac_try_echo=$ac_try;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3285 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3286 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
3287 $as_echo "$ac_try_echo"; } >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3288 (eval "$ac_link") 2>&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3289 ac_status=$?
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3290 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3291 test $ac_status = 0; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3292 if { ac_try='./conftest$ac_cv_exeext'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3293 { { case "(($ac_try" in
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 *) ac_try_echo=$ac_try;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3296 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3297 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
3298 $as_echo "$ac_try_echo"; } >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3299 (eval "$ac_try") 2>&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3300 ac_status=$?
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3301 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3302 test $ac_status = 0; }; }; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3303 cross_compiling=no
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3304 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3305 if test "$cross_compiling" = maybe; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3306 cross_compiling=yes
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3307 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3308 { { $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
3309 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3310 as_fn_error $? "cannot run C compiled programs.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3311 If you meant to cross compile, use \`--host'.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3312 See \`config.log' for more details" "$LINENO" 5; }
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 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3316 { $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
3317 $as_echo "$cross_compiling" >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3318
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3319 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
3320 ac_clean_files=$ac_clean_files_save
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3321 { $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
3322 $as_echo_n "checking for suffix of object files... " >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3323 if ${ac_cv_objext+:} false; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3324 $as_echo_n "(cached) " >&6
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3325 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3327 /* end confdefs.h. */
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3328
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3329 int
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3330 main ()
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 ;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3334 return 0;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3335 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3336 _ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3337 rm -f conftest.o conftest.obj
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3338 if { { ac_try="$ac_compile"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3339 case "(($ac_try" in
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 *) ac_try_echo=$ac_try;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3342 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3343 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
3344 $as_echo "$ac_try_echo"; } >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3345 (eval "$ac_compile") 2>&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3346 ac_status=$?
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3347 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3348 test $ac_status = 0; }; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3349 for ac_file in conftest.o conftest.obj conftest.*; do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3350 test -f "$ac_file" || continue;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3351 case $ac_file in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3352 *.$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
3353 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3354 break;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3355 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3356 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3357 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3358 $as_echo "$as_me: failed program was:" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3359 sed 's/^/| /' conftest.$ac_ext >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3360
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3361 { { $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
3362 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3363 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
3364 See \`config.log' for more details" "$LINENO" 5; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3365 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3366 rm -f conftest.$ac_cv_objext conftest.$ac_ext
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3367 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3368 { $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
3369 $as_echo "$ac_cv_objext" >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3370 OBJEXT=$ac_cv_objext
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3371 ac_objext=$OBJEXT
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3372 { $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
3373 $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
3374 if ${ac_cv_c_compiler_gnu+:} false; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3375 $as_echo_n "(cached) " >&6
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3376 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3378 /* end confdefs.h. */
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3379
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3380 int
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3381 main ()
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3382 {
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3383 #ifndef __GNUC__
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3384 choke me
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3385 #endif
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 ;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3388 return 0;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3389 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3390 _ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3391 if ac_fn_c_try_compile "$LINENO"; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3392 ac_compiler_gnu=yes
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3393 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3394 ac_compiler_gnu=no
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3395 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3396 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
3397 ac_cv_c_compiler_gnu=$ac_compiler_gnu
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3398
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3399 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3400 { $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
3401 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3402 if test $ac_compiler_gnu = yes; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3403 GCC=yes
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3404 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3405 GCC=
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3406 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3407 ac_test_CFLAGS=${CFLAGS+set}
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3408 ac_save_CFLAGS=$CFLAGS
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3409 { $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
3410 $as_echo_n "checking whether $CC accepts -g... " >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3411 if ${ac_cv_prog_cc_g+:} false; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3412 $as_echo_n "(cached) " >&6
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3413 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3414 ac_save_c_werror_flag=$ac_c_werror_flag
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3415 ac_c_werror_flag=yes
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3416 ac_cv_prog_cc_g=no
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3417 CFLAGS="-g"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3419 /* end confdefs.h. */
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3420
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3421 int
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3422 main ()
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 ;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3426 return 0;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3427 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3428 _ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3429 if ac_fn_c_try_compile "$LINENO"; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3430 ac_cv_prog_cc_g=yes
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3431 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3432 CFLAGS=""
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3434 /* end confdefs.h. */
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3435
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3436 int
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3437 main ()
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 ;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3441 return 0;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3442 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3443 _ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3444 if ac_fn_c_try_compile "$LINENO"; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3445
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3446 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3447 ac_c_werror_flag=$ac_save_c_werror_flag
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3448 CFLAGS="-g"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3450 /* end confdefs.h. */
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3451
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3452 int
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3453 main ()
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 ;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3457 return 0;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3458 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3459 _ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3460 if ac_fn_c_try_compile "$LINENO"; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3461 ac_cv_prog_cc_g=yes
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3462 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3463 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
3464 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3465 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
3466 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3467 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
3468 ac_c_werror_flag=$ac_save_c_werror_flag
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3469 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3470 { $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
3471 $as_echo "$ac_cv_prog_cc_g" >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3472 if test "$ac_test_CFLAGS" = set; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3473 CFLAGS=$ac_save_CFLAGS
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3474 elif test $ac_cv_prog_cc_g = yes; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3475 if test "$GCC" = yes; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3476 CFLAGS="-g -O2"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3477 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3478 CFLAGS="-g"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3479 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3480 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3481 if test "$GCC" = yes; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3482 CFLAGS="-O2"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3483 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3484 CFLAGS=
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 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3487 { $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
3488 $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
3489 if ${ac_cv_prog_cc_c89+:} false; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3490 $as_echo_n "(cached) " >&6
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3491 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3492 ac_cv_prog_cc_c89=no
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3493 ac_save_CC=$CC
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3495 /* end confdefs.h. */
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3496 #include <stdarg.h>
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3497 #include <stdio.h>
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3498 struct stat;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3499 /* 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
3500 struct buf { int x; };
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3501 FILE * (*rcsopen) (struct buf *, struct stat *, int);
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3502 static char *e (p, i)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3503 char **p;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3504 int i;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3505 {
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3506 return p[i];
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3507 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3508 static char *f (char * (*g) (char **, int), char **p, ...)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3509 {
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3510 char *s;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3511 va_list v;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3512 va_start (v,p);
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3513 s = g (p, va_arg (v,int));
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3514 va_end (v);
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3515 return s;
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
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3518 /* 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
3519 function prototypes and stuff, but not '\xHH' hex character constants.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3520 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
3521 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
3522 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
3523 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
3524 that's true only with -std. */
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3525 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3526
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3527 /* 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
3528 inside strings and character constants. */
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3529 #define FOO(x) 'x'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3530 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3531
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3532 int test (int i, double x);
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3533 struct s1 {int (*f) (int a);};
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3534 struct s2 {int (*f) (double a);};
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3535 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
3536 int argc;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3537 char **argv;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3538 int
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3539 main ()
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3540 {
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3541 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
3542 ;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3543 return 0;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3544 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3545 _ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3546 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3547 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3548 do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3549 CC="$ac_save_CC $ac_arg"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3550 if ac_fn_c_try_compile "$LINENO"; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3551 ac_cv_prog_cc_c89=$ac_arg
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3552 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3553 rm -f core conftest.err conftest.$ac_objext
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3554 test "x$ac_cv_prog_cc_c89" != "xno" && break
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3555 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3556 rm -f conftest.$ac_ext
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3557 CC=$ac_save_CC
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3558
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3559 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3560 # AC_CACHE_VAL
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3561 case "x$ac_cv_prog_cc_c89" in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3562 x)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3563 { $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
3564 $as_echo "none needed" >&6; } ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3565 xno)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3567 $as_echo "unsupported" >&6; } ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3568 *)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3569 CC="$CC $ac_cv_prog_cc_c89"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3570 { $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
3571 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3572 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3573 if test "x$ac_cv_prog_cc_c89" != xno; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3574
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3575 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3576
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3577 ac_ext=c
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3578 ac_cpp='$CPP $CPPFLAGS'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3580 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
3581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3582 DEPDIR="${am__leading_dot}deps"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3583
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3584 ac_config_commands="$ac_config_commands depfiles"
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
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3587 am_make=${MAKE-make}
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3588 cat > confinc << 'END'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3589 am__doit:
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3590 @echo this is the am__doit target
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3591 .PHONY: am__doit
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3592 END
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3593 # 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
3594 { $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
3595 $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
3596 am__include="#"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3597 am__quote=
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3598 _am_result=none
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3599 # First try GNU make style include.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3600 echo "include confinc" > confmf
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3601 # Ignore all kinds of additional output from 'make'.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3602 case `$am_make -s -f confmf 2> /dev/null` in #(
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3603 *the\ am__doit\ target*)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3604 am__include=include
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3605 am__quote=
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3606 _am_result=GNU
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3607 ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3608 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3609 # Now try BSD make style include.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3610 if test "$am__include" = "#"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3611 echo '.include "confinc"' > confmf
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3612 case `$am_make -s -f confmf 2> /dev/null` in #(
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3613 *the\ am__doit\ target*)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3614 am__include=.include
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3615 am__quote="\""
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3616 _am_result=BSD
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3617 ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3618 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3619 fi
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
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3622 { $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
3623 $as_echo "$_am_result" >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3624 rm -f confinc confmf
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3625
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3626 # Check whether --enable-dependency-tracking was given.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3627 if test "${enable_dependency_tracking+set}" = set; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3628 enableval=$enable_dependency_tracking;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3629 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3630
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3631 if test "x$enable_dependency_tracking" != xno; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3632 am_depcomp="$ac_aux_dir/depcomp"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3633 AMDEPBACKSLASH='\'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3634 am__nodep='_no'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3635 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3636 if test "x$enable_dependency_tracking" != xno; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3637 AMDEP_TRUE=
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3638 AMDEP_FALSE='#'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3639 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3640 AMDEP_TRUE='#'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3641 AMDEP_FALSE=
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3642 fi
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
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3646 depcc="$CC" am_compiler_list=
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3647
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3648 { $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
3649 $as_echo_n "checking dependency style of $depcc... " >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3650 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3651 $as_echo_n "(cached) " >&6
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3652 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3653 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3654 # 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
3655 # 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
3656 # 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
3657 # 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
3658 # in D".
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3659 rm -rf conftest.dir
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3660 mkdir conftest.dir
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3661 # 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
3662 # using a relative directory.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3663 cp "$am_depcomp" conftest.dir
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3664 cd conftest.dir
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3665 # We will build objects and dependencies in a subdirectory because
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3666 # it helps to detect inapplicable dependency modes. For instance
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3667 # 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
3668 # 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
3669 # 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
3670 # directory.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3671 mkdir sub
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3672
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3673 am_cv_CC_dependencies_compiler_type=none
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3674 if test "$am_compiler_list" = ""; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3675 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
3676 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3677 am__universal=false
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3678 case " $depcc " in #(
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3679 *\ -arch\ *\ -arch\ *) am__universal=true ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3680 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3681
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3682 for depmode in $am_compiler_list; do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3683 # Setup a source with many dependencies, because some compilers
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3684 # 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
3685 # 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
3686 #
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3687 # 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
3688 # overwrite some of them when testing with obscure command lines.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3689 # This happens at least with the AIX C compiler.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3690 : > sub/conftest.c
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3691 for i in 1 2 3 4 5 6; do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3692 echo '#include "conftst'$i'.h"' >> sub/conftest.c
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3693 # 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
3694 # Solaris 10 /bin/sh.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3695 echo '/* dummy */' > sub/conftst$i.h
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3696 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3697 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
3698
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3699 # 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
3700 # 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
3701 # 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
3702 # versions had trouble with output in subdirs.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3703 am__obj=sub/conftest.${OBJEXT-o}
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3704 am__minus_obj="-o $am__obj"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3705 case $depmode in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3706 gcc)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3707 # This depmode causes a compiler race in universal mode.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3708 test "$am__universal" = false || continue
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3709 ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3710 nosideeffect)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3711 # 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
3712 # only be used when explicitly requested.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3713 if test "x$enable_dependency_tracking" = xyes; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3714 continue
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3715 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3716 break
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3717 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3718 ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3719 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3720 # 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
3721 # 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
3722 # so weak that their functioning should not be impacted.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3723 am__obj=conftest.${OBJEXT-o}
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3724 am__minus_obj=
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3725 ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3726 none) break ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3727 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3728 if depmode=$depmode \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3729 source=sub/conftest.c object=$am__obj \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3730 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3731 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3732 >/dev/null 2>conftest.err &&
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3733 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
3734 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
3735 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3736 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3737 # 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
3738 # 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
3739 # that says an option was ignored or not supported.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3740 # 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
3741 # icc: Command line warning: ignoring option '-M'; no argument required
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3742 # The diagnosis changed in icc 8.0:
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3743 # icc: Command line remark: option '-MP' not supported
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3744 if (grep 'ignoring option' conftest.err ||
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3745 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
3746 am_cv_CC_dependencies_compiler_type=$depmode
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3747 break
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 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3750 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3751
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3752 cd ..
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3753 rm -rf conftest.dir
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3754 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3755 am_cv_CC_dependencies_compiler_type=none
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3756 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3757
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3758 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3759 { $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
3760 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3761 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3762
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3763 if
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3764 test "x$enable_dependency_tracking" != xno \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3765 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3766 am__fastdepCC_TRUE=
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3767 am__fastdepCC_FALSE='#'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3768 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3769 am__fastdepCC_TRUE='#'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3770 am__fastdepCC_FALSE=
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3771 fi
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
51
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3774 case $ac_cv_prog_cc_stdc in #(
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3775 no) :
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3776 ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3777 *) :
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3779 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3780 if ${ac_cv_prog_cc_c99+:} false; then :
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3781 $as_echo_n "(cached) " >&6
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3782 else
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3783 ac_cv_prog_cc_c99=no
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3784 ac_save_CC=$CC
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3786 /* end confdefs.h. */
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3787 #include <stdarg.h>
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3788 #include <stdbool.h>
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3789 #include <stdlib.h>
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3790 #include <wchar.h>
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3791 #include <stdio.h>
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3792
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3793 // Check varargs macros. These examples are taken from C99 6.10.3.5.
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3794 #define debug(...) fprintf (stderr, __VA_ARGS__)
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3795 #define showlist(...) puts (#__VA_ARGS__)
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3796 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3797 static void
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3798 test_varargs_macros (void)
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3799 {
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3800 int x = 1234;
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3801 int y = 5678;
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3802 debug ("Flag");
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3803 debug ("X = %d\n", x);
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3804 showlist (The first, second, and third items.);
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3805 report (x>y, "x is %d but y is %d", x, y);
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3806 }
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3807
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3808 // Check long long types.
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3809 #define BIG64 18446744073709551615ull
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3810 #define BIG32 4294967295ul
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3811 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3812 #if !BIG_OK
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3813 your preprocessor is broken;
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3814 #endif
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3815 #if BIG_OK
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3816 #else
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3817 your preprocessor is broken;
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3818 #endif
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3819 static long long int bignum = -9223372036854775807LL;
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3820 static unsigned long long int ubignum = BIG64;
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3821
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3822 struct incomplete_array
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3823 {
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3824 int datasize;
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3825 double data[];
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3826 };
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3827
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3828 struct named_init {
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3829 int number;
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3830 const wchar_t *name;
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3831 double average;
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3832 };
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3833
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3834 typedef const char *ccp;
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3835
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3836 static inline int
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3837 test_restrict (ccp restrict text)
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3838 {
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3839 // See if C++-style comments work.
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3840 // Iterate through items via the restricted pointer.
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3841 // Also check for declarations in for loops.
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3842 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3843 continue;
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3844 return 0;
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3845 }
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3846
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3847 // Check varargs and va_copy.
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3848 static void
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3849 test_varargs (const char *format, ...)
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3850 {
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3851 va_list args;
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3852 va_start (args, format);
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3853 va_list args_copy;
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3854 va_copy (args_copy, args);
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3855
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3856 const char *str;
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3857 int number;
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3858 float fnumber;
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3859
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3860 while (*format)
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3861 {
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3862 switch (*format++)
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3863 {
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3864 case 's': // string
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3865 str = va_arg (args_copy, const char *);
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3866 break;
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3867 case 'd': // int
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3868 number = va_arg (args_copy, int);
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3869 break;
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3870 case 'f': // float
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3871 fnumber = va_arg (args_copy, double);
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3872 break;
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3873 default:
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3874 break;
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3875 }
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3876 }
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3877 va_end (args_copy);
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3878 va_end (args);
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3879 }
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3880
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3881 int
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3882 main ()
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3883 {
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3884
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3885 // Check bool.
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3886 _Bool success = false;
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3887
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3888 // Check restrict.
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3889 if (test_restrict ("String literal") == 0)
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3890 success = true;
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3891 char *restrict newvar = "Another string";
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3892
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3893 // Check varargs.
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3894 test_varargs ("s, d' f .", "string", 65, 34.234);
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3895 test_varargs_macros ();
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3896
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3897 // Check flexible array members.
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3898 struct incomplete_array *ia =
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3899 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3900 ia->datasize = 10;
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3901 for (int i = 0; i < ia->datasize; ++i)
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3902 ia->data[i] = i * 1.234;
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3903
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3904 // Check named initializers.
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3905 struct named_init ni = {
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3906 .number = 34,
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3907 .name = L"Test wide string",
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3908 .average = 543.34343,
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3909 };
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3910
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3911 ni.number = 58;
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3912
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3913 int dynamic_array[ni.number];
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3914 dynamic_array[ni.number - 1] = 543;
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3915
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3916 // work around unused variable warnings
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3917 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3918 || dynamic_array[ni.number - 1] != 543);
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3919
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3920 ;
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3921 return 0;
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3922 }
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3923 _ACEOF
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3924 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3925 do
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3926 CC="$ac_save_CC $ac_arg"
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3927 if ac_fn_c_try_compile "$LINENO"; then :
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3928 ac_cv_prog_cc_c99=$ac_arg
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3929 fi
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3930 rm -f core conftest.err conftest.$ac_objext
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3931 test "x$ac_cv_prog_cc_c99" != "xno" && break
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3932 done
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3933 rm -f conftest.$ac_ext
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3934 CC=$ac_save_CC
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3935
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3936 fi
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3937 # AC_CACHE_VAL
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3938 case "x$ac_cv_prog_cc_c99" in
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3939 x)
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3941 $as_echo "none needed" >&6; } ;;
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3942 xno)
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3944 $as_echo "unsupported" >&6; } ;;
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3945 *)
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3946 CC="$CC $ac_cv_prog_cc_c99"
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3948 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3949 esac
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3950 if test "x$ac_cv_prog_cc_c99" != xno; then :
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3951 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3952 else
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3954 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3955 if ${ac_cv_prog_cc_c89+:} false; then :
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3956 $as_echo_n "(cached) " >&6
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3957 else
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3958 ac_cv_prog_cc_c89=no
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3959 ac_save_CC=$CC
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3961 /* end confdefs.h. */
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3962 #include <stdarg.h>
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3963 #include <stdio.h>
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3964 struct stat;
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3965 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3966 struct buf { int x; };
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3967 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3968 static char *e (p, i)
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3969 char **p;
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3970 int i;
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3971 {
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3972 return p[i];
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3973 }
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3974 static char *f (char * (*g) (char **, int), char **p, ...)
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3975 {
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3976 char *s;
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3977 va_list v;
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3978 va_start (v,p);
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3979 s = g (p, va_arg (v,int));
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3980 va_end (v);
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3981 return s;
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3982 }
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3983
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3984 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3985 function prototypes and stuff, but not '\xHH' hex character constants.
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3986 These don't provoke an error unfortunately, instead are silently treated
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3987 as 'x'. The following induces an error, until -std is added to get
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3988 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3989 array size at least. It's necessary to write '\x00'==0 to get something
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3990 that's true only with -std. */
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3991 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3992
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3993 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3994 inside strings and character constants. */
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3995 #define FOO(x) 'x'
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3996 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3997
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3998 int test (int i, double x);
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
3999 struct s1 {int (*f) (int a);};
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
4000 struct s2 {int (*f) (double a);};
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
4001 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
4002 int argc;
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
4003 char **argv;
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
4004 int
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
4005 main ()
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
4006 {
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
4007 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
4008 ;
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
4009 return 0;
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
4010 }
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
4011 _ACEOF
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
4012 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
4013 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
4014 do
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
4015 CC="$ac_save_CC $ac_arg"
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
4016 if ac_fn_c_try_compile "$LINENO"; then :
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
4017 ac_cv_prog_cc_c89=$ac_arg
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
4018 fi
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
4019 rm -f core conftest.err conftest.$ac_objext
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
4020 test "x$ac_cv_prog_cc_c89" != "xno" && break
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
4021 done
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
4022 rm -f conftest.$ac_ext
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
4023 CC=$ac_save_CC
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
4024
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
4025 fi
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
4026 # AC_CACHE_VAL
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
4027 case "x$ac_cv_prog_cc_c89" in
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
4028 x)
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
4029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
4030 $as_echo "none needed" >&6; } ;;
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
4031 xno)
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
4032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
4033 $as_echo "unsupported" >&6; } ;;
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
4034 *)
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
4035 CC="$CC $ac_cv_prog_cc_c89"
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
4036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
4037 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
4038 esac
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
4039 if test "x$ac_cv_prog_cc_c89" != xno; then :
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
4040 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
4041 else
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
4042 ac_cv_prog_cc_stdc=no
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
4043 fi
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
4044
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
4045 fi
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
4046 ;;
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
4047 esac
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
4048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
4049 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
4050 if ${ac_cv_prog_cc_stdc+:} false; then :
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
4051 $as_echo_n "(cached) " >&6
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
4052 fi
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
4053
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
4054 case $ac_cv_prog_cc_stdc in #(
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
4055 no) :
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
4056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
4057 $as_echo "unsupported" >&6; } ;; #(
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
4058 '') :
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
4059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
4060 $as_echo "none needed" >&6; } ;; #(
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
4061 *) :
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
4062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
4063 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
4064 esac
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
4065
48
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4066
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4067 # Checks for header files.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4068
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4069 ac_ext=c
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4070 ac_cpp='$CPP $CPPFLAGS'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4072 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
4073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4074 { $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
4075 $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
4076 # On Suns, sometimes $CPP names a directory.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4077 if test -n "$CPP" && test -d "$CPP"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4078 CPP=
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4079 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4080 if test -z "$CPP"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4081 if ${ac_cv_prog_CPP+:} false; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4082 $as_echo_n "(cached) " >&6
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 # Double quotes because CPP needs to be expanded
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4085 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
4086 do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4087 ac_preproc_ok=false
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4088 for ac_c_preproc_warn_flag in '' yes
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4089 do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4090 # 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
4091 # with a fresh cross-compiler works.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4092 # 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
4093 # <limits.h> exists even on freestanding compilers.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4094 # 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
4095 # 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
4096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4097 /* end confdefs.h. */
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4098 #ifdef __STDC__
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4099 # include <limits.h>
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 # include <assert.h>
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4102 #endif
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4103 Syntax error
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4104 _ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4105 if ac_fn_c_try_cpp "$LINENO"; then :
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 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4108 # Broken: fails on valid input.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4109 continue
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4110 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4111 rm -f conftest.err conftest.i conftest.$ac_ext
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4112
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4113 # OK, works on sane cases. Now check whether nonexistent headers
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4114 # can be detected and how.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4116 /* end confdefs.h. */
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4117 #include <ac_nonexistent.h>
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4118 _ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4119 if ac_fn_c_try_cpp "$LINENO"; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4120 # Broken: success on invalid input.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4121 continue
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4122 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4123 # Passes both tests.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4124 ac_preproc_ok=:
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4125 break
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4126 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4127 rm -f conftest.err conftest.i conftest.$ac_ext
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4128
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4129 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4130 # 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
4131 rm -f conftest.i conftest.err conftest.$ac_ext
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4132 if $ac_preproc_ok; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4133 break
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4134 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4135
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4136 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4137 ac_cv_prog_CPP=$CPP
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4138
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4139 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4140 CPP=$ac_cv_prog_CPP
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_prog_CPP=$CPP
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 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4145 $as_echo "$CPP" >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4146 ac_preproc_ok=false
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4147 for ac_c_preproc_warn_flag in '' yes
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4148 do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4149 # 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
4150 # with a fresh cross-compiler works.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4151 # 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
4152 # <limits.h> exists even on freestanding compilers.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4153 # 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
4154 # 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
4155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4156 /* end confdefs.h. */
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4157 #ifdef __STDC__
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4158 # include <limits.h>
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4159 #else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4160 # include <assert.h>
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4161 #endif
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4162 Syntax error
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4163 _ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4164 if ac_fn_c_try_cpp "$LINENO"; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4165
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4166 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4167 # Broken: fails on valid input.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4168 continue
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4169 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4170 rm -f conftest.err conftest.i conftest.$ac_ext
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 # OK, works on sane cases. Now check whether nonexistent headers
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4173 # can be detected and how.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4175 /* end confdefs.h. */
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4176 #include <ac_nonexistent.h>
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4177 _ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4178 if ac_fn_c_try_cpp "$LINENO"; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4179 # Broken: success on invalid input.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4180 continue
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4181 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4182 # Passes both tests.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4183 ac_preproc_ok=:
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4184 break
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4185 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4186 rm -f conftest.err conftest.i conftest.$ac_ext
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 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4189 # 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
4190 rm -f conftest.i conftest.err conftest.$ac_ext
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4191 if $ac_preproc_ok; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4192
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4193 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4194 { { $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
4195 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4196 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4197 See \`config.log' for more details" "$LINENO" 5; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4198 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4199
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4200 ac_ext=c
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4201 ac_cpp='$CPP $CPPFLAGS'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4203 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
4204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4205
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4206
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4207 { $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
4208 $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
4209 if ${ac_cv_path_GREP+:} false; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4210 $as_echo_n "(cached) " >&6
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4211 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4212 if test -z "$GREP"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4213 ac_path_GREP_found=false
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4214 # 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
4215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4216 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4217 do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4218 IFS=$as_save_IFS
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4219 test -z "$as_dir" && as_dir=.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4220 for ac_prog in grep ggrep; do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4221 for ac_exec_ext in '' $ac_executable_extensions; do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4222 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4223 as_fn_executable_p "$ac_path_GREP" || continue
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4224 # 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
4225 # Check for GNU $ac_path_GREP
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4226 case `"$ac_path_GREP" --version 2>&1` in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4227 *GNU*)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4228 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
4229 *)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4230 ac_count=0
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4231 $as_echo_n 0123456789 >"conftest.in"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4232 while :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4233 do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4234 cat "conftest.in" "conftest.in" >"conftest.tmp"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4235 mv "conftest.tmp" "conftest.in"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4236 cp "conftest.in" "conftest.nl"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4237 $as_echo 'GREP' >> "conftest.nl"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4238 "$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
4239 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4240 as_fn_arith $ac_count + 1 && ac_count=$as_val
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4241 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
4242 # 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
4243 ac_cv_path_GREP="$ac_path_GREP"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4244 ac_path_GREP_max=$ac_count
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4245 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4246 # 10*(2^10) chars as input seems more than enough
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4247 test $ac_count -gt 10 && break
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4248 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4249 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4250 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4251
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4252 $ac_path_GREP_found && break 3
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4253 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4254 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4255 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4256 IFS=$as_save_IFS
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4257 if test -z "$ac_cv_path_GREP"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4258 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
4259 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4260 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4261 ac_cv_path_GREP=$GREP
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4262 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4263
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4264 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4265 { $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
4266 $as_echo "$ac_cv_path_GREP" >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4267 GREP="$ac_cv_path_GREP"
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
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4270 { $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
4271 $as_echo_n "checking for egrep... " >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4272 if ${ac_cv_path_EGREP+:} false; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4273 $as_echo_n "(cached) " >&6
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4274 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4275 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
4276 then ac_cv_path_EGREP="$GREP -E"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4277 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4278 if test -z "$EGREP"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4279 ac_path_EGREP_found=false
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4280 # 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
4281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4282 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4283 do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4284 IFS=$as_save_IFS
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4285 test -z "$as_dir" && as_dir=.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4286 for ac_prog in egrep; do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4287 for ac_exec_ext in '' $ac_executable_extensions; do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4288 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4289 as_fn_executable_p "$ac_path_EGREP" || continue
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4290 # 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
4291 # Check for GNU $ac_path_EGREP
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4292 case `"$ac_path_EGREP" --version 2>&1` in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4293 *GNU*)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4294 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
4295 *)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4296 ac_count=0
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4297 $as_echo_n 0123456789 >"conftest.in"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4298 while :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4299 do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4300 cat "conftest.in" "conftest.in" >"conftest.tmp"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4301 mv "conftest.tmp" "conftest.in"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4302 cp "conftest.in" "conftest.nl"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4303 $as_echo 'EGREP' >> "conftest.nl"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4304 "$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
4305 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4306 as_fn_arith $ac_count + 1 && ac_count=$as_val
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4307 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
4308 # 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
4309 ac_cv_path_EGREP="$ac_path_EGREP"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4310 ac_path_EGREP_max=$ac_count
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4311 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4312 # 10*(2^10) chars as input seems more than enough
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4313 test $ac_count -gt 10 && break
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4314 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4315 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4316 esac
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 $ac_path_EGREP_found && break 3
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4319 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4320 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4321 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4322 IFS=$as_save_IFS
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4323 if test -z "$ac_cv_path_EGREP"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4324 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
4325 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4326 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4327 ac_cv_path_EGREP=$EGREP
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4328 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4329
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 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4332 { $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
4333 $as_echo "$ac_cv_path_EGREP" >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4334 EGREP="$ac_cv_path_EGREP"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4335
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4336
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4337 { $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
4338 $as_echo_n "checking for ANSI C header files... " >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4339 if ${ac_cv_header_stdc+:} false; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4340 $as_echo_n "(cached) " >&6
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4341 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4343 /* end confdefs.h. */
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4344 #include <stdlib.h>
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4345 #include <stdarg.h>
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4346 #include <string.h>
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4347 #include <float.h>
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 int
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4350 main ()
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
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 return 0;
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 _ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4357 if ac_fn_c_try_compile "$LINENO"; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4358 ac_cv_header_stdc=yes
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4359 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4360 ac_cv_header_stdc=no
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4361 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4362 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
4363
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4364 if test $ac_cv_header_stdc = yes; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4365 # 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
4366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4367 /* end confdefs.h. */
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4368 #include <string.h>
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4369
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4370 _ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4371 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4372 $EGREP "memchr" >/dev/null 2>&1; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4373
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4374 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4375 ac_cv_header_stdc=no
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4376 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4377 rm -f conftest*
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4378
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4379 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4380
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4381 if test $ac_cv_header_stdc = yes; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4382 # 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
4383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4384 /* end confdefs.h. */
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4385 #include <stdlib.h>
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4386
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4387 _ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4388 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4389 $EGREP "free" >/dev/null 2>&1; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4390
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4391 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4392 ac_cv_header_stdc=no
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4393 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4394 rm -f conftest*
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4395
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4396 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4397
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4398 if test $ac_cv_header_stdc = yes; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4399 # /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
4400 if test "$cross_compiling" = yes; then :
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 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4404 /* end confdefs.h. */
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4405 #include <ctype.h>
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4406 #include <stdlib.h>
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4407 #if ((' ' & 0x0FF) == 0x020)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4408 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4409 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4410 #else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4411 # define ISLOWER(c) \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4412 (('a' <= (c) && (c) <= 'i') \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4413 || ('j' <= (c) && (c) <= 'r') \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4414 || ('s' <= (c) && (c) <= 'z'))
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4415 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4416 #endif
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 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4419 int
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4420 main ()
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4421 {
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4422 int i;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4423 for (i = 0; i < 256; i++)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4424 if (XOR (islower (i), ISLOWER (i))
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4425 || toupper (i) != TOUPPER (i))
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4426 return 2;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4427 return 0;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4428 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4429 _ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4430 if ac_fn_c_try_run "$LINENO"; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4431
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4432 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4433 ac_cv_header_stdc=no
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4434 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4435 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
4436 conftest.$ac_objext conftest.beam conftest.$ac_ext
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4437 fi
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 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4440 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4441 { $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
4442 $as_echo "$ac_cv_header_stdc" >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4443 if test $ac_cv_header_stdc = yes; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4444
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4445 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4446
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4447 fi
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 # 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
4450 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
4451 inttypes.h stdint.h unistd.h
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4452 do :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4453 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
4454 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
4455 "
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4456 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4457 cat >>confdefs.h <<_ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4458 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4459 _ACEOF
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 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4462
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4463 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4464
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4465
51
5acf05940667 fixes compiler flags
Mike Becker <universe@uap-core.de>
parents: 48
diff changeset
4466 for ac_header in stdlib.h string.h dirent.h regex.h
48
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4467 do :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4468 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
4469 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
4470 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4471 cat >>confdefs.h <<_ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4472 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4473 _ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4474
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4475 fi
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 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4478
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4479
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4480 # Checks for typedefs, structures, and compiler characteristics.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4481 { $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
4482 $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
4483 if ${ac_cv_header_stdbool_h+:} false; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4484 $as_echo_n "(cached) " >&6
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4485 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4487 /* end confdefs.h. */
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4488
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4489 #include <stdbool.h>
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4490 #ifndef bool
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4491 "error: bool is not defined"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4492 #endif
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4493 #ifndef false
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4494 "error: false is not defined"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4495 #endif
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4496 #if false
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4497 "error: false is not 0"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4498 #endif
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4499 #ifndef true
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4500 "error: true is not defined"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4501 #endif
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4502 #if true != 1
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4503 "error: true is not 1"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4504 #endif
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4505 #ifndef __bool_true_false_are_defined
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4506 "error: __bool_true_false_are_defined is not defined"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4507 #endif
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4508
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4509 struct s { _Bool s: 1; _Bool t; } s;
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 char a[true == 1 ? 1 : -1];
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4512 char b[false == 0 ? 1 : -1];
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4513 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4514 char d[(bool) 0.5 == true ? 1 : -1];
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4515 /* See body of main program for 'e'. */
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4516 char f[(_Bool) 0.0 == false ? 1 : -1];
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4517 char g[true];
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4518 char h[sizeof (_Bool)];
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4519 char i[sizeof s.t];
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4520 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
4521 /* The following fails for
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4522 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
4523 _Bool n[m];
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4524 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4525 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
4526 /* Catch a bug in an HP-UX C compiler. See
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4527 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
4528 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
4529 */
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4530 _Bool q = true;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4531 _Bool *pq = &q;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4532
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4533 int
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4534 main ()
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4535 {
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4536
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4537 bool e = &s;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4538 *pq |= q;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4539 *pq |= ! q;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4540 /* Refer to every declared value, to avoid compiler optimizations. */
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4541 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
4542 + !m + !n + !o + !p + !q + !pq);
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4543
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 return 0;
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 _ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4548 if ac_fn_c_try_compile "$LINENO"; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4549 ac_cv_header_stdbool_h=yes
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4550 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4551 ac_cv_header_stdbool_h=no
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4552 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4553 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
4554 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4555 { $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
4556 $as_echo "$ac_cv_header_stdbool_h" >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4557 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
4558 if test "x$ac_cv_type__Bool" = xyes; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4559
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4560 cat >>confdefs.h <<_ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4561 #define HAVE__BOOL 1
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4562 _ACEOF
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
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4565 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4566
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4567
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4568 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
4569 if test "x$ac_cv_type_size_t" = xyes; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4570
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4571 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4572
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4573 cat >>confdefs.h <<_ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4574 #define size_t unsigned int
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4575 _ACEOF
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 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4578
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4579
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4580 # Checks for library functions.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4581 for ac_header in stdlib.h
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4582 do :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4583 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
4584 if test "x$ac_cv_header_stdlib_h" = xyes; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4585 cat >>confdefs.h <<_ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4586 #define HAVE_STDLIB_H 1
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4587 _ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4588
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4589 fi
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 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4592
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4593 { $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
4594 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4595 if ${ac_cv_func_malloc_0_nonnull+:} false; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4596 $as_echo_n "(cached) " >&6
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4597 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4598 if test "$cross_compiling" = yes; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4599 ac_cv_func_malloc_0_nonnull=no
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4600 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4602 /* end confdefs.h. */
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4603 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4604 # include <stdlib.h>
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4605 #else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4606 char *malloc ();
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4607 #endif
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4608
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4609 int
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4610 main ()
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4611 {
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4612 return ! malloc (0);
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4613 ;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4614 return 0;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4615 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4616 _ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4617 if ac_fn_c_try_run "$LINENO"; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4618 ac_cv_func_malloc_0_nonnull=yes
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4619 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4620 ac_cv_func_malloc_0_nonnull=no
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4621 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4622 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
4623 conftest.$ac_objext conftest.beam conftest.$ac_ext
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4624 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4625
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4626 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4627 { $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
4628 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4629 if test $ac_cv_func_malloc_0_nonnull = yes; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4630
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4631 $as_echo "#define HAVE_MALLOC 1" >>confdefs.h
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4632
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4633 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4634 $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4635
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4636 case " $LIBOBJS " in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4637 *" malloc.$ac_objext "* ) ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4638 *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4639 ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4640 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4641
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4642
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4643 $as_echo "#define malloc rpl_malloc" >>confdefs.h
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4644
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4645 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4646
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4647
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4648 for ac_header in stdlib.h
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4649 do :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4650 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
4651 if test "x$ac_cv_header_stdlib_h" = xyes; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4652 cat >>confdefs.h <<_ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4653 #define HAVE_STDLIB_H 1
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4654 _ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4655
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4656 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4657
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4658 done
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 { $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
4661 $as_echo_n "checking for GNU libc compatible realloc... " >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4662 if ${ac_cv_func_realloc_0_nonnull+:} false; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4663 $as_echo_n "(cached) " >&6
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4664 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4665 if test "$cross_compiling" = yes; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4666 ac_cv_func_realloc_0_nonnull=no
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4667 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4669 /* end confdefs.h. */
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4670 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4671 # include <stdlib.h>
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4672 #else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4673 char *realloc ();
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4674 #endif
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4675
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4676 int
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4677 main ()
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4678 {
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4679 return ! realloc (0, 0);
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4680 ;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4681 return 0;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4682 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4683 _ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4684 if ac_fn_c_try_run "$LINENO"; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4685 ac_cv_func_realloc_0_nonnull=yes
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4686 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4687 ac_cv_func_realloc_0_nonnull=no
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4688 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4689 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
4690 conftest.$ac_objext conftest.beam conftest.$ac_ext
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4691 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4692
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4693 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4694 { $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
4695 $as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4696 if test $ac_cv_func_realloc_0_nonnull = yes; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4697
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4698 $as_echo "#define HAVE_REALLOC 1" >>confdefs.h
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4699
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4700 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4701 $as_echo "#define HAVE_REALLOC 0" >>confdefs.h
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4702
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4703 case " $LIBOBJS " in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4704 *" realloc.$ac_objext "* ) ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4705 *) LIBOBJS="$LIBOBJS realloc.$ac_objext"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4706 ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4707 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4708
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4709
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4710 $as_echo "#define realloc rpl_realloc" >>confdefs.h
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4711
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4712 fi
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
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4715 for ac_func in memset regcomp strcasecmp strchr
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4716 do :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4717 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
4718 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
4719 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4720 cat >>confdefs.h <<_ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4721 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4722 _ACEOF
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 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4725 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4726
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4727
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4728 ac_config_files="$ac_config_files Makefile src/Makefile"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4729
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4730 cat >confcache <<\_ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4731 # 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
4732 # 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
4733 # scripts and configure runs, see configure's option --config-cache.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4734 # 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
4735 # want to keep, you may remove or edit it.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4736 #
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4737 # 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
4738 # the --recheck option to rerun configure.
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 # `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
4741 # 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
4742 # following values.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4743
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4744 _ACEOF
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 # 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
4747 # 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
4748 # So, we kill variables containing newlines.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4749 # 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
4750 # 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
4751 (
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4752 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
4753 eval ac_val=\$$ac_var
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4754 case $ac_val in #(
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4755 *${as_nl}*)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4756 case $ac_var in #(
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4757 *_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
4758 $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
4759 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4760 case $ac_var in #(
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4761 _ | IFS | as_nl) ;; #(
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4762 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4763 *) { eval $ac_var=; unset $ac_var;} ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4764 esac ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4765 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4766 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4767
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4768 (set) 2>&1 |
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4769 case $as_nl`(ac_space=' '; set) 2>&1` in #(
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4770 *${as_nl}ac_space=\ *)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4771 # `set' does not quote correctly, so add quotes: double-quote
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4772 # substitution turns \\\\ into \\, and sed turns \\ into \.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4773 sed -n \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4774 "s/'/'\\\\''/g;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4775 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
4776 ;; #(
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 # `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
4779 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
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 esac |
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4782 sort
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4783 ) |
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4784 sed '
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4785 /^ac_cv_env_/b end
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4786 t clear
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4787 :clear
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4788 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4789 t end
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4790 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4791 :end' >>confcache
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4792 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
4793 if test -w "$cache_file"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4794 if test "x$cache_file" != "x/dev/null"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4795 { $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
4796 $as_echo "$as_me: updating cache $cache_file" >&6;}
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4797 if test ! -f "$cache_file" || test -h "$cache_file"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4798 cat confcache >"$cache_file"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4799 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4800 case $cache_file in #(
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 mv -f confcache "$cache_file"$$ &&
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4803 mv -f "$cache_file"$$ "$cache_file" ;; #(
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4804 *)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4805 mv -f confcache "$cache_file" ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4806 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4807 fi
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 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4810 { $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
4811 $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
4812 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4813 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4814 rm -f confcache
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 test "x$prefix" = xNONE && prefix=$ac_default_prefix
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4817 # Let make expand exec_prefix.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4818 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4819
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4820 DEFS=-DHAVE_CONFIG_H
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 ac_libobjs=
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4823 ac_ltlibobjs=
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4824 U=
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4825 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
4826 # 1. Remove the extension, and $U if already installed.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4827 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4828 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4829 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4830 # 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
4831 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
4832 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4833 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4834 LIBOBJS=$ac_libobjs
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4835
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4836 LTLIBOBJS=$ac_ltlibobjs
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4837
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 { $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
4840 $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
4841 if test -n "$am_sleep_pid"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4842 # Hide warnings about reused PIDs.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4843 wait $am_sleep_pid 2>/dev/null
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4844 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4846 $as_echo "done" >&6; }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4847 if test -n "$EXEEXT"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4848 am__EXEEXT_TRUE=
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4849 am__EXEEXT_FALSE='#'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4850 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4851 am__EXEEXT_TRUE='#'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4852 am__EXEEXT_FALSE=
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4853 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4854
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4855 if test -z "${DEBUG_TRUE}" && test -z "${DEBUG_FALSE}"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4856 as_fn_error $? "conditional \"DEBUG\" was never defined.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4857 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
4858 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4859 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4860 as_fn_error $? "conditional \"AMDEP\" was never defined.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4861 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
4862 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4863 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
4864 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4865 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
4866 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4867
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4868 : "${CONFIG_STATUS=./config.status}"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4869 ac_write_fail=0
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4870 ac_clean_files_save=$ac_clean_files
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4871 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4872 { $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
4873 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4874 as_write_fail=0
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4875 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4876 #! $SHELL
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4877 # Generated by $as_me.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4878 # Run this file to recreate the current configuration.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4879 # Compiler output produced by configure, useful for debugging
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4880 # configure, is in config.log if it exists.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4881
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4882 debug=false
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4883 ac_cs_recheck=false
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4884 ac_cs_silent=false
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4885
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4886 SHELL=\${CONFIG_SHELL-$SHELL}
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4887 export SHELL
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4888 _ASEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4889 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
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 ## M4sh Initialization. ##
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4892 ## -------------------- ##
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 # Be more Bourne compatible
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4895 DUALCASE=1; export DUALCASE # for MKS sh
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4896 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
4897 emulate sh
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4898 NULLCMD=:
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4899 # 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
4900 # is contrary to our usage. Disable this feature.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4901 alias -g '${1+"$@"}'='"$@"'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4902 setopt NO_GLOB_SUBST
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4903 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4904 case `(set -o) 2>/dev/null` in #(
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4905 *posix*) :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4906 set -o posix ;; #(
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4907 *) :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4908 ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4909 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4910 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4911
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4912
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4913 as_nl='
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4914 '
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4915 export as_nl
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4916 # Printing a long string crashes Solaris 7 /usr/bin/printf.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4917 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4918 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
4919 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
4920 # 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
4921 # but without wasting forks for bash or zsh.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4922 if test -z "$BASH_VERSION$ZSH_VERSION" \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4923 && (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
4924 as_echo='print -r --'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4925 as_echo_n='print -rn --'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4926 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
4927 as_echo='printf %s\n'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4928 as_echo_n='printf %s'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4929 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4930 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
4931 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
4932 as_echo_n='/usr/ucb/echo -n'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4933 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4934 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4935 as_echo_n_body='eval
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4936 arg=$1;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4937 case $arg in #(
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4938 *"$as_nl"*)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4939 expr "X$arg" : "X\\(.*\\)$as_nl";
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4940 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4941 esac;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4942 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
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 export as_echo_n_body
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4945 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
4946 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4947 export as_echo_body
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4948 as_echo='sh -c $as_echo_body as_echo'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4949 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4950
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4951 # The user is always right.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4952 if test "${PATH_SEPARATOR+set}" != set; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4953 PATH_SEPARATOR=:
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4954 (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
4955 (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
4956 PATH_SEPARATOR=';'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4957 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4958 fi
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 # IFS
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4962 # 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
4963 # there to prevent editors from complaining about space-tab.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4964 # (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
4965 # splitting by setting IFS to empty value.)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4966 IFS=" "" $as_nl"
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 # 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
4969 as_myself=
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4970 case $0 in #((
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4971 *[\\/]* ) as_myself=$0 ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4972 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4973 for as_dir in $PATH
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4974 do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4975 IFS=$as_save_IFS
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4976 test -z "$as_dir" && as_dir=.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4977 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
4978 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4979 IFS=$as_save_IFS
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4980
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 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4983 # 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
4984 # 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
4985 if test "x$as_myself" = x; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4986 as_myself=$0
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4987 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4988 if test ! -f "$as_myself"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4989 $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
4990 exit 1
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4991 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4992
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4993 # 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
4994 # 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
4995 # suppresses any "Segmentation fault" message there. '((' could
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4996 # trigger a bug in pdksh 5.2.14.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4997 for as_var in BASH_ENV ENV MAIL MAILPATH
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4998 do eval test x\${$as_var+set} = xset \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4999 && ( (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
5000 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5001 PS1='$ '
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5002 PS2='> '
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5003 PS4='+ '
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5004
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5005 # NLS nuisances.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5006 LC_ALL=C
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5007 export LC_ALL
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5008 LANGUAGE=C
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5009 export LANGUAGE
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5010
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5011 # CDPATH.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5012 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5013
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5014
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5015 # as_fn_error STATUS ERROR [LINENO LOG_FD]
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5016 # ----------------------------------------
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5017 # 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
5018 # 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
5019 # script with STATUS, using 1 if that was 0.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5020 as_fn_error ()
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5021 {
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5022 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
5023 if test "$4"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5024 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
5025 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5026 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5027 $as_echo "$as_me: error: $2" >&2
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5028 as_fn_exit $as_status
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5029 } # as_fn_error
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5030
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5031
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5032 # as_fn_set_status STATUS
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5033 # -----------------------
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5034 # Set $? to STATUS, without forking.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5035 as_fn_set_status ()
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5036 {
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5037 return $1
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5038 } # as_fn_set_status
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5039
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5040 # as_fn_exit STATUS
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5041 # -----------------
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5042 # 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
5043 as_fn_exit ()
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5044 {
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5045 set +e
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5046 as_fn_set_status $1
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5047 exit $1
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5048 } # as_fn_exit
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5049
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5050 # as_fn_unset VAR
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5051 # ---------------
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5052 # Portably unset VAR.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5053 as_fn_unset ()
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 { eval $1=; unset $1;}
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5056 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5057 as_unset=as_fn_unset
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5058 # as_fn_append VAR VALUE
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5059 # ----------------------
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5060 # 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
5061 # 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
5062 # 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
5063 # implementations.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5064 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
5065 eval 'as_fn_append ()
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 eval $1+=\$2
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5068 }'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5069 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5070 as_fn_append ()
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 eval $1=\$$1\$2
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5073 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5074 fi # as_fn_append
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 # as_fn_arith ARG...
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 # 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
5079 # 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
5080 # must be portable across $(()) and expr.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5081 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5082 eval 'as_fn_arith ()
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5083 {
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5084 as_val=$(( $* ))
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5085 }'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5086 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5087 as_fn_arith ()
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5088 {
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5089 as_val=`expr "$@" || test $? -eq 1`
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5090 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5091 fi # as_fn_arith
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5092
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5093
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5094 if expr a : '\(a\)' >/dev/null 2>&1 &&
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5095 test "X`expr 00001 : '.*\(...\)'`" = X001; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5096 as_expr=expr
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5097 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5098 as_expr=false
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5099 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5100
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5101 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
5102 as_basename=basename
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5103 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5104 as_basename=false
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5105 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5106
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5107 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
5108 as_dirname=dirname
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5109 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5110 as_dirname=false
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5111 fi
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 as_me=`$as_basename -- "$0" ||
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5114 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5115 X"$0" : 'X\(//\)$' \| \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5116 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5117 $as_echo X/"$0" |
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5118 sed '/^.*\/\([^/][^/]*\)\/*$/{
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5119 s//\1/
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5120 q
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5121 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5122 /^X\/\(\/\/\)$/{
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5123 s//\1/
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5124 q
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 /^X\/\(\/\).*/{
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5127 s//\1/
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5128 q
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5129 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5130 s/.*/./; q'`
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5131
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5132 # Avoid depending upon Character Ranges.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5133 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5134 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5135 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5136 as_cr_digits='0123456789'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5137 as_cr_alnum=$as_cr_Letters$as_cr_digits
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5138
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5139 ECHO_C= ECHO_N= ECHO_T=
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5140 case `echo -n x` in #(((((
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5141 -n*)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5142 case `echo 'xy\c'` in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5143 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5144 xy) ECHO_C='\c';;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5145 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5146 ECHO_T=' ';;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5147 esac;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5148 *)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5149 ECHO_N='-n';;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5150 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5151
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5152 rm -f conf$$ conf$$.exe conf$$.file
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5153 if test -d conf$$.dir; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5154 rm -f conf$$.dir/conf$$.file
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5155 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5156 rm -f conf$$.dir
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5157 mkdir conf$$.dir 2>/dev/null
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5158 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5159 if (echo >conf$$.file) 2>/dev/null; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5160 if ln -s conf$$.file conf$$ 2>/dev/null; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5161 as_ln_s='ln -s'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5162 # ... but there are two gotchas:
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5163 # 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
5164 # 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
5165 # In both cases, we have to default to `cp -pR'.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5166 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
5167 as_ln_s='cp -pR'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5168 elif ln conf$$.file conf$$ 2>/dev/null; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5169 as_ln_s=ln
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5170 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5171 as_ln_s='cp -pR'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5172 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5173 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5174 as_ln_s='cp -pR'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5175 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5176 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
5177 rmdir conf$$.dir 2>/dev/null
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5178
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5179
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5180 # as_fn_mkdir_p
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5181 # -------------
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5182 # Create "$as_dir" as a directory, including parents if necessary.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5183 as_fn_mkdir_p ()
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5184 {
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5185
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5186 case $as_dir in #(
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5187 -*) as_dir=./$as_dir;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5188 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5189 test -d "$as_dir" || eval $as_mkdir_p || {
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5190 as_dirs=
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5191 while :; do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5192 case $as_dir in #(
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5193 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5194 *) as_qdir=$as_dir;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5195 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5196 as_dirs="'$as_qdir' $as_dirs"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5197 as_dir=`$as_dirname -- "$as_dir" ||
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5198 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5199 X"$as_dir" : 'X\(//\)[^/]' \| \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5200 X"$as_dir" : 'X\(//\)$' \| \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5201 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5202 $as_echo X"$as_dir" |
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5203 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5204 s//\1/
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5205 q
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5206 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5207 /^X\(\/\/\)[^/].*/{
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5208 s//\1/
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5209 q
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5210 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5211 /^X\(\/\/\)$/{
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5212 s//\1/
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5213 q
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 /^X\(\/\).*/{
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5216 s//\1/
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5217 q
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5218 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5219 s/.*/./; q'`
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5220 test -d "$as_dir" && break
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5221 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5222 test -z "$as_dirs" || eval "mkdir $as_dirs"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5223 } || 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
5224
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5225
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5226 } # as_fn_mkdir_p
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5227 if mkdir -p . 2>/dev/null; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5228 as_mkdir_p='mkdir -p "$as_dir"'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5229 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5230 test -d ./-p && rmdir ./-p
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5231 as_mkdir_p=false
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5232 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5233
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 # as_fn_executable_p FILE
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5236 # -----------------------
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5237 # Test if FILE is an executable regular file.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5238 as_fn_executable_p ()
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 test -f "$1" && test -x "$1"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5241 } # as_fn_executable_p
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5242 as_test_x='test -x'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5243 as_executable_p=as_fn_executable_p
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5244
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5245 # 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
5246 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
5247
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5248 # 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
5249 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
5250
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5251
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5252 exec 6>&1
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5253 ## ----------------------------------- ##
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5254 ## Main body of $CONFIG_STATUS script. ##
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5255 ## ----------------------------------- ##
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5256 _ASEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5257 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
5258
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5259 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5260 # 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
5261 # 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
5262 # values after options handling.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5263 ac_log="
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5264 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
5265 generated by GNU Autoconf 2.69. Invocation command line was
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5266
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5267 CONFIG_FILES = $CONFIG_FILES
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5268 CONFIG_HEADERS = $CONFIG_HEADERS
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5269 CONFIG_LINKS = $CONFIG_LINKS
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5270 CONFIG_COMMANDS = $CONFIG_COMMANDS
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5271 $ $0 $@
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5272
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5273 on `(hostname || uname -n) 2>/dev/null | sed 1q`
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5274 "
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5275
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5276 _ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5277
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5278 case $ac_config_files in *"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5279 "*) set x $ac_config_files; shift; ac_config_files=$*;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5280 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5281
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5282 case $ac_config_headers in *"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5283 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5284 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5285
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5286
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5287 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5288 # Files that config.status was made for.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5289 config_files="$ac_config_files"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5290 config_headers="$ac_config_headers"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5291 config_commands="$ac_config_commands"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5292
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5293 _ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5294
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5295 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5296 ac_cs_usage="\
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5297 \`$as_me' instantiates files and other configuration actions
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5298 from templates according to the current configuration. Unless the files
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5299 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
5300
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5301 Usage: $0 [OPTION]... [TAG]...
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5302
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5303 -h, --help print this help, then exit
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5304 -V, --version print version number and configuration settings, then exit
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5305 --config print configuration, then exit
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5306 -q, --quiet, --silent
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5307 do not print progress messages
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5308 -d, --debug don't remove temporary files
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5309 --recheck update $as_me by reconfiguring in the same conditions
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5310 --file=FILE[:TEMPLATE]
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5311 instantiate the configuration file FILE
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5312 --header=FILE[:TEMPLATE]
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5313 instantiate the configuration header FILE
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 Configuration files:
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5316 $config_files
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5317
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5318 Configuration headers:
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5319 $config_headers
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5320
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5321 Configuration commands:
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5322 $config_commands
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5323
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5324 Report bugs to <universe@uap-core.de>."
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5325
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5326 _ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5327 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5328 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
5329 ac_cs_version="\\
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5330 cline config.status 1.1
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5331 configured by $0, generated by GNU Autoconf 2.69,
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5332 with options \\"\$ac_cs_config\\"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5333
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5334 Copyright (C) 2012 Free Software Foundation, Inc.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5335 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
5336 gives unlimited permission to copy, distribute and modify it."
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5337
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5338 ac_pwd='$ac_pwd'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5339 srcdir='$srcdir'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5340 INSTALL='$INSTALL'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5341 MKDIR_P='$MKDIR_P'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5342 AWK='$AWK'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5343 test -n "\$AWK" || AWK=awk
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5344 _ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5345
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5346 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5347 # 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
5348 ac_need_defaults=:
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5349 while test $# != 0
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5350 do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5351 case $1 in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5352 --*=?*)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5353 ac_option=`expr "X$1" : 'X\([^=]*\)='`
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5354 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5355 ac_shift=:
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5356 ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5357 --*=)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5358 ac_option=`expr "X$1" : 'X\([^=]*\)='`
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5359 ac_optarg=
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5360 ac_shift=:
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5361 ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5362 *)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5363 ac_option=$1
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5364 ac_optarg=$2
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5365 ac_shift=shift
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5366 ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5367 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5368
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5369 case $ac_option in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5370 # Handling of the options.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5371 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5372 ac_cs_recheck=: ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5373 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5374 $as_echo "$ac_cs_version"; exit ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5375 --config | --confi | --conf | --con | --co | --c )
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5376 $as_echo "$ac_cs_config"; exit ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5377 --debug | --debu | --deb | --de | --d | -d )
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5378 debug=: ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5379 --file | --fil | --fi | --f )
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5380 $ac_shift
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5381 case $ac_optarg in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5382 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5383 '') as_fn_error $? "missing file argument" ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5384 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5385 as_fn_append CONFIG_FILES " '$ac_optarg'"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5386 ac_need_defaults=false;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5387 --header | --heade | --head | --hea )
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5388 $ac_shift
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5389 case $ac_optarg in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5390 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5391 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5392 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5393 ac_need_defaults=false;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5394 --he | --h)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5395 # Conflict between --help and --header
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5396 as_fn_error $? "ambiguous option: \`$1'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5397 Try \`$0 --help' for more information.";;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5398 --help | --hel | -h )
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5399 $as_echo "$ac_cs_usage"; exit ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5400 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5401 | -silent | --silent | --silen | --sile | --sil | --si | --s)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5402 ac_cs_silent=: ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5403
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5404 # This is an error.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5405 -*) as_fn_error $? "unrecognized option: \`$1'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5406 Try \`$0 --help' for more information." ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5407
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5408 *) as_fn_append ac_config_targets " $1"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5409 ac_need_defaults=false ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5410
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5411 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5412 shift
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5413 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5414
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5415 ac_configure_extra_args=
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5416
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5417 if $ac_cs_silent; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5418 exec 6>/dev/null
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5419 ac_configure_extra_args="$ac_configure_extra_args --silent"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5420 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5421
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5422 _ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5423 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5424 if \$ac_cs_recheck; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5425 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
5426 shift
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5427 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5428 CONFIG_SHELL='$SHELL'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5429 export CONFIG_SHELL
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5430 exec "\$@"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5431 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5432
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5433 _ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5434 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5435 exec 5>>config.log
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5436 {
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5437 echo
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5438 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
5439 ## Running $as_me. ##
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5440 _ASBOX
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5441 $as_echo "$ac_log"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5442 } >&5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5443
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5444 _ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5445 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
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 # INIT-COMMANDS
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5448 #
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5449 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5450
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5451 _ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5452
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5453 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5454
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5455 # Handling of arguments.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5456 for ac_config_target in $ac_config_targets
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5457 do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5458 case $ac_config_target in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5459 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5460 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5461 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5462 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5463
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5464 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5465 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5466 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5467
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5468
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5469 # 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
5470 # 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
5471 # 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
5472 # bizarre bug on SunOS 4.1.3.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5473 if $ac_need_defaults; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5474 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5475 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5476 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5477 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5478
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5479 # 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
5480 # 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
5481 # creating and moving files from /tmp can sometimes cause problems.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5482 # Hook for its removal unless debugging.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5483 # 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
5484 # 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
5485 $debug ||
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5486 {
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5487 tmp= ac_tmp=
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5488 trap 'exit_status=$?
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5489 : "${ac_tmp:=$tmp}"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5490 { 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
5491 ' 0
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5492 trap 'as_fn_exit 1' 1 2 13 15
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5493 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5494 # Create a (secure) tmp directory for tmp files.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5495
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5496 {
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5497 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5498 test -d "$tmp"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5499 } ||
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5500 {
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5501 tmp=./conf$$-$RANDOM
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5502 (umask 077 && mkdir "$tmp")
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5503 } || 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
5504 ac_tmp=$tmp
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5505
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5506 # Set up the scripts for CONFIG_FILES section.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5507 # 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
5508 # This happens for instance with `./config.status config.h'.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5509 if test -n "$CONFIG_FILES"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5510
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5511
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5512 ac_cr=`echo X | tr X '\015'`
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5513 # 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
5514 # 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
5515 # point, so we can use a bashism as a fallback.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5516 if test "x$ac_cr" = x; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5517 eval ac_cr=\$\'\\r\'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5518 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5519 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
5520 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
5521 ac_cs_awk_cr='\\r'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5522 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5523 ac_cs_awk_cr=$ac_cr
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5524 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5525
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5526 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5527 _ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5528
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5529
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5530 {
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5531 echo "cat >conf$$subs.awk <<_ACEOF" &&
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5532 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5533 echo "_ACEOF"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5534 } >conf$$subs.sh ||
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5535 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5536 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5537 ac_delim='%!_!# '
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5538 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
5539 . ./conf$$subs.sh ||
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5540 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5541
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5542 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
5543 if test $ac_delim_n = $ac_delim_num; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5544 break
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5545 elif $ac_last_try; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5546 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5547 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5548 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5549 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5550 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5551 rm -f conf$$subs.sh
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5552
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5553 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5554 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5555 _ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5556 sed -n '
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5557 h
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5558 s/^/S["/; s/!.*/"]=/
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5559 p
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5560 g
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5561 s/^[^!]*!//
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5562 :repl
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5563 t repl
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5564 s/'"$ac_delim"'$//
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5565 t delim
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5566 :nl
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5567 h
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5568 s/\(.\{148\}\)..*/\1/
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5569 t more1
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5570 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5571 p
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5572 n
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5573 b repl
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5574 :more1
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5575 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5576 p
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5577 g
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5578 s/.\{148\}//
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5579 t nl
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5580 :delim
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5581 h
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5582 s/\(.\{148\}\)..*/\1/
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5583 t more2
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5584 s/["\\]/\\&/g; s/^/"/; s/$/"/
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5585 p
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5586 b
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5587 :more2
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5588 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5589 p
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5590 g
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5591 s/.\{148\}//
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5592 t delim
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5593 ' <conf$$subs.awk | sed '
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5594 /^[^""]/{
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5595 N
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5596 s/\n//
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5597 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5598 ' >>$CONFIG_STATUS || ac_write_fail=1
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5599 rm -f conf$$subs.awk
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5600 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5601 _ACAWK
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5602 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5603 for (key in S) S_is_set[key] = 1
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5604 FS = ""
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5605
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5606 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5607 {
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5608 line = $ 0
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5609 nfields = split(line, field, "@")
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5610 substed = 0
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5611 len = length(field[1])
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5612 for (i = 2; i < nfields; i++) {
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5613 key = field[i]
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5614 keylen = length(key)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5615 if (S_is_set[key]) {
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5616 value = S[key]
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5617 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
5618 len += length(value) + length(field[++i])
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5619 substed = 1
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5620 } else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5621 len += 1 + keylen
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
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5624 print line
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5625 }
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 _ACAWK
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5628 _ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5629 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5630 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
5631 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
5632 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5633 cat
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5634 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5635 || 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
5636 _ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5637
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5638 # 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
5639 # ${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
5640 # 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
5641 # (actually we leave an empty line to preserve line numbers).
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5642 if test "x$srcdir" = x.; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5643 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5644 h
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5645 s///
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5646 s/^/:/
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5647 s/[ ]*$/:/
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5648 s/:\$(srcdir):/:/g
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5649 s/:\${srcdir}:/:/g
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5650 s/:@srcdir@:/:/g
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5651 s/^:*//
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5652 s/:*$//
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5653 x
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5654 s/\(=[ ]*\).*/\1/
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5655 G
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5656 s/\n//
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5657 s/^[^=]*=[ ]*$//
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5658 }'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5659 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5660
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 fi # test -n "$CONFIG_FILES"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5663
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5664 # Set up the scripts for CONFIG_HEADERS section.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5665 # 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
5666 # This happens for instance with `./config.status Makefile'.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5667 if test -n "$CONFIG_HEADERS"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5668 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5669 BEGIN {
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5670 _ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5671
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5672 # 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
5673 # 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
5674 # config.h.in to produce config.h.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5675
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5676 # 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
5677 # handling of long lines.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5678 ac_delim='%!_!# '
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5679 for ac_last_try in false false :; do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5680 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5681 if test -z "$ac_tt"; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5682 break
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5683 elif $ac_last_try; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5684 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5685 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5686 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5687 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5688 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5689
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5690 # 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
5691 # likewise P contains macro parameters if any. Preserve backslash
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5692 # newline sequences.
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 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5695 sed -n '
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5696 s/.\{148\}/&'"$ac_delim"'/g
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5697 t rset
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5698 :rset
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5699 s/^[ ]*#[ ]*define[ ][ ]*/ /
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5700 t def
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5701 d
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5702 :def
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5703 s/\\$//
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5704 t bsnl
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5705 s/["\\]/\\&/g
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5706 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5707 D["\1"]=" \3"/p
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5708 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5709 d
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5710 :bsnl
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5711 s/["\\]/\\&/g
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5712 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5713 D["\1"]=" \3\\\\\\n"\\/p
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5714 t cont
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5715 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5716 t cont
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5717 d
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5718 :cont
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5719 n
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5720 s/.\{148\}/&'"$ac_delim"'/g
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5721 t clear
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5722 :clear
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5723 s/\\$//
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5724 t bsnlc
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5725 s/["\\]/\\&/g; s/^/"/; s/$/"/p
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5726 d
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5727 :bsnlc
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5728 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5729 b cont
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5730 ' <confdefs.h | sed '
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5731 s/'"$ac_delim"'/"\\\
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5732 "/g' >>$CONFIG_STATUS || ac_write_fail=1
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5733
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5734 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5735 for (key in D) D_is_set[key] = 1
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5736 FS = ""
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5737 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5738 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5739 line = \$ 0
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5740 split(line, arg, " ")
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5741 if (arg[1] == "#") {
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5742 defundef = arg[2]
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5743 mac1 = arg[3]
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5744 } else {
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5745 defundef = substr(arg[1], 2)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5746 mac1 = arg[2]
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5747 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5748 split(mac1, mac2, "(") #)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5749 macro = mac2[1]
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5750 prefix = substr(line, 1, index(line, defundef) - 1)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5751 if (D_is_set[macro]) {
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5752 # Preserve the white space surrounding the "#".
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5753 print prefix "define", macro P[macro] D[macro]
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5754 next
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5755 } else {
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5756 # Replace #undef with comments. This is necessary, for example,
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5757 # 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
5758 # 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
5759 if (defundef == "undef") {
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5760 print "/*", prefix defundef, macro, "*/"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5761 next
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 }
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 { print }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5766 _ACAWK
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5767 _ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5768 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5769 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
5770 fi # test -n "$CONFIG_HEADERS"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5771
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5772
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5773 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
5774 shift
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5775 for ac_tag
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5776 do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5777 case $ac_tag in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5778 :[FHLC]) ac_mode=$ac_tag; continue;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5779 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5780 case $ac_mode$ac_tag in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5781 :[FHL]*:*);;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5782 :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
5783 :[FH]-) ac_tag=-:-;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5784 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5785 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5786 ac_save_IFS=$IFS
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5787 IFS=:
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5788 set x $ac_tag
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5789 IFS=$ac_save_IFS
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5790 shift
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5791 ac_file=$1
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5792 shift
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5793
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5794 case $ac_mode in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5795 :L) ac_source=$1;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5796 :[FH])
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5797 ac_file_inputs=
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5798 for ac_f
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5799 do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5800 case $ac_f in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5801 -) ac_f="$ac_tmp/stdin";;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5802 *) # 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
5803 # (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
5804 # because $ac_f cannot contain `:'.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5805 test -f "$ac_f" ||
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5806 case $ac_f in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5807 [\\/$]*) false;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5808 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5809 esac ||
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5810 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
5811 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5812 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
5813 as_fn_append ac_file_inputs " '$ac_f'"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5814 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5815
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5816 # 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
5817 # use $as_me), people would be surprised to read:
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5818 # /* config.h. Generated by config.status. */
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5819 configure_input='Generated from '`
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5820 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5821 `' by configure.'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5822 if test x"$ac_file" != x-; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5823 configure_input="$ac_file. $configure_input"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5824 { $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
5825 $as_echo "$as_me: creating $ac_file" >&6;}
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5826 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5827 # Neutralize special characters interpreted by sed in replacement strings.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5828 case $configure_input in #(
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5829 *\&* | *\|* | *\\* )
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5830 ac_sed_conf_input=`$as_echo "$configure_input" |
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5831 sed 's/[\\\\&|]/\\\\&/g'`;; #(
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5832 *) ac_sed_conf_input=$configure_input;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5833 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5834
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5835 case $ac_tag in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5836 *:-:* | *:-) cat >"$ac_tmp/stdin" \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5837 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5838 esac
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 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5841
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5842 ac_dir=`$as_dirname -- "$ac_file" ||
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5843 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5844 X"$ac_file" : 'X\(//\)[^/]' \| \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5845 X"$ac_file" : 'X\(//\)$' \| \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5846 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5847 $as_echo X"$ac_file" |
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5848 sed '/^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 /^X\(\/\/\)[^/].*/{
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5853 s//\1/
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5854 q
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5855 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5856 /^X\(\/\/\)$/{
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5857 s//\1/
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5858 q
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 /^X\(\/\).*/{
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5861 s//\1/
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5862 q
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 s/.*/./; q'`
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5865 as_dir="$ac_dir"; as_fn_mkdir_p
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5866 ac_builddir=.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5867
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5868 case "$ac_dir" in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5869 .) 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
5870 *)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5871 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5872 # A ".." for each directory in $ac_dir_suffix.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5873 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
5874 case $ac_top_builddir_sub in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5875 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5876 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5877 esac ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5878 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5879 ac_abs_top_builddir=$ac_pwd
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5880 ac_abs_builddir=$ac_pwd$ac_dir_suffix
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5881 # for backward compatibility:
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5882 ac_top_builddir=$ac_top_build_prefix
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5883
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5884 case $srcdir in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5885 .) # We are building in place.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5886 ac_srcdir=.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5887 ac_top_srcdir=$ac_top_builddir_sub
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5888 ac_abs_top_srcdir=$ac_pwd ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5889 [\\/]* | ?:[\\/]* ) # Absolute name.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5890 ac_srcdir=$srcdir$ac_dir_suffix;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5891 ac_top_srcdir=$srcdir
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5892 ac_abs_top_srcdir=$srcdir ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5893 *) # Relative name.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5894 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5895 ac_top_srcdir=$ac_top_build_prefix$srcdir
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5896 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5897 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5898 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5899
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5900
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5901 case $ac_mode in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5902 :F)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5903 #
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5904 # CONFIG_FILE
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5905 #
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5906
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5907 case $INSTALL in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5908 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5909 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5910 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5911 ac_MKDIR_P=$MKDIR_P
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5912 case $MKDIR_P in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5913 [\\/$]* | ?:[\\/]* ) ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5914 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5915 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5916 _ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5917
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5918 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5919 # If the template does not know about datarootdir, expand it.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5920 # 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
5921 ac_datarootdir_hack=; ac_datarootdir_seen=
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5922 ac_sed_dataroot='
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5923 /datarootdir/ {
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5924 p
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5925 q
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5926 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5927 /@datadir@/p
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5928 /@docdir@/p
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5929 /@infodir@/p
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5930 /@localedir@/p
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5931 /@mandir@/p'
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5932 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
5933 *datarootdir*) ac_datarootdir_seen=yes;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5934 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5935 { $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
5936 $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
5937 _ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5938 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5939 ac_datarootdir_hack='
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5940 s&@datadir@&$datadir&g
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5941 s&@docdir@&$docdir&g
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5942 s&@infodir@&$infodir&g
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5943 s&@localedir@&$localedir&g
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5944 s&@mandir@&$mandir&g
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5945 s&\\\${datarootdir}&$datarootdir&g' ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5946 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5947 _ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5948
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5949 # Neutralize VPATH when `$srcdir' = `.'.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5950 # Shell code in configure.ac might set extrasub.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5951 # FIXME: do we really want to maintain this feature?
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5952 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5953 ac_sed_extra="$ac_vpsub
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5954 $extrasub
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5955 _ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5956 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5957 :t
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5958 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5959 s|@configure_input@|$ac_sed_conf_input|;t t
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5960 s&@top_builddir@&$ac_top_builddir_sub&;t t
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5961 s&@top_build_prefix@&$ac_top_build_prefix&;t t
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5962 s&@srcdir@&$ac_srcdir&;t t
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5963 s&@abs_srcdir@&$ac_abs_srcdir&;t t
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5964 s&@top_srcdir@&$ac_top_srcdir&;t t
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5965 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5966 s&@builddir@&$ac_builddir&;t t
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5967 s&@abs_builddir@&$ac_abs_builddir&;t t
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5968 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5969 s&@INSTALL@&$ac_INSTALL&;t t
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5970 s&@MKDIR_P@&$ac_MKDIR_P&;t t
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5971 $ac_datarootdir_hack
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5972 "
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5973 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
5974 >$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
5975
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5976 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5977 { 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
5978 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5979 "$ac_tmp/out"`; test -z "$ac_out"; } &&
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5980 { $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
5981 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
5982 $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
5983 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
5984
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5985 rm -f "$ac_tmp/stdin"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5986 case $ac_file in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5987 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5988 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5989 esac \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5990 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5991 ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5992 :H)
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5993 #
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5994 # CONFIG_HEADER
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5995 #
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5996 if test x"$ac_file" != x-; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5997 {
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5998 $as_echo "/* $configure_input */" \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5999 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6000 } >"$ac_tmp/config.h" \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6001 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6002 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
6003 { $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
6004 $as_echo "$as_me: $ac_file is unchanged" >&6;}
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6005 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6006 rm -f "$ac_file"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6007 mv "$ac_tmp/config.h" "$ac_file" \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6008 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6009 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6010 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6011 $as_echo "/* $configure_input */" \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6012 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6013 || as_fn_error $? "could not create -" "$LINENO" 5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6014 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6015 # Compute "$ac_file"'s index in $config_headers.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6016 _am_arg="$ac_file"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6017 _am_stamp_count=1
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6018 for _am_header in $config_headers :; do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6019 case $_am_header in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6020 $_am_arg | $_am_arg:* )
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6021 break ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6022 * )
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6023 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6024 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6025 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6026 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6027 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6028 X"$_am_arg" : 'X\(//\)[^/]' \| \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6029 X"$_am_arg" : 'X\(//\)$' \| \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6030 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6031 $as_echo X"$_am_arg" |
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6032 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6033 s//\1/
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6034 q
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6035 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6036 /^X\(\/\/\)[^/].*/{
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6037 s//\1/
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6038 q
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6039 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6040 /^X\(\/\/\)$/{
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6041 s//\1/
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6042 q
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6043 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6044 /^X\(\/\).*/{
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6045 s//\1/
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6046 q
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6047 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6048 s/.*/./; q'`/stamp-h$_am_stamp_count
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6049 ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6050
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6051 :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
6052 $as_echo "$as_me: executing $ac_file commands" >&6;}
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6053 ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6054 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6055
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6056
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6057 case $ac_file$ac_mode in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6058 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6059 # 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
6060 # 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
6061 # if we detect the quoting.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6062 case $CONFIG_FILES in
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6063 *\'*) eval set x "$CONFIG_FILES" ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6064 *) set x $CONFIG_FILES ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6065 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6066 shift
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6067 for mf
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6068 do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6069 # 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
6070 mf=`echo "$mf" | sed -e 's/:.*$//'`
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6071 # Check whether this is an Automake generated Makefile or not.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6072 # 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
6073 # 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
6074 # 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
6075 # 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
6076 # 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
6077 # 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
6078 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
6079 dirpart=`$as_dirname -- "$mf" ||
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6080 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6081 X"$mf" : 'X\(//\)[^/]' \| \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6082 X"$mf" : 'X\(//\)$' \| \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6083 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6084 $as_echo X"$mf" |
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6085 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6086 s//\1/
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6087 q
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6088 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6089 /^X\(\/\/\)[^/].*/{
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6090 s//\1/
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6091 q
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6092 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6093 /^X\(\/\/\)$/{
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6094 s//\1/
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6095 q
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6096 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6097 /^X\(\/\).*/{
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6098 s//\1/
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6099 q
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6100 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6101 s/.*/./; q'`
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6102 else
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6103 continue
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6104 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6105 # Extract the definition of DEPDIR, am__include, and am__quote
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6106 # from the Makefile without running 'make'.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6107 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6108 test -z "$DEPDIR" && continue
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6109 am__include=`sed -n 's/^am__include = //p' < "$mf"`
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6110 test -z "$am__include" && continue
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6111 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6112 # Find all dependency output files, they are included files with
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6113 # $(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
6114 # 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
6115 # expansion.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6116 for file in `sed -n "
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6117 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
6118 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6119 # Make sure the directory exists.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6120 test -f "$dirpart/$file" && continue
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6121 fdir=`$as_dirname -- "$file" ||
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6122 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6123 X"$file" : 'X\(//\)[^/]' \| \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6124 X"$file" : 'X\(//\)$' \| \
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6125 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6126 $as_echo X"$file" |
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6127 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6128 s//\1/
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6129 q
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6130 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6131 /^X\(\/\/\)[^/].*/{
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6132 s//\1/
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6133 q
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6134 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6135 /^X\(\/\/\)$/{
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6136 s//\1/
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6137 q
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6138 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6139 /^X\(\/\).*/{
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6140 s//\1/
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6141 q
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6142 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6143 s/.*/./; q'`
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6144 as_dir=$dirpart/$fdir; as_fn_mkdir_p
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6145 # echo "creating $dirpart/$file"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6146 echo '# dummy' > "$dirpart/$file"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6147 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6148 done
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6149 }
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6150 ;;
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6151
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6152 esac
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6153 done # for ac_tag
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6154
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6155
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6156 as_fn_exit 0
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6157 _ACEOF
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6158 ac_clean_files=$ac_clean_files_save
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6159
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6160 test $ac_write_fail = 0 ||
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6161 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6162
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6163
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6164 # 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
6165 # config.status does its own redirection, appending to config.log.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6166 # 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
6167 # 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
6168 # 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
6169 # 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
6170 # 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
6171 # need to make the FD available again.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6172 if test "$no_create" != yes; then
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6173 ac_cs_success=:
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6174 ac_config_status_args=
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6175 test "$silent" = yes &&
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6176 ac_config_status_args="$ac_config_status_args --quiet"
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6177 exec 5>/dev/null
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6178 $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
6179 exec 5>>config.log
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6180 # 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
6181 # would make configure fail if this is the last instruction.
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6182 $ac_cs_success || as_fn_exit 1
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6183 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6184 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
6185 { $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
6186 $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
6187 fi
0d2c13c24fd0 adds remaining autoconf files
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6188

mercurial