1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
1 |
#! /bin/sh
|
2 |
# Guess values for system-dependent variables and create Makefiles.
|
|
1.1.25
by Sebastien Bacher
Import upstream version 3.6.1 |
3 |
# Generated by GNU Autoconf 2.69 for alacarte 3.6.1.
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
4 |
#
|
1.1.2
by Sebastien Bacher
Import upstream version 0.9.90 |
5 |
# Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=alacarte>.
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
6 |
#
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
7 |
#
|
1.1.25
by Sebastien Bacher
Import upstream version 3.6.1 |
8 |
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
9 |
#
|
10 |
#
|
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
11 |
# This configure script is free software; the Free Software Foundation
|
12 |
# gives unlimited permission to copy, distribute and modify it.
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
13 |
## -------------------- ##
|
14 |
## M4sh Initialization. ##
|
|
15 |
## -------------------- ##
|
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
16 |
|
1.1.9
by Sebastien Bacher
Import upstream version 0.11.4 |
17 |
# Be more Bourne compatible
|
18 |
DUALCASE=1; export DUALCASE # for MKS sh |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
19 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
20 |
emulate sh |
21 |
NULLCMD=: |
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
22 |
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
23 |
# is contrary to our usage. Disable this feature.
|
24 |
alias -g '${1+"$@"}'='"$@"' |
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
25 |
setopt NO_GLOB_SUBST |
26 |
else
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
27 |
case `(set -o) 2>/dev/null` in #( |
28 |
*posix*) :
|
|
29 |
set -o posix ;; #( |
|
30 |
*) :
|
|
31 |
;;
|
|
1.1.9
by Sebastien Bacher
Import upstream version 0.11.4 |
32 |
esac
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
33 |
fi
|
1.1.9
by Sebastien Bacher
Import upstream version 0.11.4 |
34 |
|
35 |
||
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
36 |
as_nl=' |
37 |
'
|
|
38 |
export as_nl
|
|
39 |
# Printing a long string crashes Solaris 7 /usr/bin/printf.
|
|
40 |
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
|
41 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
|
42 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
43 |
# Prefer a ksh shell builtin over an external printf program on Solaris,
|
44 |
# but without wasting forks for bash or zsh.
|
|
45 |
if test -z "$BASH_VERSION$ZSH_VERSION" \ |
|
46 |
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then |
|
47 |
as_echo='print -r --' |
|
48 |
as_echo_n='print -rn --' |
|
49 |
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
50 |
as_echo='printf %s\n' |
51 |
as_echo_n='printf %s' |
|
52 |
else
|
|
53 |
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
|
54 |
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
|
55 |
as_echo_n='/usr/ucb/echo -n' |
|
56 |
else
|
|
57 |
as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
|
58 |
as_echo_n_body='eval |
|
59 |
arg=$1;
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
60 |
case $arg in #(
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
61 |
*"$as_nl"*)
|
62 |
expr "X$arg" : "X\\(.*\\)$as_nl";
|
|
63 |
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
|
|
64 |
esac;
|
|
65 |
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
|
|
66 |
'
|
|
67 |
export as_echo_n_body
|
|
68 |
as_echo_n='sh -c $as_echo_n_body as_echo' |
|
69 |
fi
|
|
70 |
export as_echo_body
|
|
71 |
as_echo='sh -c $as_echo_body as_echo' |
|
72 |
fi
|
|
73 |
||
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
74 |
# The user is always right.
|
75 |
if test "${PATH_SEPARATOR+set}" != set; then |
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
76 |
PATH_SEPARATOR=: |
77 |
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
|
78 |
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
|
79 |
PATH_SEPARATOR=';' |
|
80 |
}
|
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
81 |
fi
|
82 |
||
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
83 |
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
84 |
# IFS
|
85 |
# We need space, tab and new line, in precisely that order. Quoting is
|
|
86 |
# there to prevent editors from complaining about space-tab.
|
|
87 |
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
|
|
88 |
# splitting by setting IFS to empty value.)
|
|
89 |
IFS=" "" $as_nl" |
|
90 |
||
91 |
# Find who we are. Look in the path if we contain no directory separator.
|
|
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
92 |
as_myself= |
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
93 |
case $0 in #(( |
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
94 |
*[\\/]* ) as_myself=$0 ;; |
95 |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
96 |
for as_dir in $PATH |
|
97 |
do
|
|
98 |
IFS=$as_save_IFS |
|
99 |
test -z "$as_dir" && as_dir=. |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
100 |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
101 |
done
|
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
102 |
IFS=$as_save_IFS |
103 |
||
104 |
;;
|
|
105 |
esac
|
|
106 |
# We did not find ourselves, most probably we were run as `sh COMMAND'
|
|
107 |
# in which case we are not to be found in the path.
|
|
108 |
if test "x$as_myself" = x; then |
|
109 |
as_myself=$0 |
|
110 |
fi
|
|
111 |
if test ! -f "$as_myself"; then |
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
112 |
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
113 |
exit 1 |
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
114 |
fi
|
115 |
||
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
116 |
# Unset variables that we do not need and which cause bugs (e.g. in
|
117 |
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
|
|
118 |
# suppresses any "Segmentation fault" message there. '((' could
|
|
119 |
# trigger a bug in pdksh 5.2.14.
|
|
120 |
for as_var in BASH_ENV ENV MAIL MAILPATH
|
|
121 |
do eval test x\${$as_var+set} = xset \ |
|
122 |
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : |
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
123 |
done
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
124 |
PS1='$ ' |
125 |
PS2='> ' |
|
126 |
PS4='+ ' |
|
127 |
||
128 |
# NLS nuisances.
|
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
129 |
LC_ALL=C |
130 |
export LC_ALL
|
|
131 |
LANGUAGE=C |
|
132 |
export LANGUAGE
|
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
133 |
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
134 |
# CDPATH.
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
135 |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
136 |
|
1.1.25
by Sebastien Bacher
Import upstream version 3.6.1 |
137 |
# Use a proper internal environment variable to ensure we don't fall
|
138 |
# into an infinite loop, continuously re-executing ourselves.
|
|
139 |
if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then |
|
140 |
_as_can_reexec=no; export _as_can_reexec; |
|
141 |
# We cannot yet assume a decent shell, so we have to provide a
|
|
142 |
# neutralization value for shells without unset; and this also
|
|
143 |
# works around shells that cannot unset nonexistent variables.
|
|
144 |
# Preserve -v and -x to the replacement shell.
|
|
145 |
BASH_ENV=/dev/null |
|
146 |
ENV=/dev/null |
|
147 |
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
|
148 |
case $- in # (((( |
|
149 |
*v*x* | *x*v* ) as_opts=-vx ;; |
|
150 |
*v* ) as_opts=-v ;; |
|
151 |
*x* ) as_opts=-x ;; |
|
152 |
* ) as_opts= ;; |
|
153 |
esac
|
|
154 |
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} |
|
155 |
# Admittedly, this is quite paranoid, since all the known shells bail
|
|
156 |
# out after a failed `exec'.
|
|
157 |
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 |
|
158 |
as_fn_exit 255
|
|
159 |
fi
|
|
160 |
# We don't want this to propagate to other subprocesses.
|
|
161 |
{ _as_can_reexec=; unset _as_can_reexec;} |
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
162 |
if test "x$CONFIG_SHELL" = x; then |
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
163 |
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : |
164 |
emulate sh
|
|
165 |
NULLCMD=:
|
|
166 |
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
|
|
167 |
# is contrary to our usage. Disable this feature.
|
|
168 |
alias -g '\${1+\"\$@\"}'='\"\$@\"'
|
|
169 |
setopt NO_GLOB_SUBST
|
|
170 |
else
|
|
171 |
case \`(set -o) 2>/dev/null\` in #(
|
|
172 |
*posix*) :
|
|
173 |
set -o posix ;; #(
|
|
174 |
*) :
|
|
175 |
;;
|
|
176 |
esac
|
|
177 |
fi
|
|
178 |
"
|
|
179 |
as_required="as_fn_return () { (exit \$1); } |
|
180 |
as_fn_success () { as_fn_return 0; }
|
|
181 |
as_fn_failure () { as_fn_return 1; }
|
|
182 |
as_fn_ret_success () { return 0; }
|
|
183 |
as_fn_ret_failure () { return 1; }
|
|
184 |
||
185 |
exitcode=0
|
|
186 |
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
|
|
187 |
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
|
|
188 |
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
|
|
189 |
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
|
|
190 |
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
|
|
191 |
||
192 |
else
|
|
193 |
exitcode=1; echo positional parameters were not saved.
|
|
194 |
fi
|
|
1.1.25
by Sebastien Bacher
Import upstream version 3.6.1 |
195 |
test x\$exitcode = x0 || exit 1
|
196 |
test -x / || exit 1"
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
197 |
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO |
198 |
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO |
|
199 |
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
|
|
200 |
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
|
|
201 |
test \$(( 1 + 1 )) = 2 || exit 1"
|
|
202 |
if (eval "$as_required") 2>/dev/null; then : |
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
203 |
as_have_required=yes |
204 |
else
|
|
205 |
as_have_required=no |
|
206 |
fi
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
207 |
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : |
208 |
||
209 |
else
|
|
210 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
211 |
as_found=false |
|
1.1.9
by Sebastien Bacher
Import upstream version 0.11.4 |
212 |
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
213 |
do
|
214 |
IFS=$as_save_IFS |
|
215 |
test -z "$as_dir" && as_dir=. |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
216 |
as_found=: |
217 |
case $as_dir in #( |
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
218 |
/*)
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
219 |
for as_base in sh bash ksh sh5; do |
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
220 |
# Try only shells that exist, to save several forks.
|
221 |
as_shell=$as_dir/$as_base |
|
222 |
if { test -f "$as_shell" || test -f "$as_shell.exe"; } && |
|
223 |
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : |
|
224 |
CONFIG_SHELL=$as_shell as_have_required=yes |
|
225 |
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : |
|
226 |
break 2 |
|
227 |
fi
|
|
228 |
fi
|
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
229 |
done;; |
230 |
esac
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
231 |
as_found=false |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
232 |
done
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
233 |
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && |
234 |
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : |
|
235 |
CONFIG_SHELL=$SHELL as_have_required=yes |
|
236 |
fi; } |
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
237 |
IFS=$as_save_IFS |
238 |
||
239 |
||
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
240 |
if test "x$CONFIG_SHELL" != x; then : |
1.1.25
by Sebastien Bacher
Import upstream version 3.6.1 |
241 |
export CONFIG_SHELL
|
242 |
# We cannot yet assume a decent shell, so we have to provide a
|
|
243 |
# neutralization value for shells without unset; and this also
|
|
244 |
# works around shells that cannot unset nonexistent variables.
|
|
245 |
# Preserve -v and -x to the replacement shell.
|
|
246 |
BASH_ENV=/dev/null |
|
247 |
ENV=/dev/null |
|
248 |
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
|
249 |
case $- in # (((( |
|
250 |
*v*x* | *x*v* ) as_opts=-vx ;; |
|
251 |
*v* ) as_opts=-v ;; |
|
252 |
*x* ) as_opts=-x ;; |
|
253 |
* ) as_opts= ;; |
|
254 |
esac
|
|
255 |
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} |
|
256 |
# Admittedly, this is quite paranoid, since all the known shells bail
|
|
257 |
# out after a failed `exec'.
|
|
258 |
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 |
|
259 |
exit 255 |
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
260 |
fi
|
261 |
||
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
262 |
if test x$as_have_required = xno; then : |
263 |
$as_echo "$0: This script requires a shell more modern than all" |
|
264 |
$as_echo "$0: the shells that I found on your system." |
|
265 |
if test x${ZSH_VERSION+set} = xset ; then |
|
266 |
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" |
|
267 |
$as_echo "$0: be upgraded to zsh 4.3.4 or later." |
|
268 |
else
|
|
269 |
$as_echo "$0: Please tell bug-autoconf@gnu.org and |
|
270 |
$0: http://bugzilla.gnome.org/enter_bug.cgi?product=alacarte |
|
271 |
$0: about your system, including any error possibly output |
|
272 |
$0: before this message. Then install a modern shell, or |
|
273 |
$0: manually run the script under such a shell if you do |
|
274 |
$0: have one." |
|
275 |
fi
|
|
276 |
exit 1 |
|
277 |
fi
|
|
278 |
fi
|
|
279 |
fi
|
|
280 |
SHELL=${CONFIG_SHELL-/bin/sh} |
|
281 |
export SHELL
|
|
282 |
# Unset more variables known to interfere with behavior of common tools.
|
|
283 |
CLICOLOR_FORCE= GREP_OPTIONS= |
|
284 |
unset CLICOLOR_FORCE GREP_OPTIONS
|
|
285 |
||
286 |
## --------------------- ##
|
|
287 |
## M4sh Shell Functions. ##
|
|
288 |
## --------------------- ##
|
|
289 |
# as_fn_unset VAR
|
|
290 |
# ---------------
|
|
291 |
# Portably unset VAR.
|
|
292 |
as_fn_unset ()
|
|
293 |
{
|
|
294 |
{ eval $1=; unset $1;} |
|
295 |
}
|
|
296 |
as_unset=as_fn_unset |
|
297 |
||
298 |
# as_fn_set_status STATUS
|
|
299 |
# -----------------------
|
|
300 |
# Set $? to STATUS, without forking.
|
|
301 |
as_fn_set_status ()
|
|
302 |
{
|
|
303 |
return $1 |
|
304 |
} # as_fn_set_status |
|
305 |
||
306 |
# as_fn_exit STATUS
|
|
307 |
# -----------------
|
|
308 |
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
|
|
309 |
as_fn_exit ()
|
|
310 |
{
|
|
311 |
set +e
|
|
312 |
as_fn_set_status $1
|
|
313 |
exit $1 |
|
314 |
} # as_fn_exit |
|
315 |
||
316 |
# as_fn_mkdir_p
|
|
317 |
# -------------
|
|
318 |
# Create "$as_dir" as a directory, including parents if necessary.
|
|
319 |
as_fn_mkdir_p ()
|
|
320 |
{
|
|
321 |
||
322 |
case $as_dir in #( |
|
323 |
-*) as_dir=./$as_dir;; |
|
324 |
esac
|
|
325 |
test -d "$as_dir" || eval $as_mkdir_p || { |
|
326 |
as_dirs= |
|
327 |
while :; do |
|
328 |
case $as_dir in #( |
|
329 |
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
|
330 |
*) as_qdir=$as_dir;; |
|
331 |
esac
|
|
332 |
as_dirs="'$as_qdir' $as_dirs" |
|
333 |
as_dir=`$as_dirname -- "$as_dir" || |
|
334 |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
335 |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
|
336 |
X"$as_dir" : 'X\(//\)$' \| \ |
|
337 |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
|
338 |
$as_echo X"$as_dir" | |
|
339 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
|
340 |
s//\1/
|
|
341 |
q
|
|
342 |
}
|
|
343 |
/^X\(\/\/\)[^/].*/{
|
|
344 |
s//\1/
|
|
345 |
q
|
|
346 |
}
|
|
347 |
/^X\(\/\/\)$/{
|
|
348 |
s//\1/
|
|
349 |
q
|
|
350 |
}
|
|
351 |
/^X\(\/\).*/{
|
|
352 |
s//\1/
|
|
353 |
q
|
|
354 |
}
|
|
355 |
s/.*/./; q'` |
|
356 |
test -d "$as_dir" && break |
|
357 |
done
|
|
358 |
test -z "$as_dirs" || eval "mkdir $as_dirs" |
|
1.1.20
by Didier Roche
Import upstream version 0.13.2 |
359 |
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
360 |
|
361 |
||
362 |
} # as_fn_mkdir_p |
|
1.1.25
by Sebastien Bacher
Import upstream version 3.6.1 |
363 |
|
364 |
# as_fn_executable_p FILE
|
|
365 |
# -----------------------
|
|
366 |
# Test if FILE is an executable regular file.
|
|
367 |
as_fn_executable_p ()
|
|
368 |
{
|
|
369 |
test -f "$1" && test -x "$1" |
|
370 |
} # as_fn_executable_p |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
371 |
# as_fn_append VAR VALUE
|
372 |
# ----------------------
|
|
373 |
# Append the text in VALUE to the end of the definition contained in VAR. Take
|
|
374 |
# advantage of any shell optimizations that allow amortized linear growth over
|
|
375 |
# repeated appends, instead of the typical quadratic growth present in naive
|
|
376 |
# implementations.
|
|
377 |
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : |
|
378 |
eval 'as_fn_append () |
|
379 |
{
|
|
380 |
eval $1+=\$2
|
|
381 |
}'
|
|
382 |
else
|
|
383 |
as_fn_append ()
|
|
384 |
{
|
|
385 |
eval $1=\$$1\$2 |
|
386 |
}
|
|
387 |
fi # as_fn_append |
|
388 |
||
389 |
# as_fn_arith ARG...
|
|
390 |
# ------------------
|
|
391 |
# Perform arithmetic evaluation on the ARGs, and store the result in the
|
|
392 |
# global $as_val. Take advantage of shells that can avoid forks. The arguments
|
|
393 |
# must be portable across $(()) and expr.
|
|
394 |
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : |
|
395 |
eval 'as_fn_arith () |
|
396 |
{
|
|
397 |
as_val=$(( $* ))
|
|
398 |
}'
|
|
399 |
else
|
|
400 |
as_fn_arith ()
|
|
401 |
{
|
|
402 |
as_val=`expr "$@" || test $? -eq 1` |
|
403 |
}
|
|
404 |
fi # as_fn_arith |
|
405 |
||
406 |
||
1.1.20
by Didier Roche
Import upstream version 0.13.2 |
407 |
# as_fn_error STATUS ERROR [LINENO LOG_FD]
|
408 |
# ----------------------------------------
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
409 |
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
|
410 |
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
|
|
1.1.20
by Didier Roche
Import upstream version 0.13.2 |
411 |
# script with STATUS, using 1 if that was 0.
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
412 |
as_fn_error ()
|
413 |
{
|
|
1.1.20
by Didier Roche
Import upstream version 0.13.2 |
414 |
as_status=$1; test $as_status -eq 0 && as_status=1 |
415 |
if test "$4"; then |
|
416 |
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
417 |
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
418 |
fi
|
1.1.20
by Didier Roche
Import upstream version 0.13.2 |
419 |
$as_echo "$as_me: error: $2" >&2 |
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
420 |
as_fn_exit $as_status
|
421 |
} # as_fn_error |
|
422 |
||
423 |
if expr a : '\(a\)' >/dev/null 2>&1 && |
|
424 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then |
|
425 |
as_expr=expr |
|
426 |
else
|
|
427 |
as_expr=false |
|
428 |
fi
|
|
429 |
||
430 |
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
|
431 |
as_basename=basename |
|
432 |
else
|
|
433 |
as_basename=false |
|
434 |
fi
|
|
435 |
||
436 |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
|
437 |
as_dirname=dirname |
|
438 |
else
|
|
439 |
as_dirname=false |
|
440 |
fi
|
|
441 |
||
442 |
as_me=`$as_basename -- "$0" || |
|
443 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
|
444 |
X"$0" : 'X\(//\)$' \| \ |
|
445 |
X"$0" : 'X\(/\)' \| . 2>/dev/null || |
|
446 |
$as_echo X/"$0" | |
|
447 |
sed '/^.*\/\([^/][^/]*\)\/*$/{
|
|
448 |
s//\1/
|
|
449 |
q
|
|
450 |
}
|
|
451 |
/^X\/\(\/\/\)$/{
|
|
452 |
s//\1/
|
|
453 |
q
|
|
454 |
}
|
|
455 |
/^X\/\(\/\).*/{
|
|
456 |
s//\1/
|
|
457 |
q
|
|
458 |
}
|
|
459 |
s/.*/./; q'` |
|
460 |
||
461 |
# Avoid depending upon Character Ranges.
|
|
462 |
as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
|
463 |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
|
464 |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
|
465 |
as_cr_digits='0123456789' |
|
466 |
as_cr_alnum=$as_cr_Letters$as_cr_digits |
|
467 |
||
468 |
||
469 |
as_lineno_1=$LINENO as_lineno_1a=$LINENO |
|
470 |
as_lineno_2=$LINENO as_lineno_2a=$LINENO |
|
471 |
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && |
|
472 |
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { |
|
473 |
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
|
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
474 |
sed -n '
|
475 |
p
|
|
476 |
/[$]LINENO/=
|
|
477 |
' <$as_myself | |
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
478 |
sed '
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
479 |
s/[$]LINENO.*/&-/
|
480 |
t lineno
|
|
481 |
b
|
|
482 |
:lineno
|
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
483 |
N
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
484 |
:loop
|
485 |
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
486 |
t loop
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
487 |
s/-\n.*//
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
488 |
' >$as_me.lineno && |
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
489 |
chmod +x "$as_me.lineno" || |
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
490 |
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
491 |
|
1.1.25
by Sebastien Bacher
Import upstream version 3.6.1 |
492 |
# If we had to re-execute with $CONFIG_SHELL, we're ensured to have
|
493 |
# already done that, so ensure we don't try to do so again and fall
|
|
494 |
# in an infinite loop. This has already happened in practice.
|
|
495 |
_as_can_reexec=no; export _as_can_reexec |
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
496 |
# Don't try to exec as it changes $[0], causing all sort of problems
|
497 |
# (the dirname of $[0] is not the place where we might find the
|
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
498 |
# original and so on. Autoconf is especially sensitive to this).
|
499 |
. "./$as_me.lineno" |
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
500 |
# Exit status is that of the last command.
|
501 |
exit
|
|
502 |
}
|
|
503 |
||
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
504 |
ECHO_C= ECHO_N= ECHO_T= |
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
505 |
case `echo -n x` in #((((( |
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
506 |
-n*)
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
507 |
case `echo 'xy\c'` in |
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
508 |
*c*) ECHO_T=' ';; # ECHO_T is single tab character. |
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
509 |
xy) ECHO_C='\c';; |
510 |
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null |
|
511 |
ECHO_T=' ';; |
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
512 |
esac;; |
513 |
*)
|
|
514 |
ECHO_N='-n';; |
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
515 |
esac
|
516 |
||
517 |
rm -f conf$$ conf$$.exe conf$$.file |
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
518 |
if test -d conf$$.dir; then |
519 |
rm -f conf$$.dir/conf$$.file |
|
520 |
else
|
|
521 |
rm -f conf$$.dir
|
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
522 |
mkdir conf$$.dir 2>/dev/null |
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
523 |
fi
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
524 |
if (echo >conf$$.file) 2>/dev/null; then |
525 |
if ln -s conf$$.file conf$$ 2>/dev/null; then |
|
526 |
as_ln_s='ln -s' |
|
527 |
# ... but there are two gotchas:
|
|
528 |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
|
|
529 |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
|
|
1.1.25
by Sebastien Bacher
Import upstream version 3.6.1 |
530 |
# In both cases, we have to default to `cp -pR'.
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
531 |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
1.1.25
by Sebastien Bacher
Import upstream version 3.6.1 |
532 |
as_ln_s='cp -pR' |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
533 |
elif ln conf$$.file conf$$ 2>/dev/null; then |
534 |
as_ln_s=ln |
|
535 |
else
|
|
1.1.25
by Sebastien Bacher
Import upstream version 3.6.1 |
536 |
as_ln_s='cp -pR' |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
537 |
fi
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
538 |
else
|
1.1.25
by Sebastien Bacher
Import upstream version 3.6.1 |
539 |
as_ln_s='cp -pR' |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
540 |
fi
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
541 |
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
542 |
rmdir conf$$.dir 2>/dev/null |
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
543 |
|
544 |
if mkdir -p . 2>/dev/null; then |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
545 |
as_mkdir_p='mkdir -p "$as_dir"' |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
546 |
else
|
547 |
test -d ./-p && rmdir ./-p |
|
548 |
as_mkdir_p=false |
|
549 |
fi
|
|
550 |
||
1.1.25
by Sebastien Bacher
Import upstream version 3.6.1 |
551 |
as_test_x='test -x' |
552 |
as_executable_p=as_fn_executable_p |
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
553 |
|
554 |
# Sed expression to map a string onto a valid CPP name.
|
|
555 |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
|
556 |
||
557 |
# Sed expression to map a string onto a valid variable name.
|
|
558 |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
|
559 |
||
560 |
||
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
561 |
test -n "$DJDIR" || exec 7<&0 </dev/null |
562 |
exec 6>&1 |
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
563 |
|
564 |
# Name of the host.
|
|
1.1.20
by Didier Roche
Import upstream version 0.13.2 |
565 |
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
566 |
# so uname gets run too.
|
567 |
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
|
568 |
||
569 |
#
|
|
570 |
# Initializations.
|
|
571 |
#
|
|
572 |
ac_default_prefix=/usr/local |
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
573 |
ac_clean_files= |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
574 |
ac_config_libobj_dir=. |
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
575 |
LIBOBJS= |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
576 |
cross_compiling=no |
577 |
subdirs= |
|
578 |
MFLAGS= |
|
579 |
MAKEFLAGS= |
|
580 |
||
581 |
# Identity of this package.
|
|
582 |
PACKAGE_NAME='alacarte' |
|
583 |
PACKAGE_TARNAME='alacarte' |
|
1.1.25
by Sebastien Bacher
Import upstream version 3.6.1 |
584 |
PACKAGE_VERSION='3.6.1' |
585 |
PACKAGE_STRING='alacarte 3.6.1' |
|
1.1.2
by Sebastien Bacher
Import upstream version 0.9.90 |
586 |
PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=alacarte' |
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
587 |
PACKAGE_URL='' |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
588 |
|
589 |
ac_unique_file="alacarte.in" |
|
590 |
# Factoring default headers for most tests.
|
|
591 |
ac_includes_default="\ |
|
592 |
#include <stdio.h>
|
|
1.1.9
by Sebastien Bacher
Import upstream version 0.11.4 |
593 |
#ifdef HAVE_SYS_TYPES_H
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
594 |
# include <sys/types.h>
|
595 |
#endif
|
|
1.1.9
by Sebastien Bacher
Import upstream version 0.11.4 |
596 |
#ifdef HAVE_SYS_STAT_H
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
597 |
# include <sys/stat.h>
|
598 |
#endif
|
|
1.1.9
by Sebastien Bacher
Import upstream version 0.11.4 |
599 |
#ifdef STDC_HEADERS
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
600 |
# include <stdlib.h>
|
601 |
# include <stddef.h>
|
|
602 |
#else
|
|
1.1.9
by Sebastien Bacher
Import upstream version 0.11.4 |
603 |
# ifdef HAVE_STDLIB_H
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
604 |
# include <stdlib.h>
|
605 |
# endif
|
|
606 |
#endif
|
|
1.1.9
by Sebastien Bacher
Import upstream version 0.11.4 |
607 |
#ifdef HAVE_STRING_H
|
608 |
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
|
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
609 |
# include <memory.h>
|
610 |
# endif
|
|
611 |
# include <string.h>
|
|
612 |
#endif
|
|
1.1.9
by Sebastien Bacher
Import upstream version 0.11.4 |
613 |
#ifdef HAVE_STRINGS_H
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
614 |
# include <strings.h>
|
615 |
#endif
|
|
1.1.9
by Sebastien Bacher
Import upstream version 0.11.4 |
616 |
#ifdef HAVE_INTTYPES_H
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
617 |
# include <inttypes.h>
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
618 |
#endif
|
1.1.9
by Sebastien Bacher
Import upstream version 0.11.4 |
619 |
#ifdef HAVE_STDINT_H
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
620 |
# include <stdint.h>
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
621 |
#endif
|
1.1.9
by Sebastien Bacher
Import upstream version 0.11.4 |
622 |
#ifdef HAVE_UNISTD_H
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
623 |
# include <unistd.h>
|
624 |
#endif"
|
|
625 |
||
1.1.17
by Sebastien Bacher
Import upstream version 0.12.3 |
626 |
ac_subst_vars='am__EXEEXT_FALSE |
627 |
am__EXEEXT_TRUE
|
|
628 |
LTLIBOBJS
|
|
1.1.16
by Andreas Moog
Import upstream version 0.12.1 |
629 |
LIBOBJS
|
630 |
ALACARTE_LIBS
|
|
631 |
ALACARTE_CFLAGS
|
|
1.1.20
by Didier Roche
Import upstream version 0.13.2 |
632 |
PKG_CONFIG_LIBDIR
|
633 |
PKG_CONFIG_PATH
|
|
1.1.16
by Andreas Moog
Import upstream version 0.12.1 |
634 |
PKG_CONFIG
|
635 |
pkgpyexecdir
|
|
636 |
pyexecdir
|
|
637 |
pkgpythondir
|
|
638 |
pythondir
|
|
639 |
PYTHON_PLATFORM
|
|
640 |
PYTHON_EXEC_PREFIX
|
|
641 |
PYTHON_PREFIX
|
|
642 |
PYTHON_VERSION
|
|
643 |
PYTHON2_4
|
|
644 |
PYTHON2_5
|
|
1.1.20
by Didier Roche
Import upstream version 0.13.2 |
645 |
PYTHON2_6
|
1.1.16
by Andreas Moog
Import upstream version 0.12.1 |
646 |
PYTHON
|
1.1.20
by Didier Roche
Import upstream version 0.13.2 |
647 |
PYTHON2_7
|
1.1.16
by Andreas Moog
Import upstream version 0.12.1 |
648 |
ALL_LINGUAS
|
649 |
INTLTOOL_PERL
|
|
650 |
MSGMERGE
|
|
651 |
INTLTOOL_POLICY_RULE
|
|
652 |
INTLTOOL_SERVICE_RULE
|
|
653 |
INTLTOOL_THEME_RULE
|
|
654 |
INTLTOOL_SCHEMAS_RULE
|
|
655 |
INTLTOOL_CAVES_RULE
|
|
656 |
INTLTOOL_XML_NOMERGE_RULE
|
|
657 |
INTLTOOL_XML_RULE
|
|
658 |
INTLTOOL_KBD_RULE
|
|
659 |
INTLTOOL_XAM_RULE
|
|
660 |
INTLTOOL_UI_RULE
|
|
661 |
INTLTOOL_SOUNDLIST_RULE
|
|
662 |
INTLTOOL_SHEET_RULE
|
|
663 |
INTLTOOL_SERVER_RULE
|
|
664 |
INTLTOOL_PONG_RULE
|
|
665 |
INTLTOOL_OAF_RULE
|
|
666 |
INTLTOOL_PROP_RULE
|
|
667 |
INTLTOOL_KEYS_RULE
|
|
668 |
INTLTOOL_DIRECTORY_RULE
|
|
669 |
INTLTOOL_DESKTOP_RULE
|
|
670 |
INTLTOOL_EXTRACT
|
|
671 |
INTLTOOL_MERGE
|
|
672 |
INTLTOOL_UPDATE
|
|
673 |
MKINSTALLDIRS
|
|
674 |
POSUB
|
|
675 |
POFILES
|
|
676 |
PO_IN_DATADIR_FALSE
|
|
677 |
PO_IN_DATADIR_TRUE
|
|
678 |
INTLLIBS
|
|
679 |
INSTOBJEXT
|
|
680 |
GMOFILES
|
|
681 |
DATADIRNAME
|
|
682 |
CATOBJEXT
|
|
683 |
CATALOGS
|
|
684 |
XGETTEXT
|
|
685 |
GMSGFMT
|
|
686 |
MSGFMT_OPTS
|
|
687 |
MSGFMT
|
|
688 |
USE_NLS
|
|
689 |
EGREP
|
|
690 |
GREP
|
|
691 |
CPP
|
|
692 |
am__fastdepCC_FALSE
|
|
693 |
am__fastdepCC_TRUE
|
|
694 |
CCDEPMODE
|
|
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
695 |
am__nodep
|
1.1.16
by Andreas Moog
Import upstream version 0.12.1 |
696 |
AMDEPBACKSLASH
|
697 |
AMDEP_FALSE
|
|
698 |
AMDEP_TRUE
|
|
699 |
am__quote
|
|
700 |
am__include
|
|
701 |
DEPDIR
|
|
702 |
OBJEXT
|
|
703 |
EXEEXT
|
|
704 |
ac_ct_CC
|
|
705 |
CPPFLAGS
|
|
706 |
LDFLAGS
|
|
707 |
CFLAGS
|
|
708 |
CC
|
|
709 |
GETTEXT_PACKAGE
|
|
710 |
MAINT
|
|
711 |
MAINTAINER_MODE_FALSE
|
|
712 |
MAINTAINER_MODE_TRUE
|
|
713 |
am__untar
|
|
714 |
am__tar
|
|
715 |
AMTAR
|
|
716 |
am__leading_dot
|
|
717 |
SET_MAKE
|
|
718 |
AWK
|
|
719 |
mkdir_p
|
|
720 |
MKDIR_P
|
|
721 |
INSTALL_STRIP_PROGRAM
|
|
722 |
STRIP
|
|
723 |
install_sh
|
|
724 |
MAKEINFO
|
|
725 |
AUTOHEADER
|
|
726 |
AUTOMAKE
|
|
727 |
AUTOCONF
|
|
728 |
ACLOCAL
|
|
729 |
VERSION
|
|
730 |
PACKAGE
|
|
731 |
CYGPATH_W
|
|
732 |
am__isrc
|
|
733 |
INSTALL_DATA
|
|
734 |
INSTALL_SCRIPT
|
|
735 |
INSTALL_PROGRAM
|
|
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
736 |
AM_BACKSLASH
|
737 |
AM_DEFAULT_VERBOSITY
|
|
738 |
AM_DEFAULT_V
|
|
739 |
AM_V
|
|
1.1.16
by Andreas Moog
Import upstream version 0.12.1 |
740 |
target_alias
|
741 |
host_alias
|
|
742 |
build_alias
|
|
743 |
LIBS
|
|
744 |
ECHO_T
|
|
745 |
ECHO_N
|
|
746 |
ECHO_C
|
|
747 |
DEFS
|
|
748 |
mandir
|
|
749 |
localedir
|
|
750 |
libdir
|
|
751 |
psdir
|
|
752 |
pdfdir
|
|
753 |
dvidir
|
|
754 |
htmldir
|
|
755 |
infodir
|
|
756 |
docdir
|
|
757 |
oldincludedir
|
|
758 |
includedir
|
|
759 |
localstatedir
|
|
760 |
sharedstatedir
|
|
761 |
sysconfdir
|
|
762 |
datadir
|
|
763 |
datarootdir
|
|
764 |
libexecdir
|
|
765 |
sbindir
|
|
766 |
bindir
|
|
767 |
program_transform_name
|
|
768 |
prefix
|
|
769 |
exec_prefix
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
770 |
PACKAGE_URL
|
1.1.16
by Andreas Moog
Import upstream version 0.12.1 |
771 |
PACKAGE_BUGREPORT
|
772 |
PACKAGE_STRING
|
|
773 |
PACKAGE_VERSION
|
|
774 |
PACKAGE_TARNAME
|
|
775 |
PACKAGE_NAME
|
|
1.1.15
by Sebastien Bacher
Import upstream version 0.11.10 |
776 |
PATH_SEPARATOR
|
1.1.16
by Andreas Moog
Import upstream version 0.12.1 |
777 |
SHELL'
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
778 |
ac_subst_files='' |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
779 |
ac_user_opts=' |
780 |
enable_option_checking
|
|
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
781 |
enable_silent_rules
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
782 |
enable_maintainer_mode
|
783 |
enable_dependency_tracking
|
|
1.1.12
by Sebastien Bacher
Import upstream version 0.11.7 |
784 |
enable_nls
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
785 |
'
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
786 |
ac_precious_vars='build_alias |
787 |
host_alias
|
|
788 |
target_alias
|
|
789 |
CC
|
|
790 |
CFLAGS
|
|
791 |
LDFLAGS
|
|
1.1.9
by Sebastien Bacher
Import upstream version 0.11.4 |
792 |
LIBS
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
793 |
CPPFLAGS
|
794 |
CPP
|
|
795 |
PKG_CONFIG
|
|
1.1.20
by Didier Roche
Import upstream version 0.13.2 |
796 |
PKG_CONFIG_PATH
|
797 |
PKG_CONFIG_LIBDIR
|
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
798 |
ALACARTE_CFLAGS
|
799 |
ALACARTE_LIBS'
|
|
800 |
||
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
801 |
|
802 |
# Initialize some variables set by options.
|
|
803 |
ac_init_help= |
|
804 |
ac_init_version=false |
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
805 |
ac_unrecognized_opts= |
806 |
ac_unrecognized_sep= |
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
807 |
# The variables have the same names as the options, with
|
808 |
# dashes changed to underlines.
|
|
809 |
cache_file=/dev/null |
|
810 |
exec_prefix=NONE |
|
811 |
no_create= |
|
812 |
no_recursion= |
|
813 |
prefix=NONE |
|
814 |
program_prefix=NONE |
|
815 |
program_suffix=NONE |
|
816 |
program_transform_name=s,x,x, |
|
817 |
silent= |
|
818 |
site= |
|
819 |
srcdir= |
|
820 |
verbose= |
|
821 |
x_includes=NONE |
|
822 |
x_libraries=NONE |
|
823 |
||
824 |
# Installation directory options.
|
|
825 |
# These are left unexpanded so users can "make install exec_prefix=/foo"
|
|
826 |
# and all the variables that are supposed to be based on exec_prefix
|
|
827 |
# by default will actually change.
|
|
828 |
# Use braces instead of parens because sh, perl, etc. also accept them.
|
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
829 |
# (The list follows the same order as the GNU Coding Standards.)
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
830 |
bindir='${exec_prefix}/bin' |
831 |
sbindir='${exec_prefix}/sbin' |
|
832 |
libexecdir='${exec_prefix}/libexec' |
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
833 |
datarootdir='${prefix}/share' |
834 |
datadir='${datarootdir}' |
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
835 |
sysconfdir='${prefix}/etc' |
836 |
sharedstatedir='${prefix}/com' |
|
837 |
localstatedir='${prefix}/var' |
|
838 |
includedir='${prefix}/include' |
|
839 |
oldincludedir='/usr/include' |
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
840 |
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' |
841 |
infodir='${datarootdir}/info' |
|
842 |
htmldir='${docdir}' |
|
843 |
dvidir='${docdir}' |
|
844 |
pdfdir='${docdir}' |
|
845 |
psdir='${docdir}' |
|
846 |
libdir='${exec_prefix}/lib' |
|
847 |
localedir='${datarootdir}/locale' |
|
848 |
mandir='${datarootdir}/man' |
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
849 |
|
850 |
ac_prev= |
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
851 |
ac_dashdash= |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
852 |
for ac_option
|
853 |
do
|
|
854 |
# If the previous option needs an argument, assign it.
|
|
855 |
if test -n "$ac_prev"; then |
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
856 |
eval $ac_prev=\$ac_option |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
857 |
ac_prev= |
858 |
continue
|
|
859 |
fi
|
|
860 |
||
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
861 |
case $ac_option in |
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
862 |
*=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
863 |
*=) ac_optarg= ;; |
|
864 |
*) ac_optarg=yes ;; |
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
865 |
esac
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
866 |
|
867 |
# Accept the important Cygnus configure options, so we can diagnose typos.
|
|
868 |
||
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
869 |
case $ac_dashdash$ac_option in |
870 |
--)
|
|
871 |
ac_dashdash=yes ;; |
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
872 |
|
873 |
-bindir | --bindir | --bindi | --bind | --bin | --bi) |
|
874 |
ac_prev=bindir ;; |
|
875 |
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
|
876 |
bindir=$ac_optarg ;; |
|
877 |
||
878 |
-build | --build | --buil | --bui | --bu) |
|
879 |
ac_prev=build_alias ;; |
|
880 |
-build=* | --build=* | --buil=* | --bui=* | --bu=*) |
|
881 |
build_alias=$ac_optarg ;; |
|
882 |
||
883 |
-cache-file | --cache-file | --cache-fil | --cache-fi \ |
|
884 |
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
|
885 |
ac_prev=cache_file ;; |
|
886 |
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
|
887 |
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
|
888 |
cache_file=$ac_optarg ;; |
|
889 |
||
890 |
--config-cache | -C) |
|
891 |
cache_file=config.cache ;; |
|
892 |
||
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
893 |
-datadir | --datadir | --datadi | --datad) |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
894 |
ac_prev=datadir ;; |
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
895 |
-datadir=* | --datadir=* | --datadi=* | --datad=*) |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
896 |
datadir=$ac_optarg ;; |
897 |
||
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
898 |
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ |
899 |
| --dataroo | --dataro | --datar) |
|
900 |
ac_prev=datarootdir ;; |
|
901 |
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ |
|
902 |
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*) |
|
903 |
datarootdir=$ac_optarg ;; |
|
904 |
||
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
905 |
-disable-* | --disable-*) |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
906 |
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
907 |
# Reject names that are not valid shell variable names.
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
908 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1.1.20
by Didier Roche
Import upstream version 0.13.2 |
909 |
as_fn_error $? "invalid feature name: $ac_useropt" |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
910 |
ac_useropt_orig=$ac_useropt |
911 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
|
912 |
case $ac_user_opts in |
|
913 |
*"
|
|
914 |
"enable_$ac_useropt" |
|
915 |
"*) ;; |
|
916 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" |
|
917 |
ac_unrecognized_sep=', ';; |
|
918 |
esac
|
|
919 |
eval enable_$ac_useropt=no ;; |
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
920 |
|
921 |
-docdir | --docdir | --docdi | --doc | --do) |
|
922 |
ac_prev=docdir ;; |
|
923 |
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) |
|
924 |
docdir=$ac_optarg ;; |
|
925 |
||
926 |
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) |
|
927 |
ac_prev=dvidir ;; |
|
928 |
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) |
|
929 |
dvidir=$ac_optarg ;; |
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
930 |
|
931 |
-enable-* | --enable-*) |
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
932 |
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
933 |
# Reject names that are not valid shell variable names.
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
934 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1.1.20
by Didier Roche
Import upstream version 0.13.2 |
935 |
as_fn_error $? "invalid feature name: $ac_useropt" |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
936 |
ac_useropt_orig=$ac_useropt |
937 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
|
938 |
case $ac_user_opts in |
|
939 |
*"
|
|
940 |
"enable_$ac_useropt" |
|
941 |
"*) ;; |
|
942 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" |
|
943 |
ac_unrecognized_sep=', ';; |
|
944 |
esac
|
|
945 |
eval enable_$ac_useropt=\$ac_optarg ;; |
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
946 |
|
947 |
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
|
948 |
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
|
949 |
| --exec | --exe | --ex) |
|
950 |
ac_prev=exec_prefix ;; |
|
951 |
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
|
952 |
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
|
953 |
| --exec=* | --exe=* | --ex=*) |
|
954 |
exec_prefix=$ac_optarg ;; |
|
955 |
||
956 |
-gas | --gas | --ga | --g) |
|
957 |
# Obsolete; use --with-gas.
|
|
958 |
with_gas=yes ;; |
|
959 |
||
960 |
-help | --help | --hel | --he | -h) |
|
961 |
ac_init_help=long ;; |
|
962 |
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*) |
|
963 |
ac_init_help=recursive ;; |
|
964 |
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*) |
|
965 |
ac_init_help=short ;; |
|
966 |
||
967 |
-host | --host | --hos | --ho) |
|
968 |
ac_prev=host_alias ;; |
|
969 |
-host=* | --host=* | --hos=* | --ho=*) |
|
970 |
host_alias=$ac_optarg ;; |
|
971 |
||
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
972 |
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) |
973 |
ac_prev=htmldir ;; |
|
974 |
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ |
|
975 |
| --ht=*) |
|
976 |
htmldir=$ac_optarg ;; |
|
977 |
||
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
978 |
-includedir | --includedir | --includedi | --included | --include \ |
979 |
| --includ | --inclu | --incl | --inc) |
|
980 |
ac_prev=includedir ;; |
|
981 |
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
|
982 |
| --includ=* | --inclu=* | --incl=* | --inc=*) |
|
983 |
includedir=$ac_optarg ;; |
|
984 |
||
985 |
-infodir | --infodir | --infodi | --infod | --info | --inf) |
|
986 |
ac_prev=infodir ;; |
|
987 |
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
|
988 |
infodir=$ac_optarg ;; |
|
989 |
||
990 |
-libdir | --libdir | --libdi | --libd) |
|
991 |
ac_prev=libdir ;; |
|
992 |
-libdir=* | --libdir=* | --libdi=* | --libd=*) |
|
993 |
libdir=$ac_optarg ;; |
|
994 |
||
995 |
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
|
996 |
| --libexe | --libex | --libe) |
|
997 |
ac_prev=libexecdir ;; |
|
998 |
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
|
999 |
| --libexe=* | --libex=* | --libe=*) |
|
1000 |
libexecdir=$ac_optarg ;; |
|
1001 |
||
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
1002 |
-localedir | --localedir | --localedi | --localed | --locale) |
1003 |
ac_prev=localedir ;; |
|
1004 |
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) |
|
1005 |
localedir=$ac_optarg ;; |
|
1006 |
||
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
1007 |
-localstatedir | --localstatedir | --localstatedi | --localstated \ |
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
1008 |
| --localstate | --localstat | --localsta | --localst | --locals) |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
1009 |
ac_prev=localstatedir ;; |
1010 |
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
1011 |
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
1012 |
localstatedir=$ac_optarg ;; |
1013 |
||
1014 |
-mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
|
1015 |
ac_prev=mandir ;; |
|
1016 |
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
|
1017 |
mandir=$ac_optarg ;; |
|
1018 |
||
1019 |
-nfp | --nfp | --nf) |
|
1020 |
# Obsolete; use --without-fp.
|
|
1021 |
with_fp=no ;; |
|
1022 |
||
1023 |
-no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
|
1024 |
| --no-cr | --no-c | -n) |
|
1025 |
no_create=yes ;; |
|
1026 |
||
1027 |
-no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
|
1028 |
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) |
|
1029 |
no_recursion=yes ;; |
|
1030 |
||
1031 |
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ |
|
1032 |
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ |
|
1033 |
| --oldin | --oldi | --old | --ol | --o) |
|
1034 |
ac_prev=oldincludedir ;; |
|
1035 |
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
|
1036 |
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
|
1037 |
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
|
1038 |
oldincludedir=$ac_optarg ;; |
|
1039 |
||
1040 |
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
|
1041 |
ac_prev=prefix ;; |
|
1042 |
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
|
1043 |
prefix=$ac_optarg ;; |
|
1044 |
||
1045 |
-program-prefix | --program-prefix | --program-prefi | --program-pref \ |
|
1046 |
| --program-pre | --program-pr | --program-p) |
|
1047 |
ac_prev=program_prefix ;; |
|
1048 |
-program-prefix=* | --program-prefix=* | --program-prefi=* \ |
|
1049 |
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
|
1050 |
program_prefix=$ac_optarg ;; |
|
1051 |
||
1052 |
-program-suffix | --program-suffix | --program-suffi | --program-suff \ |
|
1053 |
| --program-suf | --program-su | --program-s) |
|
1054 |
ac_prev=program_suffix ;; |
|
1055 |
-program-suffix=* | --program-suffix=* | --program-suffi=* \ |
|
1056 |
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
|
1057 |
program_suffix=$ac_optarg ;; |
|
1058 |
||
1059 |
-program-transform-name | --program-transform-name \ |
|
1060 |
| --program-transform-nam | --program-transform-na \ |
|
1061 |
| --program-transform-n | --program-transform- \ |
|
1062 |
| --program-transform | --program-transfor \ |
|
1063 |
| --program-transfo | --program-transf \ |
|
1064 |
| --program-trans | --program-tran \ |
|
1065 |
| --progr-tra | --program-tr | --program-t) |
|
1066 |
ac_prev=program_transform_name ;; |
|
1067 |
-program-transform-name=* | --program-transform-name=* \ |
|
1068 |
| --program-transform-nam=* | --program-transform-na=* \ |
|
1069 |
| --program-transform-n=* | --program-transform-=* \ |
|
1070 |
| --program-transform=* | --program-transfor=* \ |
|
1071 |
| --program-transfo=* | --program-transf=* \ |
|
1072 |
| --program-trans=* | --program-tran=* \ |
|
1073 |
| --progr-tra=* | --program-tr=* | --program-t=*) |
|
1074 |
program_transform_name=$ac_optarg ;; |
|
1075 |
||
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
1076 |
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) |
1077 |
ac_prev=pdfdir ;; |
|
1078 |
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) |
|
1079 |
pdfdir=$ac_optarg ;; |
|
1080 |
||
1081 |
-psdir | --psdir | --psdi | --psd | --ps) |
|
1082 |
ac_prev=psdir ;; |
|
1083 |
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) |
|
1084 |
psdir=$ac_optarg ;; |
|
1085 |
||
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
1086 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
1087 |
| -silent | --silent | --silen | --sile | --sil) |
|
1088 |
silent=yes ;; |
|
1089 |
||
1090 |
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
|
1091 |
ac_prev=sbindir ;; |
|
1092 |
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
|
1093 |
| --sbi=* | --sb=*) |
|
1094 |
sbindir=$ac_optarg ;; |
|
1095 |
||
1096 |
-sharedstatedir | --sharedstatedir | --sharedstatedi \ |
|
1097 |
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
|
1098 |
| --sharedst | --shareds | --shared | --share | --shar \ |
|
1099 |
| --sha | --sh) |
|
1100 |
ac_prev=sharedstatedir ;; |
|
1101 |
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ |
|
1102 |
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
|
1103 |
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
|
1104 |
| --sha=* | --sh=*) |
|
1105 |
sharedstatedir=$ac_optarg ;; |
|
1106 |
||
1107 |
-site | --site | --sit) |
|
1108 |
ac_prev=site ;; |
|
1109 |
-site=* | --site=* | --sit=*) |
|
1110 |
site=$ac_optarg ;; |
|
1111 |
||
1112 |
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
|
1113 |
ac_prev=srcdir ;; |
|
1114 |
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
|
1115 |
srcdir=$ac_optarg ;; |
|
1116 |
||
1117 |
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
|
1118 |
| --syscon | --sysco | --sysc | --sys | --sy) |
|
1119 |
ac_prev=sysconfdir ;; |
|
1120 |
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
|
1121 |
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
|
1122 |
sysconfdir=$ac_optarg ;; |
|
1123 |
||
1124 |
-target | --target | --targe | --targ | --tar | --ta | --t) |
|
1125 |
ac_prev=target_alias ;; |
|
1126 |
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
|
1127 |
target_alias=$ac_optarg ;; |
|
1128 |
||
1129 |
-v | -verbose | --verbose | --verbos | --verbo | --verb) |
|
1130 |
verbose=yes ;; |
|
1131 |
||
1132 |
-version | --version | --versio | --versi | --vers | -V) |
|
1133 |
ac_init_version=: ;; |
|
1134 |
||
1135 |
-with-* | --with-*) |
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
1136 |
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
1137 |
# Reject names that are not valid shell variable names.
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
1138 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1.1.20
by Didier Roche
Import upstream version 0.13.2 |
1139 |
as_fn_error $? "invalid package name: $ac_useropt" |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
1140 |
ac_useropt_orig=$ac_useropt |
1141 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
|
1142 |
case $ac_user_opts in |
|
1143 |
*"
|
|
1144 |
"with_$ac_useropt" |
|
1145 |
"*) ;; |
|
1146 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" |
|
1147 |
ac_unrecognized_sep=', ';; |
|
1148 |
esac
|
|
1149 |
eval with_$ac_useropt=\$ac_optarg ;; |
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
1150 |
|
1151 |
-without-* | --without-*) |
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
1152 |
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
1153 |
# Reject names that are not valid shell variable names.
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
1154 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1.1.20
by Didier Roche
Import upstream version 0.13.2 |
1155 |
as_fn_error $? "invalid package name: $ac_useropt" |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
1156 |
ac_useropt_orig=$ac_useropt |
1157 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
|
1158 |
case $ac_user_opts in |
|
1159 |
*"
|
|
1160 |
"with_$ac_useropt" |
|
1161 |
"*) ;; |
|
1162 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" |
|
1163 |
ac_unrecognized_sep=', ';; |
|
1164 |
esac
|
|
1165 |
eval with_$ac_useropt=no ;; |
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
1166 |
|
1167 |
--x)
|
|
1168 |
# Obsolete; use --with-x.
|
|
1169 |
with_x=yes ;; |
|
1170 |
||
1171 |
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ |
|
1172 |
| --x-incl | --x-inc | --x-in | --x-i) |
|
1173 |
ac_prev=x_includes ;; |
|
1174 |
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
|
1175 |
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
|
1176 |
x_includes=$ac_optarg ;; |
|
1177 |
||
1178 |
-x-libraries | --x-libraries | --x-librarie | --x-librari \ |
|
1179 |
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
|
1180 |
ac_prev=x_libraries ;; |
|
1181 |
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
|
1182 |
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
|
1183 |
x_libraries=$ac_optarg ;; |
|
1184 |
||
1.1.20
by Didier Roche
Import upstream version 0.13.2 |
1185 |
-*) as_fn_error $? "unrecognized option: \`$ac_option' |
1186 |
Try \`$0 --help' for more information" |
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
1187 |
;;
|
1188 |
||
1189 |
*=*) |
|
1190 |
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
|
1191 |
# Reject names that are not valid shell variable names.
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
1192 |
case $ac_envvar in #( |
1193 |
'' | [0-9]* | *[!_$as_cr_alnum]* ) |
|
1.1.20
by Didier Roche
Import upstream version 0.13.2 |
1194 |
as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; |
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
1195 |
esac
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
1196 |
eval $ac_envvar=\$ac_optarg |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
1197 |
export $ac_envvar ;; |
1198 |
||
1199 |
*)
|
|
1200 |
# FIXME: should be removed in autoconf 3.0.
|
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
1201 |
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
1202 |
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
1203 |
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
1204 |
: "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
1205 |
;;
|
1206 |
||
1207 |
esac
|
|
1208 |
done
|
|
1209 |
||
1210 |
if test -n "$ac_prev"; then |
|
1211 |
ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
|
1.1.20
by Didier Roche
Import upstream version 0.13.2 |
1212 |
as_fn_error $? "missing argument to $ac_option" |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
1213 |
fi
|
1214 |
||
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
1215 |
if test -n "$ac_unrecognized_opts"; then |
1216 |
case $enable_option_checking in |
|
1217 |
no) ;; |
|
1.1.20
by Didier Roche
Import upstream version 0.13.2 |
1218 |
fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; |
1.1.16
by Andreas Moog
Import upstream version 0.12.1 |
1219 |
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
1220 |
esac
|
1221 |
fi
|
|
1222 |
||
1223 |
# Check all directory arguments for consistency.
|
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
1224 |
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
1225 |
datadir sysconfdir sharedstatedir localstatedir includedir \
|
|
1226 |
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
|
|
1227 |
libdir localedir mandir |
|
1228 |
do
|
|
1229 |
eval ac_val=\$$ac_var |
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
1230 |
# Remove trailing slashes.
|
1231 |
case $ac_val in |
|
1232 |
*/ )
|
|
1233 |
ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` |
|
1234 |
eval $ac_var=\$ac_val;; |
|
1235 |
esac
|
|
1236 |
# Be sure to have absolute directory names.
|
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
1237 |
case $ac_val in |
1238 |
[\\/$]* | ?:[\\/]* ) continue;; |
|
1239 |
NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
|
1240 |
esac
|
|
1.1.20
by Didier Roche
Import upstream version 0.13.2 |
1241 |
as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
1242 |
done
|
1243 |
||
1244 |
# There might be people who depend on the old broken behavior: `$host'
|
|
1245 |
# used to hold the argument of --host etc.
|
|
1246 |
# FIXME: To remove some day.
|
|
1247 |
build=$build_alias |
|
1248 |
host=$host_alias |
|
1249 |
target=$target_alias |
|
1250 |
||
1251 |
# FIXME: To remove some day.
|
|
1252 |
if test "x$host_alias" != x; then |
|
1253 |
if test "x$build_alias" = x; then |
|
1254 |
cross_compiling=maybe |
|
1255 |
elif test "x$build_alias" != "x$host_alias"; then |
|
1256 |
cross_compiling=yes |
|
1257 |
fi
|
|
1258 |
fi
|
|
1259 |
||
1260 |
ac_tool_prefix= |
|
1261 |
test -n "$host_alias" && ac_tool_prefix=$host_alias- |
|
1262 |
||
1263 |
test "$silent" = yes && exec 6>/dev/null |
|
1264 |
||
1265 |
||
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
1266 |
ac_pwd=`pwd` && test -n "$ac_pwd" && |
1267 |
ac_ls_di=`ls -di .` && |
|
1268 |
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
|
1.1.20
by Didier Roche
Import upstream version 0.13.2 |
1269 |
as_fn_error $? "working directory cannot be determined" |
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
1270 |
test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
1.1.20
by Didier Roche
Import upstream version 0.13.2 |
1271 |
as_fn_error $? "pwd does not report name of working directory" |
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
1272 |
|
1273 |
||
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
1274 |
# Find the source files, if location was not specified.
|
1275 |
if test -z "$srcdir"; then |
|
1276 |
ac_srcdir_defaulted=yes |
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
1277 |
# Try the directory containing this script, then the parent directory.
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
1278 |
ac_confdir=`$as_dirname -- "$as_myself" || |
1279 |
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
1280 |
X"$as_myself" : 'X\(//\)[^/]' \| \ |
|
1281 |
X"$as_myself" : 'X\(//\)$' \| \ |
|
1282 |
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || |
|
1283 |
$as_echo X"$as_myself" | |
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
1284 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
1285 |
s//\1/
|
|
1286 |
q
|
|
1287 |
}
|
|
1288 |
/^X\(\/\/\)[^/].*/{
|
|
1289 |
s//\1/
|
|
1290 |
q
|
|
1291 |
}
|
|
1292 |
/^X\(\/\/\)$/{
|
|
1293 |
s//\1/
|
|
1294 |
q
|
|
1295 |
}
|
|
1296 |
/^X\(\/\).*/{
|
|
1297 |
s//\1/
|
|
1298 |
q
|
|
1299 |
}
|
|
1300 |
s/.*/./; q'` |
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
1301 |
srcdir=$ac_confdir |
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
1302 |
if test ! -r "$srcdir/$ac_unique_file"; then |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
1303 |
srcdir=.. |
1304 |
fi
|
|
1305 |
else
|
|
1306 |
ac_srcdir_defaulted=no |
|
1307 |
fi
|
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
1308 |
if test ! -r "$srcdir/$ac_unique_file"; then |
1309 |
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
|
1.1.20
by Didier Roche
Import upstream version 0.13.2 |
1310 |
as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" |
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
1311 |
fi
|
1312 |
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
|
1313 |
ac_abs_confdir=`( |
|
1.1.20
by Didier Roche
Import upstream version 0.13.2 |
1314 |
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" |
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
1315 |
pwd)` |
1316 |
# When building in place, set srcdir=.
|
|
1317 |
if test "$ac_abs_confdir" = "$ac_pwd"; then |
|
1318 |
srcdir=. |
|
1319 |
fi
|
|
1320 |
# Remove unnecessary trailing slashes from srcdir.
|
|
1321 |
# Double slashes in file names in object file debugging info
|
|
1322 |
# mess up M-x gdb in Emacs.
|
|
1323 |
case $srcdir in |
|
1324 |
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; |
|
1325 |
esac
|
|
1326 |
for ac_var in $ac_precious_vars; do |
|
1327 |
eval ac_env_${ac_var}_set=\${${ac_var}+set} |
|
1328 |
eval ac_env_${ac_var}_value=\$${ac_var} |
|
1329 |
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} |
|
1330 |
eval ac_cv_env_${ac_var}_value=\$${ac_var} |
|
1331 |
done
|
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
1332 |
|
1333 |
#
|
|
1334 |
# Report the --help message.
|
|
1335 |
#
|
|
1336 |
if test "$ac_init_help" = "long"; then |
|
1337 |
# Omit some internal or obsolete options to make the list less imposing.
|
|
1338 |
# This message is too long to be a string in the A/UX 3.1 sh.
|
|
1339 |
cat <<_ACEOF
|
|
1.1.25
by Sebastien Bacher
Import upstream version 3.6.1 |
1340 |
\`configure' configures alacarte 3.6.1 to adapt to many kinds of systems.
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
1341 |
|
1342 |
Usage: $0 [OPTION]... [VAR=VALUE]...
|
|
1343 |
||
1344 |
To assign environment variables (e.g., CC, CFLAGS...), specify them as
|
|
1345 |
VAR=VALUE. See below for descriptions of some of the useful variables.
|
|
1346 |
||
1347 |
Defaults for the options are specified in brackets.
|
|
1348 |
||
1349 |
Configuration:
|
|
1350 |
-h, --help display this help and exit
|
|
1351 |
--help=short display options specific to this package
|
|
1352 |
--help=recursive display the short help of all the included packages
|
|
1353 |
-V, --version display version information and exit
|
|
1.1.20
by Didier Roche
Import upstream version 0.13.2 |
1354 |
-q, --quiet, --silent do not print \`checking ...' messages
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
1355 |
--cache-file=FILE cache test results in FILE [disabled]
|
1356 |
-C, --config-cache alias for \`--cache-file=config.cache'
|
|
1357 |
-n, --no-create do not create output files
|
|
1358 |
--srcdir=DIR find the sources in DIR [configure dir or \`..']
|
|
1359 |
||
1360 |
Installation directories:
|
|
1361 |
--prefix=PREFIX install architecture-independent files in PREFIX
|
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
1362 |
[$ac_default_prefix]
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
1363 |
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
1364 |
[PREFIX]
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
1365 |
|
1366 |
By default, \`make install' will install all the files in
|
|
1367 |
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
|
|
1368 |
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
|
|
1369 |
for instance \`--prefix=\$HOME'.
|
|
1370 |
||
1371 |
For better control, use the options below.
|
|
1372 |
||
1373 |
Fine tuning of the installation directories:
|
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
1374 |
--bindir=DIR user executables [EPREFIX/bin]
|
1375 |
--sbindir=DIR system admin executables [EPREFIX/sbin]
|
|
1376 |
--libexecdir=DIR program executables [EPREFIX/libexec]
|
|
1377 |
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
|
|
1378 |
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
|
|
1379 |
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
|
|
1380 |
--libdir=DIR object code libraries [EPREFIX/lib]
|
|
1381 |
--includedir=DIR C header files [PREFIX/include]
|
|
1382 |
--oldincludedir=DIR C header files for non-gcc [/usr/include]
|
|
1383 |
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
|
|
1384 |
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
|
|
1385 |
--infodir=DIR info documentation [DATAROOTDIR/info]
|
|
1386 |
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
|
|
1387 |
--mandir=DIR man documentation [DATAROOTDIR/man]
|
|
1388 |
--docdir=DIR documentation root [DATAROOTDIR/doc/alacarte]
|
|
1389 |
--htmldir=DIR html documentation [DOCDIR]
|
|
1390 |
--dvidir=DIR dvi documentation [DOCDIR]
|
|
1391 |
--pdfdir=DIR pdf documentation [DOCDIR]
|
|
1392 |
--psdir=DIR ps documentation [DOCDIR]
|
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
1393 |
_ACEOF
|
1394 |
||
1395 |
cat <<\_ACEOF
|
|
1396 |
||
1397 |
Program names:
|
|
1398 |
--program-prefix=PREFIX prepend PREFIX to installed program names
|
|
1399 |
--program-suffix=SUFFIX append SUFFIX to installed program names
|
|
1400 |
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
|
|
1401 |
_ACEOF
|
|
1402 |
fi
|
|
1403 |
||
1404 |
if test -n "$ac_init_help"; then |
|
1405 |
case $ac_init_help in |
|
1.1.25
by Sebastien Bacher
Import upstream version 3.6.1 |
1406 |
short | recursive ) echo "Configuration of alacarte 3.6.1:";; |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
1407 |
esac
|
1408 |
cat <<\_ACEOF
|
|
1409 |
||
1410 |
Optional Features:
|
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
1411 |
--disable-option-checking ignore unrecognized --enable/--with options
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
1412 |
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
|
1413 |
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
|
|
1.1.25
by Sebastien Bacher
Import upstream version 3.6.1 |
1414 |
--enable-silent-rules less verbose build output (undo: "make V=1")
|
1415 |
--disable-silent-rules verbose build output (undo: "make V=0")
|
|
1416 |
--enable-maintainer-mode
|
|
1417 |
enable make rules and dependencies not useful (and
|
|
1418 |
sometimes confusing) to the casual installer
|
|
1419 |
--enable-dependency-tracking
|
|
1420 |
do not reject slow dependency extractors
|
|
1421 |
--disable-dependency-tracking
|
|
1422 |
speeds up one-time build
|
|
1.1.12
by Sebastien Bacher
Import upstream version 0.11.7 |
1423 |
--disable-nls do not use Native Language Support
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
1424 |
|
1425 |
Some influential environment variables:
|
|
1426 |
CC C compiler command
|
|
1427 |
CFLAGS C compiler flags
|
|
1428 |
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
|
|
1429 |
nonstandard directory <lib dir>
|
|
1.1.9
by Sebastien Bacher
Import upstream version 0.11.4 |
1430 |
LIBS libraries to pass to the linker, e.g. -l<library>
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
1431 |
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
1432 |
you have headers in a nonstandard directory <include dir>
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
1433 |
CPP C preprocessor
|
1434 |
PKG_CONFIG path to pkg-config utility
|
|
1.1.20
by Didier Roche
Import upstream version 0.13.2 |
1435 |
PKG_CONFIG_PATH
|
1436 |
directories to add to pkg-config's search path
|
|
1437 |
PKG_CONFIG_LIBDIR
|
|
1438 |
path overriding pkg-config's built-in search path
|
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
1439 |
ALACARTE_CFLAGS
|
1440 |
C compiler flags for ALACARTE, overriding pkg-config
|
|
1441 |
ALACARTE_LIBS
|
|
1442 |
linker flags for ALACARTE, overriding pkg-config
|
|
1443 |
||
1444 |
Use these variables to override the choices made by `configure' or to help
|
|
1445 |
it to find libraries and programs with nonstandard names/locations.
|
|
1446 |
||
1.1.2
by Sebastien Bacher
Import upstream version 0.9.90 |
1447 |
Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=alacarte>.
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
1448 |
_ACEOF
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
1449 |
ac_status=$? |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
1450 |
fi
|
1451 |
||
1452 |
if test "$ac_init_help" = "recursive"; then |
|
1453 |
# If there are subdirs, report their specific --help.
|
|
1454 |
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
1455 |
test -d "$ac_dir" || |
1456 |
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || |
|
1457 |
continue
|
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
1458 |
ac_builddir=. |
1459 |
||
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
1460 |
case "$ac_dir" in |
1461 |
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
|
1462 |
*)
|
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
1463 |
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
1464 |
# A ".." for each directory in $ac_dir_suffix.
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
1465 |
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
1466 |
case $ac_top_builddir_sub in |
1467 |
"") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
|
1468 |
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
|
1469 |
esac ;; |
|
1470 |
esac
|
|
1471 |
ac_abs_top_builddir=$ac_pwd |
|
1472 |
ac_abs_builddir=$ac_pwd$ac_dir_suffix |
|
1473 |
# for backward compatibility:
|
|
1474 |
ac_top_builddir=$ac_top_build_prefix |
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
1475 |
|
1476 |
case $srcdir in |
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
1477 |
.) # We are building in place. |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
1478 |
ac_srcdir=. |
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
1479 |
ac_top_srcdir=$ac_top_builddir_sub |
1480 |
ac_abs_top_srcdir=$ac_pwd ;; |
|
1481 |
[\\/]* | ?:[\\/]* ) # Absolute name. |
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
1482 |
ac_srcdir=$srcdir$ac_dir_suffix; |
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
1483 |
ac_top_srcdir=$srcdir |
1484 |
ac_abs_top_srcdir=$srcdir ;; |
|
1485 |
*) # Relative name. |
|
1486 |
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
|
1487 |
ac_top_srcdir=$ac_top_build_prefix$srcdir |
|
1488 |
ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
|
1489 |
esac
|
|
1490 |
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
|
1491 |
||
1492 |
cd "$ac_dir" || { ac_status=$?; continue; } |
|
1493 |
# Check for guested configure.
|
|
1494 |
if test -f "$ac_srcdir/configure.gnu"; then |
|
1495 |
echo && |
|
1496 |
$SHELL "$ac_srcdir/configure.gnu" --help=recursive |
|
1497 |
elif test -f "$ac_srcdir/configure"; then |
|
1498 |
echo && |
|
1499 |
$SHELL "$ac_srcdir/configure" --help=recursive |
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
1500 |
else
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
1501 |
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
1502 |
fi || ac_status=$? |
1503 |
cd "$ac_pwd" || { ac_status=$?; break; } |
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
1504 |
done
|
1505 |
fi
|
|
1506 |
||
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
1507 |
test -n "$ac_init_help" && exit $ac_status |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
1508 |
if $ac_init_version; then |
1509 |
cat <<\_ACEOF
|
|
1.1.25
by Sebastien Bacher
Import upstream version 3.6.1 |
1510 |
alacarte configure 3.6.1
|
1511 |
generated by GNU Autoconf 2.69
|
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
1512 |
|
1.1.25
by Sebastien Bacher
Import upstream version 3.6.1 |
1513 |
Copyright (C) 2012 Free Software Foundation, Inc.
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
1514 |
This configure script is free software; the Free Software Foundation
|
1515 |
gives unlimited permission to copy, distribute and modify it.
|
|
1516 |
_ACEOF
|
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
1517 |
exit
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
1518 |
fi
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
1519 |
|
1520 |
## ------------------------ ##
|
|
1521 |
## Autoconf initialization. ##
|
|
1522 |
## ------------------------ ##
|
|
1523 |
||
1524 |
# ac_fn_c_try_compile LINENO
|
|
1525 |
# --------------------------
|
|
1526 |
# Try to compile conftest.$ac_ext, and return whether this succeeded.
|
|
1527 |
ac_fn_c_try_compile ()
|
|
1528 |
{
|
|
1529 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
1530 |
rm -f conftest.$ac_objext
|
|
1531 |
if { { ac_try="$ac_compile" |
|
1532 |
case "(($ac_try" in |
|
1533 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
1534 |
*) ac_try_echo=$ac_try;; |
|
1535 |
esac
|
|
1536 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
1537 |
$as_echo "$ac_try_echo"; } >&5 |
|
1538 |
(eval "$ac_compile") 2>conftest.err |
|
1539 |
ac_status=$? |
|
1540 |
if test -s conftest.err; then |
|
1541 |
grep -v '^ *+' conftest.err >conftest.er1
|
|
1542 |
cat conftest.er1 >&5 |
|
1543 |
mv -f conftest.er1 conftest.err |
|
1544 |
fi
|
|
1545 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
1546 |
test $ac_status = 0; } && { |
|
1547 |
test -z "$ac_c_werror_flag" || |
|
1548 |
test ! -s conftest.err
|
|
1549 |
} && test -s conftest.$ac_objext; then : |
|
1550 |
ac_retval=0 |
|
1551 |
else
|
|
1552 |
$as_echo "$as_me: failed program was:" >&5 |
|
1553 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
1554 |
||
1555 |
ac_retval=1 |
|
1556 |
fi
|
|
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
1557 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
1558 |
as_fn_set_status $ac_retval
|
1559 |
||
1560 |
} # ac_fn_c_try_compile |
|
1561 |
||
1562 |
# ac_fn_c_try_cpp LINENO
|
|
1563 |
# ----------------------
|
|
1564 |
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
|
|
1565 |
ac_fn_c_try_cpp ()
|
|
1566 |
{
|
|
1567 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
1568 |
if { { ac_try="$ac_cpp conftest.$ac_ext" |
|
1569 |
case "(($ac_try" in |
|
1570 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
1571 |
*) ac_try_echo=$ac_try;; |
|
1572 |
esac
|
|
1573 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
1574 |
$as_echo "$ac_try_echo"; } >&5 |
|
1575 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err |
|
1576 |
ac_status=$? |
|
1577 |
if test -s conftest.err; then |
|
1578 |
grep -v '^ *+' conftest.err >conftest.er1
|
|
1579 |
cat conftest.er1 >&5 |
|
1580 |
mv -f conftest.er1 conftest.err |
|
1581 |
fi
|
|
1582 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
1583 |
test $ac_status = 0; } > conftest.i && { |
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
1584 |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
1585 |
test ! -s conftest.err
|
|
1586 |
}; then : |
|
1587 |
ac_retval=0 |
|
1588 |
else
|
|
1589 |
$as_echo "$as_me: failed program was:" >&5 |
|
1590 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
1591 |
||
1592 |
ac_retval=1 |
|
1593 |
fi
|
|
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
1594 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
1595 |
as_fn_set_status $ac_retval
|
1596 |
||
1597 |
} # ac_fn_c_try_cpp |
|
1598 |
||
1599 |
# ac_fn_c_try_run LINENO
|
|
1600 |
# ----------------------
|
|
1601 |
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
|
|
1602 |
# that executables *can* be run.
|
|
1603 |
ac_fn_c_try_run ()
|
|
1604 |
{
|
|
1605 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
1606 |
if { { ac_try="$ac_link" |
|
1607 |
case "(($ac_try" in |
|
1608 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
1609 |
*) ac_try_echo=$ac_try;; |
|
1610 |
esac
|
|
1611 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
1612 |
$as_echo "$ac_try_echo"; } >&5 |
|
1613 |
(eval "$ac_link") 2>&5 |
|
1614 |
ac_status=$? |
|
1615 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
1616 |
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' |
|
1617 |
{ { case "(($ac_try" in |
|
1618 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
1619 |
*) ac_try_echo=$ac_try;; |
|
1620 |
esac
|
|
1621 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
1622 |
$as_echo "$ac_try_echo"; } >&5 |
|
1623 |
(eval "$ac_try") 2>&5 |
|
1624 |
ac_status=$? |
|
1625 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
1626 |
test $ac_status = 0; }; }; then : |
|
1627 |
ac_retval=0 |
|
1628 |
else
|
|
1629 |
$as_echo "$as_me: program exited with status $ac_status" >&5 |
|
1630 |
$as_echo "$as_me: failed program was:" >&5 |
|
1631 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
1632 |
||
1633 |
ac_retval=$ac_status |
|
1634 |
fi
|
|
1635 |
rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
|
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
1636 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
1637 |
as_fn_set_status $ac_retval
|
1638 |
||
1639 |
} # ac_fn_c_try_run |
|
1640 |
||
1641 |
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
|
|
1642 |
# -------------------------------------------------------
|
|
1643 |
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
|
|
1644 |
# the include files in INCLUDES and setting the cache variable VAR
|
|
1645 |
# accordingly.
|
|
1646 |
ac_fn_c_check_header_mongrel ()
|
|
1647 |
{
|
|
1648 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
1649 |
if eval \${$3+:} false; then : |
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
1650 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1651 |
$as_echo_n "checking for $2... " >&6; } |
|
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
1652 |
if eval \${$3+:} false; then : |
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
1653 |
$as_echo_n "(cached) " >&6 |
1654 |
fi
|
|
1655 |
eval ac_res=\$$3 |
|
1656 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
|
1657 |
$as_echo "$ac_res" >&6; } |
|
1658 |
else
|
|
1659 |
# Is the header compilable?
|
|
1660 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 |
|
1661 |
$as_echo_n "checking $2 usability... " >&6; } |
|
1662 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
1663 |
/* end confdefs.h. */
|
|
1664 |
$4
|
|
1665 |
#include <$2>
|
|
1666 |
_ACEOF
|
|
1667 |
if ac_fn_c_try_compile "$LINENO"; then : |
|
1668 |
ac_header_compiler=yes |
|
1669 |
else
|
|
1670 |
ac_header_compiler=no |
|
1671 |
fi
|
|
1672 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
1673 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 |
|
1674 |
$as_echo "$ac_header_compiler" >&6; } |
|
1675 |
||
1676 |
# Is the header present?
|
|
1677 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 |
|
1678 |
$as_echo_n "checking $2 presence... " >&6; } |
|
1679 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
1680 |
/* end confdefs.h. */
|
|
1681 |
#include <$2>
|
|
1682 |
_ACEOF
|
|
1683 |
if ac_fn_c_try_cpp "$LINENO"; then : |
|
1684 |
ac_header_preproc=yes |
|
1685 |
else
|
|
1686 |
ac_header_preproc=no |
|
1687 |
fi
|
|
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
1688 |
rm -f conftest.err conftest.i conftest.$ac_ext
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
1689 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 |
1690 |
$as_echo "$ac_header_preproc" >&6; } |
|
1691 |
||
1692 |
# So? What about this header?
|
|
1693 |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( |
|
1694 |
yes:no: )
|
|
1695 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 |
|
1696 |
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} |
|
1697 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
|
1698 |
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
|
1699 |
;;
|
|
1700 |
no:yes:* )
|
|
1701 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 |
|
1702 |
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} |
|
1703 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 |
|
1704 |
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} |
|
1705 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 |
|
1706 |
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} |
|
1707 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 |
|
1708 |
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} |
|
1709 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
|
1710 |
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
|
1.1.20
by Didier Roche
Import upstream version 0.13.2 |
1711 |
( $as_echo "## ----------------------------------------------------------------------- ## |
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
1712 |
## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=alacarte ##
|
1.1.20
by Didier Roche
Import upstream version 0.13.2 |
1713 |
## ----------------------------------------------------------------------- ##"
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
1714 |
) | sed "s/^/$as_me: WARNING: /" >&2 |
1715 |
;;
|
|
1716 |
esac
|
|
1717 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
|
1718 |
$as_echo_n "checking for $2... " >&6; } |
|
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
1719 |
if eval \${$3+:} false; then : |
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
1720 |
$as_echo_n "(cached) " >&6 |
1721 |
else
|
|
1722 |
eval "$3=\$ac_header_compiler" |
|
1723 |
fi
|
|
1724 |
eval ac_res=\$$3 |
|
1725 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
|
1726 |
$as_echo "$ac_res" >&6; } |
|
1727 |
fi
|
|
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
1728 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
1729 |
|
1730 |
} # ac_fn_c_check_header_mongrel |
|
1731 |
||
1732 |
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
|
|
1733 |
# -------------------------------------------------------
|
|
1734 |
# Tests whether HEADER exists and can be compiled using the include files in
|
|
1735 |
# INCLUDES, setting the cache variable VAR accordingly.
|
|
1736 |
ac_fn_c_check_header_compile ()
|
|
1737 |
{
|
|
1738 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
1739 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
|
1740 |
$as_echo_n "checking for $2... " >&6; } |
|
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
1741 |
if eval \${$3+:} false; then : |
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
1742 |
$as_echo_n "(cached) " >&6 |
1743 |
else
|
|
1744 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
1745 |
/* end confdefs.h. */
|
|
1746 |
$4
|
|
1747 |
#include <$2>
|
|
1748 |
_ACEOF
|
|
1749 |
if ac_fn_c_try_compile "$LINENO"; then : |
|
1750 |
eval "$3=yes" |
|
1751 |
else
|
|
1752 |
eval "$3=no" |
|
1753 |
fi
|
|
1754 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
1755 |
fi
|
|
1756 |
eval ac_res=\$$3 |
|
1757 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
|
1758 |
$as_echo "$ac_res" >&6; } |
|
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
1759 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
1760 |
|
1761 |
} # ac_fn_c_check_header_compile |
|
1762 |
||
1763 |
# ac_fn_c_try_link LINENO
|
|
1764 |
# -----------------------
|
|
1765 |
# Try to link conftest.$ac_ext, and return whether this succeeded.
|
|
1766 |
ac_fn_c_try_link ()
|
|
1767 |
{
|
|
1768 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
1769 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
1770 |
if { { ac_try="$ac_link" |
|
1771 |
case "(($ac_try" in |
|
1772 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
1773 |
*) ac_try_echo=$ac_try;; |
|
1774 |
esac
|
|
1775 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
1776 |
$as_echo "$ac_try_echo"; } >&5 |
|
1777 |
(eval "$ac_link") 2>conftest.err |
|
1778 |
ac_status=$? |
|
1779 |
if test -s conftest.err; then |
|
1780 |
grep -v '^ *+' conftest.err >conftest.er1
|
|
1781 |
cat conftest.er1 >&5 |
|
1782 |
mv -f conftest.er1 conftest.err |
|
1783 |
fi
|
|
1784 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
1785 |
test $ac_status = 0; } && { |
|
1786 |
test -z "$ac_c_werror_flag" || |
|
1787 |
test ! -s conftest.err
|
|
1788 |
} && test -s conftest$ac_exeext && { |
|
1789 |
test "$cross_compiling" = yes || |
|
1.1.25
by Sebastien Bacher
Import upstream version 3.6.1 |
1790 |
test -x conftest$ac_exeext |
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
1791 |
}; then : |
1792 |
ac_retval=0 |
|
1793 |
else
|
|
1794 |
$as_echo "$as_me: failed program was:" >&5 |
|
1795 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
1796 |
||
1797 |
ac_retval=1 |
|
1798 |
fi
|
|
1799 |
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
|
|
1800 |
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
|
|
1801 |
# interfere with the next link command; also delete a directory that is
|
|
1802 |
# left behind by Apple's compiler. We do this before executing the actions.
|
|
1803 |
rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
|
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
1804 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
1805 |
as_fn_set_status $ac_retval
|
1806 |
||
1807 |
} # ac_fn_c_try_link |
|
1808 |
||
1809 |
# ac_fn_c_check_func LINENO FUNC VAR
|
|
1810 |
# ----------------------------------
|
|
1811 |
# Tests whether FUNC exists, setting the cache variable VAR accordingly
|
|
1812 |
ac_fn_c_check_func ()
|
|
1813 |
{
|
|
1814 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
1815 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
|
1816 |
$as_echo_n "checking for $2... " >&6; } |
|
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
1817 |
if eval \${$3+:} false; then : |
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
1818 |
$as_echo_n "(cached) " >&6 |
1819 |
else
|
|
1820 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
1821 |
/* end confdefs.h. */
|
|
1822 |
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
|
|
1823 |
For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
|
1824 |
#define $2 innocuous_$2
|
|
1825 |
||
1826 |
/* System header to define __stub macros and hopefully few prototypes,
|
|
1827 |
which can conflict with char $2 (); below.
|
|
1828 |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
|
1829 |
<limits.h> exists even on freestanding compilers. */
|
|
1830 |
||
1831 |
#ifdef __STDC__
|
|
1832 |
# include <limits.h>
|
|
1833 |
#else
|
|
1834 |
# include <assert.h>
|
|
1835 |
#endif
|
|
1836 |
||
1837 |
#undef $2
|
|
1838 |
||
1839 |
/* Override any GCC internal prototype to avoid an error.
|
|
1840 |
Use char because int might match the return type of a GCC
|
|
1841 |
builtin and then its argument prototype would still apply. */
|
|
1842 |
#ifdef __cplusplus
|
|
1843 |
extern "C"
|
|
1844 |
#endif
|
|
1845 |
char $2 ();
|
|
1846 |
/* The GNU C library defines this for functions which it implements
|
|
1847 |
to always fail with ENOSYS. Some functions are actually named
|
|
1848 |
something starting with __ and the normal name is an alias. */
|
|
1849 |
#if defined __stub_$2 || defined __stub___$2
|
|
1850 |
choke me
|
|
1851 |
#endif
|
|
1852 |
||
1853 |
int
|
|
1854 |
main ()
|
|
1855 |
{
|
|
1856 |
return $2 ();
|
|
1857 |
;
|
|
1858 |
return 0;
|
|
1859 |
}
|
|
1860 |
_ACEOF
|
|
1861 |
if ac_fn_c_try_link "$LINENO"; then : |
|
1862 |
eval "$3=yes" |
|
1863 |
else
|
|
1864 |
eval "$3=no" |
|
1865 |
fi
|
|
1866 |
rm -f core conftest.err conftest.$ac_objext \ |
|
1867 |
conftest$ac_exeext conftest.$ac_ext |
|
1868 |
fi
|
|
1869 |
eval ac_res=\$$3 |
|
1870 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
|
1871 |
$as_echo "$ac_res" >&6; } |
|
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
1872 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
1873 |
|
1874 |
} # ac_fn_c_check_func |
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
1875 |
cat >config.log <<_ACEOF
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
1876 |
This file contains any messages produced by compilers while
|
1877 |
running configure, to aid debugging if configure makes a mistake.
|
|
1878 |
||
1.1.25
by Sebastien Bacher
Import upstream version 3.6.1 |
1879 |
It was created by alacarte $as_me 3.6.1, which was
|
1880 |
generated by GNU Autoconf 2.69. Invocation command line was
|
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
1881 |
|
1882 |
$ $0 $@
|
|
1883 |
||
1884 |
_ACEOF
|
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
1885 |
exec 5>>config.log |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
1886 |
{
|
1887 |
cat <<_ASUNAME
|
|
1888 |
## --------- ##
|
|
1889 |
## Platform. ##
|
|
1890 |
## --------- ##
|
|
1891 |
||
1892 |
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
|
|
1893 |
uname -m = `(uname -m) 2>/dev/null || echo unknown`
|
|
1894 |
uname -r = `(uname -r) 2>/dev/null || echo unknown`
|
|
1895 |
uname -s = `(uname -s) 2>/dev/null || echo unknown`
|
|
1896 |
uname -v = `(uname -v) 2>/dev/null || echo unknown`
|
|
1897 |
||
1898 |
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
|
|
1899 |
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
|
|
1900 |
||
1901 |
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
|
|
1902 |
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
|
|
1903 |
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
|
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
1904 |
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
1905 |
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
|
1906 |
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
|
|
1907 |
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
|
|
1908 |
||
1909 |
_ASUNAME
|
|
1910 |
||
1911 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
1912 |
for as_dir in $PATH |
|
1913 |
do
|
|
1914 |
IFS=$as_save_IFS |
|
1915 |
test -z "$as_dir" && as_dir=. |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
1916 |
$as_echo "PATH: $as_dir" |
1917 |
done
|
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
1918 |
IFS=$as_save_IFS |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
1919 |
|
1920 |
} >&5 |
|
1921 |
||
1922 |
cat >&5 <<_ACEOF |
|
1923 |
||
1924 |
||
1925 |
## ----------- ##
|
|
1926 |
## Core tests. ##
|
|
1927 |
## ----------- ##
|
|
1928 |
||
1929 |
_ACEOF
|
|
1930 |
||
1931 |
||
1932 |
# Keep a trace of the command line.
|
|
1933 |
# Strip out --no-create and --no-recursion so they do not pile up.
|
|
1934 |
# Strip out --silent because we don't want to record it for future runs.
|
|
1935 |
# Also quote any args containing shell meta-characters.
|
|
1936 |
# Make two passes to allow for proper duplicate-argument suppression.
|
|
1937 |
ac_configure_args= |
|
1938 |
ac_configure_args0= |
|
1939 |
ac_configure_args1= |
|
1940 |
ac_must_keep_next=false |
|
1941 |
for ac_pass in 1 2 |
|
1942 |
do
|
|
1943 |
for ac_arg
|
|
1944 |
do
|
|
1945 |
case $ac_arg in |
|
1946 |
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
|
1947 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
|
1948 |
| -silent | --silent | --silen | --sile | --sil) |
|
1949 |
continue ;; |
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
1950 |
*\'*) |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
1951 |
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
1952 |
esac
|
1953 |
case $ac_pass in |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
1954 |
1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
1955 |
2) |
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
1956 |
as_fn_append ac_configure_args1 " '$ac_arg'" |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
1957 |
if test $ac_must_keep_next = true; then |
1958 |
ac_must_keep_next=false # Got value, back to normal. |
|
1959 |
else
|
|
1960 |
case $ac_arg in |
|
1961 |
*=* | --config-cache | -C | -disable-* | --disable-* \ |
|
1962 |
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
|
1963 |
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
|
1964 |
| -with-* | --with-* | -without-* | --without-* | --x) |
|
1965 |
case "$ac_configure_args0 " in |
|
1966 |
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
|
1967 |
esac
|
|
1968 |
;;
|
|
1969 |
-* ) ac_must_keep_next=true ;; |
|
1970 |
esac
|
|
1971 |
fi
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
1972 |
as_fn_append ac_configure_args " '$ac_arg'" |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
1973 |
;;
|
1974 |
esac
|
|
1975 |
done
|
|
1976 |
done
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
1977 |
{ ac_configure_args0=; unset ac_configure_args0;} |
1978 |
{ ac_configure_args1=; unset ac_configure_args1;} |
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
1979 |
|
1980 |
# When interrupted or exit'd, cleanup temporary files, and complete
|
|
1981 |
# config.log. We remove comments because anyway the quotes in there
|
|
1982 |
# would cause problems or look ugly.
|
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
1983 |
# WARNING: Use '\'' to represent an apostrophe within the trap.
|
1984 |
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
|
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
1985 |
trap 'exit_status=$? |
1986 |
# Save into config.log some information that might help in debugging.
|
|
1987 |
{
|
|
1988 |
echo
|
|
1989 |
||
1.1.20
by Didier Roche
Import upstream version 0.13.2 |
1990 |
$as_echo "## ---------------- ##
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
1991 |
## Cache variables. ##
|
1.1.20
by Didier Roche
Import upstream version 0.13.2 |
1992 |
## ---------------- ##"
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
1993 |
echo
|
1994 |
# The following way of writing the cache mishandles newlines in values,
|
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
1995 |
(
|
1996 |
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do |
|
1997 |
eval ac_val=\$$ac_var
|
|
1998 |
case $ac_val in #(
|
|
1999 |
*${as_nl}*)
|
|
2000 |
case $ac_var in #(
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
2001 |
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
|
1.1.16
by Andreas Moog
Import upstream version 0.12.1 |
2002 |
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
2003 |
esac
|
2004 |
case $ac_var in #(
|
|
2005 |
_ | IFS | as_nl) ;; #(
|
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
2006 |
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
2007 |
*) { eval $ac_var=; unset $ac_var;} ;;
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
2008 |
esac ;;
|
2009 |
esac
|
|
2010 |
done
|
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
2011 |
(set) 2>&1 |
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
2012 |
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( |
2013 |
*${as_nl}ac_space=\ *)
|
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
2014 |
sed -n \
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
2015 |
"s/'\''/'\''\\\\'\'''\''/g; |
2016 |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" |
|
2017 |
;; #(
|
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
2018 |
*)
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
2019 |
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
2020 |
;;
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
2021 |
esac |
|
2022 |
sort
|
|
2023 |
)
|
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
2024 |
echo
|
2025 |
||
1.1.20
by Didier Roche
Import upstream version 0.13.2 |
2026 |
$as_echo "## ----------------- ##
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
2027 |
## Output variables. ##
|
1.1.20
by Didier Roche
Import upstream version 0.13.2 |
2028 |
## ----------------- ##"
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
2029 |
echo
|
2030 |
for ac_var in $ac_subst_vars
|
|
2031 |
do
|
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
2032 |
eval ac_val=\$$ac_var
|
2033 |
case $ac_val in
|
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
2034 |
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
2035 |
esac
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
2036 |
$as_echo "$ac_var='\''$ac_val'\''" |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
2037 |
done | sort
|
2038 |
echo
|
|
2039 |
||
2040 |
if test -n "$ac_subst_files"; then
|
|
1.1.20
by Didier Roche
Import upstream version 0.13.2 |
2041 |
$as_echo "## ------------------- ##
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
2042 |
## File substitutions. ##
|
1.1.20
by Didier Roche
Import upstream version 0.13.2 |
2043 |
## ------------------- ##"
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
2044 |
echo
|
2045 |
for ac_var in $ac_subst_files
|
|
2046 |
do
|
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
2047 |
eval ac_val=\$$ac_var
|
2048 |
case $ac_val in
|
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
2049 |
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
2050 |
esac
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
2051 |
$as_echo "$ac_var='\''$ac_val'\''" |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
2052 |
done | sort
|
2053 |
echo
|
|
2054 |
fi
|
|
2055 |
||
2056 |
if test -s confdefs.h; then
|
|
1.1.20
by Didier Roche
Import upstream version 0.13.2 |
2057 |
$as_echo "## ----------- ##
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
2058 |
## confdefs.h. ##
|
1.1.20
by Didier Roche
Import upstream version 0.13.2 |
2059 |
## ----------- ##"
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
2060 |
echo
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
2061 |
cat confdefs.h
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
2062 |
echo
|
2063 |
fi
|
|
2064 |
test "$ac_signal" != 0 &&
|
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
2065 |
$as_echo "$as_me: caught signal $ac_signal"
|
2066 |
$as_echo "$as_me: exit $exit_status"
|
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
2067 |
} >&5
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
2068 |
rm -f core *.core core.conftest.* &&
|
2069 |
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
|
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
2070 |
exit $exit_status
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
2071 |
' 0 |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
2072 |
for ac_signal in 1 2 13 15; do |
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
2073 |
trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
2074 |
done
|
2075 |
ac_signal=0 |
|
2076 |
||
2077 |
# confdefs.h avoids OS command line length limits that DEFS can exceed.
|
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
2078 |
rm -f -r conftest* confdefs.h |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
2079 |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
2080 |
$as_echo "/* confdefs.h */" > confdefs.h |
2081 |
||
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
2082 |
# Predefined preprocessor variables.
|
2083 |
||
2084 |
cat >>confdefs.h <<_ACEOF
|
|
2085 |
#define PACKAGE_NAME "$PACKAGE_NAME"
|
|
2086 |
_ACEOF
|
|
2087 |
||
2088 |
cat >>confdefs.h <<_ACEOF
|
|
2089 |
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
|
|
2090 |
_ACEOF
|
|
2091 |
||
2092 |
cat >>confdefs.h <<_ACEOF
|
|
2093 |
#define PACKAGE_VERSION "$PACKAGE_VERSION"
|
|
2094 |
_ACEOF
|
|
2095 |
||
2096 |
cat >>confdefs.h <<_ACEOF
|
|
2097 |
#define PACKAGE_STRING "$PACKAGE_STRING"
|
|
2098 |
_ACEOF
|
|
2099 |
||
2100 |
cat >>confdefs.h <<_ACEOF
|
|
2101 |
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
|
|
2102 |
_ACEOF
|
|
2103 |
||
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
2104 |
cat >>confdefs.h <<_ACEOF
|
2105 |
#define PACKAGE_URL "$PACKAGE_URL"
|
|
2106 |
_ACEOF
|
|
2107 |
||
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
2108 |
|
2109 |
# Let the site file select an alternate cache file if it wants to.
|
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
2110 |
# Prefer an explicitly selected file to automatically selected ones.
|
2111 |
ac_site_file1=NONE |
|
2112 |
ac_site_file2=NONE |
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
2113 |
if test -n "$CONFIG_SITE"; then |
1.1.20
by Didier Roche
Import upstream version 0.13.2 |
2114 |
# We do not want a PATH search for config.site.
|
2115 |
case $CONFIG_SITE in #(( |
|
2116 |
-*) ac_site_file1=./$CONFIG_SITE;; |
|
2117 |
*/*) ac_site_file1=$CONFIG_SITE;; |
|
2118 |
*) ac_site_file1=./$CONFIG_SITE;; |
|
2119 |
esac
|
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
2120 |
elif test "x$prefix" != xNONE; then |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
2121 |
ac_site_file1=$prefix/share/config.site |
2122 |
ac_site_file2=$prefix/etc/config.site |
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
2123 |
else
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
2124 |
ac_site_file1=$ac_default_prefix/share/config.site |
2125 |
ac_site_file2=$ac_default_prefix/etc/config.site |
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
2126 |
fi
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
2127 |
for ac_site_file in "$ac_site_file1" "$ac_site_file2" |
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
2128 |
do
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
2129 |
test "x$ac_site_file" = xNONE && continue |
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
2130 |
if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then |
2131 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 |
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
2132 |
$as_echo "$as_me: loading site script $ac_site_file" >&6;} |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
2133 |
sed 's/^/| /' "$ac_site_file" >&5 |
1.1.20
by Didier Roche
Import upstream version 0.13.2 |
2134 |
. "$ac_site_file" \ |
2135 |
|| { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
2136 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
2137 |
as_fn_error $? "failed to load site script $ac_site_file |
|
2138 |
See \`config.log' for more details" "$LINENO" 5; } |
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
2139 |
fi
|
2140 |
done
|
|
2141 |
||
2142 |
if test -r "$cache_file"; then |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
2143 |
# Some versions of bash will fail to source /dev/null (special files
|
2144 |
# actually), so we avoid doing that. DJGPP emulates it as a regular file.
|
|
2145 |
if test /dev/null != "$cache_file" && test -f "$cache_file"; then |
|
2146 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 |
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
2147 |
$as_echo "$as_me: loading cache $cache_file" >&6;} |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
2148 |
case $cache_file in |
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
2149 |
[\\/]* | ?:[\\/]* ) . "$cache_file";; |
2150 |
*) . "./$cache_file";; |
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
2151 |
esac
|
2152 |
fi
|
|
2153 |
else
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
2154 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
2155 |
$as_echo "$as_me: creating cache $cache_file" >&6;} |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
2156 |
>$cache_file
|
2157 |
fi
|
|
2158 |
||
2159 |
# Check that the precious variables saved in the cache have kept the same
|
|
2160 |
# value.
|
|
2161 |
ac_cache_corrupted=false |
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
2162 |
for ac_var in $ac_precious_vars; do |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
2163 |
eval ac_old_set=\$ac_cv_env_${ac_var}_set |
2164 |
eval ac_new_set=\$ac_env_${ac_var}_set |
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
2165 |
eval ac_old_val=\$ac_cv_env_${ac_var}_value |
2166 |
eval ac_new_val=\$ac_env_${ac_var}_value |
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
2167 |
case $ac_old_set,$ac_new_set in |
2168 |
set,)
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
2169 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
2170 |
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
2171 |
ac_cache_corrupted=: ;; |
2172 |
,set)
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
2173 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
2174 |
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
2175 |
ac_cache_corrupted=: ;; |
2176 |
,);; |
|
2177 |
*)
|
|
2178 |
if test "x$ac_old_val" != "x$ac_new_val"; then |
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
2179 |
# differences in whitespace do not lead to failure.
|
2180 |
ac_old_val_w=`echo x $ac_old_val` |
|
2181 |
ac_new_val_w=`echo x $ac_new_val` |
|
2182 |
if test "$ac_old_val_w" != "$ac_new_val_w"; then |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
2183 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
2184 |
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
2185 |
ac_cache_corrupted=: |
|
2186 |
else
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
2187 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
2188 |
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} |
2189 |
eval $ac_var=\$ac_old_val |
|
2190 |
fi
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
2191 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
2192 |
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} |
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
2193 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
2194 |
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
2195 |
fi;; |
2196 |
esac
|
|
2197 |
# Pass precious variables to config.status.
|
|
2198 |
if test "$ac_new_set" = set; then |
|
2199 |
case $ac_new_val in |
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
2200 |
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
2201 |
*) ac_arg=$ac_var=$ac_new_val ;; |
2202 |
esac
|
|
2203 |
case " $ac_configure_args " in |
|
2204 |
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
2205 |
*) as_fn_append ac_configure_args " '$ac_arg'" ;; |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
2206 |
esac
|
2207 |
fi
|
|
2208 |
done
|
|
2209 |
if $ac_cache_corrupted; then |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
2210 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
1.1.16
by Andreas Moog
Import upstream version 0.12.1 |
2211 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
2212 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
2213 |
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
1.1.20
by Didier Roche
Import upstream version 0.13.2 |
2214 |
as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
2215 |
fi
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
2216 |
## -------------------- ##
|
2217 |
## Main body of script. ##
|
|
2218 |
## -------------------- ##
|
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
2219 |
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
2220 |
ac_ext=c |
2221 |
ac_cpp='$CPP $CPPFLAGS' |
|
2222 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
2223 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
2224 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
2225 |
||
2226 |
||
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
2227 |
# Check whether --enable-silent-rules was given.
|
2228 |
if test "${enable_silent_rules+set}" = set; then : |
|
2229 |
enableval=$enable_silent_rules; |
|
2230 |
fi
|
|
2231 |
||
1.1.25
by Sebastien Bacher
Import upstream version 3.6.1 |
2232 |
case $enable_silent_rules in # ((( |
2233 |
yes) AM_DEFAULT_VERBOSITY=0;; |
|
2234 |
no) AM_DEFAULT_VERBOSITY=1;; |
|
2235 |
*) AM_DEFAULT_VERBOSITY=0;; |
|
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
2236 |
esac
|
2237 |
am_make=${MAKE-make} |
|
2238 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 |
|
2239 |
$as_echo_n "checking whether $am_make supports nested variables... " >&6; } |
|
2240 |
if ${am_cv_make_support_nested_variables+:} false; then : |
|
2241 |
$as_echo_n "(cached) " >&6 |
|
2242 |
else
|
|
2243 |
if $as_echo 'TRUE=$(BAR$(V)) |
|
2244 |
BAR0=false
|
|
2245 |
BAR1=true
|
|
2246 |
V=1
|
|
2247 |
am__doit:
|
|
2248 |
@$(TRUE)
|
|
2249 |
.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then |
|
2250 |
am_cv_make_support_nested_variables=yes |
|
2251 |
else
|
|
2252 |
am_cv_make_support_nested_variables=no |
|
2253 |
fi
|
|
2254 |
fi
|
|
2255 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 |
|
2256 |
$as_echo "$am_cv_make_support_nested_variables" >&6; } |
|
2257 |
if test $am_cv_make_support_nested_variables = yes; then |
|
2258 |
AM_V='$(V)' |
|
2259 |
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' |
|
2260 |
else
|
|
2261 |
AM_V=$AM_DEFAULT_VERBOSITY |
|
2262 |
AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY |
|
2263 |
fi
|
|
2264 |
AM_BACKSLASH='\' |
|
2265 |
||
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
2266 |
|
1.1.17
by Sebastien Bacher
Import upstream version 0.12.3 |
2267 |
ac_config_headers="$ac_config_headers config.h" |
2268 |
||
1.1.25
by Sebastien Bacher
Import upstream version 3.6.1 |
2269 |
am__api_version='1.12' |
1.1.9
by Sebastien Bacher
Import upstream version 0.11.4 |
2270 |
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
2271 |
ac_aux_dir= |
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
2272 |
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
1.1.20
by Didier Roche
Import upstream version 0.13.2 |
2273 |
if test -f "$ac_dir/install-sh"; then |
2274 |
ac_aux_dir=$ac_dir |
|
2275 |
ac_install_sh="$ac_aux_dir/install-sh -c" |
|
2276 |
break
|
|
2277 |
elif test -f "$ac_dir/install.sh"; then |
|
2278 |
ac_aux_dir=$ac_dir |
|
2279 |
ac_install_sh="$ac_aux_dir/install.sh -c" |
|
2280 |
break
|
|
2281 |
elif test -f "$ac_dir/shtool"; then |
|
2282 |
ac_aux_dir=$ac_dir |
|
2283 |
ac_install_sh="$ac_aux_dir/shtool install -c" |
|
2284 |
break
|
|
2285 |
fi
|
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
2286 |
done
|
2287 |
if test -z "$ac_aux_dir"; then |
|
1.1.20
by Didier Roche
Import upstream version 0.13.2 |
2288 |
as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
2289 |
fi
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
2290 |
|
2291 |
# These three variables are undocumented and unsupported,
|
|
2292 |
# and are intended to be withdrawn in a future Autoconf release.
|
|
2293 |
# They can cause serious problems if a builder's source tree is in a directory
|
|
2294 |
# whose full name contains unusual characters.
|
|
2295 |
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. |
|
2296 |
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. |
|
2297 |
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. |
|
2298 |
||
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
2299 |
|
2300 |
# Find a good install program. We prefer a C program (faster),
|
|
2301 |
# so one script is as good as another. But avoid the broken or
|
|
2302 |
# incompatible versions:
|
|
2303 |
# SysV /etc/install, /usr/sbin/install
|
|
2304 |
# SunOS /usr/etc/install
|
|
2305 |
# IRIX /sbin/install
|
|
2306 |
# AIX /bin/install
|
|
2307 |
# AmigaOS /C/install, which installs bootblocks on floppy discs
|
|
2308 |
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
|
|
2309 |
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
|
|
2310 |
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
|
|
2311 |
# OS/2's system install, which has a completely different semantic
|
|
2312 |
# ./install, which can be erroneously created by make from ./install.sh.
|
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
2313 |
# Reject install programs that cannot install multiple files.
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
2314 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
2315 |
$as_echo_n "checking for a BSD-compatible install... " >&6; } |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
2316 |
if test -z "$INSTALL"; then |
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
2317 |
if ${ac_cv_path_install+:} false; then : |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
2318 |
$as_echo_n "(cached) " >&6 |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
2319 |
else
|
2320 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2321 |
for as_dir in $PATH |
|
2322 |
do
|
|
2323 |
IFS=$as_save_IFS |
|
2324 |
test -z "$as_dir" && as_dir=. |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
2325 |
# Account for people who put trailing slashes in PATH elements.
|
2326 |
case $as_dir/ in #(( |
|
2327 |
./ | .// | /[cC]/* | \ |
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
2328 |
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
2329 |
?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
2330 |
/usr/ucb/* ) ;; |
2331 |
*)
|
|
2332 |
# OSF1 and SCO ODT 3.0 have their own names for install.
|
|
2333 |
# Don't use installbsd from OSF since it installs stuff as root
|
|
2334 |
# by default.
|
|
2335 |
for ac_prog in ginstall scoinst install; do |
|
2336 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
1.1.25
by Sebastien Bacher
Import upstream version 3.6.1 |
2337 |
if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
2338 |
if test $ac_prog = install && |
2339 |
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
|
2340 |
# AIX install. It has an incompatible calling convention.
|
|
2341 |
: |
|
2342 |
elif test $ac_prog = install && |
|
2343 |
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
|
2344 |
# program-specific install script used by HP pwplus--don't use.
|
|
2345 |
: |
|
2346 |
else
|
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
2347 |
rm -rf conftest.one conftest.two conftest.dir |
2348 |
echo one > conftest.one
|
|
2349 |
echo two > conftest.two
|
|
2350 |
mkdir conftest.dir |
|
2351 |
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && |
|
2352 |
test -s conftest.one && test -s conftest.two && |
|
2353 |
test -s conftest.dir/conftest.one && |
|
2354 |
test -s conftest.dir/conftest.two
|
|
2355 |
then
|
|
2356 |
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
|
2357 |
break 3 |
|
2358 |
fi
|
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
2359 |
fi
|
2360 |
fi
|
|
2361 |
done
|
|
2362 |
done
|
|
2363 |
;;
|
|
2364 |
esac
|
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
2365 |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
2366 |
done
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
2367 |
IFS=$as_save_IFS |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
2368 |
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
2369 |
rm -rf conftest.one conftest.two conftest.dir |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
2370 |
|
2371 |
fi
|
|
2372 |
if test "${ac_cv_path_install+set}" = set; then |
|
2373 |
INSTALL=$ac_cv_path_install |
|
2374 |
else
|
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
2375 |
# As a last resort, use the slow shell script. Don't cache a
|
2376 |
# value for INSTALL within a source directory, because that will
|
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
2377 |
# break other packages using the cache if that directory is
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
2378 |
# removed, or if the value is a relative name.
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
2379 |
INSTALL=$ac_install_sh |
2380 |
fi
|
|
2381 |
fi
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
2382 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
2383 |
$as_echo "$INSTALL" >&6; } |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
2384 |
|
2385 |
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
|
|
2386 |
# It thinks the first close brace ends the variable substitution.
|
|
2387 |
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
|
2388 |
||
2389 |
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
|
2390 |
||
2391 |
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
|
2392 |
||
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
2393 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
2394 |
$as_echo_n "checking whether build environment is sane... " >&6; } |
1.1.17
by Sebastien Bacher
Import upstream version 0.12.3 |
2395 |
# Reject unsafe characters in $srcdir or the absolute working directory
|
2396 |
# name. Accept space and tab only in the latter.
|
|
2397 |
am_lf=' |
|
2398 |
'
|
|
2399 |
case `pwd` in |
|
2400 |
*[\\\"\#\$\&\'\`$am_lf]*) |
|
1.1.20
by Didier Roche
Import upstream version 0.13.2 |
2401 |
as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; |
1.1.17
by Sebastien Bacher
Import upstream version 0.12.3 |
2402 |
esac
|
2403 |
case $srcdir in |
|
2404 |
*[\\\"\#\$\&\'\`$am_lf\ \ ]*) |
|
1.1.25
by Sebastien Bacher
Import upstream version 3.6.1 |
2405 |
as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; |
1.1.17
by Sebastien Bacher
Import upstream version 0.12.3 |
2406 |
esac
|
2407 |
||
1.1.25
by Sebastien Bacher
Import upstream version 3.6.1 |
2408 |
# Do 'set' in a subshell so we don't clobber the current shell's
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
2409 |
# arguments. Must try -L first in case configure is actually a
|
2410 |
# symlink; some systems play weird games with the mod time of symlinks
|
|
2411 |
# (eg FreeBSD returns the mod time of the symlink's containing
|
|
2412 |
# directory).
|
|
2413 |
if ( |
|
1.1.25
by Sebastien Bacher
Import upstream version 3.6.1 |
2414 |
am_has_slept=no |
2415 |
for am_try in 1 2; do |
|
2416 |
echo "timestamp, slept: $am_has_slept" > conftest.file |
|
2417 |
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` |
|
2418 |
if test "$*" = "X"; then |
|
2419 |
# -L didn't work.
|
|
2420 |
set X `ls -t "$srcdir/configure" conftest.file` |
|
2421 |
fi
|
|
2422 |
if test "$*" != "X $srcdir/configure conftest.file" \ |
|
2423 |
&& test "$*" != "X conftest.file $srcdir/configure"; then |
|
2424 |
||
2425 |
# If neither matched, then we have a broken ls. This can happen
|
|
2426 |
# if, for instance, CONFIG_SHELL is bash and it inherits a
|
|
2427 |
# broken ls alias from the environment. This has actually
|
|
2428 |
# happened. Such a system could not be considered "sane".
|
|
2429 |
as_fn_error $? "ls -t appears to fail. Make sure there is not a broken |
|
2430 |
alias in your environment" "$LINENO" 5 |
|
2431 |
fi
|
|
2432 |
if test "$2" = conftest.file || test $am_try -eq 2; then |
|
2433 |
break
|
|
2434 |
fi
|
|
2435 |
# Just in case.
|
|
2436 |
sleep 1
|
|
2437 |
am_has_slept=yes |
|
2438 |
done
|
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
2439 |
test "$2" = conftest.file |
2440 |
)
|
|
2441 |
then
|
|
2442 |
# Ok.
|
|
2443 |
: |
|
2444 |
else
|
|
1.1.20
by Didier Roche
Import upstream version 0.13.2 |
2445 |
as_fn_error $? "newly created file is older than distributed files! |
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
2446 |
Check your system clock" "$LINENO" 5 |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
2447 |
fi
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
2448 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
2449 |
$as_echo "yes" >&6; } |
1.1.25
by Sebastien Bacher
Import upstream version 3.6.1 |
2450 |
# If we didn't sleep, we still need to ensure time stamps of config.status and
|
2451 |
# generated files are strictly newer.
|
|
2452 |
am_sleep_pid= |
|
2453 |
if grep 'slept: no' conftest.file >/dev/null 2>&1; then |
|
2454 |
( sleep 1 ) & |
|
2455 |
am_sleep_pid=$! |
|
2456 |
fi
|
|
2457 |
||
2458 |
rm -f conftest.file |
|
2459 |
||
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
2460 |
test "$program_prefix" != NONE && |
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
2461 |
program_transform_name="s&^&$program_prefix&;$program_transform_name" |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
2462 |
# Use a double $ so make ignores it.
|
2463 |
test "$program_suffix" != NONE && |
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
2464 |
program_transform_name="s&\$&$program_suffix&;$program_transform_name" |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
2465 |
# Double any \ or $.
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
2466 |
# By default was `s,x,x', remove it if useless.
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
2467 |
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' |
2468 |
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` |
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
2469 |
|
2470 |
# expand $ac_aux_dir to an absolute path
|
|
2471 |
am_aux_dir=`cd $ac_aux_dir && pwd` |
|
2472 |
||
1.1.17
by Sebastien Bacher
Import upstream version 0.12.3 |
2473 |
if test x"${MISSING+set}" != xset; then |
2474 |
case $am_aux_dir in |
|
2475 |
*\ * | *\ *) |
|
2476 |
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; |
|
2477 |
*)
|
|
2478 |
MISSING="\${SHELL} $am_aux_dir/missing" ;; |
|
2479 |
esac
|
|
2480 |
fi
|
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
2481 |
# Use eval to expand $SHELL
|
2482 |
if eval "$MISSING --run true"; then |
|
2483 |
am_missing_run="$MISSING --run " |
|
2484 |
else
|
|
2485 |
am_missing_run= |
|
1.1.25
by Sebastien Bacher
Import upstream version 3.6.1 |
2486 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 |
2487 |
$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} |
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
2488 |
fi
|
2489 |
||
1.1.17
by Sebastien Bacher
Import upstream version 0.12.3 |
2490 |
if test x"${install_sh}" != xset; then |
2491 |
case $am_aux_dir in |
|
2492 |
*\ * | *\ *) |
|
2493 |
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; |
|
2494 |
*)
|
|
2495 |
install_sh="\${SHELL} $am_aux_dir/install-sh" |
|
2496 |
esac
|
|
2497 |
fi
|
|
2498 |
||
1.1.25
by Sebastien Bacher
Import upstream version 3.6.1 |
2499 |
# Installed binaries are usually stripped using 'strip' when the user
|
2500 |
# run "make install-strip". However 'strip' might not be the right
|
|
1.1.17
by Sebastien Bacher
Import upstream version 0.12.3 |
2501 |
# tool to use in cross-compilation environments, therefore Automake
|
1.1.25
by Sebastien Bacher
Import upstream version 3.6.1 |
2502 |
# will honor the 'STRIP' environment variable to overrule this program.
|
1.1.17
by Sebastien Bacher
Import upstream version 0.12.3 |
2503 |
if test "$cross_compiling" != no; then |
2504 |
if test -n "$ac_tool_prefix"; then |
|
2505 |
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
|
|
2506 |
set dummy ${ac_tool_prefix}strip; ac_word=$2 |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
2507 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1.1.17
by Sebastien Bacher
Import upstream version 0.12.3 |
2508 |
$as_echo_n "checking for $ac_word... " >&6; } |
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
2509 |
if ${ac_cv_prog_STRIP+:} false; then : |
1.1.17
by Sebastien Bacher
Import upstream version 0.12.3 |
2510 |
$as_echo_n "(cached) " >&6 |
2511 |
else
|
|
2512 |
if test -n "$STRIP"; then |
|
2513 |
ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
|
2514 |
else
|
|
2515 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2516 |
for as_dir in $PATH |
|
2517 |
do
|
|
2518 |
IFS=$as_save_IFS |
|
2519 |
test -z "$as_dir" && as_dir=. |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
2520 |
for ac_exec_ext in '' $ac_executable_extensions; do |
1.1.25
by Sebastien Bacher
Import upstream version 3.6.1 |
2521 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1.1.17
by Sebastien Bacher
Import upstream version 0.12.3 |
2522 |
ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
2523 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1.1.17
by Sebastien Bacher
Import upstream version 0.12.3 |
2524 |
break 2 |
2525 |
fi
|
|
2526 |
done
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
2527 |
done
|
1.1.17
by Sebastien Bacher
Import upstream version 0.12.3 |
2528 |
IFS=$as_save_IFS |
2529 |
||
2530 |
fi
|
|
2531 |
fi
|
|
2532 |
STRIP=$ac_cv_prog_STRIP |
|
2533 |
if test -n "$STRIP"; then |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
2534 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 |
1.1.17
by Sebastien Bacher
Import upstream version 0.12.3 |
2535 |
$as_echo "$STRIP" >&6; } |
2536 |
else
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
2537 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
1.1.17
by Sebastien Bacher
Import upstream version 0.12.3 |
2538 |
$as_echo "no" >&6; } |
2539 |
fi
|
|
2540 |
||
2541 |
||
2542 |
fi
|
|
2543 |
if test -z "$ac_cv_prog_STRIP"; then |
|
2544 |
ac_ct_STRIP=$STRIP |
|
2545 |
# Extract the first word of "strip", so it can be a program name with args.
|
|
2546 |
set dummy strip; ac_word=$2 |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
2547 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1.1.17
by Sebastien Bacher
Import upstream version 0.12.3 |
2548 |
$as_echo_n "checking for $ac_word... " >&6; } |
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
2549 |
if ${ac_cv_prog_ac_ct_STRIP+:} false; then : |
1.1.17
by Sebastien Bacher
Import upstream version 0.12.3 |
2550 |
$as_echo_n "(cached) " >&6 |
2551 |
else
|
|
2552 |
if test -n "$ac_ct_STRIP"; then |
|
2553 |
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
|
2554 |
else
|
|
2555 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2556 |
for as_dir in $PATH |
|
2557 |
do
|
|
2558 |
IFS=$as_save_IFS |
|
2559 |
test -z "$as_dir" && as_dir=. |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
2560 |
for ac_exec_ext in '' $ac_executable_extensions; do |
1.1.25
by Sebastien Bacher
Import upstream version 3.6.1 |
2561 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1.1.17
by Sebastien Bacher
Import upstream version 0.12.3 |
2562 |
ac_cv_prog_ac_ct_STRIP="strip" |
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
2563 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1.1.17
by Sebastien Bacher
Import upstream version 0.12.3 |
2564 |
break 2 |
2565 |
fi
|
|
2566 |
done
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
2567 |
done
|
1.1.17
by Sebastien Bacher
Import upstream version 0.12.3 |
2568 |
IFS=$as_save_IFS |
2569 |
||
2570 |
fi
|
|
2571 |
fi
|
|
2572 |
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
|
2573 |
if test -n "$ac_ct_STRIP"; then |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
2574 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 |
1.1.17
by Sebastien Bacher
Import upstream version 0.12.3 |
2575 |
$as_echo "$ac_ct_STRIP" >&6; } |
2576 |
else
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
2577 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
1.1.17
by Sebastien Bacher
Import upstream version 0.12.3 |
2578 |
$as_echo "no" >&6; } |
2579 |
fi
|
|
2580 |
||
2581 |
if test "x$ac_ct_STRIP" = x; then |
|
2582 |
STRIP=":" |
|
2583 |
else
|
|
2584 |
case $cross_compiling:$ac_tool_warned in |
|
2585 |
yes:)
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
2586 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
1.1.17
by Sebastien Bacher
Import upstream version 0.12.3 |
2587 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
2588 |
ac_tool_warned=yes ;; |
|
2589 |
esac
|
|
2590 |
STRIP=$ac_ct_STRIP |
|
2591 |
fi
|
|
2592 |
else
|
|
2593 |
STRIP="$ac_cv_prog_STRIP" |
|
2594 |
fi
|
|
2595 |
||
2596 |
fi
|
|
2597 |
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" |
|
2598 |
||
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
2599 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
2600 |
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } |
1.1.9
by Sebastien Bacher
Import upstream version 0.11.4 |
2601 |
if test -z "$MKDIR_P"; then |
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
2602 |
if ${ac_cv_path_mkdir+:} false; then : |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
2603 |
$as_echo_n "(cached) " >&6 |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
2604 |
else
|
1.1.9
by Sebastien Bacher
Import upstream version 0.11.4 |
2605 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2606 |
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin |
|
2607 |
do
|
|
2608 |
IFS=$as_save_IFS |
|
2609 |
test -z "$as_dir" && as_dir=. |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
2610 |
for ac_prog in mkdir gmkdir; do |
1.1.9
by Sebastien Bacher
Import upstream version 0.11.4 |
2611 |
for ac_exec_ext in '' $ac_executable_extensions; do |
1.1.25
by Sebastien Bacher
Import upstream version 3.6.1 |
2612 |
as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue |
1.1.9
by Sebastien Bacher
Import upstream version 0.11.4 |
2613 |
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( |
2614 |
'mkdir (GNU coreutils) '* | \ |
|
2615 |
'mkdir (coreutils) '* | \ |
|
2616 |
'mkdir (fileutils) '4.1*) |
|
2617 |
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext |
|
2618 |
break 3;; |
|
2619 |
esac
|
|
2620 |
done
|
|
2621 |
done
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
2622 |
done
|
1.1.9
by Sebastien Bacher
Import upstream version 0.11.4 |
2623 |
IFS=$as_save_IFS |
2624 |
||
2625 |
fi
|
|
2626 |
||
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
2627 |
test -d ./--version && rmdir ./--version |
1.1.9
by Sebastien Bacher
Import upstream version 0.11.4 |
2628 |
if test "${ac_cv_path_mkdir+set}" = set; then |
2629 |
MKDIR_P="$ac_cv_path_mkdir -p" |
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
2630 |
else
|
1.1.9
by Sebastien Bacher
Import upstream version 0.11.4 |
2631 |
# As a last resort, use the slow shell script. Don't cache a
|
2632 |
# value for MKDIR_P within a source directory, because that will
|
|
2633 |
# break other packages using the cache if that directory is
|
|
2634 |
# removed, or if the value is a relative name.
|
|
2635 |
MKDIR_P="$ac_install_sh -d" |
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
2636 |
fi
|
2637 |
fi
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
2638 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
2639 |
$as_echo "$MKDIR_P" >&6; } |
1.1.9
by Sebastien Bacher
Import upstream version 0.11.4 |
2640 |
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
2641 |
for ac_prog in gawk mawk nawk awk
|
2642 |
do
|
|
2643 |
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
|
2644 |
set dummy $ac_prog; ac_word=$2 |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
2645 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
2646 |
$as_echo_n "checking for $ac_word... " >&6; } |
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
2647 |
if ${ac_cv_prog_AWK+:} false; then : |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
2648 |
$as_echo_n "(cached) " >&6 |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
2649 |
else
|
2650 |
if test -n "$AWK"; then |
|
2651 |
ac_cv_prog_AWK="$AWK" # Let the user override the test. |
|
2652 |
else
|
|
2653 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2654 |
for as_dir in $PATH |
|
2655 |
do
|
|
2656 |
IFS=$as_save_IFS |
|
2657 |
test -z "$as_dir" && as_dir=. |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
2658 |
for ac_exec_ext in '' $ac_executable_extensions; do |
1.1.25
by Sebastien Bacher
Import upstream version 3.6.1 |
2659 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
2660 |
ac_cv_prog_AWK="$ac_prog" |
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
2661 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
2662 |
break 2 |
2663 |
fi
|
|
2664 |
done
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
2665 |
done
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
2666 |
IFS=$as_save_IFS |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
2667 |
|
2668 |
fi
|
|
2669 |
fi
|
|
2670 |
AWK=$ac_cv_prog_AWK |
|
2671 |
if test -n "$AWK"; then |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
2672 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
2673 |
$as_echo "$AWK" >&6; } |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
2674 |
else
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
2675 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
2676 |
$as_echo "no" >&6; } |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
2677 |
fi
|
2678 |
||
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
2679 |
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
2680 |
test -n "$AWK" && break |
2681 |
done
|
|
2682 |
||
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
2683 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
2684 |
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
2685 |
set x ${MAKE-make} |
|
2686 |
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
|
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
2687 |
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
2688 |
$as_echo_n "(cached) " >&6 |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
2689 |
else
|
2690 |
cat >conftest.make <<\_ACEOF
|
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
2691 |
SHELL = /bin/sh
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
2692 |
all:
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
2693 |
@echo '@@@%%%=$(MAKE)=@@@%%%'
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
2694 |
_ACEOF
|
1.1.20
by Didier Roche
Import upstream version 0.13.2 |
2695 |
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
2696 |
case `${MAKE-make} -f conftest.make 2>/dev/null` in |
2697 |
*@@@%%%=?*=@@@%%%*) |
|
2698 |
eval ac_cv_prog_make_${ac_make}_set=yes;; |
|
2699 |
*)
|
|
2700 |
eval ac_cv_prog_make_${ac_make}_set=no;; |
|
2701 |
esac
|
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
2702 |
rm -f conftest.make |
2703 |
fi
|
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
2704 |
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then |
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
2705 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
2706 |
$as_echo "yes" >&6; } |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
2707 |
SET_MAKE= |
2708 |
else
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
2709 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
2710 |
$as_echo "no" >&6; } |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
2711 |
SET_MAKE="MAKE=${MAKE-make}" |
2712 |
fi
|
|
2713 |
||
2714 |
rm -rf .tst 2>/dev/null
|
|
2715 |
mkdir .tst 2>/dev/null
|
|
2716 |
if test -d .tst; then |
|
2717 |
am__leading_dot=. |
|
2718 |
else
|
|
2719 |
am__leading_dot=_ |
|
2720 |
fi
|
|
2721 |
rmdir .tst 2>/dev/null
|
|
2722 |
||
1.1.9
by Sebastien Bacher
Import upstream version 0.11.4 |
2723 |
if test "`cd $srcdir && pwd`" != "`pwd`"; then |
2724 |
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
|
|
2725 |
# is not polluted with repeated "-I."
|
|
2726 |
am__isrc=' -I$(srcdir)' |
|
2727 |
# test to see if srcdir already configured
|
|
2728 |
if test -f $srcdir/config.status; then |
|
1.1.20
by Didier Roche
Import upstream version 0.13.2 |
2729 |
as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 |
1.1.9
by Sebastien Bacher
Import upstream version 0.11.4 |
2730 |
fi
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
2731 |
fi
|
2732 |
||
2733 |
# test whether we have cygpath
|
|
2734 |
if test -z "$CYGPATH_W"; then |
|
2735 |
if (cygpath --version) >/dev/null 2>/dev/null; then |
|
2736 |
CYGPATH_W='cygpath -w' |
|
2737 |
else
|
|
2738 |
CYGPATH_W=echo |
|
2739 |
fi
|
|
2740 |
fi
|
|
2741 |
||
2742 |
||
2743 |
# Define the identity of the package.
|
|
2744 |
PACKAGE='alacarte' |
|
1.1.25
by Sebastien Bacher
Import upstream version 3.6.1 |
2745 |
VERSION='3.6.1' |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
2746 |
|
2747 |
||
2748 |
cat >>confdefs.h <<_ACEOF
|
|
2749 |
#define PACKAGE "$PACKAGE"
|
|
2750 |
_ACEOF
|
|
2751 |
||
2752 |
||
2753 |
cat >>confdefs.h <<_ACEOF
|
|
2754 |
#define VERSION "$VERSION"
|
|
2755 |
_ACEOF
|
|
2756 |
||
2757 |
# Some tools Automake needs.
|
|
2758 |
||
2759 |
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} |
|
2760 |
||
2761 |
||
2762 |
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} |
|
2763 |
||
2764 |
||
2765 |
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} |
|
2766 |
||
2767 |
||
2768 |
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} |
|
2769 |
||
2770 |
||
2771 |
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
|
2772 |
||
1.1.25
by Sebastien Bacher
Import upstream version 3.6.1 |
2773 |
# For better backward compatibility. To be removed once Automake 1.9.x
|
2774 |
# dies out for good. For more background, see:
|
|
2775 |
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
|
|
2776 |
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
|
|
2777 |
mkdir_p='$(MKDIR_P)' |
|
2778 |
||
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
2779 |
# We need awk for the "check" target. The system "awk" is bad on
|
2780 |
# some platforms.
|
|
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
2781 |
# Always define AMTAR for backward compatibility. Yes, it's still used
|
2782 |
# in the wild :-( We should find a proper way to deprecate it ...
|
|
2783 |
AMTAR='$${TAR-tar}' |
|
2784 |
||
2785 |
am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' |
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
2786 |
|
2787 |
||
2788 |
||
2789 |
||
2790 |
||
1.1.17
by Sebastien Bacher
Import upstream version 0.12.3 |
2791 |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
2792 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
2793 |
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } |
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
2794 |
# Check whether --enable-maintainer-mode was given.
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
2795 |
if test "${enable_maintainer_mode+set}" = set; then : |
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
2796 |
enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
2797 |
else
|
2798 |
USE_MAINTAINER_MODE=no |
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
2799 |
fi
|
2800 |
||
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
2801 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
2802 |
$as_echo "$USE_MAINTAINER_MODE" >&6; } |
1.1.9
by Sebastien Bacher
Import upstream version 0.11.4 |
2803 |
if test $USE_MAINTAINER_MODE = yes; then |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
2804 |
MAINTAINER_MODE_TRUE= |
2805 |
MAINTAINER_MODE_FALSE='#' |
|
2806 |
else
|
|
2807 |
MAINTAINER_MODE_TRUE='#' |
|
2808 |
MAINTAINER_MODE_FALSE= |
|
2809 |
fi
|
|
2810 |
||
2811 |
MAINT=$MAINTAINER_MODE_TRUE |
|
2812 |
||
2813 |
||
2814 |
||
2815 |
ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS" |
|
2816 |
||
2817 |
||
2818 |
GETTEXT_PACKAGE=alacarte |
|
2819 |
||
2820 |
||
2821 |
cat >>confdefs.h <<_ACEOF
|
|
2822 |
#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
|
|
2823 |
_ACEOF
|
|
2824 |
||
2825 |
DEPDIR="${am__leading_dot}deps" |
|
2826 |
||
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
2827 |
ac_config_commands="$ac_config_commands depfiles" |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
2828 |
|
2829 |
||
2830 |
am_make=${MAKE-make} |
|
2831 |
cat > confinc << 'END'
|
|
2832 |
am__doit:
|
|
1.1.17
by Sebastien Bacher
Import upstream version 0.12.3 |
2833 |
@echo this is the am__doit target
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
2834 |
.PHONY: am__doit
|
2835 |
END
|
|
2836 |
# If we don't find an include directive, just comment out the code.
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
2837 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
2838 |
$as_echo_n "checking for style of include used by $am_make... " >&6; } |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
2839 |
am__include="#" |
2840 |
am__quote= |
|
2841 |
_am_result=none |
|
2842 |
# First try GNU make style include.
|
|
2843 |
echo "include confinc" > confmf |
|
1.1.25
by Sebastien Bacher
Import upstream version 3.6.1 |
2844 |
# Ignore all kinds of additional output from 'make'.
|
1.1.17
by Sebastien Bacher
Import upstream version 0.12.3 |
2845 |
case `$am_make -s -f confmf 2> /dev/null` in #( |
2846 |
*the\ am__doit\ target*) |
|
2847 |
am__include=include |
|
2848 |
am__quote= |
|
2849 |
_am_result=GNU |
|
2850 |
;;
|
|
2851 |
esac
|
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
2852 |
# Now try BSD make style include.
|
2853 |
if test "$am__include" = "#"; then |
|
2854 |
echo '.include "confinc"' > confmf |
|
1.1.17
by Sebastien Bacher
Import upstream version 0.12.3 |
2855 |
case `$am_make -s -f confmf 2> /dev/null` in #( |
2856 |
*the\ am__doit\ target*) |
|
2857 |
am__include=.include |
|
2858 |
am__quote="\"" |
|
2859 |
_am_result=BSD |
|
2860 |
;;
|
|
2861 |
esac
|
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
2862 |
fi
|
2863 |
||
2864 |
||
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
2865 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
2866 |
$as_echo "$_am_result" >&6; } |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
2867 |
rm -f confinc confmf |
2868 |
||
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
2869 |
# Check whether --enable-dependency-tracking was given.
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
2870 |
if test "${enable_dependency_tracking+set}" = set; then : |
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
2871 |
enableval=$enable_dependency_tracking; |
2872 |
fi
|
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
2873 |
|
2874 |
if test "x$enable_dependency_tracking" != xno; then |
|
2875 |
am_depcomp="$ac_aux_dir/depcomp" |
|
2876 |
AMDEPBACKSLASH='\' |
|
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
2877 |
am__nodep='_no' |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
2878 |
fi
|
1.1.9
by Sebastien Bacher
Import upstream version 0.11.4 |
2879 |
if test "x$enable_dependency_tracking" != xno; then |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
2880 |
AMDEP_TRUE= |
2881 |
AMDEP_FALSE='#' |
|
2882 |
else
|
|
2883 |
AMDEP_TRUE='#' |
|
2884 |
AMDEP_FALSE= |
|
2885 |
fi
|
|
2886 |
||
2887 |
||
2888 |
ac_ext=c |
|
2889 |
ac_cpp='$CPP $CPPFLAGS' |
|
2890 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
2891 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
2892 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
2893 |
if test -n "$ac_tool_prefix"; then |
|
2894 |
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
|
|
2895 |
set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
2896 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
2897 |
$as_echo_n "checking for $ac_word... " >&6; } |
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
2898 |
if ${ac_cv_prog_CC+:} false; then : |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
2899 |
$as_echo_n "(cached) " >&6 |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
2900 |
else
|
2901 |
if test -n "$CC"; then |
|
2902 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
|
2903 |
else
|
|
2904 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2905 |
for as_dir in $PATH |
|
2906 |
do
|
|
2907 |
IFS=$as_save_IFS |
|
2908 |
test -z "$as_dir" && as_dir=. |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
2909 |
for ac_exec_ext in '' $ac_executable_extensions; do |
1.1.25
by Sebastien Bacher
Import upstream version 3.6.1 |
2910 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
2911 |
ac_cv_prog_CC="${ac_tool_prefix}gcc" |
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
2912 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
2913 |
break 2 |
2914 |
fi
|
|
2915 |
done
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
2916 |
done
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
2917 |
IFS=$as_save_IFS |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
2918 |
|
2919 |
fi
|
|
2920 |
fi
|
|
2921 |
CC=$ac_cv_prog_CC |
|
2922 |
if test -n "$CC"; then |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
2923 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
2924 |
$as_echo "$CC" >&6; } |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
2925 |
else
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
2926 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
2927 |
$as_echo "no" >&6; } |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
2928 |
fi
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
2929 |
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
2930 |
|
2931 |
fi
|
|
2932 |
if test -z "$ac_cv_prog_CC"; then |
|
2933 |
ac_ct_CC=$CC |
|
2934 |
# Extract the first word of "gcc", so it can be a program name with args.
|
|
2935 |
set dummy gcc; ac_word=$2 |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
2936 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
2937 |
$as_echo_n "checking for $ac_word... " >&6; } |
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
2938 |
if ${ac_cv_prog_ac_ct_CC+:} false; then : |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
2939 |
$as_echo_n "(cached) " >&6 |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
2940 |
else
|
2941 |
if test -n "$ac_ct_CC"; then |
|
2942 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
|
2943 |
else
|
|
2944 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2945 |
for as_dir in $PATH |
|
2946 |
do
|
|
2947 |
IFS=$as_save_IFS |
|
2948 |
test -z "$as_dir" && as_dir=. |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
2949 |
for ac_exec_ext in '' $ac_executable_extensions; do |
1.1.25
by Sebastien Bacher
Import upstream version 3.6.1 |
2950 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
2951 |
ac_cv_prog_ac_ct_CC="gcc" |
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
2952 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
2953 |
break 2 |
2954 |
fi
|
|
2955 |
done
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
2956 |
done
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
2957 |
IFS=$as_save_IFS |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
2958 |
|
2959 |
fi
|
|
2960 |
fi
|
|
2961 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
|
2962 |
if test -n "$ac_ct_CC"; then |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
2963 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
2964 |
$as_echo "$ac_ct_CC" >&6; } |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
2965 |
else
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
2966 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
2967 |
$as_echo "no" >&6; } |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
2968 |
fi
|
2969 |
||
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
2970 |
if test "x$ac_ct_CC" = x; then |
2971 |
CC="" |
|
2972 |
else
|
|
2973 |
case $cross_compiling:$ac_tool_warned in |
|
2974 |
yes:)
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
2975 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
1.1.16
by Andreas Moog
Import upstream version 0.12.1 |
2976 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
2977 |
ac_tool_warned=yes ;; |
2978 |
esac
|
|
2979 |
CC=$ac_ct_CC |
|
2980 |
fi
|
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
2981 |
else
|
2982 |
CC="$ac_cv_prog_CC" |
|
2983 |
fi
|
|
2984 |
||
2985 |
if test -z "$CC"; then |
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
2986 |
if test -n "$ac_tool_prefix"; then |
2987 |
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
|
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
2988 |
set dummy ${ac_tool_prefix}cc; ac_word=$2 |
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
2989 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
2990 |
$as_echo_n "checking for $ac_word... " >&6; } |
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
2991 |
if ${ac_cv_prog_CC+:} false; then : |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
2992 |
$as_echo_n "(cached) " >&6 |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
2993 |
else
|
2994 |
if test -n "$CC"; then |
|
2995 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
|
2996 |
else
|
|
2997 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2998 |
for as_dir in $PATH |
|
2999 |
do
|
|
3000 |
IFS=$as_save_IFS |
|
3001 |
test -z "$as_dir" && as_dir=. |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
3002 |
for ac_exec_ext in '' $ac_executable_extensions; do |
1.1.25
by Sebastien Bacher
Import upstream version 3.6.1 |
3003 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
3004 |
ac_cv_prog_CC="${ac_tool_prefix}cc" |
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
3005 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
3006 |
break 2 |
3007 |
fi
|
|
3008 |
done
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
3009 |
done
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
3010 |
IFS=$as_save_IFS |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
3011 |
|
3012 |
fi
|
|
3013 |
fi
|
|
3014 |
CC=$ac_cv_prog_CC |
|
3015 |
if test -n "$CC"; then |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
3016 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
3017 |
$as_echo "$CC" >&6; } |
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
3018 |
else
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
3019 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
3020 |
$as_echo "no" >&6; } |
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
3021 |
fi
|
3022 |
||
3023 |
||
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
3024 |
fi
|
3025 |
fi
|
|
3026 |
if test -z "$CC"; then |
|
3027 |
# Extract the first word of "cc", so it can be a program name with args.
|
|
3028 |
set dummy cc; ac_word=$2 |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
3029 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
3030 |
$as_echo_n "checking for $ac_word... " >&6; } |
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
3031 |
if ${ac_cv_prog_CC+:} false; then : |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
3032 |
$as_echo_n "(cached) " >&6 |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
3033 |
else
|
3034 |
if test -n "$CC"; then |
|
3035 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
|
3036 |
else
|
|
3037 |
ac_prog_rejected=no |
|
3038 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
3039 |
for as_dir in $PATH |
|
3040 |
do
|
|
3041 |
IFS=$as_save_IFS |
|
3042 |
test -z "$as_dir" && as_dir=. |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
3043 |
for ac_exec_ext in '' $ac_executable_extensions; do |
1.1.25
by Sebastien Bacher
Import upstream version 3.6.1 |
3044 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
3045 |
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
3046 |
ac_prog_rejected=yes |
|
3047 |
continue
|
|
3048 |
fi
|
|
3049 |
ac_cv_prog_CC="cc" |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
3050 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
3051 |
break 2 |
3052 |
fi
|
|
3053 |
done
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
3054 |
done
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
3055 |
IFS=$as_save_IFS |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
3056 |
|
3057 |
if test $ac_prog_rejected = yes; then |
|
3058 |
# We found a bogon in the path, so make sure we never use it.
|
|
3059 |
set dummy $ac_cv_prog_CC |
|
3060 |
shift
|
|
3061 |
if test $# != 0; then |
|
3062 |
# We chose a different compiler from the bogus one.
|
|
3063 |
# However, it has the same basename, so the bogon will be chosen
|
|
3064 |
# first if we set CC to just the basename; use the full file name.
|
|
3065 |
shift
|
|
3066 |
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
|
3067 |
fi
|
|
3068 |
fi
|
|
3069 |
fi
|
|
3070 |
fi
|
|
3071 |
CC=$ac_cv_prog_CC |
|
3072 |
if test -n "$CC"; then |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
3073 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
3074 |
$as_echo "$CC" >&6; } |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
3075 |
else
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
3076 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
3077 |
$as_echo "no" >&6; } |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
3078 |
fi
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
3079 |
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
3080 |
|
3081 |
fi
|
|
3082 |
if test -z "$CC"; then |
|
3083 |
if test -n "$ac_tool_prefix"; then |
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
3084 |
for ac_prog in cl.exe
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
3085 |
do
|
3086 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
|
3087 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
3088 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
3089 |
$as_echo_n "checking for $ac_word... " >&6; } |
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
3090 |
if ${ac_cv_prog_CC+:} false; then : |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
3091 |
$as_echo_n "(cached) " >&6 |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
3092 |
else
|
3093 |
if test -n "$CC"; then |
|
3094 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
|
3095 |
else
|
|
3096 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
3097 |
for as_dir in $PATH |
|
3098 |
do
|
|
3099 |
IFS=$as_save_IFS |
|
3100 |
test -z "$as_dir" && as_dir=. |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
3101 |
for ac_exec_ext in '' $ac_executable_extensions; do |
1.1.25
by Sebastien Bacher
Import upstream version 3.6.1 |
3102 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
3103 |
ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
3104 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
3105 |
break 2 |
3106 |
fi
|
|
3107 |
done
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
3108 |
done
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
3109 |
IFS=$as_save_IFS |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
3110 |
|
3111 |
fi
|
|
3112 |
fi
|
|
3113 |
CC=$ac_cv_prog_CC |
|
3114 |
if test -n "$CC"; then |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
3115 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
3116 |
$as_echo "$CC" >&6; } |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
3117 |
else
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
3118 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
3119 |
$as_echo "no" >&6; } |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
3120 |
fi
|
3121 |
||
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
3122 |
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
3123 |
test -n "$CC" && break |
3124 |
done
|
|
3125 |
fi
|
|
3126 |
if test -z "$CC"; then |
|
3127 |
ac_ct_CC=$CC |
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
3128 |
for ac_prog in cl.exe
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
3129 |
do
|
3130 |
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
|
3131 |
set dummy $ac_prog; ac_word=$2 |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
3132 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
3133 |
$as_echo_n "checking for $ac_word... " >&6; } |
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
3134 |
if ${ac_cv_prog_ac_ct_CC+:} false; then : |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
3135 |
$as_echo_n "(cached) " >&6 |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
3136 |
else
|
3137 |
if test -n "$ac_ct_CC"; then |
|
3138 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
|
3139 |
else
|
|
3140 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
3141 |
for as_dir in $PATH |
|
3142 |
do
|
|
3143 |
IFS=$as_save_IFS |
|
3144 |
test -z "$as_dir" && as_dir=. |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
3145 |
for ac_exec_ext in '' $ac_executable_extensions; do |
1.1.25
by Sebastien Bacher
Import upstream version 3.6.1 |
3146 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
3147 |
ac_cv_prog_ac_ct_CC="$ac_prog" |
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
3148 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
3149 |
break 2 |
3150 |
fi
|
|
3151 |
done
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
3152 |
done
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
3153 |
IFS=$as_save_IFS |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
3154 |
|
3155 |
fi
|
|
3156 |
fi
|
|
3157 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
|
3158 |
if test -n "$ac_ct_CC"; then |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
3159 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
3160 |
$as_echo "$ac_ct_CC" >&6; } |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
3161 |
else
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
3162 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
3163 |
$as_echo "no" >&6; } |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
3164 |
fi
|
3165 |
||
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
3166 |
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
3167 |
test -n "$ac_ct_CC" && break |
3168 |
done
|
|
3169 |
||
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
3170 |
if test "x$ac_ct_CC" = x; then |
3171 |
CC="" |
|
3172 |
else
|
|
3173 |
case $cross_compiling:$ac_tool_warned in |
|
3174 |
yes:)
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
3175 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
1.1.16
by Andreas Moog
Import upstream version 0.12.1 |
3176 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
3177 |
ac_tool_warned=yes ;; |
3178 |
esac
|
|
3179 |
CC=$ac_ct_CC |
|
3180 |
fi
|
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
3181 |
fi
|
3182 |
||
3183 |
fi
|
|
3184 |
||
3185 |
||
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
3186 |
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
1.1.16
by Andreas Moog
Import upstream version 0.12.1 |
3187 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
1.1.20
by Didier Roche
Import upstream version 0.13.2 |
3188 |
as_fn_error $? "no acceptable C compiler found in \$PATH |
3189 |
See \`config.log' for more details" "$LINENO" 5; } |
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
3190 |
|
3191 |
# Provide some information about the compiler.
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
3192 |
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
3193 |
set X $ac_compile |
3194 |
ac_compiler=$2 |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
3195 |
for ac_option in --version -v -V -qversion; do |
3196 |
{ { ac_try="$ac_compiler $ac_option >&5" |
|
3197 |
case "(($ac_try" in |
|
3198 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
3199 |
*) ac_try_echo=$ac_try;; |
|
3200 |
esac
|
|
3201 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
3202 |
$as_echo "$ac_try_echo"; } >&5 |
|
3203 |
(eval "$ac_compiler $ac_option >&5") 2>conftest.err |
|
3204 |
ac_status=$? |
|
3205 |
if test -s conftest.err; then |
|
3206 |
sed '10a\
|
|
3207 |
... rest of stderr output deleted ...
|
|
3208 |
10q' conftest.err >conftest.er1
|
|
3209 |
cat conftest.er1 >&5 |
|
3210 |
fi
|
|
3211 |
rm -f conftest.er1 conftest.err |
|
3212 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
3213 |
test $ac_status = 0; } |
|
3214 |
done
|
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
3215 |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
3216 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
3217 |
/* end confdefs.h. */
|
3218 |
||
3219 |
int
|
|
3220 |
main ()
|
|
3221 |
{
|
|
3222 |
||
3223 |
;
|
|
3224 |
return 0;
|
|
3225 |
}
|
|
3226 |
_ACEOF
|
|
3227 |
ac_clean_files_save=$ac_clean_files |
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
3228 |
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
3229 |
# Try to create an executable without -o first, disregard a.out.
|
3230 |
# It will help us diagnose broken compilers, and finding out an intuition
|
|
3231 |
# of exeext.
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
3232 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 |
3233 |
$as_echo_n "checking whether the C compiler works... " >&6; } |
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
3234 |
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
3235 |
||
3236 |
# The possible output files:
|
|
3237 |
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" |
|
3238 |
||
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
3239 |
ac_rmfiles= |
3240 |
for ac_file in $ac_files |
|
3241 |
do
|
|
3242 |
case $ac_file in |
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
3243 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
3244 |
* ) ac_rmfiles="$ac_rmfiles $ac_file";; |
3245 |
esac
|
|
3246 |
done
|
|
3247 |
rm -f $ac_rmfiles
|
|
3248 |
||
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
3249 |
if { { ac_try="$ac_link_default" |
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
3250 |
case "(($ac_try" in |
3251 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
3252 |
*) ac_try_echo=$ac_try;; |
|
3253 |
esac
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
3254 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
3255 |
$as_echo "$ac_try_echo"; } >&5 |
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
3256 |
(eval "$ac_link_default") 2>&5 |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
3257 |
ac_status=$? |
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
3258 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
3259 |
test $ac_status = 0; }; then : |
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
3260 |
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
|
3261 |
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
|
|
3262 |
# in a Makefile. We should not override ac_cv_exeext if it was cached,
|
|
3263 |
# so that the user can short-circuit this test for compilers unknown to
|
|
3264 |
# Autoconf.
|
|
1.1.9
by Sebastien Bacher
Import upstream version 0.11.4 |
3265 |
for ac_file in $ac_files '' |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
3266 |
do
|
3267 |
test -f "$ac_file" || continue |
|
3268 |
case $ac_file in |
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
3269 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
3270 |
;;
|
3271 |
[ab].out ) |
|
3272 |
# We found the default executable, but exeext='' is most
|
|
3273 |
# certainly right.
|
|
3274 |
break;;
|
|
3275 |
*.* )
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
3276 |
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; |
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
3277 |
then :; else |
3278 |
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
|
3279 |
fi
|
|
3280 |
# We set ac_cv_exeext here because the later test for it is not
|
|
3281 |
# safe: cross compilers may not add the suffix if given an `-o'
|
|
3282 |
# argument, so we may need to know it at that point already.
|
|
3283 |
# Even if this section looks crufty: it has the advantage of
|
|
3284 |
# actually working.
|
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
3285 |
break;;
|
3286 |
* )
|
|
3287 |
break;;
|
|
3288 |
esac
|
|
3289 |
done
|
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
3290 |
test "$ac_cv_exeext" = no && ac_cv_exeext= |
3291 |
||
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
3292 |
else
|
1.1.9
by Sebastien Bacher
Import upstream version 0.11.4 |
3293 |
ac_file='' |
3294 |
fi
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
3295 |
if test -z "$ac_file"; then : |
3296 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
3297 |
$as_echo "no" >&6; } |
|
3298 |
$as_echo "$as_me: failed program was:" >&5 |
|
3299 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
1.1.9
by Sebastien Bacher
Import upstream version 0.11.4 |
3300 |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
3301 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3302 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
1.1.20
by Didier Roche
Import upstream version 0.13.2 |
3303 |
as_fn_error 77 "C compiler cannot create executables |
3304 |
See \`config.log' for more details" "$LINENO" 5; } |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
3305 |
else
|
3306 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
3307 |
$as_echo "yes" >&6; } |
|
3308 |
fi
|
|
3309 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 |
|
3310 |
$as_echo_n "checking for C compiler default output file name... " >&6; } |
|
3311 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 |
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
3312 |
$as_echo "$ac_file" >&6; } |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
3313 |
ac_exeext=$ac_cv_exeext |
3314 |
||
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
3315 |
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
3316 |
ac_clean_files=$ac_clean_files_save |
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
3317 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
3318 |
$as_echo_n "checking for suffix of executables... " >&6; } |
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
3319 |
if { { ac_try="$ac_link" |
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
3320 |
case "(($ac_try" in |
3321 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
3322 |
*) ac_try_echo=$ac_try;; |
|
3323 |
esac
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
3324 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
3325 |
$as_echo "$ac_try_echo"; } >&5 |
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
3326 |
(eval "$ac_link") 2>&5 |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
3327 |
ac_status=$? |
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
3328 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
3329 |
test $ac_status = 0; }; then : |
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
3330 |
# If both `conftest.exe' and `conftest' are `present' (well, observable)
|
3331 |
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
|
|
3332 |
# work properly (i.e., refer to `conftest.exe'), while it won't with
|
|
3333 |
# `rm'.
|
|
3334 |
for ac_file in conftest.exe conftest conftest.*; do |
|
3335 |
test -f "$ac_file" || continue |
|
3336 |
case $ac_file in |
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
3337 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
3338 |
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
3339 |
break;;
|
|
3340 |
* ) break;; |
|
3341 |
esac
|
|
3342 |
done
|
|
3343 |
else
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
3344 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
1.1.16
by Andreas Moog
Import upstream version 0.12.1 |
3345 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
1.1.20
by Didier Roche
Import upstream version 0.13.2 |
3346 |
as_fn_error $? "cannot compute suffix of executables: cannot compile and link |
3347 |
See \`config.log' for more details" "$LINENO" 5; } |
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
3348 |
fi
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
3349 |
rm -f conftest conftest$ac_cv_exeext
|
3350 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
3351 |
$as_echo "$ac_cv_exeext" >&6; } |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
3352 |
|
3353 |
rm -f conftest.$ac_ext
|
|
3354 |
EXEEXT=$ac_cv_exeext |
|
3355 |
ac_exeext=$EXEEXT |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
3356 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3357 |
/* end confdefs.h. */
|
|
3358 |
#include <stdio.h>
|
|
3359 |
int
|
|
3360 |
main ()
|
|
3361 |
{
|
|
3362 |
FILE *f = fopen ("conftest.out", "w");
|
|
3363 |
return ferror (f) || fclose (f) != 0;
|
|
3364 |
||
3365 |
;
|
|
3366 |
return 0;
|
|
3367 |
}
|
|
3368 |
_ACEOF
|
|
3369 |
ac_clean_files="$ac_clean_files conftest.out" |
|
3370 |
# Check that the compiler produces executables we can run. If not, either
|
|
3371 |
# the compiler is broken, or we cross compile.
|
|
3372 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 |
|
3373 |
$as_echo_n "checking whether we are cross compiling... " >&6; } |
|
3374 |
if test "$cross_compiling" != yes; then |
|
3375 |
{ { ac_try="$ac_link" |
|
3376 |
case "(($ac_try" in |
|
3377 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
3378 |
*) ac_try_echo=$ac_try;; |
|
3379 |
esac
|
|
3380 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
3381 |
$as_echo "$ac_try_echo"; } >&5 |
|
3382 |
(eval "$ac_link") 2>&5 |
|
3383 |
ac_status=$? |
|
3384 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
3385 |
test $ac_status = 0; } |
|
3386 |
if { ac_try='./conftest$ac_cv_exeext' |
|
3387 |
{ { case "(($ac_try" in |
|
3388 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
3389 |
*) ac_try_echo=$ac_try;; |
|
3390 |
esac
|
|
3391 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
3392 |
$as_echo "$ac_try_echo"; } >&5 |
|
3393 |
(eval "$ac_try") 2>&5 |
|
3394 |
ac_status=$? |
|
3395 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
3396 |
test $ac_status = 0; }; }; then |
|
3397 |
cross_compiling=no |
|
3398 |
else
|
|
3399 |
if test "$cross_compiling" = maybe; then |
|
3400 |
cross_compiling=yes |
|
3401 |
else
|
|
3402 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
3403 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
1.1.20
by Didier Roche
Import upstream version 0.13.2 |
3404 |
as_fn_error $? "cannot run C compiled programs. |
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
3405 |
If you meant to cross compile, use \`--host'.
|
1.1.20
by Didier Roche
Import upstream version 0.13.2 |
3406 |
See \`config.log' for more details" "$LINENO" 5; } |
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
3407 |
fi
|
3408 |
fi
|
|
3409 |
fi
|
|
3410 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
|
3411 |
$as_echo "$cross_compiling" >&6; } |
|
3412 |
||
3413 |
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out |
|
3414 |
ac_clean_files=$ac_clean_files_save |
|
3415 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 |
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
3416 |
$as_echo_n "checking for suffix of object files... " >&6; } |
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
3417 |
if ${ac_cv_objext+:} false; then : |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
3418 |
$as_echo_n "(cached) " >&6 |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
3419 |
else
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
3420 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
3421 |
/* end confdefs.h. */
|
3422 |
||
3423 |
int
|
|
3424 |
main ()
|
|
3425 |
{
|
|
3426 |
||
3427 |
;
|
|
3428 |
return 0;
|
|
3429 |
}
|
|
3430 |
_ACEOF
|
|
3431 |
rm -f conftest.o conftest.obj |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
3432 |
if { { ac_try="$ac_compile" |
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
3433 |
case "(($ac_try" in |
3434 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
3435 |
*) ac_try_echo=$ac_try;; |
|
3436 |
esac
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
3437 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
3438 |
$as_echo "$ac_try_echo"; } >&5 |
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
3439 |
(eval "$ac_compile") 2>&5 |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
3440 |
ac_status=$? |
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
3441 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
3442 |
test $ac_status = 0; }; then : |
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
3443 |
for ac_file in conftest.o conftest.obj conftest.*; do |
3444 |
test -f "$ac_file" || continue; |
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
3445 |
case $ac_file in |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
3446 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
3447 |
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
3448 |
break;;
|
|
3449 |
esac
|
|
3450 |
done
|
|
3451 |
else
|
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
3452 |
$as_echo "$as_me: failed program was:" >&5 |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
3453 |
sed 's/^/| /' conftest.$ac_ext >&5 |
3454 |
||
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
3455 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
1.1.16
by Andreas Moog
Import upstream version 0.12.1 |
3456 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
1.1.20
by Didier Roche
Import upstream version 0.13.2 |
3457 |
as_fn_error $? "cannot compute suffix of object files: cannot compile |
3458 |
See \`config.log' for more details" "$LINENO" 5; } |
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
3459 |
fi
|
3460 |
rm -f conftest.$ac_cv_objext conftest.$ac_ext |
|
3461 |
fi
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
3462 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
3463 |
$as_echo "$ac_cv_objext" >&6; } |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
3464 |
OBJEXT=$ac_cv_objext |
3465 |
ac_objext=$OBJEXT |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
3466 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
3467 |
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
3468 |
if ${ac_cv_c_compiler_gnu+:} false; then : |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
3469 |
$as_echo_n "(cached) " >&6 |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
3470 |
else
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
3471 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
3472 |
/* end confdefs.h. */
|
3473 |
||
3474 |
int
|
|
3475 |
main ()
|
|
3476 |
{
|
|
3477 |
#ifndef __GNUC__
|
|
3478 |
choke me
|
|
3479 |
#endif
|
|
3480 |
||
3481 |
;
|
|
3482 |
return 0;
|
|
3483 |
}
|
|
3484 |
_ACEOF
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
3485 |
if ac_fn_c_try_compile "$LINENO"; then : |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
3486 |
ac_compiler_gnu=yes |
3487 |
else
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
3488 |
ac_compiler_gnu=no |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
3489 |
fi
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
3490 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
3491 |
ac_cv_c_compiler_gnu=$ac_compiler_gnu |
3492 |
||
3493 |
fi
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
3494 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
3495 |
$as_echo "$ac_cv_c_compiler_gnu" >&6; } |
3496 |
if test $ac_compiler_gnu = yes; then |
|
3497 |
GCC=yes |
|
3498 |
else
|
|
3499 |
GCC= |
|
3500 |
fi
|
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
3501 |
ac_test_CFLAGS=${CFLAGS+set} |
3502 |
ac_save_CFLAGS=$CFLAGS |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
3503 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
3504 |
$as_echo_n "checking whether $CC accepts -g... " >&6; } |
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
3505 |
if ${ac_cv_prog_cc_g+:} false; then : |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
3506 |
$as_echo_n "(cached) " >&6 |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
3507 |
else
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
3508 |
ac_save_c_werror_flag=$ac_c_werror_flag |
3509 |
ac_c_werror_flag=yes |
|
3510 |
ac_cv_prog_cc_g=no |
|
3511 |
CFLAGS="-g" |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
3512 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
3513 |
/* end confdefs.h. */
|
3514 |
||
3515 |
int
|
|
3516 |
main ()
|
|
3517 |
{
|
|
3518 |
||
3519 |
;
|
|
3520 |
return 0;
|
|
3521 |
}
|
|
3522 |
_ACEOF
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
3523 |
if ac_fn_c_try_compile "$LINENO"; then : |
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
3524 |
ac_cv_prog_cc_g=yes |
3525 |
else
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
3526 |
CFLAGS="" |
3527 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
3528 |
/* end confdefs.h. */
|
3529 |
||
3530 |
int
|
|
3531 |
main ()
|
|
3532 |
{
|
|
3533 |
||
3534 |
;
|
|
3535 |
return 0;
|
|
3536 |
}
|
|
3537 |
_ACEOF
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
3538 |
if ac_fn_c_try_compile "$LINENO"; then : |
3539 |
||
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
3540 |
else
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
3541 |
ac_c_werror_flag=$ac_save_c_werror_flag |
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
3542 |
CFLAGS="-g" |
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
3543 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
3544 |
/* end confdefs.h. */
|
3545 |
||
3546 |
int
|
|
3547 |
main ()
|
|
3548 |
{
|
|
3549 |
||
3550 |
;
|
|
3551 |
return 0;
|
|
3552 |
}
|
|
3553 |
_ACEOF
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
3554 |
if ac_fn_c_try_compile "$LINENO"; then : |
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
3555 |
ac_cv_prog_cc_g=yes |
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
3556 |
fi
|
3557 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
3558 |
fi
|
|
3559 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
3560 |
fi
|
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
3561 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3562 |
ac_c_werror_flag=$ac_save_c_werror_flag |
|
3563 |
fi
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
3564 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
3565 |
$as_echo "$ac_cv_prog_cc_g" >&6; } |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
3566 |
if test "$ac_test_CFLAGS" = set; then |
3567 |
CFLAGS=$ac_save_CFLAGS |
|
3568 |
elif test $ac_cv_prog_cc_g = yes; then |
|
3569 |
if test "$GCC" = yes; then |
|
3570 |
CFLAGS="-g -O2" |
|
3571 |
else
|
|
3572 |
CFLAGS="-g" |
|
3573 |
fi
|
|
3574 |
else
|
|
3575 |
if test "$GCC" = yes; then |
|
3576 |
CFLAGS="-O2" |
|
3577 |
else
|
|
3578 |
CFLAGS= |
|
3579 |
fi
|
|
3580 |
fi
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
3581 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
3582 |
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
3583 |
if ${ac_cv_prog_cc_c89+:} false; then : |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
3584 |
$as_echo_n "(cached) " >&6 |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
3585 |
else
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
3586 |
ac_cv_prog_cc_c89=no |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
3587 |
ac_save_CC=$CC |
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
3588 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
3589 |
/* end confdefs.h. */
|
3590 |
#include <stdarg.h>
|
|
3591 |
#include <stdio.h>
|
|
1.1.25
by Sebastien Bacher
Import upstream version 3.6.1 |
3592 |
struct stat;
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
3593 |
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
|
3594 |
struct buf { int x; };
|
|
3595 |
FILE * (*rcsopen) (struct buf *, struct stat *, int);
|
|
3596 |
static char *e (p, i)
|
|
3597 |
char **p;
|
|
3598 |
int i;
|
|
3599 |
{
|
|
3600 |
return p[i];
|
|
3601 |
}
|
|
3602 |
static char *f (char * (*g) (char **, int), char **p, ...)
|
|
3603 |
{
|
|
3604 |
char *s;
|
|
3605 |
va_list v;
|
|
3606 |
va_start (v,p);
|
|
3607 |
s = g (p, va_arg (v,int));
|
|
3608 |
va_end (v);
|
|
3609 |
return s;
|
|
3610 |
}
|
|
3611 |
||
3612 |
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
|
|
3613 |
function prototypes and stuff, but not '\xHH' hex character constants.
|
|
3614 |
These don't provoke an error unfortunately, instead are silently treated
|
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
3615 |
as 'x'. The following induces an error, until -std is added to get
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
3616 |
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
|
3617 |
array size at least. It's necessary to write '\x00'==0 to get something
|
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
3618 |
that's true only with -std. */
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
3619 |
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
|
3620 |
||
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
3621 |
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
|
3622 |
inside strings and character constants. */
|
|
3623 |
#define FOO(x) 'x'
|
|
3624 |
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
|
|
3625 |
||
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
3626 |
int test (int i, double x);
|
3627 |
struct s1 {int (*f) (int a);};
|
|
3628 |
struct s2 {int (*f) (double a);};
|
|
3629 |
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
|
|
3630 |
int argc;
|
|
3631 |
char **argv;
|
|
3632 |
int
|
|
3633 |
main ()
|
|
3634 |
{
|
|
3635 |
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
|
|
3636 |
;
|
|
3637 |
return 0;
|
|
3638 |
}
|
|
3639 |
_ACEOF
|
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
3640 |
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
3641 |
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
3642 |
do
|
3643 |
CC="$ac_save_CC $ac_arg" |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
3644 |
if ac_fn_c_try_compile "$LINENO"; then : |
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
3645 |
ac_cv_prog_cc_c89=$ac_arg |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
3646 |
fi
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
3647 |
rm -f core conftest.err conftest.$ac_objext
|
3648 |
test "x$ac_cv_prog_cc_c89" != "xno" && break |
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
3649 |
done
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
3650 |
rm -f conftest.$ac_ext
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
3651 |
CC=$ac_save_CC |
3652 |
||
3653 |
fi
|
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
3654 |
# AC_CACHE_VAL
|
3655 |
case "x$ac_cv_prog_cc_c89" in |
|
3656 |
x)
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
3657 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
3658 |
$as_echo "none needed" >&6; } ;; |
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
3659 |
xno)
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
3660 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
3661 |
$as_echo "unsupported" >&6; } ;; |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
3662 |
*)
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
3663 |
CC="$CC $ac_cv_prog_cc_c89" |
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
3664 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
3665 |
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
3666 |
esac
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
3667 |
if test "x$ac_cv_prog_cc_c89" != xno; then : |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
3668 |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
3669 |
fi
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
3670 |
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
3671 |
ac_ext=c |
3672 |
ac_cpp='$CPP $CPPFLAGS' |
|
3673 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
3674 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
3675 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
3676 |
||
3677 |
depcc="$CC" am_compiler_list= |
|
3678 |
||
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
3679 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
3680 |
$as_echo_n "checking dependency style of $depcc... " >&6; } |
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
3681 |
if ${am_cv_CC_dependencies_compiler_type+:} false; then : |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
3682 |
$as_echo_n "(cached) " >&6 |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
3683 |
else
|
3684 |
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
|
3685 |
# We make a subdir and do the tests there. Otherwise we can end up
|
|
3686 |
# making bogus files that we don't know about and never remove. For
|
|
3687 |
# instance it was reported that on HP-UX the gcc test will end up
|
|
1.1.25
by Sebastien Bacher
Import upstream version 3.6.1 |
3688 |
# making a dummy file named 'D' -- because '-MD' means "put the output
|
3689 |
# in D".
|
|
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
3690 |
rm -rf conftest.dir |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
3691 |
mkdir conftest.dir |
3692 |
# Copy depcomp to subdir because otherwise we won't find it if we're
|
|
3693 |
# using a relative directory.
|
|
3694 |
cp "$am_depcomp" conftest.dir |
|
3695 |
cd conftest.dir
|
|
3696 |
# We will build objects and dependencies in a subdirectory because
|
|
3697 |
# it helps to detect inapplicable dependency modes. For instance
|
|
3698 |
# both Tru64's cc and ICC support -MD to output dependencies as a
|
|
3699 |
# side effect of compilation, but ICC will put the dependencies in
|
|
3700 |
# the current directory while Tru64 will put them in the object
|
|
3701 |
# directory.
|
|
3702 |
mkdir sub |
|
3703 |
||
3704 |
am_cv_CC_dependencies_compiler_type=none |
|
3705 |
if test "$am_compiler_list" = ""; then |
|
3706 |
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
|
3707 |
fi
|
|
1.1.17
by Sebastien Bacher
Import upstream version 0.12.3 |
3708 |
am__universal=false |
3709 |
case " $depcc " in #( |
|
3710 |
*\ -arch\ *\ -arch\ *) am__universal=true ;; |
|
3711 |
esac
|
|
3712 |
||
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
3713 |
for depmode in $am_compiler_list; do |
3714 |
# Setup a source with many dependencies, because some compilers
|
|
3715 |
# like to wrap large dependency lists on column 80 (with \), and
|
|
3716 |
# we should not choose a depcomp mode which is confused by this.
|
|
3717 |
#
|
|
3718 |
# We need to recreate these files for each test, as the compiler may
|
|
3719 |
# overwrite some of them when testing with obscure command lines.
|
|
3720 |
# This happens at least with the AIX C compiler.
|
|
3721 |
: > sub/conftest.c |
|
3722 |
for i in 1 2 3 4 5 6; do |
|
3723 |
echo '#include "conftst'$i'.h"' >> sub/conftest.c |
|
1.1.25
by Sebastien Bacher
Import upstream version 3.6.1 |
3724 |
# Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
|
3725 |
# Solaris 10 /bin/sh.
|
|
3726 |
echo '/* dummy */' > sub/conftst$i.h |
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
3727 |
done
|
3728 |
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
|
3729 |
||
1.1.25
by Sebastien Bacher
Import upstream version 3.6.1 |
3730 |
# We check with '-c' and '-o' for the sake of the "dashmstdout"
|
1.1.17
by Sebastien Bacher
Import upstream version 0.12.3 |
3731 |
# mode. It turns out that the SunPro C++ compiler does not properly
|
1.1.25
by Sebastien Bacher
Import upstream version 3.6.1 |
3732 |
# handle '-M -o', and we need to detect this. Also, some Intel
|
3733 |
# versions had trouble with output in subdirs.
|
|
1.1.17
by Sebastien Bacher
Import upstream version 0.12.3 |
3734 |
am__obj=sub/conftest.${OBJEXT-o} |
3735 |
am__minus_obj="-o $am__obj" |
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
3736 |
case $depmode in |
1.1.17
by Sebastien Bacher
Import upstream version 0.12.3 |
3737 |
gcc)
|
3738 |
# This depmode causes a compiler race in universal mode.
|
|
3739 |
test "$am__universal" = false || continue |
|
3740 |
;;
|
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
3741 |
nosideeffect)
|
1.1.25
by Sebastien Bacher
Import upstream version 3.6.1 |
3742 |
# After this tag, mechanisms are not by side-effect, so they'll
|
3743 |
# only be used when explicitly requested.
|
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
3744 |
if test "x$enable_dependency_tracking" = xyes; then |
3745 |
continue
|
|
3746 |
else
|
|
3747 |
break
|
|
3748 |
fi
|
|
3749 |
;;
|
|
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
3750 |
msvc7 | msvc7msys | msvisualcpp | msvcmsys) |
1.1.25
by Sebastien Bacher
Import upstream version 3.6.1 |
3751 |
# This compiler won't grok '-c -o', but also, the minuso test has
|
1.1.17
by Sebastien Bacher
Import upstream version 0.12.3 |
3752 |
# not run yet. These depmodes are late enough in the game, and
|
3753 |
# so weak that their functioning should not be impacted.
|
|
3754 |
am__obj=conftest.${OBJEXT-o} |
|
3755 |
am__minus_obj= |
|
3756 |
;;
|
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
3757 |
none) break ;; |
3758 |
esac
|
|
3759 |
if depmode=$depmode \ |
|
1.1.17
by Sebastien Bacher
Import upstream version 0.12.3 |
3760 |
source=sub/conftest.c object=$am__obj \ |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
3761 |
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
1.1.17
by Sebastien Bacher
Import upstream version 0.12.3 |
3762 |
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
3763 |
>/dev/null 2>conftest.err && |
1.1.9
by Sebastien Bacher
Import upstream version 0.11.4 |
3764 |
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
3765 |
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
1.1.17
by Sebastien Bacher
Import upstream version 0.12.3 |
3766 |
grep $am__obj sub/conftest.Po > /dev/null 2>&1 && |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
3767 |
${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
3768 |
# icc doesn't choke on unknown options, it will just issue warnings
|
|
3769 |
# or remarks (even with -Werror). So we grep stderr for any message
|
|
3770 |
# that says an option was ignored or not supported.
|
|
3771 |
# When given -MP, icc 7.0 and 7.1 complain thusly:
|
|
3772 |
# icc: Command line warning: ignoring option '-M'; no argument required
|
|
3773 |
# The diagnosis changed in icc 8.0:
|
|
3774 |
# icc: Command line remark: option '-MP' not supported
|
|
3775 |
if (grep 'ignoring option' conftest.err || |
|
3776 |
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else |
|
3777 |
am_cv_CC_dependencies_compiler_type=$depmode |
|
3778 |
break
|
|
3779 |
fi
|
|
3780 |
fi
|
|
3781 |
done
|
|
3782 |
||
3783 |
cd ..
|
|
3784 |
rm -rf conftest.dir |
|
3785 |
else
|
|
3786 |
am_cv_CC_dependencies_compiler_type=none |
|
3787 |
fi
|
|
3788 |
||
3789 |
fi
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
3790 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
3791 |
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
3792 |
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
3793 |
||
1.1.9
by Sebastien Bacher
Import upstream version 0.11.4 |
3794 |
if
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
3795 |
test "x$enable_dependency_tracking" != xno \ |
3796 |
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then |
|
3797 |
am__fastdepCC_TRUE= |
|
3798 |
am__fastdepCC_FALSE='#' |
|
3799 |
else
|
|
3800 |
am__fastdepCC_TRUE='#' |
|
3801 |
am__fastdepCC_FALSE= |
|
3802 |
fi
|
|
3803 |
||
3804 |
||
3805 |
||
3806 |
ac_ext=c |
|
3807 |
ac_cpp='$CPP $CPPFLAGS' |
|
3808 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
3809 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
3810 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
3811 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
3812 |
$as_echo_n "checking how to run the C preprocessor... " >&6; } |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
3813 |
# On Suns, sometimes $CPP names a directory.
|
3814 |
if test -n "$CPP" && test -d "$CPP"; then |
|
3815 |
CPP= |
|
3816 |
fi
|
|
3817 |
if test -z "$CPP"; then |
|
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
3818 |
if ${ac_cv_prog_CPP+:} false; then : |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
3819 |
$as_echo_n "(cached) " >&6 |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
3820 |
else
|
3821 |
# Double quotes because CPP needs to be expanded
|
|
3822 |
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
|
3823 |
do
|
|
3824 |
ac_preproc_ok=false |
|
3825 |
for ac_c_preproc_warn_flag in '' yes |
|
3826 |
do
|
|
3827 |
# Use a header file that comes with gcc, so configuring glibc
|
|
3828 |
# with a fresh cross-compiler works.
|
|
3829 |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
|
3830 |
# <limits.h> exists even on freestanding compilers.
|
|
3831 |
# On the NeXT, cc -E runs the code through the compiler's parser,
|
|
3832 |
# not just through cpp. "Syntax error" is here to catch this case.
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
3833 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
3834 |
/* end confdefs.h. */
|
3835 |
#ifdef __STDC__
|
|
3836 |
# include <limits.h>
|
|
3837 |
#else
|
|
3838 |
# include <assert.h>
|
|
3839 |
#endif
|
|
3840 |
Syntax error
|
|
3841 |
_ACEOF
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
3842 |
if ac_fn_c_try_cpp "$LINENO"; then : |
3843 |
||
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
3844 |
else
|
3845 |
# Broken: fails on valid input.
|
|
3846 |
continue
|
|
3847 |
fi
|
|
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
3848 |
rm -f conftest.err conftest.i conftest.$ac_ext
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
3849 |
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
3850 |
# OK, works on sane cases. Now check whether nonexistent headers
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
3851 |
# can be detected and how.
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
3852 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
3853 |
/* end confdefs.h. */
|
3854 |
#include <ac_nonexistent.h>
|
|
3855 |
_ACEOF
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
3856 |
if ac_fn_c_try_cpp "$LINENO"; then : |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
3857 |
# Broken: success on invalid input.
|
3858 |
continue
|
|
3859 |
else
|
|
3860 |
# Passes both tests.
|
|
3861 |
ac_preproc_ok=: |
|
3862 |
break
|
|
3863 |
fi
|
|
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
3864 |
rm -f conftest.err conftest.i conftest.$ac_ext
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
3865 |
|
3866 |
done
|
|
3867 |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
|
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
3868 |
rm -f conftest.i conftest.err conftest.$ac_ext
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
3869 |
if $ac_preproc_ok; then : |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
3870 |
break
|
3871 |
fi
|
|
3872 |
||
3873 |
done
|
|
3874 |
ac_cv_prog_CPP=$CPP |
|
3875 |
||
3876 |
fi
|
|
3877 |
CPP=$ac_cv_prog_CPP |
|
3878 |
else
|
|
3879 |
ac_cv_prog_CPP=$CPP |
|
3880 |
fi
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
3881 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
3882 |
$as_echo "$CPP" >&6; } |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
3883 |
ac_preproc_ok=false |
3884 |
for ac_c_preproc_warn_flag in '' yes |
|
3885 |
do
|
|
3886 |
# Use a header file that comes with gcc, so configuring glibc
|
|
3887 |
# with a fresh cross-compiler works.
|
|
3888 |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
|
3889 |
# <limits.h> exists even on freestanding compilers.
|
|
3890 |
# On the NeXT, cc -E runs the code through the compiler's parser,
|
|
3891 |
# not just through cpp. "Syntax error" is here to catch this case.
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
3892 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
3893 |
/* end confdefs.h. */
|
3894 |
#ifdef __STDC__
|
|
3895 |
# include <limits.h>
|
|
3896 |
#else
|
|
3897 |
# include <assert.h>
|
|
3898 |
#endif
|
|
3899 |
Syntax error
|
|
3900 |
_ACEOF
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
3901 |
if ac_fn_c_try_cpp "$LINENO"; then : |
3902 |
||
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
3903 |
else
|
3904 |
# Broken: fails on valid input.
|
|
3905 |
continue
|
|
3906 |
fi
|
|
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
3907 |
rm -f conftest.err conftest.i conftest.$ac_ext
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
3908 |
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
3909 |
# OK, works on sane cases. Now check whether nonexistent headers
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
3910 |
# can be detected and how.
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
3911 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
3912 |
/* end confdefs.h. */
|
3913 |
#include <ac_nonexistent.h>
|
|
3914 |
_ACEOF
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
3915 |
if ac_fn_c_try_cpp "$LINENO"; then : |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
3916 |
# Broken: success on invalid input.
|
3917 |
continue
|
|
3918 |
else
|
|
3919 |
# Passes both tests.
|
|
3920 |
ac_preproc_ok=: |
|
3921 |
break
|
|
3922 |
fi
|
|
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
3923 |
rm -f conftest.err conftest.i conftest.$ac_ext
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
3924 |
|
3925 |
done
|
|
3926 |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
|
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
3927 |
rm -f conftest.i conftest.err conftest.$ac_ext
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
3928 |
if $ac_preproc_ok; then : |
3929 |
||
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
3930 |
else
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
3931 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
1.1.16
by Andreas Moog
Import upstream version 0.12.1 |
3932 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
1.1.20
by Didier Roche
Import upstream version 0.13.2 |
3933 |
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check |
3934 |
See \`config.log' for more details" "$LINENO" 5; } |
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
3935 |
fi
|
3936 |
||
3937 |
ac_ext=c |
|
3938 |
ac_cpp='$CPP $CPPFLAGS' |
|
3939 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
3940 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
3941 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
3942 |
||
3943 |
||
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
3944 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
3945 |
$as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
3946 |
if ${ac_cv_path_GREP+:} false; then : |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
3947 |
$as_echo_n "(cached) " >&6 |
3948 |
else
|
|
3949 |
if test -z "$GREP"; then |
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
3950 |
ac_path_GREP_found=false |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
3951 |
# Loop through the user's path and test for each of PROGNAME-LIST
|
3952 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
3953 |
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
3954 |
do
|
|
3955 |
IFS=$as_save_IFS |
|
3956 |
test -z "$as_dir" && as_dir=. |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
3957 |
for ac_prog in grep ggrep; do |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
3958 |
for ac_exec_ext in '' $ac_executable_extensions; do |
3959 |
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
|
1.1.25
by Sebastien Bacher
Import upstream version 3.6.1 |
3960 |
as_fn_executable_p "$ac_path_GREP" || continue |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
3961 |
# Check for GNU ac_path_GREP and select it if it is found.
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
3962 |
# Check for GNU $ac_path_GREP
|
3963 |
case `"$ac_path_GREP" --version 2>&1` in |
|
3964 |
*GNU*)
|
|
3965 |
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; |
|
3966 |
*)
|
|
3967 |
ac_count=0 |
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
3968 |
$as_echo_n 0123456789 >"conftest.in" |
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
3969 |
while :
|
3970 |
do
|
|
3971 |
cat "conftest.in" "conftest.in" >"conftest.tmp" |
|
3972 |
mv "conftest.tmp" "conftest.in" |
|
3973 |
cp "conftest.in" "conftest.nl" |
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
3974 |
$as_echo 'GREP' >> "conftest.nl" |
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
3975 |
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
3976 |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
3977 |
as_fn_arith $ac_count + 1 && ac_count=$as_val |
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
3978 |
if test $ac_count -gt ${ac_path_GREP_max-0}; then |
3979 |
# Best one so far, save it but keep looking for a better one
|
|
3980 |
ac_cv_path_GREP="$ac_path_GREP" |
|
3981 |
ac_path_GREP_max=$ac_count |
|
3982 |
fi
|
|
3983 |
# 10*(2^10) chars as input seems more than enough
|
|
3984 |
test $ac_count -gt 10 && break |
|
3985 |
done
|
|
3986 |
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
|
|
3987 |
esac
|
|
3988 |
||
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
3989 |
$ac_path_GREP_found && break 3 |
3990 |
done
|
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
3991 |
done
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
3992 |
done
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
3993 |
IFS=$as_save_IFS |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
3994 |
if test -z "$ac_cv_path_GREP"; then |
1.1.20
by Didier Roche
Import upstream version 0.13.2 |
3995 |
as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
3996 |
fi
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
3997 |
else
|
3998 |
ac_cv_path_GREP=$GREP |
|
3999 |
fi
|
|
4000 |
||
4001 |
fi
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
4002 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
4003 |
$as_echo "$ac_cv_path_GREP" >&6; } |
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
4004 |
GREP="$ac_cv_path_GREP" |
4005 |
||
4006 |
||
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
4007 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
4008 |
$as_echo_n "checking for egrep... " >&6; } |
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
4009 |
if ${ac_cv_path_EGREP+:} false; then : |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
4010 |
$as_echo_n "(cached) " >&6 |
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
4011 |
else
|
4012 |
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
|
4013 |
then ac_cv_path_EGREP="$GREP -E" |
|
4014 |
else
|
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
4015 |
if test -z "$EGREP"; then |
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
4016 |
ac_path_EGREP_found=false |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
4017 |
# Loop through the user's path and test for each of PROGNAME-LIST
|
4018 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
4019 |
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
4020 |
do
|
|
4021 |
IFS=$as_save_IFS |
|
4022 |
test -z "$as_dir" && as_dir=. |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
4023 |
for ac_prog in egrep; do |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
4024 |
for ac_exec_ext in '' $ac_executable_extensions; do |
4025 |
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
|
1.1.25
by Sebastien Bacher
Import upstream version 3.6.1 |
4026 |
as_fn_executable_p "$ac_path_EGREP" || continue |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
4027 |
# Check for GNU ac_path_EGREP and select it if it is found.
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
4028 |
# Check for GNU $ac_path_EGREP
|
4029 |
case `"$ac_path_EGREP" --version 2>&1` in |
|
4030 |
*GNU*)
|
|
4031 |
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; |
|
4032 |
*)
|
|
4033 |
ac_count=0 |
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
4034 |
$as_echo_n 0123456789 >"conftest.in" |
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
4035 |
while :
|
4036 |
do
|
|
4037 |
cat "conftest.in" "conftest.in" >"conftest.tmp" |
|
4038 |
mv "conftest.tmp" "conftest.in" |
|
4039 |
cp "conftest.in" "conftest.nl" |
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
4040 |
$as_echo 'EGREP' >> "conftest.nl" |
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
4041 |
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
4042 |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
4043 |
as_fn_arith $ac_count + 1 && ac_count=$as_val |
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
4044 |
if test $ac_count -gt ${ac_path_EGREP_max-0}; then |
4045 |
# Best one so far, save it but keep looking for a better one
|
|
4046 |
ac_cv_path_EGREP="$ac_path_EGREP" |
|
4047 |
ac_path_EGREP_max=$ac_count |
|
4048 |
fi
|
|
4049 |
# 10*(2^10) chars as input seems more than enough
|
|
4050 |
test $ac_count -gt 10 && break |
|
4051 |
done
|
|
4052 |
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
|
|
4053 |
esac
|
|
4054 |
||
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
4055 |
$ac_path_EGREP_found && break 3 |
4056 |
done
|
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
4057 |
done
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
4058 |
done
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
4059 |
IFS=$as_save_IFS |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
4060 |
if test -z "$ac_cv_path_EGREP"; then |
1.1.20
by Didier Roche
Import upstream version 0.13.2 |
4061 |
as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
4062 |
fi
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
4063 |
else
|
4064 |
ac_cv_path_EGREP=$EGREP |
|
4065 |
fi
|
|
4066 |
||
4067 |
fi
|
|
4068 |
fi
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
4069 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
4070 |
$as_echo "$ac_cv_path_EGREP" >&6; } |
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
4071 |
EGREP="$ac_cv_path_EGREP" |
4072 |
||
4073 |
||
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
4074 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
4075 |
$as_echo_n "checking for ANSI C header files... " >&6; } |
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
4076 |
if ${ac_cv_header_stdc+:} false; then : |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
4077 |
$as_echo_n "(cached) " >&6 |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
4078 |
else
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
4079 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
4080 |
/* end confdefs.h. */
|
4081 |
#include <stdlib.h>
|
|
4082 |
#include <stdarg.h>
|
|
4083 |
#include <string.h>
|
|
4084 |
#include <float.h>
|
|
4085 |
||
4086 |
int
|
|
4087 |
main ()
|
|
4088 |
{
|
|
4089 |
||
4090 |
;
|
|
4091 |
return 0;
|
|
4092 |
}
|
|
4093 |
_ACEOF
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
4094 |
if ac_fn_c_try_compile "$LINENO"; then : |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
4095 |
ac_cv_header_stdc=yes |
4096 |
else
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
4097 |
ac_cv_header_stdc=no |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
4098 |
fi
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
4099 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
4100 |
|
4101 |
if test $ac_cv_header_stdc = yes; then |
|
4102 |
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
4103 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
4104 |
/* end confdefs.h. */
|
4105 |
#include <string.h>
|
|
4106 |
||
4107 |
_ACEOF
|
|
4108 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
4109 |
$EGREP "memchr" >/dev/null 2>&1; then : |
4110 |
||
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
4111 |
else
|
4112 |
ac_cv_header_stdc=no |
|
4113 |
fi
|
|
4114 |
rm -f conftest* |
|
4115 |
||
4116 |
fi
|
|
4117 |
||
4118 |
if test $ac_cv_header_stdc = yes; then |
|
4119 |
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
4120 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
4121 |
/* end confdefs.h. */
|
4122 |
#include <stdlib.h>
|
|
4123 |
||
4124 |
_ACEOF
|
|
4125 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
4126 |
$EGREP "free" >/dev/null 2>&1; then : |
4127 |
||
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
4128 |
else
|
4129 |
ac_cv_header_stdc=no |
|
4130 |
fi
|
|
4131 |
rm -f conftest* |
|
4132 |
||
4133 |
fi
|
|
4134 |
||
4135 |
if test $ac_cv_header_stdc = yes; then |
|
4136 |
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
4137 |
if test "$cross_compiling" = yes; then : |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
4138 |
: |
4139 |
else
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
4140 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
4141 |
/* end confdefs.h. */
|
4142 |
#include <ctype.h>
|
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
4143 |
#include <stdlib.h>
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
4144 |
#if ((' ' & 0x0FF) == 0x020)
|
4145 |
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
|
|
4146 |
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
|
|
4147 |
#else
|
|
4148 |
# define ISLOWER(c) \
|
|
4149 |
(('a' <= (c) && (c) <= 'i') \
|
|
4150 |
|| ('j' <= (c) && (c) <= 'r') \
|
|
4151 |
|| ('s' <= (c) && (c) <= 'z'))
|
|
4152 |
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
|
|
4153 |
#endif
|
|
4154 |
||
4155 |
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
|
|
4156 |
int
|
|
4157 |
main ()
|
|
4158 |
{
|
|
4159 |
int i;
|
|
4160 |
for (i = 0; i < 256; i++)
|
|
4161 |
if (XOR (islower (i), ISLOWER (i))
|
|
4162 |
|| toupper (i) != TOUPPER (i))
|
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
4163 |
return 2;
|
4164 |
return 0;
|
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
4165 |
}
|
4166 |
_ACEOF
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
4167 |
if ac_fn_c_try_run "$LINENO"; then : |
4168 |
||
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
4169 |
else
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
4170 |
ac_cv_header_stdc=no |
4171 |
fi
|
|
4172 |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
|
4173 |
conftest.$ac_objext conftest.beam conftest.$ac_ext |
|
4174 |
fi
|
|
4175 |
||
4176 |
fi
|
|
4177 |
fi
|
|
4178 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 |
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
4179 |
$as_echo "$ac_cv_header_stdc" >&6; } |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
4180 |
if test $ac_cv_header_stdc = yes; then |
4181 |
||
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
4182 |
$as_echo "#define STDC_HEADERS 1" >>confdefs.h |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
4183 |
|
4184 |
fi
|
|
4185 |
||
4186 |
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
|
|
4187 |
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
|
4188 |
inttypes.h stdint.h unistd.h |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
4189 |
do :
|
4190 |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
4191 |
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default |
|
4192 |
"
|
|
1.1.20
by Didier Roche
Import upstream version 0.13.2 |
4193 |
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
4194 |
cat >>confdefs.h <<_ACEOF
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
4195 |
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
4196 |
_ACEOF
|
4197 |
||
4198 |
fi
|
|
4199 |
||
4200 |
done
|
|
4201 |
||
4202 |
||
4203 |
||
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
4204 |
for ac_header in locale.h
|
4205 |
do :
|
|
4206 |
ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default" |
|
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
4207 |
if test "x$ac_cv_header_locale_h" = xyes; then : |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
4208 |
cat >>confdefs.h <<_ACEOF
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
4209 |
#define HAVE_LOCALE_H 1
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
4210 |
_ACEOF
|
4211 |
||
4212 |
fi
|
|
4213 |
||
4214 |
done
|
|
4215 |
||
4216 |
if test $ac_cv_header_locale_h = yes; then |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
4217 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
4218 |
$as_echo_n "checking for LC_MESSAGES... " >&6; } |
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
4219 |
if ${am_cv_val_LC_MESSAGES+:} false; then : |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
4220 |
$as_echo_n "(cached) " >&6 |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
4221 |
else
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
4222 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
4223 |
/* end confdefs.h. */
|
4224 |
#include <locale.h>
|
|
4225 |
int
|
|
4226 |
main ()
|
|
4227 |
{
|
|
4228 |
return LC_MESSAGES
|
|
4229 |
;
|
|
4230 |
return 0;
|
|
4231 |
}
|
|
4232 |
_ACEOF
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
4233 |
if ac_fn_c_try_link "$LINENO"; then : |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
4234 |
am_cv_val_LC_MESSAGES=yes |
4235 |
else
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
4236 |
am_cv_val_LC_MESSAGES=no |
4237 |
fi
|
|
4238 |
rm -f core conftest.err conftest.$ac_objext \ |
|
4239 |
conftest$ac_exeext conftest.$ac_ext |
|
4240 |
fi
|
|
4241 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5 |
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
4242 |
$as_echo "$am_cv_val_LC_MESSAGES" >&6; } |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
4243 |
if test $am_cv_val_LC_MESSAGES = yes; then |
4244 |
||
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
4245 |
$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
4246 |
|
4247 |
fi
|
|
4248 |
fi
|
|
1.1.9
by Sebastien Bacher
Import upstream version 0.11.4 |
4249 |
USE_NLS=yes |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
4250 |
|
4251 |
||
4252 |
gt_cv_have_gettext=no |
|
4253 |
||
4254 |
CATOBJEXT=NONE |
|
4255 |
XGETTEXT=: |
|
4256 |
INTLLIBS= |
|
4257 |
||
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
4258 |
ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default" |
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
4259 |
if test "x$ac_cv_header_libintl_h" = xyes; then : |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
4260 |
gt_cv_func_dgettext_libintl="no" |
4261 |
libintl_extra_libs="" |
|
4262 |
||
4263 |
#
|
|
4264 |
# First check in libc
|
|
4265 |
#
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
4266 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
4267 |
$as_echo_n "checking for ngettext in libc... " >&6; } |
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
4268 |
if ${gt_cv_func_ngettext_libc+:} false; then : |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
4269 |
$as_echo_n "(cached) " >&6 |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
4270 |
else
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
4271 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
4272 |
/* end confdefs.h. */
|
4273 |
||
4274 |
#include <libintl.h>
|
|
4275 |
||
4276 |
int
|
|
4277 |
main ()
|
|
4278 |
{
|
|
4279 |
return !ngettext ("","", 1)
|
|
4280 |
;
|
|
4281 |
return 0;
|
|
4282 |
}
|
|
4283 |
_ACEOF
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
4284 |
if ac_fn_c_try_link "$LINENO"; then : |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
4285 |
gt_cv_func_ngettext_libc=yes |
4286 |
else
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
4287 |
gt_cv_func_ngettext_libc=no |
4288 |
fi
|
|
4289 |
rm -f core conftest.err conftest.$ac_objext \ |
|
4290 |
conftest$ac_exeext conftest.$ac_ext |
|
4291 |
||
4292 |
fi
|
|
4293 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5 |
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
4294 |
$as_echo "$gt_cv_func_ngettext_libc" >&6; } |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
4295 |
|
4296 |
if test "$gt_cv_func_ngettext_libc" = "yes" ; then |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
4297 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
4298 |
$as_echo_n "checking for dgettext in libc... " >&6; } |
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
4299 |
if ${gt_cv_func_dgettext_libc+:} false; then : |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
4300 |
$as_echo_n "(cached) " >&6 |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
4301 |
else
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
4302 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
4303 |
/* end confdefs.h. */
|
4304 |
||
4305 |
#include <libintl.h>
|
|
4306 |
||
4307 |
int
|
|
4308 |
main ()
|
|
4309 |
{
|
|
4310 |
return !dgettext ("","")
|
|
4311 |
;
|
|
4312 |
return 0;
|
|
4313 |
}
|
|
4314 |
_ACEOF
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
4315 |
if ac_fn_c_try_link "$LINENO"; then : |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
4316 |
gt_cv_func_dgettext_libc=yes |
4317 |
else
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
4318 |
gt_cv_func_dgettext_libc=no |
4319 |
fi
|
|
4320 |
rm -f core conftest.err conftest.$ac_objext \ |
|
4321 |
conftest$ac_exeext conftest.$ac_ext |
|
4322 |
||
4323 |
fi
|
|
4324 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5 |
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
4325 |
$as_echo "$gt_cv_func_dgettext_libc" >&6; } |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
4326 |
fi
|
4327 |
||
4328 |
if test "$gt_cv_func_ngettext_libc" = "yes" ; then |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
4329 |
for ac_func in bind_textdomain_codeset
|
4330 |
do :
|
|
4331 |
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" |
|
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
4332 |
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
4333 |
cat >>confdefs.h <<_ACEOF
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
4334 |
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
4335 |
_ACEOF
|
4336 |
||
4337 |
fi
|
|
4338 |
done
|
|
4339 |
||
4340 |
fi
|
|
4341 |
||
4342 |
#
|
|
4343 |
# If we don't have everything we want, check in libintl
|
|
4344 |
#
|
|
4345 |
if test "$gt_cv_func_dgettext_libc" != "yes" \ |
|
4346 |
|| test "$gt_cv_func_ngettext_libc" != "yes" \ |
|
4347 |
|| test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then |
|
4348 |
||
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
4349 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
4350 |
$as_echo_n "checking for bindtextdomain in -lintl... " >&6; } |
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
4351 |
if ${ac_cv_lib_intl_bindtextdomain+:} false; then : |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
4352 |
$as_echo_n "(cached) " >&6 |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
4353 |
else
|
4354 |
ac_check_lib_save_LIBS=$LIBS |
|
4355 |
LIBS="-lintl $LIBS" |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
4356 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
4357 |
/* end confdefs.h. */
|
4358 |
||
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
4359 |
/* Override any GCC internal prototype to avoid an error.
|
4360 |
Use char because int might match the return type of a GCC
|
|
4361 |
builtin and then its argument prototype would still apply. */
|
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
4362 |
#ifdef __cplusplus
|
4363 |
extern "C"
|
|
4364 |
#endif
|
|
4365 |
char bindtextdomain ();
|
|
4366 |
int
|
|
4367 |
main ()
|
|
4368 |
{
|
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
4369 |
return bindtextdomain ();
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
4370 |
;
|
4371 |
return 0;
|
|
4372 |
}
|
|
4373 |
_ACEOF
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
4374 |
if ac_fn_c_try_link "$LINENO"; then : |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
4375 |
ac_cv_lib_intl_bindtextdomain=yes |
4376 |
else
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
4377 |
ac_cv_lib_intl_bindtextdomain=no |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
4378 |
fi
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
4379 |
rm -f core conftest.err conftest.$ac_objext \ |
4380 |
conftest$ac_exeext conftest.$ac_ext |
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
4381 |
LIBS=$ac_check_lib_save_LIBS |
4382 |
fi
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
4383 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
4384 |
$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; } |
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
4385 |
if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then : |
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
4386 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
4387 |
$as_echo_n "checking for ngettext in -lintl... " >&6; } |
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
4388 |
if ${ac_cv_lib_intl_ngettext+:} false; then : |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
4389 |
$as_echo_n "(cached) " >&6 |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
4390 |
else
|
4391 |
ac_check_lib_save_LIBS=$LIBS |
|
4392 |
LIBS="-lintl $LIBS" |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
4393 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
4394 |
/* end confdefs.h. */
|
4395 |
||
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
4396 |
/* Override any GCC internal prototype to avoid an error.
|
4397 |
Use char because int might match the return type of a GCC
|
|
4398 |
builtin and then its argument prototype would still apply. */
|
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
4399 |
#ifdef __cplusplus
|
4400 |
extern "C"
|
|
4401 |
#endif
|
|
4402 |
char ngettext ();
|
|
4403 |
int
|
|
4404 |
main ()
|
|
4405 |
{
|
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
4406 |
return ngettext ();
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
4407 |
;
|
4408 |
return 0;
|
|
4409 |
}
|
|
4410 |
_ACEOF
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
4411 |
if ac_fn_c_try_link "$LINENO"; then : |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
4412 |
ac_cv_lib_intl_ngettext=yes |
4413 |
else
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
4414 |
ac_cv_lib_intl_ngettext=no |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
4415 |
fi
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
4416 |
rm -f core conftest.err conftest.$ac_objext \ |
4417 |
conftest$ac_exeext conftest.$ac_ext |
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
4418 |
LIBS=$ac_check_lib_save_LIBS |
4419 |
fi
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
4420 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
4421 |
$as_echo "$ac_cv_lib_intl_ngettext" >&6; } |
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
4422 |
if test "x$ac_cv_lib_intl_ngettext" = xyes; then : |
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
4423 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
4424 |
$as_echo_n "checking for dgettext in -lintl... " >&6; } |
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
4425 |
if ${ac_cv_lib_intl_dgettext+:} false; then : |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
4426 |
$as_echo_n "(cached) " >&6 |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
4427 |
else
|
4428 |
ac_check_lib_save_LIBS=$LIBS |
|
4429 |
LIBS="-lintl $LIBS" |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
4430 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
4431 |
/* end confdefs.h. */
|
4432 |
||
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
4433 |
/* Override any GCC internal prototype to avoid an error.
|
4434 |
Use char because int might match the return type of a GCC
|
|
4435 |
builtin and then its argument prototype would still apply. */
|
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
4436 |
#ifdef __cplusplus
|
4437 |
extern "C"
|
|
4438 |
#endif
|
|
4439 |
char dgettext ();
|
|
4440 |
int
|
|
4441 |
main ()
|
|
4442 |
{
|
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
4443 |
return dgettext ();
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
4444 |
;
|
4445 |
return 0;
|
|
4446 |
}
|
|
4447 |
_ACEOF
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
4448 |
if ac_fn_c_try_link "$LINENO"; then : |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
4449 |
ac_cv_lib_intl_dgettext=yes |
4450 |
else
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
4451 |
ac_cv_lib_intl_dgettext=no |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
4452 |
fi
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
4453 |
rm -f core conftest.err conftest.$ac_objext \ |
4454 |
conftest$ac_exeext conftest.$ac_ext |
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
4455 |
LIBS=$ac_check_lib_save_LIBS |
4456 |
fi
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
4457 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
4458 |
$as_echo "$ac_cv_lib_intl_dgettext" >&6; } |
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
4459 |
if test "x$ac_cv_lib_intl_dgettext" = xyes; then : |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
4460 |
gt_cv_func_dgettext_libintl=yes |
4461 |
fi
|
|
4462 |
||
4463 |
fi
|
|
4464 |
||
4465 |
fi
|
|
4466 |
||
4467 |
||
4468 |
if test "$gt_cv_func_dgettext_libintl" != "yes" ; then |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
4469 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
4470 |
$as_echo_n "checking if -liconv is needed to use gettext... " >&6; } |
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
4471 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
4472 |
$as_echo "" >&6; } |
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
4473 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
4474 |
$as_echo_n "checking for ngettext in -lintl... " >&6; } |
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
4475 |
if ${ac_cv_lib_intl_ngettext+:} false; then : |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
4476 |
$as_echo_n "(cached) " >&6 |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
4477 |
else
|
4478 |
ac_check_lib_save_LIBS=$LIBS |
|
4479 |
LIBS="-lintl -liconv $LIBS" |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
4480 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
4481 |
/* end confdefs.h. */
|
4482 |
||
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
4483 |
/* Override any GCC internal prototype to avoid an error.
|
4484 |
Use char because int might match the return type of a GCC
|
|
4485 |
builtin and then its argument prototype would still apply. */
|
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
4486 |
#ifdef __cplusplus
|
4487 |
extern "C"
|
|
4488 |
#endif
|
|
4489 |
char ngettext ();
|
|
4490 |
int
|
|
4491 |
main ()
|
|
4492 |
{
|
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
4493 |
return ngettext ();
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
4494 |
;
|
4495 |
return 0;
|
|
4496 |
}
|
|
4497 |
_ACEOF
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
4498 |
if ac_fn_c_try_link "$LINENO"; then : |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
4499 |
ac_cv_lib_intl_ngettext=yes |
4500 |
else
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
4501 |
ac_cv_lib_intl_ngettext=no |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
4502 |
fi
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
4503 |
rm -f core conftest.err conftest.$ac_objext \ |
4504 |
conftest$ac_exeext conftest.$ac_ext |
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
4505 |
LIBS=$ac_check_lib_save_LIBS |
4506 |
fi
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
4507 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
4508 |
$as_echo "$ac_cv_lib_intl_ngettext" >&6; } |
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
4509 |
if test "x$ac_cv_lib_intl_ngettext" = xyes; then : |
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
4510 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
4511 |
$as_echo_n "checking for dcgettext in -lintl... " >&6; } |
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
4512 |
if ${ac_cv_lib_intl_dcgettext+:} false; then : |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
4513 |
$as_echo_n "(cached) " >&6 |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
4514 |
else
|
4515 |
ac_check_lib_save_LIBS=$LIBS |
|
4516 |
LIBS="-lintl -liconv $LIBS" |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
4517 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
4518 |
/* end confdefs.h. */
|
4519 |
||
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
4520 |
/* Override any GCC internal prototype to avoid an error.
|
4521 |
Use char because int might match the return type of a GCC
|
|
4522 |
builtin and then its argument prototype would still apply. */
|
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
4523 |
#ifdef __cplusplus
|
4524 |
extern "C"
|
|
4525 |
#endif
|
|
4526 |
char dcgettext ();
|
|
4527 |
int
|
|
4528 |
main ()
|
|
4529 |
{
|
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
4530 |
return dcgettext ();
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
4531 |
;
|
4532 |
return 0;
|
|
4533 |
}
|
|
4534 |
_ACEOF
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
4535 |
if ac_fn_c_try_link "$LINENO"; then : |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
4536 |
ac_cv_lib_intl_dcgettext=yes |
4537 |
else
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
4538 |
ac_cv_lib_intl_dcgettext=no |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
4539 |
fi
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
4540 |
rm -f core conftest.err conftest.$ac_objext \ |
4541 |
conftest$ac_exeext conftest.$ac_ext |
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
4542 |
LIBS=$ac_check_lib_save_LIBS |
4543 |
fi
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
4544 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
4545 |
$as_echo "$ac_cv_lib_intl_dcgettext" >&6; } |
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
4546 |
if test "x$ac_cv_lib_intl_dcgettext" = xyes; then : |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
4547 |
gt_cv_func_dgettext_libintl=yes |
4548 |
libintl_extra_libs=-liconv |
|
4549 |
else
|
|
4550 |
: |
|
4551 |
fi
|
|
4552 |
||
4553 |
else
|
|
4554 |
: |
|
4555 |
fi
|
|
4556 |
||
4557 |
fi
|
|
4558 |
||
4559 |
#
|
|
4560 |
# If we found libintl, then check in it for bind_textdomain_codeset();
|
|
4561 |
# we'll prefer libc if neither have bind_textdomain_codeset(),
|
|
4562 |
# and both have dgettext and ngettext
|
|
4563 |
#
|
|
4564 |
if test "$gt_cv_func_dgettext_libintl" = "yes" ; then |
|
4565 |
glib_save_LIBS="$LIBS" |
|
4566 |
LIBS="$LIBS -lintl $libintl_extra_libs" |
|
4567 |
unset ac_cv_func_bind_textdomain_codeset
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
4568 |
for ac_func in bind_textdomain_codeset
|
4569 |
do :
|
|
4570 |
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" |
|
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
4571 |
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
4572 |
cat >>confdefs.h <<_ACEOF
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
4573 |
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
4574 |
_ACEOF
|
4575 |
||
4576 |
fi
|
|
4577 |
done
|
|
4578 |
||
4579 |
LIBS="$glib_save_LIBS" |
|
4580 |
||
4581 |
if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then |
|
4582 |
gt_cv_func_dgettext_libc=no |
|
4583 |
else
|
|
4584 |
if test "$gt_cv_func_dgettext_libc" = "yes" \ |
|
4585 |
&& test "$gt_cv_func_ngettext_libc" = "yes"; then |
|
4586 |
gt_cv_func_dgettext_libintl=no |
|
4587 |
fi
|
|
4588 |
fi
|
|
4589 |
fi
|
|
4590 |
fi
|
|
4591 |
||
4592 |
if test "$gt_cv_func_dgettext_libc" = "yes" \ |
|
4593 |
|| test "$gt_cv_func_dgettext_libintl" = "yes"; then |
|
4594 |
gt_cv_have_gettext=yes |
|
4595 |
fi
|
|
4596 |
||
4597 |
if test "$gt_cv_func_dgettext_libintl" = "yes"; then |
|
4598 |
INTLLIBS="-lintl $libintl_extra_libs" |
|
4599 |
fi
|
|
4600 |
||
4601 |
if test "$gt_cv_have_gettext" = "yes"; then |
|
4602 |
||
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
4603 |
$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
4604 |
|
4605 |
# Extract the first word of "msgfmt", so it can be a program name with args.
|
|
4606 |
set dummy msgfmt; ac_word=$2 |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
4607 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
4608 |
$as_echo_n "checking for $ac_word... " >&6; } |
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
4609 |
if ${ac_cv_path_MSGFMT+:} false; then : |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
4610 |
$as_echo_n "(cached) " >&6 |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
4611 |
else
|
4612 |
case "$MSGFMT" in |
|
4613 |
/*)
|
|
4614 |
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. |
|
4615 |
;;
|
|
4616 |
*)
|
|
4617 |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
|
4618 |
for ac_dir in $PATH; do |
|
4619 |
test -z "$ac_dir" && ac_dir=. |
|
4620 |
if test -f $ac_dir/$ac_word; then |
|
4621 |
if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then |
|
4622 |
ac_cv_path_MSGFMT="$ac_dir/$ac_word" |
|
4623 |
break
|
|
4624 |
fi
|
|
4625 |
fi
|
|
4626 |
done
|
|
4627 |
IFS="$ac_save_ifs" |
|
4628 |
test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no" |
|
4629 |
;;
|
|
4630 |
esac
|
|
4631 |
fi
|
|
4632 |
MSGFMT="$ac_cv_path_MSGFMT" |
|
4633 |
if test "$MSGFMT" != "no"; then |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
4634 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
4635 |
$as_echo "$MSGFMT" >&6; } |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
4636 |
else
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
4637 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
4638 |
$as_echo "no" >&6; } |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
4639 |
fi
|
4640 |
if test "$MSGFMT" != "no"; then |
|
4641 |
glib_save_LIBS="$LIBS" |
|
4642 |
LIBS="$LIBS $INTLLIBS" |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
4643 |
for ac_func in dcgettext
|
4644 |
do :
|
|
4645 |
ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext" |
|
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
4646 |
if test "x$ac_cv_func_dcgettext" = xyes; then : |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
4647 |
cat >>confdefs.h <<_ACEOF
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
4648 |
#define HAVE_DCGETTEXT 1
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
4649 |
_ACEOF
|
4650 |
||
4651 |
fi
|
|
4652 |
done
|
|
4653 |
||
1.1.9
by Sebastien Bacher
Import upstream version 0.11.4 |
4654 |
MSGFMT_OPTS= |
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
4655 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
4656 |
$as_echo_n "checking if msgfmt accepts -c... " >&6; } |
1.1.9
by Sebastien Bacher
Import upstream version 0.11.4 |
4657 |
cat >conftest.foo <<_ACEOF
|
4658 |
||
4659 |
msgid ""
|
|
4660 |
msgstr ""
|
|
4661 |
"Content-Type: text/plain; charset=UTF-8\n"
|
|
4662 |
"Project-Id-Version: test 1.0\n"
|
|
4663 |
"PO-Revision-Date: 2007-02-15 12:01+0100\n"
|
|
4664 |
"Last-Translator: test <foo@bar.xx>\n"
|
|
4665 |
"Language-Team: C <LL@li.org>\n"
|
|
4666 |
"MIME-Version: 1.0\n"
|
|
4667 |
"Content-Transfer-Encoding: 8bit\n"
|
|
4668 |
||
4669 |
_ACEOF
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
4670 |
if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5 |
1.1.9
by Sebastien Bacher
Import upstream version 0.11.4 |
4671 |
($MSGFMT -c -o /dev/null conftest.foo) 2>&5 |
4672 |
ac_status=$? |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
4673 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
4674 |
test $ac_status = 0; }; then |
|
4675 |
MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
4676 |
$as_echo "yes" >&6; } |
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
4677 |
else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
4678 |
$as_echo "no" >&6; } |
1.1.9
by Sebastien Bacher
Import upstream version 0.11.4 |
4679 |
echo "$as_me: failed input was:" >&5 |
4680 |
sed 's/^/| /' conftest.foo >&5 |
|
4681 |
fi
|
|
4682 |
||
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
4683 |
# Extract the first word of "gmsgfmt", so it can be a program name with args.
|
4684 |
set dummy gmsgfmt; ac_word=$2 |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
4685 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
4686 |
$as_echo_n "checking for $ac_word... " >&6; } |
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
4687 |
if ${ac_cv_path_GMSGFMT+:} false; then : |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
4688 |
$as_echo_n "(cached) " >&6 |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
4689 |
else
|
4690 |
case $GMSGFMT in |
|
4691 |
[\\/]* | ?:[\\/]*) |
|
4692 |
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. |
|
4693 |
;;
|
|
4694 |
*)
|
|
4695 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
4696 |
for as_dir in $PATH |
|
4697 |
do
|
|
4698 |
IFS=$as_save_IFS |
|
4699 |
test -z "$as_dir" && as_dir=. |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
4700 |
for ac_exec_ext in '' $ac_executable_extensions; do |
1.1.25
by Sebastien Bacher
Import upstream version 3.6.1 |
4701 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
4702 |
ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" |
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
4703 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
4704 |
break 2 |
4705 |
fi
|
|
4706 |
done
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
4707 |
done
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
4708 |
IFS=$as_save_IFS |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
4709 |
|
4710 |
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" |
|
4711 |
;;
|
|
4712 |
esac
|
|
4713 |
fi
|
|
4714 |
GMSGFMT=$ac_cv_path_GMSGFMT |
|
4715 |
if test -n "$GMSGFMT"; then |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
4716 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
4717 |
$as_echo "$GMSGFMT" >&6; } |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
4718 |
else
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
4719 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
4720 |
$as_echo "no" >&6; } |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
4721 |
fi
|
4722 |
||
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
4723 |
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
4724 |
# Extract the first word of "xgettext", so it can be a program name with args.
|
4725 |
set dummy xgettext; ac_word=$2 |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
4726 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
4727 |
$as_echo_n "checking for $ac_word... " >&6; } |
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
4728 |
if ${ac_cv_path_XGETTEXT+:} false; then : |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
4729 |
$as_echo_n "(cached) " >&6 |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
4730 |
else
|
4731 |
case "$XGETTEXT" in |
|
4732 |
/*)
|
|
4733 |
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. |
|
4734 |
;;
|
|
4735 |
*)
|
|
4736 |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
|
4737 |
for ac_dir in $PATH; do |
|
4738 |
test -z "$ac_dir" && ac_dir=. |
|
4739 |
if test -f $ac_dir/$ac_word; then |
|
4740 |
if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then |
|
4741 |
ac_cv_path_XGETTEXT="$ac_dir/$ac_word" |
|
4742 |
break
|
|
4743 |
fi
|
|
4744 |
fi
|
|
4745 |
done
|
|
4746 |
IFS="$ac_save_ifs" |
|
4747 |
test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" |
|
4748 |
;;
|
|
4749 |
esac
|
|
4750 |
fi
|
|
4751 |
XGETTEXT="$ac_cv_path_XGETTEXT" |
|
4752 |
if test "$XGETTEXT" != ":"; then |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
4753 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
4754 |
$as_echo "$XGETTEXT" >&6; } |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
4755 |
else
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
4756 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
4757 |
$as_echo "no" >&6; } |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
4758 |
fi
|
4759 |
||
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
4760 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
4761 |
/* end confdefs.h. */
|
4762 |
||
4763 |
int
|
|
4764 |
main ()
|
|
4765 |
{
|
|
4766 |
extern int _nl_msg_cat_cntr;
|
|
4767 |
return _nl_msg_cat_cntr
|
|
4768 |
;
|
|
4769 |
return 0;
|
|
4770 |
}
|
|
4771 |
_ACEOF
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
4772 |
if ac_fn_c_try_link "$LINENO"; then : |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
4773 |
CATOBJEXT=.gmo |
4774 |
DATADIRNAME=share |
|
4775 |
else
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
4776 |
case $host in |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
4777 |
*-*-solaris*)
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
4778 |
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" |
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
4779 |
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
4780 |
CATOBJEXT=.gmo |
4781 |
DATADIRNAME=share |
|
4782 |
else
|
|
4783 |
CATOBJEXT=.mo |
|
4784 |
DATADIRNAME=lib |
|
4785 |
fi
|
|
4786 |
||
4787 |
;;
|
|
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
4788 |
*-*-openbsd*)
|
4789 |
CATOBJEXT=.mo |
|
4790 |
DATADIRNAME=share |
|
4791 |
;;
|
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
4792 |
*)
|
4793 |
CATOBJEXT=.mo |
|
4794 |
DATADIRNAME=lib |
|
4795 |
;;
|
|
4796 |
esac
|
|
4797 |
fi
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
4798 |
rm -f core conftest.err conftest.$ac_objext \ |
4799 |
conftest$ac_exeext conftest.$ac_ext |
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
4800 |
LIBS="$glib_save_LIBS" |
4801 |
INSTOBJEXT=.mo |
|
4802 |
else
|
|
4803 |
gt_cv_have_gettext=no |
|
4804 |
fi
|
|
4805 |
fi
|
|
4806 |
||
4807 |
fi
|
|
4808 |
||
4809 |
||
4810 |
||
4811 |
if test "$gt_cv_have_gettext" = "yes" ; then |
|
4812 |
||
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
4813 |
$as_echo "#define ENABLE_NLS 1" >>confdefs.h |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
4814 |
|
4815 |
fi
|
|
4816 |
||
4817 |
if test "$XGETTEXT" != ":"; then |
|
4818 |
if $XGETTEXT --omit-header /dev/null 2> /dev/null; then |
|
4819 |
: ;
|
|
4820 |
else
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
4821 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
4822 |
$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; } |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
4823 |
XGETTEXT=":" |
4824 |
fi
|
|
4825 |
fi
|
|
4826 |
||
4827 |
# We need to process the po/ directory.
|
|
4828 |
POSUB=po |
|
4829 |
||
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
4830 |
ac_config_commands="$ac_config_commands default-1" |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
4831 |
|
4832 |
||
4833 |
for lang in $ALL_LINGUAS; do |
|
4834 |
GMOFILES="$GMOFILES $lang.gmo" |
|
4835 |
POFILES="$POFILES $lang.po" |
|
4836 |
done
|
|
4837 |
||
4838 |
||
4839 |
||
4840 |
||
4841 |
||
4842 |
||
4843 |
||
4844 |
||
4845 |
||
4846 |
||
4847 |
||
4848 |
||
4849 |
||
4850 |
if test "$gt_cv_have_gettext" = "yes"; then |
|
4851 |
if test "x$ALL_LINGUAS" = "x"; then |
|
4852 |
LINGUAS= |
|
4853 |
else
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
4854 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
4855 |
$as_echo_n "checking for catalogs to be installed... " >&6; } |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
4856 |
NEW_LINGUAS= |
4857 |
for presentlang in $ALL_LINGUAS; do |
|
4858 |
useit=no |
|
4859 |
if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then |
|
4860 |
desiredlanguages="$LINGUAS" |
|
4861 |
else
|
|
4862 |
desiredlanguages="$ALL_LINGUAS" |
|
4863 |
fi
|
|
4864 |
for desiredlang in $desiredlanguages; do |
|
4865 |
# Use the presentlang catalog if desiredlang is
|
|
4866 |
# a. equal to presentlang, or
|
|
4867 |
# b. a variant of presentlang (because in this case,
|
|
4868 |
# presentlang can be used as a fallback for messages
|
|
4869 |
# which are not translated in the desiredlang catalog).
|
|
4870 |
case "$desiredlang" in |
|
4871 |
"$presentlang"*) useit=yes;; |
|
4872 |
esac
|
|
4873 |
done
|
|
4874 |
if test $useit = yes; then |
|
4875 |
NEW_LINGUAS="$NEW_LINGUAS $presentlang" |
|
4876 |
fi
|
|
4877 |
done
|
|
4878 |
LINGUAS=$NEW_LINGUAS |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
4879 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
4880 |
$as_echo "$LINGUAS" >&6; } |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
4881 |
fi
|
4882 |
||
4883 |
if test -n "$LINGUAS"; then |
|
4884 |
for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done |
|
4885 |
fi
|
|
4886 |
fi
|
|
4887 |
||
4888 |
MKINSTALLDIRS= |
|
4889 |
if test -n "$ac_aux_dir"; then |
|
4890 |
MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" |
|
4891 |
fi
|
|
4892 |
if test -z "$MKINSTALLDIRS"; then |
|
4893 |
MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" |
|
4894 |
fi
|
|
4895 |
||
4896 |
||
4897 |
test -d po || mkdir po |
|
4898 |
if test "x$srcdir" != "x."; then |
|
4899 |
if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then |
|
4900 |
posrcprefix="$srcdir/" |
|
4901 |
else
|
|
4902 |
posrcprefix="../$srcdir/" |
|
4903 |
fi
|
|
4904 |
else
|
|
4905 |
posrcprefix="../" |
|
4906 |
fi
|
|
4907 |
rm -f po/POTFILES |
|
4908 |
sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \ |
|
4909 |
< $srcdir/po/POTFILES.in > po/POTFILES
|
|
4910 |
||
4911 |
||
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
4912 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 |
1.1.12
by Sebastien Bacher
Import upstream version 0.11.7 |
4913 |
$as_echo_n "checking whether NLS is requested... " >&6; } |
4914 |
# Check whether --enable-nls was given.
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
4915 |
if test "${enable_nls+set}" = set; then : |
1.1.12
by Sebastien Bacher
Import upstream version 0.11.7 |
4916 |
enableval=$enable_nls; USE_NLS=$enableval |
4917 |
else
|
|
4918 |
USE_NLS=yes |
|
4919 |
fi
|
|
4920 |
||
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
4921 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 |
1.1.12
by Sebastien Bacher
Import upstream version 0.11.7 |
4922 |
$as_echo "$USE_NLS" >&6; } |
4923 |
||
4924 |
||
4925 |
||
4926 |
||
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
4927 |
case "$am__api_version" in |
4928 |
1.01234) |
|
1.1.20
by Didier Roche
Import upstream version 0.13.2 |
4929 |
as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5 |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
4930 |
;;
|
4931 |
*)
|
|
4932 |
;;
|
|
4933 |
esac
|
|
4934 |
||
1.1.12
by Sebastien Bacher
Import upstream version 0.11.7 |
4935 |
if test -n "0.40.0"; then |
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
4936 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.40.0" >&5 |
1.1.12
by Sebastien Bacher
Import upstream version 0.11.7 |
4937 |
$as_echo_n "checking for intltool >= 0.40.0... " >&6; } |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
4938 |
|
1.1.12
by Sebastien Bacher
Import upstream version 0.11.7 |
4939 |
INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.40.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
4940 |
INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3` |
4941 |
INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` |
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
4942 |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
4943 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
4944 |
$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; } |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
4945 |
test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" || |
1.1.20
by Didier Roche
Import upstream version 0.13.2 |
4946 |
as_fn_error $? "Your intltool is too old. You need intltool 0.40.0 or later." "$LINENO" 5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
4947 |
fi
|
4948 |
||
4949 |
# Extract the first word of "intltool-update", so it can be a program name with args.
|
|
4950 |
set dummy intltool-update; ac_word=$2 |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
4951 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
4952 |
$as_echo_n "checking for $ac_word... " >&6; } |
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
4953 |
if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then : |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
4954 |
$as_echo_n "(cached) " >&6 |
4955 |
else
|
|
4956 |
case $INTLTOOL_UPDATE in |
|
4957 |
[\\/]* | ?:[\\/]*) |
|
4958 |
ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path. |
|
4959 |
;;
|
|
4960 |
*)
|
|
4961 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
4962 |
for as_dir in $PATH |
|
4963 |
do
|
|
4964 |
IFS=$as_save_IFS |
|
4965 |
test -z "$as_dir" && as_dir=. |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
4966 |
for ac_exec_ext in '' $ac_executable_extensions; do |
1.1.25
by Sebastien Bacher
Import upstream version 3.6.1 |
4967 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
4968 |
ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext" |
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
4969 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
4970 |
break 2 |
4971 |
fi
|
|
4972 |
done
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
4973 |
done
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
4974 |
IFS=$as_save_IFS |
4975 |
||
4976 |
;;
|
|
4977 |
esac
|
|
4978 |
fi
|
|
4979 |
INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE |
|
4980 |
if test -n "$INTLTOOL_UPDATE"; then |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
4981 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
4982 |
$as_echo "$INTLTOOL_UPDATE" >&6; } |
4983 |
else
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
4984 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
4985 |
$as_echo "no" >&6; } |
4986 |
fi
|
|
4987 |
||
4988 |
||
4989 |
# Extract the first word of "intltool-merge", so it can be a program name with args.
|
|
4990 |
set dummy intltool-merge; ac_word=$2 |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
4991 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
4992 |
$as_echo_n "checking for $ac_word... " >&6; } |
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
4993 |
if ${ac_cv_path_INTLTOOL_MERGE+:} false; then : |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
4994 |
$as_echo_n "(cached) " >&6 |
4995 |
else
|
|
4996 |
case $INTLTOOL_MERGE in |
|
4997 |
[\\/]* | ?:[\\/]*) |
|
4998 |
ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path. |
|
4999 |
;;
|
|
5000 |
*)
|
|
5001 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
5002 |
for as_dir in $PATH |
|
5003 |
do
|
|
5004 |
IFS=$as_save_IFS |
|
5005 |
test -z "$as_dir" && as_dir=. |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
5006 |
for ac_exec_ext in '' $ac_executable_extensions; do |
1.1.25
by Sebastien Bacher
Import upstream version 3.6.1 |
5007 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
5008 |
ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext" |
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
5009 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
5010 |
break 2 |
5011 |
fi
|
|
5012 |
done
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
5013 |
done
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
5014 |
IFS=$as_save_IFS |
5015 |
||
5016 |
;;
|
|
5017 |
esac
|
|
5018 |
fi
|
|
5019 |
INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE |
|
5020 |
if test -n "$INTLTOOL_MERGE"; then |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
5021 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
5022 |
$as_echo "$INTLTOOL_MERGE" >&6; } |
5023 |
else
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
5024 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
5025 |
$as_echo "no" >&6; } |
5026 |
fi
|
|
5027 |
||
5028 |
||
5029 |
# Extract the first word of "intltool-extract", so it can be a program name with args.
|
|
5030 |
set dummy intltool-extract; ac_word=$2 |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
5031 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
5032 |
$as_echo_n "checking for $ac_word... " >&6; } |
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
5033 |
if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then : |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
5034 |
$as_echo_n "(cached) " >&6 |
5035 |
else
|
|
5036 |
case $INTLTOOL_EXTRACT in |
|
5037 |
[\\/]* | ?:[\\/]*) |
|
5038 |
ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path. |
|
5039 |
;;
|
|
5040 |
*)
|
|
5041 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
5042 |
for as_dir in $PATH |
|
5043 |
do
|
|
5044 |
IFS=$as_save_IFS |
|
5045 |
test -z "$as_dir" && as_dir=. |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
5046 |
for ac_exec_ext in '' $ac_executable_extensions; do |
1.1.25
by Sebastien Bacher
Import upstream version 3.6.1 |
5047 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
5048 |
ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext" |
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
5049 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
5050 |
break 2 |
5051 |
fi
|
|
5052 |
done
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
5053 |
done
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
5054 |
IFS=$as_save_IFS |
5055 |
||
5056 |
;;
|
|
5057 |
esac
|
|
5058 |
fi
|
|
5059 |
INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT |
|
5060 |
if test -n "$INTLTOOL_EXTRACT"; then |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
5061 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
5062 |
$as_echo "$INTLTOOL_EXTRACT" >&6; } |
5063 |
else
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
5064 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
5065 |
$as_echo "no" >&6; } |
5066 |
fi
|
|
5067 |
||
5068 |
||
5069 |
if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then |
|
1.1.20
by Didier Roche
Import upstream version 0.13.2 |
5070 |
as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5 |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
5071 |
fi
|
5072 |
||
5073 |
INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' |
|
5074 |
INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' |
|
5075 |
INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' |
|
5076 |
INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' |
|
5077 |
INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@' |
|
5078 |
INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' |
|
5079 |
INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' |
|
5080 |
INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' |
|
5081 |
INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' |
|
5082 |
INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' |
|
5083 |
INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' |
|
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
5084 |
INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u --no-translations $< $@' |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
5085 |
INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' |
5086 |
INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' |
|
5087 |
INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' |
|
5088 |
INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' |
|
5089 |
INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' |
|
5090 |
INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' |
|
1.1.9
by Sebastien Bacher
Import upstream version 0.11.4 |
5091 |
INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' |
5092 |
||
5093 |
||
5094 |
||
5095 |
||
5096 |
||
5097 |
||
5098 |
||
5099 |
||
5100 |
||
5101 |
||
5102 |
||
5103 |
||
5104 |
||
5105 |
||
5106 |
||
5107 |
||
5108 |
||
5109 |
||
5110 |
||
5111 |
||
5112 |
||
1.1.17
by Sebastien Bacher
Import upstream version 0.12.3 |
5113 |
|
5114 |
||
5115 |
||
5116 |
||
5117 |
||
5118 |
||
5119 |
||
5120 |
||
5121 |
||
5122 |
||
5123 |
||
5124 |
||
5125 |
||
5126 |
||
5127 |
||
5128 |
||
5129 |
||
5130 |
||
5131 |
||
5132 |
||
5133 |
||
5134 |
||
5135 |
||
5136 |
||
5137 |
||
5138 |
||
5139 |
||
5140 |
||
5141 |
||
5142 |
||
5143 |
||
5144 |
||
5145 |
||
5146 |
||
5147 |
||
5148 |
||
5149 |
||
5150 |
||
5151 |
||
5152 |
||
5153 |
||
5154 |
||
5155 |
||
5156 |
||
5157 |
||
5158 |
||
5159 |
||
5160 |
||
5161 |
||
5162 |
||
5163 |
||
5164 |
||
5165 |
||
5166 |
||
5167 |
||
5168 |
||
5169 |
||
5170 |
||
5171 |
||
5172 |
||
5173 |
||
5174 |
||
5175 |
||
5176 |
||
5177 |
||
5178 |
||
5179 |
||
5180 |
||
5181 |
||
5182 |
||
5183 |
||
5184 |
||
5185 |
||
5186 |
||
5187 |
||
5188 |
||
1.1.9
by Sebastien Bacher
Import upstream version 0.11.4 |
5189 |
# Check the gettext tools to make sure they are GNU
|
5190 |
# Extract the first word of "xgettext", so it can be a program name with args.
|
|
5191 |
set dummy xgettext; ac_word=$2 |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
5192 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
5193 |
$as_echo_n "checking for $ac_word... " >&6; } |
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
5194 |
if ${ac_cv_path_XGETTEXT+:} false; then : |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
5195 |
$as_echo_n "(cached) " >&6 |
1.1.9
by Sebastien Bacher
Import upstream version 0.11.4 |
5196 |
else
|
5197 |
case $XGETTEXT in |
|
5198 |
[\\/]* | ?:[\\/]*) |
|
5199 |
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. |
|
5200 |
;;
|
|
5201 |
*)
|
|
5202 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
5203 |
for as_dir in $PATH |
|
5204 |
do
|
|
5205 |
IFS=$as_save_IFS |
|
5206 |
test -z "$as_dir" && as_dir=. |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
5207 |
for ac_exec_ext in '' $ac_executable_extensions; do |
1.1.25
by Sebastien Bacher
Import upstream version 3.6.1 |
5208 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1.1.9
by Sebastien Bacher
Import upstream version 0.11.4 |
5209 |
ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext" |
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
5210 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1.1.9
by Sebastien Bacher
Import upstream version 0.11.4 |
5211 |
break 2 |
5212 |
fi
|
|
5213 |
done
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
5214 |
done
|
1.1.9
by Sebastien Bacher
Import upstream version 0.11.4 |
5215 |
IFS=$as_save_IFS |
5216 |
||
5217 |
;;
|
|
5218 |
esac
|
|
5219 |
fi
|
|
5220 |
XGETTEXT=$ac_cv_path_XGETTEXT |
|
5221 |
if test -n "$XGETTEXT"; then |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
5222 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
5223 |
$as_echo "$XGETTEXT" >&6; } |
1.1.9
by Sebastien Bacher
Import upstream version 0.11.4 |
5224 |
else
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
5225 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
5226 |
$as_echo "no" >&6; } |
1.1.9
by Sebastien Bacher
Import upstream version 0.11.4 |
5227 |
fi
|
5228 |
||
5229 |
||
5230 |
# Extract the first word of "msgmerge", so it can be a program name with args.
|
|
5231 |
set dummy msgmerge; ac_word=$2 |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
5232 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
5233 |
$as_echo_n "checking for $ac_word... " >&6; } |
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
5234 |
if ${ac_cv_path_MSGMERGE+:} false; then : |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
5235 |
$as_echo_n "(cached) " >&6 |
1.1.9
by Sebastien Bacher
Import upstream version 0.11.4 |
5236 |
else
|
5237 |
case $MSGMERGE in |
|
5238 |
[\\/]* | ?:[\\/]*) |
|
5239 |
ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. |
|
5240 |
;;
|
|
5241 |
*)
|
|
5242 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
5243 |
for as_dir in $PATH |
|
5244 |
do
|
|
5245 |
IFS=$as_save_IFS |
|
5246 |
test -z "$as_dir" && as_dir=. |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
5247 |
for ac_exec_ext in '' $ac_executable_extensions; do |
1.1.25
by Sebastien Bacher
Import upstream version 3.6.1 |
5248 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1.1.9
by Sebastien Bacher
Import upstream version 0.11.4 |
5249 |
ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext" |
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
5250 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1.1.9
by Sebastien Bacher
Import upstream version 0.11.4 |
5251 |
break 2 |
5252 |
fi
|
|
5253 |
done
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
5254 |
done
|
1.1.9
by Sebastien Bacher
Import upstream version 0.11.4 |
5255 |
IFS=$as_save_IFS |
5256 |
||
5257 |
;;
|
|
5258 |
esac
|
|
5259 |
fi
|
|
5260 |
MSGMERGE=$ac_cv_path_MSGMERGE |
|
5261 |
if test -n "$MSGMERGE"; then |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
5262 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
5263 |
$as_echo "$MSGMERGE" >&6; } |
1.1.9
by Sebastien Bacher
Import upstream version 0.11.4 |
5264 |
else
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
5265 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
5266 |
$as_echo "no" >&6; } |
1.1.9
by Sebastien Bacher
Import upstream version 0.11.4 |
5267 |
fi
|
5268 |
||
5269 |
||
5270 |
# Extract the first word of "msgfmt", so it can be a program name with args.
|
|
5271 |
set dummy msgfmt; ac_word=$2 |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
5272 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
5273 |
$as_echo_n "checking for $ac_word... " >&6; } |
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
5274 |
if ${ac_cv_path_MSGFMT+:} false; then : |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
5275 |
$as_echo_n "(cached) " >&6 |
1.1.9
by Sebastien Bacher
Import upstream version 0.11.4 |
5276 |
else
|
5277 |
case $MSGFMT in |
|
5278 |
[\\/]* | ?:[\\/]*) |
|
5279 |
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. |
|
5280 |
;;
|
|
5281 |
*)
|
|
5282 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
5283 |
for as_dir in $PATH |
|
5284 |
do
|
|
5285 |
IFS=$as_save_IFS |
|
5286 |
test -z "$as_dir" && as_dir=. |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
5287 |
for ac_exec_ext in '' $ac_executable_extensions; do |
1.1.25
by Sebastien Bacher
Import upstream version 3.6.1 |
5288 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1.1.9
by Sebastien Bacher
Import upstream version 0.11.4 |
5289 |
ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext" |
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
5290 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1.1.9
by Sebastien Bacher
Import upstream version 0.11.4 |
5291 |
break 2 |
5292 |
fi
|
|
5293 |
done
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
5294 |
done
|
1.1.9
by Sebastien Bacher
Import upstream version 0.11.4 |
5295 |
IFS=$as_save_IFS |
5296 |
||
5297 |
;;
|
|
5298 |
esac
|
|
5299 |
fi
|
|
5300 |
MSGFMT=$ac_cv_path_MSGFMT |
|
5301 |
if test -n "$MSGFMT"; then |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
5302 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
5303 |
$as_echo "$MSGFMT" >&6; } |
1.1.9
by Sebastien Bacher
Import upstream version 0.11.4 |
5304 |
else
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
5305 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
5306 |
$as_echo "no" >&6; } |
1.1.9
by Sebastien Bacher
Import upstream version 0.11.4 |
5307 |
fi
|
5308 |
||
5309 |
||
1.1.12
by Sebastien Bacher
Import upstream version 0.11.7 |
5310 |
# Extract the first word of "gmsgfmt", so it can be a program name with args.
|
5311 |
set dummy gmsgfmt; ac_word=$2 |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
5312 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1.1.12
by Sebastien Bacher
Import upstream version 0.11.7 |
5313 |
$as_echo_n "checking for $ac_word... " >&6; } |
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
5314 |
if ${ac_cv_path_GMSGFMT+:} false; then : |
1.1.12
by Sebastien Bacher
Import upstream version 0.11.7 |
5315 |
$as_echo_n "(cached) " >&6 |
5316 |
else
|
|
5317 |
case $GMSGFMT in |
|
5318 |
[\\/]* | ?:[\\/]*) |
|
5319 |
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. |
|
5320 |
;;
|
|
5321 |
*)
|
|
5322 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
5323 |
for as_dir in $PATH |
|
5324 |
do
|
|
5325 |
IFS=$as_save_IFS |
|
5326 |
test -z "$as_dir" && as_dir=. |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
5327 |
for ac_exec_ext in '' $ac_executable_extensions; do |
1.1.25
by Sebastien Bacher
Import upstream version 3.6.1 |
5328 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1.1.12
by Sebastien Bacher
Import upstream version 0.11.7 |
5329 |
ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" |
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
5330 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1.1.12
by Sebastien Bacher
Import upstream version 0.11.7 |
5331 |
break 2 |
5332 |
fi
|
|
5333 |
done
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
5334 |
done
|
1.1.12
by Sebastien Bacher
Import upstream version 0.11.7 |
5335 |
IFS=$as_save_IFS |
5336 |
||
5337 |
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" |
|
5338 |
;;
|
|
5339 |
esac
|
|
5340 |
fi
|
|
5341 |
GMSGFMT=$ac_cv_path_GMSGFMT |
|
5342 |
if test -n "$GMSGFMT"; then |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
5343 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 |
1.1.12
by Sebastien Bacher
Import upstream version 0.11.7 |
5344 |
$as_echo "$GMSGFMT" >&6; } |
5345 |
else
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
5346 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
1.1.12
by Sebastien Bacher
Import upstream version 0.11.7 |
5347 |
$as_echo "no" >&6; } |
5348 |
fi
|
|
5349 |
||
5350 |
||
1.1.9
by Sebastien Bacher
Import upstream version 0.11.4 |
5351 |
if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then |
1.1.20
by Didier Roche
Import upstream version 0.13.2 |
5352 |
as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5 |
1.1.9
by Sebastien Bacher
Import upstream version 0.11.4 |
5353 |
fi
|
5354 |
xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`" |
|
5355 |
mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`" |
|
5356 |
mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`" |
|
5357 |
if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then |
|
1.1.20
by Didier Roche
Import upstream version 0.13.2 |
5358 |
as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5 |
1.1.9
by Sebastien Bacher
Import upstream version 0.11.4 |
5359 |
fi
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
5360 |
|
5361 |
# Extract the first word of "perl", so it can be a program name with args.
|
|
5362 |
set dummy perl; ac_word=$2 |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
5363 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
5364 |
$as_echo_n "checking for $ac_word... " >&6; } |
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
5365 |
if ${ac_cv_path_INTLTOOL_PERL+:} false; then : |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
5366 |
$as_echo_n "(cached) " >&6 |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
5367 |
else
|
5368 |
case $INTLTOOL_PERL in |
|
5369 |
[\\/]* | ?:[\\/]*) |
|
5370 |
ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path. |
|
5371 |
;;
|
|
5372 |
*)
|
|
5373 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
5374 |
for as_dir in $PATH |
|
5375 |
do
|
|
5376 |
IFS=$as_save_IFS |
|
5377 |
test -z "$as_dir" && as_dir=. |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
5378 |
for ac_exec_ext in '' $ac_executable_extensions; do |
1.1.25
by Sebastien Bacher
Import upstream version 3.6.1 |
5379 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
5380 |
ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext" |
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
5381 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
5382 |
break 2 |
5383 |
fi
|
|
5384 |
done
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
5385 |
done
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
5386 |
IFS=$as_save_IFS |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
5387 |
|
5388 |
;;
|
|
5389 |
esac
|
|
5390 |
fi
|
|
5391 |
INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL |
|
5392 |
if test -n "$INTLTOOL_PERL"; then |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
5393 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
5394 |
$as_echo "$INTLTOOL_PERL" >&6; } |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
5395 |
else
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
5396 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
5397 |
$as_echo "no" >&6; } |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
5398 |
fi
|
5399 |
||
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
5400 |
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
5401 |
if test -z "$INTLTOOL_PERL"; then |
1.1.20
by Didier Roche
Import upstream version 0.13.2 |
5402 |
as_fn_error $? "perl not found" "$LINENO" 5 |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
5403 |
fi
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
5404 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5 |
1.1.17
by Sebastien Bacher
Import upstream version 0.12.3 |
5405 |
$as_echo_n "checking for perl >= 5.8.1... " >&6; } |
5406 |
$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1 |
|
5407 |
if test $? -ne 0; then |
|
1.1.20
by Didier Roche
Import upstream version 0.13.2 |
5408 |
as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5 |
1.1.17
by Sebastien Bacher
Import upstream version 0.12.3 |
5409 |
else
|
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
5410 |
IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"` |
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
5411 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5 |
1.1.17
by Sebastien Bacher
Import upstream version 0.12.3 |
5412 |
$as_echo "$IT_PERL_VERSION" >&6; } |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
5413 |
fi
|
5414 |
if test "x" != "xno-xml"; then |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
5415 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
5416 |
$as_echo_n "checking for XML::Parser... " >&6; } |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
5417 |
if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then |
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
5418 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
5419 |
$as_echo "ok" >&6; } |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
5420 |
else
|
1.1.20
by Didier Roche
Import upstream version 0.13.2 |
5421 |
as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5 |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
5422 |
fi
|
5423 |
fi
|
|
5424 |
||
5425 |
# Substitute ALL_LINGUAS so we can use it in po/Makefile
|
|
5426 |
||
5427 |
||
1.1.9
by Sebastien Bacher
Import upstream version 0.11.4 |
5428 |
# Set DATADIRNAME correctly if it is not set yet
|
5429 |
# (copied from glib-gettext.m4)
|
|
5430 |
if test -z "$DATADIRNAME"; then |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
5431 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
1.1.9
by Sebastien Bacher
Import upstream version 0.11.4 |
5432 |
/* end confdefs.h. */
|
5433 |
||
5434 |
int
|
|
5435 |
main ()
|
|
5436 |
{
|
|
5437 |
extern int _nl_msg_cat_cntr;
|
|
5438 |
return _nl_msg_cat_cntr
|
|
5439 |
;
|
|
5440 |
return 0;
|
|
5441 |
}
|
|
5442 |
_ACEOF
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
5443 |
if ac_fn_c_try_link "$LINENO"; then : |
1.1.9
by Sebastien Bacher
Import upstream version 0.11.4 |
5444 |
DATADIRNAME=share |
5445 |
else
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
5446 |
case $host in |
1.1.9
by Sebastien Bacher
Import upstream version 0.11.4 |
5447 |
*-*-solaris*)
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
5448 |
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" |
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
5449 |
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : |
1.1.9
by Sebastien Bacher
Import upstream version 0.11.4 |
5450 |
DATADIRNAME=share |
5451 |
else
|
|
5452 |
DATADIRNAME=lib |
|
5453 |
fi
|
|
5454 |
||
5455 |
;;
|
|
5456 |
*)
|
|
5457 |
DATADIRNAME=lib |
|
5458 |
;;
|
|
5459 |
esac
|
|
5460 |
fi
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
5461 |
rm -f core conftest.err conftest.$ac_objext \ |
5462 |
conftest$ac_exeext conftest.$ac_ext |
|
1.1.9
by Sebastien Bacher
Import upstream version 0.11.4 |
5463 |
fi
|
5464 |
||
5465 |
||
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
5466 |
|
5467 |
||
5468 |
||
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
5469 |
|
5470 |
||
5471 |
||
5472 |
_python_save="$PYTHON" |
|
5473 |
||
5474 |
||
5475 |
||
5476 |
if test -z "$PYTHON"; then |
|
1.1.20
by Didier Roche
Import upstream version 0.13.2 |
5477 |
# Extract the first word of "python2.7", so it can be a program name with args.
|
5478 |
set dummy python2.7; ac_word=$2 |
|
5479 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
5480 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
5481 |
if ${ac_cv_path_PYTHON2_7+:} false; then : |
1.1.20
by Didier Roche
Import upstream version 0.13.2 |
5482 |
$as_echo_n "(cached) " >&6 |
5483 |
else
|
|
5484 |
case $PYTHON2_7 in |
|
5485 |
[\\/]* | ?:[\\/]*) |
|
5486 |
ac_cv_path_PYTHON2_7="$PYTHON2_7" # Let the user override the test with a path. |
|
5487 |
;;
|
|
5488 |
*)
|
|
5489 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
5490 |
for as_dir in $PATH |
|
5491 |
do
|
|
5492 |
IFS=$as_save_IFS |
|
5493 |
test -z "$as_dir" && as_dir=. |
|
5494 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
1.1.25
by Sebastien Bacher
Import upstream version 3.6.1 |
5495 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1.1.20
by Didier Roche
Import upstream version 0.13.2 |
5496 |
ac_cv_path_PYTHON2_7="$as_dir/$ac_word$ac_exec_ext" |
5497 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
5498 |
break 2 |
|
5499 |
fi
|
|
5500 |
done
|
|
5501 |
done
|
|
5502 |
IFS=$as_save_IFS |
|
5503 |
||
5504 |
;;
|
|
5505 |
esac
|
|
5506 |
fi
|
|
5507 |
PYTHON2_7=$ac_cv_path_PYTHON2_7 |
|
5508 |
if test -n "$PYTHON2_7"; then |
|
5509 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON2_7" >&5 |
|
5510 |
$as_echo "$PYTHON2_7" >&6; } |
|
5511 |
else
|
|
5512 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
5513 |
$as_echo "no" >&6; } |
|
5514 |
fi
|
|
5515 |
||
5516 |
||
5517 |
else
|
|
5518 |
PYTHON2_7="$PYTHON" |
|
5519 |
fi
|
|
5520 |
||
5521 |
PYTHON="$PYTHON2_7" |
|
5522 |
||
5523 |
||
5524 |
if test -n "$PYTHON"; then |
|
5525 |
||
5526 |
||
5527 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version is >= 2.7.0" >&5 |
|
5528 |
$as_echo_n "checking whether $PYTHON version is >= 2.7.0... " >&6; } |
|
5529 |
prog="import sys |
|
5530 |
# split strings by '.' and convert to numeric. Append some zeros
|
|
5531 |
# because we need at least 4 digits for the hex conversion.
|
|
5532 |
# map returns an iterator in Python 3.0 and a list in 2.x
|
|
5533 |
minver = list(map(int, '2.7.0'.split('.'))) + [0, 0, 0]
|
|
5534 |
minverhex = 0
|
|
5535 |
# xrange is not present in Python 3.0 and range returns an iterator
|
|
5536 |
for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
|
|
5537 |
sys.exit(sys.hexversion < minverhex)"
|
|
5538 |
if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5 |
|
5539 |
($PYTHON -c "$prog") >&5 2>&5 |
|
5540 |
ac_status=$? |
|
5541 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
5542 |
(exit $ac_status); }; then : |
|
5543 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
5544 |
$as_echo "yes" >&6; } |
|
5545 |
else
|
|
5546 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
5547 |
$as_echo "no" >&6; }; PYTHON="" |
|
5548 |
fi
|
|
5549 |
||
5550 |
||
5551 |
fi
|
|
5552 |
||
5553 |
if test -z "$PYTHON"; then |
|
5554 |
||
5555 |
PYTHON="$_python_save" |
|
5556 |
||
5557 |
||
5558 |
_python_save="$PYTHON" |
|
5559 |
||
5560 |
||
5561 |
||
5562 |
if test -z "$PYTHON"; then |
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
5563 |
# Extract the first word of "python2.6", so it can be a program name with args.
|
5564 |
set dummy python2.6; ac_word=$2 |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
5565 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
5566 |
$as_echo_n "checking for $ac_word... " >&6; } |
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
5567 |
if ${ac_cv_path_PYTHON2_6+:} false; then : |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
5568 |
$as_echo_n "(cached) " >&6 |
5569 |
else
|
|
5570 |
case $PYTHON2_6 in |
|
5571 |
[\\/]* | ?:[\\/]*) |
|
5572 |
ac_cv_path_PYTHON2_6="$PYTHON2_6" # Let the user override the test with a path. |
|
5573 |
;;
|
|
5574 |
*)
|
|
5575 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
5576 |
for as_dir in $PATH |
|
5577 |
do
|
|
5578 |
IFS=$as_save_IFS |
|
5579 |
test -z "$as_dir" && as_dir=. |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
5580 |
for ac_exec_ext in '' $ac_executable_extensions; do |
1.1.25
by Sebastien Bacher
Import upstream version 3.6.1 |
5581 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
5582 |
ac_cv_path_PYTHON2_6="$as_dir/$ac_word$ac_exec_ext" |
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
5583 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
5584 |
break 2 |
5585 |
fi
|
|
5586 |
done
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
5587 |
done
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
5588 |
IFS=$as_save_IFS |
5589 |
||
5590 |
;;
|
|
5591 |
esac
|
|
5592 |
fi
|
|
5593 |
PYTHON2_6=$ac_cv_path_PYTHON2_6 |
|
5594 |
if test -n "$PYTHON2_6"; then |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
5595 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON2_6" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
5596 |
$as_echo "$PYTHON2_6" >&6; } |
5597 |
else
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
5598 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
5599 |
$as_echo "no" >&6; } |
5600 |
fi
|
|
5601 |
||
5602 |
||
5603 |
else
|
|
5604 |
PYTHON2_6="$PYTHON" |
|
5605 |
fi
|
|
5606 |
||
5607 |
PYTHON="$PYTHON2_6" |
|
5608 |
||
5609 |
||
5610 |
if test -n "$PYTHON"; then |
|
5611 |
||
5612 |
||
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
5613 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version is >= 2.6.0" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
5614 |
$as_echo_n "checking whether $PYTHON version is >= 2.6.0... " >&6; } |
1.1.17
by Sebastien Bacher
Import upstream version 0.12.3 |
5615 |
prog="import sys |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
5616 |
# split strings by '.' and convert to numeric. Append some zeros
|
5617 |
# because we need at least 4 digits for the hex conversion.
|
|
1.1.17
by Sebastien Bacher
Import upstream version 0.12.3 |
5618 |
# map returns an iterator in Python 3.0 and a list in 2.x
|
5619 |
minver = list(map(int, '2.6.0'.split('.'))) + [0, 0, 0]
|
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
5620 |
minverhex = 0
|
1.1.17
by Sebastien Bacher
Import upstream version 0.12.3 |
5621 |
# xrange is not present in Python 3.0 and range returns an iterator
|
5622 |
for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
|
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
5623 |
sys.exit(sys.hexversion < minverhex)"
|
5624 |
if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5 |
|
5625 |
($PYTHON -c "$prog") >&5 2>&5 |
|
5626 |
ac_status=$? |
|
5627 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
5628 |
(exit $ac_status); }; then : |
5629 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
5630 |
$as_echo "yes" >&6; } |
5631 |
else
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
5632 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
5633 |
$as_echo "no" >&6; }; PYTHON="" |
5634 |
fi
|
|
5635 |
||
5636 |
||
5637 |
fi
|
|
5638 |
||
5639 |
if test -z "$PYTHON"; then |
|
5640 |
||
5641 |
PYTHON="$_python_save" |
|
5642 |
||
5643 |
||
5644 |
_python_save="$PYTHON" |
|
5645 |
||
5646 |
||
5647 |
||
5648 |
if test -z "$PYTHON"; then |
|
5649 |
# Extract the first word of "python2.5", so it can be a program name with args.
|
|
5650 |
set dummy python2.5; ac_word=$2 |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
5651 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
5652 |
$as_echo_n "checking for $ac_word... " >&6; } |
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
5653 |
if ${ac_cv_path_PYTHON2_5+:} false; then : |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
5654 |
$as_echo_n "(cached) " >&6 |
5655 |
else
|
|
5656 |
case $PYTHON2_5 in |
|
5657 |
[\\/]* | ?:[\\/]*) |
|
5658 |
ac_cv_path_PYTHON2_5="$PYTHON2_5" # Let the user override the test with a path. |
|
5659 |
;;
|
|
5660 |
*)
|
|
5661 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
5662 |
for as_dir in $PATH |
|
5663 |
do
|
|
5664 |
IFS=$as_save_IFS |
|
5665 |
test -z "$as_dir" && as_dir=. |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
5666 |
for ac_exec_ext in '' $ac_executable_extensions; do |
1.1.25
by Sebastien Bacher
Import upstream version 3.6.1 |
5667 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
5668 |
ac_cv_path_PYTHON2_5="$as_dir/$ac_word$ac_exec_ext" |
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
5669 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
5670 |
break 2 |
5671 |
fi
|
|
5672 |
done
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
5673 |
done
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
5674 |
IFS=$as_save_IFS |
5675 |
||
5676 |
;;
|
|
5677 |
esac
|
|
5678 |
fi
|
|
5679 |
PYTHON2_5=$ac_cv_path_PYTHON2_5 |
|
5680 |
if test -n "$PYTHON2_5"; then |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
5681 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON2_5" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
5682 |
$as_echo "$PYTHON2_5" >&6; } |
5683 |
else
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
5684 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
5685 |
$as_echo "no" >&6; } |
5686 |
fi
|
|
5687 |
||
5688 |
||
5689 |
else
|
|
5690 |
PYTHON2_5="$PYTHON" |
|
5691 |
fi
|
|
5692 |
||
5693 |
PYTHON="$PYTHON2_5" |
|
5694 |
||
5695 |
||
5696 |
if test -n "$PYTHON"; then |
|
5697 |
||
5698 |
||
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
5699 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version is >= 2.5.0" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
5700 |
$as_echo_n "checking whether $PYTHON version is >= 2.5.0... " >&6; } |
1.1.17
by Sebastien Bacher
Import upstream version 0.12.3 |
5701 |
prog="import sys |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
5702 |
# split strings by '.' and convert to numeric. Append some zeros
|
5703 |
# because we need at least 4 digits for the hex conversion.
|
|
1.1.17
by Sebastien Bacher
Import upstream version 0.12.3 |
5704 |
# map returns an iterator in Python 3.0 and a list in 2.x
|
5705 |
minver = list(map(int, '2.5.0'.split('.'))) + [0, 0, 0]
|
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
5706 |
minverhex = 0
|
1.1.17
by Sebastien Bacher
Import upstream version 0.12.3 |
5707 |
# xrange is not present in Python 3.0 and range returns an iterator
|
5708 |
for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
|
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
5709 |
sys.exit(sys.hexversion < minverhex)"
|
5710 |
if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5 |
|
5711 |
($PYTHON -c "$prog") >&5 2>&5 |
|
5712 |
ac_status=$? |
|
5713 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
5714 |
(exit $ac_status); }; then : |
5715 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
5716 |
$as_echo "yes" >&6; } |
5717 |
else
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
5718 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
5719 |
$as_echo "no" >&6; }; PYTHON="" |
5720 |
fi
|
|
5721 |
||
5722 |
||
5723 |
fi
|
|
5724 |
||
5725 |
if test -z "$PYTHON"; then |
|
5726 |
||
5727 |
PYTHON="$_python_save" |
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
5728 |
|
5729 |
||
5730 |
_python_save="$PYTHON" |
|
5731 |
||
5732 |
||
5733 |
||
5734 |
if test -z "$PYTHON"; then |
|
5735 |
# Extract the first word of "python2.4", so it can be a program name with args.
|
|
5736 |
set dummy python2.4; ac_word=$2 |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
5737 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
5738 |
$as_echo_n "checking for $ac_word... " >&6; } |
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
5739 |
if ${ac_cv_path_PYTHON2_4+:} false; then : |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
5740 |
$as_echo_n "(cached) " >&6 |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
5741 |
else
|
5742 |
case $PYTHON2_4 in |
|
5743 |
[\\/]* | ?:[\\/]*) |
|
5744 |
ac_cv_path_PYTHON2_4="$PYTHON2_4" # Let the user override the test with a path. |
|
5745 |
;;
|
|
5746 |
*)
|
|
5747 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
5748 |
for as_dir in $PATH |
|
5749 |
do
|
|
5750 |
IFS=$as_save_IFS |
|
5751 |
test -z "$as_dir" && as_dir=. |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
5752 |
for ac_exec_ext in '' $ac_executable_extensions; do |
1.1.25
by Sebastien Bacher
Import upstream version 3.6.1 |
5753 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
5754 |
ac_cv_path_PYTHON2_4="$as_dir/$ac_word$ac_exec_ext" |
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
5755 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
5756 |
break 2 |
5757 |
fi
|
|
5758 |
done
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
5759 |
done
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
5760 |
IFS=$as_save_IFS |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
5761 |
|
5762 |
;;
|
|
5763 |
esac
|
|
5764 |
fi
|
|
5765 |
PYTHON2_4=$ac_cv_path_PYTHON2_4 |
|
5766 |
if test -n "$PYTHON2_4"; then |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
5767 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON2_4" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
5768 |
$as_echo "$PYTHON2_4" >&6; } |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
5769 |
else
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
5770 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
5771 |
$as_echo "no" >&6; } |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
5772 |
fi
|
5773 |
||
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
5774 |
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
5775 |
else
|
5776 |
PYTHON2_4="$PYTHON" |
|
5777 |
fi
|
|
5778 |
||
5779 |
PYTHON="$PYTHON2_4" |
|
5780 |
||
5781 |
||
5782 |
if test -n "$PYTHON"; then |
|
5783 |
||
5784 |
||
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
5785 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version is >= 2.4.0" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
5786 |
$as_echo_n "checking whether $PYTHON version is >= 2.4.0... " >&6; } |
1.1.17
by Sebastien Bacher
Import upstream version 0.12.3 |
5787 |
prog="import sys |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
5788 |
# split strings by '.' and convert to numeric. Append some zeros
|
5789 |
# because we need at least 4 digits for the hex conversion.
|
|
1.1.17
by Sebastien Bacher
Import upstream version 0.12.3 |
5790 |
# map returns an iterator in Python 3.0 and a list in 2.x
|
5791 |
minver = list(map(int, '2.4.0'.split('.'))) + [0, 0, 0]
|
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
5792 |
minverhex = 0
|
1.1.17
by Sebastien Bacher
Import upstream version 0.12.3 |
5793 |
# xrange is not present in Python 3.0 and range returns an iterator
|
5794 |
for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
|
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
5795 |
sys.exit(sys.hexversion < minverhex)"
|
5796 |
if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5 |
|
5797 |
($PYTHON -c "$prog") >&5 2>&5 |
|
5798 |
ac_status=$? |
|
5799 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
5800 |
(exit $ac_status); }; then : |
5801 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
5802 |
$as_echo "yes" >&6; } |
5803 |
else
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
5804 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
5805 |
$as_echo "no" >&6; }; PYTHON="" |
5806 |
fi
|
|
5807 |
||
5808 |
||
5809 |
fi
|
|
5810 |
||
5811 |
if test -z "$PYTHON"; then |
|
5812 |
||
1.1.20
by Didier Roche
Import upstream version 0.13.2 |
5813 |
as_fn_error $? "no suitable Python interpreter found" "$LINENO" 5 |
5814 |
||
5815 |
||
5816 |
else
|
|
5817 |
||
5818 |
||
5819 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5 |
|
5820 |
$as_echo_n "checking for $am_display_PYTHON version... " >&6; } |
|
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
5821 |
if ${am_cv_python_version+:} false; then : |
5822 |
$as_echo_n "(cached) " >&6 |
|
5823 |
else
|
|
5824 |
am_cv_python_version=`$PYTHON -c "import sys; print sys.version[:3]"` |
|
5825 |
fi
|
|
5826 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5 |
|
5827 |
$as_echo "$am_cv_python_version" >&6; } |
|
5828 |
PYTHON_VERSION=$am_cv_python_version |
|
5829 |
||
5830 |
||
5831 |
||
5832 |
PYTHON_PREFIX='${prefix}' |
|
5833 |
||
5834 |
PYTHON_EXEC_PREFIX='${exec_prefix}' |
|
5835 |
||
5836 |
||
5837 |
||
5838 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5 |
|
5839 |
$as_echo_n "checking for $am_display_PYTHON platform... " >&6; } |
|
5840 |
if ${am_cv_python_platform+:} false; then : |
|
5841 |
$as_echo_n "(cached) " >&6 |
|
5842 |
else
|
|
5843 |
am_cv_python_platform=`$PYTHON -c "import sys; print sys.platform"` |
|
5844 |
fi
|
|
5845 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5 |
|
5846 |
$as_echo "$am_cv_python_platform" >&6; } |
|
5847 |
PYTHON_PLATFORM=$am_cv_python_platform |
|
5848 |
||
5849 |
||
5850 |
||
5851 |
||
5852 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5 |
|
5853 |
$as_echo_n "checking for $am_display_PYTHON script directory... " >&6; } |
|
5854 |
if ${am_cv_python_pythondir+:} false; then : |
|
5855 |
$as_echo_n "(cached) " >&6 |
|
5856 |
else
|
|
5857 |
am_cv_python_pythondir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null || |
|
5858 |
echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"` |
|
5859 |
fi
|
|
5860 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5 |
|
5861 |
$as_echo "$am_cv_python_pythondir" >&6; } |
|
5862 |
pythondir=$am_cv_python_pythondir |
|
5863 |
||
5864 |
||
5865 |
||
5866 |
pkgpythondir=\${pythondir}/$PACKAGE |
|
5867 |
||
5868 |
||
5869 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5 |
|
5870 |
$as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; } |
|
5871 |
if ${am_cv_python_pyexecdir+:} false; then : |
|
5872 |
$as_echo_n "(cached) " >&6 |
|
5873 |
else
|
|
5874 |
am_cv_python_pyexecdir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null || |
|
5875 |
echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"` |
|
5876 |
fi
|
|
5877 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5 |
|
5878 |
$as_echo "$am_cv_python_pyexecdir" >&6; } |
|
5879 |
pyexecdir=$am_cv_python_pyexecdir |
|
5880 |
||
5881 |
||
5882 |
||
5883 |
pkgpyexecdir=\${pyexecdir}/$PACKAGE |
|
5884 |
||
5885 |
||
5886 |
fi
|
|
5887 |
||
5888 |
||
5889 |
||
5890 |
||
5891 |
else
|
|
5892 |
||
5893 |
||
5894 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5 |
|
5895 |
$as_echo_n "checking for $am_display_PYTHON version... " >&6; } |
|
5896 |
if ${am_cv_python_version+:} false; then : |
|
5897 |
$as_echo_n "(cached) " >&6 |
|
5898 |
else
|
|
5899 |
am_cv_python_version=`$PYTHON -c "import sys; print sys.version[:3]"` |
|
5900 |
fi
|
|
5901 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5 |
|
5902 |
$as_echo "$am_cv_python_version" >&6; } |
|
5903 |
PYTHON_VERSION=$am_cv_python_version |
|
5904 |
||
5905 |
||
5906 |
||
5907 |
PYTHON_PREFIX='${prefix}' |
|
5908 |
||
5909 |
PYTHON_EXEC_PREFIX='${exec_prefix}' |
|
5910 |
||
5911 |
||
5912 |
||
5913 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5 |
|
5914 |
$as_echo_n "checking for $am_display_PYTHON platform... " >&6; } |
|
5915 |
if ${am_cv_python_platform+:} false; then : |
|
5916 |
$as_echo_n "(cached) " >&6 |
|
5917 |
else
|
|
5918 |
am_cv_python_platform=`$PYTHON -c "import sys; print sys.platform"` |
|
5919 |
fi
|
|
5920 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5 |
|
5921 |
$as_echo "$am_cv_python_platform" >&6; } |
|
5922 |
PYTHON_PLATFORM=$am_cv_python_platform |
|
5923 |
||
5924 |
||
5925 |
||
5926 |
||
5927 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5 |
|
5928 |
$as_echo_n "checking for $am_display_PYTHON script directory... " >&6; } |
|
5929 |
if ${am_cv_python_pythondir+:} false; then : |
|
5930 |
$as_echo_n "(cached) " >&6 |
|
5931 |
else
|
|
5932 |
am_cv_python_pythondir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null || |
|
5933 |
echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"` |
|
5934 |
fi
|
|
5935 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5 |
|
5936 |
$as_echo "$am_cv_python_pythondir" >&6; } |
|
5937 |
pythondir=$am_cv_python_pythondir |
|
5938 |
||
5939 |
||
5940 |
||
5941 |
pkgpythondir=\${pythondir}/$PACKAGE |
|
5942 |
||
5943 |
||
5944 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5 |
|
5945 |
$as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; } |
|
5946 |
if ${am_cv_python_pyexecdir+:} false; then : |
|
5947 |
$as_echo_n "(cached) " >&6 |
|
5948 |
else
|
|
5949 |
am_cv_python_pyexecdir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null || |
|
5950 |
echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"` |
|
5951 |
fi
|
|
5952 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5 |
|
5953 |
$as_echo "$am_cv_python_pyexecdir" >&6; } |
|
5954 |
pyexecdir=$am_cv_python_pyexecdir |
|
5955 |
||
5956 |
||
5957 |
||
5958 |
pkgpyexecdir=\${pyexecdir}/$PACKAGE |
|
5959 |
||
5960 |
||
5961 |
fi
|
|
5962 |
||
5963 |
||
5964 |
||
5965 |
||
5966 |
else
|
|
5967 |
||
5968 |
||
5969 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5 |
|
5970 |
$as_echo_n "checking for $am_display_PYTHON version... " >&6; } |
|
5971 |
if ${am_cv_python_version+:} false; then : |
|
5972 |
$as_echo_n "(cached) " >&6 |
|
5973 |
else
|
|
5974 |
am_cv_python_version=`$PYTHON -c "import sys; print sys.version[:3]"` |
|
5975 |
fi
|
|
5976 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5 |
|
5977 |
$as_echo "$am_cv_python_version" >&6; } |
|
5978 |
PYTHON_VERSION=$am_cv_python_version |
|
5979 |
||
5980 |
||
5981 |
||
5982 |
PYTHON_PREFIX='${prefix}' |
|
5983 |
||
5984 |
PYTHON_EXEC_PREFIX='${exec_prefix}' |
|
5985 |
||
5986 |
||
5987 |
||
5988 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5 |
|
5989 |
$as_echo_n "checking for $am_display_PYTHON platform... " >&6; } |
|
5990 |
if ${am_cv_python_platform+:} false; then : |
|
5991 |
$as_echo_n "(cached) " >&6 |
|
5992 |
else
|
|
5993 |
am_cv_python_platform=`$PYTHON -c "import sys; print sys.platform"` |
|
5994 |
fi
|
|
5995 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5 |
|
5996 |
$as_echo "$am_cv_python_platform" >&6; } |
|
5997 |
PYTHON_PLATFORM=$am_cv_python_platform |
|
5998 |
||
5999 |
||
6000 |
||
6001 |
||
6002 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5 |
|
6003 |
$as_echo_n "checking for $am_display_PYTHON script directory... " >&6; } |
|
6004 |
if ${am_cv_python_pythondir+:} false; then : |
|
6005 |
$as_echo_n "(cached) " >&6 |
|
6006 |
else
|
|
6007 |
am_cv_python_pythondir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null || |
|
6008 |
echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"` |
|
6009 |
fi
|
|
6010 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5 |
|
6011 |
$as_echo "$am_cv_python_pythondir" >&6; } |
|
6012 |
pythondir=$am_cv_python_pythondir |
|
6013 |
||
6014 |
||
6015 |
||
6016 |
pkgpythondir=\${pythondir}/$PACKAGE |
|
6017 |
||
6018 |
||
6019 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5 |
|
6020 |
$as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; } |
|
6021 |
if ${am_cv_python_pyexecdir+:} false; then : |
|
6022 |
$as_echo_n "(cached) " >&6 |
|
6023 |
else
|
|
6024 |
am_cv_python_pyexecdir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null || |
|
6025 |
echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"` |
|
6026 |
fi
|
|
6027 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5 |
|
6028 |
$as_echo "$am_cv_python_pyexecdir" >&6; } |
|
6029 |
pyexecdir=$am_cv_python_pyexecdir |
|
6030 |
||
6031 |
||
6032 |
||
6033 |
pkgpyexecdir=\${pyexecdir}/$PACKAGE |
|
6034 |
||
6035 |
||
6036 |
fi
|
|
6037 |
||
6038 |
||
6039 |
||
6040 |
||
6041 |
else
|
|
6042 |
||
6043 |
||
6044 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5 |
|
6045 |
$as_echo_n "checking for $am_display_PYTHON version... " >&6; } |
|
6046 |
if ${am_cv_python_version+:} false; then : |
|
6047 |
$as_echo_n "(cached) " >&6 |
|
6048 |
else
|
|
6049 |
am_cv_python_version=`$PYTHON -c "import sys; print sys.version[:3]"` |
|
6050 |
fi
|
|
6051 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5 |
|
6052 |
$as_echo "$am_cv_python_version" >&6; } |
|
6053 |
PYTHON_VERSION=$am_cv_python_version |
|
6054 |
||
6055 |
||
6056 |
||
6057 |
PYTHON_PREFIX='${prefix}' |
|
6058 |
||
6059 |
PYTHON_EXEC_PREFIX='${exec_prefix}' |
|
6060 |
||
6061 |
||
6062 |
||
6063 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5 |
|
6064 |
$as_echo_n "checking for $am_display_PYTHON platform... " >&6; } |
|
6065 |
if ${am_cv_python_platform+:} false; then : |
|
6066 |
$as_echo_n "(cached) " >&6 |
|
6067 |
else
|
|
6068 |
am_cv_python_platform=`$PYTHON -c "import sys; print sys.platform"` |
|
6069 |
fi
|
|
6070 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5 |
|
6071 |
$as_echo "$am_cv_python_platform" >&6; } |
|
6072 |
PYTHON_PLATFORM=$am_cv_python_platform |
|
6073 |
||
6074 |
||
6075 |
||
6076 |
||
6077 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5 |
|
6078 |
$as_echo_n "checking for $am_display_PYTHON script directory... " >&6; } |
|
6079 |
if ${am_cv_python_pythondir+:} false; then : |
|
6080 |
$as_echo_n "(cached) " >&6 |
|
6081 |
else
|
|
6082 |
am_cv_python_pythondir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null || |
|
6083 |
echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"` |
|
6084 |
fi
|
|
6085 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5 |
|
6086 |
$as_echo "$am_cv_python_pythondir" >&6; } |
|
6087 |
pythondir=$am_cv_python_pythondir |
|
6088 |
||
6089 |
||
6090 |
||
6091 |
pkgpythondir=\${pythondir}/$PACKAGE |
|
6092 |
||
6093 |
||
6094 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5 |
|
6095 |
$as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; } |
|
6096 |
if ${am_cv_python_pyexecdir+:} false; then : |
|
1.1.20
by Didier Roche
Import upstream version 0.13.2 |
6097 |
$as_echo_n "(cached) " >&6 |
6098 |
else
|
|
6099 |
am_cv_python_pyexecdir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null || |
|
6100 |
echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"` |
|
6101 |
fi
|
|
6102 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5 |
|
6103 |
$as_echo "$am_cv_python_pyexecdir" >&6; } |
|
6104 |
pyexecdir=$am_cv_python_pyexecdir |
|
6105 |
||
6106 |
||
6107 |
||
6108 |
pkgpyexecdir=\${pyexecdir}/$PACKAGE |
|
6109 |
||
6110 |
||
6111 |
fi
|
|
6112 |
||
6113 |
||
6114 |
||
6115 |
||
1.1.5
by Sebastien Bacher
Import upstream version 0.10.2 |
6116 |
|
6117 |
||
6118 |
||
6119 |
||
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
6120 |
|
1.1.25
by Sebastien Bacher
Import upstream version 3.6.1 |
6121 |
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
6122 |
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then |
6123 |
if test -n "$ac_tool_prefix"; then |
|
6124 |
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
|
|
6125 |
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
6126 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
6127 |
$as_echo_n "checking for $ac_word... " >&6; } |
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
6128 |
if ${ac_cv_path_PKG_CONFIG+:} false; then : |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
6129 |
$as_echo_n "(cached) " >&6 |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
6130 |
else
|
6131 |
case $PKG_CONFIG in |
|
6132 |
[\\/]* | ?:[\\/]*) |
|
6133 |
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
|
6134 |
;;
|
|
6135 |
*)
|
|
6136 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
6137 |
for as_dir in $PATH |
|
6138 |
do
|
|
6139 |
IFS=$as_save_IFS |
|
6140 |
test -z "$as_dir" && as_dir=. |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
6141 |
for ac_exec_ext in '' $ac_executable_extensions; do |
1.1.25
by Sebastien Bacher
Import upstream version 3.6.1 |
6142 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
6143 |
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
6144 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
6145 |
break 2 |
6146 |
fi
|
|
6147 |
done
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
6148 |
done
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
6149 |
IFS=$as_save_IFS |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
6150 |
|
6151 |
;;
|
|
6152 |
esac
|
|
6153 |
fi
|
|
6154 |
PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
|
6155 |
if test -n "$PKG_CONFIG"; then |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
6156 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
6157 |
$as_echo "$PKG_CONFIG" >&6; } |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
6158 |
else
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
6159 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
6160 |
$as_echo "no" >&6; } |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
6161 |
fi
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
6162 |
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
6163 |
|
6164 |
fi
|
|
6165 |
if test -z "$ac_cv_path_PKG_CONFIG"; then |
|
6166 |
ac_pt_PKG_CONFIG=$PKG_CONFIG |
|
6167 |
# Extract the first word of "pkg-config", so it can be a program name with args.
|
|
6168 |
set dummy pkg-config; ac_word=$2 |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
6169 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
6170 |
$as_echo_n "checking for $ac_word... " >&6; } |
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
6171 |
if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
6172 |
$as_echo_n "(cached) " >&6 |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
6173 |
else
|
6174 |
case $ac_pt_PKG_CONFIG in |
|
6175 |
[\\/]* | ?:[\\/]*) |
|
6176 |
ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. |
|
6177 |
;;
|
|
6178 |
*)
|
|
6179 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
6180 |
for as_dir in $PATH |
|
6181 |
do
|
|
6182 |
IFS=$as_save_IFS |
|
6183 |
test -z "$as_dir" && as_dir=. |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
6184 |
for ac_exec_ext in '' $ac_executable_extensions; do |
1.1.25
by Sebastien Bacher
Import upstream version 3.6.1 |
6185 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
6186 |
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
6187 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
6188 |
break 2 |
6189 |
fi
|
|
6190 |
done
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
6191 |
done
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
6192 |
IFS=$as_save_IFS |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
6193 |
|
6194 |
;;
|
|
6195 |
esac
|
|
6196 |
fi
|
|
6197 |
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG |
|
6198 |
if test -n "$ac_pt_PKG_CONFIG"; then |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
6199 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
6200 |
$as_echo "$ac_pt_PKG_CONFIG" >&6; } |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
6201 |
else
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
6202 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
6203 |
$as_echo "no" >&6; } |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
6204 |
fi
|
6205 |
||
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
6206 |
if test "x$ac_pt_PKG_CONFIG" = x; then |
6207 |
PKG_CONFIG="" |
|
6208 |
else
|
|
6209 |
case $cross_compiling:$ac_tool_warned in |
|
6210 |
yes:)
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
6211 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
1.1.16
by Andreas Moog
Import upstream version 0.12.1 |
6212 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
6213 |
ac_tool_warned=yes ;; |
6214 |
esac
|
|
6215 |
PKG_CONFIG=$ac_pt_PKG_CONFIG |
|
6216 |
fi
|
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
6217 |
else
|
6218 |
PKG_CONFIG="$ac_cv_path_PKG_CONFIG" |
|
6219 |
fi
|
|
6220 |
||
6221 |
fi
|
|
6222 |
if test -n "$PKG_CONFIG"; then |
|
6223 |
_pkg_min_version=0.9.0 |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
6224 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
6225 |
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
6226 |
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then |
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
6227 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
6228 |
$as_echo "yes" >&6; } |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
6229 |
else
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
6230 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
6231 |
$as_echo "no" >&6; } |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
6232 |
PKG_CONFIG="" |
6233 |
fi
|
|
6234 |
fi
|
|
6235 |
||
6236 |
pkg_failed=no |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
6237 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ALACARTE" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
6238 |
$as_echo_n "checking for ALACARTE... " >&6; } |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
6239 |
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
6240 |
if test -n "$ALACARTE_CFLAGS"; then |
6241 |
pkg_cv_ALACARTE_CFLAGS="$ALACARTE_CFLAGS" |
|
6242 |
elif test -n "$PKG_CONFIG"; then |
|
6243 |
if test -n "$PKG_CONFIG" && \ |
|
1.1.23
by Robert Ancell
Import upstream version 3.5.4 |
6244 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgnome-menu-3.0 >= 3.5.3 pygobject-3.0\""; } >&5 |
6245 |
($PKG_CONFIG --exists --print-errors "libgnome-menu-3.0 >= 3.5.3 pygobject-3.0") 2>&5 |
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
6246 |
ac_status=$? |
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
6247 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
6248 |
test $ac_status = 0; }; then |
|
1.1.23
by Robert Ancell
Import upstream version 3.5.4 |
6249 |
pkg_cv_ALACARTE_CFLAGS=`$PKG_CONFIG --cflags "libgnome-menu-3.0 >= 3.5.3 pygobject-3.0" 2>/dev/null` |
1.1.25
by Sebastien Bacher
Import upstream version 3.6.1 |
6250 |
test "x$?" != "x0" && pkg_failed=yes |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
6251 |
else
|
6252 |
pkg_failed=yes |
|
6253 |
fi
|
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
6254 |
else
|
6255 |
pkg_failed=untried |
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
6256 |
fi
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
6257 |
if test -n "$ALACARTE_LIBS"; then |
6258 |
pkg_cv_ALACARTE_LIBS="$ALACARTE_LIBS" |
|
6259 |
elif test -n "$PKG_CONFIG"; then |
|
6260 |
if test -n "$PKG_CONFIG" && \ |
|
1.1.23
by Robert Ancell
Import upstream version 3.5.4 |
6261 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgnome-menu-3.0 >= 3.5.3 pygobject-3.0\""; } >&5 |
6262 |
($PKG_CONFIG --exists --print-errors "libgnome-menu-3.0 >= 3.5.3 pygobject-3.0") 2>&5 |
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
6263 |
ac_status=$? |
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
6264 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
6265 |
test $ac_status = 0; }; then |
|
1.1.23
by Robert Ancell
Import upstream version 3.5.4 |
6266 |
pkg_cv_ALACARTE_LIBS=`$PKG_CONFIG --libs "libgnome-menu-3.0 >= 3.5.3 pygobject-3.0" 2>/dev/null` |
1.1.25
by Sebastien Bacher
Import upstream version 3.6.1 |
6267 |
test "x$?" != "x0" && pkg_failed=yes |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
6268 |
else
|
6269 |
pkg_failed=yes |
|
6270 |
fi
|
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
6271 |
else
|
6272 |
pkg_failed=untried |
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
6273 |
fi
|
6274 |
||
6275 |
||
6276 |
||
6277 |
if test $pkg_failed = yes; then |
|
1.1.20
by Didier Roche
Import upstream version 0.13.2 |
6278 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6279 |
$as_echo "no" >&6; } |
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
6280 |
|
6281 |
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
|
6282 |
_pkg_short_errors_supported=yes |
|
6283 |
else
|
|
6284 |
_pkg_short_errors_supported=no |
|
6285 |
fi
|
|
6286 |
if test $_pkg_short_errors_supported = yes; then |
|
1.1.25
by Sebastien Bacher
Import upstream version 3.6.1 |
6287 |
ALACARTE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libgnome-menu-3.0 >= 3.5.3 pygobject-3.0" 2>&1` |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
6288 |
else
|
1.1.25
by Sebastien Bacher
Import upstream version 3.6.1 |
6289 |
ALACARTE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libgnome-menu-3.0 >= 3.5.3 pygobject-3.0" 2>&1` |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
6290 |
fi
|
6291 |
# Put the nasty error message in config.log where it belongs
|
|
6292 |
echo "$ALACARTE_PKG_ERRORS" >&5 |
|
6293 |
||
1.1.23
by Robert Ancell
Import upstream version 3.5.4 |
6294 |
as_fn_error $? "Package requirements (libgnome-menu-3.0 >= 3.5.3 pygobject-3.0) were not met: |
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
6295 |
|
6296 |
$ALACARTE_PKG_ERRORS
|
|
6297 |
||
6298 |
Consider adjusting the PKG_CONFIG_PATH environment variable if you
|
|
6299 |
installed software in a non-standard prefix.
|
|
6300 |
||
6301 |
Alternatively, you may set the environment variables ALACARTE_CFLAGS
|
|
6302 |
and ALACARTE_LIBS to avoid the need to call pkg-config.
|
|
1.1.20
by Didier Roche
Import upstream version 0.13.2 |
6303 |
See the pkg-config man page for more details." "$LINENO" 5 |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
6304 |
elif test $pkg_failed = untried; then |
1.1.20
by Didier Roche
Import upstream version 0.13.2 |
6305 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6306 |
$as_echo "no" >&6; } |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
6307 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
1.1.16
by Andreas Moog
Import upstream version 0.12.1 |
6308 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
1.1.20
by Didier Roche
Import upstream version 0.13.2 |
6309 |
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it |
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
6310 |
is in your PATH or set the PKG_CONFIG environment variable to the full
|
6311 |
path to pkg-config.
|
|
6312 |
||
6313 |
Alternatively, you may set the environment variables ALACARTE_CFLAGS
|
|
6314 |
and ALACARTE_LIBS to avoid the need to call pkg-config.
|
|
6315 |
See the pkg-config man page for more details.
|
|
6316 |
||
6317 |
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
|
|
1.1.20
by Didier Roche
Import upstream version 0.13.2 |
6318 |
See \`config.log' for more details" "$LINENO" 5; } |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
6319 |
else
|
6320 |
ALACARTE_CFLAGS=$pkg_cv_ALACARTE_CFLAGS |
|
6321 |
ALACARTE_LIBS=$pkg_cv_ALACARTE_LIBS |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
6322 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
6323 |
$as_echo "yes" >&6; } |
1.1.20
by Didier Roche
Import upstream version 0.13.2 |
6324 |
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
6325 |
fi
|
6326 |
||
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
6327 |
ac_config_files="$ac_config_files Makefile po/Makefile.in Alacarte/Makefile data/alacarte.desktop.in data/Makefile data/icons/Makefile" |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
6328 |
|
6329 |
||
6330 |
cat >confcache <<\_ACEOF
|
|
6331 |
# This file is a shell script that caches the results of configure
|
|
6332 |
# tests run on this system so they can be shared between configure
|
|
6333 |
# scripts and configure runs, see configure's option --config-cache.
|
|
6334 |
# It is not useful on other systems. If it contains results you don't
|
|
6335 |
# want to keep, you may remove or edit it.
|
|
6336 |
#
|
|
6337 |
# config.status only pays attention to the cache file if you give it
|
|
6338 |
# the --recheck option to rerun configure.
|
|
6339 |
#
|
|
6340 |
# `ac_cv_env_foo' variables (set or unset) will be overridden when
|
|
6341 |
# loading this file, other *unset* `ac_cv_foo' will be assigned the
|
|
6342 |
# following values.
|
|
6343 |
||
6344 |
_ACEOF
|
|
6345 |
||
6346 |
# The following way of writing the cache mishandles newlines in values,
|
|
6347 |
# but we know of no workaround that is simple, portable, and efficient.
|
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
6348 |
# So, we kill variables containing newlines.
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
6349 |
# Ultrix sh set writes to stderr and can't be redirected directly,
|
6350 |
# and sets the high bit in the cache file unless we assign to the vars.
|
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
6351 |
(
|
6352 |
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do |
|
6353 |
eval ac_val=\$$ac_var |
|
6354 |
case $ac_val in #( |
|
6355 |
*${as_nl}*) |
|
6356 |
case $ac_var in #( |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
6357 |
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
1.1.16
by Andreas Moog
Import upstream version 0.12.1 |
6358 |
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
6359 |
esac
|
6360 |
case $ac_var in #( |
|
6361 |
_ | IFS | as_nl) ;; #( |
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
6362 |
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
6363 |
*) { eval $ac_var=; unset $ac_var;} ;; |
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
6364 |
esac ;; |
6365 |
esac
|
|
6366 |
done
|
|
6367 |
||
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
6368 |
(set) 2>&1 | |
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
6369 |
case $as_nl`(ac_space=' '; set) 2>&1` in #( |
6370 |
*${as_nl}ac_space=\ *) |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
6371 |
# `set' does not quote correctly, so add quotes: double-quote
|
6372 |
# substitution turns \\\\ into \\, and sed turns \\ into \.
|
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
6373 |
sed -n \
|
6374 |
"s/'/'\\\\''/g;
|
|
6375 |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
6376 |
;; #( |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
6377 |
*)
|
6378 |
# `set' quotes correctly as required by POSIX, so do not add quotes.
|
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
6379 |
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
6380 |
;;
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
6381 |
esac | |
6382 |
sort |
|
6383 |
) | |
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
6384 |
sed '
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
6385 |
/^ac_cv_env_/b end
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
6386 |
t clear
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
6387 |
:clear
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
6388 |
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
|
6389 |
t end
|
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
6390 |
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
|
6391 |
:end' >>confcache
|
|
6392 |
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
|
6393 |
if test -w "$cache_file"; then |
|
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
6394 |
if test "x$cache_file" != "x/dev/null"; then |
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
6395 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
6396 |
$as_echo "$as_me: updating cache $cache_file" >&6;} |
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
6397 |
if test ! -f "$cache_file" || test -h "$cache_file"; then |
6398 |
cat confcache >"$cache_file" |
|
6399 |
else
|
|
6400 |
case $cache_file in #( |
|
6401 |
*/* | ?:*) |
|
6402 |
mv -f confcache "$cache_file"$$ && |
|
6403 |
mv -f "$cache_file"$$ "$cache_file" ;; #( |
|
6404 |
*)
|
|
6405 |
mv -f confcache "$cache_file" ;; |
|
6406 |
esac
|
|
6407 |
fi
|
|
6408 |
fi
|
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
6409 |
else
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
6410 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
6411 |
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
6412 |
fi
|
6413 |
fi
|
|
6414 |
rm -f confcache |
|
6415 |
||
6416 |
test "x$prefix" = xNONE && prefix=$ac_default_prefix |
|
6417 |
# Let make expand exec_prefix.
|
|
6418 |
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
|
6419 |
||
1.1.17
by Sebastien Bacher
Import upstream version 0.12.3 |
6420 |
DEFS=-DHAVE_CONFIG_H |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
6421 |
|
6422 |
ac_libobjs= |
|
6423 |
ac_ltlibobjs= |
|
1.1.20
by Didier Roche
Import upstream version 0.13.2 |
6424 |
U= |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
6425 |
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
6426 |
# 1. Remove the extension, and $U if already installed.
|
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
6427 |
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
6428 |
ac_i=`$as_echo "$ac_i" | sed "$ac_script"` |
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
6429 |
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
|
6430 |
# will be set to the directory where LIBOBJS objects are built.
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
6431 |
as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
6432 |
as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' |
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
6433 |
done
|
6434 |
LIBOBJS=$ac_libobjs |
|
6435 |
||
6436 |
LTLIBOBJS=$ac_ltlibobjs |
|
6437 |
||
6438 |
||
1.1.25
by Sebastien Bacher
Import upstream version 3.6.1 |
6439 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 |
6440 |
$as_echo_n "checking that generated files are newer than configure... " >&6; } |
|
6441 |
if test -n "$am_sleep_pid"; then |
|
6442 |
# Hide warnings about reused PIDs.
|
|
6443 |
wait $am_sleep_pid 2>/dev/null |
|
6444 |
fi
|
|
6445 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 |
|
6446 |
$as_echo "done" >&6; } |
|
1.1.17
by Sebastien Bacher
Import upstream version 0.12.3 |
6447 |
if test -n "$EXEEXT"; then |
6448 |
am__EXEEXT_TRUE= |
|
6449 |
am__EXEEXT_FALSE='#' |
|
6450 |
else
|
|
6451 |
am__EXEEXT_TRUE='#' |
|
6452 |
am__EXEEXT_FALSE= |
|
6453 |
fi
|
|
6454 |
||
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
6455 |
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then |
1.1.20
by Didier Roche
Import upstream version 0.13.2 |
6456 |
as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. |
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
6457 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
6458 |
fi
|
6459 |
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then |
|
1.1.20
by Didier Roche
Import upstream version 0.13.2 |
6460 |
as_fn_error $? "conditional \"AMDEP\" was never defined. |
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
6461 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
6462 |
fi
|
6463 |
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then |
|
1.1.20
by Didier Roche
Import upstream version 0.13.2 |
6464 |
as_fn_error $? "conditional \"am__fastdepCC\" was never defined. |
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
6465 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
6466 |
fi
|
6467 |
||
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
6468 |
ac_config_commands="$ac_config_commands po/stamp-it" |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
6469 |
|
6470 |
||
6471 |
||
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
6472 |
: "${CONFIG_STATUS=./config.status}" |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
6473 |
ac_write_fail=0 |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
6474 |
ac_clean_files_save=$ac_clean_files |
6475 |
ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
6476 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
6477 |
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} |
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
6478 |
as_write_fail=0 |
6479 |
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 |
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
6480 |
#! $SHELL
|
6481 |
# Generated by $as_me.
|
|
6482 |
# Run this file to recreate the current configuration.
|
|
6483 |
# Compiler output produced by configure, useful for debugging
|
|
6484 |
# configure, is in config.log if it exists.
|
|
6485 |
||
6486 |
debug=false
|
|
6487 |
ac_cs_recheck=false
|
|
6488 |
ac_cs_silent=false
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
6489 |
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
6490 |
SHELL=\${CONFIG_SHELL-$SHELL}
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
6491 |
export SHELL
|
6492 |
_ASEOF
|
|
6493 |
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 |
|
6494 |
## -------------------- ##
|
|
6495 |
## M4sh Initialization. ##
|
|
6496 |
## -------------------- ##
|
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
6497 |
|
1.1.9
by Sebastien Bacher
Import upstream version 0.11.4 |
6498 |
# Be more Bourne compatible
|
6499 |
DUALCASE=1; export DUALCASE # for MKS sh
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
6500 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
6501 |
emulate sh
|
6502 |
NULLCMD=:
|
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
6503 |
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
6504 |
# is contrary to our usage. Disable this feature.
|
6505 |
alias -g '${1+"$@"}'='"$@"'
|
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
6506 |
setopt NO_GLOB_SUBST
|
6507 |
else
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
6508 |
case `(set -o) 2>/dev/null` in #(
|
6509 |
*posix*) :
|
|
6510 |
set -o posix ;; #(
|
|
6511 |
*) :
|
|
6512 |
;;
|
|
1.1.9
by Sebastien Bacher
Import upstream version 0.11.4 |
6513 |
esac
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
6514 |
fi
|
1.1.9
by Sebastien Bacher
Import upstream version 0.11.4 |
6515 |
|
6516 |
||
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
6517 |
as_nl='
|
6518 |
'
|
|
6519 |
export as_nl
|
|
6520 |
# Printing a long string crashes Solaris 7 /usr/bin/printf.
|
|
6521 |
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
|
|
6522 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
|
|
6523 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
6524 |
# Prefer a ksh shell builtin over an external printf program on Solaris,
|
6525 |
# but without wasting forks for bash or zsh.
|
|
6526 |
if test -z "$BASH_VERSION$ZSH_VERSION" \
|
|
6527 |
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
|
|
6528 |
as_echo='print -r --'
|
|
6529 |
as_echo_n='print -rn --'
|
|
6530 |
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
|
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
6531 |
as_echo='printf %s\n'
|
6532 |
as_echo_n='printf %s'
|
|
6533 |
else
|
|
6534 |
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
|
|
6535 |
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
|
|
6536 |
as_echo_n='/usr/ucb/echo -n'
|
|
6537 |
else
|
|
6538 |
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
|
|
6539 |
as_echo_n_body='eval
|
|
6540 |
arg=$1;
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
6541 |
case $arg in #(
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
6542 |
*"$as_nl"*)
|
6543 |
expr "X$arg" : "X\\(.*\\)$as_nl";
|
|
6544 |
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
|
|
6545 |
esac;
|
|
6546 |
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
|
|
6547 |
'
|
|
6548 |
export as_echo_n_body
|
|
6549 |
as_echo_n='sh -c $as_echo_n_body as_echo'
|
|
6550 |
fi
|
|
6551 |
export as_echo_body
|
|
6552 |
as_echo='sh -c $as_echo_body as_echo'
|
|
6553 |
fi
|
|
6554 |
||
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
6555 |
# The user is always right.
|
6556 |
if test "${PATH_SEPARATOR+set}" != set; then
|
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
6557 |
PATH_SEPARATOR=:
|
6558 |
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
|
|
6559 |
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
|
|
6560 |
PATH_SEPARATOR=';'
|
|
6561 |
}
|
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
6562 |
fi
|
6563 |
||
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
6564 |
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
6565 |
# IFS
|
6566 |
# We need space, tab and new line, in precisely that order. Quoting is
|
|
6567 |
# there to prevent editors from complaining about space-tab.
|
|
6568 |
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
|
|
6569 |
# splitting by setting IFS to empty value.)
|
|
6570 |
IFS=" "" $as_nl"
|
|
6571 |
||
6572 |
# Find who we are. Look in the path if we contain no directory separator.
|
|
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
6573 |
as_myself=
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
6574 |
case $0 in #((
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
6575 |
*[\\/]* ) as_myself=$0 ;;
|
6576 |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
6577 |
for as_dir in $PATH
|
|
6578 |
do
|
|
6579 |
IFS=$as_save_IFS
|
|
6580 |
test -z "$as_dir" && as_dir=.
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
6581 |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
6582 |
done
|
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
6583 |
IFS=$as_save_IFS
|
6584 |
||
6585 |
;;
|
|
6586 |
esac
|
|
6587 |
# We did not find ourselves, most probably we were run as `sh COMMAND'
|
|
6588 |
# in which case we are not to be found in the path.
|
|
6589 |
if test "x$as_myself" = x; then
|
|
6590 |
as_myself=$0
|
|
6591 |
fi
|
|
6592 |
if test ! -f "$as_myself"; then
|
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
6593 |
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
6594 |
exit 1
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
6595 |
fi
|
6596 |
||
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
6597 |
# Unset variables that we do not need and which cause bugs (e.g. in
|
6598 |
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
|
|
6599 |
# suppresses any "Segmentation fault" message there. '((' could
|
|
6600 |
# trigger a bug in pdksh 5.2.14.
|
|
6601 |
for as_var in BASH_ENV ENV MAIL MAILPATH
|
|
6602 |
do eval test x\${$as_var+set} = xset \
|
|
6603 |
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
|
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
6604 |
done
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
6605 |
PS1='$ '
|
6606 |
PS2='> '
|
|
6607 |
PS4='+ '
|
|
6608 |
||
6609 |
# NLS nuisances.
|
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
6610 |
LC_ALL=C
|
6611 |
export LC_ALL
|
|
6612 |
LANGUAGE=C
|
|
6613 |
export LANGUAGE
|
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
6614 |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
6615 |
# CDPATH.
|
6616 |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
|
|
6617 |
||
6618 |
||
1.1.20
by Didier Roche
Import upstream version 0.13.2 |
6619 |
# as_fn_error STATUS ERROR [LINENO LOG_FD]
|
6620 |
# ----------------------------------------
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
6621 |
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
|
6622 |
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
|
|
1.1.20
by Didier Roche
Import upstream version 0.13.2 |
6623 |
# script with STATUS, using 1 if that was 0.
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
6624 |
as_fn_error ()
|
6625 |
{
|
|
1.1.20
by Didier Roche
Import upstream version 0.13.2 |
6626 |
as_status=$1; test $as_status -eq 0 && as_status=1
|
6627 |
if test "$4"; then
|
|
6628 |
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
6629 |
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
6630 |
fi
|
1.1.20
by Didier Roche
Import upstream version 0.13.2 |
6631 |
$as_echo "$as_me: error: $2" >&2
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
6632 |
as_fn_exit $as_status
|
6633 |
} # as_fn_error
|
|
6634 |
||
6635 |
||
6636 |
# as_fn_set_status STATUS
|
|
6637 |
# -----------------------
|
|
6638 |
# Set $? to STATUS, without forking.
|
|
6639 |
as_fn_set_status ()
|
|
6640 |
{
|
|
6641 |
return $1
|
|
6642 |
} # as_fn_set_status
|
|
6643 |
||
6644 |
# as_fn_exit STATUS
|
|
6645 |
# -----------------
|
|
6646 |
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
|
|
6647 |
as_fn_exit ()
|
|
6648 |
{
|
|
6649 |
set +e
|
|
6650 |
as_fn_set_status $1
|
|
6651 |
exit $1
|
|
6652 |
} # as_fn_exit
|
|
6653 |
||
6654 |
# as_fn_unset VAR
|
|
6655 |
# ---------------
|
|
6656 |
# Portably unset VAR.
|
|
6657 |
as_fn_unset ()
|
|
6658 |
{
|
|
6659 |
{ eval $1=; unset $1;}
|
|
6660 |
}
|
|
6661 |
as_unset=as_fn_unset
|
|
6662 |
# as_fn_append VAR VALUE
|
|
6663 |
# ----------------------
|
|
6664 |
# Append the text in VALUE to the end of the definition contained in VAR. Take
|
|
6665 |
# advantage of any shell optimizations that allow amortized linear growth over
|
|
6666 |
# repeated appends, instead of the typical quadratic growth present in naive
|
|
6667 |
# implementations.
|
|
6668 |
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
|
|
6669 |
eval 'as_fn_append ()
|
|
6670 |
{
|
|
6671 |
eval $1+=\$2
|
|
6672 |
}'
|
|
6673 |
else
|
|
6674 |
as_fn_append ()
|
|
6675 |
{
|
|
6676 |
eval $1=\$$1\$2
|
|
6677 |
}
|
|
6678 |
fi # as_fn_append
|
|
6679 |
||
6680 |
# as_fn_arith ARG...
|
|
6681 |
# ------------------
|
|
6682 |
# Perform arithmetic evaluation on the ARGs, and store the result in the
|
|
6683 |
# global $as_val. Take advantage of shells that can avoid forks. The arguments
|
|
6684 |
# must be portable across $(()) and expr.
|
|
6685 |
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
|
|
6686 |
eval 'as_fn_arith ()
|
|
6687 |
{
|
|
6688 |
as_val=$(( $* ))
|
|
6689 |
}'
|
|
6690 |
else
|
|
6691 |
as_fn_arith ()
|
|
6692 |
{
|
|
6693 |
as_val=`expr "$@" || test $? -eq 1`
|
|
6694 |
}
|
|
6695 |
fi # as_fn_arith
|
|
6696 |
||
6697 |
||
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
6698 |
if expr a : '\(a\)' >/dev/null 2>&1 &&
|
6699 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
6700 |
as_expr=expr
|
6701 |
else
|
|
6702 |
as_expr=false
|
|
6703 |
fi
|
|
6704 |
||
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
6705 |
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
6706 |
as_basename=basename
|
6707 |
else
|
|
6708 |
as_basename=false
|
|
6709 |
fi
|
|
6710 |
||
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
6711 |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
|
6712 |
as_dirname=dirname
|
|
6713 |
else
|
|
6714 |
as_dirname=false
|
|
6715 |
fi
|
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
6716 |
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
6717 |
as_me=`$as_basename -- "$0" ||
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
6718 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
6719 |
X"$0" : 'X\(//\)$' \| \
|
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
6720 |
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
6721 |
$as_echo X/"$0" |
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
6722 |
sed '/^.*\/\([^/][^/]*\)\/*$/{
|
6723 |
s//\1/
|
|
6724 |
q
|
|
6725 |
}
|
|
6726 |
/^X\/\(\/\/\)$/{
|
|
6727 |
s//\1/
|
|
6728 |
q
|
|
6729 |
}
|
|
6730 |
/^X\/\(\/\).*/{
|
|
6731 |
s//\1/
|
|
6732 |
q
|
|
6733 |
}
|
|
6734 |
s/.*/./; q'`
|
|
6735 |
||
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
6736 |
# Avoid depending upon Character Ranges.
|
6737 |
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
|
6738 |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
|
6739 |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
|
6740 |
as_cr_digits='0123456789'
|
|
6741 |
as_cr_alnum=$as_cr_Letters$as_cr_digits
|
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
6742 |
|
6743 |
ECHO_C= ECHO_N= ECHO_T=
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
6744 |
case `echo -n x` in #(((((
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
6745 |
-n*)
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
6746 |
case `echo 'xy\c'` in
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
6747 |
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
6748 |
xy) ECHO_C='\c';;
|
6749 |
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
|
|
6750 |
ECHO_T=' ';;
|
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
6751 |
esac;;
|
6752 |
*)
|
|
6753 |
ECHO_N='-n';;
|
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
6754 |
esac
|
6755 |
||
6756 |
rm -f conf$$ conf$$.exe conf$$.file
|
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
6757 |
if test -d conf$$.dir; then
|
6758 |
rm -f conf$$.dir/conf$$.file
|
|
6759 |
else
|
|
6760 |
rm -f conf$$.dir
|
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
6761 |
mkdir conf$$.dir 2>/dev/null
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
6762 |
fi
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
6763 |
if (echo >conf$$.file) 2>/dev/null; then
|
6764 |
if ln -s conf$$.file conf$$ 2>/dev/null; then
|
|
6765 |
as_ln_s='ln -s'
|
|
6766 |
# ... but there are two gotchas:
|
|
6767 |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
|
|
6768 |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
|
|
1.1.25
by Sebastien Bacher
Import upstream version 3.6.1 |
6769 |
# In both cases, we have to default to `cp -pR'.
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
6770 |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
|
1.1.25
by Sebastien Bacher
Import upstream version 3.6.1 |
6771 |
as_ln_s='cp -pR'
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
6772 |
elif ln conf$$.file conf$$ 2>/dev/null; then
|
6773 |
as_ln_s=ln
|
|
6774 |
else
|
|
1.1.25
by Sebastien Bacher
Import upstream version 3.6.1 |
6775 |
as_ln_s='cp -pR'
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
6776 |
fi
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
6777 |
else
|
1.1.25
by Sebastien Bacher
Import upstream version 3.6.1 |
6778 |
as_ln_s='cp -pR'
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
6779 |
fi
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
6780 |
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
|
6781 |
rmdir conf$$.dir 2>/dev/null
|
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
6782 |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
6783 |
|
6784 |
# as_fn_mkdir_p
|
|
6785 |
# -------------
|
|
6786 |
# Create "$as_dir" as a directory, including parents if necessary.
|
|
6787 |
as_fn_mkdir_p ()
|
|
6788 |
{
|
|
6789 |
||
6790 |
case $as_dir in #(
|
|
6791 |
-*) as_dir=./$as_dir;;
|
|
6792 |
esac
|
|
6793 |
test -d "$as_dir" || eval $as_mkdir_p || {
|
|
6794 |
as_dirs=
|
|
6795 |
while :; do
|
|
6796 |
case $as_dir in #(
|
|
6797 |
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
|
|
6798 |
*) as_qdir=$as_dir;;
|
|
6799 |
esac
|
|
6800 |
as_dirs="'$as_qdir' $as_dirs"
|
|
6801 |
as_dir=`$as_dirname -- "$as_dir" ||
|
|
6802 |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
|
6803 |
X"$as_dir" : 'X\(//\)[^/]' \| \
|
|
6804 |
X"$as_dir" : 'X\(//\)$' \| \
|
|
6805 |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
|
|
6806 |
$as_echo X"$as_dir" |
|
|
6807 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
|
6808 |
s//\1/
|
|
6809 |
q
|
|
6810 |
}
|
|
6811 |
/^X\(\/\/\)[^/].*/{
|
|
6812 |
s//\1/
|
|
6813 |
q
|
|
6814 |
}
|
|
6815 |
/^X\(\/\/\)$/{
|
|
6816 |
s//\1/
|
|
6817 |
q
|
|
6818 |
}
|
|
6819 |
/^X\(\/\).*/{
|
|
6820 |
s//\1/
|
|
6821 |
q
|
|
6822 |
}
|
|
6823 |
s/.*/./; q'`
|
|
6824 |
test -d "$as_dir" && break
|
|
6825 |
done
|
|
6826 |
test -z "$as_dirs" || eval "mkdir $as_dirs"
|
|
1.1.20
by Didier Roche
Import upstream version 0.13.2 |
6827 |
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
6828 |
|
6829 |
||
6830 |
} # as_fn_mkdir_p
|
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
6831 |
if mkdir -p . 2>/dev/null; then
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
6832 |
as_mkdir_p='mkdir -p "$as_dir"'
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
6833 |
else
|
6834 |
test -d ./-p && rmdir ./-p
|
|
6835 |
as_mkdir_p=false
|
|
6836 |
fi
|
|
6837 |
||
1.1.25
by Sebastien Bacher
Import upstream version 3.6.1 |
6838 |
|
6839 |
# as_fn_executable_p FILE
|
|
6840 |
# -----------------------
|
|
6841 |
# Test if FILE is an executable regular file.
|
|
6842 |
as_fn_executable_p ()
|
|
6843 |
{
|
|
6844 |
test -f "$1" && test -x "$1"
|
|
6845 |
} # as_fn_executable_p
|
|
6846 |
as_test_x='test -x'
|
|
6847 |
as_executable_p=as_fn_executable_p
|
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
6848 |
|
6849 |
# Sed expression to map a string onto a valid CPP name.
|
|
6850 |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
|
|
6851 |
||
6852 |
# Sed expression to map a string onto a valid variable name.
|
|
6853 |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
|
6854 |
||
6855 |
||
6856 |
exec 6>&1
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
6857 |
## ----------------------------------- ##
|
6858 |
## Main body of $CONFIG_STATUS script. ##
|
|
6859 |
## ----------------------------------- ##
|
|
6860 |
_ASEOF
|
|
6861 |
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 |
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
6862 |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
6863 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
6864 |
# Save the log message, to keep $0 and so on meaningful, and to
|
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
6865 |
# report actual input values of CONFIG_FILES etc. instead of their
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
6866 |
# values after options handling.
|
6867 |
ac_log="
|
|
1.1.25
by Sebastien Bacher
Import upstream version 3.6.1 |
6868 |
This file was extended by alacarte $as_me 3.6.1, which was
|
6869 |
generated by GNU Autoconf 2.69. Invocation command line was
|
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
6870 |
|
6871 |
CONFIG_FILES = $CONFIG_FILES
|
|
6872 |
CONFIG_HEADERS = $CONFIG_HEADERS
|
|
6873 |
CONFIG_LINKS = $CONFIG_LINKS
|
|
6874 |
CONFIG_COMMANDS = $CONFIG_COMMANDS
|
|
6875 |
$ $0 $@
|
|
6876 |
||
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
6877 |
on `(hostname || uname -n) 2>/dev/null | sed 1q`
|
6878 |
"
|
|
6879 |
||
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
6880 |
_ACEOF
|
6881 |
||
1.1.16
by Andreas Moog
Import upstream version 0.12.1 |
6882 |
case $ac_config_files in *" |
6883 |
"*) set x $ac_config_files; shift; ac_config_files=$*;; |
|
6884 |
esac
|
|
6885 |
||
1.1.17
by Sebastien Bacher
Import upstream version 0.12.3 |
6886 |
case $ac_config_headers in *" |
6887 |
"*) set x $ac_config_headers; shift; ac_config_headers=$*;; |
|
6888 |
esac
|
|
1.1.16
by Andreas Moog
Import upstream version 0.12.1 |
6889 |
|
6890 |
||
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
6891 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
6892 |
# Files that config.status was made for.
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
6893 |
config_files="$ac_config_files"
|
1.1.17
by Sebastien Bacher
Import upstream version 0.12.3 |
6894 |
config_headers="$ac_config_headers"
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
6895 |
config_commands="$ac_config_commands"
|
6896 |
||
6897 |
_ACEOF
|
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
6898 |
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
6899 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
6900 |
ac_cs_usage="\
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
6901 |
\`$as_me' instantiates files and other configuration actions
|
6902 |
from templates according to the current configuration. Unless the files
|
|
6903 |
and actions are specified as TAGs, all are instantiated by default.
|
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
6904 |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
6905 |
Usage: $0 [OPTION]... [TAG]...
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
6906 |
|
6907 |
-h, --help print this help, then exit
|
|
1.1.9
by Sebastien Bacher
Import upstream version 0.11.4 |
6908 |
-V, --version print version number and configuration settings, then exit
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
6909 |
--config print configuration, then exit
|
1.1.16
by Andreas Moog
Import upstream version 0.12.1 |
6910 |
-q, --quiet, --silent
|
6911 |
do not print progress messages
|
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
6912 |
-d, --debug don't remove temporary files
|
6913 |
--recheck update $as_me by reconfiguring in the same conditions
|
|
1.1.16
by Andreas Moog
Import upstream version 0.12.1 |
6914 |
--file=FILE[:TEMPLATE]
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
6915 |
instantiate the configuration file FILE
|
1.1.17
by Sebastien Bacher
Import upstream version 0.12.3 |
6916 |
--header=FILE[:TEMPLATE]
|
6917 |
instantiate the configuration header FILE
|
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
6918 |
|
6919 |
Configuration files:
|
|
6920 |
$config_files
|
|
6921 |
||
1.1.17
by Sebastien Bacher
Import upstream version 0.12.3 |
6922 |
Configuration headers:
|
6923 |
$config_headers
|
|
6924 |
||
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
6925 |
Configuration commands:
|
6926 |
$config_commands
|
|
6927 |
||
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
6928 |
Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=alacarte>."
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
6929 |
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
6930 |
_ACEOF
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
6931 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
6932 |
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
6933 |
ac_cs_version="\\
|
1.1.25
by Sebastien Bacher
Import upstream version 3.6.1 |
6934 |
alacarte config.status 3.6.1
|
6935 |
configured by $0, generated by GNU Autoconf 2.69,
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
6936 |
with options \\"\$ac_cs_config\\"
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
6937 |
|
1.1.25
by Sebastien Bacher
Import upstream version 3.6.1 |
6938 |
Copyright (C) 2012 Free Software Foundation, Inc.
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
6939 |
This config.status script is free software; the Free Software Foundation
|
6940 |
gives unlimited permission to copy, distribute and modify it."
|
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
6941 |
|
6942 |
ac_pwd='$ac_pwd'
|
|
6943 |
srcdir='$srcdir'
|
|
6944 |
INSTALL='$INSTALL'
|
|
1.1.9
by Sebastien Bacher
Import upstream version 0.11.4 |
6945 |
MKDIR_P='$MKDIR_P'
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
6946 |
AWK='$AWK'
|
6947 |
test -n "\$AWK" || AWK=awk
|
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
6948 |
_ACEOF
|
6949 |
||
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
6950 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
6951 |
# The default lists apply if the user does not specify any file.
|
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
6952 |
ac_need_defaults=:
|
6953 |
while test $# != 0
|
|
6954 |
do
|
|
6955 |
case $1 in
|
|
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
6956 |
--*=?*)
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
6957 |
ac_option=`expr "X$1" : 'X\([^=]*\)='`
|
6958 |
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
|
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
6959 |
ac_shift=:
|
6960 |
;;
|
|
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
6961 |
--*=)
|
6962 |
ac_option=`expr "X$1" : 'X\([^=]*\)='`
|
|
6963 |
ac_optarg=
|
|
6964 |
ac_shift=:
|
|
6965 |
;;
|
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
6966 |
*)
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
6967 |
ac_option=$1
|
6968 |
ac_optarg=$2
|
|
6969 |
ac_shift=shift
|
|
6970 |
;;
|
|
6971 |
esac
|
|
6972 |
||
6973 |
case $ac_option in
|
|
6974 |
# Handling of the options.
|
|
6975 |
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
|
|
6976 |
ac_cs_recheck=: ;;
|
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
6977 |
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
6978 |
$as_echo "$ac_cs_version"; exit ;;
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
6979 |
--config | --confi | --conf | --con | --co | --c )
|
6980 |
$as_echo "$ac_cs_config"; exit ;;
|
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
6981 |
--debug | --debu | --deb | --de | --d | -d )
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
6982 |
debug=: ;;
|
6983 |
--file | --fil | --fi | --f )
|
|
6984 |
$ac_shift
|
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
6985 |
case $ac_optarg in
|
6986 |
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
|
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
6987 |
'') as_fn_error $? "missing file argument" ;;
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
6988 |
esac
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
6989 |
as_fn_append CONFIG_FILES " '$ac_optarg'"
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
6990 |
ac_need_defaults=false;;
|
1.1.17
by Sebastien Bacher
Import upstream version 0.12.3 |
6991 |
--header | --heade | --head | --hea )
|
6992 |
$ac_shift
|
|
6993 |
case $ac_optarg in
|
|
6994 |
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
|
6995 |
esac
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
6996 |
as_fn_append CONFIG_HEADERS " '$ac_optarg'"
|
1.1.17
by Sebastien Bacher
Import upstream version 0.12.3 |
6997 |
ac_need_defaults=false;;
|
6998 |
--he | --h)
|
|
6999 |
# Conflict between --help and --header
|
|
1.1.20
by Didier Roche
Import upstream version 0.13.2 |
7000 |
as_fn_error $? "ambiguous option: \`$1'
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
7001 |
Try \`$0 --help' for more information.";;
|
1.1.17
by Sebastien Bacher
Import upstream version 0.12.3 |
7002 |
--help | --hel | -h )
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
7003 |
$as_echo "$ac_cs_usage"; exit ;;
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
7004 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
7005 |
| -silent | --silent | --silen | --sile | --sil | --si | --s)
|
|
7006 |
ac_cs_silent=: ;;
|
|
7007 |
||
7008 |
# This is an error.
|
|
1.1.20
by Didier Roche
Import upstream version 0.13.2 |
7009 |
-*) as_fn_error $? "unrecognized option: \`$1'
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
7010 |
Try \`$0 --help' for more information." ;;
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
7011 |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
7012 |
*) as_fn_append ac_config_targets " $1"
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
7013 |
ac_need_defaults=false ;;
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
7014 |
|
7015 |
esac
|
|
7016 |
shift
|
|
7017 |
done
|
|
7018 |
||
7019 |
ac_configure_extra_args=
|
|
7020 |
||
7021 |
if $ac_cs_silent; then
|
|
7022 |
exec 6>/dev/null
|
|
7023 |
ac_configure_extra_args="$ac_configure_extra_args --silent"
|
|
7024 |
fi
|
|
7025 |
||
7026 |
_ACEOF
|
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
7027 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
7028 |
if \$ac_cs_recheck; then
|
1.1.25
by Sebastien Bacher
Import upstream version 3.6.1 |
7029 |
set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
7030 |
shift
|
7031 |
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
|
|
7032 |
CONFIG_SHELL='$SHELL'
|
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
7033 |
export CONFIG_SHELL
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
7034 |
exec "\$@"
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
7035 |
fi
|
7036 |
||
7037 |
_ACEOF
|
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
7038 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
7039 |
exec 5>>config.log
|
7040 |
{
|
|
7041 |
echo
|
|
7042 |
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
|
|
7043 |
## Running $as_me. ##
|
|
7044 |
_ASBOX
|
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
7045 |
$as_echo "$ac_log"
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
7046 |
} >&5
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
7047 |
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
7048 |
_ACEOF
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
7049 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
7050 |
#
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
7051 |
# INIT-COMMANDS
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
7052 |
#
|
7053 |
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
|
|
7054 |
||
7055 |
||
7056 |
_ACEOF
|
|
7057 |
||
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
7058 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
7059 |
|
7060 |
# Handling of arguments.
|
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
7061 |
for ac_config_target in $ac_config_targets
|
7062 |
do
|
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
7063 |
case $ac_config_target in
|
1.1.17
by Sebastien Bacher
Import upstream version 0.12.3 |
7064 |
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
7065 |
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
|
7066 |
"default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
|
|
7067 |
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
|
|
7068 |
"po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
|
|
7069 |
"Alacarte/Makefile") CONFIG_FILES="$CONFIG_FILES Alacarte/Makefile" ;;
|
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
7070 |
"data/alacarte.desktop.in") CONFIG_FILES="$CONFIG_FILES data/alacarte.desktop.in" ;;
|
7071 |
"data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
|
|
7072 |
"data/icons/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/Makefile" ;;
|
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
7073 |
"po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
|
7074 |
||
1.1.20
by Didier Roche
Import upstream version 0.13.2 |
7075 |
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
7076 |
esac
|
7077 |
done
|
|
7078 |
||
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
7079 |
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
7080 |
# If the user did not use the arguments to specify the items to instantiate,
|
7081 |
# then the envvar interface is used. Set only those that are not.
|
|
7082 |
# We use the long form for the default assignment because of an extremely
|
|
7083 |
# bizarre bug on SunOS 4.1.3.
|
|
7084 |
if $ac_need_defaults; then
|
|
7085 |
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
|
|
1.1.17
by Sebastien Bacher
Import upstream version 0.12.3 |
7086 |
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
7087 |
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
|
7088 |
fi
|
|
7089 |
||
7090 |
# Have a temporary directory for convenience. Make it in the build tree
|
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
7091 |
# simply because there is no reason against having it here, and in addition,
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
7092 |
# creating and moving files from /tmp can sometimes cause problems.
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
7093 |
# Hook for its removal unless debugging.
|
7094 |
# Note that there is a small window in which the directory will not be cleaned:
|
|
7095 |
# after its creation but before its name has been assigned to `$tmp'.
|
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
7096 |
$debug ||
|
7097 |
{
|
|
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
7098 |
tmp= ac_tmp=
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
7099 |
trap 'exit_status=$?
|
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
7100 |
: "${ac_tmp:=$tmp}"
|
7101 |
{ test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
|
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
7102 |
' 0
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
7103 |
trap 'as_fn_exit 1' 1 2 13 15
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
7104 |
}
|
7105 |
# Create a (secure) tmp directory for tmp files.
|
|
7106 |
||
7107 |
{
|
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
7108 |
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
|
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
7109 |
test -d "$tmp"
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
7110 |
} ||
|
7111 |
{
|
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
7112 |
tmp=./conf$$-$RANDOM
|
7113 |
(umask 077 && mkdir "$tmp")
|
|
1.1.20
by Didier Roche
Import upstream version 0.13.2 |
7114 |
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
|
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
7115 |
ac_tmp=$tmp
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
7116 |
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
7117 |
# Set up the scripts for CONFIG_FILES section.
|
7118 |
# No need to generate them if there are no CONFIG_FILES.
|
|
7119 |
# This happens for instance with `./config.status config.h'.
|
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
7120 |
if test -n "$CONFIG_FILES"; then
|
7121 |
||
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
7122 |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
7123 |
ac_cr=`echo X | tr X '\015'`
|
7124 |
# On cygwin, bash can eat \r inside `` if the user requested igncr.
|
|
7125 |
# But we know of no other shell where ac_cr would be empty at this
|
|
7126 |
# point, so we can use a bashism as a fallback.
|
|
7127 |
if test "x$ac_cr" = x; then
|
|
7128 |
eval ac_cr=\$\'\\r\'
|
|
7129 |
fi
|
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
7130 |
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
|
7131 |
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
|
|
1.1.20
by Didier Roche
Import upstream version 0.13.2 |
7132 |
ac_cs_awk_cr='\\r'
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
7133 |
else
|
7134 |
ac_cs_awk_cr=$ac_cr
|
|
7135 |
fi
|
|
7136 |
||
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
7137 |
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
7138 |
_ACEOF
|
7139 |
||
7140 |
||
7141 |
{
|
|
7142 |
echo "cat >conf$$subs.awk <<_ACEOF" && |
|
7143 |
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && |
|
7144 |
echo "_ACEOF" |
|
7145 |
} >conf$$subs.sh || |
|
1.1.20
by Didier Roche
Import upstream version 0.13.2 |
7146 |
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
7147 |
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` |
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
7148 |
ac_delim='%!_!# ' |
7149 |
for ac_last_try in false false false false false :; do |
|
7150 |
. ./conf$$subs.sh || |
|
1.1.20
by Didier Roche
Import upstream version 0.13.2 |
7151 |
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
7152 |
|
1.1.16
by Andreas Moog
Import upstream version 0.12.1 |
7153 |
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` |
7154 |
if test $ac_delim_n = $ac_delim_num; then |
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
7155 |
break
|
7156 |
elif $ac_last_try; then |
|
1.1.20
by Didier Roche
Import upstream version 0.13.2 |
7157 |
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
7158 |
else
|
7159 |
ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
|
7160 |
fi
|
|
7161 |
done
|
|
7162 |
rm -f conf$$subs.sh
|
|
7163 |
||
7164 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
7165 |
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
7166 |
_ACEOF
|
7167 |
sed -n '
|
|
7168 |
h
|
|
7169 |
s/^/S["/; s/!.*/"]=/
|
|
7170 |
p
|
|
7171 |
g
|
|
7172 |
s/^[^!]*!//
|
|
7173 |
:repl
|
|
7174 |
t repl
|
|
7175 |
s/'"$ac_delim"'$// |
|
7176 |
t delim
|
|
7177 |
:nl
|
|
7178 |
h
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
7179 |
s/\(.\{148\}\)..*/\1/
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
7180 |
t more1
|
7181 |
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
|
|
7182 |
p
|
|
7183 |
n
|
|
7184 |
b repl
|
|
7185 |
:more1
|
|
7186 |
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
|
|
7187 |
p
|
|
7188 |
g
|
|
7189 |
s/.\{148\}//
|
|
7190 |
t nl
|
|
7191 |
:delim
|
|
7192 |
h
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
7193 |
s/\(.\{148\}\)..*/\1/
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
7194 |
t more2
|
7195 |
s/["\\]/\\&/g; s/^/"/; s/$/"/
|
|
7196 |
p
|
|
7197 |
b
|
|
7198 |
:more2
|
|
7199 |
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
|
|
7200 |
p
|
|
7201 |
g
|
|
7202 |
s/.\{148\}//
|
|
7203 |
t delim
|
|
7204 |
' <conf$$subs.awk | sed ' |
|
7205 |
/^[^""]/{
|
|
7206 |
N
|
|
7207 |
s/\n//
|
|
7208 |
}
|
|
7209 |
' >>$CONFIG_STATUS || ac_write_fail=1 |
|
7210 |
rm -f conf$$subs.awk
|
|
7211 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
7212 |
_ACAWK
|
|
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
7213 |
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
7214 |
for (key in S) S_is_set[key] = 1
|
7215 |
FS = ""
|
|
7216 |
||
7217 |
}
|
|
7218 |
{
|
|
7219 |
line = $ 0
|
|
7220 |
nfields = split(line, field, "@")
|
|
7221 |
substed = 0
|
|
7222 |
len = length(field[1])
|
|
7223 |
for (i = 2; i < nfields; i++) {
|
|
7224 |
key = field[i]
|
|
7225 |
keylen = length(key)
|
|
7226 |
if (S_is_set[key]) {
|
|
7227 |
value = S[key]
|
|
7228 |
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
|
|
7229 |
len += length(value) + length(field[++i])
|
|
7230 |
substed = 1
|
|
7231 |
} else
|
|
7232 |
len += 1 + keylen
|
|
7233 |
}
|
|
7234 |
||
7235 |
print line
|
|
7236 |
}
|
|
7237 |
||
7238 |
_ACAWK
|
|
7239 |
_ACEOF
|
|
7240 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
7241 |
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
|
|
7242 |
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
|
|
7243 |
else
|
|
7244 |
cat
|
|
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
7245 |
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
|
1.1.20
by Didier Roche
Import upstream version 0.13.2 |
7246 |
|| as_fn_error $? "could not setup config files machinery" "$LINENO" 5
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
7247 |
_ACEOF
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
7248 |
|
1.1.20
by Didier Roche
Import upstream version 0.13.2 |
7249 |
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
|
7250 |
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
|
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
7251 |
# trailing colons and then remove the whole line if VPATH becomes empty
|
7252 |
# (actually we leave an empty line to preserve line numbers).
|
|
7253 |
if test "x$srcdir" = x.; then |
|
1.1.20
by Didier Roche
Import upstream version 0.13.2 |
7254 |
ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ |
7255 |
h
|
|
7256 |
s///
|
|
7257 |
s/^/:/
|
|
7258 |
s/[ ]*$/:/
|
|
7259 |
s/:\$(srcdir):/:/g
|
|
7260 |
s/:\${srcdir}:/:/g
|
|
7261 |
s/:@srcdir@:/:/g
|
|
7262 |
s/^:*//
|
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
7263 |
s/:*$//
|
1.1.20
by Didier Roche
Import upstream version 0.13.2 |
7264 |
x
|
7265 |
s/\(=[ ]*\).*/\1/
|
|
7266 |
G
|
|
7267 |
s/\n//
|
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
7268 |
s/^[^=]*=[ ]*$//
|
7269 |
}'
|
|
7270 |
fi
|
|
7271 |
||
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
7272 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
7273 |
fi # test -n "$CONFIG_FILES"
|
7274 |
||
1.1.17
by Sebastien Bacher
Import upstream version 0.12.3 |
7275 |
# Set up the scripts for CONFIG_HEADERS section.
|
7276 |
# No need to generate them if there are no CONFIG_HEADERS.
|
|
7277 |
# This happens for instance with `./config.status Makefile'.
|
|
7278 |
if test -n "$CONFIG_HEADERS"; then
|
|
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
7279 |
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
|
1.1.17
by Sebastien Bacher
Import upstream version 0.12.3 |
7280 |
BEGIN {
|
7281 |
_ACEOF
|
|
7282 |
||
7283 |
# Transform confdefs.h into an awk script `defines.awk', embedded as
|
|
7284 |
# here-document in config.status, that substitutes the proper values into
|
|
7285 |
# config.h.in to produce config.h.
|
|
7286 |
||
7287 |
# Create a delimiter string that does not exist in confdefs.h, to ease
|
|
7288 |
# handling of long lines.
|
|
7289 |
ac_delim='%!_!# ' |
|
7290 |
for ac_last_try in false false :; do |
|
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
7291 |
ac_tt=`sed -n "/$ac_delim/p" confdefs.h` |
7292 |
if test -z "$ac_tt"; then |
|
1.1.17
by Sebastien Bacher
Import upstream version 0.12.3 |
7293 |
break
|
7294 |
elif $ac_last_try; then |
|
1.1.20
by Didier Roche
Import upstream version 0.13.2 |
7295 |
as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 |
1.1.17
by Sebastien Bacher
Import upstream version 0.12.3 |
7296 |
else
|
7297 |
ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
|
7298 |
fi
|
|
7299 |
done
|
|
7300 |
||
7301 |
# For the awk script, D is an array of macro values keyed by name,
|
|
7302 |
# likewise P contains macro parameters if any. Preserve backslash
|
|
7303 |
# newline sequences.
|
|
7304 |
||
7305 |
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* |
|
7306 |
sed -n '
|
|
7307 |
s/.\{148\}/&'"$ac_delim"'/g |
|
7308 |
t rset
|
|
7309 |
:rset
|
|
7310 |
s/^[ ]*#[ ]*define[ ][ ]*/ /
|
|
7311 |
t def
|
|
7312 |
d
|
|
7313 |
:def
|
|
7314 |
s/\\$//
|
|
7315 |
t bsnl
|
|
7316 |
s/["\\]/\\&/g
|
|
7317 |
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ |
|
7318 |
D["\1"]=" \3"/p
|
|
7319 |
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p |
|
7320 |
d
|
|
7321 |
:bsnl
|
|
7322 |
s/["\\]/\\&/g
|
|
7323 |
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ |
|
7324 |
D["\1"]=" \3\\\\\\n"\\/p
|
|
7325 |
t cont
|
|
7326 |
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p |
|
7327 |
t cont
|
|
7328 |
d
|
|
7329 |
:cont
|
|
7330 |
n
|
|
7331 |
s/.\{148\}/&'"$ac_delim"'/g |
|
7332 |
t clear
|
|
7333 |
:clear
|
|
7334 |
s/\\$//
|
|
7335 |
t bsnlc
|
|
7336 |
s/["\\]/\\&/g; s/^/"/; s/$/"/p
|
|
7337 |
d
|
|
7338 |
:bsnlc
|
|
7339 |
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
|
|
7340 |
b cont
|
|
7341 |
' <confdefs.h | sed ' |
|
7342 |
s/'"$ac_delim"'/"\\\ |
|
7343 |
"/g' >>$CONFIG_STATUS || ac_write_fail=1 |
|
7344 |
||
7345 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
7346 |
for (key in D) D_is_set[key] = 1
|
|
7347 |
FS = ""
|
|
7348 |
}
|
|
7349 |
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
|
|
7350 |
line = \$ 0
|
|
7351 |
split(line, arg, " ")
|
|
7352 |
if (arg[1] == "#") {
|
|
7353 |
defundef = arg[2]
|
|
7354 |
mac1 = arg[3]
|
|
7355 |
} else {
|
|
7356 |
defundef = substr(arg[1], 2)
|
|
7357 |
mac1 = arg[2]
|
|
7358 |
}
|
|
7359 |
split(mac1, mac2, "(") #)
|
|
7360 |
macro = mac2[1]
|
|
7361 |
prefix = substr(line, 1, index(line, defundef) - 1)
|
|
7362 |
if (D_is_set[macro]) {
|
|
7363 |
# Preserve the white space surrounding the "#".
|
|
7364 |
print prefix "define", macro P[macro] D[macro]
|
|
7365 |
next
|
|
7366 |
} else {
|
|
7367 |
# Replace #undef with comments. This is necessary, for example,
|
|
7368 |
# in the case of _POSIX_SOURCE, which is predefined and required
|
|
7369 |
# on some systems where configure will not decide to define it.
|
|
7370 |
if (defundef == "undef") {
|
|
7371 |
print "/*", prefix defundef, macro, "*/"
|
|
7372 |
next
|
|
7373 |
}
|
|
7374 |
}
|
|
7375 |
}
|
|
7376 |
{ print }
|
|
7377 |
_ACAWK
|
|
7378 |
_ACEOF
|
|
7379 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
1.1.20
by Didier Roche
Import upstream version 0.13.2 |
7380 |
as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
|
1.1.17
by Sebastien Bacher
Import upstream version 0.12.3 |
7381 |
fi # test -n "$CONFIG_HEADERS"
|
7382 |
||
7383 |
||
7384 |
eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
|
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
7385 |
shift
|
7386 |
for ac_tag
|
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
7387 |
do
|
7388 |
case $ac_tag in
|
|
7389 |
:[FHLC]) ac_mode=$ac_tag; continue;;
|
|
7390 |
esac
|
|
7391 |
case $ac_mode$ac_tag in
|
|
7392 |
:[FHL]*:*);;
|
|
1.1.20
by Didier Roche
Import upstream version 0.13.2 |
7393 |
:L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
7394 |
:[FH]-) ac_tag=-:-;;
|
7395 |
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
|
|
7396 |
esac
|
|
7397 |
ac_save_IFS=$IFS
|
|
7398 |
IFS=:
|
|
7399 |
set x $ac_tag
|
|
7400 |
IFS=$ac_save_IFS
|
|
7401 |
shift
|
|
7402 |
ac_file=$1
|
|
7403 |
shift
|
|
7404 |
||
7405 |
case $ac_mode in
|
|
7406 |
:L) ac_source=$1;;
|
|
7407 |
:[FH])
|
|
7408 |
ac_file_inputs=
|
|
7409 |
for ac_f
|
|
7410 |
do
|
|
7411 |
case $ac_f in
|
|
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
7412 |
-) ac_f="$ac_tmp/stdin";;
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
7413 |
*) # Look for the file first in the build tree, then in the source tree
|
7414 |
# (if the path is not absolute). The absolute path cannot be DOS-style,
|
|
7415 |
# because $ac_f cannot contain `:'.
|
|
7416 |
test -f "$ac_f" ||
|
|
7417 |
case $ac_f in
|
|
7418 |
[\\/$]*) false;;
|
|
7419 |
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
|
|
7420 |
esac ||
|
|
1.1.20
by Didier Roche
Import upstream version 0.13.2 |
7421 |
as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
7422 |
esac
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
7423 |
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
7424 |
as_fn_append ac_file_inputs " '$ac_f'"
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
7425 |
done
|
7426 |
||
7427 |
# Let's still pretend it is `configure' which instantiates (i.e., don't
|
|
7428 |
# use $as_me), people would be surprised to read:
|
|
7429 |
# /* config.h. Generated by config.status. */
|
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
7430 |
configure_input='Generated from '`
|
7431 |
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
|
|
7432 |
`' by configure.'
|
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
7433 |
if test x"$ac_file" != x-; then
|
7434 |
configure_input="$ac_file. $configure_input"
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
7435 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
7436 |
$as_echo "$as_me: creating $ac_file" >&6;}
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
7437 |
fi
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
7438 |
# Neutralize special characters interpreted by sed in replacement strings.
|
7439 |
case $configure_input in #(
|
|
7440 |
*\&* | *\|* | *\\* )
|
|
7441 |
ac_sed_conf_input=`$as_echo "$configure_input" |
|
|
7442 |
sed 's/[\\\\&|]/\\\\&/g'`;; #(
|
|
7443 |
*) ac_sed_conf_input=$configure_input;;
|
|
7444 |
esac
|
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
7445 |
|
7446 |
case $ac_tag in
|
|
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
7447 |
*:-:* | *:-) cat >"$ac_tmp/stdin" \
|
1.1.20
by Didier Roche
Import upstream version 0.13.2 |
7448 |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
7449 |
esac
|
7450 |
;;
|
|
7451 |
esac
|
|
7452 |
||
7453 |
ac_dir=`$as_dirname -- "$ac_file" ||
|
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
7454 |
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
7455 |
X"$ac_file" : 'X\(//\)[^/]' \| \
|
|
7456 |
X"$ac_file" : 'X\(//\)$' \| \
|
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
7457 |
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
7458 |
$as_echo X"$ac_file" |
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
7459 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
7460 |
s//\1/
|
|
7461 |
q
|
|
7462 |
}
|
|
7463 |
/^X\(\/\/\)[^/].*/{
|
|
7464 |
s//\1/
|
|
7465 |
q
|
|
7466 |
}
|
|
7467 |
/^X\(\/\/\)$/{
|
|
7468 |
s//\1/
|
|
7469 |
q
|
|
7470 |
}
|
|
7471 |
/^X\(\/\).*/{
|
|
7472 |
s//\1/
|
|
7473 |
q
|
|
7474 |
}
|
|
7475 |
s/.*/./; q'`
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
7476 |
as_dir="$ac_dir"; as_fn_mkdir_p
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
7477 |
ac_builddir=.
|
7478 |
||
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
7479 |
case "$ac_dir" in
|
7480 |
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
|
7481 |
*)
|
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
7482 |
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
7483 |
# A ".." for each directory in $ac_dir_suffix.
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
7484 |
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
7485 |
case $ac_top_builddir_sub in
|
7486 |
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
|
7487 |
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
|
|
7488 |
esac ;;
|
|
7489 |
esac
|
|
7490 |
ac_abs_top_builddir=$ac_pwd
|
|
7491 |
ac_abs_builddir=$ac_pwd$ac_dir_suffix
|
|
7492 |
# for backward compatibility:
|
|
7493 |
ac_top_builddir=$ac_top_build_prefix
|
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
7494 |
|
7495 |
case $srcdir in
|
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
7496 |
.) # We are building in place.
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
7497 |
ac_srcdir=.
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
7498 |
ac_top_srcdir=$ac_top_builddir_sub
|
7499 |
ac_abs_top_srcdir=$ac_pwd ;;
|
|
7500 |
[\\/]* | ?:[\\/]* ) # Absolute name.
|
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
7501 |
ac_srcdir=$srcdir$ac_dir_suffix;
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
7502 |
ac_top_srcdir=$srcdir
|
7503 |
ac_abs_top_srcdir=$srcdir ;;
|
|
7504 |
*) # Relative name.
|
|
7505 |
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
|
|
7506 |
ac_top_srcdir=$ac_top_build_prefix$srcdir
|
|
7507 |
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
|
|
7508 |
esac
|
|
7509 |
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
|
|
7510 |
||
7511 |
||
7512 |
case $ac_mode in
|
|
7513 |
:F)
|
|
7514 |
#
|
|
7515 |
# CONFIG_FILE
|
|
7516 |
#
|
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
7517 |
|
7518 |
case $INSTALL in
|
|
7519 |
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
|
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
7520 |
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
7521 |
esac
|
1.1.9
by Sebastien Bacher
Import upstream version 0.11.4 |
7522 |
ac_MKDIR_P=$MKDIR_P
|
7523 |
case $MKDIR_P in
|
|
7524 |
[\\/$]* | ?:[\\/]* ) ;;
|
|
7525 |
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
|
|
7526 |
esac
|
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
7527 |
_ACEOF
|
7528 |
||
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
7529 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
7530 |
# If the template does not know about datarootdir, expand it.
|
7531 |
# FIXME: This hack should be removed a few years after 2.60.
|
|
7532 |
ac_datarootdir_hack=; ac_datarootdir_seen=
|
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
7533 |
ac_sed_dataroot='
|
7534 |
/datarootdir/ {
|
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
7535 |
p
|
7536 |
q
|
|
7537 |
}
|
|
7538 |
/@datadir@/p
|
|
7539 |
/@docdir@/p
|
|
7540 |
/@infodir@/p
|
|
7541 |
/@localedir@/p
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
7542 |
/@mandir@/p'
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
7543 |
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
7544 |
*datarootdir*) ac_datarootdir_seen=yes;;
|
7545 |
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
7546 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
7547 |
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
7548 |
_ACEOF
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
7549 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
7550 |
ac_datarootdir_hack='
|
7551 |
s&@datadir@&$datadir&g
|
|
7552 |
s&@docdir@&$docdir&g
|
|
7553 |
s&@infodir@&$infodir&g
|
|
7554 |
s&@localedir@&$localedir&g
|
|
7555 |
s&@mandir@&$mandir&g
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
7556 |
s&\\\${datarootdir}&$datarootdir&g' ;;
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
7557 |
esac
|
7558 |
_ACEOF
|
|
7559 |
||
7560 |
# Neutralize VPATH when `$srcdir' = `.'.
|
|
7561 |
# Shell code in configure.ac might set extrasub.
|
|
7562 |
# FIXME: do we really want to maintain this feature?
|
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
7563 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
7564 |
ac_sed_extra="$ac_vpsub
|
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
7565 |
$extrasub
|
7566 |
_ACEOF
|
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
7567 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
7568 |
:t
|
7569 |
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
|
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
7570 |
s|@configure_input@|$ac_sed_conf_input|;t t
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
7571 |
s&@top_builddir@&$ac_top_builddir_sub&;t t
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
7572 |
s&@top_build_prefix@&$ac_top_build_prefix&;t t
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
7573 |
s&@srcdir@&$ac_srcdir&;t t
|
7574 |
s&@abs_srcdir@&$ac_abs_srcdir&;t t
|
|
7575 |
s&@top_srcdir@&$ac_top_srcdir&;t t
|
|
7576 |
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
|
|
7577 |
s&@builddir@&$ac_builddir&;t t
|
|
7578 |
s&@abs_builddir@&$ac_abs_builddir&;t t
|
|
7579 |
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
|
|
7580 |
s&@INSTALL@&$ac_INSTALL&;t t
|
|
1.1.9
by Sebastien Bacher
Import upstream version 0.11.4 |
7581 |
s&@MKDIR_P@&$ac_MKDIR_P&;t t
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
7582 |
$ac_datarootdir_hack
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
7583 |
"
|
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
7584 |
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
|
7585 |
>$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
|
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
7586 |
|
7587 |
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
|
|
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
7588 |
{ ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
|
7589 |
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
|
|
7590 |
"$ac_tmp/out"`; test -z "$ac_out"; } &&
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
7591 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
1.1.20
by Didier Roche
Import upstream version 0.13.2 |
7592 |
which seems to be undefined. Please make sure it is defined" >&5
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
7593 |
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
1.1.20
by Didier Roche
Import upstream version 0.13.2 |
7594 |
which seems to be undefined. Please make sure it is defined" >&2;}
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
7595 |
|
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
7596 |
rm -f "$ac_tmp/stdin"
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
7597 |
case $ac_file in
|
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
7598 |
-) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
|
7599 |
*) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
|
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
7600 |
esac \
|
1.1.20
by Didier Roche
Import upstream version 0.13.2 |
7601 |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
7602 |
;;
|
1.1.17
by Sebastien Bacher
Import upstream version 0.12.3 |
7603 |
:H)
|
7604 |
#
|
|
7605 |
# CONFIG_HEADER
|
|
7606 |
#
|
|
7607 |
if test x"$ac_file" != x-; then
|
|
7608 |
{
|
|
7609 |
$as_echo "/* $configure_input */" \
|
|
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
7610 |
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
|
7611 |
} >"$ac_tmp/config.h" \
|
|
1.1.20
by Didier Roche
Import upstream version 0.13.2 |
7612 |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
|
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
7613 |
if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
7614 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
|
1.1.17
by Sebastien Bacher
Import upstream version 0.12.3 |
7615 |
$as_echo "$as_me: $ac_file is unchanged" >&6;}
|
7616 |
else
|
|
7617 |
rm -f "$ac_file"
|
|
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
7618 |
mv "$ac_tmp/config.h" "$ac_file" \
|
1.1.20
by Didier Roche
Import upstream version 0.13.2 |
7619 |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
|
1.1.17
by Sebastien Bacher
Import upstream version 0.12.3 |
7620 |
fi
|
7621 |
else
|
|
7622 |
$as_echo "/* $configure_input */" \
|
|
1.1.21
by Iain Lane
Import upstream version 0.13.4 |
7623 |
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
|
1.1.20
by Didier Roche
Import upstream version 0.13.2 |
7624 |
|| as_fn_error $? "could not create -" "$LINENO" 5
|
1.1.17
by Sebastien Bacher
Import upstream version 0.12.3 |
7625 |
fi
|
7626 |
# Compute "$ac_file"'s index in $config_headers.
|
|
7627 |
_am_arg="$ac_file"
|
|
7628 |
_am_stamp_count=1
|
|
7629 |
for _am_header in $config_headers :; do
|
|
7630 |
case $_am_header in
|
|
7631 |
$_am_arg | $_am_arg:* )
|
|
7632 |
break ;;
|
|
7633 |
* )
|
|
7634 |
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
|
|
7635 |
esac
|
|
7636 |
done
|
|
7637 |
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
|
|
7638 |
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
|
7639 |
X"$_am_arg" : 'X\(//\)[^/]' \| \
|
|
7640 |
X"$_am_arg" : 'X\(//\)$' \| \
|
|
7641 |
X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
|
|
7642 |
$as_echo X"$_am_arg" |
|
|
7643 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
|
7644 |
s//\1/
|
|
7645 |
q
|
|
7646 |
}
|
|
7647 |
/^X\(\/\/\)[^/].*/{
|
|
7648 |
s//\1/
|
|
7649 |
q
|
|
7650 |
}
|
|
7651 |
/^X\(\/\/\)$/{
|
|
7652 |
s//\1/
|
|
7653 |
q
|
|
7654 |
}
|
|
7655 |
/^X\(\/\).*/{
|
|
7656 |
s//\1/
|
|
7657 |
q
|
|
7658 |
}
|
|
7659 |
s/.*/./; q'`/stamp-h$_am_stamp_count
|
|
7660 |
;;
|
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
7661 |
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
7662 |
:C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
7663 |
$as_echo "$as_me: executing $ac_file commands" >&6;}
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
7664 |
;;
|
7665 |
esac
|
|
7666 |
||
7667 |
||
7668 |
case $ac_file$ac_mode in
|
|
1.1.17
by Sebastien Bacher
Import upstream version 0.12.3 |
7669 |
"depfiles":C) test x"$AMDEP_TRUE" != x"" || {
|
7670 |
# Autoconf 2.62 quotes --file arguments for eval, but not when files
|
|
7671 |
# are listed without --file. Let's play safe and only enable the eval
|
|
7672 |
# if we detect the quoting.
|
|
7673 |
case $CONFIG_FILES in
|
|
7674 |
*\'*) eval set x "$CONFIG_FILES" ;;
|
|
7675 |
*) set x $CONFIG_FILES ;;
|
|
7676 |
esac
|
|
7677 |
shift
|
|
7678 |
for mf
|
|
7679 |
do
|
|
7680 |
# Strip MF so we end up with the name of the file.
|
|
7681 |
mf=`echo "$mf" | sed -e 's/:.*$//'`
|
|
7682 |
# Check whether this is an Automake generated Makefile or not.
|
|
1.1.25
by Sebastien Bacher
Import upstream version 3.6.1 |
7683 |
# We used to match only the files named 'Makefile.in', but
|
1.1.17
by Sebastien Bacher
Import upstream version 0.12.3 |
7684 |
# some people rename them; so instead we look at the file content.
|
7685 |
# Grep'ing the first line is not enough: some people post-process
|
|
7686 |
# each Makefile.in and add a new line on top of each file to say so.
|
|
7687 |
# Grep'ing the whole file is not good either: AIX grep has a line
|
|
7688 |
# limit of 2048, but all sed's we know have understand at least 4000.
|
|
7689 |
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
|
|
7690 |
dirpart=`$as_dirname -- "$mf" ||
|
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
7691 |
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
7692 |
X"$mf" : 'X\(//\)[^/]' \| \
|
|
7693 |
X"$mf" : 'X\(//\)$' \| \
|
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
7694 |
X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
7695 |
$as_echo X"$mf" |
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
7696 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
7697 |
s//\1/
|
|
7698 |
q
|
|
7699 |
}
|
|
7700 |
/^X\(\/\/\)[^/].*/{
|
|
7701 |
s//\1/
|
|
7702 |
q
|
|
7703 |
}
|
|
7704 |
/^X\(\/\/\)$/{
|
|
7705 |
s//\1/
|
|
7706 |
q
|
|
7707 |
}
|
|
7708 |
/^X\(\/\).*/{
|
|
7709 |
s//\1/
|
|
7710 |
q
|
|
7711 |
}
|
|
7712 |
s/.*/./; q'`
|
|
1.1.17
by Sebastien Bacher
Import upstream version 0.12.3 |
7713 |
else
|
7714 |
continue
|
|
7715 |
fi
|
|
7716 |
# Extract the definition of DEPDIR, am__include, and am__quote
|
|
1.1.25
by Sebastien Bacher
Import upstream version 3.6.1 |
7717 |
# from the Makefile without running 'make'.
|
1.1.17
by Sebastien Bacher
Import upstream version 0.12.3 |
7718 |
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
|
7719 |
test -z "$DEPDIR" && continue
|
|
7720 |
am__include=`sed -n 's/^am__include = //p' < "$mf"`
|
|
7721 |
test -z "am__include" && continue
|
|
7722 |
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
|
|
7723 |
# Find all dependency output files, they are included files with
|
|
7724 |
# $(DEPDIR) in their names. We invoke sed twice because it is the
|
|
7725 |
# simplest approach to changing $(DEPDIR) to its actual value in the
|
|
7726 |
# expansion.
|
|
7727 |
for file in `sed -n "
|
|
7728 |
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
|
|
1.1.25
by Sebastien Bacher
Import upstream version 3.6.1 |
7729 |
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
|
1.1.17
by Sebastien Bacher
Import upstream version 0.12.3 |
7730 |
# Make sure the directory exists.
|
7731 |
test -f "$dirpart/$file" && continue
|
|
7732 |
fdir=`$as_dirname -- "$file" ||
|
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
7733 |
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
7734 |
X"$file" : 'X\(//\)[^/]' \| \
|
|
7735 |
X"$file" : 'X\(//\)$' \| \
|
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
7736 |
X"$file" : 'X\(/\)' \| . 2>/dev/null ||
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
7737 |
$as_echo X"$file" |
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
7738 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
7739 |
s//\1/
|
|
7740 |
q
|
|
7741 |
}
|
|
7742 |
/^X\(\/\/\)[^/].*/{
|
|
7743 |
s//\1/
|
|
7744 |
q
|
|
7745 |
}
|
|
7746 |
/^X\(\/\/\)$/{
|
|
7747 |
s//\1/
|
|
7748 |
q
|
|
7749 |
}
|
|
7750 |
/^X\(\/\).*/{
|
|
7751 |
s//\1/
|
|
7752 |
q
|
|
7753 |
}
|
|
7754 |
s/.*/./; q'`
|
|
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
7755 |
as_dir=$dirpart/$fdir; as_fn_mkdir_p
|
1.1.17
by Sebastien Bacher
Import upstream version 0.12.3 |
7756 |
# echo "creating $dirpart/$file"
|
7757 |
echo '# dummy' > "$dirpart/$file"
|
|
7758 |
done
|
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
7759 |
done
|
1.1.17
by Sebastien Bacher
Import upstream version 0.12.3 |
7760 |
}
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
7761 |
;;
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
7762 |
"default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
7763 |
sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
|
7764 |
esac ;;
|
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
7765 |
"po/stamp-it":C)
|
1.1.17
by Sebastien Bacher
Import upstream version 0.12.3 |
7766 |
if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
|
1.1.20
by Didier Roche
Import upstream version 0.13.2 |
7767 |
as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
|
1.1.12
by Sebastien Bacher
Import upstream version 0.11.7 |
7768 |
fi
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
7769 |
rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
|
7770 |
>"po/stamp-it.tmp"
|
|
7771 |
sed '/^#/d
|
|
7772 |
s/^[[].*] *//
|
|
7773 |
/^[ ]*$/d
|
|
7774 |
'"s|^| $ac_top_srcdir/|" \
|
|
7775 |
"$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
|
|
7776 |
||
7777 |
sed '/^POTFILES =/,/[^\\]$/ {
|
|
7778 |
/^POTFILES =/!d
|
|
7779 |
r po/POTFILES
|
|
7780 |
}
|
|
1.1.12
by Sebastien Bacher
Import upstream version 0.11.7 |
7781 |
' "po/Makefile.in" >"po/Makefile"
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
7782 |
rm -f "po/Makefile.tmp"
|
7783 |
mv "po/stamp-it.tmp" "po/stamp-it"
|
|
7784 |
;;
|
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
7785 |
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
7786 |
esac
|
1.1.3
by Daniel Holbach
Import upstream version 0.10.0 |
7787 |
done # for ac_tag
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
7788 |
|
7789 |
||
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
7790 |
as_fn_exit 0
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
7791 |
_ACEOF
|
7792 |
ac_clean_files=$ac_clean_files_save |
|
7793 |
||
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
7794 |
test $ac_write_fail = 0 || |
1.1.20
by Didier Roche
Import upstream version 0.13.2 |
7795 |
as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
7796 |
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
7797 |
|
7798 |
# configure is writing to config.log, and then calls config.status.
|
|
7799 |
# config.status does its own redirection, appending to config.log.
|
|
7800 |
# Unfortunately, on DOS this fails, as config.log is still kept open
|
|
7801 |
# by configure, so config.status won't be able to write to it; its
|
|
7802 |
# output is simply discarded. So we exec the FD to /dev/null,
|
|
7803 |
# effectively closing config.log, so it can be properly (re)opened and
|
|
7804 |
# appended to by config.status. When coming back to configure, we
|
|
7805 |
# need to make the FD available again.
|
|
7806 |
if test "$no_create" != yes; then |
|
7807 |
ac_cs_success=: |
|
7808 |
ac_config_status_args= |
|
7809 |
test "$silent" = yes && |
|
7810 |
ac_config_status_args="$ac_config_status_args --quiet" |
|
7811 |
exec 5>/dev/null |
|
7812 |
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
|
7813 |
exec 5>>config.log |
|
7814 |
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
|
|
7815 |
# would make configure fail if this is the last instruction.
|
|
1.1.20
by Didier Roche
Import upstream version 0.13.2 |
7816 |
$ac_cs_success || as_fn_exit 1 |
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
7817 |
fi
|
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
7818 |
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
1.1.19
by Didier Roche
Import upstream version 0.13.1 |
7819 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 |
1.1.16
by Andreas Moog
Import upstream version 0.12.1 |
7820 |
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} |
1.1.11
by Andreas Moog
Import upstream version 0.11.6 |
7821 |
fi
|
1.1.1
by Sebastien Bacher
Import upstream version 0.9.2 |
7822 |
|
7823 |