~ubuntu-branches/ubuntu/trusty/gedit/trusty

1 by Joe Drew
Import upstream version 0.9.6
1
#! /bin/sh
2
# Guess values for system-dependent variables and create Makefiles.
1.1.86 by Michael Terry
Import upstream version 3.1.1
3
# Generated by GNU Autoconf 2.68 for gedit 3.1.1.
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
4
#
5
# Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=gedit>.
6
#
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
7
#
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
8
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
9
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
10
# Foundation, Inc.
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
11
#
12
#
1 by Joe Drew
Import upstream version 0.9.6
13
# This configure script is free software; the Free Software Foundation
14
# gives unlimited permission to copy, distribute and modify it.
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
15
## -------------------- ##
16
## M4sh Initialization. ##
17
## -------------------- ##
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
18
1.1.23 by Sebastien Bacher
Import upstream version 2.17.2
19
# Be more Bourne compatible
20
DUALCASE=1; export DUALCASE # for MKS sh
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
21
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
22
  emulate sh
23
  NULLCMD=:
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
24
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
25
  # is contrary to our usage.  Disable this feature.
26
  alias -g '${1+"$@"}'='"$@"'
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
27
  setopt NO_GLOB_SUBST
28
else
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
29
  case `(set -o) 2>/dev/null` in #(
30
  *posix*) :
31
    set -o posix ;; #(
32
  *) :
33
     ;;
1.1.23 by Sebastien Bacher
Import upstream version 2.17.2
34
esac
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
35
fi
1.1.23 by Sebastien Bacher
Import upstream version 2.17.2
36
37
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
38
as_nl='
39
'
40
export as_nl
41
# Printing a long string crashes Solaris 7 /usr/bin/printf.
42
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
45
# Prefer a ksh shell builtin over an external printf program on Solaris,
46
# but without wasting forks for bash or zsh.
47
if test -z "$BASH_VERSION$ZSH_VERSION" \
48
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49
  as_echo='print -r --'
50
  as_echo_n='print -rn --'
51
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
52
  as_echo='printf %s\n'
53
  as_echo_n='printf %s'
54
else
55
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57
    as_echo_n='/usr/ucb/echo -n'
58
  else
59
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60
    as_echo_n_body='eval
61
      arg=$1;
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
62
      case $arg in #(
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
63
      *"$as_nl"*)
64
	expr "X$arg" : "X\\(.*\\)$as_nl";
65
	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66
      esac;
67
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68
    '
69
    export as_echo_n_body
70
    as_echo_n='sh -c $as_echo_n_body as_echo'
71
  fi
72
  export as_echo_body
73
  as_echo='sh -c $as_echo_body as_echo'
74
fi
75
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
76
# The user is always right.
77
if test "${PATH_SEPARATOR+set}" != set; then
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
78
  PATH_SEPARATOR=:
79
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81
      PATH_SEPARATOR=';'
82
  }
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
83
fi
84
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
85
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
86
# IFS
87
# We need space, tab and new line, in precisely that order.  Quoting is
88
# there to prevent editors from complaining about space-tab.
89
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
90
# splitting by setting IFS to empty value.)
91
IFS=" ""	$as_nl"
92
93
# Find who we are.  Look in the path if we contain no directory separator.
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
94
as_myself=
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
95
case $0 in #((
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
96
  *[\\/]* ) as_myself=$0 ;;
97
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98
for as_dir in $PATH
99
do
100
  IFS=$as_save_IFS
101
  test -z "$as_dir" && as_dir=.
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
102
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103
  done
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
104
IFS=$as_save_IFS
105
106
     ;;
107
esac
108
# We did not find ourselves, most probably we were run as `sh COMMAND'
109
# in which case we are not to be found in the path.
110
if test "x$as_myself" = x; then
111
  as_myself=$0
112
fi
113
if test ! -f "$as_myself"; then
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
114
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
115
  exit 1
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
116
fi
117
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
118
# Unset variables that we do not need and which cause bugs (e.g. in
119
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
120
# suppresses any "Segmentation fault" message there.  '((' could
121
# trigger a bug in pdksh 5.2.14.
122
for as_var in BASH_ENV ENV MAIL MAILPATH
123
do eval test x\${$as_var+set} = xset \
124
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
125
done
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
126
PS1='$ '
127
PS2='> '
128
PS4='+ '
129
130
# NLS nuisances.
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
131
LC_ALL=C
132
export LC_ALL
133
LANGUAGE=C
134
export LANGUAGE
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
135
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
136
# CDPATH.
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
137
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
138
139
if test "x$CONFIG_SHELL" = x; then
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
140
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141
  emulate sh
142
  NULLCMD=:
143
  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144
  # is contrary to our usage.  Disable this feature.
145
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
146
  setopt NO_GLOB_SUBST
147
else
148
  case \`(set -o) 2>/dev/null\` in #(
149
  *posix*) :
150
    set -o posix ;; #(
151
  *) :
152
     ;;
153
esac
154
fi
155
"
156
  as_required="as_fn_return () { (exit \$1); }
157
as_fn_success () { as_fn_return 0; }
158
as_fn_failure () { as_fn_return 1; }
159
as_fn_ret_success () { return 0; }
160
as_fn_ret_failure () { return 1; }
161
162
exitcode=0
163
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168
169
else
170
  exitcode=1; echo positional parameters were not saved.
171
fi
172
test x\$exitcode = x0 || exit 1"
173
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
177
178
  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
179
    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
180
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
181
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182
    PATH=/empty FPATH=/empty; export PATH FPATH
183
    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
184
      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
185
test \$(( 1 + 1 )) = 2 || exit 1"
186
  if (eval "$as_required") 2>/dev/null; then :
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
187
  as_have_required=yes
188
else
189
  as_have_required=no
190
fi
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
191
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
192
193
else
194
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
195
as_found=false
1.1.23 by Sebastien Bacher
Import upstream version 2.17.2
196
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
197
do
198
  IFS=$as_save_IFS
199
  test -z "$as_dir" && as_dir=.
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
200
  as_found=:
201
  case $as_dir in #(
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
202
	 /*)
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
203
	   for as_base in sh bash ksh sh5; do
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
204
	     # Try only shells that exist, to save several forks.
205
	     as_shell=$as_dir/$as_base
206
	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
207
		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
208
  CONFIG_SHELL=$as_shell as_have_required=yes
209
		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
210
  break 2
211
fi
212
fi
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
213
	   done;;
214
       esac
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
215
  as_found=false
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
216
done
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
217
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
218
	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
219
  CONFIG_SHELL=$SHELL as_have_required=yes
220
fi; }
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
221
IFS=$as_save_IFS
222
223
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
224
      if test "x$CONFIG_SHELL" != x; then :
225
  # We cannot yet assume a decent shell, so we have to provide a
226
	# neutralization value for shells without unset; and this also
227
	# works around shells that cannot unset nonexistent variables.
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
228
	# Preserve -v and -x to the replacement shell.
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
229
	BASH_ENV=/dev/null
230
	ENV=/dev/null
231
	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
232
	export CONFIG_SHELL
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
233
	case $- in # ((((
234
	  *v*x* | *x*v* ) as_opts=-vx ;;
235
	  *v* ) as_opts=-v ;;
236
	  *x* ) as_opts=-x ;;
237
	  * ) as_opts= ;;
238
	esac
239
	exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
240
fi
241
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
242
    if test x$as_have_required = xno; then :
243
  $as_echo "$0: This script requires a shell more modern than all"
244
  $as_echo "$0: the shells that I found on your system."
245
  if test x${ZSH_VERSION+set} = xset ; then
246
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
247
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
248
  else
249
    $as_echo "$0: Please tell bug-autoconf@gnu.org and
250
$0: http://bugzilla.gnome.org/enter_bug.cgi?product=gedit
251
$0: about your system, including any error possibly output
252
$0: before this message. Then install a modern shell, or
253
$0: manually run the script under such a shell if you do
254
$0: have one."
255
  fi
256
  exit 1
257
fi
258
fi
259
fi
260
SHELL=${CONFIG_SHELL-/bin/sh}
261
export SHELL
262
# Unset more variables known to interfere with behavior of common tools.
263
CLICOLOR_FORCE= GREP_OPTIONS=
264
unset CLICOLOR_FORCE GREP_OPTIONS
265
266
## --------------------- ##
267
## M4sh Shell Functions. ##
268
## --------------------- ##
269
# as_fn_unset VAR
270
# ---------------
271
# Portably unset VAR.
272
as_fn_unset ()
273
{
274
  { eval $1=; unset $1;}
275
}
276
as_unset=as_fn_unset
277
278
# as_fn_set_status STATUS
279
# -----------------------
280
# Set $? to STATUS, without forking.
281
as_fn_set_status ()
282
{
283
  return $1
284
} # as_fn_set_status
285
286
# as_fn_exit STATUS
287
# -----------------
288
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
289
as_fn_exit ()
290
{
291
  set +e
292
  as_fn_set_status $1
293
  exit $1
294
} # as_fn_exit
295
296
# as_fn_mkdir_p
297
# -------------
298
# Create "$as_dir" as a directory, including parents if necessary.
299
as_fn_mkdir_p ()
300
{
301
302
  case $as_dir in #(
303
  -*) as_dir=./$as_dir;;
304
  esac
305
  test -d "$as_dir" || eval $as_mkdir_p || {
306
    as_dirs=
307
    while :; do
308
      case $as_dir in #(
309
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
310
      *) as_qdir=$as_dir;;
311
      esac
312
      as_dirs="'$as_qdir' $as_dirs"
313
      as_dir=`$as_dirname -- "$as_dir" ||
314
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
315
	 X"$as_dir" : 'X\(//\)[^/]' \| \
316
	 X"$as_dir" : 'X\(//\)$' \| \
317
	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
318
$as_echo X"$as_dir" |
319
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
320
	    s//\1/
321
	    q
322
	  }
323
	  /^X\(\/\/\)[^/].*/{
324
	    s//\1/
325
	    q
326
	  }
327
	  /^X\(\/\/\)$/{
328
	    s//\1/
329
	    q
330
	  }
331
	  /^X\(\/\).*/{
332
	    s//\1/
333
	    q
334
	  }
335
	  s/.*/./; q'`
336
      test -d "$as_dir" && break
337
    done
338
    test -z "$as_dirs" || eval "mkdir $as_dirs"
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
339
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
340
341
342
} # as_fn_mkdir_p
343
# as_fn_append VAR VALUE
344
# ----------------------
345
# Append the text in VALUE to the end of the definition contained in VAR. Take
346
# advantage of any shell optimizations that allow amortized linear growth over
347
# repeated appends, instead of the typical quadratic growth present in naive
348
# implementations.
349
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
350
  eval 'as_fn_append ()
351
  {
352
    eval $1+=\$2
353
  }'
354
else
355
  as_fn_append ()
356
  {
357
    eval $1=\$$1\$2
358
  }
359
fi # as_fn_append
360
361
# as_fn_arith ARG...
362
# ------------------
363
# Perform arithmetic evaluation on the ARGs, and store the result in the
364
# global $as_val. Take advantage of shells that can avoid forks. The arguments
365
# must be portable across $(()) and expr.
366
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
367
  eval 'as_fn_arith ()
368
  {
369
    as_val=$(( $* ))
370
  }'
371
else
372
  as_fn_arith ()
373
  {
374
    as_val=`expr "$@" || test $? -eq 1`
375
  }
376
fi # as_fn_arith
377
378
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
379
# as_fn_error STATUS ERROR [LINENO LOG_FD]
380
# ----------------------------------------
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
381
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
382
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
383
# script with STATUS, using 1 if that was 0.
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
384
as_fn_error ()
385
{
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
386
  as_status=$1; test $as_status -eq 0 && as_status=1
387
  if test "$4"; then
388
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
389
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
390
  fi
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
391
  $as_echo "$as_me: error: $2" >&2
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
392
  as_fn_exit $as_status
393
} # as_fn_error
394
395
if expr a : '\(a\)' >/dev/null 2>&1 &&
396
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
397
  as_expr=expr
398
else
399
  as_expr=false
400
fi
401
402
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
403
  as_basename=basename
404
else
405
  as_basename=false
406
fi
407
408
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
409
  as_dirname=dirname
410
else
411
  as_dirname=false
412
fi
413
414
as_me=`$as_basename -- "$0" ||
415
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
416
	 X"$0" : 'X\(//\)$' \| \
417
	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
418
$as_echo X/"$0" |
419
    sed '/^.*\/\([^/][^/]*\)\/*$/{
420
	    s//\1/
421
	    q
422
	  }
423
	  /^X\/\(\/\/\)$/{
424
	    s//\1/
425
	    q
426
	  }
427
	  /^X\/\(\/\).*/{
428
	    s//\1/
429
	    q
430
	  }
431
	  s/.*/./; q'`
432
433
# Avoid depending upon Character Ranges.
434
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
435
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
436
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
437
as_cr_digits='0123456789'
438
as_cr_alnum=$as_cr_Letters$as_cr_digits
439
440
441
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
442
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
443
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
444
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
445
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
446
  sed -n '
447
    p
448
    /[$]LINENO/=
449
  ' <$as_myself |
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
450
    sed '
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
451
      s/[$]LINENO.*/&-/
452
      t lineno
453
      b
454
      :lineno
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
455
      N
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
456
      :loop
457
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
458
      t loop
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
459
      s/-\n.*//
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
460
    ' >$as_me.lineno &&
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
461
  chmod +x "$as_me.lineno" ||
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
462
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
463
464
  # Don't try to exec as it changes $[0], causing all sort of problems
465
  # (the dirname of $[0] is not the place where we might find the
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
466
  # original and so on.  Autoconf is especially sensitive to this).
467
  . "./$as_me.lineno"
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
468
  # Exit status is that of the last command.
469
  exit
470
}
471
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
472
ECHO_C= ECHO_N= ECHO_T=
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
473
case `echo -n x` in #(((((
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
474
-n*)
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
475
  case `echo 'xy\c'` in
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
476
  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
477
  xy)  ECHO_C='\c';;
478
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
479
       ECHO_T='	';;
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
480
  esac;;
481
*)
482
  ECHO_N='-n';;
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
483
esac
484
485
rm -f conf$$ conf$$.exe conf$$.file
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
486
if test -d conf$$.dir; then
487
  rm -f conf$$.dir/conf$$.file
488
else
489
  rm -f conf$$.dir
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
490
  mkdir conf$$.dir 2>/dev/null
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
491
fi
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
492
if (echo >conf$$.file) 2>/dev/null; then
493
  if ln -s conf$$.file conf$$ 2>/dev/null; then
494
    as_ln_s='ln -s'
495
    # ... but there are two gotchas:
496
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
497
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
498
    # In both cases, we have to default to `cp -p'.
499
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
500
      as_ln_s='cp -p'
501
  elif ln conf$$.file conf$$ 2>/dev/null; then
502
    as_ln_s=ln
503
  else
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
504
    as_ln_s='cp -p'
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
505
  fi
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
506
else
507
  as_ln_s='cp -p'
508
fi
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
509
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
510
rmdir conf$$.dir 2>/dev/null
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
511
512
if mkdir -p . 2>/dev/null; then
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
513
  as_mkdir_p='mkdir -p "$as_dir"'
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
514
else
515
  test -d ./-p && rmdir ./-p
516
  as_mkdir_p=false
517
fi
518
1.1.23 by Sebastien Bacher
Import upstream version 2.17.2
519
if test -x / >/dev/null 2>&1; then
520
  as_test_x='test -x'
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
521
else
1.1.23 by Sebastien Bacher
Import upstream version 2.17.2
522
  if ls -dL / >/dev/null 2>&1; then
523
    as_ls_L_option=L
524
  else
525
    as_ls_L_option=
526
  fi
527
  as_test_x='
528
    eval sh -c '\''
529
      if test -d "$1"; then
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
530
	test -d "$1/.";
1.1.23 by Sebastien Bacher
Import upstream version 2.17.2
531
      else
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
532
	case $1 in #(
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
533
	-*)set "./$1";;
1.1.23 by Sebastien Bacher
Import upstream version 2.17.2
534
	esac;
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
535
	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
1.1.23 by Sebastien Bacher
Import upstream version 2.17.2
536
	???[sx]*):;;*)false;;esac;fi
537
    '\'' sh
538
  '
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
539
fi
1.1.23 by Sebastien Bacher
Import upstream version 2.17.2
540
as_executable_p=$as_test_x
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
541
542
# Sed expression to map a string onto a valid CPP name.
543
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
544
545
# Sed expression to map a string onto a valid variable name.
546
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
547
548
SHELL=${CONFIG_SHELL-/bin/sh}
549
550
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
551
test -n "$DJDIR" || exec 7<&0 </dev/null
552
exec 6>&1
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
553
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
554
# Name of the host.
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
555
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
556
# so uname gets run too.
557
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
558
559
#
560
# Initializations.
561
#
1 by Joe Drew
Import upstream version 0.9.6
562
ac_default_prefix=/usr/local
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
563
ac_clean_files=
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
564
ac_config_libobj_dir=.
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
565
LIBOBJS=
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
566
cross_compiling=no
567
subdirs=
568
MFLAGS=
569
MAKEFLAGS=
570
571
# Identity of this package.
572
PACKAGE_NAME='gedit'
573
PACKAGE_TARNAME='gedit'
1.1.86 by Michael Terry
Import upstream version 3.1.1
574
PACKAGE_VERSION='3.1.1'
575
PACKAGE_STRING='gedit 3.1.1'
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
576
PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=gedit'
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
577
PACKAGE_URL='http://projects.gnome.org/gedit/'
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
578
1.1.2 by Daniel Holbach
Import upstream version 2.13.0
579
ac_unique_file="gedit/gedit.c"
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
580
# Factoring default headers for most tests.
581
ac_includes_default="\
582
#include <stdio.h>
1.1.23 by Sebastien Bacher
Import upstream version 2.17.2
583
#ifdef HAVE_SYS_TYPES_H
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
584
# include <sys/types.h>
585
#endif
1.1.23 by Sebastien Bacher
Import upstream version 2.17.2
586
#ifdef HAVE_SYS_STAT_H
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
587
# include <sys/stat.h>
588
#endif
1.1.23 by Sebastien Bacher
Import upstream version 2.17.2
589
#ifdef STDC_HEADERS
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
590
# include <stdlib.h>
591
# include <stddef.h>
592
#else
1.1.23 by Sebastien Bacher
Import upstream version 2.17.2
593
# ifdef HAVE_STDLIB_H
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
594
#  include <stdlib.h>
595
# endif
596
#endif
1.1.23 by Sebastien Bacher
Import upstream version 2.17.2
597
#ifdef HAVE_STRING_H
598
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
599
#  include <memory.h>
600
# endif
601
# include <string.h>
602
#endif
1.1.23 by Sebastien Bacher
Import upstream version 2.17.2
603
#ifdef HAVE_STRINGS_H
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
604
# include <strings.h>
605
#endif
1.1.23 by Sebastien Bacher
Import upstream version 2.17.2
606
#ifdef HAVE_INTTYPES_H
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
607
# include <inttypes.h>
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
608
#endif
1.1.23 by Sebastien Bacher
Import upstream version 2.17.2
609
#ifdef HAVE_STDINT_H
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
610
# include <stdint.h>
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
611
#endif
1.1.23 by Sebastien Bacher
Import upstream version 2.17.2
612
#ifdef HAVE_UNISTD_H
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
613
# include <unistd.h>
614
#endif"
615
1.1.64 by Robert Ancell
Import upstream version 2.27.3
616
ac_subst_vars='am__EXEEXT_FALSE
617
am__EXEEXT_TRUE
618
LTLIBOBJS
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
619
LIBOBJS
1.7.1 by Mirco Bauer
Import upstream version 3.0.0
620
HAVE_INTROSPECTION_FALSE
621
HAVE_INTROSPECTION_TRUE
622
INTROSPECTION_MAKEFILE
623
INTROSPECTION_LIBS
624
INTROSPECTION_CFLAGS
625
INTROSPECTION_TYPELIBDIR
626
INTROSPECTION_GIRDIR
627
INTROSPECTION_GENERATE
628
INTROSPECTION_COMPILER
629
INTROSPECTION_SCANNER
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
630
HAVE_GNOME_DOC_UTILS_FALSE
631
HAVE_GNOME_DOC_UTILS_TRUE
632
DISTCHECK_CONFIGURE_FLAGS
633
ENABLE_SK_FALSE
634
ENABLE_SK_TRUE
635
DOC_USER_FORMATS
636
OMF_DIR
637
HELP_DIR
1.1.55 by Sebastien Bacher
Import upstream version 2.25.4
638
GEDIT_PLUGINS_LIBS_DIR
639
GEDIT_PLUGINS_DATA_DIR
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
640
LOADER_LIBTOOL_FLAGS
641
PLUGIN_LIBTOOL_FLAGS
642
GEDIT_IMPLIB
643
DISABLE_DEPRECATED_CFLAGS
644
WARN_CFLAGS
645
GLIB_MKENUMS
646
GLIB_GENMARSHAL
1.7.1 by Mirco Bauer
Import upstream version 3.0.0
647
GSETTINGS_RULES
648
GLIB_COMPILE_SCHEMAS
649
gsettingsschemadir
650
GSETTINGS_DISABLE_SCHEMAS_COMPILE
651
EGG_SMCLIENT_LIBS
652
EGG_SMCLIENT_CFLAGS
653
UNIX_LIBS
654
UNIX_CFLAGS
655
X11_LIBS
656
X11_CFLAGS
657
GEDIT_LIBS
658
GEDIT_CFLAGS
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
659
ENABLE_PYTHON_FALSE
660
ENABLE_PYTHON_TRUE
1.7.1 by Mirco Bauer
Import upstream version 3.0.0
661
pyoverridesdir
662
PYTHON_LIBS
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
663
PYTHON_CFLAGS
1.7.1 by Mirco Bauer
Import upstream version 3.0.0
664
ENABLE_ZEITGEIST_FALSE
665
ENABLE_ZEITGEIST_TRUE
666
ZEITGEIST_LIBS
667
ZEITGEIST_CFLAGS
1.1.63 by Robert Ancell
Import upstream version 2.27.2
668
ENABLE_ENCHANT_FALSE
669
ENABLE_ENCHANT_TRUE
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
670
ENCHANT_LIBS
671
ENCHANT_CFLAGS
1.1.63 by Robert Ancell
Import upstream version 2.27.2
672
ENABLE_UPDATER_FALSE
673
ENABLE_UPDATER_TRUE
674
LIBSOUP_LIBS
675
LIBSOUP_CFLAGS
1.6.1 by Sebastian Dröge
Import upstream version 2.30.2
676
ENABLE_GVFS_METADATA_FALSE
677
ENABLE_GVFS_METADATA_TRUE
1.7.1 by Mirco Bauer
Import upstream version 3.0.0
678
GETTEXT_PACKAGE
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
679
DATADIRNAME
680
ALL_LINGUAS
681
INTLTOOL_PERL
682
GMSGFMT
683
MSGFMT
684
MSGMERGE
685
XGETTEXT
686
INTLTOOL_POLICY_RULE
687
INTLTOOL_SERVICE_RULE
688
INTLTOOL_THEME_RULE
689
INTLTOOL_SCHEMAS_RULE
690
INTLTOOL_CAVES_RULE
691
INTLTOOL_XML_NOMERGE_RULE
692
INTLTOOL_XML_RULE
693
INTLTOOL_KBD_RULE
694
INTLTOOL_XAM_RULE
695
INTLTOOL_UI_RULE
696
INTLTOOL_SOUNDLIST_RULE
697
INTLTOOL_SHEET_RULE
698
INTLTOOL_SERVER_RULE
699
INTLTOOL_PONG_RULE
700
INTLTOOL_OAF_RULE
701
INTLTOOL_PROP_RULE
702
INTLTOOL_KEYS_RULE
703
INTLTOOL_DIRECTORY_RULE
704
INTLTOOL_DESKTOP_RULE
705
INTLTOOL_EXTRACT
706
INTLTOOL_MERGE
707
INTLTOOL_UPDATE
708
USE_NLS
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
709
FULL_LIBEXECDIR
1.4.2 by Emilio Pozuelo Monfort
Import upstream version 2.28.1
710
IGE_MAC_LIBS
711
IGE_MAC_CFLAGS
712
DEFAULT_PRINT_FONT
713
DEFAULT_FONT
1.7.1 by Mirco Bauer
Import upstream version 3.0.0
714
GDK_WINDOWING_X11_FALSE
715
GDK_WINDOWING_X11_TRUE
1.4.2 by Emilio Pozuelo Monfort
Import upstream version 2.28.1
716
OS_OSX_FALSE
717
OS_OSX_TRUE
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
718
PLATFORM_OSX_FALSE
719
PLATFORM_OSX_TRUE
1.1.58 by Sebastien Bacher
Import upstream version 2.25.7
720
OS_WIN32_FALSE
721
OS_WIN32_TRUE
1.1.69 by Sebastien Bacher
Import upstream version 2.29.2
722
WINDRES
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
723
PLATFORM_WIN32_FALSE
724
PLATFORM_WIN32_TRUE
1.1.63 by Robert Ancell
Import upstream version 2.27.2
725
ACTIVE_PLUGINS
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
726
ACLOCAL_AMFLAGS
1.5.1 by Emilio Pozuelo Monfort
Import upstream version 2.28.2
727
GTK_DOC_USE_REBASE_FALSE
728
GTK_DOC_USE_REBASE_TRUE
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
729
GTK_DOC_USE_LIBTOOL_FALSE
730
GTK_DOC_USE_LIBTOOL_TRUE
1.5.1 by Emilio Pozuelo Monfort
Import upstream version 2.28.2
731
GTK_DOC_BUILD_PDF_FALSE
732
GTK_DOC_BUILD_PDF_TRUE
733
GTK_DOC_BUILD_HTML_FALSE
734
GTK_DOC_BUILD_HTML_TRUE
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
735
ENABLE_GTK_DOC_FALSE
736
ENABLE_GTK_DOC_TRUE
1.1.85 by Rodrigo Moya
Import upstream version 3.0.5
737
GTKDOC_DEPS_LIBS
738
GTKDOC_DEPS_CFLAGS
1.5.1 by Emilio Pozuelo Monfort
Import upstream version 2.28.2
739
HTML_DIR
740
GTKDOC_MKPDF
741
GTKDOC_REBASE
1.3.3 by Emilio Pozuelo Monfort
Import upstream version 2.26.3
742
GTKDOC_CHECK
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
743
GEDIT_API_VERSION
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
744
CPP
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
745
OTOOL64
746
OTOOL
747
LIPO
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
748
NMEDIT
749
DSYMUTIL
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
750
MANIFEST_TOOL
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
751
RANLIB
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
752
ac_ct_AR
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
753
AR
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
754
DLLTOOL
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
755
OBJDUMP
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
756
LN_S
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
757
NM
758
ac_ct_DUMPBIN
759
DUMPBIN
760
LD
761
FGREP
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
762
EGREP
763
GREP
764
SED
765
host_os
766
host_vendor
767
host_cpu
768
host
769
build_os
770
build_vendor
771
build_cpu
1.1.27 by Sebastien Bacher
Import upstream version 2.17.6
772
build
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
773
LIBTOOL
1.7.1 by Mirco Bauer
Import upstream version 3.0.0
774
pkgpyexecdir
775
pyexecdir
776
pkgpythondir
777
pythondir
778
PYTHON_PLATFORM
779
PYTHON_EXEC_PREFIX
780
PYTHON_PREFIX
781
PYTHON_VERSION
782
PYTHON
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
783
am__fastdepOBJC_FALSE
784
am__fastdepOBJC_TRUE
785
OBJCDEPMODE
786
ac_ct_OBJC
787
OBJCFLAGS
788
OBJC
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
789
PKG_CONFIG_LIBDIR
790
PKG_CONFIG_PATH
1.1.57 by Sebastien Bacher
Import upstream version 2.25.6
791
PKG_CONFIG
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
792
am__fastdepCC_FALSE
793
am__fastdepCC_TRUE
794
CCDEPMODE
795
AMDEPBACKSLASH
796
AMDEP_FALSE
797
AMDEP_TRUE
798
am__quote
799
am__include
800
DEPDIR
801
OBJEXT
802
EXEEXT
803
ac_ct_CC
804
CPPFLAGS
805
LDFLAGS
806
CFLAGS
807
CC
1.1.64 by Robert Ancell
Import upstream version 2.27.3
808
AM_BACKSLASH
809
AM_DEFAULT_VERBOSITY
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
810
MAINT
811
MAINTAINER_MODE_FALSE
812
MAINTAINER_MODE_TRUE
813
am__untar
814
am__tar
815
AMTAR
816
am__leading_dot
817
SET_MAKE
818
AWK
819
mkdir_p
820
MKDIR_P
821
INSTALL_STRIP_PROGRAM
822
STRIP
823
install_sh
824
MAKEINFO
825
AUTOHEADER
826
AUTOMAKE
827
AUTOCONF
828
ACLOCAL
829
VERSION
830
PACKAGE
831
CYGPATH_W
832
am__isrc
833
INSTALL_DATA
834
INSTALL_SCRIPT
835
INSTALL_PROGRAM
836
GEDIT_MICRO_VERSION
837
GEDIT_MINOR_VERSION
838
GEDIT_MAJOR_VERSION
839
target_alias
840
host_alias
841
build_alias
842
LIBS
843
ECHO_T
844
ECHO_N
845
ECHO_C
846
DEFS
847
mandir
848
localedir
849
libdir
850
psdir
851
pdfdir
852
dvidir
853
htmldir
854
infodir
855
docdir
856
oldincludedir
857
includedir
858
localstatedir
859
sharedstatedir
860
sysconfdir
861
datadir
862
datarootdir
863
libexecdir
864
sbindir
865
bindir
866
program_transform_name
867
prefix
868
exec_prefix
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
869
PACKAGE_URL
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
870
PACKAGE_BUGREPORT
871
PACKAGE_STRING
872
PACKAGE_VERSION
873
PACKAGE_TARNAME
874
PACKAGE_NAME
875
PATH_SEPARATOR
876
SHELL'
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
877
ac_subst_files=''
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
878
ac_user_opts='
879
enable_option_checking
880
enable_maintainer_mode
1.1.64 by Robert Ancell
Import upstream version 2.27.3
881
enable_silent_rules
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
882
enable_dependency_tracking
883
enable_largefile
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
884
enable_static
885
enable_shared
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
886
with_pic
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
887
enable_fast_install
888
with_gnu_ld
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
889
with_sysroot
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
890
enable_libtool_lock
891
with_html_dir
892
enable_gtk_doc
1.5.1 by Emilio Pozuelo Monfort
Import upstream version 2.28.2
893
enable_gtk_doc_html
894
enable_gtk_doc_pdf
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
895
enable_nls
1.6.1 by Sebastian Dröge
Import upstream version 2.30.2
896
enable_gvfs_metadata
1.1.63 by Robert Ancell
Import upstream version 2.27.2
897
enable_updater
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
898
enable_spell
1.7.1 by Mirco Bauer
Import upstream version 3.0.0
899
enable_zeitgeist
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
900
enable_python
1.7.1 by Mirco Bauer
Import upstream version 3.0.0
901
enable_schemas_compile
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
902
enable_compile_warnings
903
enable_iso_c
904
enable_deprecations
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
905
with_help_dir
906
with_omf_dir
907
with_help_formats
908
enable_scrollkeeper
1.7.1 by Mirco Bauer
Import upstream version 3.0.0
909
enable_introspection
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
910
'
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
911
      ac_precious_vars='build_alias
912
host_alias
913
target_alias
914
CC
915
CFLAGS
916
LDFLAGS
1.1.23 by Sebastien Bacher
Import upstream version 2.17.2
917
LIBS
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
918
CPPFLAGS
1.1.57 by Sebastien Bacher
Import upstream version 2.25.6
919
PKG_CONFIG
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
920
PKG_CONFIG_PATH
921
PKG_CONFIG_LIBDIR
1.4.2 by Emilio Pozuelo Monfort
Import upstream version 2.28.1
922
OBJC
923
OBJCFLAGS
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
924
CPP
1.1.85 by Rodrigo Moya
Import upstream version 3.0.5
925
GTKDOC_DEPS_CFLAGS
926
GTKDOC_DEPS_LIBS
1.4.2 by Emilio Pozuelo Monfort
Import upstream version 2.28.1
927
IGE_MAC_CFLAGS
928
IGE_MAC_LIBS
1.1.63 by Robert Ancell
Import upstream version 2.27.2
929
LIBSOUP_CFLAGS
930
LIBSOUP_LIBS
1.1.22 by Daniel Holbach
Import upstream version 2.17.1
931
ENCHANT_CFLAGS
932
ENCHANT_LIBS
1.7.1 by Mirco Bauer
Import upstream version 3.0.0
933
ZEITGEIST_CFLAGS
934
ZEITGEIST_LIBS
935
PYTHON_CFLAGS
936
PYTHON_LIBS
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
937
GEDIT_CFLAGS
938
GEDIT_LIBS
1.1.76 by Sebastien Bacher
Import upstream version 2.29.9
939
X11_CFLAGS
940
X11_LIBS
1.7.1 by Mirco Bauer
Import upstream version 3.0.0
941
UNIX_CFLAGS
942
UNIX_LIBS
1.1.53 by Sebastien Bacher
Import upstream version 2.25.2
943
EGG_SMCLIENT_CFLAGS
2.2.2 by Mirco Bauer
* New upstream release
944
EGG_SMCLIENT_LIBS'
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
945
1 by Joe Drew
Import upstream version 0.9.6
946
947
# Initialize some variables set by options.
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
948
ac_init_help=
949
ac_init_version=false
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
950
ac_unrecognized_opts=
951
ac_unrecognized_sep=
1 by Joe Drew
Import upstream version 0.9.6
952
# The variables have the same names as the options, with
953
# dashes changed to underlines.
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
954
cache_file=/dev/null
1 by Joe Drew
Import upstream version 0.9.6
955
exec_prefix=NONE
956
no_create=
957
no_recursion=
958
prefix=NONE
959
program_prefix=NONE
960
program_suffix=NONE
961
program_transform_name=s,x,x,
962
silent=
963
site=
964
srcdir=
965
verbose=
966
x_includes=NONE
967
x_libraries=NONE
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
968
969
# Installation directory options.
970
# These are left unexpanded so users can "make install exec_prefix=/foo"
971
# and all the variables that are supposed to be based on exec_prefix
972
# by default will actually change.
973
# Use braces instead of parens because sh, perl, etc. also accept them.
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
974
# (The list follows the same order as the GNU Coding Standards.)
1 by Joe Drew
Import upstream version 0.9.6
975
bindir='${exec_prefix}/bin'
976
sbindir='${exec_prefix}/sbin'
977
libexecdir='${exec_prefix}/libexec'
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
978
datarootdir='${prefix}/share'
979
datadir='${datarootdir}'
1 by Joe Drew
Import upstream version 0.9.6
980
sysconfdir='${prefix}/etc'
981
sharedstatedir='${prefix}/com'
982
localstatedir='${prefix}/var'
983
includedir='${prefix}/include'
984
oldincludedir='/usr/include'
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
985
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
986
infodir='${datarootdir}/info'
987
htmldir='${docdir}'
988
dvidir='${docdir}'
989
pdfdir='${docdir}'
990
psdir='${docdir}'
991
libdir='${exec_prefix}/lib'
992
localedir='${datarootdir}/locale'
993
mandir='${datarootdir}/man'
1 by Joe Drew
Import upstream version 0.9.6
994
995
ac_prev=
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
996
ac_dashdash=
1 by Joe Drew
Import upstream version 0.9.6
997
for ac_option
998
do
999
  # If the previous option needs an argument, assign it.
1000
  if test -n "$ac_prev"; then
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
1001
    eval $ac_prev=\$ac_option
1 by Joe Drew
Import upstream version 0.9.6
1002
    ac_prev=
1003
    continue
1004
  fi
1005
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
1006
  case $ac_option in
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
1007
  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1008
  *=)   ac_optarg= ;;
1009
  *)    ac_optarg=yes ;;
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
1010
  esac
1 by Joe Drew
Import upstream version 0.9.6
1011
1012
  # Accept the important Cygnus configure options, so we can diagnose typos.
1013
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
1014
  case $ac_dashdash$ac_option in
1015
  --)
1016
    ac_dashdash=yes ;;
1 by Joe Drew
Import upstream version 0.9.6
1017
1018
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
1019
    ac_prev=bindir ;;
1020
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
1021
    bindir=$ac_optarg ;;
1 by Joe Drew
Import upstream version 0.9.6
1022
1023
  -build | --build | --buil | --bui | --bu)
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
1024
    ac_prev=build_alias ;;
1 by Joe Drew
Import upstream version 0.9.6
1025
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
1026
    build_alias=$ac_optarg ;;
1 by Joe Drew
Import upstream version 0.9.6
1027
1028
  -cache-file | --cache-file | --cache-fil | --cache-fi \
1029
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1030
    ac_prev=cache_file ;;
1031
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1032
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
1033
    cache_file=$ac_optarg ;;
1034
1035
  --config-cache | -C)
1036
    cache_file=config.cache ;;
1 by Joe Drew
Import upstream version 0.9.6
1037
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
1038
  -datadir | --datadir | --datadi | --datad)
1 by Joe Drew
Import upstream version 0.9.6
1039
    ac_prev=datadir ;;
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
1040
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
1041
    datadir=$ac_optarg ;;
1 by Joe Drew
Import upstream version 0.9.6
1042
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
1043
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1044
  | --dataroo | --dataro | --datar)
1045
    ac_prev=datarootdir ;;
1046
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1047
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1048
    datarootdir=$ac_optarg ;;
1049
1 by Joe Drew
Import upstream version 0.9.6
1050
  -disable-* | --disable-*)
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
1051
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1 by Joe Drew
Import upstream version 0.9.6
1052
    # Reject names that are not valid shell variable names.
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
1053
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
1054
      as_fn_error $? "invalid feature name: $ac_useropt"
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
1055
    ac_useropt_orig=$ac_useropt
1056
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1057
    case $ac_user_opts in
1058
      *"
1059
"enable_$ac_useropt"
1060
"*) ;;
1061
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1062
	 ac_unrecognized_sep=', ';;
1063
    esac
1064
    eval enable_$ac_useropt=no ;;
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
1065
1066
  -docdir | --docdir | --docdi | --doc | --do)
1067
    ac_prev=docdir ;;
1068
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1069
    docdir=$ac_optarg ;;
1070
1071
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1072
    ac_prev=dvidir ;;
1073
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1074
    dvidir=$ac_optarg ;;
1 by Joe Drew
Import upstream version 0.9.6
1075
1076
  -enable-* | --enable-*)
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
1077
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1 by Joe Drew
Import upstream version 0.9.6
1078
    # Reject names that are not valid shell variable names.
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
1079
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
1080
      as_fn_error $? "invalid feature name: $ac_useropt"
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
1081
    ac_useropt_orig=$ac_useropt
1082
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1083
    case $ac_user_opts in
1084
      *"
1085
"enable_$ac_useropt"
1086
"*) ;;
1087
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1088
	 ac_unrecognized_sep=', ';;
1089
    esac
1090
    eval enable_$ac_useropt=\$ac_optarg ;;
1 by Joe Drew
Import upstream version 0.9.6
1091
1092
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1093
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1094
  | --exec | --exe | --ex)
1095
    ac_prev=exec_prefix ;;
1096
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1097
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1098
  | --exec=* | --exe=* | --ex=*)
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
1099
    exec_prefix=$ac_optarg ;;
1 by Joe Drew
Import upstream version 0.9.6
1100
1101
  -gas | --gas | --ga | --g)
1102
    # Obsolete; use --with-gas.
1103
    with_gas=yes ;;
1104
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
1105
  -help | --help | --hel | --he | -h)
1106
    ac_init_help=long ;;
1107
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1108
    ac_init_help=recursive ;;
1109
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1110
    ac_init_help=short ;;
1 by Joe Drew
Import upstream version 0.9.6
1111
1112
  -host | --host | --hos | --ho)
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
1113
    ac_prev=host_alias ;;
1 by Joe Drew
Import upstream version 0.9.6
1114
  -host=* | --host=* | --hos=* | --ho=*)
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
1115
    host_alias=$ac_optarg ;;
1 by Joe Drew
Import upstream version 0.9.6
1116
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
1117
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1118
    ac_prev=htmldir ;;
1119
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1120
  | --ht=*)
1121
    htmldir=$ac_optarg ;;
1122
1 by Joe Drew
Import upstream version 0.9.6
1123
  -includedir | --includedir | --includedi | --included | --include \
1124
  | --includ | --inclu | --incl | --inc)
1125
    ac_prev=includedir ;;
1126
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1127
  | --includ=* | --inclu=* | --incl=* | --inc=*)
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
1128
    includedir=$ac_optarg ;;
1 by Joe Drew
Import upstream version 0.9.6
1129
1130
  -infodir | --infodir | --infodi | --infod | --info | --inf)
1131
    ac_prev=infodir ;;
1132
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
1133
    infodir=$ac_optarg ;;
1 by Joe Drew
Import upstream version 0.9.6
1134
1135
  -libdir | --libdir | --libdi | --libd)
1136
    ac_prev=libdir ;;
1137
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
1138
    libdir=$ac_optarg ;;
1 by Joe Drew
Import upstream version 0.9.6
1139
1140
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1141
  | --libexe | --libex | --libe)
1142
    ac_prev=libexecdir ;;
1143
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1144
  | --libexe=* | --libex=* | --libe=*)
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
1145
    libexecdir=$ac_optarg ;;
1 by Joe Drew
Import upstream version 0.9.6
1146
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
1147
  -localedir | --localedir | --localedi | --localed | --locale)
1148
    ac_prev=localedir ;;
1149
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1150
    localedir=$ac_optarg ;;
1151
1 by Joe Drew
Import upstream version 0.9.6
1152
  -localstatedir | --localstatedir | --localstatedi | --localstated \
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
1153
  | --localstate | --localstat | --localsta | --localst | --locals)
1 by Joe Drew
Import upstream version 0.9.6
1154
    ac_prev=localstatedir ;;
1155
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
1156
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
1157
    localstatedir=$ac_optarg ;;
1 by Joe Drew
Import upstream version 0.9.6
1158
1159
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1160
    ac_prev=mandir ;;
1161
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
1162
    mandir=$ac_optarg ;;
1 by Joe Drew
Import upstream version 0.9.6
1163
1164
  -nfp | --nfp | --nf)
1165
    # Obsolete; use --without-fp.
1166
    with_fp=no ;;
1167
1168
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
1169
  | --no-cr | --no-c | -n)
1 by Joe Drew
Import upstream version 0.9.6
1170
    no_create=yes ;;
1171
1172
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1173
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1174
    no_recursion=yes ;;
1175
1176
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1177
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1178
  | --oldin | --oldi | --old | --ol | --o)
1179
    ac_prev=oldincludedir ;;
1180
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1181
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1182
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
1183
    oldincludedir=$ac_optarg ;;
1 by Joe Drew
Import upstream version 0.9.6
1184
1185
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1186
    ac_prev=prefix ;;
1187
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
1188
    prefix=$ac_optarg ;;
1 by Joe Drew
Import upstream version 0.9.6
1189
1190
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1191
  | --program-pre | --program-pr | --program-p)
1192
    ac_prev=program_prefix ;;
1193
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1194
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
1195
    program_prefix=$ac_optarg ;;
1 by Joe Drew
Import upstream version 0.9.6
1196
1197
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1198
  | --program-suf | --program-su | --program-s)
1199
    ac_prev=program_suffix ;;
1200
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1201
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
1202
    program_suffix=$ac_optarg ;;
1 by Joe Drew
Import upstream version 0.9.6
1203
1204
  -program-transform-name | --program-transform-name \
1205
  | --program-transform-nam | --program-transform-na \
1206
  | --program-transform-n | --program-transform- \
1207
  | --program-transform | --program-transfor \
1208
  | --program-transfo | --program-transf \
1209
  | --program-trans | --program-tran \
1210
  | --progr-tra | --program-tr | --program-t)
1211
    ac_prev=program_transform_name ;;
1212
  -program-transform-name=* | --program-transform-name=* \
1213
  | --program-transform-nam=* | --program-transform-na=* \
1214
  | --program-transform-n=* | --program-transform-=* \
1215
  | --program-transform=* | --program-transfor=* \
1216
  | --program-transfo=* | --program-transf=* \
1217
  | --program-trans=* | --program-tran=* \
1218
  | --progr-tra=* | --program-tr=* | --program-t=*)
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
1219
    program_transform_name=$ac_optarg ;;
1 by Joe Drew
Import upstream version 0.9.6
1220
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
1221
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1222
    ac_prev=pdfdir ;;
1223
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1224
    pdfdir=$ac_optarg ;;
1225
1226
  -psdir | --psdir | --psdi | --psd | --ps)
1227
    ac_prev=psdir ;;
1228
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1229
    psdir=$ac_optarg ;;
1230
1 by Joe Drew
Import upstream version 0.9.6
1231
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1232
  | -silent | --silent | --silen | --sile | --sil)
1233
    silent=yes ;;
1234
1235
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1236
    ac_prev=sbindir ;;
1237
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1238
  | --sbi=* | --sb=*)
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
1239
    sbindir=$ac_optarg ;;
1 by Joe Drew
Import upstream version 0.9.6
1240
1241
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1242
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1243
  | --sharedst | --shareds | --shared | --share | --shar \
1244
  | --sha | --sh)
1245
    ac_prev=sharedstatedir ;;
1246
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1247
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1248
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1249
  | --sha=* | --sh=*)
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
1250
    sharedstatedir=$ac_optarg ;;
1 by Joe Drew
Import upstream version 0.9.6
1251
1252
  -site | --site | --sit)
1253
    ac_prev=site ;;
1254
  -site=* | --site=* | --sit=*)
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
1255
    site=$ac_optarg ;;
1 by Joe Drew
Import upstream version 0.9.6
1256
1257
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1258
    ac_prev=srcdir ;;
1259
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
1260
    srcdir=$ac_optarg ;;
1 by Joe Drew
Import upstream version 0.9.6
1261
1262
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1263
  | --syscon | --sysco | --sysc | --sys | --sy)
1264
    ac_prev=sysconfdir ;;
1265
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1266
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
1267
    sysconfdir=$ac_optarg ;;
1 by Joe Drew
Import upstream version 0.9.6
1268
1269
  -target | --target | --targe | --targ | --tar | --ta | --t)
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
1270
    ac_prev=target_alias ;;
1 by Joe Drew
Import upstream version 0.9.6
1271
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
1272
    target_alias=$ac_optarg ;;
1 by Joe Drew
Import upstream version 0.9.6
1273
1274
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1275
    verbose=yes ;;
1276
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
1277
  -version | --version | --versio | --versi | --vers | -V)
1278
    ac_init_version=: ;;
1 by Joe Drew
Import upstream version 0.9.6
1279
1280
  -with-* | --with-*)
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
1281
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1 by Joe Drew
Import upstream version 0.9.6
1282
    # Reject names that are not valid shell variable names.
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
1283
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
1284
      as_fn_error $? "invalid package name: $ac_useropt"
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
1285
    ac_useropt_orig=$ac_useropt
1286
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1287
    case $ac_user_opts in
1288
      *"
1289
"with_$ac_useropt"
1290
"*) ;;
1291
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1292
	 ac_unrecognized_sep=', ';;
1293
    esac
1294
    eval with_$ac_useropt=\$ac_optarg ;;
1 by Joe Drew
Import upstream version 0.9.6
1295
1296
  -without-* | --without-*)
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
1297
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1 by Joe Drew
Import upstream version 0.9.6
1298
    # Reject names that are not valid shell variable names.
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
1299
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
1300
      as_fn_error $? "invalid package name: $ac_useropt"
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
1301
    ac_useropt_orig=$ac_useropt
1302
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1303
    case $ac_user_opts in
1304
      *"
1305
"with_$ac_useropt"
1306
"*) ;;
1307
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1308
	 ac_unrecognized_sep=', ';;
1309
    esac
1310
    eval with_$ac_useropt=no ;;
1 by Joe Drew
Import upstream version 0.9.6
1311
1312
  --x)
1313
    # Obsolete; use --with-x.
1314
    with_x=yes ;;
1315
1316
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1317
  | --x-incl | --x-inc | --x-in | --x-i)
1318
    ac_prev=x_includes ;;
1319
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1320
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
1321
    x_includes=$ac_optarg ;;
1 by Joe Drew
Import upstream version 0.9.6
1322
1323
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1324
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1325
    ac_prev=x_libraries ;;
1326
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1327
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
1328
    x_libraries=$ac_optarg ;;
1 by Joe Drew
Import upstream version 0.9.6
1329
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
1330
  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1331
Try \`$0 --help' for more information"
1 by Joe Drew
Import upstream version 0.9.6
1332
    ;;
1333
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
1334
  *=*)
1335
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1336
    # Reject names that are not valid shell variable names.
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
1337
    case $ac_envvar in #(
1338
      '' | [0-9]* | *[!_$as_cr_alnum]* )
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
1339
      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
1340
    esac
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
1341
    eval $ac_envvar=\$ac_optarg
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
1342
    export $ac_envvar ;;
1343
1 by Joe Drew
Import upstream version 0.9.6
1344
  *)
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
1345
    # FIXME: should be removed in autoconf 3.0.
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
1346
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
1347
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
1348
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
1349
    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1 by Joe Drew
Import upstream version 0.9.6
1350
    ;;
1351
1352
  esac
1353
done
1354
1355
if test -n "$ac_prev"; then
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
1356
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
1357
  as_fn_error $? "missing argument to $ac_option"
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
1358
fi
1359
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
1360
if test -n "$ac_unrecognized_opts"; then
1361
  case $enable_option_checking in
1362
    no) ;;
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
1363
    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
1364
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1365
  esac
1366
fi
1367
1368
# Check all directory arguments for consistency.
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
1369
for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1370
		datadir sysconfdir sharedstatedir localstatedir includedir \
1371
		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1372
		libdir localedir mandir
1373
do
1374
  eval ac_val=\$$ac_var
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
1375
  # Remove trailing slashes.
1376
  case $ac_val in
1377
    */ )
1378
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1379
      eval $ac_var=\$ac_val;;
1380
  esac
1381
  # Be sure to have absolute directory names.
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
1382
  case $ac_val in
1383
    [\\/$]* | ?:[\\/]* )  continue;;
1384
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1385
  esac
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
1386
  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
1387
done
1388
1389
# There might be people who depend on the old broken behavior: `$host'
1390
# used to hold the argument of --host etc.
1391
# FIXME: To remove some day.
1392
build=$build_alias
1393
host=$host_alias
1394
target=$target_alias
1395
1396
# FIXME: To remove some day.
1397
if test "x$host_alias" != x; then
1398
  if test "x$build_alias" = x; then
1399
    cross_compiling=maybe
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
1400
    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1401
    If a cross compiler is detected then cross compile mode will be used" >&2
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
1402
  elif test "x$build_alias" != "x$host_alias"; then
1403
    cross_compiling=yes
1404
  fi
1405
fi
1406
1407
ac_tool_prefix=
1408
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1409
1410
test "$silent" = yes && exec 6>/dev/null
1411
1 by Joe Drew
Import upstream version 0.9.6
1412
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
1413
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1414
ac_ls_di=`ls -di .` &&
1415
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
1416
  as_fn_error $? "working directory cannot be determined"
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
1417
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
1418
  as_fn_error $? "pwd does not report name of working directory"
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
1419
1420
1 by Joe Drew
Import upstream version 0.9.6
1421
# Find the source files, if location was not specified.
1422
if test -z "$srcdir"; then
1423
  ac_srcdir_defaulted=yes
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
1424
  # Try the directory containing this script, then the parent directory.
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
1425
  ac_confdir=`$as_dirname -- "$as_myself" ||
1426
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1427
	 X"$as_myself" : 'X\(//\)[^/]' \| \
1428
	 X"$as_myself" : 'X\(//\)$' \| \
1429
	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1430
$as_echo X"$as_myself" |
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
1431
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1432
	    s//\1/
1433
	    q
1434
	  }
1435
	  /^X\(\/\/\)[^/].*/{
1436
	    s//\1/
1437
	    q
1438
	  }
1439
	  /^X\(\/\/\)$/{
1440
	    s//\1/
1441
	    q
1442
	  }
1443
	  /^X\(\/\).*/{
1444
	    s//\1/
1445
	    q
1446
	  }
1447
	  s/.*/./; q'`
1 by Joe Drew
Import upstream version 0.9.6
1448
  srcdir=$ac_confdir
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
1449
  if test ! -r "$srcdir/$ac_unique_file"; then
1 by Joe Drew
Import upstream version 0.9.6
1450
    srcdir=..
1451
  fi
1452
else
1453
  ac_srcdir_defaulted=no
1454
fi
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
1455
if test ! -r "$srcdir/$ac_unique_file"; then
1456
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
1457
  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
1458
fi
1459
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1460
ac_abs_confdir=`(
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
1461
	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
1462
	pwd)`
1463
# When building in place, set srcdir=.
1464
if test "$ac_abs_confdir" = "$ac_pwd"; then
1465
  srcdir=.
1466
fi
1467
# Remove unnecessary trailing slashes from srcdir.
1468
# Double slashes in file names in object file debugging info
1469
# mess up M-x gdb in Emacs.
1470
case $srcdir in
1471
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1472
esac
1473
for ac_var in $ac_precious_vars; do
1474
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1475
  eval ac_env_${ac_var}_value=\$${ac_var}
1476
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1477
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1478
done
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
1479
1480
#
1481
# Report the --help message.
1482
#
1483
if test "$ac_init_help" = "long"; then
1484
  # Omit some internal or obsolete options to make the list less imposing.
1485
  # This message is too long to be a string in the A/UX 3.1 sh.
1486
  cat <<_ACEOF
1.1.86 by Michael Terry
Import upstream version 3.1.1
1487
\`configure' configures gedit 3.1.1 to adapt to many kinds of systems.
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
1488
1489
Usage: $0 [OPTION]... [VAR=VALUE]...
1490
1491
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1492
VAR=VALUE.  See below for descriptions of some of the useful variables.
1493
1494
Defaults for the options are specified in brackets.
1495
1496
Configuration:
1497
  -h, --help              display this help and exit
1498
      --help=short        display options specific to this package
1499
      --help=recursive    display the short help of all the included packages
1500
  -V, --version           display version information and exit
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
1501
  -q, --quiet, --silent   do not print \`checking ...' messages
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
1502
      --cache-file=FILE   cache test results in FILE [disabled]
1503
  -C, --config-cache      alias for \`--cache-file=config.cache'
1504
  -n, --no-create         do not create output files
1505
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1506
1507
Installation directories:
1508
  --prefix=PREFIX         install architecture-independent files in PREFIX
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
1509
                          [$ac_default_prefix]
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
1510
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
1511
                          [PREFIX]
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
1512
1513
By default, \`make install' will install all the files in
1514
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1515
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1516
for instance \`--prefix=\$HOME'.
1517
1518
For better control, use the options below.
1519
1520
Fine tuning of the installation directories:
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
1521
  --bindir=DIR            user executables [EPREFIX/bin]
1522
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1523
  --libexecdir=DIR        program executables [EPREFIX/libexec]
1524
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1525
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1526
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1527
  --libdir=DIR            object code libraries [EPREFIX/lib]
1528
  --includedir=DIR        C header files [PREFIX/include]
1529
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1530
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1531
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1532
  --infodir=DIR           info documentation [DATAROOTDIR/info]
1533
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1534
  --mandir=DIR            man documentation [DATAROOTDIR/man]
1535
  --docdir=DIR            documentation root [DATAROOTDIR/doc/gedit]
1536
  --htmldir=DIR           html documentation [DOCDIR]
1537
  --dvidir=DIR            dvi documentation [DOCDIR]
1538
  --pdfdir=DIR            pdf documentation [DOCDIR]
1539
  --psdir=DIR             ps documentation [DOCDIR]
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
1540
_ACEOF
1541
1542
  cat <<\_ACEOF
1543
1544
Program names:
1545
  --program-prefix=PREFIX            prepend PREFIX to installed program names
1546
  --program-suffix=SUFFIX            append SUFFIX to installed program names
1547
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1548
1549
System types:
1550
  --build=BUILD     configure for building on BUILD [guessed]
1551
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1552
_ACEOF
1553
fi
1554
1555
if test -n "$ac_init_help"; then
1556
  case $ac_init_help in
1.1.86 by Michael Terry
Import upstream version 3.1.1
1557
     short | recursive ) echo "Configuration of gedit 3.1.1:";;
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
1558
   esac
1559
  cat <<\_ACEOF
1560
1561
Optional Features:
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
1562
  --disable-option-checking  ignore unrecognized --enable/--with options
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
1563
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1564
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1.1.2 by Daniel Holbach
Import upstream version 2.13.0
1565
  --enable-maintainer-mode  enable make rules and dependencies not useful
1566
			  (and sometimes confusing) to the casual installer
1.1.64 by Robert Ancell
Import upstream version 2.27.3
1567
  --enable-silent-rules          less verbose build output (undo: `make V=1')
1568
  --disable-silent-rules         verbose build output (undo: `make V=0')
1.1.27 by Sebastien Bacher
Import upstream version 2.17.6
1569
  --disable-dependency-tracking  speeds up one-time build
1570
  --enable-dependency-tracking   do not reject slow dependency extractors
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
1571
  --disable-largefile     omit support for large files
1572
  --enable-static[=PKGS]  build static libraries [default=no]
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
1573
  --enable-shared[=PKGS]  build shared libraries [default=yes]
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
1574
  --enable-fast-install[=PKGS]
1575
                          optimize for fast installation [default=yes]
1576
  --disable-libtool-lock  avoid locking (might break parallel builds)
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
1577
  --enable-gtk-doc        use gtk-doc to build documentation [[default=no]]
1.1.76 by Sebastien Bacher
Import upstream version 2.29.9
1578
  --enable-gtk-doc-html   build documentation in html format [[default=yes]]
1579
  --enable-gtk-doc-pdf    build documentation in pdf format [[default=no]]
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
1580
  --disable-nls           do not use Native Language Support
1.6.1 by Sebastian Dröge
Import upstream version 2.30.2
1581
  --enable-gvfs-metadata  Enable using gvfs to store metadata
1.1.63 by Robert Ancell
Import upstream version 2.27.2
1582
  --disable-updater       Disable check update plugin (default: enabled)
1.1.22 by Daniel Holbach
Import upstream version 2.17.1
1583
  --disable-spell         Disable spell plugin (default: enabled)
1.7.1 by Mirco Bauer
Import upstream version 3.0.0
1584
  --enable-indicator=[no/auto/yes]
1585
                          Build with zeitgeist support
1586
  --enable-python=[no/auto/yes]
1587
                          Build with python support
1588
  --disable-schemas-compile
1589
                          Disable regeneration of gschemas.compiled on install
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
1590
  --enable-compile-warnings=[no/minimum/yes/maximum/error]
1591
                          Turn on compiler warnings
1592
  --enable-iso-c          Try to warn if code is not ISO C
1593
  --enable-deprecations   warn about deprecated usages [default=no]
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
1594
  --disable-scrollkeeper  do not make updates to the scrollkeeper database
1.7.1 by Mirco Bauer
Import upstream version 3.0.0
1595
  --enable-introspection=[no/auto/yes]
1596
                          Enable introspection for this build
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
1597
1598
Optional Packages:
1599
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1600
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1601
  --with-pic              try to use only PIC/non-PIC objects [default=use
1602
                          both]
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
1603
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
1604
  --with-sysroot=DIR Search for dependent libraries within DIR
1605
                        (or the compiler's sysroot if not specified).
1.1.13 by Daniel Holbach
Import upstream version 2.15.3
1606
  --with-html-dir=PATH    path to installed docs
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
1607
  --with-help-dir=DIR     path to help docs
1608
  --with-omf-dir=DIR      path to OMF files
1609
  --with-help-formats=FORMATS
1610
                          list of formats
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
1611
1612
Some influential environment variables:
1613
  CC          C compiler command
1614
  CFLAGS      C compiler flags
1615
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1616
              nonstandard directory <lib dir>
1.1.23 by Sebastien Bacher
Import upstream version 2.17.2
1617
  LIBS        libraries to pass to the linker, e.g. -l<library>
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
1618
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
1619
              you have headers in a nonstandard directory <include dir>
1.1.57 by Sebastien Bacher
Import upstream version 2.25.6
1620
  PKG_CONFIG  path to pkg-config utility
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
1621
  PKG_CONFIG_PATH
1622
              directories to add to pkg-config's search path
1623
  PKG_CONFIG_LIBDIR
1624
              path overriding pkg-config's built-in search path
1.4.2 by Emilio Pozuelo Monfort
Import upstream version 2.28.1
1625
  OBJC        Objective C compiler command
1626
  OBJCFLAGS   Objective C compiler flags
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
1627
  CPP         C preprocessor
1.1.85 by Rodrigo Moya
Import upstream version 3.0.5
1628
  GTKDOC_DEPS_CFLAGS
1629
              C compiler flags for GTKDOC_DEPS, overriding pkg-config
1630
  GTKDOC_DEPS_LIBS
1631
              linker flags for GTKDOC_DEPS, overriding pkg-config
1.4.2 by Emilio Pozuelo Monfort
Import upstream version 2.28.1
1632
  IGE_MAC_CFLAGS
1633
              C compiler flags for IGE_MAC, overriding pkg-config
1634
  IGE_MAC_LIBS
1635
              linker flags for IGE_MAC, overriding pkg-config
1.1.63 by Robert Ancell
Import upstream version 2.27.2
1636
  LIBSOUP_CFLAGS
1637
              C compiler flags for LIBSOUP, overriding pkg-config
1638
  LIBSOUP_LIBS
1639
              linker flags for LIBSOUP, overriding pkg-config
1.1.22 by Daniel Holbach
Import upstream version 2.17.1
1640
  ENCHANT_CFLAGS
1641
              C compiler flags for ENCHANT, overriding pkg-config
1642
  ENCHANT_LIBS
1643
              linker flags for ENCHANT, overriding pkg-config
1.7.1 by Mirco Bauer
Import upstream version 3.0.0
1644
  ZEITGEIST_CFLAGS
1645
              C compiler flags for ZEITGEIST, overriding pkg-config
1646
  ZEITGEIST_LIBS
1647
              linker flags for ZEITGEIST, overriding pkg-config
1648
  PYTHON_CFLAGS
1649
              C compiler flags for PYTHON, overriding pkg-config
1650
  PYTHON_LIBS linker flags for PYTHON, overriding pkg-config
1.1.6 by Daniel Holbach
Import upstream version 2.13.90
1651
  GEDIT_CFLAGS
1652
              C compiler flags for GEDIT, overriding pkg-config
1653
  GEDIT_LIBS  linker flags for GEDIT, overriding pkg-config
1.1.76 by Sebastien Bacher
Import upstream version 2.29.9
1654
  X11_CFLAGS  C compiler flags for X11, overriding pkg-config
1655
  X11_LIBS    linker flags for X11, overriding pkg-config
1.7.1 by Mirco Bauer
Import upstream version 3.0.0
1656
  UNIX_CFLAGS C compiler flags for UNIX, overriding pkg-config
1657
  UNIX_LIBS   linker flags for UNIX, overriding pkg-config
1.1.53 by Sebastien Bacher
Import upstream version 2.25.2
1658
  EGG_SMCLIENT_CFLAGS
1659
              C compiler flags for EGG_SMCLIENT, overriding pkg-config
1660
  EGG_SMCLIENT_LIBS
1661
              linker flags for EGG_SMCLIENT, overriding pkg-config
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
1662
1663
Use these variables to override the choices made by `configure' or to help
1664
it to find libraries and programs with nonstandard names/locations.
1665
1666
Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=gedit>.
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
1667
gedit home page: <http://projects.gnome.org/gedit/>.
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
1668
_ACEOF
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
1669
ac_status=$?
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
1670
fi
1671
1672
if test "$ac_init_help" = "recursive"; then
1673
  # If there are subdirs, report their specific --help.
1674
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
1675
    test -d "$ac_dir" ||
1676
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1677
      continue
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
1678
    ac_builddir=.
1679
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
1680
case "$ac_dir" in
1681
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1682
*)
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
1683
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
1684
  # A ".." for each directory in $ac_dir_suffix.
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
1685
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
1686
  case $ac_top_builddir_sub in
1687
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1688
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1689
  esac ;;
1690
esac
1691
ac_abs_top_builddir=$ac_pwd
1692
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1693
# for backward compatibility:
1694
ac_top_builddir=$ac_top_build_prefix
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
1695
1696
case $srcdir in
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
1697
  .)  # We are building in place.
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
1698
    ac_srcdir=.
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
1699
    ac_top_srcdir=$ac_top_builddir_sub
1700
    ac_abs_top_srcdir=$ac_pwd ;;
1701
  [\\/]* | ?:[\\/]* )  # Absolute name.
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
1702
    ac_srcdir=$srcdir$ac_dir_suffix;
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
1703
    ac_top_srcdir=$srcdir
1704
    ac_abs_top_srcdir=$srcdir ;;
1705
  *) # Relative name.
1706
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1707
    ac_top_srcdir=$ac_top_build_prefix$srcdir
1708
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1709
esac
1710
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1711
1712
    cd "$ac_dir" || { ac_status=$?; continue; }
1713
    # Check for guested configure.
1714
    if test -f "$ac_srcdir/configure.gnu"; then
1715
      echo &&
1716
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1717
    elif test -f "$ac_srcdir/configure"; then
1718
      echo &&
1719
      $SHELL "$ac_srcdir/configure" --help=recursive
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
1720
    else
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
1721
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
1722
    fi || ac_status=$?
1723
    cd "$ac_pwd" || { ac_status=$?; break; }
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
1724
  done
1725
fi
1726
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
1727
test -n "$ac_init_help" && exit $ac_status
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
1728
if $ac_init_version; then
1729
  cat <<\_ACEOF
1.1.86 by Michael Terry
Import upstream version 3.1.1
1730
gedit configure 3.1.1
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
1731
generated by GNU Autoconf 2.68
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
1732
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
1733
Copyright (C) 2010 Free Software Foundation, Inc.
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
1734
This configure script is free software; the Free Software Foundation
1735
gives unlimited permission to copy, distribute and modify it.
1736
_ACEOF
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
1737
  exit
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
1738
fi
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
1739
1740
## ------------------------ ##
1741
## Autoconf initialization. ##
1742
## ------------------------ ##
1743
1744
# ac_fn_c_try_compile LINENO
1745
# --------------------------
1746
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1747
ac_fn_c_try_compile ()
1748
{
1749
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1750
  rm -f conftest.$ac_objext
1751
  if { { ac_try="$ac_compile"
1752
case "(($ac_try" in
1753
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1754
  *) ac_try_echo=$ac_try;;
1755
esac
1756
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1757
$as_echo "$ac_try_echo"; } >&5
1758
  (eval "$ac_compile") 2>conftest.err
1759
  ac_status=$?
1760
  if test -s conftest.err; then
1761
    grep -v '^ *+' conftest.err >conftest.er1
1762
    cat conftest.er1 >&5
1763
    mv -f conftest.er1 conftest.err
1764
  fi
1765
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1766
  test $ac_status = 0; } && {
1767
	 test -z "$ac_c_werror_flag" ||
1768
	 test ! -s conftest.err
1769
       } && test -s conftest.$ac_objext; then :
1770
  ac_retval=0
1771
else
1772
  $as_echo "$as_me: failed program was:" >&5
1773
sed 's/^/| /' conftest.$ac_ext >&5
1774
1775
	ac_retval=1
1776
fi
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
1777
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
1778
  as_fn_set_status $ac_retval
1779
1780
} # ac_fn_c_try_compile
1781
1782
# ac_fn_objc_try_compile LINENO
1783
# -----------------------------
1784
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1785
ac_fn_objc_try_compile ()
1786
{
1787
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1788
  rm -f conftest.$ac_objext
1789
  if { { ac_try="$ac_compile"
1790
case "(($ac_try" in
1791
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1792
  *) ac_try_echo=$ac_try;;
1793
esac
1794
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1795
$as_echo "$ac_try_echo"; } >&5
1796
  (eval "$ac_compile") 2>conftest.err
1797
  ac_status=$?
1798
  if test -s conftest.err; then
1799
    grep -v '^ *+' conftest.err >conftest.er1
1800
    cat conftest.er1 >&5
1801
    mv -f conftest.er1 conftest.err
1802
  fi
1803
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1804
  test $ac_status = 0; } && {
1805
	 test -z "$ac_objc_werror_flag" ||
1806
	 test ! -s conftest.err
1807
       } && test -s conftest.$ac_objext; then :
1808
  ac_retval=0
1809
else
1810
  $as_echo "$as_me: failed program was:" >&5
1811
sed 's/^/| /' conftest.$ac_ext >&5
1812
1813
	ac_retval=1
1814
fi
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
1815
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
1816
  as_fn_set_status $ac_retval
1817
1818
} # ac_fn_objc_try_compile
1819
1820
# ac_fn_c_try_link LINENO
1821
# -----------------------
1822
# Try to link conftest.$ac_ext, and return whether this succeeded.
1823
ac_fn_c_try_link ()
1824
{
1825
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1826
  rm -f conftest.$ac_objext conftest$ac_exeext
1827
  if { { ac_try="$ac_link"
1828
case "(($ac_try" in
1829
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1830
  *) ac_try_echo=$ac_try;;
1831
esac
1832
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1833
$as_echo "$ac_try_echo"; } >&5
1834
  (eval "$ac_link") 2>conftest.err
1835
  ac_status=$?
1836
  if test -s conftest.err; then
1837
    grep -v '^ *+' conftest.err >conftest.er1
1838
    cat conftest.er1 >&5
1839
    mv -f conftest.er1 conftest.err
1840
  fi
1841
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1842
  test $ac_status = 0; } && {
1843
	 test -z "$ac_c_werror_flag" ||
1844
	 test ! -s conftest.err
1845
       } && test -s conftest$ac_exeext && {
1846
	 test "$cross_compiling" = yes ||
1847
	 $as_test_x conftest$ac_exeext
1848
       }; then :
1849
  ac_retval=0
1850
else
1851
  $as_echo "$as_me: failed program was:" >&5
1852
sed 's/^/| /' conftest.$ac_ext >&5
1853
1854
	ac_retval=1
1855
fi
1856
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1857
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1858
  # interfere with the next link command; also delete a directory that is
1859
  # left behind by Apple's compiler.  We do this before executing the actions.
1860
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
1861
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
1862
  as_fn_set_status $ac_retval
1863
1864
} # ac_fn_c_try_link
1865
1866
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1867
# -------------------------------------------------------
1868
# Tests whether HEADER exists and can be compiled using the include files in
1869
# INCLUDES, setting the cache variable VAR accordingly.
1870
ac_fn_c_check_header_compile ()
1871
{
1872
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1873
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1874
$as_echo_n "checking for $2... " >&6; }
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
1875
if eval \${$3+:} false; then :
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
1876
  $as_echo_n "(cached) " >&6
1877
else
1878
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1879
/* end confdefs.h.  */
1880
$4
1881
#include <$2>
1882
_ACEOF
1883
if ac_fn_c_try_compile "$LINENO"; then :
1884
  eval "$3=yes"
1885
else
1886
  eval "$3=no"
1887
fi
1888
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1889
fi
1890
eval ac_res=\$$3
1891
	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1892
$as_echo "$ac_res" >&6; }
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
1893
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
1894
1895
} # ac_fn_c_check_header_compile
1896
1897
# ac_fn_c_try_cpp LINENO
1898
# ----------------------
1899
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1900
ac_fn_c_try_cpp ()
1901
{
1902
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1903
  if { { ac_try="$ac_cpp conftest.$ac_ext"
1904
case "(($ac_try" in
1905
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1906
  *) ac_try_echo=$ac_try;;
1907
esac
1908
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1909
$as_echo "$ac_try_echo"; } >&5
1910
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1911
  ac_status=$?
1912
  if test -s conftest.err; then
1913
    grep -v '^ *+' conftest.err >conftest.er1
1914
    cat conftest.er1 >&5
1915
    mv -f conftest.er1 conftest.err
1916
  fi
1917
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
1918
  test $ac_status = 0; } > conftest.i && {
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
1919
	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1920
	 test ! -s conftest.err
1921
       }; then :
1922
  ac_retval=0
1923
else
1924
  $as_echo "$as_me: failed program was:" >&5
1925
sed 's/^/| /' conftest.$ac_ext >&5
1926
1927
    ac_retval=1
1928
fi
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
1929
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
1930
  as_fn_set_status $ac_retval
1931
1932
} # ac_fn_c_try_cpp
1933
1934
# ac_fn_c_try_run LINENO
1935
# ----------------------
1936
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1937
# that executables *can* be run.
1938
ac_fn_c_try_run ()
1939
{
1940
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1941
  if { { ac_try="$ac_link"
1942
case "(($ac_try" in
1943
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1944
  *) ac_try_echo=$ac_try;;
1945
esac
1946
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1947
$as_echo "$ac_try_echo"; } >&5
1948
  (eval "$ac_link") 2>&5
1949
  ac_status=$?
1950
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1951
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1952
  { { case "(($ac_try" in
1953
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1954
  *) ac_try_echo=$ac_try;;
1955
esac
1956
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1957
$as_echo "$ac_try_echo"; } >&5
1958
  (eval "$ac_try") 2>&5
1959
  ac_status=$?
1960
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1961
  test $ac_status = 0; }; }; then :
1962
  ac_retval=0
1963
else
1964
  $as_echo "$as_me: program exited with status $ac_status" >&5
1965
       $as_echo "$as_me: failed program was:" >&5
1966
sed 's/^/| /' conftest.$ac_ext >&5
1967
1968
       ac_retval=$ac_status
1969
fi
1970
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
1971
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
1972
  as_fn_set_status $ac_retval
1973
1974
} # ac_fn_c_try_run
1975
1976
# ac_fn_c_check_func LINENO FUNC VAR
1977
# ----------------------------------
1978
# Tests whether FUNC exists, setting the cache variable VAR accordingly
1979
ac_fn_c_check_func ()
1980
{
1981
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1982
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1983
$as_echo_n "checking for $2... " >&6; }
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
1984
if eval \${$3+:} false; then :
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
1985
  $as_echo_n "(cached) " >&6
1986
else
1987
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1988
/* end confdefs.h.  */
1989
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1990
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1991
#define $2 innocuous_$2
1992
1993
/* System header to define __stub macros and hopefully few prototypes,
1994
    which can conflict with char $2 (); below.
1995
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1996
    <limits.h> exists even on freestanding compilers.  */
1997
1998
#ifdef __STDC__
1999
# include <limits.h>
2000
#else
2001
# include <assert.h>
2002
#endif
2003
2004
#undef $2
2005
2006
/* Override any GCC internal prototype to avoid an error.
2007
   Use char because int might match the return type of a GCC
2008
   builtin and then its argument prototype would still apply.  */
2009
#ifdef __cplusplus
2010
extern "C"
2011
#endif
2012
char $2 ();
2013
/* The GNU C library defines this for functions which it implements
2014
    to always fail with ENOSYS.  Some functions are actually named
2015
    something starting with __ and the normal name is an alias.  */
2016
#if defined __stub_$2 || defined __stub___$2
2017
choke me
2018
#endif
2019
2020
int
2021
main ()
2022
{
2023
return $2 ();
2024
  ;
2025
  return 0;
2026
}
2027
_ACEOF
2028
if ac_fn_c_try_link "$LINENO"; then :
2029
  eval "$3=yes"
2030
else
2031
  eval "$3=no"
2032
fi
2033
rm -f core conftest.err conftest.$ac_objext \
2034
    conftest$ac_exeext conftest.$ac_ext
2035
fi
2036
eval ac_res=\$$3
2037
	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2038
$as_echo "$ac_res" >&6; }
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
2039
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
2040
2041
} # ac_fn_c_check_func
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
2042
cat >config.log <<_ACEOF
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
2043
This file contains any messages produced by compilers while
2044
running configure, to aid debugging if configure makes a mistake.
2045
1.1.86 by Michael Terry
Import upstream version 3.1.1
2046
It was created by gedit $as_me 3.1.1, which was
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
2047
generated by GNU Autoconf 2.68.  Invocation command line was
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
2048
2049
  $ $0 $@
2050
2051
_ACEOF
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
2052
exec 5>>config.log
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
2053
{
2054
cat <<_ASUNAME
2055
## --------- ##
2056
## Platform. ##
2057
## --------- ##
2058
2059
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2060
uname -m = `(uname -m) 2>/dev/null || echo unknown`
2061
uname -r = `(uname -r) 2>/dev/null || echo unknown`
2062
uname -s = `(uname -s) 2>/dev/null || echo unknown`
2063
uname -v = `(uname -v) 2>/dev/null || echo unknown`
2064
2065
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2066
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2067
2068
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2069
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2070
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
2071
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
2072
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2073
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2074
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2075
2076
_ASUNAME
2077
2078
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2079
for as_dir in $PATH
2080
do
2081
  IFS=$as_save_IFS
2082
  test -z "$as_dir" && as_dir=.
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
2083
    $as_echo "PATH: $as_dir"
2084
  done
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
2085
IFS=$as_save_IFS
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
2086
2087
} >&5
2088
2089
cat >&5 <<_ACEOF
2090
2091
2092
## ----------- ##
2093
## Core tests. ##
2094
## ----------- ##
2095
2096
_ACEOF
2097
2098
2099
# Keep a trace of the command line.
2100
# Strip out --no-create and --no-recursion so they do not pile up.
2101
# Strip out --silent because we don't want to record it for future runs.
2102
# Also quote any args containing shell meta-characters.
2103
# Make two passes to allow for proper duplicate-argument suppression.
2104
ac_configure_args=
2105
ac_configure_args0=
2106
ac_configure_args1=
2107
ac_must_keep_next=false
2108
for ac_pass in 1 2
2109
do
2110
  for ac_arg
2111
  do
2112
    case $ac_arg in
2113
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2114
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2115
    | -silent | --silent | --silen | --sile | --sil)
2116
      continue ;;
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
2117
    *\'*)
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
2118
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
2119
    esac
2120
    case $ac_pass in
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
2121
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
2122
    2)
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
2123
      as_fn_append ac_configure_args1 " '$ac_arg'"
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
2124
      if test $ac_must_keep_next = true; then
2125
	ac_must_keep_next=false # Got value, back to normal.
2126
      else
2127
	case $ac_arg in
2128
	  *=* | --config-cache | -C | -disable-* | --disable-* \
2129
	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2130
	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2131
	  | -with-* | --with-* | -without-* | --without-* | --x)
2132
	    case "$ac_configure_args0 " in
2133
	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2134
	    esac
2135
	    ;;
2136
	  -* ) ac_must_keep_next=true ;;
2137
	esac
2138
      fi
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
2139
      as_fn_append ac_configure_args " '$ac_arg'"
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
2140
      ;;
2141
    esac
2142
  done
2143
done
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
2144
{ ac_configure_args0=; unset ac_configure_args0;}
2145
{ ac_configure_args1=; unset ac_configure_args1;}
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
2146
2147
# When interrupted or exit'd, cleanup temporary files, and complete
2148
# config.log.  We remove comments because anyway the quotes in there
2149
# would cause problems or look ugly.
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
2150
# WARNING: Use '\'' to represent an apostrophe within the trap.
2151
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
2152
trap 'exit_status=$?
2153
  # Save into config.log some information that might help in debugging.
2154
  {
2155
    echo
2156
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
2157
    $as_echo "## ---------------- ##
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
2158
## Cache variables. ##
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
2159
## ---------------- ##"
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
2160
    echo
2161
    # The following way of writing the cache mishandles newlines in values,
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
2162
(
2163
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2164
    eval ac_val=\$$ac_var
2165
    case $ac_val in #(
2166
    *${as_nl}*)
2167
      case $ac_var in #(
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
2168
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
2169
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
2170
      esac
2171
      case $ac_var in #(
2172
      _ | IFS | as_nl) ;; #(
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
2173
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
2174
      *) { eval $ac_var=; unset $ac_var;} ;;
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
2175
      esac ;;
2176
    esac
2177
  done
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
2178
  (set) 2>&1 |
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
2179
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2180
    *${as_nl}ac_space=\ *)
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
2181
      sed -n \
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
2182
	"s/'\''/'\''\\\\'\'''\''/g;
2183
	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2184
      ;; #(
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
2185
    *)
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
2186
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
2187
      ;;
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
2188
    esac |
2189
    sort
2190
)
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
2191
    echo
2192
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
2193
    $as_echo "## ----------------- ##
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
2194
## Output variables. ##
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
2195
## ----------------- ##"
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
2196
    echo
2197
    for ac_var in $ac_subst_vars
2198
    do
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
2199
      eval ac_val=\$$ac_var
2200
      case $ac_val in
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
2201
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
2202
      esac
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
2203
      $as_echo "$ac_var='\''$ac_val'\''"
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
2204
    done | sort
2205
    echo
2206
2207
    if test -n "$ac_subst_files"; then
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
2208
      $as_echo "## ------------------- ##
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
2209
## File substitutions. ##
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
2210
## ------------------- ##"
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
2211
      echo
2212
      for ac_var in $ac_subst_files
2213
      do
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
2214
	eval ac_val=\$$ac_var
2215
	case $ac_val in
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
2216
	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
2217
	esac
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
2218
	$as_echo "$ac_var='\''$ac_val'\''"
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
2219
      done | sort
2220
      echo
2221
    fi
2222
2223
    if test -s confdefs.h; then
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
2224
      $as_echo "## ----------- ##
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
2225
## confdefs.h. ##
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
2226
## ----------- ##"
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
2227
      echo
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
2228
      cat confdefs.h
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
2229
      echo
2230
    fi
2231
    test "$ac_signal" != 0 &&
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
2232
      $as_echo "$as_me: caught signal $ac_signal"
2233
    $as_echo "$as_me: exit $exit_status"
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
2234
  } >&5
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
2235
  rm -f core *.core core.conftest.* &&
2236
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
2237
    exit $exit_status
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
2238
' 0
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
2239
for ac_signal in 1 2 13 15; do
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
2240
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
2241
done
2242
ac_signal=0
2243
2244
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
2245
rm -f -r conftest* confdefs.h
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
2246
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
2247
$as_echo "/* confdefs.h */" > confdefs.h
2248
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
2249
# Predefined preprocessor variables.
2250
2251
cat >>confdefs.h <<_ACEOF
2252
#define PACKAGE_NAME "$PACKAGE_NAME"
2253
_ACEOF
2254
2255
cat >>confdefs.h <<_ACEOF
2256
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2257
_ACEOF
2258
2259
cat >>confdefs.h <<_ACEOF
2260
#define PACKAGE_VERSION "$PACKAGE_VERSION"
2261
_ACEOF
2262
2263
cat >>confdefs.h <<_ACEOF
2264
#define PACKAGE_STRING "$PACKAGE_STRING"
2265
_ACEOF
2266
2267
cat >>confdefs.h <<_ACEOF
2268
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2269
_ACEOF
2270
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
2271
cat >>confdefs.h <<_ACEOF
2272
#define PACKAGE_URL "$PACKAGE_URL"
2273
_ACEOF
2274
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
2275
2276
# Let the site file select an alternate cache file if it wants to.
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
2277
# Prefer an explicitly selected file to automatically selected ones.
2278
ac_site_file1=NONE
2279
ac_site_file2=NONE
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
2280
if test -n "$CONFIG_SITE"; then
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
2281
  # We do not want a PATH search for config.site.
2282
  case $CONFIG_SITE in #((
2283
    -*)  ac_site_file1=./$CONFIG_SITE;;
2284
    */*) ac_site_file1=$CONFIG_SITE;;
2285
    *)   ac_site_file1=./$CONFIG_SITE;;
2286
  esac
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
2287
elif test "x$prefix" != xNONE; then
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
2288
  ac_site_file1=$prefix/share/config.site
2289
  ac_site_file2=$prefix/etc/config.site
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
2290
else
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
2291
  ac_site_file1=$ac_default_prefix/share/config.site
2292
  ac_site_file2=$ac_default_prefix/etc/config.site
1 by Joe Drew
Import upstream version 0.9.6
2293
fi
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
2294
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
2295
do
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
2296
  test "x$ac_site_file" = xNONE && continue
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
2297
  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2298
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
2299
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
2300
    sed 's/^/| /' "$ac_site_file" >&5
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
2301
    . "$ac_site_file" \
2302
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2303
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2304
as_fn_error $? "failed to load site script $ac_site_file
2305
See \`config.log' for more details" "$LINENO" 5; }
1 by Joe Drew
Import upstream version 0.9.6
2306
  fi
2307
done
2308
2309
if test -r "$cache_file"; then
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
2310
  # Some versions of bash will fail to source /dev/null (special files
2311
  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2312
  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2313
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
2314
$as_echo "$as_me: loading cache $cache_file" >&6;}
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
2315
    case $cache_file in
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
2316
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2317
      *)                      . "./$cache_file";;
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
2318
    esac
2319
  fi
1 by Joe Drew
Import upstream version 0.9.6
2320
else
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
2321
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
2322
$as_echo "$as_me: creating cache $cache_file" >&6;}
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
2323
  >$cache_file
2324
fi
2325
2326
# Check that the precious variables saved in the cache have kept the same
2327
# value.
2328
ac_cache_corrupted=false
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
2329
for ac_var in $ac_precious_vars; do
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
2330
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2331
  eval ac_new_set=\$ac_env_${ac_var}_set
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
2332
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2333
  eval ac_new_val=\$ac_env_${ac_var}_value
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
2334
  case $ac_old_set,$ac_new_set in
2335
    set,)
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
2336
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
2337
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
2338
      ac_cache_corrupted=: ;;
2339
    ,set)
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
2340
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
2341
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
2342
      ac_cache_corrupted=: ;;
2343
    ,);;
2344
    *)
2345
      if test "x$ac_old_val" != "x$ac_new_val"; then
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
2346
	# differences in whitespace do not lead to failure.
2347
	ac_old_val_w=`echo x $ac_old_val`
2348
	ac_new_val_w=`echo x $ac_new_val`
2349
	if test "$ac_old_val_w" != "$ac_new_val_w"; then
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
2350
	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
2351
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2352
	  ac_cache_corrupted=:
2353
	else
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
2354
	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
2355
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2356
	  eval $ac_var=\$ac_old_val
2357
	fi
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
2358
	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
2359
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
2360
	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
2361
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
2362
      fi;;
2363
  esac
2364
  # Pass precious variables to config.status.
2365
  if test "$ac_new_set" = set; then
2366
    case $ac_new_val in
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
2367
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
2368
    *) ac_arg=$ac_var=$ac_new_val ;;
2369
    esac
2370
    case " $ac_configure_args " in
2371
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
2372
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
2373
    esac
2374
  fi
2375
done
2376
if $ac_cache_corrupted; then
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
2377
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
2378
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
2379
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
2380
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
2381
  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1 by Joe Drew
Import upstream version 0.9.6
2382
fi
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
2383
## -------------------- ##
2384
## Main body of script. ##
2385
## -------------------- ##
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
2386
1 by Joe Drew
Import upstream version 0.9.6
2387
ac_ext=c
2388
ac_cpp='$CPP $CPPFLAGS'
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
2389
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2390
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2391
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2392
2393
2394
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
2395
ac_config_headers="$ac_config_headers config.h"
2396
2397
2398
2399
2400
1.7.1 by Mirco Bauer
Import upstream version 3.0.0
2401
$as_echo "#define GEDIT_MAJOR_VERSION 3" >>confdefs.h
2402
2403
GEDIT_MAJOR_VERSION=3
2404
2405
1.1.86 by Michael Terry
Import upstream version 3.1.1
2406
$as_echo "#define GEDIT_MINOR_VERSION 1" >>confdefs.h
2407
2408
GEDIT_MINOR_VERSION=1
2409
2410
2411
$as_echo "#define GEDIT_MICRO_VERSION 1" >>confdefs.h
2412
2413
GEDIT_MICRO_VERSION=1
1.1.2 by Daniel Holbach
Import upstream version 2.13.0
2414
2415
1.1.64 by Robert Ancell
Import upstream version 2.27.3
2416
am__api_version='1.11'
1.1.31 by Aron Sisak
Import upstream version 2.19.3
2417
1 by Joe Drew
Import upstream version 0.9.6
2418
ac_aux_dir=
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
2419
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
2420
  if test -f "$ac_dir/install-sh"; then
2421
    ac_aux_dir=$ac_dir
2422
    ac_install_sh="$ac_aux_dir/install-sh -c"
2423
    break
2424
  elif test -f "$ac_dir/install.sh"; then
2425
    ac_aux_dir=$ac_dir
2426
    ac_install_sh="$ac_aux_dir/install.sh -c"
2427
    break
2428
  elif test -f "$ac_dir/shtool"; then
2429
    ac_aux_dir=$ac_dir
2430
    ac_install_sh="$ac_aux_dir/shtool install -c"
2431
    break
2432
  fi
1 by Joe Drew
Import upstream version 0.9.6
2433
done
2434
if test -z "$ac_aux_dir"; then
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
2435
  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1 by Joe Drew
Import upstream version 0.9.6
2436
fi
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
2437
2438
# These three variables are undocumented and unsupported,
2439
# and are intended to be withdrawn in a future Autoconf release.
2440
# They can cause serious problems if a builder's source tree is in a directory
2441
# whose full name contains unusual characters.
2442
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2443
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2444
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2445
1 by Joe Drew
Import upstream version 0.9.6
2446
2447
# Find a good install program.  We prefer a C program (faster),
2448
# so one script is as good as another.  But avoid the broken or
2449
# incompatible versions:
2450
# SysV /etc/install, /usr/sbin/install
2451
# SunOS /usr/etc/install
2452
# IRIX /sbin/install
2453
# AIX /bin/install
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
2454
# AmigaOS /C/install, which installs bootblocks on floppy discs
1 by Joe Drew
Import upstream version 0.9.6
2455
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2456
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2457
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
2458
# OS/2's system install, which has a completely different semantic
1 by Joe Drew
Import upstream version 0.9.6
2459
# ./install, which can be erroneously created by make from ./install.sh.
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
2460
# Reject install programs that cannot install multiple files.
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
2461
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
2462
$as_echo_n "checking for a BSD-compatible install... " >&6; }
1 by Joe Drew
Import upstream version 0.9.6
2463
if test -z "$INSTALL"; then
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
2464
if ${ac_cv_path_install+:} false; then :
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
2465
  $as_echo_n "(cached) " >&6
1 by Joe Drew
Import upstream version 0.9.6
2466
else
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
2467
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2468
for as_dir in $PATH
2469
do
2470
  IFS=$as_save_IFS
2471
  test -z "$as_dir" && as_dir=.
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
2472
    # Account for people who put trailing slashes in PATH elements.
2473
case $as_dir/ in #((
2474
  ./ | .// | /[cC]/* | \
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
2475
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
2476
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
2477
  /usr/ucb/* ) ;;
2478
  *)
2479
    # OSF1 and SCO ODT 3.0 have their own names for install.
2480
    # Don't use installbsd from OSF since it installs stuff as root
2481
    # by default.
2482
    for ac_prog in ginstall scoinst install; do
2483
      for ac_exec_ext in '' $ac_executable_extensions; do
1.1.23 by Sebastien Bacher
Import upstream version 2.17.2
2484
	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1 by Joe Drew
Import upstream version 0.9.6
2485
	  if test $ac_prog = install &&
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
2486
	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1 by Joe Drew
Import upstream version 0.9.6
2487
	    # AIX install.  It has an incompatible calling convention.
2488
	    :
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
2489
	  elif test $ac_prog = install &&
2490
	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2491
	    # program-specific install script used by HP pwplus--don't use.
2492
	    :
1 by Joe Drew
Import upstream version 0.9.6
2493
	  else
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
2494
	    rm -rf conftest.one conftest.two conftest.dir
2495
	    echo one > conftest.one
2496
	    echo two > conftest.two
2497
	    mkdir conftest.dir
2498
	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2499
	      test -s conftest.one && test -s conftest.two &&
2500
	      test -s conftest.dir/conftest.one &&
2501
	      test -s conftest.dir/conftest.two
2502
	    then
2503
	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2504
	      break 3
2505
	    fi
1 by Joe Drew
Import upstream version 0.9.6
2506
	  fi
2507
	fi
2508
      done
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
2509
    done
2510
    ;;
2511
esac
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
2512
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
2513
  done
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
2514
IFS=$as_save_IFS
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
2515
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
2516
rm -rf conftest.one conftest.two conftest.dir
1 by Joe Drew
Import upstream version 0.9.6
2517
2518
fi
2519
  if test "${ac_cv_path_install+set}" = set; then
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
2520
    INSTALL=$ac_cv_path_install
1 by Joe Drew
Import upstream version 0.9.6
2521
  else
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
2522
    # As a last resort, use the slow shell script.  Don't cache a
2523
    # value for INSTALL within a source directory, because that will
1 by Joe Drew
Import upstream version 0.9.6
2524
    # break other packages using the cache if that directory is
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
2525
    # removed, or if the value is a relative name.
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
2526
    INSTALL=$ac_install_sh
1 by Joe Drew
Import upstream version 0.9.6
2527
  fi
2528
fi
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
2529
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
2530
$as_echo "$INSTALL" >&6; }
1 by Joe Drew
Import upstream version 0.9.6
2531
2532
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2533
# It thinks the first close brace ends the variable substitution.
2534
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2535
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
2536
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1 by Joe Drew
Import upstream version 0.9.6
2537
2538
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2539
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
2540
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
2541
$as_echo_n "checking whether build environment is sane... " >&6; }
1 by Joe Drew
Import upstream version 0.9.6
2542
# Just in case
2543
sleep 1
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
2544
echo timestamp > conftest.file
1.1.64 by Robert Ancell
Import upstream version 2.27.3
2545
# Reject unsafe characters in $srcdir or the absolute working directory
2546
# name.  Accept space and tab only in the latter.
2547
am_lf='
2548
'
2549
case `pwd` in
2550
  *[\\\"\#\$\&\'\`$am_lf]*)
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
2551
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
1.1.64 by Robert Ancell
Import upstream version 2.27.3
2552
esac
2553
case $srcdir in
2554
  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
2555
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
1.1.64 by Robert Ancell
Import upstream version 2.27.3
2556
esac
2557
1 by Joe Drew
Import upstream version 0.9.6
2558
# Do `set' in a subshell so we don't clobber the current shell's
2559
# arguments.  Must try -L first in case configure is actually a
2560
# symlink; some systems play weird games with the mod time of symlinks
2561
# (eg FreeBSD returns the mod time of the symlink's containing
2562
# directory).
2563
if (
1.1.64 by Robert Ancell
Import upstream version 2.27.3
2564
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1 by Joe Drew
Import upstream version 0.9.6
2565
   if test "$*" = "X"; then
2566
      # -L didn't work.
1.1.64 by Robert Ancell
Import upstream version 2.27.3
2567
      set X `ls -t "$srcdir/configure" conftest.file`
1 by Joe Drew
Import upstream version 0.9.6
2568
   fi
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
2569
   rm -f conftest.file
2570
   if test "$*" != "X $srcdir/configure conftest.file" \
2571
      && test "$*" != "X conftest.file $srcdir/configure"; then
1 by Joe Drew
Import upstream version 0.9.6
2572
2573
      # If neither matched, then we have a broken ls.  This can happen
2574
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2575
      # broken ls alias from the environment.  This has actually
2576
      # happened.  Such a system could not be considered "sane".
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
2577
      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
2578
alias in your environment" "$LINENO" 5
1 by Joe Drew
Import upstream version 0.9.6
2579
   fi
2580
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
2581
   test "$2" = conftest.file
1 by Joe Drew
Import upstream version 0.9.6
2582
   )
2583
then
2584
   # Ok.
2585
   :
2586
else
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
2587
   as_fn_error $? "newly created file is older than distributed files!
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
2588
Check your system clock" "$LINENO" 5
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
2589
fi
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
2590
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
2591
$as_echo "yes" >&6; }
1 by Joe Drew
Import upstream version 0.9.6
2592
test "$program_prefix" != NONE &&
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
2593
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
1 by Joe Drew
Import upstream version 0.9.6
2594
# Use a double $ so make ignores it.
2595
test "$program_suffix" != NONE &&
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
2596
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
2597
# Double any \ or $.
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
2598
# By default was `s,x,x', remove it if useless.
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
2599
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2600
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
2601
2602
# expand $ac_aux_dir to an absolute path
2603
am_aux_dir=`cd $ac_aux_dir && pwd`
2604
1.1.64 by Robert Ancell
Import upstream version 2.27.3
2605
if test x"${MISSING+set}" != xset; then
2606
  case $am_aux_dir in
2607
  *\ * | *\	*)
2608
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2609
  *)
2610
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2611
  esac
2612
fi
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
2613
# Use eval to expand $SHELL
2614
if eval "$MISSING --run true"; then
2615
  am_missing_run="$MISSING --run "
2616
else
2617
  am_missing_run=
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
2618
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
2619
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
2620
fi
2621
1.1.64 by Robert Ancell
Import upstream version 2.27.3
2622
if test x"${install_sh}" != xset; then
2623
  case $am_aux_dir in
2624
  *\ * | *\	*)
2625
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2626
  *)
2627
    install_sh="\${SHELL} $am_aux_dir/install-sh"
2628
  esac
2629
fi
2630
2631
# Installed binaries are usually stripped using `strip' when the user
2632
# run `make install-strip'.  However `strip' might not be the right
2633
# tool to use in cross-compilation environments, therefore Automake
2634
# will honor the `STRIP' environment variable to overrule this program.
2635
if test "$cross_compiling" != no; then
2636
  if test -n "$ac_tool_prefix"; then
2637
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2638
set dummy ${ac_tool_prefix}strip; ac_word=$2
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
2639
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1.64 by Robert Ancell
Import upstream version 2.27.3
2640
$as_echo_n "checking for $ac_word... " >&6; }
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
2641
if ${ac_cv_prog_STRIP+:} false; then :
1.1.64 by Robert Ancell
Import upstream version 2.27.3
2642
  $as_echo_n "(cached) " >&6
2643
else
2644
  if test -n "$STRIP"; then
2645
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2646
else
2647
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2648
for as_dir in $PATH
2649
do
2650
  IFS=$as_save_IFS
2651
  test -z "$as_dir" && as_dir=.
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
2652
    for ac_exec_ext in '' $ac_executable_extensions; do
1.1.64 by Robert Ancell
Import upstream version 2.27.3
2653
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2654
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
2655
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1.64 by Robert Ancell
Import upstream version 2.27.3
2656
    break 2
2657
  fi
2658
done
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
2659
  done
1.1.64 by Robert Ancell
Import upstream version 2.27.3
2660
IFS=$as_save_IFS
2661
2662
fi
2663
fi
2664
STRIP=$ac_cv_prog_STRIP
2665
if test -n "$STRIP"; then
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
2666
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
1.1.64 by Robert Ancell
Import upstream version 2.27.3
2667
$as_echo "$STRIP" >&6; }
2668
else
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
2669
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1.64 by Robert Ancell
Import upstream version 2.27.3
2670
$as_echo "no" >&6; }
2671
fi
2672
2673
2674
fi
2675
if test -z "$ac_cv_prog_STRIP"; then
2676
  ac_ct_STRIP=$STRIP
2677
  # Extract the first word of "strip", so it can be a program name with args.
2678
set dummy strip; ac_word=$2
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
2679
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1.64 by Robert Ancell
Import upstream version 2.27.3
2680
$as_echo_n "checking for $ac_word... " >&6; }
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
2681
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
1.1.64 by Robert Ancell
Import upstream version 2.27.3
2682
  $as_echo_n "(cached) " >&6
2683
else
2684
  if test -n "$ac_ct_STRIP"; then
2685
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2686
else
2687
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2688
for as_dir in $PATH
2689
do
2690
  IFS=$as_save_IFS
2691
  test -z "$as_dir" && as_dir=.
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
2692
    for ac_exec_ext in '' $ac_executable_extensions; do
1.1.64 by Robert Ancell
Import upstream version 2.27.3
2693
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2694
    ac_cv_prog_ac_ct_STRIP="strip"
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
2695
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1.64 by Robert Ancell
Import upstream version 2.27.3
2696
    break 2
2697
  fi
2698
done
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
2699
  done
1.1.64 by Robert Ancell
Import upstream version 2.27.3
2700
IFS=$as_save_IFS
2701
2702
fi
2703
fi
2704
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2705
if test -n "$ac_ct_STRIP"; then
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
2706
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
1.1.64 by Robert Ancell
Import upstream version 2.27.3
2707
$as_echo "$ac_ct_STRIP" >&6; }
2708
else
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
2709
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1.64 by Robert Ancell
Import upstream version 2.27.3
2710
$as_echo "no" >&6; }
2711
fi
2712
2713
  if test "x$ac_ct_STRIP" = x; then
2714
    STRIP=":"
2715
  else
2716
    case $cross_compiling:$ac_tool_warned in
2717
yes:)
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
2718
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1.1.64 by Robert Ancell
Import upstream version 2.27.3
2719
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2720
ac_tool_warned=yes ;;
2721
esac
2722
    STRIP=$ac_ct_STRIP
2723
  fi
2724
else
2725
  STRIP="$ac_cv_prog_STRIP"
2726
fi
2727
2728
fi
2729
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2730
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
2731
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
2732
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
1.1.31 by Aron Sisak
Import upstream version 2.19.3
2733
if test -z "$MKDIR_P"; then
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
2734
  if ${ac_cv_path_mkdir+:} false; then :
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
2735
  $as_echo_n "(cached) " >&6
1.1.2 by Daniel Holbach
Import upstream version 2.13.0
2736
else
1.1.31 by Aron Sisak
Import upstream version 2.19.3
2737
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2738
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2739
do
2740
  IFS=$as_save_IFS
2741
  test -z "$as_dir" && as_dir=.
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
2742
    for ac_prog in mkdir gmkdir; do
1.1.31 by Aron Sisak
Import upstream version 2.19.3
2743
	 for ac_exec_ext in '' $ac_executable_extensions; do
2744
	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2745
	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2746
	     'mkdir (GNU coreutils) '* | \
2747
	     'mkdir (coreutils) '* | \
2748
	     'mkdir (fileutils) '4.1*)
2749
	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2750
	       break 3;;
2751
	   esac
2752
	 done
2753
       done
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
2754
  done
1.1.31 by Aron Sisak
Import upstream version 2.19.3
2755
IFS=$as_save_IFS
2756
2757
fi
2758
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
2759
  test -d ./--version && rmdir ./--version
1.1.31 by Aron Sisak
Import upstream version 2.19.3
2760
  if test "${ac_cv_path_mkdir+set}" = set; then
2761
    MKDIR_P="$ac_cv_path_mkdir -p"
1.1.2 by Daniel Holbach
Import upstream version 2.13.0
2762
  else
1.1.31 by Aron Sisak
Import upstream version 2.19.3
2763
    # As a last resort, use the slow shell script.  Don't cache a
2764
    # value for MKDIR_P within a source directory, because that will
2765
    # break other packages using the cache if that directory is
2766
    # removed, or if the value is a relative name.
2767
    MKDIR_P="$ac_install_sh -d"
1.1.2 by Daniel Holbach
Import upstream version 2.13.0
2768
  fi
2769
fi
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
2770
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
2771
$as_echo "$MKDIR_P" >&6; }
1.1.31 by Aron Sisak
Import upstream version 2.19.3
2772
2773
mkdir_p="$MKDIR_P"
2774
case $mkdir_p in
2775
  [\\/$]* | ?:[\\/]*) ;;
2776
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2777
esac
1.1.2 by Daniel Holbach
Import upstream version 2.13.0
2778
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
2779
for ac_prog in gawk mawk nawk awk
2780
do
2781
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2782
set dummy $ac_prog; ac_word=$2
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
2783
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
2784
$as_echo_n "checking for $ac_word... " >&6; }
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
2785
if ${ac_cv_prog_AWK+:} false; then :
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
2786
  $as_echo_n "(cached) " >&6
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
2787
else
2788
  if test -n "$AWK"; then
2789
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2790
else
2791
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2792
for as_dir in $PATH
2793
do
2794
  IFS=$as_save_IFS
2795
  test -z "$as_dir" && as_dir=.
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
2796
    for ac_exec_ext in '' $ac_executable_extensions; do
1.1.23 by Sebastien Bacher
Import upstream version 2.17.2
2797
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
2798
    ac_cv_prog_AWK="$ac_prog"
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
2799
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
2800
    break 2
2801
  fi
2802
done
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
2803
  done
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
2804
IFS=$as_save_IFS
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
2805
2806
fi
2807
fi
2808
AWK=$ac_cv_prog_AWK
2809
if test -n "$AWK"; then
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
2810
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
2811
$as_echo "$AWK" >&6; }
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
2812
else
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
2813
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
2814
$as_echo "no" >&6; }
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
2815
fi
2816
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
2817
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
2818
  test -n "$AWK" && break
2819
done
2820
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
2821
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
2822
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2823
set x ${MAKE-make}
2824
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
2825
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
2826
  $as_echo_n "(cached) " >&6
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
2827
else
2828
  cat >conftest.make <<\_ACEOF
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
2829
SHELL = /bin/sh
1 by Joe Drew
Import upstream version 0.9.6
2830
all:
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
2831
	@echo '@@@%%%=$(MAKE)=@@@%%%'
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
2832
_ACEOF
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
2833
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
2834
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2835
  *@@@%%%=?*=@@@%%%*)
2836
    eval ac_cv_prog_make_${ac_make}_set=yes;;
2837
  *)
2838
    eval ac_cv_prog_make_${ac_make}_set=no;;
2839
esac
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
2840
rm -f conftest.make
1 by Joe Drew
Import upstream version 0.9.6
2841
fi
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
2842
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
2843
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
2844
$as_echo "yes" >&6; }
1 by Joe Drew
Import upstream version 0.9.6
2845
  SET_MAKE=
2846
else
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
2847
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
2848
$as_echo "no" >&6; }
1 by Joe Drew
Import upstream version 0.9.6
2849
  SET_MAKE="MAKE=${MAKE-make}"
2850
fi
2851
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
2852
rm -rf .tst 2>/dev/null
2853
mkdir .tst 2>/dev/null
2854
if test -d .tst; then
2855
  am__leading_dot=.
2856
else
2857
  am__leading_dot=_
2858
fi
2859
rmdir .tst 2>/dev/null
2860
1.1.31 by Aron Sisak
Import upstream version 2.19.3
2861
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2862
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2863
  # is not polluted with repeated "-I."
2864
  am__isrc=' -I$(srcdir)'
2865
  # test to see if srcdir already configured
2866
  if test -f $srcdir/config.status; then
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
2867
    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
1.1.31 by Aron Sisak
Import upstream version 2.19.3
2868
  fi
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
2869
fi
2870
2871
# test whether we have cygpath
2872
if test -z "$CYGPATH_W"; then
2873
  if (cygpath --version) >/dev/null 2>/dev/null; then
2874
    CYGPATH_W='cygpath -w'
2875
  else
2876
    CYGPATH_W=echo
2877
  fi
2878
fi
2879
2880
2881
# Define the identity of the package.
1.1.14 by Daniel Holbach
Import upstream version 2.15.4
2882
 PACKAGE='gedit'
1.1.86 by Michael Terry
Import upstream version 3.1.1
2883
 VERSION='3.1.1'
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
2884
2885
2886
cat >>confdefs.h <<_ACEOF
1 by Joe Drew
Import upstream version 0.9.6
2887
#define PACKAGE "$PACKAGE"
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
2888
_ACEOF
2889
2890
2891
cat >>confdefs.h <<_ACEOF
1 by Joe Drew
Import upstream version 0.9.6
2892
#define VERSION "$VERSION"
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
2893
_ACEOF
2894
2895
# Some tools Automake needs.
2896
2897
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2898
2899
2900
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2901
2902
2903
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2904
2905
2906
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2907
2908
2909
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2910
2911
# We need awk for the "check" target.  The system "awk" is bad on
2912
# some platforms.
1.1.14 by Daniel Holbach
Import upstream version 2.15.4
2913
# Always define AMTAR for backward compatibility.
2914
2915
AMTAR=${AMTAR-"${am_missing_run}tar"}
2916
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
2917
2918
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
2919
$as_echo_n "checking how to create a ustar tar archive... " >&6; }
2920
# Loop over all known methods to create a tar archive until one works.
2921
_am_tools='gnutar plaintar pax cpio none'
2922
_am_tools=${am_cv_prog_tar_ustar-$_am_tools}
2923
# Do not fold the above two line into one, because Tru64 sh and
2924
# Solaris sh will not grok spaces in the rhs of `-'.
2925
for _am_tool in $_am_tools
2926
do
2927
  case $_am_tool in
2928
  gnutar)
2929
    for _am_tar in tar gnutar gtar;
2930
    do
2931
      { echo "$as_me:$LINENO: $_am_tar --version" >&5
2932
   ($_am_tar --version) >&5 2>&5
2933
   ac_status=$?
2934
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2935
   (exit $ac_status); } && break
2936
    done
2937
    am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
2938
    am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
2939
    am__untar="$_am_tar -xf -"
2940
    ;;
2941
  plaintar)
2942
    # Must skip GNU tar: if it does not support --format= it doesn't create
2943
    # ustar tarball either.
2944
    (tar --version) >/dev/null 2>&1 && continue
2945
    am__tar='tar chf - "$$tardir"'
2946
    am__tar_='tar chf - "$tardir"'
2947
    am__untar='tar xf -'
2948
    ;;
2949
  pax)
2950
    am__tar='pax -L -x ustar -w "$$tardir"'
2951
    am__tar_='pax -L -x ustar -w "$tardir"'
2952
    am__untar='pax -r'
2953
    ;;
2954
  cpio)
2955
    am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
2956
    am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
2957
    am__untar='cpio -i -H ustar -d'
2958
    ;;
2959
  none)
2960
    am__tar=false
2961
    am__tar_=false
2962
    am__untar=false
2963
    ;;
2964
  esac
2965
2966
  # If the value was cached, stop now.  We just wanted to have am__tar
2967
  # and am__untar set.
2968
  test -n "${am_cv_prog_tar_ustar}" && break
2969
2970
  # tar/untar a dummy directory, and stop if the command works
2971
  rm -rf conftest.dir
2972
  mkdir conftest.dir
2973
  echo GrepMe > conftest.dir/file
2974
  { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
2975
   (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
2976
   ac_status=$?
2977
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2978
   (exit $ac_status); }
2979
  rm -rf conftest.dir
2980
  if test -s conftest.tar; then
2981
    { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
2982
   ($am__untar <conftest.tar) >&5 2>&5
2983
   ac_status=$?
2984
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2985
   (exit $ac_status); }
2986
    grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
2987
  fi
2988
done
2989
rm -rf conftest.dir
2990
2991
if ${am_cv_prog_tar_ustar+:} false; then :
2992
  $as_echo_n "(cached) " >&6
2993
else
2994
  am_cv_prog_tar_ustar=$_am_tool
2995
fi
2996
2997
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
2998
$as_echo "$am_cv_prog_tar_ustar" >&6; }
1.1.14 by Daniel Holbach
Import upstream version 2.15.4
2999
3000
1.1.13 by Daniel Holbach
Import upstream version 2.15.3
3001
1.1.3 by Daniel Holbach
Import upstream version 2.13.1
3002
3003
3004
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
3005
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
3006
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
3007
    # Check whether --enable-maintainer-mode was given.
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
3008
if test "${enable_maintainer_mode+set}" = set; then :
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
3009
  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
1 by Joe Drew
Import upstream version 0.9.6
3010
else
3011
  USE_MAINTAINER_MODE=no
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
3012
fi
3013
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
3014
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
3015
$as_echo "$USE_MAINTAINER_MODE" >&6; }
1.1.31 by Aron Sisak
Import upstream version 2.19.3
3016
   if test $USE_MAINTAINER_MODE = yes; then
1 by Joe Drew
Import upstream version 0.9.6
3017
  MAINTAINER_MODE_TRUE=
3018
  MAINTAINER_MODE_FALSE='#'
3019
else
3020
  MAINTAINER_MODE_TRUE='#'
3021
  MAINTAINER_MODE_FALSE=
3022
fi
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
3023
1 by Joe Drew
Import upstream version 0.9.6
3024
  MAINT=$MAINTAINER_MODE_TRUE
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
3025
3026
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
3027
1.1.64 by Robert Ancell
Import upstream version 2.27.3
3028
# Check whether --enable-silent-rules was given.
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
3029
if test "${enable_silent_rules+set}" = set; then :
1.1.64 by Robert Ancell
Import upstream version 2.27.3
3030
  enableval=$enable_silent_rules;
3031
fi
3032
3033
case $enable_silent_rules in
3034
yes) AM_DEFAULT_VERBOSITY=0;;
3035
no)  AM_DEFAULT_VERBOSITY=1;;
3036
*)   AM_DEFAULT_VERBOSITY=0;;
3037
esac
3038
AM_BACKSLASH='\'
3039
3040
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
3041
# Checks for programs
1.1.27 by Sebastien Bacher
Import upstream version 2.17.6
3042
ac_ext=c
3043
ac_cpp='$CPP $CPPFLAGS'
3044
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3045
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3046
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3047
if test -n "$ac_tool_prefix"; then
3048
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3049
set dummy ${ac_tool_prefix}gcc; ac_word=$2
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
3050
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
3051
$as_echo_n "checking for $ac_word... " >&6; }
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
3052
if ${ac_cv_prog_CC+:} false; then :
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
3053
  $as_echo_n "(cached) " >&6
1.1.27 by Sebastien Bacher
Import upstream version 2.17.6
3054
else
3055
  if test -n "$CC"; then
3056
  ac_cv_prog_CC="$CC" # Let the user override the test.
3057
else
3058
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3059
for as_dir in $PATH
3060
do
3061
  IFS=$as_save_IFS
3062
  test -z "$as_dir" && as_dir=.
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
3063
    for ac_exec_ext in '' $ac_executable_extensions; do
1.1.27 by Sebastien Bacher
Import upstream version 2.17.6
3064
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3065
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
3066
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1.27 by Sebastien Bacher
Import upstream version 2.17.6
3067
    break 2
3068
  fi
3069
done
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
3070
  done
1.1.27 by Sebastien Bacher
Import upstream version 2.17.6
3071
IFS=$as_save_IFS
3072
3073
fi
3074
fi
3075
CC=$ac_cv_prog_CC
3076
if test -n "$CC"; then
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
3077
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
3078
$as_echo "$CC" >&6; }
1.1.27 by Sebastien Bacher
Import upstream version 2.17.6
3079
else
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
3080
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
3081
$as_echo "no" >&6; }
1.1.27 by Sebastien Bacher
Import upstream version 2.17.6
3082
fi
3083
3084
3085
fi
3086
if test -z "$ac_cv_prog_CC"; then
3087
  ac_ct_CC=$CC
3088
  # Extract the first word of "gcc", so it can be a program name with args.
3089
set dummy gcc; ac_word=$2
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
3090
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
3091
$as_echo_n "checking for $ac_word... " >&6; }
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
3092
if ${ac_cv_prog_ac_ct_CC+:} false; then :
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
3093
  $as_echo_n "(cached) " >&6
1.1.27 by Sebastien Bacher
Import upstream version 2.17.6
3094
else
3095
  if test -n "$ac_ct_CC"; then
3096
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3097
else
3098
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3099
for as_dir in $PATH
3100
do
3101
  IFS=$as_save_IFS
3102
  test -z "$as_dir" && as_dir=.
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
3103
    for ac_exec_ext in '' $ac_executable_extensions; do
1.1.27 by Sebastien Bacher
Import upstream version 2.17.6
3104
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3105
    ac_cv_prog_ac_ct_CC="gcc"
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
3106
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1.27 by Sebastien Bacher
Import upstream version 2.17.6
3107
    break 2
3108
  fi
3109
done
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
3110
  done
1.1.27 by Sebastien Bacher
Import upstream version 2.17.6
3111
IFS=$as_save_IFS
3112
3113
fi
3114
fi
3115
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3116
if test -n "$ac_ct_CC"; then
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
3117
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
3118
$as_echo "$ac_ct_CC" >&6; }
1.1.27 by Sebastien Bacher
Import upstream version 2.17.6
3119
else
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
3120
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
3121
$as_echo "no" >&6; }
1.1.27 by Sebastien Bacher
Import upstream version 2.17.6
3122
fi
3123
3124
  if test "x$ac_ct_CC" = x; then
3125
    CC=""
3126
  else
3127
    case $cross_compiling:$ac_tool_warned in
3128
yes:)
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
3129
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
3130
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1.1.27 by Sebastien Bacher
Import upstream version 2.17.6
3131
ac_tool_warned=yes ;;
3132
esac
3133
    CC=$ac_ct_CC
3134
  fi
3135
else
3136
  CC="$ac_cv_prog_CC"
3137
fi
3138
3139
if test -z "$CC"; then
3140
          if test -n "$ac_tool_prefix"; then
3141
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3142
set dummy ${ac_tool_prefix}cc; ac_word=$2
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
3143
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
3144
$as_echo_n "checking for $ac_word... " >&6; }
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
3145
if ${ac_cv_prog_CC+:} false; then :
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
3146
  $as_echo_n "(cached) " >&6
1.1.27 by Sebastien Bacher
Import upstream version 2.17.6
3147
else
3148
  if test -n "$CC"; then
3149
  ac_cv_prog_CC="$CC" # Let the user override the test.
3150
else
3151
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3152
for as_dir in $PATH
3153
do
3154
  IFS=$as_save_IFS
3155
  test -z "$as_dir" && as_dir=.
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
3156
    for ac_exec_ext in '' $ac_executable_extensions; do
1.1.27 by Sebastien Bacher
Import upstream version 2.17.6
3157
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3158
    ac_cv_prog_CC="${ac_tool_prefix}cc"
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
3159
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1.27 by Sebastien Bacher
Import upstream version 2.17.6
3160
    break 2
3161
  fi
3162
done
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
3163
  done
1.1.27 by Sebastien Bacher
Import upstream version 2.17.6
3164
IFS=$as_save_IFS
3165
3166
fi
3167
fi
3168
CC=$ac_cv_prog_CC
3169
if test -n "$CC"; then
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
3170
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
3171
$as_echo "$CC" >&6; }
1.1.27 by Sebastien Bacher
Import upstream version 2.17.6
3172
else
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
3173
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
3174
$as_echo "no" >&6; }
1.1.27 by Sebastien Bacher
Import upstream version 2.17.6
3175
fi
3176
3177
3178
  fi
3179
fi
3180
if test -z "$CC"; then
3181
  # Extract the first word of "cc", so it can be a program name with args.
3182
set dummy cc; ac_word=$2
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
3183
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
3184
$as_echo_n "checking for $ac_word... " >&6; }
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
3185
if ${ac_cv_prog_CC+:} false; then :
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
3186
  $as_echo_n "(cached) " >&6
1.1.27 by Sebastien Bacher
Import upstream version 2.17.6
3187
else
3188
  if test -n "$CC"; then
3189
  ac_cv_prog_CC="$CC" # Let the user override the test.
3190
else
3191
  ac_prog_rejected=no
3192
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3193
for as_dir in $PATH
3194
do
3195
  IFS=$as_save_IFS
3196
  test -z "$as_dir" && as_dir=.
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
3197
    for ac_exec_ext in '' $ac_executable_extensions; do
1.1.27 by Sebastien Bacher
Import upstream version 2.17.6
3198
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3199
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3200
       ac_prog_rejected=yes
3201
       continue
3202
     fi
3203
    ac_cv_prog_CC="cc"
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
3204
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1.27 by Sebastien Bacher
Import upstream version 2.17.6
3205
    break 2
3206
  fi
3207
done
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
3208
  done
1.1.27 by Sebastien Bacher
Import upstream version 2.17.6
3209
IFS=$as_save_IFS
3210
3211
if test $ac_prog_rejected = yes; then
3212
  # We found a bogon in the path, so make sure we never use it.
3213
  set dummy $ac_cv_prog_CC
3214
  shift
3215
  if test $# != 0; then
3216
    # We chose a different compiler from the bogus one.
3217
    # However, it has the same basename, so the bogon will be chosen
3218
    # first if we set CC to just the basename; use the full file name.
3219
    shift
3220
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3221
  fi
3222
fi
3223
fi
3224
fi
3225
CC=$ac_cv_prog_CC
3226
if test -n "$CC"; then
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
3227
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
3228
$as_echo "$CC" >&6; }
1.1.27 by Sebastien Bacher
Import upstream version 2.17.6
3229
else
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
3230
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
3231
$as_echo "no" >&6; }
1.1.27 by Sebastien Bacher
Import upstream version 2.17.6
3232
fi
3233
3234
3235
fi
3236
if test -z "$CC"; then
3237
  if test -n "$ac_tool_prefix"; then
3238
  for ac_prog in cl.exe
3239
  do
3240
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3241
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
3242
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
3243
$as_echo_n "checking for $ac_word... " >&6; }
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
3244
if ${ac_cv_prog_CC+:} false; then :
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
3245
  $as_echo_n "(cached) " >&6
1.1.27 by Sebastien Bacher
Import upstream version 2.17.6
3246
else
3247
  if test -n "$CC"; then
3248
  ac_cv_prog_CC="$CC" # Let the user override the test.
3249
else
3250
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3251
for as_dir in $PATH
3252
do
3253
  IFS=$as_save_IFS
3254
  test -z "$as_dir" && as_dir=.
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
3255
    for ac_exec_ext in '' $ac_executable_extensions; do
1.1.27 by Sebastien Bacher
Import upstream version 2.17.6
3256
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3257
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
3258
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1.27 by Sebastien Bacher
Import upstream version 2.17.6
3259
    break 2
3260
  fi
3261
done
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
3262
  done
1.1.27 by Sebastien Bacher
Import upstream version 2.17.6
3263
IFS=$as_save_IFS
3264
3265
fi
3266
fi
3267
CC=$ac_cv_prog_CC
3268
if test -n "$CC"; then
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
3269
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
3270
$as_echo "$CC" >&6; }
1.1.27 by Sebastien Bacher
Import upstream version 2.17.6
3271
else
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
3272
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
3273
$as_echo "no" >&6; }
1.1.27 by Sebastien Bacher
Import upstream version 2.17.6
3274
fi
3275
3276
3277
    test -n "$CC" && break
3278
  done
3279
fi
3280
if test -z "$CC"; then
3281
  ac_ct_CC=$CC
3282
  for ac_prog in cl.exe
3283
do
3284
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3285
set dummy $ac_prog; ac_word=$2
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
3286
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
3287
$as_echo_n "checking for $ac_word... " >&6; }
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
3288
if ${ac_cv_prog_ac_ct_CC+:} false; then :
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
3289
  $as_echo_n "(cached) " >&6
1.1.27 by Sebastien Bacher
Import upstream version 2.17.6
3290
else
3291
  if test -n "$ac_ct_CC"; then
3292
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3293
else
3294
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3295
for as_dir in $PATH
3296
do
3297
  IFS=$as_save_IFS
3298
  test -z "$as_dir" && as_dir=.
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
3299
    for ac_exec_ext in '' $ac_executable_extensions; do
1.1.27 by Sebastien Bacher
Import upstream version 2.17.6
3300
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3301
    ac_cv_prog_ac_ct_CC="$ac_prog"
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
3302
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1.27 by Sebastien Bacher
Import upstream version 2.17.6
3303
    break 2
3304
  fi
3305
done
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
3306
  done
1.1.27 by Sebastien Bacher
Import upstream version 2.17.6
3307
IFS=$as_save_IFS
3308
3309
fi
3310
fi
3311
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3312
if test -n "$ac_ct_CC"; then
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
3313
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
3314
$as_echo "$ac_ct_CC" >&6; }
1.1.27 by Sebastien Bacher
Import upstream version 2.17.6
3315
else
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
3316
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
3317
$as_echo "no" >&6; }
1.1.27 by Sebastien Bacher
Import upstream version 2.17.6
3318
fi
3319
3320
3321
  test -n "$ac_ct_CC" && break
3322
done
3323
3324
  if test "x$ac_ct_CC" = x; then
3325
    CC=""
3326
  else
3327
    case $cross_compiling:$ac_tool_warned in
3328
yes:)
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
3329
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
3330
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1.1.27 by Sebastien Bacher
Import upstream version 2.17.6
3331
ac_tool_warned=yes ;;
3332
esac
3333
    CC=$ac_ct_CC
3334
  fi
3335
fi
3336
3337
fi
3338
3339
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
3340
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
3341
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
3342
as_fn_error $? "no acceptable C compiler found in \$PATH
3343
See \`config.log' for more details" "$LINENO" 5; }
1.1.27 by Sebastien Bacher
Import upstream version 2.17.6
3344
3345
# Provide some information about the compiler.
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
3346
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
3347
set X $ac_compile
3348
ac_compiler=$2
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
3349
for ac_option in --version -v -V -qversion; do
3350
  { { ac_try="$ac_compiler $ac_option >&5"
3351
case "(($ac_try" in
3352
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3353
  *) ac_try_echo=$ac_try;;
3354
esac
3355
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3356
$as_echo "$ac_try_echo"; } >&5
3357
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3358
  ac_status=$?
3359
  if test -s conftest.err; then
3360
    sed '10a\
3361
... rest of stderr output deleted ...
3362
         10q' conftest.err >conftest.er1
3363
    cat conftest.er1 >&5
3364
  fi
3365
  rm -f conftest.er1 conftest.err
3366
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3367
  test $ac_status = 0; }
3368
done
1.1.27 by Sebastien Bacher
Import upstream version 2.17.6
3369
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
3370
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1.27 by Sebastien Bacher
Import upstream version 2.17.6
3371
/* end confdefs.h.  */
1.5.2 by Emilio Pozuelo Monfort
Import upstream version 2.28.3
3372
1.1.27 by Sebastien Bacher
Import upstream version 2.17.6
3373
int
3374
main ()
3375
{
3376
3377
  ;
3378
  return 0;
3379
}
3380
_ACEOF
3381
ac_clean_files_save=$ac_clean_files
1.5.2 by Emilio Pozuelo Monfort
Import upstream version 2.28.3
3382
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
1.1.27 by Sebastien Bacher
Import upstream version 2.17.6
3383
# Try to create an executable without -o first, disregard a.out.
3384
# It will help us diagnose broken compilers, and finding out an intuition
3385
# of exeext.
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
3386
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3387
$as_echo_n "checking whether the C compiler works... " >&6; }
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
3388
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3389
3390
# The possible output files:
3391
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3392
1.1.27 by Sebastien Bacher
Import upstream version 2.17.6
3393
ac_rmfiles=
3394
for ac_file in $ac_files
3395
do
3396
  case $ac_file in
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
3397
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
1.1.27 by Sebastien Bacher
Import upstream version 2.17.6
3398
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3399
  esac
3400
done
3401
rm -f $ac_rmfiles
3402
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
3403
if { { ac_try="$ac_link_default"
1.1.27 by Sebastien Bacher
Import upstream version 2.17.6
3404
case "(($ac_try" in
3405
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3406
  *) ac_try_echo=$ac_try;;
3407
esac
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
3408
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3409
$as_echo "$ac_try_echo"; } >&5
1.1.27 by Sebastien Bacher
Import upstream version 2.17.6
3410
  (eval "$ac_link_default") 2>&5
3411
  ac_status=$?
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
3412
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3413
  test $ac_status = 0; }; then :
1.1.27 by Sebastien Bacher
Import upstream version 2.17.6
3414
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3415
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3416
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3417
# so that the user can short-circuit this test for compilers unknown to
3418
# Autoconf.
3419
for ac_file in $ac_files ''
3420
do
3421
  test -f "$ac_file" || continue
3422
  case $ac_file in
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
3423
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
1.1.27 by Sebastien Bacher
Import upstream version 2.17.6
3424
	;;
3425
    [ab].out )
3426
	# We found the default executable, but exeext='' is most
3427
	# certainly right.
3428
	break;;
3429
    *.* )
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
3430
	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
1.1.27 by Sebastien Bacher
Import upstream version 2.17.6
3431
	then :; else
3432
	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3433
	fi
3434
	# We set ac_cv_exeext here because the later test for it is not
3435
	# safe: cross compilers may not add the suffix if given an `-o'
3436
	# argument, so we may need to know it at that point already.
3437
	# Even if this section looks crufty: it has the advantage of
3438
	# actually working.
3439
	break;;
3440
    * )
3441
	break;;
3442
  esac
3443
done
3444
test "$ac_cv_exeext" = no && ac_cv_exeext=
3445
3446
else
3447
  ac_file=''
3448
fi
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
3449
if test -z "$ac_file"; then :
3450
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3451
$as_echo "no" >&6; }
3452
$as_echo "$as_me: failed program was:" >&5
3453
sed 's/^/| /' conftest.$ac_ext >&5
1.5.2 by Emilio Pozuelo Monfort
Import upstream version 2.28.3
3454
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
3455
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3456
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
3457
as_fn_error 77 "C compiler cannot create executables
3458
See \`config.log' for more details" "$LINENO" 5; }
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
3459
else
3460
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3461
$as_echo "yes" >&6; }
3462
fi
3463
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3464
$as_echo_n "checking for C compiler default output file name... " >&6; }
3465
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
3466
$as_echo "$ac_file" >&6; }
1.1.27 by Sebastien Bacher
Import upstream version 2.17.6
3467
ac_exeext=$ac_cv_exeext
3468
1.5.2 by Emilio Pozuelo Monfort
Import upstream version 2.28.3
3469
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
1.1.27 by Sebastien Bacher
Import upstream version 2.17.6
3470
ac_clean_files=$ac_clean_files_save
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
3471
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
3472
$as_echo_n "checking for suffix of executables... " >&6; }
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
3473
if { { ac_try="$ac_link"
1.1.27 by Sebastien Bacher
Import upstream version 2.17.6
3474
case "(($ac_try" in
3475
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3476
  *) ac_try_echo=$ac_try;;
3477
esac
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
3478
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3479
$as_echo "$ac_try_echo"; } >&5
1.1.27 by Sebastien Bacher
Import upstream version 2.17.6
3480
  (eval "$ac_link") 2>&5
3481
  ac_status=$?
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
3482
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3483
  test $ac_status = 0; }; then :
1.1.27 by Sebastien Bacher
Import upstream version 2.17.6
3484
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3485
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3486
# work properly (i.e., refer to `conftest.exe'), while it won't with
3487
# `rm'.
3488
for ac_file in conftest.exe conftest conftest.*; do
3489
  test -f "$ac_file" || continue
3490
  case $ac_file in
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
3491
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
1.1.27 by Sebastien Bacher
Import upstream version 2.17.6
3492
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3493
	  break;;
3494
    * ) break;;
3495
  esac
3496
done
3497
else
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
3498
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
3499
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
3500
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3501
See \`config.log' for more details" "$LINENO" 5; }
1.1.27 by Sebastien Bacher
Import upstream version 2.17.6
3502
fi
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
3503
rm -f conftest conftest$ac_cv_exeext
3504
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
3505
$as_echo "$ac_cv_exeext" >&6; }
1.1.27 by Sebastien Bacher
Import upstream version 2.17.6
3506
3507
rm -f conftest.$ac_ext
3508
EXEEXT=$ac_cv_exeext
3509
ac_exeext=$EXEEXT
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
3510
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3511
/* end confdefs.h.  */
3512
#include <stdio.h>
3513
int
3514
main ()
3515
{
3516
FILE *f = fopen ("conftest.out", "w");
3517
 return ferror (f) || fclose (f) != 0;
3518
3519
  ;
3520
  return 0;
3521
}
3522
_ACEOF
3523
ac_clean_files="$ac_clean_files conftest.out"
3524
# Check that the compiler produces executables we can run.  If not, either
3525
# the compiler is broken, or we cross compile.
3526
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3527
$as_echo_n "checking whether we are cross compiling... " >&6; }
3528
if test "$cross_compiling" != yes; then
3529
  { { ac_try="$ac_link"
3530
case "(($ac_try" in
3531
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3532
  *) ac_try_echo=$ac_try;;
3533
esac
3534
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3535
$as_echo "$ac_try_echo"; } >&5
3536
  (eval "$ac_link") 2>&5
3537
  ac_status=$?
3538
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3539
  test $ac_status = 0; }
3540
  if { ac_try='./conftest$ac_cv_exeext'
3541
  { { case "(($ac_try" in
3542
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3543
  *) ac_try_echo=$ac_try;;
3544
esac
3545
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3546
$as_echo "$ac_try_echo"; } >&5
3547
  (eval "$ac_try") 2>&5
3548
  ac_status=$?
3549
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3550
  test $ac_status = 0; }; }; then
3551
    cross_compiling=no
3552
  else
3553
    if test "$cross_compiling" = maybe; then
3554
	cross_compiling=yes
3555
    else
3556
	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3557
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
3558
as_fn_error $? "cannot run C compiled programs.
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
3559
If you meant to cross compile, use \`--host'.
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
3560
See \`config.log' for more details" "$LINENO" 5; }
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
3561
    fi
3562
  fi
3563
fi
3564
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3565
$as_echo "$cross_compiling" >&6; }
3566
3567
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3568
ac_clean_files=$ac_clean_files_save
3569
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
3570
$as_echo_n "checking for suffix of object files... " >&6; }
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
3571
if ${ac_cv_objext+:} false; then :
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
3572
  $as_echo_n "(cached) " >&6
1.1.27 by Sebastien Bacher
Import upstream version 2.17.6
3573
else
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
3574
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1.27 by Sebastien Bacher
Import upstream version 2.17.6
3575
/* end confdefs.h.  */
3576
3577
int
3578
main ()
3579
{
3580
3581
  ;
3582
  return 0;
3583
}
3584
_ACEOF
3585
rm -f conftest.o conftest.obj
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
3586
if { { ac_try="$ac_compile"
1.1.27 by Sebastien Bacher
Import upstream version 2.17.6
3587
case "(($ac_try" in
3588
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3589
  *) ac_try_echo=$ac_try;;
3590
esac
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
3591
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3592
$as_echo "$ac_try_echo"; } >&5
1.1.27 by Sebastien Bacher
Import upstream version 2.17.6
3593
  (eval "$ac_compile") 2>&5
3594
  ac_status=$?
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
3595
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3596
  test $ac_status = 0; }; then :
1.1.27 by Sebastien Bacher
Import upstream version 2.17.6
3597
  for ac_file in conftest.o conftest.obj conftest.*; do
3598
  test -f "$ac_file" || continue;
3599
  case $ac_file in
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
3600
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
1.1.27 by Sebastien Bacher
Import upstream version 2.17.6
3601
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3602
       break;;
3603
  esac
3604
done
3605
else
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
3606
  $as_echo "$as_me: failed program was:" >&5
1.1.27 by Sebastien Bacher
Import upstream version 2.17.6
3607
sed 's/^/| /' conftest.$ac_ext >&5
3608
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
3609
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
3610
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
3611
as_fn_error $? "cannot compute suffix of object files: cannot compile
3612
See \`config.log' for more details" "$LINENO" 5; }
1.1.27 by Sebastien Bacher
Import upstream version 2.17.6
3613
fi
3614
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3615
fi
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
3616
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
3617
$as_echo "$ac_cv_objext" >&6; }
1.1.27 by Sebastien Bacher
Import upstream version 2.17.6
3618
OBJEXT=$ac_cv_objext
3619
ac_objext=$OBJEXT
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
3620
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
3621
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
3622
if ${ac_cv_c_compiler_gnu+:} false; then :
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
3623
  $as_echo_n "(cached) " >&6
1.1.27 by Sebastien Bacher
Import upstream version 2.17.6
3624
else
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
3625
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1.27 by Sebastien Bacher
Import upstream version 2.17.6
3626
/* end confdefs.h.  */
3627
3628
int
3629
main ()
3630
{
3631
#ifndef __GNUC__
3632
       choke me
3633
#endif
3634
3635
  ;
3636
  return 0;
3637
}
3638
_ACEOF
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
3639
if ac_fn_c_try_compile "$LINENO"; then :
1.1.27 by Sebastien Bacher
Import upstream version 2.17.6
3640
  ac_compiler_gnu=yes
3641
else
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
3642
  ac_compiler_gnu=no
1.1.27 by Sebastien Bacher
Import upstream version 2.17.6
3643
fi
3644
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3645
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3646
3647
fi
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
3648
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
3649
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3650
if test $ac_compiler_gnu = yes; then
3651
  GCC=yes
3652
else
3653
  GCC=
3654
fi
1.1.27 by Sebastien Bacher
Import upstream version 2.17.6
3655
ac_test_CFLAGS=${CFLAGS+set}
3656
ac_save_CFLAGS=$CFLAGS
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
3657
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
3658
$as_echo_n "checking whether $CC accepts -g... " >&6; }
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
3659
if ${ac_cv_prog_cc_g+:} false; then :
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
3660
  $as_echo_n "(cached) " >&6
1.1.27 by Sebastien Bacher
Import upstream version 2.17.6
3661
else
3662
  ac_save_c_werror_flag=$ac_c_werror_flag
3663
   ac_c_werror_flag=yes
3664
   ac_cv_prog_cc_g=no
3665
   CFLAGS="-g"
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
3666
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1.27 by Sebastien Bacher
Import upstream version 2.17.6
3667
/* end confdefs.h.  */
3668
3669
int
3670
main ()
3671
{
3672
3673
  ;
3674
  return 0;
3675
}
3676
_ACEOF
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
3677
if ac_fn_c_try_compile "$LINENO"; then :
1.1.27 by Sebastien Bacher
Import upstream version 2.17.6
3678
  ac_cv_prog_cc_g=yes
3679
else
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
3680
  CFLAGS=""
3681
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1.27 by Sebastien Bacher
Import upstream version 2.17.6
3682
/* end confdefs.h.  */
3683
3684
int
3685
main ()
3686
{
3687
3688
  ;
3689
  return 0;
3690
}
3691
_ACEOF
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
3692
if ac_fn_c_try_compile "$LINENO"; then :
3693
1.5.2 by Emilio Pozuelo Monfort
Import upstream version 2.28.3
3694
else
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
3695
  ac_c_werror_flag=$ac_save_c_werror_flag
1.1.27 by Sebastien Bacher
Import upstream version 2.17.6
3696
	 CFLAGS="-g"
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
3697
	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1.27 by Sebastien Bacher
Import upstream version 2.17.6
3698
/* end confdefs.h.  */
3699
3700
int
3701
main ()
3702
{
3703
3704
  ;
3705
  return 0;
3706
}
3707
_ACEOF
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
3708
if ac_fn_c_try_compile "$LINENO"; then :
1.1.27 by Sebastien Bacher
Import upstream version 2.17.6
3709
  ac_cv_prog_cc_g=yes
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
3710
fi
3711
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3712
fi
3713
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3714
fi
1.1.27 by Sebastien Bacher
Import upstream version 2.17.6
3715
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3716
   ac_c_werror_flag=$ac_save_c_werror_flag
3717
fi
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
3718
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
3719
$as_echo "$ac_cv_prog_cc_g" >&6; }
1.1.27 by Sebastien Bacher
Import upstream version 2.17.6
3720
if test "$ac_test_CFLAGS" = set; then
3721
  CFLAGS=$ac_save_CFLAGS
3722
elif test $ac_cv_prog_cc_g = yes; then
3723
  if test "$GCC" = yes; then
3724
    CFLAGS="-g -O2"
3725
  else
3726
    CFLAGS="-g"
3727
  fi
3728
else
3729
  if test "$GCC" = yes; then
3730
    CFLAGS="-O2"
3731
  else
3732
    CFLAGS=
3733
  fi
3734
fi
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
3735
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
3736
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
3737
if ${ac_cv_prog_cc_c89+:} false; then :
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
3738
  $as_echo_n "(cached) " >&6
1.1.27 by Sebastien Bacher
Import upstream version 2.17.6
3739
else
3740
  ac_cv_prog_cc_c89=no
3741
ac_save_CC=$CC
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
3742
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1.27 by Sebastien Bacher
Import upstream version 2.17.6
3743
/* end confdefs.h.  */
3744
#include <stdarg.h>
3745
#include <stdio.h>
3746
#include <sys/types.h>
3747
#include <sys/stat.h>
3748
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3749
struct buf { int x; };
3750
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3751
static char *e (p, i)
3752
     char **p;
3753
     int i;
3754
{
3755
  return p[i];
3756
}
3757
static char *f (char * (*g) (char **, int), char **p, ...)
3758
{
3759
  char *s;
3760
  va_list v;
3761
  va_start (v,p);
3762
  s = g (p, va_arg (v,int));
3763
  va_end (v);
3764
  return s;
3765
}
3766
3767
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3768
   function prototypes and stuff, but not '\xHH' hex character constants.
3769
   These don't provoke an error unfortunately, instead are silently treated
3770
   as 'x'.  The following induces an error, until -std is added to get
3771
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3772
   array size at least.  It's necessary to write '\x00'==0 to get something
3773
   that's true only with -std.  */
3774
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3775
3776
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3777
   inside strings and character constants.  */
3778
#define FOO(x) 'x'
3779
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3780
3781
int test (int i, double x);
3782
struct s1 {int (*f) (int a);};
3783
struct s2 {int (*f) (double a);};
3784
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3785
int argc;
3786
char **argv;
3787
int
3788
main ()
3789
{
3790
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3791
  ;
3792
  return 0;
3793
}
3794
_ACEOF
3795
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3796
	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3797
do
3798
  CC="$ac_save_CC $ac_arg"
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
3799
  if ac_fn_c_try_compile "$LINENO"; then :
1.1.27 by Sebastien Bacher
Import upstream version 2.17.6
3800
  ac_cv_prog_cc_c89=$ac_arg
3801
fi
3802
rm -f core conftest.err conftest.$ac_objext
3803
  test "x$ac_cv_prog_cc_c89" != "xno" && break
3804
done
3805
rm -f conftest.$ac_ext
3806
CC=$ac_save_CC
3807
3808
fi
3809
# AC_CACHE_VAL
3810
case "x$ac_cv_prog_cc_c89" in
3811
  x)
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
3812
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
3813
$as_echo "none needed" >&6; } ;;
1.1.27 by Sebastien Bacher
Import upstream version 2.17.6
3814
  xno)
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
3815
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
3816
$as_echo "unsupported" >&6; } ;;
1.1.27 by Sebastien Bacher
Import upstream version 2.17.6
3817
  *)
3818
    CC="$CC $ac_cv_prog_cc_c89"
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
3819
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
3820
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
1.1.27 by Sebastien Bacher
Import upstream version 2.17.6
3821
esac
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
3822
if test "x$ac_cv_prog_cc_c89" != xno; then :
1.1.27 by Sebastien Bacher
Import upstream version 2.17.6
3823
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
3824
fi
1.1.27 by Sebastien Bacher
Import upstream version 2.17.6
3825
3826
ac_ext=c
3827
ac_cpp='$CPP $CPPFLAGS'
3828
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3829
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3830
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
3831
DEPDIR="${am__leading_dot}deps"
3832
3833
ac_config_commands="$ac_config_commands depfiles"
3834
3835
3836
am_make=${MAKE-make}
3837
cat > confinc << 'END'
3838
am__doit:
3839
	@echo this is the am__doit target
3840
.PHONY: am__doit
3841
END
3842
# If we don't find an include directive, just comment out the code.
3843
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3844
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3845
am__include="#"
3846
am__quote=
3847
_am_result=none
3848
# First try GNU make style include.
3849
echo "include confinc" > confmf
3850
# Ignore all kinds of additional output from `make'.
3851
case `$am_make -s -f confmf 2> /dev/null` in #(
3852
*the\ am__doit\ target*)
3853
  am__include=include
3854
  am__quote=
3855
  _am_result=GNU
3856
  ;;
3857
esac
3858
# Now try BSD make style include.
3859
if test "$am__include" = "#"; then
3860
   echo '.include "confinc"' > confmf
3861
   case `$am_make -s -f confmf 2> /dev/null` in #(
3862
   *the\ am__doit\ target*)
3863
     am__include=.include
3864
     am__quote="\""
3865
     _am_result=BSD
3866
     ;;
3867
   esac
3868
fi
3869
3870
3871
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3872
$as_echo "$_am_result" >&6; }
3873
rm -f confinc confmf
3874
3875
# Check whether --enable-dependency-tracking was given.
3876
if test "${enable_dependency_tracking+set}" = set; then :
3877
  enableval=$enable_dependency_tracking;
3878
fi
3879
3880
if test "x$enable_dependency_tracking" != xno; then
3881
  am_depcomp="$ac_aux_dir/depcomp"
3882
  AMDEPBACKSLASH='\'
3883
fi
3884
 if test "x$enable_dependency_tracking" != xno; then
3885
  AMDEP_TRUE=
3886
  AMDEP_FALSE='#'
3887
else
3888
  AMDEP_TRUE='#'
3889
  AMDEP_FALSE=
3890
fi
3891
3892
1.1.27 by Sebastien Bacher
Import upstream version 2.17.6
3893
3894
depcc="$CC"   am_compiler_list=
3895
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
3896
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
3897
$as_echo_n "checking dependency style of $depcc... " >&6; }
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
3898
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
3899
  $as_echo_n "(cached) " >&6
1.1.27 by Sebastien Bacher
Import upstream version 2.17.6
3900
else
3901
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3902
  # We make a subdir and do the tests there.  Otherwise we can end up
3903
  # making bogus files that we don't know about and never remove.  For
3904
  # instance it was reported that on HP-UX the gcc test will end up
3905
  # making a dummy file named `D' -- because `-MD' means `put the output
3906
  # in D'.
3907
  mkdir conftest.dir
3908
  # Copy depcomp to subdir because otherwise we won't find it if we're
3909
  # using a relative directory.
3910
  cp "$am_depcomp" conftest.dir
3911
  cd conftest.dir
3912
  # We will build objects and dependencies in a subdirectory because
3913
  # it helps to detect inapplicable dependency modes.  For instance
3914
  # both Tru64's cc and ICC support -MD to output dependencies as a
3915
  # side effect of compilation, but ICC will put the dependencies in
3916
  # the current directory while Tru64 will put them in the object
3917
  # directory.
3918
  mkdir sub
3919
3920
  am_cv_CC_dependencies_compiler_type=none
3921
  if test "$am_compiler_list" = ""; then
3922
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3923
  fi
1.1.64 by Robert Ancell
Import upstream version 2.27.3
3924
  am__universal=false
3925
  case " $depcc " in #(
3926
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
3927
     esac
3928
1.1.27 by Sebastien Bacher
Import upstream version 2.17.6
3929
  for depmode in $am_compiler_list; do
3930
    # Setup a source with many dependencies, because some compilers
3931
    # like to wrap large dependency lists on column 80 (with \), and
3932
    # we should not choose a depcomp mode which is confused by this.
3933
    #
3934
    # We need to recreate these files for each test, as the compiler may
3935
    # overwrite some of them when testing with obscure command lines.
3936
    # This happens at least with the AIX C compiler.
3937
    : > sub/conftest.c
3938
    for i in 1 2 3 4 5 6; do
3939
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3940
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3941
      # Solaris 8's {/usr,}/bin/sh.
3942
      touch sub/conftst$i.h
3943
    done
3944
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3945
1.1.64 by Robert Ancell
Import upstream version 2.27.3
3946
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3947
    # mode.  It turns out that the SunPro C++ compiler does not properly
3948
    # handle `-M -o', and we need to detect this.  Also, some Intel
3949
    # versions had trouble with output in subdirs
3950
    am__obj=sub/conftest.${OBJEXT-o}
3951
    am__minus_obj="-o $am__obj"
1.1.27 by Sebastien Bacher
Import upstream version 2.17.6
3952
    case $depmode in
1.1.64 by Robert Ancell
Import upstream version 2.27.3
3953
    gcc)
3954
      # This depmode causes a compiler race in universal mode.
3955
      test "$am__universal" = false || continue
3956
      ;;
1.1.27 by Sebastien Bacher
Import upstream version 2.17.6
3957
    nosideeffect)
3958
      # after this tag, mechanisms are not by side-effect, so they'll
3959
      # only be used when explicitly requested
3960
      if test "x$enable_dependency_tracking" = xyes; then
3961
	continue
3962
      else
3963
	break
3964
      fi
3965
      ;;
1.1.64 by Robert Ancell
Import upstream version 2.27.3
3966
    msvisualcpp | msvcmsys)
3967
      # This compiler won't grok `-c -o', but also, the minuso test has
3968
      # not run yet.  These depmodes are late enough in the game, and
3969
      # so weak that their functioning should not be impacted.
3970
      am__obj=conftest.${OBJEXT-o}
3971
      am__minus_obj=
3972
      ;;
1.1.27 by Sebastien Bacher
Import upstream version 2.17.6
3973
    none) break ;;
3974
    esac
3975
    if depmode=$depmode \
1.1.64 by Robert Ancell
Import upstream version 2.27.3
3976
       source=sub/conftest.c object=$am__obj \
1.1.27 by Sebastien Bacher
Import upstream version 2.17.6
3977
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
1.1.64 by Robert Ancell
Import upstream version 2.27.3
3978
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
1.1.27 by Sebastien Bacher
Import upstream version 2.17.6
3979
         >/dev/null 2>conftest.err &&
1.1.31 by Aron Sisak
Import upstream version 2.19.3
3980
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
1.1.27 by Sebastien Bacher
Import upstream version 2.17.6
3981
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
1.1.64 by Robert Ancell
Import upstream version 2.27.3
3982
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
1.1.27 by Sebastien Bacher
Import upstream version 2.17.6
3983
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3984
      # icc doesn't choke on unknown options, it will just issue warnings
3985
      # or remarks (even with -Werror).  So we grep stderr for any message
3986
      # that says an option was ignored or not supported.
3987
      # When given -MP, icc 7.0 and 7.1 complain thusly:
3988
      #   icc: Command line warning: ignoring option '-M'; no argument required
3989
      # The diagnosis changed in icc 8.0:
3990
      #   icc: Command line remark: option '-MP' not supported
3991
      if (grep 'ignoring option' conftest.err ||
3992
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3993
        am_cv_CC_dependencies_compiler_type=$depmode
3994
        break
3995
      fi
3996
    fi
3997
  done
3998
3999
  cd ..
4000
  rm -rf conftest.dir
4001
else
4002
  am_cv_CC_dependencies_compiler_type=none
4003
fi
4004
4005
fi
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
4006
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
4007
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
1.1.27 by Sebastien Bacher
Import upstream version 2.17.6
4008
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4009
1.1.31 by Aron Sisak
Import upstream version 2.19.3
4010
 if
1.1.27 by Sebastien Bacher
Import upstream version 2.17.6
4011
  test "x$enable_dependency_tracking" != xno \
4012
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4013
  am__fastdepCC_TRUE=
4014
  am__fastdepCC_FALSE='#'
4015
else
4016
  am__fastdepCC_TRUE='#'
4017
  am__fastdepCC_FALSE=
4018
fi
4019
4020
4021
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
4022
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4023
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4024
set x ${MAKE-make}
4025
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
4026
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
4027
  $as_echo_n "(cached) " >&6
4028
else
4029
  cat >conftest.make <<\_ACEOF
4030
SHELL = /bin/sh
4031
all:
4032
	@echo '@@@%%%=$(MAKE)=@@@%%%'
4033
_ACEOF
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
4034
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
4035
case `${MAKE-make} -f conftest.make 2>/dev/null` in
4036
  *@@@%%%=?*=@@@%%%*)
4037
    eval ac_cv_prog_make_${ac_make}_set=yes;;
4038
  *)
4039
    eval ac_cv_prog_make_${ac_make}_set=no;;
4040
esac
4041
rm -f conftest.make
4042
fi
4043
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4044
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4045
$as_echo "yes" >&6; }
4046
  SET_MAKE=
4047
else
4048
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4049
$as_echo "no" >&6; }
4050
  SET_MAKE="MAKE=${MAKE-make}"
4051
fi
4052
4053
4054
# Check whether --enable-largefile was given.
4055
if test "${enable_largefile+set}" = set; then :
4056
  enableval=$enable_largefile;
4057
fi
4058
4059
if test "$enable_largefile" != no; then
4060
4061
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
4062
$as_echo_n "checking for special C compiler options needed for large files... " >&6; }
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
4063
if ${ac_cv_sys_largefile_CC+:} false; then :
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
4064
  $as_echo_n "(cached) " >&6
4065
else
4066
  ac_cv_sys_largefile_CC=no
4067
     if test "$GCC" != yes; then
4068
       ac_save_CC=$CC
4069
       while :; do
4070
	 # IRIX 6.2 and later do not support large files by default,
4071
	 # so use the C compiler's -n32 option if that helps.
4072
	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4073
/* end confdefs.h.  */
4074
#include <sys/types.h>
4075
 /* Check that off_t can represent 2**63 - 1 correctly.
4076
    We can't simply define LARGE_OFF_T to be 9223372036854775807,
4077
    since some C++ compilers masquerading as C compilers
4078
    incorrectly reject 9223372036854775807.  */
4079
#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4080
  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4081
		       && LARGE_OFF_T % 2147483647 == 1)
4082
		      ? 1 : -1];
4083
int
4084
main ()
4085
{
4086
4087
  ;
4088
  return 0;
4089
}
4090
_ACEOF
4091
	 if ac_fn_c_try_compile "$LINENO"; then :
4092
  break
4093
fi
4094
rm -f core conftest.err conftest.$ac_objext
4095
	 CC="$CC -n32"
4096
	 if ac_fn_c_try_compile "$LINENO"; then :
4097
  ac_cv_sys_largefile_CC=' -n32'; break
4098
fi
4099
rm -f core conftest.err conftest.$ac_objext
4100
	 break
4101
       done
4102
       CC=$ac_save_CC
4103
       rm -f conftest.$ac_ext
4104
    fi
4105
fi
4106
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
4107
$as_echo "$ac_cv_sys_largefile_CC" >&6; }
4108
  if test "$ac_cv_sys_largefile_CC" != no; then
4109
    CC=$CC$ac_cv_sys_largefile_CC
4110
  fi
4111
4112
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4113
$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
4114
if ${ac_cv_sys_file_offset_bits+:} false; then :
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
4115
  $as_echo_n "(cached) " >&6
4116
else
4117
  while :; do
4118
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4119
/* end confdefs.h.  */
4120
#include <sys/types.h>
4121
 /* Check that off_t can represent 2**63 - 1 correctly.
4122
    We can't simply define LARGE_OFF_T to be 9223372036854775807,
4123
    since some C++ compilers masquerading as C compilers
4124
    incorrectly reject 9223372036854775807.  */
4125
#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4126
  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4127
		       && LARGE_OFF_T % 2147483647 == 1)
4128
		      ? 1 : -1];
4129
int
4130
main ()
4131
{
4132
4133
  ;
4134
  return 0;
4135
}
4136
_ACEOF
4137
if ac_fn_c_try_compile "$LINENO"; then :
4138
  ac_cv_sys_file_offset_bits=no; break
4139
fi
4140
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4141
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4142
/* end confdefs.h.  */
4143
#define _FILE_OFFSET_BITS 64
4144
#include <sys/types.h>
4145
 /* Check that off_t can represent 2**63 - 1 correctly.
4146
    We can't simply define LARGE_OFF_T to be 9223372036854775807,
4147
    since some C++ compilers masquerading as C compilers
4148
    incorrectly reject 9223372036854775807.  */
4149
#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4150
  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4151
		       && LARGE_OFF_T % 2147483647 == 1)
4152
		      ? 1 : -1];
4153
int
4154
main ()
4155
{
4156
4157
  ;
4158
  return 0;
4159
}
4160
_ACEOF
4161
if ac_fn_c_try_compile "$LINENO"; then :
4162
  ac_cv_sys_file_offset_bits=64; break
4163
fi
4164
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4165
  ac_cv_sys_file_offset_bits=unknown
4166
  break
4167
done
4168
fi
4169
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
4170
$as_echo "$ac_cv_sys_file_offset_bits" >&6; }
4171
case $ac_cv_sys_file_offset_bits in #(
4172
  no | unknown) ;;
4173
  *)
4174
cat >>confdefs.h <<_ACEOF
4175
#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4176
_ACEOF
4177
;;
4178
esac
4179
rm -rf conftest*
4180
  if test $ac_cv_sys_file_offset_bits = unknown; then
4181
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
4182
$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
4183
if ${ac_cv_sys_large_files+:} false; then :
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
4184
  $as_echo_n "(cached) " >&6
4185
else
4186
  while :; do
4187
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4188
/* end confdefs.h.  */
4189
#include <sys/types.h>
4190
 /* Check that off_t can represent 2**63 - 1 correctly.
4191
    We can't simply define LARGE_OFF_T to be 9223372036854775807,
4192
    since some C++ compilers masquerading as C compilers
4193
    incorrectly reject 9223372036854775807.  */
4194
#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4195
  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4196
		       && LARGE_OFF_T % 2147483647 == 1)
4197
		      ? 1 : -1];
4198
int
4199
main ()
4200
{
4201
4202
  ;
4203
  return 0;
4204
}
4205
_ACEOF
4206
if ac_fn_c_try_compile "$LINENO"; then :
4207
  ac_cv_sys_large_files=no; break
4208
fi
4209
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4210
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4211
/* end confdefs.h.  */
4212
#define _LARGE_FILES 1
4213
#include <sys/types.h>
4214
 /* Check that off_t can represent 2**63 - 1 correctly.
4215
    We can't simply define LARGE_OFF_T to be 9223372036854775807,
4216
    since some C++ compilers masquerading as C compilers
4217
    incorrectly reject 9223372036854775807.  */
4218
#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4219
  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4220
		       && LARGE_OFF_T % 2147483647 == 1)
4221
		      ? 1 : -1];
4222
int
4223
main ()
4224
{
4225
4226
  ;
4227
  return 0;
4228
}
4229
_ACEOF
4230
if ac_fn_c_try_compile "$LINENO"; then :
4231
  ac_cv_sys_large_files=1; break
4232
fi
4233
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4234
  ac_cv_sys_large_files=unknown
4235
  break
4236
done
4237
fi
4238
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
4239
$as_echo "$ac_cv_sys_large_files" >&6; }
4240
case $ac_cv_sys_large_files in #(
4241
  no | unknown) ;;
4242
  *)
4243
cat >>confdefs.h <<_ACEOF
4244
#define _LARGE_FILES $ac_cv_sys_large_files
4245
_ACEOF
4246
;;
4247
esac
4248
rm -rf conftest*
4249
  fi
4250
fi
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
4251
1.1.57 by Sebastien Bacher
Import upstream version 2.25.6
4252
4253
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
4254
4255
4256
4257
1.1.57 by Sebastien Bacher
Import upstream version 2.25.6
4258
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4259
	if test -n "$ac_tool_prefix"; then
4260
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4261
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
4262
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1.57 by Sebastien Bacher
Import upstream version 2.25.6
4263
$as_echo_n "checking for $ac_word... " >&6; }
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
4264
if ${ac_cv_path_PKG_CONFIG+:} false; then :
1.1.57 by Sebastien Bacher
Import upstream version 2.25.6
4265
  $as_echo_n "(cached) " >&6
4266
else
4267
  case $PKG_CONFIG in
4268
  [\\/]* | ?:[\\/]*)
4269
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4270
  ;;
4271
  *)
4272
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4273
for as_dir in $PATH
4274
do
4275
  IFS=$as_save_IFS
4276
  test -z "$as_dir" && as_dir=.
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
4277
    for ac_exec_ext in '' $ac_executable_extensions; do
1.1.57 by Sebastien Bacher
Import upstream version 2.25.6
4278
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4279
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
4280
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1.57 by Sebastien Bacher
Import upstream version 2.25.6
4281
    break 2
4282
  fi
4283
done
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
4284
  done
1.1.57 by Sebastien Bacher
Import upstream version 2.25.6
4285
IFS=$as_save_IFS
4286
4287
  ;;
4288
esac
4289
fi
4290
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4291
if test -n "$PKG_CONFIG"; then
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
4292
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
1.1.57 by Sebastien Bacher
Import upstream version 2.25.6
4293
$as_echo "$PKG_CONFIG" >&6; }
4294
else
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
4295
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1.57 by Sebastien Bacher
Import upstream version 2.25.6
4296
$as_echo "no" >&6; }
4297
fi
4298
4299
4300
fi
4301
if test -z "$ac_cv_path_PKG_CONFIG"; then
4302
  ac_pt_PKG_CONFIG=$PKG_CONFIG
4303
  # Extract the first word of "pkg-config", so it can be a program name with args.
4304
set dummy pkg-config; ac_word=$2
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
4305
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1.57 by Sebastien Bacher
Import upstream version 2.25.6
4306
$as_echo_n "checking for $ac_word... " >&6; }
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
4307
if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
1.1.57 by Sebastien Bacher
Import upstream version 2.25.6
4308
  $as_echo_n "(cached) " >&6
4309
else
4310
  case $ac_pt_PKG_CONFIG in
4311
  [\\/]* | ?:[\\/]*)
4312
  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4313
  ;;
4314
  *)
4315
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4316
for as_dir in $PATH
4317
do
4318
  IFS=$as_save_IFS
4319
  test -z "$as_dir" && as_dir=.
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
4320
    for ac_exec_ext in '' $ac_executable_extensions; do
1.1.57 by Sebastien Bacher
Import upstream version 2.25.6
4321
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4322
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
4323
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1.57 by Sebastien Bacher
Import upstream version 2.25.6
4324
    break 2
4325
  fi
4326
done
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
4327
  done
1.1.57 by Sebastien Bacher
Import upstream version 2.25.6
4328
IFS=$as_save_IFS
4329
4330
  ;;
4331
esac
4332
fi
4333
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4334
if test -n "$ac_pt_PKG_CONFIG"; then
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
4335
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
1.1.57 by Sebastien Bacher
Import upstream version 2.25.6
4336
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
4337
else
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
4338
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1.57 by Sebastien Bacher
Import upstream version 2.25.6
4339
$as_echo "no" >&6; }
4340
fi
4341
4342
  if test "x$ac_pt_PKG_CONFIG" = x; then
4343
    PKG_CONFIG=""
4344
  else
4345
    case $cross_compiling:$ac_tool_warned in
4346
yes:)
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
4347
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1.1.57 by Sebastien Bacher
Import upstream version 2.25.6
4348
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4349
ac_tool_warned=yes ;;
4350
esac
4351
    PKG_CONFIG=$ac_pt_PKG_CONFIG
4352
  fi
4353
else
4354
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
4355
fi
4356
4357
fi
4358
if test -n "$PKG_CONFIG"; then
4359
	_pkg_min_version=0.9.0
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
4360
	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
1.1.57 by Sebastien Bacher
Import upstream version 2.25.6
4361
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
4362
	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
4363
		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.1.57 by Sebastien Bacher
Import upstream version 2.25.6
4364
$as_echo "yes" >&6; }
4365
	else
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
4366
		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1.57 by Sebastien Bacher
Import upstream version 2.25.6
4367
$as_echo "no" >&6; }
4368
		PKG_CONFIG=""
4369
	fi
4370
fi
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
4371
# needed on osx
4372
ac_ext=m
4373
ac_cpp='$OBJCPP $CPPFLAGS'
4374
ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4375
ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4376
ac_compiler_gnu=$ac_cv_objc_compiler_gnu
4377
if test -n "$ac_tool_prefix"; then
4378
  for ac_prog in gcc objcc objc cc CC
4379
  do
4380
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4381
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4382
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4383
$as_echo_n "checking for $ac_word... " >&6; }
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
4384
if ${ac_cv_prog_OBJC+:} false; then :
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
4385
  $as_echo_n "(cached) " >&6
4386
else
4387
  if test -n "$OBJC"; then
4388
  ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
4389
else
4390
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4391
for as_dir in $PATH
4392
do
4393
  IFS=$as_save_IFS
4394
  test -z "$as_dir" && as_dir=.
4395
    for ac_exec_ext in '' $ac_executable_extensions; do
4396
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4397
    ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
4398
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4399
    break 2
4400
  fi
4401
done
4402
  done
4403
IFS=$as_save_IFS
4404
4405
fi
4406
fi
4407
OBJC=$ac_cv_prog_OBJC
4408
if test -n "$OBJC"; then
4409
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
4410
$as_echo "$OBJC" >&6; }
4411
else
4412
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4413
$as_echo "no" >&6; }
4414
fi
4415
4416
4417
    test -n "$OBJC" && break
4418
  done
4419
fi
4420
if test -z "$OBJC"; then
4421
  ac_ct_OBJC=$OBJC
4422
  for ac_prog in gcc objcc objc cc CC
4423
do
4424
  # Extract the first word of "$ac_prog", so it can be a program name with args.
4425
set dummy $ac_prog; ac_word=$2
4426
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4427
$as_echo_n "checking for $ac_word... " >&6; }
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
4428
if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
4429
  $as_echo_n "(cached) " >&6
4430
else
4431
  if test -n "$ac_ct_OBJC"; then
4432
  ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
4433
else
4434
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4435
for as_dir in $PATH
4436
do
4437
  IFS=$as_save_IFS
4438
  test -z "$as_dir" && as_dir=.
4439
    for ac_exec_ext in '' $ac_executable_extensions; do
4440
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4441
    ac_cv_prog_ac_ct_OBJC="$ac_prog"
4442
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4443
    break 2
4444
  fi
4445
done
4446
  done
4447
IFS=$as_save_IFS
4448
4449
fi
4450
fi
4451
ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
4452
if test -n "$ac_ct_OBJC"; then
4453
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
4454
$as_echo "$ac_ct_OBJC" >&6; }
4455
else
4456
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4457
$as_echo "no" >&6; }
4458
fi
4459
4460
4461
  test -n "$ac_ct_OBJC" && break
4462
done
4463
4464
  if test "x$ac_ct_OBJC" = x; then
4465
    OBJC="gcc"
4466
  else
4467
    case $cross_compiling:$ac_tool_warned in
4468
yes:)
4469
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4470
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4471
ac_tool_warned=yes ;;
4472
esac
4473
    OBJC=$ac_ct_OBJC
4474
  fi
4475
fi
4476
4477
# Provide some information about the compiler.
4478
$as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
4479
set X $ac_compile
4480
ac_compiler=$2
4481
for ac_option in --version -v -V -qversion; do
4482
  { { ac_try="$ac_compiler $ac_option >&5"
4483
case "(($ac_try" in
4484
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4485
  *) ac_try_echo=$ac_try;;
4486
esac
4487
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4488
$as_echo "$ac_try_echo"; } >&5
4489
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4490
  ac_status=$?
4491
  if test -s conftest.err; then
4492
    sed '10a\
4493
... rest of stderr output deleted ...
4494
         10q' conftest.err >conftest.er1
4495
    cat conftest.er1 >&5
4496
  fi
4497
  rm -f conftest.er1 conftest.err
4498
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4499
  test $ac_status = 0; }
4500
done
4501
4502
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
4503
$as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
4504
if ${ac_cv_objc_compiler_gnu+:} false; then :
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
4505
  $as_echo_n "(cached) " >&6
4506
else
4507
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4508
/* end confdefs.h.  */
4509
4510
int
4511
main ()
4512
{
4513
#ifndef __GNUC__
4514
       choke me
4515
#endif
4516
4517
  ;
4518
  return 0;
4519
}
4520
_ACEOF
4521
if ac_fn_objc_try_compile "$LINENO"; then :
4522
  ac_compiler_gnu=yes
4523
else
4524
  ac_compiler_gnu=no
4525
fi
4526
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4527
ac_cv_objc_compiler_gnu=$ac_compiler_gnu
4528
4529
fi
4530
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
4531
$as_echo "$ac_cv_objc_compiler_gnu" >&6; }
4532
if test $ac_compiler_gnu = yes; then
4533
  GOBJC=yes
4534
else
4535
  GOBJC=
4536
fi
4537
ac_test_OBJCFLAGS=${OBJCFLAGS+set}
4538
ac_save_OBJCFLAGS=$OBJCFLAGS
4539
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
4540
$as_echo_n "checking whether $OBJC accepts -g... " >&6; }
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
4541
if ${ac_cv_prog_objc_g+:} false; then :
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
4542
  $as_echo_n "(cached) " >&6
4543
else
4544
  ac_save_objc_werror_flag=$ac_objc_werror_flag
4545
   ac_objc_werror_flag=yes
4546
   ac_cv_prog_objc_g=no
4547
   OBJCFLAGS="-g"
4548
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4549
/* end confdefs.h.  */
4550
4551
int
4552
main ()
4553
{
4554
4555
  ;
4556
  return 0;
4557
}
4558
_ACEOF
4559
if ac_fn_objc_try_compile "$LINENO"; then :
4560
  ac_cv_prog_objc_g=yes
4561
else
4562
  OBJCFLAGS=""
4563
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4564
/* end confdefs.h.  */
4565
4566
int
4567
main ()
4568
{
4569
4570
  ;
4571
  return 0;
4572
}
4573
_ACEOF
4574
if ac_fn_objc_try_compile "$LINENO"; then :
4575
4576
else
4577
  ac_objc_werror_flag=$ac_save_objc_werror_flag
4578
	 OBJCFLAGS="-g"
4579
	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4580
/* end confdefs.h.  */
4581
4582
int
4583
main ()
4584
{
4585
4586
  ;
4587
  return 0;
4588
}
4589
_ACEOF
4590
if ac_fn_objc_try_compile "$LINENO"; then :
4591
  ac_cv_prog_objc_g=yes
4592
fi
4593
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4594
fi
4595
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4596
fi
4597
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4598
   ac_objc_werror_flag=$ac_save_objc_werror_flag
4599
fi
4600
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
4601
$as_echo "$ac_cv_prog_objc_g" >&6; }
4602
if test "$ac_test_OBJCFLAGS" = set; then
4603
  OBJCFLAGS=$ac_save_OBJCFLAGS
4604
elif test $ac_cv_prog_objc_g = yes; then
4605
  if test "$GOBJC" = yes; then
4606
    OBJCFLAGS="-g -O2"
4607
  else
4608
    OBJCFLAGS="-g"
4609
  fi
4610
else
4611
  if test "$GOBJC" = yes; then
4612
    OBJCFLAGS="-O2"
4613
  else
4614
    OBJCFLAGS=
4615
  fi
4616
fi
4617
ac_ext=c
4618
ac_cpp='$CPP $CPPFLAGS'
4619
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4620
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4621
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4622
4623
depcc="$OBJC" am_compiler_list='gcc3 gcc'
4624
4625
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4626
$as_echo_n "checking dependency style of $depcc... " >&6; }
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
4627
if ${am_cv_OBJC_dependencies_compiler_type+:} false; then :
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
4628
  $as_echo_n "(cached) " >&6
4629
else
4630
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4631
  # We make a subdir and do the tests there.  Otherwise we can end up
4632
  # making bogus files that we don't know about and never remove.  For
4633
  # instance it was reported that on HP-UX the gcc test will end up
4634
  # making a dummy file named `D' -- because `-MD' means `put the output
4635
  # in D'.
4636
  mkdir conftest.dir
4637
  # Copy depcomp to subdir because otherwise we won't find it if we're
4638
  # using a relative directory.
4639
  cp "$am_depcomp" conftest.dir
4640
  cd conftest.dir
4641
  # We will build objects and dependencies in a subdirectory because
4642
  # it helps to detect inapplicable dependency modes.  For instance
4643
  # both Tru64's cc and ICC support -MD to output dependencies as a
4644
  # side effect of compilation, but ICC will put the dependencies in
4645
  # the current directory while Tru64 will put them in the object
4646
  # directory.
4647
  mkdir sub
4648
4649
  am_cv_OBJC_dependencies_compiler_type=none
4650
  if test "$am_compiler_list" = ""; then
4651
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4652
  fi
4653
  am__universal=false
4654
4655
4656
  for depmode in $am_compiler_list; do
4657
    # Setup a source with many dependencies, because some compilers
4658
    # like to wrap large dependency lists on column 80 (with \), and
4659
    # we should not choose a depcomp mode which is confused by this.
4660
    #
4661
    # We need to recreate these files for each test, as the compiler may
4662
    # overwrite some of them when testing with obscure command lines.
4663
    # This happens at least with the AIX C compiler.
4664
    : > sub/conftest.c
4665
    for i in 1 2 3 4 5 6; do
4666
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4667
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4668
      # Solaris 8's {/usr,}/bin/sh.
4669
      touch sub/conftst$i.h
4670
    done
4671
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4672
4673
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
4674
    # mode.  It turns out that the SunPro C++ compiler does not properly
4675
    # handle `-M -o', and we need to detect this.  Also, some Intel
4676
    # versions had trouble with output in subdirs
4677
    am__obj=sub/conftest.${OBJEXT-o}
4678
    am__minus_obj="-o $am__obj"
4679
    case $depmode in
4680
    gcc)
4681
      # This depmode causes a compiler race in universal mode.
4682
      test "$am__universal" = false || continue
4683
      ;;
4684
    nosideeffect)
4685
      # after this tag, mechanisms are not by side-effect, so they'll
4686
      # only be used when explicitly requested
4687
      if test "x$enable_dependency_tracking" = xyes; then
4688
	continue
4689
      else
4690
	break
4691
      fi
4692
      ;;
4693
    msvisualcpp | msvcmsys)
4694
      # This compiler won't grok `-c -o', but also, the minuso test has
4695
      # not run yet.  These depmodes are late enough in the game, and
4696
      # so weak that their functioning should not be impacted.
4697
      am__obj=conftest.${OBJEXT-o}
4698
      am__minus_obj=
4699
      ;;
4700
    none) break ;;
4701
    esac
4702
    if depmode=$depmode \
4703
       source=sub/conftest.c object=$am__obj \
4704
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4705
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4706
         >/dev/null 2>conftest.err &&
4707
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4708
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4709
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4710
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4711
      # icc doesn't choke on unknown options, it will just issue warnings
4712
      # or remarks (even with -Werror).  So we grep stderr for any message
4713
      # that says an option was ignored or not supported.
4714
      # When given -MP, icc 7.0 and 7.1 complain thusly:
4715
      #   icc: Command line warning: ignoring option '-M'; no argument required
4716
      # The diagnosis changed in icc 8.0:
4717
      #   icc: Command line remark: option '-MP' not supported
4718
      if (grep 'ignoring option' conftest.err ||
4719
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4720
        am_cv_OBJC_dependencies_compiler_type=$depmode
4721
        break
4722
      fi
4723
    fi
4724
  done
4725
4726
  cd ..
4727
  rm -rf conftest.dir
4728
else
4729
  am_cv_OBJC_dependencies_compiler_type=none
4730
fi
4731
4732
fi
4733
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_OBJC_dependencies_compiler_type" >&5
4734
$as_echo "$am_cv_OBJC_dependencies_compiler_type" >&6; }
4735
OBJCDEPMODE=depmode=$am_cv_OBJC_dependencies_compiler_type
4736
4737
 if
4738
  test "x$enable_dependency_tracking" != xno \
4739
  && test "$am_cv_OBJC_dependencies_compiler_type" = gcc3; then
4740
  am__fastdepOBJC_TRUE=
4741
  am__fastdepOBJC_FALSE='#'
4742
else
4743
  am__fastdepOBJC_TRUE='#'
4744
  am__fastdepOBJC_FALSE=
4745
fi
4746
4747
4748
1.7.1 by Mirco Bauer
Import upstream version 3.0.0
4749
4750
4751
4752
4753
        # Find any Python interpreter.
4754
    if test -z "$PYTHON"; then
4755
      for ac_prog in python python2 python3 python3.0 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0
4756
do
4757
  # Extract the first word of "$ac_prog", so it can be a program name with args.
4758
set dummy $ac_prog; ac_word=$2
4759
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4760
$as_echo_n "checking for $ac_word... " >&6; }
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
4761
if ${ac_cv_path_PYTHON+:} false; then :
1.7.1 by Mirco Bauer
Import upstream version 3.0.0
4762
  $as_echo_n "(cached) " >&6
4763
else
4764
  case $PYTHON in
4765
  [\\/]* | ?:[\\/]*)
4766
  ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
4767
  ;;
4768
  *)
4769
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4770
for as_dir in $PATH
4771
do
4772
  IFS=$as_save_IFS
4773
  test -z "$as_dir" && as_dir=.
4774
    for ac_exec_ext in '' $ac_executable_extensions; do
4775
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4776
    ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
4777
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4778
    break 2
4779
  fi
4780
done
4781
  done
4782
IFS=$as_save_IFS
4783
4784
  ;;
4785
esac
4786
fi
4787
PYTHON=$ac_cv_path_PYTHON
4788
if test -n "$PYTHON"; then
4789
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
4790
$as_echo "$PYTHON" >&6; }
4791
else
4792
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4793
$as_echo "no" >&6; }
4794
fi
4795
4796
4797
  test -n "$PYTHON" && break
4798
done
4799
test -n "$PYTHON" || PYTHON=":"
4800
4801
    fi
4802
    am_display_PYTHON=python
4803
4804
4805
  if test "$PYTHON" = :; then
4806
      as_fn_error $? "no suitable Python interpreter found" "$LINENO" 5
4807
  else
4808
4809
4810
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
4811
$as_echo_n "checking for $am_display_PYTHON version... " >&6; }
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
4812
if ${am_cv_python_version+:} false; then :
1.7.1 by Mirco Bauer
Import upstream version 3.0.0
4813
  $as_echo_n "(cached) " >&6
4814
else
4815
  am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
4816
fi
4817
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
4818
$as_echo "$am_cv_python_version" >&6; }
4819
  PYTHON_VERSION=$am_cv_python_version
4820
4821
4822
4823
  PYTHON_PREFIX='${prefix}'
4824
4825
  PYTHON_EXEC_PREFIX='${exec_prefix}'
4826
4827
4828
4829
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
4830
$as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
4831
if ${am_cv_python_platform+:} false; then :
1.7.1 by Mirco Bauer
Import upstream version 3.0.0
4832
  $as_echo_n "(cached) " >&6
4833
else
4834
  am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
4835
fi
4836
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
4837
$as_echo "$am_cv_python_platform" >&6; }
4838
  PYTHON_PLATFORM=$am_cv_python_platform
4839
4840
4841
4842
4843
                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
4844
$as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
4845
if ${am_cv_python_pythondir+:} false; then :
1.7.1 by Mirco Bauer
Import upstream version 3.0.0
4846
  $as_echo_n "(cached) " >&6
4847
else
4848
  if test "x$prefix" = xNONE
4849
     then
4850
       am_py_prefix=$ac_default_prefix
4851
     else
4852
       am_py_prefix=$prefix
4853
     fi
4854
     am_cv_python_pythondir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(0,0,prefix='$am_py_prefix'))" 2>/dev/null ||
4855
     echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
4856
     case $am_cv_python_pythondir in
4857
     $am_py_prefix*)
4858
       am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
4859
       am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
4860
       ;;
4861
     *)
4862
       case $am_py_prefix in
4863
         /usr|/System*) ;;
4864
         *)
4865
	  am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages
4866
	  ;;
4867
       esac
4868
       ;;
4869
     esac
4870
4871
fi
4872
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
4873
$as_echo "$am_cv_python_pythondir" >&6; }
4874
  pythondir=$am_cv_python_pythondir
4875
4876
4877
4878
  pkgpythondir=\${pythondir}/$PACKAGE
4879
4880
4881
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
4882
$as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
4883
if ${am_cv_python_pyexecdir+:} false; then :
1.7.1 by Mirco Bauer
Import upstream version 3.0.0
4884
  $as_echo_n "(cached) " >&6
4885
else
4886
  if test "x$exec_prefix" = xNONE
4887
     then
4888
       am_py_exec_prefix=$am_py_prefix
4889
     else
4890
       am_py_exec_prefix=$exec_prefix
4891
     fi
4892
     am_cv_python_pyexecdir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(1,0,prefix='$am_py_exec_prefix'))" 2>/dev/null ||
4893
     echo "$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
4894
     case $am_cv_python_pyexecdir in
4895
     $am_py_exec_prefix*)
4896
       am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
4897
       am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
4898
       ;;
4899
     *)
4900
       case $am_py_exec_prefix in
4901
         /usr|/System*) ;;
4902
         *)
4903
	   am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages
4904
	   ;;
4905
       esac
4906
       ;;
4907
     esac
4908
4909
fi
4910
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
4911
$as_echo "$am_cv_python_pyexecdir" >&6; }
4912
  pyexecdir=$am_cv_python_pyexecdir
4913
4914
4915
4916
  pkgpyexecdir=\${pyexecdir}/$PACKAGE
4917
4918
4919
4920
  fi
4921
4922
4923
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
4924
# Initialize libtool
1.1.57 by Sebastien Bacher
Import upstream version 2.25.6
4925
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
4926
case `pwd` in
4927
  *\ * | *\	*)
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
4928
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
4929
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4930
esac
4931
4932
4933
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
4934
macro_version='2.4'
4935
macro_revision='1.3293'
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
ltmain="$ac_aux_dir/ltmain.sh"
1 by Joe Drew
Import upstream version 0.9.6
4950
4951
# Make sure we can run config.sub.
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
4952
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
4953
  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
4954
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
4955
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
4956
$as_echo_n "checking build system type... " >&6; }
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
4957
if ${ac_cv_build+:} false; then :
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
4958
  $as_echo_n "(cached) " >&6
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
4959
else
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
4960
  ac_build_alias=$build_alias
4961
test "x$ac_build_alias" = x &&
4962
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4963
test "x$ac_build_alias" = x &&
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
4964
  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
4965
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
4966
  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
4967
4968
fi
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
4969
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
4970
$as_echo "$ac_cv_build" >&6; }
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
4971
case $ac_cv_build in
4972
*-*-*) ;;
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
4973
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
4974
esac
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
4975
build=$ac_cv_build
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
4976
ac_save_IFS=$IFS; IFS='-'
4977
set x $ac_cv_build
4978
shift
4979
build_cpu=$1
4980
build_vendor=$2
4981
shift; shift
4982
# Remember, the first character of IFS is used to create $*,
4983
# except with old shells:
4984
build_os=$*
4985
IFS=$ac_save_IFS
4986
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4987
4988
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
4989
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
4990
$as_echo_n "checking host system type... " >&6; }
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
4991
if ${ac_cv_host+:} false; then :
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
4992
  $as_echo_n "(cached) " >&6
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
4993
else
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
4994
  if test "x$host_alias" = x; then
4995
  ac_cv_host=$ac_cv_build
4996
else
4997
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
4998
    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
4999
fi
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
5000
5001
fi
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
5002
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
5003
$as_echo "$ac_cv_host" >&6; }
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
5004
case $ac_cv_host in
5005
*-*-*) ;;
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
5006
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
5007
esac
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
5008
host=$ac_cv_host
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
5009
ac_save_IFS=$IFS; IFS='-'
5010
set x $ac_cv_host
5011
shift
5012
host_cpu=$1
5013
host_vendor=$2
5014
shift; shift
5015
# Remember, the first character of IFS is used to create $*,
5016
# except with old shells:
5017
host_os=$*
5018
IFS=$ac_save_IFS
5019
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
5020
5021
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
5022
# Backslashify metacharacters that are still active within
5023
# double-quoted strings.
5024
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5025
5026
# Same as above, but do not quote variable references.
5027
double_quote_subst='s/\(["`\\]\)/\\\1/g'
5028
5029
# Sed substitution to delay expansion of an escaped shell variable in a
5030
# double_quote_subst'ed string.
5031
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5032
5033
# Sed substitution to delay expansion of an escaped single quote.
5034
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5035
5036
# Sed substitution to avoid accidental globbing in evaled expressions
5037
no_glob_subst='s/\*/\\\*/g'
5038
5039
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5040
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5041
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5042
5043
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5044
$as_echo_n "checking how to print strings... " >&6; }
5045
# Test print first, because it will be a builtin if present.
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
5046
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
5047
   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5048
  ECHO='print -r --'
5049
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5050
  ECHO='printf %s\n'
5051
else
5052
  # Use this function as a fallback that always works.
5053
  func_fallback_echo ()
5054
  {
5055
    eval 'cat <<_LTECHO_EOF
5056
$1
5057
_LTECHO_EOF'
5058
  }
5059
  ECHO='func_fallback_echo'
5060
fi
5061
5062
# func_echo_all arg...
5063
# Invoke $ECHO with all args, space-separated.
5064
func_echo_all ()
5065
{
5066
    $ECHO ""
5067
}
5068
5069
case "$ECHO" in
5070
  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5071
$as_echo "printf" >&6; } ;;
5072
  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5073
$as_echo "print -r" >&6; } ;;
5074
  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5075
$as_echo "cat" >&6; } ;;
5076
esac
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
5091
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
5092
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
5093
if ${ac_cv_path_SED+:} false; then :
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
5094
  $as_echo_n "(cached) " >&6
5095
else
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
5096
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5097
     for ac_i in 1 2 3 4 5 6 7; do
5098
       ac_script="$ac_script$as_nl$ac_script"
5099
     done
5100
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
5101
     { ac_script=; unset ac_script;}
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
5102
     if test -z "$SED"; then
5103
  ac_path_SED_found=false
5104
  # Loop through the user's path and test for each of PROGNAME-LIST
5105
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
5106
for as_dir in $PATH
5107
do
5108
  IFS=$as_save_IFS
5109
  test -z "$as_dir" && as_dir=.
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
5110
    for ac_prog in sed gsed; do
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
5111
    for ac_exec_ext in '' $ac_executable_extensions; do
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
5112
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5113
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5114
# Check for GNU ac_path_SED and select it if it is found.
5115
  # Check for GNU $ac_path_SED
5116
case `"$ac_path_SED" --version 2>&1` in
5117
*GNU*)
5118
  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5119
*)
5120
  ac_count=0
5121
  $as_echo_n 0123456789 >"conftest.in"
5122
  while :
5123
  do
5124
    cat "conftest.in" "conftest.in" >"conftest.tmp"
5125
    mv "conftest.tmp" "conftest.in"
5126
    cp "conftest.in" "conftest.nl"
5127
    $as_echo '' >> "conftest.nl"
5128
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5129
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
5130
    as_fn_arith $ac_count + 1 && ac_count=$as_val
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
5131
    if test $ac_count -gt ${ac_path_SED_max-0}; then
5132
      # Best one so far, save it but keep looking for a better one
5133
      ac_cv_path_SED="$ac_path_SED"
5134
      ac_path_SED_max=$ac_count
5135
    fi
5136
    # 10*(2^10) chars as input seems more than enough
5137
    test $ac_count -gt 10 && break
5138
  done
5139
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5140
esac
5141
5142
      $ac_path_SED_found && break 3
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
5143
    done
5144
  done
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
5145
  done
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
5146
IFS=$as_save_IFS
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
5147
  if test -z "$ac_cv_path_SED"; then
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
5148
    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
5149
  fi
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
5150
else
5151
  ac_cv_path_SED=$SED
5152
fi
5153
5154
fi
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
5155
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
5156
$as_echo "$ac_cv_path_SED" >&6; }
5157
 SED="$ac_cv_path_SED"
5158
  rm -f conftest.sed
5159
5160
test -z "$SED" && SED=sed
5161
Xsed="$SED -e 1s/^X//"
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
5172
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
5173
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
5174
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
5175
if ${ac_cv_path_GREP+:} false; then :
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
5176
  $as_echo_n "(cached) " >&6
5177
else
5178
  if test -z "$GREP"; then
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
5179
  ac_path_GREP_found=false
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
5180
  # Loop through the user's path and test for each of PROGNAME-LIST
5181
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
5182
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5183
do
5184
  IFS=$as_save_IFS
5185
  test -z "$as_dir" && as_dir=.
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
5186
    for ac_prog in grep ggrep; do
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
5187
    for ac_exec_ext in '' $ac_executable_extensions; do
5188
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5189
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5190
# Check for GNU ac_path_GREP and select it if it is found.
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
5191
  # Check for GNU $ac_path_GREP
5192
case `"$ac_path_GREP" --version 2>&1` in
5193
*GNU*)
5194
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5195
*)
5196
  ac_count=0
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
5197
  $as_echo_n 0123456789 >"conftest.in"
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
5198
  while :
5199
  do
5200
    cat "conftest.in" "conftest.in" >"conftest.tmp"
5201
    mv "conftest.tmp" "conftest.in"
5202
    cp "conftest.in" "conftest.nl"
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
5203
    $as_echo 'GREP' >> "conftest.nl"
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
5204
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5205
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
5206
    as_fn_arith $ac_count + 1 && ac_count=$as_val
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
5207
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
5208
      # Best one so far, save it but keep looking for a better one
5209
      ac_cv_path_GREP="$ac_path_GREP"
5210
      ac_path_GREP_max=$ac_count
5211
    fi
5212
    # 10*(2^10) chars as input seems more than enough
5213
    test $ac_count -gt 10 && break
5214
  done
5215
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5216
esac
5217
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
5218
      $ac_path_GREP_found && break 3
5219
    done
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
5220
  done
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
5221
  done
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
5222
IFS=$as_save_IFS
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
5223
  if test -z "$ac_cv_path_GREP"; then
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
5224
    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
5225
  fi
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
5226
else
5227
  ac_cv_path_GREP=$GREP
5228
fi
5229
5230
fi
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
5231
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
5232
$as_echo "$ac_cv_path_GREP" >&6; }
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
5233
 GREP="$ac_cv_path_GREP"
5234
5235
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
5236
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
5237
$as_echo_n "checking for egrep... " >&6; }
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
5238
if ${ac_cv_path_EGREP+:} false; then :
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
5239
  $as_echo_n "(cached) " >&6
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
5240
else
5241
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5242
   then ac_cv_path_EGREP="$GREP -E"
5243
   else
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
5244
     if test -z "$EGREP"; then
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
5245
  ac_path_EGREP_found=false
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
5246
  # Loop through the user's path and test for each of PROGNAME-LIST
5247
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
5248
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5249
do
5250
  IFS=$as_save_IFS
5251
  test -z "$as_dir" && as_dir=.
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
5252
    for ac_prog in egrep; do
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
5253
    for ac_exec_ext in '' $ac_executable_extensions; do
5254
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5255
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5256
# Check for GNU ac_path_EGREP and select it if it is found.
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
5257
  # Check for GNU $ac_path_EGREP
5258
case `"$ac_path_EGREP" --version 2>&1` in
5259
*GNU*)
5260
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5261
*)
5262
  ac_count=0
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
5263
  $as_echo_n 0123456789 >"conftest.in"
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
5264
  while :
5265
  do
5266
    cat "conftest.in" "conftest.in" >"conftest.tmp"
5267
    mv "conftest.tmp" "conftest.in"
5268
    cp "conftest.in" "conftest.nl"
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
5269
    $as_echo 'EGREP' >> "conftest.nl"
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
5270
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5271
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
5272
    as_fn_arith $ac_count + 1 && ac_count=$as_val
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
5273
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5274
      # Best one so far, save it but keep looking for a better one
5275
      ac_cv_path_EGREP="$ac_path_EGREP"
5276
      ac_path_EGREP_max=$ac_count
5277
    fi
5278
    # 10*(2^10) chars as input seems more than enough
5279
    test $ac_count -gt 10 && break
5280
  done
5281
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5282
esac
5283
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
5284
      $ac_path_EGREP_found && break 3
5285
    done
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
5286
  done
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
5287
  done
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
5288
IFS=$as_save_IFS
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
5289
  if test -z "$ac_cv_path_EGREP"; then
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
5290
    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
5291
  fi
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
5292
else
5293
  ac_cv_path_EGREP=$EGREP
5294
fi
5295
5296
   fi
5297
fi
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
5298
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
5299
$as_echo "$ac_cv_path_EGREP" >&6; }
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
5300
 EGREP="$ac_cv_path_EGREP"
5301
5302
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
5303
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
5304
$as_echo_n "checking for fgrep... " >&6; }
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
5305
if ${ac_cv_path_FGREP+:} false; then :
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
5306
  $as_echo_n "(cached) " >&6
5307
else
5308
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5309
   then ac_cv_path_FGREP="$GREP -F"
5310
   else
5311
     if test -z "$FGREP"; then
5312
  ac_path_FGREP_found=false
5313
  # Loop through the user's path and test for each of PROGNAME-LIST
5314
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5315
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5316
do
5317
  IFS=$as_save_IFS
5318
  test -z "$as_dir" && as_dir=.
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
5319
    for ac_prog in fgrep; do
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
5320
    for ac_exec_ext in '' $ac_executable_extensions; do
5321
      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5322
      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5323
# Check for GNU ac_path_FGREP and select it if it is found.
5324
  # Check for GNU $ac_path_FGREP
5325
case `"$ac_path_FGREP" --version 2>&1` in
5326
*GNU*)
5327
  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5328
*)
5329
  ac_count=0
5330
  $as_echo_n 0123456789 >"conftest.in"
5331
  while :
5332
  do
5333
    cat "conftest.in" "conftest.in" >"conftest.tmp"
5334
    mv "conftest.tmp" "conftest.in"
5335
    cp "conftest.in" "conftest.nl"
5336
    $as_echo 'FGREP' >> "conftest.nl"
5337
    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5338
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
5339
    as_fn_arith $ac_count + 1 && ac_count=$as_val
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
5340
    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5341
      # Best one so far, save it but keep looking for a better one
5342
      ac_cv_path_FGREP="$ac_path_FGREP"
5343
      ac_path_FGREP_max=$ac_count
5344
    fi
5345
    # 10*(2^10) chars as input seems more than enough
5346
    test $ac_count -gt 10 && break
5347
  done
5348
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5349
esac
5350
5351
      $ac_path_FGREP_found && break 3
5352
    done
5353
  done
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
5354
  done
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
5355
IFS=$as_save_IFS
5356
  if test -z "$ac_cv_path_FGREP"; then
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
5357
    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
5358
  fi
5359
else
5360
  ac_cv_path_FGREP=$FGREP
5361
fi
5362
5363
   fi
5364
fi
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
5365
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
5366
$as_echo "$ac_cv_path_FGREP" >&6; }
5367
 FGREP="$ac_cv_path_FGREP"
5368
5369
5370
test -z "$GREP" && GREP=grep
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
5389
5390
# Check whether --with-gnu-ld was given.
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
5391
if test "${with_gnu_ld+set}" = set; then :
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
5392
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
1 by Joe Drew
Import upstream version 0.9.6
5393
else
5394
  with_gnu_ld=no
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
5395
fi
5396
1 by Joe Drew
Import upstream version 0.9.6
5397
ac_prog=ld
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
5398
if test "$GCC" = yes; then
1 by Joe Drew
Import upstream version 0.9.6
5399
  # Check if gcc -print-prog-name=ld gives a path.
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
5400
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
5401
$as_echo_n "checking for ld used by $CC... " >&6; }
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
5402
  case $host in
5403
  *-*-mingw*)
5404
    # gcc leaves a trailing carriage return which upsets mingw
5405
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5406
  *)
5407
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5408
  esac
5409
  case $ac_prog in
1 by Joe Drew
Import upstream version 0.9.6
5410
    # Accept absolute paths.
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
5411
    [\\/]* | ?:[\\/]*)
1 by Joe Drew
Import upstream version 0.9.6
5412
      re_direlt='/[^/][^/]*/\.\./'
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
5413
      # Canonicalize the pathname of ld
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
5414
      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5415
      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5416
	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
1 by Joe Drew
Import upstream version 0.9.6
5417
      done
5418
      test -z "$LD" && LD="$ac_prog"
5419
      ;;
5420
  "")
5421
    # If it fails, then pretend we aren't using GCC.
5422
    ac_prog=ld
5423
    ;;
5424
  *)
5425
    # If it is relative, then search for the first ld in PATH.
5426
    with_gnu_ld=unknown
5427
    ;;
5428
  esac
5429
elif test "$with_gnu_ld" = yes; then
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
5430
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
5431
$as_echo_n "checking for GNU ld... " >&6; }
1 by Joe Drew
Import upstream version 0.9.6
5432
else
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
5433
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
5434
$as_echo_n "checking for non-GNU ld... " >&6; }
1 by Joe Drew
Import upstream version 0.9.6
5435
fi
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
5436
if ${lt_cv_path_LD+:} false; then :
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
5437
  $as_echo_n "(cached) " >&6
1 by Joe Drew
Import upstream version 0.9.6
5438
else
5439
  if test -z "$LD"; then
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
5440
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
1 by Joe Drew
Import upstream version 0.9.6
5441
  for ac_dir in $PATH; do
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
5442
    IFS="$lt_save_ifs"
1 by Joe Drew
Import upstream version 0.9.6
5443
    test -z "$ac_dir" && ac_dir=.
5444
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
5445
      lt_cv_path_LD="$ac_dir/$ac_prog"
1 by Joe Drew
Import upstream version 0.9.6
5446
      # Check to see if the program is GNU ld.  I'd rather use --version,
1.2.1 by Daniel Holbach
Import upstream version 2.14.3
5447
      # but apparently some variants of GNU ld only accept -v.
1 by Joe Drew
Import upstream version 0.9.6
5448
      # Break only if it was the GNU/non-GNU ld that we prefer.
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
5449
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5450
      *GNU* | *'with BFD'*)
1 by Joe Drew
Import upstream version 0.9.6
5451
	test "$with_gnu_ld" != no && break
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
5452
	;;
5453
      *)
1 by Joe Drew
Import upstream version 0.9.6
5454
	test "$with_gnu_ld" != yes && break
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
5455
	;;
5456
      esac
1 by Joe Drew
Import upstream version 0.9.6
5457
    fi
5458
  done
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
5459
  IFS="$lt_save_ifs"
1 by Joe Drew
Import upstream version 0.9.6
5460
else
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
5461
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
1 by Joe Drew
Import upstream version 0.9.6
5462
fi
5463
fi
5464
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
5465
LD="$lt_cv_path_LD"
1 by Joe Drew
Import upstream version 0.9.6
5466
if test -n "$LD"; then
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
5467
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
5468
$as_echo "$LD" >&6; }
1 by Joe Drew
Import upstream version 0.9.6
5469
else
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
5470
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
5471
$as_echo "no" >&6; }
1 by Joe Drew
Import upstream version 0.9.6
5472
fi
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
5473
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
5474
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
5475
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
5476
if ${lt_cv_prog_gnu_ld+:} false; then :
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
5477
  $as_echo_n "(cached) " >&6
1 by Joe Drew
Import upstream version 0.9.6
5478
else
1.2.1 by Daniel Holbach
Import upstream version 2.14.3
5479
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
5480
case `$LD -v 2>&1 </dev/null` in
5481
*GNU* | *'with BFD'*)
5482
  lt_cv_prog_gnu_ld=yes
5483
  ;;
5484
*)
5485
  lt_cv_prog_gnu_ld=no
5486
  ;;
5487
esac
5488
fi
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
5489
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
5490
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
5491
with_gnu_ld=$lt_cv_prog_gnu_ld
5492
5493
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
5494
5495
5496
5497
5498
5499
5500
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
5501
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
5502
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
5503
if ${lt_cv_path_NM+:} false; then :
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
5504
  $as_echo_n "(cached) " >&6
1 by Joe Drew
Import upstream version 0.9.6
5505
else
5506
  if test -n "$NM"; then
5507
  # Let the user override the test.
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
5508
  lt_cv_path_NM="$NM"
1 by Joe Drew
Import upstream version 0.9.6
5509
else
1.2.1 by Daniel Holbach
Import upstream version 2.14.3
5510
  lt_nm_to_check="${ac_tool_prefix}nm"
5511
  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5512
    lt_nm_to_check="$lt_nm_to_check nm"
5513
  fi
5514
  for lt_tmp_nm in $lt_nm_to_check; do
5515
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5516
    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5517
      IFS="$lt_save_ifs"
5518
      test -z "$ac_dir" && ac_dir=.
5519
      tmp_nm="$ac_dir/$lt_tmp_nm"
5520
      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5521
	# Check to see if the nm accepts a BSD-compat flag.
5522
	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
5523
	#   nm: unknown option "B" ignored
5524
	# Tru64's nm complains that /dev/null is an invalid object file
5525
	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5526
	*/dev/null* | *'Invalid file or object type'*)
5527
	  lt_cv_path_NM="$tmp_nm -B"
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
5528
	  break
5529
	  ;;
5530
	*)
1.2.1 by Daniel Holbach
Import upstream version 2.14.3
5531
	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5532
	  */dev/null*)
5533
	    lt_cv_path_NM="$tmp_nm -p"
5534
	    break
5535
	    ;;
5536
	  *)
5537
	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5538
	    continue # so that we can try to find one that supports BSD flags
5539
	    ;;
5540
	  esac
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
5541
	  ;;
5542
	esac
1.2.1 by Daniel Holbach
Import upstream version 2.14.3
5543
      fi
5544
    done
5545
    IFS="$lt_save_ifs"
1 by Joe Drew
Import upstream version 0.9.6
5546
  done
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
5547
  : ${lt_cv_path_NM=no}
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
5548
fi
5549
fi
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
5550
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
5551
$as_echo "$lt_cv_path_NM" >&6; }
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
5552
if test "$lt_cv_path_NM" != "no"; then
5553
  NM="$lt_cv_path_NM"
5554
else
5555
  # Didn't find any BSD compatible name lister, look for dumpbin.
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
5556
  if test -n "$DUMPBIN"; then :
5557
    # Let the user override the test.
5558
  else
5559
    if test -n "$ac_tool_prefix"; then
5560
  for ac_prog in dumpbin "link -dump"
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
5561
  do
5562
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5563
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
5564
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
5565
$as_echo_n "checking for $ac_word... " >&6; }
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
5566
if ${ac_cv_prog_DUMPBIN+:} false; then :
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
5567
  $as_echo_n "(cached) " >&6
5568
else
5569
  if test -n "$DUMPBIN"; then
5570
  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5571
else
5572
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5573
for as_dir in $PATH
5574
do
5575
  IFS=$as_save_IFS
5576
  test -z "$as_dir" && as_dir=.
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
5577
    for ac_exec_ext in '' $ac_executable_extensions; do
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
5578
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5579
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
5580
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
5581
    break 2
5582
  fi
5583
done
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
5584
  done
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
5585
IFS=$as_save_IFS
5586
5587
fi
5588
fi
5589
DUMPBIN=$ac_cv_prog_DUMPBIN
5590
if test -n "$DUMPBIN"; then
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
5591
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
5592
$as_echo "$DUMPBIN" >&6; }
5593
else
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
5594
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
5595
$as_echo "no" >&6; }
5596
fi
5597
5598
5599
    test -n "$DUMPBIN" && break
5600
  done
5601
fi
5602
if test -z "$DUMPBIN"; then
5603
  ac_ct_DUMPBIN=$DUMPBIN
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
5604
  for ac_prog in dumpbin "link -dump"
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
5605
do
5606
  # Extract the first word of "$ac_prog", so it can be a program name with args.
5607
set dummy $ac_prog; ac_word=$2
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
5608
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
5609
$as_echo_n "checking for $ac_word... " >&6; }
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
5610
if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
5611
  $as_echo_n "(cached) " >&6
5612
else
5613
  if test -n "$ac_ct_DUMPBIN"; then
5614
  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5615
else
5616
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5617
for as_dir in $PATH
5618
do
5619
  IFS=$as_save_IFS
5620
  test -z "$as_dir" && as_dir=.
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
5621
    for ac_exec_ext in '' $ac_executable_extensions; do
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
5622
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5623
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
5624
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
5625
    break 2
5626
  fi
5627
done
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
5628
  done
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
5629
IFS=$as_save_IFS
5630
5631
fi
5632
fi
5633
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5634
if test -n "$ac_ct_DUMPBIN"; then
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
5635
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
5636
$as_echo "$ac_ct_DUMPBIN" >&6; }
5637
else
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
5638
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
5639
$as_echo "no" >&6; }
5640
fi
5641
5642
5643
  test -n "$ac_ct_DUMPBIN" && break
5644
done
5645
5646
  if test "x$ac_ct_DUMPBIN" = x; then
5647
    DUMPBIN=":"
5648
  else
5649
    case $cross_compiling:$ac_tool_warned in
5650
yes:)
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
5651
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
5652
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5653
ac_tool_warned=yes ;;
5654
esac
5655
    DUMPBIN=$ac_ct_DUMPBIN
5656
  fi
5657
fi
5658
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
5659
    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5660
    *COFF*)
5661
      DUMPBIN="$DUMPBIN -symbols"
5662
      ;;
5663
    *)
5664
      DUMPBIN=:
5665
      ;;
5666
    esac
5667
  fi
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
5668
5669
  if test "$DUMPBIN" != ":"; then
5670
    NM="$DUMPBIN"
5671
  fi
5672
fi
5673
test -z "$NM" && NM=nm
5674
5675
5676
5677
5678
5679
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
5680
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
5681
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
5682
if ${lt_cv_nm_interface+:} false; then :
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
5683
  $as_echo_n "(cached) " >&6
5684
else
5685
  lt_cv_nm_interface="BSD nm"
5686
  echo "int some_variable = 0;" > conftest.$ac_ext
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
5687
  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
5688
  (eval "$ac_compile" 2>conftest.err)
5689
  cat conftest.err >&5
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
5690
  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
5691
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5692
  cat conftest.err >&5
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
5693
  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
5694
  cat conftest.out >&5
5695
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5696
    lt_cv_nm_interface="MS dumpbin"
5697
  fi
5698
  rm -f conftest*
5699
fi
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
5700
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
5701
$as_echo "$lt_cv_nm_interface" >&6; }
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
5702
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
5703
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
5704
$as_echo_n "checking whether ln -s works... " >&6; }
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
5705
LN_S=$as_ln_s
5706
if test "$LN_S" = "ln -s"; then
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
5707
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
5708
$as_echo "yes" >&6; }
5709
else
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
5710
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
5711
$as_echo "no, using $LN_S" >&6; }
5712
fi
5713
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
5714
# find the maximum length of command line arguments
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
5715
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
5716
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
5717
if ${lt_cv_sys_max_cmd_len+:} false; then :
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
5718
  $as_echo_n "(cached) " >&6
5719
else
5720
    i=0
5721
  teststring="ABCD"
5722
5723
  case $build_os in
5724
  msdosdjgpp*)
5725
    # On DJGPP, this test can blow up pretty badly due to problems in libc
5726
    # (any single argument exceeding 2000 bytes causes a buffer overrun
5727
    # during glob expansion).  Even if it were fixed, the result of this
5728
    # check would be larger than it should be.
5729
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5730
    ;;
5731
5732
  gnu*)
5733
    # Under GNU Hurd, this test is not required because there is
5734
    # no limit to the length of command line arguments.
5735
    # Libtool will interpret -1 as no limit whatsoever
5736
    lt_cv_sys_max_cmd_len=-1;
5737
    ;;
5738
5739
  cygwin* | mingw* | cegcc*)
5740
    # On Win9x/ME, this test blows up -- it succeeds, but takes
5741
    # about 5 minutes as the teststring grows exponentially.
5742
    # Worse, since 9x/ME are not pre-emptively multitasking,
5743
    # you end up with a "frozen" computer, even though with patience
5744
    # the test eventually succeeds (with a max line length of 256k).
5745
    # Instead, let's just punt: use the minimum linelength reported by
5746
    # all of the supported platforms: 8192 (on NT/2K/XP).
5747
    lt_cv_sys_max_cmd_len=8192;
5748
    ;;
5749
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
5750
  mint*)
5751
    # On MiNT this can take a long time and run out of memory.
5752
    lt_cv_sys_max_cmd_len=8192;
5753
    ;;
5754
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
5755
  amigaos*)
5756
    # On AmigaOS with pdksh, this test takes hours, literally.
5757
    # So we just punt and use a minimum line length of 8192.
5758
    lt_cv_sys_max_cmd_len=8192;
5759
    ;;
5760
5761
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5762
    # This has been around since 386BSD, at least.  Likely further.
5763
    if test -x /sbin/sysctl; then
5764
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5765
    elif test -x /usr/sbin/sysctl; then
5766
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5767
    else
5768
      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
5769
    fi
5770
    # And add a safety zone
5771
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5772
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5773
    ;;
5774
5775
  interix*)
5776
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
5777
    lt_cv_sys_max_cmd_len=196608
5778
    ;;
5779
5780
  osf*)
5781
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5782
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5783
    # nice to cause kernel panics so lets avoid the loop below.
5784
    # First set a reasonable default.
5785
    lt_cv_sys_max_cmd_len=16384
5786
    #
5787
    if test -x /sbin/sysconfig; then
5788
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5789
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
5790
      esac
5791
    fi
5792
    ;;
5793
  sco3.2v5*)
5794
    lt_cv_sys_max_cmd_len=102400
5795
    ;;
5796
  sysv5* | sco5v6* | sysv4.2uw2*)
5797
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5798
    if test -n "$kargmax"; then
5799
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
5800
    else
5801
      lt_cv_sys_max_cmd_len=32768
5802
    fi
5803
    ;;
5804
  *)
5805
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5806
    if test -n "$lt_cv_sys_max_cmd_len"; then
5807
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5808
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5809
    else
5810
      # Make teststring a little bigger before we do anything with it.
5811
      # a 1K string should be a reasonable start.
5812
      for i in 1 2 3 4 5 6 7 8 ; do
5813
        teststring=$teststring$teststring
5814
      done
5815
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5816
      # If test is not a shell built-in, we'll probably end up computing a
5817
      # maximum length that is only half of the actual maximum length, but
5818
      # we can't tell.
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
5819
      while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5820
	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
5821
	      test $i != 17 # 1/2 MB should be enough
5822
      do
5823
        i=`expr $i + 1`
5824
        teststring=$teststring$teststring
5825
      done
5826
      # Only check the string length outside the loop.
5827
      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5828
      teststring=
5829
      # Add a significant safety factor because C++ compilers can tack on
5830
      # massive amounts of additional arguments before passing them to the
5831
      # linker.  It appears as though 1/2 is a usable value.
5832
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5833
    fi
5834
    ;;
5835
  esac
5836
5837
fi
5838
5839
if test -n $lt_cv_sys_max_cmd_len ; then
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
5840
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
5841
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5842
else
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
5843
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
5844
$as_echo "none" >&6; }
5845
fi
5846
max_cmd_len=$lt_cv_sys_max_cmd_len
5847
5848
5849
5850
5851
5852
5853
: ${CP="cp -f"}
5854
: ${MV="mv -f"}
5855
: ${RM="rm -f"}
5856
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
5857
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
5858
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5859
# Try some XSI features
5860
xsi_shell=no
5861
( _lt_dummy="a/b/c"
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
5862
  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5863
      = c,a/b,b/c, \
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
5864
    && eval 'test $(( 1 + 1 )) -eq 2 \
5865
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5866
  && xsi_shell=yes
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
5867
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
5868
$as_echo "$xsi_shell" >&6; }
5869
5870
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
5871
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
5872
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5873
lt_shell_append=no
5874
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5875
    >/dev/null 2>&1 \
5876
  && lt_shell_append=yes
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
5877
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
5878
$as_echo "$lt_shell_append" >&6; }
5879
5880
5881
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5882
  lt_unset=unset
5883
else
5884
  lt_unset=false
5885
fi
5886
5887
5888
5889
5890
5891
# test EBCDIC or ASCII
5892
case `echo X|tr X '\101'` in
5893
 A) # ASCII based system
5894
    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5895
  lt_SP2NL='tr \040 \012'
5896
  lt_NL2SP='tr \015\012 \040\040'
5897
  ;;
5898
 *) # EBCDIC based system
5899
  lt_SP2NL='tr \100 \n'
5900
  lt_NL2SP='tr \r\n \100\100'
5901
  ;;
5902
esac
5903
5904
5905
5906
5907
5908
5909
5910
5911
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
5912
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5913
$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5914
if ${lt_cv_to_host_file_cmd+:} false; then :
5915
  $as_echo_n "(cached) " >&6
5916
else
5917
  case $host in
5918
  *-*-mingw* )
5919
    case $build in
5920
      *-*-mingw* ) # actually msys
5921
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5922
        ;;
5923
      *-*-cygwin* )
5924
        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5925
        ;;
5926
      * ) # otherwise, assume *nix
5927
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5928
        ;;
5929
    esac
5930
    ;;
5931
  *-*-cygwin* )
5932
    case $build in
5933
      *-*-mingw* ) # actually msys
5934
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5935
        ;;
5936
      *-*-cygwin* )
5937
        lt_cv_to_host_file_cmd=func_convert_file_noop
5938
        ;;
5939
      * ) # otherwise, assume *nix
5940
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5941
        ;;
5942
    esac
5943
    ;;
5944
  * ) # unhandled hosts (and "normal" native builds)
5945
    lt_cv_to_host_file_cmd=func_convert_file_noop
5946
    ;;
5947
esac
5948
5949
fi
5950
5951
to_host_file_cmd=$lt_cv_to_host_file_cmd
5952
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5953
$as_echo "$lt_cv_to_host_file_cmd" >&6; }
5954
5955
5956
5957
5958
5959
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5960
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5961
if ${lt_cv_to_tool_file_cmd+:} false; then :
5962
  $as_echo_n "(cached) " >&6
5963
else
5964
  #assume ordinary cross tools, or native build.
5965
lt_cv_to_tool_file_cmd=func_convert_file_noop
5966
case $host in
5967
  *-*-mingw* )
5968
    case $build in
5969
      *-*-mingw* ) # actually msys
5970
        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5971
        ;;
5972
    esac
5973
    ;;
5974
esac
5975
5976
fi
5977
5978
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5979
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5980
$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5981
5982
5983
5984
5985
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
5986
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
5987
$as_echo_n "checking for $LD option to reload object files... " >&6; }
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
5988
if ${lt_cv_ld_reload_flag+:} false; then :
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
5989
  $as_echo_n "(cached) " >&6
5990
else
5991
  lt_cv_ld_reload_flag='-r'
5992
fi
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
5993
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
5994
$as_echo "$lt_cv_ld_reload_flag" >&6; }
5995
reload_flag=$lt_cv_ld_reload_flag
5996
case $reload_flag in
5997
"" | " "*) ;;
5998
*) reload_flag=" $reload_flag" ;;
5999
esac
6000
reload_cmds='$LD$reload_flag -o $output$reload_objs'
6001
case $host_os in
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
6002
  cygwin* | mingw* | pw32* | cegcc*)
6003
    if test "$GCC" != yes; then
6004
      reload_cmds=false
6005
    fi
6006
    ;;
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
6007
  darwin*)
6008
    if test "$GCC" = yes; then
6009
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6010
    else
6011
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
6012
    fi
6013
    ;;
6014
esac
6015
6016
6017
6018
6019
6020
6021
6022
6023
6024
if test -n "$ac_tool_prefix"; then
6025
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6026
set dummy ${ac_tool_prefix}objdump; ac_word=$2
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
6027
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
6028
$as_echo_n "checking for $ac_word... " >&6; }
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
6029
if ${ac_cv_prog_OBJDUMP+:} false; then :
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
6030
  $as_echo_n "(cached) " >&6
6031
else
6032
  if test -n "$OBJDUMP"; then
6033
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6034
else
6035
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6036
for as_dir in $PATH
6037
do
6038
  IFS=$as_save_IFS
6039
  test -z "$as_dir" && as_dir=.
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
6040
    for ac_exec_ext in '' $ac_executable_extensions; do
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
6041
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6042
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
6043
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
6044
    break 2
6045
  fi
6046
done
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
6047
  done
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
6048
IFS=$as_save_IFS
6049
6050
fi
6051
fi
6052
OBJDUMP=$ac_cv_prog_OBJDUMP
6053
if test -n "$OBJDUMP"; then
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
6054
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
6055
$as_echo "$OBJDUMP" >&6; }
6056
else
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
6057
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
6058
$as_echo "no" >&6; }
6059
fi
6060
6061
6062
fi
6063
if test -z "$ac_cv_prog_OBJDUMP"; then
6064
  ac_ct_OBJDUMP=$OBJDUMP
6065
  # Extract the first word of "objdump", so it can be a program name with args.
6066
set dummy objdump; ac_word=$2
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
6067
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
6068
$as_echo_n "checking for $ac_word... " >&6; }
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
6069
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
6070
  $as_echo_n "(cached) " >&6
6071
else
6072
  if test -n "$ac_ct_OBJDUMP"; then
6073
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6074
else
6075
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6076
for as_dir in $PATH
6077
do
6078
  IFS=$as_save_IFS
6079
  test -z "$as_dir" && as_dir=.
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
6080
    for ac_exec_ext in '' $ac_executable_extensions; do
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
6081
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6082
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
6083
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
6084
    break 2
6085
  fi
6086
done
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
6087
  done
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
6088
IFS=$as_save_IFS
6089
6090
fi
6091
fi
6092
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6093
if test -n "$ac_ct_OBJDUMP"; then
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
6094
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
6095
$as_echo "$ac_ct_OBJDUMP" >&6; }
6096
else
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
6097
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
6098
$as_echo "no" >&6; }
6099
fi
6100
6101
  if test "x$ac_ct_OBJDUMP" = x; then
6102
    OBJDUMP="false"
6103
  else
6104
    case $cross_compiling:$ac_tool_warned in
6105
yes:)
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
6106
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
6107
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6108
ac_tool_warned=yes ;;
6109
esac
6110
    OBJDUMP=$ac_ct_OBJDUMP
6111
  fi
6112
else
6113
  OBJDUMP="$ac_cv_prog_OBJDUMP"
6114
fi
6115
6116
test -z "$OBJDUMP" && OBJDUMP=objdump
6117
6118
6119
6120
6121
6122
6123
6124
6125
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
6126
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
6127
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
6128
if ${lt_cv_deplibs_check_method+:} false; then :
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
6129
  $as_echo_n "(cached) " >&6
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
6130
else
6131
  lt_cv_file_magic_cmd='$MAGIC_CMD'
6132
lt_cv_file_magic_test_file=
6133
lt_cv_deplibs_check_method='unknown'
6134
# Need to set the preceding variable on all platforms that support
6135
# interlibrary dependencies.
6136
# 'none' -- dependencies not supported.
6137
# `unknown' -- same as none, but documents that we really don't know.
6138
# 'pass_all' -- all dependencies passed with no checks.
6139
# 'test_compile' -- check by making test program.
6140
# 'file_magic [[regex]]' -- check by looking for files in library path
6141
# which responds to the $file_magic_cmd with a given extended regex.
6142
# If you have `file' or equivalent on your system and you're not sure
6143
# whether `pass_all' will *always* work, you probably want this one.
6144
6145
case $host_os in
1.1.45 by Sebastien Bacher
Import upstream version 2.23.3
6146
aix[4-9]*)
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
6147
  lt_cv_deplibs_check_method=pass_all
6148
  ;;
6149
6150
beos*)
6151
  lt_cv_deplibs_check_method=pass_all
6152
  ;;
6153
6154
bsdi[45]*)
6155
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6156
  lt_cv_file_magic_cmd='/usr/bin/file -L'
6157
  lt_cv_file_magic_test_file=/shlib/libc.so
6158
  ;;
6159
6160
cygwin*)
6161
  # func_win32_libid is a shell function defined in ltmain.sh
6162
  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6163
  lt_cv_file_magic_cmd='func_win32_libid'
6164
  ;;
6165
6166
mingw* | pw32*)
6167
  # Base MSYS/MinGW do not provide the 'file' command needed by
1.1.45 by Sebastien Bacher
Import upstream version 2.23.3
6168
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
6169
  # unless we find 'file', for example because we are cross-compiling.
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
6170
  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6171
  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
1.1.45 by Sebastien Bacher
Import upstream version 2.23.3
6172
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6173
    lt_cv_file_magic_cmd='func_win32_libid'
6174
  else
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
6175
    # Keep this pattern in sync with the one in func_win32_libid.
6176
    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
1.1.45 by Sebastien Bacher
Import upstream version 2.23.3
6177
    lt_cv_file_magic_cmd='$OBJDUMP -f'
6178
  fi
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
6179
  ;;
6180
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
6181
cegcc*)
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
6182
  # use the weaker test based on 'objdump'. See mingw*.
6183
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6184
  lt_cv_file_magic_cmd='$OBJDUMP -f'
6185
  ;;
6186
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
6187
darwin* | rhapsody*)
6188
  lt_cv_deplibs_check_method=pass_all
6189
  ;;
6190
1.1.45 by Sebastien Bacher
Import upstream version 2.23.3
6191
freebsd* | dragonfly*)
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
6192
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
6193
    case $host_cpu in
6194
    i*86 )
6195
      # Not sure whether the presence of OpenBSD here was a mistake.
6196
      # Let's accept both of them until this is cleared up.
6197
      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6198
      lt_cv_file_magic_cmd=/usr/bin/file
6199
      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6200
      ;;
6201
    esac
6202
  else
6203
    lt_cv_deplibs_check_method=pass_all
6204
  fi
6205
  ;;
6206
6207
gnu*)
6208
  lt_cv_deplibs_check_method=pass_all
6209
  ;;
6210
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
6211
haiku*)
6212
  lt_cv_deplibs_check_method=pass_all
6213
  ;;
6214
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
6215
hpux10.20* | hpux11*)
6216
  lt_cv_file_magic_cmd=/usr/bin/file
1.2.1 by Daniel Holbach
Import upstream version 2.14.3
6217
  case $host_cpu in
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
6218
  ia64*)
6219
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6220
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6221
    ;;
6222
  hppa*64*)
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
6223
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
6224
    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6225
    ;;
6226
  *)
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
6227
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
6228
    lt_cv_file_magic_test_file=/usr/lib/libc.sl
6229
    ;;
6230
  esac
6231
  ;;
6232
1.1.45 by Sebastien Bacher
Import upstream version 2.23.3
6233
interix[3-9]*)
1.2.1 by Daniel Holbach
Import upstream version 2.14.3
6234
  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6235
  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6236
  ;;
6237
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
6238
irix5* | irix6* | nonstopux*)
6239
  case $LD in
6240
  *-32|*"-32 ") libmagic=32-bit;;
6241
  *-n32|*"-n32 ") libmagic=N32;;
6242
  *-64|*"-64 ") libmagic=64-bit;;
6243
  *) libmagic=never-match;;
6244
  esac
6245
  lt_cv_deplibs_check_method=pass_all
6246
  ;;
6247
6248
# This must be Linux ELF.
2.5.1 by Luca Bruno
* New upstream release.
6249
linux* | k*bsd*-gnu | kopensolaris*-gnu)
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
6250
  lt_cv_deplibs_check_method=pass_all
6251
  ;;
6252
1.5.2 by Emilio Pozuelo Monfort
Import upstream version 2.28.3
6253
netbsd*)
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
6254
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
6255
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6256
  else
6257
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6258
  fi
6259
  ;;
6260
6261
newos6*)
6262
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6263
  lt_cv_file_magic_cmd=/usr/bin/file
6264
  lt_cv_file_magic_test_file=/usr/lib/libnls.so
6265
  ;;
6266
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
6267
*nto* | *qnx*)
6268
  lt_cv_deplibs_check_method=pass_all
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
6269
  ;;
6270
6271
openbsd*)
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
6272
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
6273
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6274
  else
6275
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6276
  fi
6277
  ;;
6278
6279
osf3* | osf4* | osf5*)
6280
  lt_cv_deplibs_check_method=pass_all
6281
  ;;
6282
1.1.45 by Sebastien Bacher
Import upstream version 2.23.3
6283
rdos*)
6284
  lt_cv_deplibs_check_method=pass_all
6285
  ;;
6286
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
6287
solaris*)
6288
  lt_cv_deplibs_check_method=pass_all
6289
  ;;
6290
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
6291
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6292
  lt_cv_deplibs_check_method=pass_all
6293
  ;;
6294
1.2.1 by Daniel Holbach
Import upstream version 2.14.3
6295
sysv4 | sysv4.3*)
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
6296
  case $host_vendor in
6297
  motorola)
6298
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
6299
    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6300
    ;;
6301
  ncr)
6302
    lt_cv_deplibs_check_method=pass_all
6303
    ;;
6304
  sequent)
6305
    lt_cv_file_magic_cmd='/bin/file'
6306
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6307
    ;;
6308
  sni)
6309
    lt_cv_file_magic_cmd='/bin/file'
6310
    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6311
    lt_cv_file_magic_test_file=/lib/libc.so
6312
    ;;
6313
  siemens)
6314
    lt_cv_deplibs_check_method=pass_all
6315
    ;;
1.2.1 by Daniel Holbach
Import upstream version 2.14.3
6316
  pc)
6317
    lt_cv_deplibs_check_method=pass_all
6318
    ;;
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
6319
  esac
6320
  ;;
6321
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
6322
tpf*)
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
6323
  lt_cv_deplibs_check_method=pass_all
6324
  ;;
1 by Joe Drew
Import upstream version 0.9.6
6325
esac
6326
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
6327
fi
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
6328
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
6329
$as_echo "$lt_cv_deplibs_check_method" >&6; }
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
6330
6331
file_magic_glob=
6332
want_nocaseglob=no
6333
if test "$build" = "$host"; then
6334
  case $host_os in
6335
  mingw* | pw32*)
6336
    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6337
      want_nocaseglob=yes
6338
    else
6339
      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6340
    fi
6341
    ;;
6342
  esac
6343
fi
6344
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
6345
file_magic_cmd=$lt_cv_file_magic_cmd
6346
deplibs_check_method=$lt_cv_deplibs_check_method
6347
test -z "$deplibs_check_method" && deplibs_check_method=unknown
6348
6349
6350
6351
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
6352
6353
6354
6355
6356
6357
6358
6359
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
6360
6361
6362
6363
6364
6365
6366
6367
6368
6369
6370
if test -n "$ac_tool_prefix"; then
6371
  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6372
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6373
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6374
$as_echo_n "checking for $ac_word... " >&6; }
6375
if ${ac_cv_prog_DLLTOOL+:} false; then :
6376
  $as_echo_n "(cached) " >&6
6377
else
6378
  if test -n "$DLLTOOL"; then
6379
  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6380
else
6381
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6382
for as_dir in $PATH
6383
do
6384
  IFS=$as_save_IFS
6385
  test -z "$as_dir" && as_dir=.
6386
    for ac_exec_ext in '' $ac_executable_extensions; do
6387
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6388
    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6389
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6390
    break 2
6391
  fi
6392
done
6393
  done
6394
IFS=$as_save_IFS
6395
6396
fi
6397
fi
6398
DLLTOOL=$ac_cv_prog_DLLTOOL
6399
if test -n "$DLLTOOL"; then
6400
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6401
$as_echo "$DLLTOOL" >&6; }
6402
else
6403
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6404
$as_echo "no" >&6; }
6405
fi
6406
6407
6408
fi
6409
if test -z "$ac_cv_prog_DLLTOOL"; then
6410
  ac_ct_DLLTOOL=$DLLTOOL
6411
  # Extract the first word of "dlltool", so it can be a program name with args.
6412
set dummy dlltool; ac_word=$2
6413
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6414
$as_echo_n "checking for $ac_word... " >&6; }
6415
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6416
  $as_echo_n "(cached) " >&6
6417
else
6418
  if test -n "$ac_ct_DLLTOOL"; then
6419
  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6420
else
6421
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6422
for as_dir in $PATH
6423
do
6424
  IFS=$as_save_IFS
6425
  test -z "$as_dir" && as_dir=.
6426
    for ac_exec_ext in '' $ac_executable_extensions; do
6427
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6428
    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6429
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6430
    break 2
6431
  fi
6432
done
6433
  done
6434
IFS=$as_save_IFS
6435
6436
fi
6437
fi
6438
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6439
if test -n "$ac_ct_DLLTOOL"; then
6440
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6441
$as_echo "$ac_ct_DLLTOOL" >&6; }
6442
else
6443
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6444
$as_echo "no" >&6; }
6445
fi
6446
6447
  if test "x$ac_ct_DLLTOOL" = x; then
6448
    DLLTOOL="false"
6449
  else
6450
    case $cross_compiling:$ac_tool_warned in
6451
yes:)
6452
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6453
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6454
ac_tool_warned=yes ;;
6455
esac
6456
    DLLTOOL=$ac_ct_DLLTOOL
6457
  fi
6458
else
6459
  DLLTOOL="$ac_cv_prog_DLLTOOL"
6460
fi
6461
6462
test -z "$DLLTOOL" && DLLTOOL=dlltool
6463
6464
6465
6466
6467
6468
6469
6470
6471
6472
6473
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6474
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6475
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6476
  $as_echo_n "(cached) " >&6
6477
else
6478
  lt_cv_sharedlib_from_linklib_cmd='unknown'
6479
6480
case $host_os in
6481
cygwin* | mingw* | pw32* | cegcc*)
6482
  # two different shell functions defined in ltmain.sh
6483
  # decide which to use based on capabilities of $DLLTOOL
6484
  case `$DLLTOOL --help 2>&1` in
6485
  *--identify-strict*)
6486
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6487
    ;;
6488
  *)
6489
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6490
    ;;
6491
  esac
6492
  ;;
6493
*)
6494
  # fallback: assume linklib IS sharedlib
6495
  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6496
  ;;
6497
esac
6498
6499
fi
6500
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6501
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6502
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6503
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6504
6505
6506
6507
6508
6509
6510
6511
if test -n "$ac_tool_prefix"; then
6512
  for ac_prog in ar
6513
  do
6514
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6515
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6516
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6517
$as_echo_n "checking for $ac_word... " >&6; }
6518
if ${ac_cv_prog_AR+:} false; then :
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
6519
  $as_echo_n "(cached) " >&6
6520
else
6521
  if test -n "$AR"; then
6522
  ac_cv_prog_AR="$AR" # Let the user override the test.
6523
else
6524
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6525
for as_dir in $PATH
6526
do
6527
  IFS=$as_save_IFS
6528
  test -z "$as_dir" && as_dir=.
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
6529
    for ac_exec_ext in '' $ac_executable_extensions; do
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
6530
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
6531
    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
6532
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
6533
    break 2
6534
  fi
6535
done
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
6536
  done
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
6537
IFS=$as_save_IFS
6538
6539
fi
6540
fi
6541
AR=$ac_cv_prog_AR
6542
if test -n "$AR"; then
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
6543
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
6544
$as_echo "$AR" >&6; }
6545
else
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
6546
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
6547
$as_echo "no" >&6; }
6548
fi
6549
6550
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
6551
    test -n "$AR" && break
6552
  done
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
6553
fi
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
6554
if test -z "$AR"; then
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
6555
  ac_ct_AR=$AR
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
6556
  for ac_prog in ar
6557
do
6558
  # Extract the first word of "$ac_prog", so it can be a program name with args.
6559
set dummy $ac_prog; ac_word=$2
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
6560
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
6561
$as_echo_n "checking for $ac_word... " >&6; }
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
6562
if ${ac_cv_prog_ac_ct_AR+:} false; then :
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
6563
  $as_echo_n "(cached) " >&6
6564
else
6565
  if test -n "$ac_ct_AR"; then
6566
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6567
else
6568
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6569
for as_dir in $PATH
6570
do
6571
  IFS=$as_save_IFS
6572
  test -z "$as_dir" && as_dir=.
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
6573
    for ac_exec_ext in '' $ac_executable_extensions; do
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
6574
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
6575
    ac_cv_prog_ac_ct_AR="$ac_prog"
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
6576
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
6577
    break 2
6578
  fi
6579
done
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
6580
  done
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
6581
IFS=$as_save_IFS
6582
6583
fi
6584
fi
6585
ac_ct_AR=$ac_cv_prog_ac_ct_AR
6586
if test -n "$ac_ct_AR"; then
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
6587
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
6588
$as_echo "$ac_ct_AR" >&6; }
6589
else
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
6590
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
6591
$as_echo "no" >&6; }
6592
fi
6593
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
6594
6595
  test -n "$ac_ct_AR" && break
6596
done
6597
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
6598
  if test "x$ac_ct_AR" = x; then
6599
    AR="false"
6600
  else
6601
    case $cross_compiling:$ac_tool_warned in
6602
yes:)
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
6603
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
6604
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6605
ac_tool_warned=yes ;;
6606
esac
6607
    AR=$ac_ct_AR
6608
  fi
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
6609
fi
6610
6611
: ${AR=ar}
6612
: ${AR_FLAGS=cru}
6613
6614
6615
6616
6617
6618
6619
6620
6621
6622
6623
6624
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6625
$as_echo_n "checking for archiver @FILE support... " >&6; }
6626
if ${lt_cv_ar_at_file+:} false; then :
6627
  $as_echo_n "(cached) " >&6
6628
else
6629
  lt_cv_ar_at_file=no
6630
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6631
/* end confdefs.h.  */
6632
6633
int
6634
main ()
6635
{
6636
6637
  ;
6638
  return 0;
6639
}
6640
_ACEOF
6641
if ac_fn_c_try_compile "$LINENO"; then :
6642
  echo conftest.$ac_objext > conftest.lst
6643
      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6644
      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6645
  (eval $lt_ar_try) 2>&5
6646
  ac_status=$?
6647
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6648
  test $ac_status = 0; }
6649
      if test "$ac_status" -eq 0; then
6650
	# Ensure the archiver fails upon bogus file names.
6651
	rm -f conftest.$ac_objext libconftest.a
6652
	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6653
  (eval $lt_ar_try) 2>&5
6654
  ac_status=$?
6655
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6656
  test $ac_status = 0; }
6657
	if test "$ac_status" -ne 0; then
6658
          lt_cv_ar_at_file=@
6659
        fi
6660
      fi
6661
      rm -f conftest.* libconftest.a
6662
6663
fi
6664
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6665
6666
fi
6667
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6668
$as_echo "$lt_cv_ar_at_file" >&6; }
6669
6670
if test "x$lt_cv_ar_at_file" = xno; then
6671
  archiver_list_spec=
6672
else
6673
  archiver_list_spec=$lt_cv_ar_at_file
6674
fi
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
6675
6676
6677
6678
6679
6680
6681
6682
if test -n "$ac_tool_prefix"; then
6683
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6684
set dummy ${ac_tool_prefix}strip; ac_word=$2
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
6685
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
6686
$as_echo_n "checking for $ac_word... " >&6; }
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
6687
if ${ac_cv_prog_STRIP+:} false; then :
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
6688
  $as_echo_n "(cached) " >&6
6689
else
6690
  if test -n "$STRIP"; then
6691
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6692
else
6693
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6694
for as_dir in $PATH
6695
do
6696
  IFS=$as_save_IFS
6697
  test -z "$as_dir" && as_dir=.
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
6698
    for ac_exec_ext in '' $ac_executable_extensions; do
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
6699
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6700
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
6701
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
6702
    break 2
6703
  fi
6704
done
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
6705
  done
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
6706
IFS=$as_save_IFS
6707
6708
fi
6709
fi
6710
STRIP=$ac_cv_prog_STRIP
6711
if test -n "$STRIP"; then
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
6712
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
6713
$as_echo "$STRIP" >&6; }
6714
else
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
6715
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
6716
$as_echo "no" >&6; }
6717
fi
6718
6719
6720
fi
6721
if test -z "$ac_cv_prog_STRIP"; then
6722
  ac_ct_STRIP=$STRIP
6723
  # Extract the first word of "strip", so it can be a program name with args.
6724
set dummy strip; ac_word=$2
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
6725
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
6726
$as_echo_n "checking for $ac_word... " >&6; }
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
6727
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
6728
  $as_echo_n "(cached) " >&6
6729
else
6730
  if test -n "$ac_ct_STRIP"; then
6731
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6732
else
6733
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6734
for as_dir in $PATH
6735
do
6736
  IFS=$as_save_IFS
6737
  test -z "$as_dir" && as_dir=.
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
6738
    for ac_exec_ext in '' $ac_executable_extensions; do
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
6739
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6740
    ac_cv_prog_ac_ct_STRIP="strip"
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
6741
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
6742
    break 2
6743
  fi
6744
done
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
6745
  done
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
6746
IFS=$as_save_IFS
6747
6748
fi
6749
fi
6750
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6751
if test -n "$ac_ct_STRIP"; then
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
6752
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
6753
$as_echo "$ac_ct_STRIP" >&6; }
6754
else
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
6755
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
6756
$as_echo "no" >&6; }
6757
fi
6758
6759
  if test "x$ac_ct_STRIP" = x; then
6760
    STRIP=":"
6761
  else
6762
    case $cross_compiling:$ac_tool_warned in
6763
yes:)
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
6764
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
6765
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6766
ac_tool_warned=yes ;;
6767
esac
6768
    STRIP=$ac_ct_STRIP
6769
  fi
6770
else
6771
  STRIP="$ac_cv_prog_STRIP"
6772
fi
6773
6774
test -z "$STRIP" && STRIP=:
6775
6776
6777
6778
6779
6780
6781
if test -n "$ac_tool_prefix"; then
6782
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6783
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
6784
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
6785
$as_echo_n "checking for $ac_word... " >&6; }
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
6786
if ${ac_cv_prog_RANLIB+:} false; then :
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
6787
  $as_echo_n "(cached) " >&6
6788
else
6789
  if test -n "$RANLIB"; then
6790
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6791
else
6792
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6793
for as_dir in $PATH
6794
do
6795
  IFS=$as_save_IFS
6796
  test -z "$as_dir" && as_dir=.
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
6797
    for ac_exec_ext in '' $ac_executable_extensions; do
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
6798
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6799
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
6800
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
6801
    break 2
6802
  fi
6803
done
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
6804
  done
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
6805
IFS=$as_save_IFS
6806
6807
fi
6808
fi
6809
RANLIB=$ac_cv_prog_RANLIB
6810
if test -n "$RANLIB"; then
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
6811
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
6812
$as_echo "$RANLIB" >&6; }
6813
else
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
6814
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
6815
$as_echo "no" >&6; }
6816
fi
6817
6818
6819
fi
6820
if test -z "$ac_cv_prog_RANLIB"; then
6821
  ac_ct_RANLIB=$RANLIB
6822
  # Extract the first word of "ranlib", so it can be a program name with args.
6823
set dummy ranlib; ac_word=$2
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
6824
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
6825
$as_echo_n "checking for $ac_word... " >&6; }
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
6826
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
6827
  $as_echo_n "(cached) " >&6
6828
else
6829
  if test -n "$ac_ct_RANLIB"; then
6830
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6831
else
6832
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6833
for as_dir in $PATH
6834
do
6835
  IFS=$as_save_IFS
6836
  test -z "$as_dir" && as_dir=.
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
6837
    for ac_exec_ext in '' $ac_executable_extensions; do
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
6838
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6839
    ac_cv_prog_ac_ct_RANLIB="ranlib"
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
6840
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
6841
    break 2
6842
  fi
6843
done
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
6844
  done
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
6845
IFS=$as_save_IFS
6846
6847
fi
6848
fi
6849
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6850
if test -n "$ac_ct_RANLIB"; then
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
6851
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
6852
$as_echo "$ac_ct_RANLIB" >&6; }
6853
else
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
6854
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
6855
$as_echo "no" >&6; }
6856
fi
6857
6858
  if test "x$ac_ct_RANLIB" = x; then
6859
    RANLIB=":"
6860
  else
6861
    case $cross_compiling:$ac_tool_warned in
6862
yes:)
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
6863
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
6864
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6865
ac_tool_warned=yes ;;
6866
esac
6867
    RANLIB=$ac_ct_RANLIB
6868
  fi
6869
else
6870
  RANLIB="$ac_cv_prog_RANLIB"
6871
fi
6872
6873
test -z "$RANLIB" && RANLIB=:
6874
6875
6876
6877
6878
6879
6880
# Determine commands to create old-style static archives.
6881
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6882
old_postinstall_cmds='chmod 644 $oldlib'
6883
old_postuninstall_cmds=
6884
6885
if test -n "$RANLIB"; then
6886
  case $host_os in
6887
  openbsd*)
6888
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6889
    ;;
6890
  *)
6891
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6892
    ;;
6893
  esac
6894
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6895
fi
6896
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
6897
case $host_os in
6898
  darwin*)
6899
    lock_old_archive_extraction=yes ;;
6900
  *)
6901
    lock_old_archive_extraction=no ;;
6902
esac
6903
6904
6905
6906
6907
6908
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
6909
6910
6911
6912
6913
6914
6915
6916
6917
6918
6919
6920
6921
6922
6923
6924
6925
6926
6927
6928
6929
6930
6931
6932
6933
6934
6935
6936
6937
6938
6939
6940
6941
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
6942
# If no C compiler was specified, use CC.
6943
LTCC=${LTCC-"$CC"}
6944
1.2.1 by Daniel Holbach
Import upstream version 2.14.3
6945
# If no C compiler flags were specified, use CFLAGS.
6946
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6947
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
6948
# Allow CC to be a program name with arguments.
6949
compiler=$CC
1 by Joe Drew
Import upstream version 0.9.6
6950
1.1.45 by Sebastien Bacher
Import upstream version 2.23.3
6951
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
6952
# Check for command to grab the raw symbol name followed by C symbol from nm.
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
6953
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
6954
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
6955
if ${lt_cv_sys_global_symbol_pipe+:} false; then :
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
6956
  $as_echo_n "(cached) " >&6
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
6957
else
6958
6959
# These are sane defaults that work on at least a few old systems.
6960
# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6961
6962
# Character class describing NM global symbol codes.
6963
symcode='[BCDEGRST]'
6964
6965
# Regexp to match symbols that can be accessed directly from C.
6966
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6967
6968
# Define system-specific variables.
6969
case $host_os in
6970
aix*)
6971
  symcode='[BCDT]'
6972
  ;;
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
6973
cygwin* | mingw* | pw32* | cegcc*)
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
6974
  symcode='[ABCDGISTW]'
6975
  ;;
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
6976
hpux*)
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
6977
  if test "$host_cpu" = ia64; then
6978
    symcode='[ABCDEGRST]'
6979
  fi
6980
  ;;
6981
irix* | nonstopux*)
6982
  symcode='[BCDEGRST]'
6983
  ;;
6984
osf*)
6985
  symcode='[BCDEGQRST]'
6986
  ;;
1.2.1 by Daniel Holbach
Import upstream version 2.14.3
6987
solaris*)
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
6988
  symcode='[BDRT]'
6989
  ;;
1.2.1 by Daniel Holbach
Import upstream version 2.14.3
6990
sco3.2v5*)
6991
  symcode='[DT]'
6992
  ;;
6993
sysv4.2uw2*)
6994
  symcode='[DT]'
6995
  ;;
6996
sysv5* | sco5v6* | unixware* | OpenUNIX*)
6997
  symcode='[ABDT]'
6998
  ;;
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
6999
sysv4)
7000
  symcode='[DFNSTU]'
7001
  ;;
7002
esac
7003
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
7004
# If we're using GNU nm, then use its standard symbol codes.
7005
case `$NM -V 2>&1` in
7006
*GNU* | *'with BFD'*)
7007
  symcode='[ABCDGIRSTW]' ;;
7008
esac
7009
7010
# Transform an extracted symbol line into a proper C declaration.
7011
# Some systems (esp. on ia64) link data and code symbols differently,
7012
# so use this general approach.
7013
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7014
7015
# Transform an extracted symbol line into symbol name and symbol address
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
7016
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
7017
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
7018
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
7019
# Handle CRLF in mingw tool chain
7020
opt_cr=
7021
case $build_os in
7022
mingw*)
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
7023
  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
7024
  ;;
7025
esac
7026
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
7027
# Try without a prefix underscore, then with it.
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
7028
for ac_symprfx in "" "_"; do
7029
7030
  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7031
  symxfrm="\\1 $ac_symprfx\\2 \\2"
7032
7033
  # Write the raw and C identifiers.
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
7034
  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7035
    # Fake it for dumpbin and say T for any non-static function
7036
    # and D for any global variable.
7037
    # Also find C++ and __fastcall symbols from MSVC++,
7038
    # which start with @ or ?.
7039
    lt_cv_sys_global_symbol_pipe="$AWK '"\
7040
"     {last_section=section; section=\$ 3};"\
7041
"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7042
"     \$ 0!~/External *\|/{next};"\
7043
"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7044
"     {if(hide[section]) next};"\
7045
"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7046
"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7047
"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
7048
"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7049
"     ' prfx=^$ac_symprfx"
7050
  else
7051
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7052
  fi
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
7053
  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
7054
7055
  # Check to see that the pipe works correctly.
7056
  pipe_works=no
7057
7058
  rm -f conftest*
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
7059
  cat > conftest.$ac_ext <<_LT_EOF
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
7060
#ifdef __cplusplus
7061
extern "C" {
7062
#endif
7063
char nm_test_var;
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
7064
void nm_test_func(void);
7065
void nm_test_func(void){}
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
7066
#ifdef __cplusplus
7067
}
7068
#endif
7069
int main(){nm_test_var='a';nm_test_func();return(0);}
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
7070
_LT_EOF
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
7071
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
7072
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
7073
  (eval $ac_compile) 2>&5
7074
  ac_status=$?
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
7075
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7076
  test $ac_status = 0; }; then
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
7077
    # Now try to grab the symbols.
7078
    nlist=conftest.nm
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
7079
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7080
  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
7081
  ac_status=$?
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
7082
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7083
  test $ac_status = 0; } && test -s "$nlist"; then
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
7084
      # Try sorting and uniquifying the output.
7085
      if sort "$nlist" | uniq > "$nlist"T; then
7086
	mv -f "$nlist"T "$nlist"
7087
      else
7088
	rm -f "$nlist"T
7089
      fi
7090
7091
      # Make sure that we snagged all the symbols we need.
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
7092
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7093
	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7094
	  cat <<_LT_EOF > conftest.$ac_ext
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
7095
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
7096
#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
7097
/* DATA imports from DLLs on WIN32 con't be const, because runtime
7098
   relocations are performed -- see ld's documentation on pseudo-relocs.  */
7099
# define LT_DLSYM_CONST
7100
#elif defined(__osf__)
7101
/* This system does not cope well with relocations in const data.  */
7102
# define LT_DLSYM_CONST
7103
#else
7104
# define LT_DLSYM_CONST const
7105
#endif
7106
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
7107
#ifdef __cplusplus
7108
extern "C" {
7109
#endif
7110
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
7111
_LT_EOF
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
7112
	  # Now generate the symbol file.
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
7113
	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7114
7115
	  cat <<_LT_EOF >> conftest.$ac_ext
7116
7117
/* The mapping between symbol names and symbols.  */
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
7118
LT_DLSYM_CONST struct {
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
7119
  const char *name;
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
7120
  void       *address;
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
7121
}
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
7122
lt__PROGRAM__LTX_preloaded_symbols[] =
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
7123
{
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
7124
  { "@PROGRAM@", (void *) 0 },
7125
_LT_EOF
7126
	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7127
	  cat <<\_LT_EOF >> conftest.$ac_ext
7128
  {0, (void *) 0}
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
7129
};
7130
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
7131
/* This works around a problem in FreeBSD linker */
7132
#ifdef FREEBSD_WORKAROUND
7133
static const void *lt_preloaded_setup() {
7134
  return lt__PROGRAM__LTX_preloaded_symbols;
7135
}
7136
#endif
7137
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
7138
#ifdef __cplusplus
7139
}
7140
#endif
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
7141
_LT_EOF
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
7142
	  # Now try linking the two files.
7143
	  mv conftest.$ac_objext conftstm.$ac_objext
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
7144
	  lt_globsym_save_LIBS=$LIBS
7145
	  lt_globsym_save_CFLAGS=$CFLAGS
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
7146
	  LIBS="conftstm.$ac_objext"
7147
	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
7148
	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
7149
  (eval $ac_link) 2>&5
7150
  ac_status=$?
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
7151
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7152
  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
7153
	    pipe_works=yes
7154
	  fi
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
7155
	  LIBS=$lt_globsym_save_LIBS
7156
	  CFLAGS=$lt_globsym_save_CFLAGS
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
7157
	else
7158
	  echo "cannot find nm_test_func in $nlist" >&5
7159
	fi
7160
      else
7161
	echo "cannot find nm_test_var in $nlist" >&5
7162
      fi
7163
    else
7164
      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7165
    fi
7166
  else
7167
    echo "$progname: failed program was:" >&5
7168
    cat conftest.$ac_ext >&5
7169
  fi
1.1.45 by Sebastien Bacher
Import upstream version 2.23.3
7170
  rm -rf conftest* conftst*
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
7171
7172
  # Do not use the global_symbol_pipe unless it works.
7173
  if test "$pipe_works" = yes; then
7174
    break
7175
  else
7176
    lt_cv_sys_global_symbol_pipe=
7177
  fi
7178
done
7179
7180
fi
7181
7182
if test -z "$lt_cv_sys_global_symbol_pipe"; then
7183
  lt_cv_sys_global_symbol_to_cdecl=
7184
fi
7185
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
7186
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
7187
$as_echo "failed" >&6; }
7188
else
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
7189
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
7190
$as_echo "ok" >&6; }
7191
fi
7192
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
7193
# Response file support.
7194
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7195
  nm_file_list_spec='@'
7196
elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7197
  nm_file_list_spec='@'
7198
fi
7199
7200
7201
7202
7203
7204
7205
7206
7207
7208
7209
7210
7211
7212
7213
7214
7215
7216
7217
7218
7219
7220
7221
7222
7223
7224
7225
7226
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7227
$as_echo_n "checking for sysroot... " >&6; }
7228
7229
# Check whether --with-sysroot was given.
7230
if test "${with_sysroot+set}" = set; then :
7231
  withval=$with_sysroot;
7232
else
7233
  with_sysroot=no
7234
fi
7235
7236
7237
lt_sysroot=
7238
case ${with_sysroot} in #(
7239
 yes)
7240
   if test "$GCC" = yes; then
7241
     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7242
   fi
7243
   ;; #(
7244
 /*)
7245
   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7246
   ;; #(
7247
 no|'')
7248
   ;; #(
7249
 *)
7250
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
7251
$as_echo "${with_sysroot}" >&6; }
7252
   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7253
   ;;
7254
esac
7255
7256
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7257
$as_echo "${lt_sysroot:-no}" >&6; }
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
7258
7259
7260
7261
7262
7263
# Check whether --enable-libtool-lock was given.
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
7264
if test "${enable_libtool_lock+set}" = set; then :
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
7265
  enableval=$enable_libtool_lock;
7266
fi
7267
7268
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7269
7270
# Some flags need to be propagated to the compiler or linker for good
7271
# libtool support.
7272
case $host in
7273
ia64-*-hpux*)
7274
  # Find out which ABI we are using.
7275
  echo 'int i;' > conftest.$ac_ext
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
7276
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
7277
  (eval $ac_compile) 2>&5
7278
  ac_status=$?
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
7279
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7280
  test $ac_status = 0; }; then
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
7281
    case `/usr/bin/file conftest.$ac_objext` in
7282
      *ELF-32*)
7283
	HPUX_IA64_MODE="32"
7284
	;;
7285
      *ELF-64*)
7286
	HPUX_IA64_MODE="64"
7287
	;;
7288
    esac
7289
  fi
7290
  rm -rf conftest*
7291
  ;;
7292
*-*-irix6*)
7293
  # Find out which ABI we are using.
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
7294
  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
7295
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
7296
  (eval $ac_compile) 2>&5
7297
  ac_status=$?
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
7298
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7299
  test $ac_status = 0; }; then
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
7300
    if test "$lt_cv_prog_gnu_ld" = yes; then
7301
      case `/usr/bin/file conftest.$ac_objext` in
7302
	*32-bit*)
7303
	  LD="${LD-ld} -melf32bsmip"
7304
	  ;;
7305
	*N32*)
7306
	  LD="${LD-ld} -melf32bmipn32"
7307
	  ;;
7308
	*64-bit*)
7309
	  LD="${LD-ld} -melf64bmip"
7310
	;;
7311
      esac
7312
    else
7313
      case `/usr/bin/file conftest.$ac_objext` in
7314
	*32-bit*)
7315
	  LD="${LD-ld} -32"
7316
	  ;;
7317
	*N32*)
7318
	  LD="${LD-ld} -n32"
7319
	  ;;
7320
	*64-bit*)
7321
	  LD="${LD-ld} -64"
7322
	  ;;
7323
      esac
7324
    fi
7325
  fi
7326
  rm -rf conftest*
7327
  ;;
7328
7329
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7330
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7331
  # Find out which ABI we are using.
7332
  echo 'int i;' > conftest.$ac_ext
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
7333
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
7334
  (eval $ac_compile) 2>&5
7335
  ac_status=$?
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
7336
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7337
  test $ac_status = 0; }; then
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
7338
    case `/usr/bin/file conftest.o` in
7339
      *32-bit*)
7340
	case $host in
7341
	  x86_64-*kfreebsd*-gnu)
7342
	    LD="${LD-ld} -m elf_i386_fbsd"
7343
	    ;;
7344
	  x86_64-*linux*)
7345
	    LD="${LD-ld} -m elf_i386"
7346
	    ;;
7347
	  ppc64-*linux*|powerpc64-*linux*)
7348
	    LD="${LD-ld} -m elf32ppclinux"
7349
	    ;;
7350
	  s390x-*linux*)
7351
	    LD="${LD-ld} -m elf_s390"
7352
	    ;;
7353
	  sparc64-*linux*)
7354
	    LD="${LD-ld} -m elf32_sparc"
7355
	    ;;
7356
	esac
7357
	;;
7358
      *64-bit*)
7359
	case $host in
7360
	  x86_64-*kfreebsd*-gnu)
7361
	    LD="${LD-ld} -m elf_x86_64_fbsd"
7362
	    ;;
7363
	  x86_64-*linux*)
7364
	    LD="${LD-ld} -m elf_x86_64"
7365
	    ;;
7366
	  ppc*-*linux*|powerpc*-*linux*)
7367
	    LD="${LD-ld} -m elf64ppc"
7368
	    ;;
7369
	  s390*-*linux*|s390*-*tpf*)
7370
	    LD="${LD-ld} -m elf64_s390"
7371
	    ;;
7372
	  sparc*-*linux*)
7373
	    LD="${LD-ld} -m elf64_sparc"
7374
	    ;;
7375
	esac
7376
	;;
7377
    esac
7378
  fi
7379
  rm -rf conftest*
7380
  ;;
7381
7382
*-*-sco3.2v5*)
7383
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7384
  SAVE_CFLAGS="$CFLAGS"
7385
  CFLAGS="$CFLAGS -belf"
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
7386
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
7387
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
7388
if ${lt_cv_cc_needs_belf+:} false; then :
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
7389
  $as_echo_n "(cached) " >&6
7390
else
7391
  ac_ext=c
7392
ac_cpp='$CPP $CPPFLAGS'
7393
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7394
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7395
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7396
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
7397
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
7398
/* end confdefs.h.  */
7399
7400
int
7401
main ()
7402
{
7403
7404
  ;
7405
  return 0;
7406
}
7407
_ACEOF
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
7408
if ac_fn_c_try_link "$LINENO"; then :
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
7409
  lt_cv_cc_needs_belf=yes
7410
else
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
7411
  lt_cv_cc_needs_belf=no
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
7412
fi
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
7413
rm -f core conftest.err conftest.$ac_objext \
7414
    conftest$ac_exeext conftest.$ac_ext
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
7415
     ac_ext=c
7416
ac_cpp='$CPP $CPPFLAGS'
7417
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7418
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7419
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7420
7421
fi
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
7422
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
7423
$as_echo "$lt_cv_cc_needs_belf" >&6; }
7424
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7425
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7426
    CFLAGS="$SAVE_CFLAGS"
7427
  fi
7428
  ;;
7429
sparc*-*solaris*)
7430
  # Find out which ABI we are using.
7431
  echo 'int i;' > conftest.$ac_ext
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
7432
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
7433
  (eval $ac_compile) 2>&5
7434
  ac_status=$?
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
7435
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7436
  test $ac_status = 0; }; then
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
7437
    case `/usr/bin/file conftest.o` in
7438
    *64-bit*)
7439
      case $lt_cv_prog_gnu_ld in
7440
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
7441
      *)
7442
	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7443
	  LD="${LD-ld} -64"
7444
	fi
7445
	;;
7446
      esac
7447
      ;;
7448
    esac
7449
  fi
7450
  rm -rf conftest*
7451
  ;;
7452
esac
7453
7454
need_locks="$enable_libtool_lock"
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
7455
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
7456
if test -n "$ac_tool_prefix"; then
7457
  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7458
set dummy ${ac_tool_prefix}mt; ac_word=$2
7459
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7460
$as_echo_n "checking for $ac_word... " >&6; }
7461
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7462
  $as_echo_n "(cached) " >&6
7463
else
7464
  if test -n "$MANIFEST_TOOL"; then
7465
  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7466
else
7467
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7468
for as_dir in $PATH
7469
do
7470
  IFS=$as_save_IFS
7471
  test -z "$as_dir" && as_dir=.
7472
    for ac_exec_ext in '' $ac_executable_extensions; do
7473
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7474
    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7475
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7476
    break 2
7477
  fi
7478
done
7479
  done
7480
IFS=$as_save_IFS
7481
7482
fi
7483
fi
7484
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7485
if test -n "$MANIFEST_TOOL"; then
7486
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7487
$as_echo "$MANIFEST_TOOL" >&6; }
7488
else
7489
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7490
$as_echo "no" >&6; }
7491
fi
7492
7493
7494
fi
7495
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7496
  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7497
  # Extract the first word of "mt", so it can be a program name with args.
7498
set dummy mt; ac_word=$2
7499
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7500
$as_echo_n "checking for $ac_word... " >&6; }
7501
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7502
  $as_echo_n "(cached) " >&6
7503
else
7504
  if test -n "$ac_ct_MANIFEST_TOOL"; then
7505
  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7506
else
7507
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7508
for as_dir in $PATH
7509
do
7510
  IFS=$as_save_IFS
7511
  test -z "$as_dir" && as_dir=.
7512
    for ac_exec_ext in '' $ac_executable_extensions; do
7513
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7514
    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7515
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7516
    break 2
7517
  fi
7518
done
7519
  done
7520
IFS=$as_save_IFS
7521
7522
fi
7523
fi
7524
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7525
if test -n "$ac_ct_MANIFEST_TOOL"; then
7526
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7527
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7528
else
7529
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7530
$as_echo "no" >&6; }
7531
fi
7532
7533
  if test "x$ac_ct_MANIFEST_TOOL" = x; then
7534
    MANIFEST_TOOL=":"
7535
  else
7536
    case $cross_compiling:$ac_tool_warned in
7537
yes:)
7538
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7539
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7540
ac_tool_warned=yes ;;
7541
esac
7542
    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7543
  fi
7544
else
7545
  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7546
fi
7547
7548
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7549
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7550
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7551
if ${lt_cv_path_mainfest_tool+:} false; then :
7552
  $as_echo_n "(cached) " >&6
7553
else
7554
  lt_cv_path_mainfest_tool=no
7555
  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7556
  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7557
  cat conftest.err >&5
7558
  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7559
    lt_cv_path_mainfest_tool=yes
7560
  fi
7561
  rm -f conftest*
7562
fi
7563
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7564
$as_echo "$lt_cv_path_mainfest_tool" >&6; }
7565
if test "x$lt_cv_path_mainfest_tool" != xyes; then
7566
  MANIFEST_TOOL=:
7567
fi
7568
7569
7570
7571
7572
1.1.45 by Sebastien Bacher
Import upstream version 2.23.3
7573
7574
  case $host_os in
7575
    rhapsody* | darwin*)
7576
    if test -n "$ac_tool_prefix"; then
7577
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7578
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
7579
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
7580
$as_echo_n "checking for $ac_word... " >&6; }
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
7581
if ${ac_cv_prog_DSYMUTIL+:} false; then :
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
7582
  $as_echo_n "(cached) " >&6
1.1.45 by Sebastien Bacher
Import upstream version 2.23.3
7583
else
7584
  if test -n "$DSYMUTIL"; then
7585
  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7586
else
7587
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7588
for as_dir in $PATH
7589
do
7590
  IFS=$as_save_IFS
7591
  test -z "$as_dir" && as_dir=.
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
7592
    for ac_exec_ext in '' $ac_executable_extensions; do
1.1.45 by Sebastien Bacher
Import upstream version 2.23.3
7593
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7594
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
7595
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1.45 by Sebastien Bacher
Import upstream version 2.23.3
7596
    break 2
7597
  fi
7598
done
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
7599
  done
1.1.45 by Sebastien Bacher
Import upstream version 2.23.3
7600
IFS=$as_save_IFS
7601
7602
fi
7603
fi
7604
DSYMUTIL=$ac_cv_prog_DSYMUTIL
7605
if test -n "$DSYMUTIL"; then
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
7606
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
7607
$as_echo "$DSYMUTIL" >&6; }
1.1.45 by Sebastien Bacher
Import upstream version 2.23.3
7608
else
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
7609
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
7610
$as_echo "no" >&6; }
1.1.45 by Sebastien Bacher
Import upstream version 2.23.3
7611
fi
7612
7613
7614
fi
7615
if test -z "$ac_cv_prog_DSYMUTIL"; then
7616
  ac_ct_DSYMUTIL=$DSYMUTIL
7617
  # Extract the first word of "dsymutil", so it can be a program name with args.
7618
set dummy dsymutil; ac_word=$2
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
7619
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
7620
$as_echo_n "checking for $ac_word... " >&6; }
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
7621
if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
7622
  $as_echo_n "(cached) " >&6
1.1.45 by Sebastien Bacher
Import upstream version 2.23.3
7623
else
7624
  if test -n "$ac_ct_DSYMUTIL"; then
7625
  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7626
else
7627
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7628
for as_dir in $PATH
7629
do
7630
  IFS=$as_save_IFS
7631
  test -z "$as_dir" && as_dir=.
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
7632
    for ac_exec_ext in '' $ac_executable_extensions; do
1.1.45 by Sebastien Bacher
Import upstream version 2.23.3
7633
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7634
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
7635
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1.45 by Sebastien Bacher
Import upstream version 2.23.3
7636
    break 2
7637
  fi
7638
done
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
7639
  done
1.1.45 by Sebastien Bacher
Import upstream version 2.23.3
7640
IFS=$as_save_IFS
7641
7642
fi
7643
fi
7644
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7645
if test -n "$ac_ct_DSYMUTIL"; then
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
7646
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
7647
$as_echo "$ac_ct_DSYMUTIL" >&6; }
1.1.45 by Sebastien Bacher
Import upstream version 2.23.3
7648
else
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
7649
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
7650
$as_echo "no" >&6; }
1.1.45 by Sebastien Bacher
Import upstream version 2.23.3
7651
fi
7652
7653
  if test "x$ac_ct_DSYMUTIL" = x; then
7654
    DSYMUTIL=":"
7655
  else
7656
    case $cross_compiling:$ac_tool_warned in
7657
yes:)
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
7658
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
7659
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1.1.45 by Sebastien Bacher
Import upstream version 2.23.3
7660
ac_tool_warned=yes ;;
7661
esac
7662
    DSYMUTIL=$ac_ct_DSYMUTIL
7663
  fi
7664
else
7665
  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7666
fi
7667
7668
    if test -n "$ac_tool_prefix"; then
7669
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7670
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
7671
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
7672
$as_echo_n "checking for $ac_word... " >&6; }
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
7673
if ${ac_cv_prog_NMEDIT+:} false; then :
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
7674
  $as_echo_n "(cached) " >&6
1.1.45 by Sebastien Bacher
Import upstream version 2.23.3
7675
else
7676
  if test -n "$NMEDIT"; then
7677
  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7678
else
7679
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7680
for as_dir in $PATH
7681
do
7682
  IFS=$as_save_IFS
7683
  test -z "$as_dir" && as_dir=.
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
7684
    for ac_exec_ext in '' $ac_executable_extensions; do
1.1.45 by Sebastien Bacher
Import upstream version 2.23.3
7685
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7686
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
7687
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1.45 by Sebastien Bacher
Import upstream version 2.23.3
7688
    break 2
7689
  fi
7690
done
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
7691
  done
1.1.45 by Sebastien Bacher
Import upstream version 2.23.3
7692
IFS=$as_save_IFS
7693
7694
fi
7695
fi
7696
NMEDIT=$ac_cv_prog_NMEDIT
7697
if test -n "$NMEDIT"; then
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
7698
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
7699
$as_echo "$NMEDIT" >&6; }
1.1.45 by Sebastien Bacher
Import upstream version 2.23.3
7700
else
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
7701
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
7702
$as_echo "no" >&6; }
1.1.45 by Sebastien Bacher
Import upstream version 2.23.3
7703
fi
7704
7705
7706
fi
7707
if test -z "$ac_cv_prog_NMEDIT"; then
7708
  ac_ct_NMEDIT=$NMEDIT
7709
  # Extract the first word of "nmedit", so it can be a program name with args.
7710
set dummy nmedit; ac_word=$2
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
7711
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
7712
$as_echo_n "checking for $ac_word... " >&6; }
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
7713
if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
7714
  $as_echo_n "(cached) " >&6
1.1.45 by Sebastien Bacher
Import upstream version 2.23.3
7715
else
7716
  if test -n "$ac_ct_NMEDIT"; then
7717
  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7718
else
7719
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7720
for as_dir in $PATH
7721
do
7722
  IFS=$as_save_IFS
7723
  test -z "$as_dir" && as_dir=.
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
7724
    for ac_exec_ext in '' $ac_executable_extensions; do
1.1.45 by Sebastien Bacher
Import upstream version 2.23.3
7725
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7726
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
7727
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1.45 by Sebastien Bacher
Import upstream version 2.23.3
7728
    break 2
7729
  fi
7730
done
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
7731
  done
1.1.45 by Sebastien Bacher
Import upstream version 2.23.3
7732
IFS=$as_save_IFS
7733
7734
fi
7735
fi
7736
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7737
if test -n "$ac_ct_NMEDIT"; then
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
7738
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
7739
$as_echo "$ac_ct_NMEDIT" >&6; }
1.1.45 by Sebastien Bacher
Import upstream version 2.23.3
7740
else
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
7741
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
7742
$as_echo "no" >&6; }
1.1.45 by Sebastien Bacher
Import upstream version 2.23.3
7743
fi
7744
7745
  if test "x$ac_ct_NMEDIT" = x; then
7746
    NMEDIT=":"
7747
  else
7748
    case $cross_compiling:$ac_tool_warned in
7749
yes:)
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
7750
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
7751
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1.1.45 by Sebastien Bacher
Import upstream version 2.23.3
7752
ac_tool_warned=yes ;;
7753
esac
7754
    NMEDIT=$ac_ct_NMEDIT
7755
  fi
7756
else
7757
  NMEDIT="$ac_cv_prog_NMEDIT"
7758
fi
7759
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
7760
    if test -n "$ac_tool_prefix"; then
7761
  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7762
set dummy ${ac_tool_prefix}lipo; ac_word=$2
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
7763
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
7764
$as_echo_n "checking for $ac_word... " >&6; }
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
7765
if ${ac_cv_prog_LIPO+:} false; then :
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
7766
  $as_echo_n "(cached) " >&6
7767
else
7768
  if test -n "$LIPO"; then
7769
  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7770
else
7771
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7772
for as_dir in $PATH
7773
do
7774
  IFS=$as_save_IFS
7775
  test -z "$as_dir" && as_dir=.
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
7776
    for ac_exec_ext in '' $ac_executable_extensions; do
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
7777
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7778
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
7779
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
7780
    break 2
7781
  fi
7782
done
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
7783
  done
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
7784
IFS=$as_save_IFS
7785
7786
fi
7787
fi
7788
LIPO=$ac_cv_prog_LIPO
7789
if test -n "$LIPO"; then
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
7790
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
7791
$as_echo "$LIPO" >&6; }
7792
else
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
7793
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
7794
$as_echo "no" >&6; }
7795
fi
7796
7797
7798
fi
7799
if test -z "$ac_cv_prog_LIPO"; then
7800
  ac_ct_LIPO=$LIPO
7801
  # Extract the first word of "lipo", so it can be a program name with args.
7802
set dummy lipo; ac_word=$2
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
7803
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
7804
$as_echo_n "checking for $ac_word... " >&6; }
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
7805
if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
7806
  $as_echo_n "(cached) " >&6
7807
else
7808
  if test -n "$ac_ct_LIPO"; then
7809
  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7810
else
7811
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7812
for as_dir in $PATH
7813
do
7814
  IFS=$as_save_IFS
7815
  test -z "$as_dir" && as_dir=.
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
7816
    for ac_exec_ext in '' $ac_executable_extensions; do
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
7817
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7818
    ac_cv_prog_ac_ct_LIPO="lipo"
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
7819
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
7820
    break 2
7821
  fi
7822
done
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
7823
  done
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
7824
IFS=$as_save_IFS
7825
7826
fi
7827
fi
7828
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7829
if test -n "$ac_ct_LIPO"; then
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
7830
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
7831
$as_echo "$ac_ct_LIPO" >&6; }
7832
else
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
7833
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
7834
$as_echo "no" >&6; }
7835
fi
7836
7837
  if test "x$ac_ct_LIPO" = x; then
7838
    LIPO=":"
7839
  else
7840
    case $cross_compiling:$ac_tool_warned in
7841
yes:)
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
7842
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
7843
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7844
ac_tool_warned=yes ;;
7845
esac
7846
    LIPO=$ac_ct_LIPO
7847
  fi
7848
else
7849
  LIPO="$ac_cv_prog_LIPO"
7850
fi
7851
7852
    if test -n "$ac_tool_prefix"; then
7853
  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7854
set dummy ${ac_tool_prefix}otool; ac_word=$2
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
7855
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
7856
$as_echo_n "checking for $ac_word... " >&6; }
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
7857
if ${ac_cv_prog_OTOOL+:} false; then :
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
7858
  $as_echo_n "(cached) " >&6
7859
else
7860
  if test -n "$OTOOL"; then
7861
  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7862
else
7863
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7864
for as_dir in $PATH
7865
do
7866
  IFS=$as_save_IFS
7867
  test -z "$as_dir" && as_dir=.
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
7868
    for ac_exec_ext in '' $ac_executable_extensions; do
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
7869
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7870
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
7871
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
7872
    break 2
7873
  fi
7874
done
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
7875
  done
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
7876
IFS=$as_save_IFS
7877
7878
fi
7879
fi
7880
OTOOL=$ac_cv_prog_OTOOL
7881
if test -n "$OTOOL"; then
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
7882
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
7883
$as_echo "$OTOOL" >&6; }
7884
else
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
7885
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
7886
$as_echo "no" >&6; }
7887
fi
7888
7889
7890
fi
7891
if test -z "$ac_cv_prog_OTOOL"; then
7892
  ac_ct_OTOOL=$OTOOL
7893
  # Extract the first word of "otool", so it can be a program name with args.
7894
set dummy otool; ac_word=$2
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
7895
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
7896
$as_echo_n "checking for $ac_word... " >&6; }
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
7897
if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
7898
  $as_echo_n "(cached) " >&6
7899
else
7900
  if test -n "$ac_ct_OTOOL"; then
7901
  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7902
else
7903
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7904
for as_dir in $PATH
7905
do
7906
  IFS=$as_save_IFS
7907
  test -z "$as_dir" && as_dir=.
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
7908
    for ac_exec_ext in '' $ac_executable_extensions; do
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
7909
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7910
    ac_cv_prog_ac_ct_OTOOL="otool"
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
7911
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
7912
    break 2
7913
  fi
7914
done
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
7915
  done
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
7916
IFS=$as_save_IFS
7917
7918
fi
7919
fi
7920
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7921
if test -n "$ac_ct_OTOOL"; then
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
7922
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
7923
$as_echo "$ac_ct_OTOOL" >&6; }
7924
else
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
7925
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
7926
$as_echo "no" >&6; }
7927
fi
7928
7929
  if test "x$ac_ct_OTOOL" = x; then
7930
    OTOOL=":"
7931
  else
7932
    case $cross_compiling:$ac_tool_warned in
7933
yes:)
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
7934
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
7935
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7936
ac_tool_warned=yes ;;
7937
esac
7938
    OTOOL=$ac_ct_OTOOL
7939
  fi
7940
else
7941
  OTOOL="$ac_cv_prog_OTOOL"
7942
fi
7943
7944
    if test -n "$ac_tool_prefix"; then
7945
  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7946
set dummy ${ac_tool_prefix}otool64; ac_word=$2
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
7947
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
7948
$as_echo_n "checking for $ac_word... " >&6; }
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
7949
if ${ac_cv_prog_OTOOL64+:} false; then :
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
7950
  $as_echo_n "(cached) " >&6
7951
else
7952
  if test -n "$OTOOL64"; then
7953
  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7954
else
7955
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7956
for as_dir in $PATH
7957
do
7958
  IFS=$as_save_IFS
7959
  test -z "$as_dir" && as_dir=.
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
7960
    for ac_exec_ext in '' $ac_executable_extensions; do
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
7961
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7962
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
7963
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
7964
    break 2
7965
  fi
7966
done
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
7967
  done
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
7968
IFS=$as_save_IFS
7969
7970
fi
7971
fi
7972
OTOOL64=$ac_cv_prog_OTOOL64
7973
if test -n "$OTOOL64"; then
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
7974
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
7975
$as_echo "$OTOOL64" >&6; }
7976
else
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
7977
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
7978
$as_echo "no" >&6; }
7979
fi
7980
7981
7982
fi
7983
if test -z "$ac_cv_prog_OTOOL64"; then
7984
  ac_ct_OTOOL64=$OTOOL64
7985
  # Extract the first word of "otool64", so it can be a program name with args.
7986
set dummy otool64; ac_word=$2
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
7987
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
7988
$as_echo_n "checking for $ac_word... " >&6; }
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
7989
if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
7990
  $as_echo_n "(cached) " >&6
7991
else
7992
  if test -n "$ac_ct_OTOOL64"; then
7993
  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7994
else
7995
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7996
for as_dir in $PATH
7997
do
7998
  IFS=$as_save_IFS
7999
  test -z "$as_dir" && as_dir=.
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
8000
    for ac_exec_ext in '' $ac_executable_extensions; do
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
8001
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8002
    ac_cv_prog_ac_ct_OTOOL64="otool64"
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
8003
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
8004
    break 2
8005
  fi
8006
done
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
8007
  done
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
8008
IFS=$as_save_IFS
8009
8010
fi
8011
fi
8012
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8013
if test -n "$ac_ct_OTOOL64"; then
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
8014
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
8015
$as_echo "$ac_ct_OTOOL64" >&6; }
8016
else
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
8017
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
8018
$as_echo "no" >&6; }
8019
fi
8020
8021
  if test "x$ac_ct_OTOOL64" = x; then
8022
    OTOOL64=":"
8023
  else
8024
    case $cross_compiling:$ac_tool_warned in
8025
yes:)
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
8026
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
8027
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8028
ac_tool_warned=yes ;;
8029
esac
8030
    OTOOL64=$ac_ct_OTOOL64
8031
  fi
8032
else
8033
  OTOOL64="$ac_cv_prog_OTOOL64"
8034
fi
8035
8036
8037
8038
8039
8040
8041
8042
8043
8044
8045
8046
8047
8048
8049
8050
8051
8052
8053
8054
8055
8056
8057
8058
8059
8060
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
8061
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
8062
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
8063
$as_echo_n "checking for -single_module linker flag... " >&6; }
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
8064
if ${lt_cv_apple_cc_single_mod+:} false; then :
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
8065
  $as_echo_n "(cached) " >&6
1.1.45 by Sebastien Bacher
Import upstream version 2.23.3
8066
else
8067
  lt_cv_apple_cc_single_mod=no
8068
      if test -z "${LT_MULTI_MODULE}"; then
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
8069
	# By default we will add the -single_module flag. You can override
8070
	# by either setting the environment variable LT_MULTI_MODULE
8071
	# non-empty at configure time, or by adding -multi_module to the
8072
	# link flags.
8073
	rm -rf libconftest.dylib*
8074
	echo "int foo(void){return 1;}" > conftest.c
8075
	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8076
-dynamiclib -Wl,-single_module conftest.c" >&5
8077
	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8078
	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8079
        _lt_result=$?
8080
	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8081
	  lt_cv_apple_cc_single_mod=yes
8082
	else
8083
	  cat conftest.err >&5
8084
	fi
8085
	rm -rf libconftest.dylib*
8086
	rm -f conftest.*
1.1.45 by Sebastien Bacher
Import upstream version 2.23.3
8087
      fi
8088
fi
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
8089
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
8090
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
8091
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
8092
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
8093
if ${lt_cv_ld_exported_symbols_list+:} false; then :
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
8094
  $as_echo_n "(cached) " >&6
1.1.45 by Sebastien Bacher
Import upstream version 2.23.3
8095
else
8096
  lt_cv_ld_exported_symbols_list=no
8097
      save_LDFLAGS=$LDFLAGS
8098
      echo "_main" > conftest.sym
8099
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
8100
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1.45 by Sebastien Bacher
Import upstream version 2.23.3
8101
/* end confdefs.h.  */
8102
8103
int
8104
main ()
8105
{
8106
8107
  ;
8108
  return 0;
8109
}
8110
_ACEOF
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
8111
if ac_fn_c_try_link "$LINENO"; then :
1.1.45 by Sebastien Bacher
Import upstream version 2.23.3
8112
  lt_cv_ld_exported_symbols_list=yes
8113
else
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
8114
  lt_cv_ld_exported_symbols_list=no
1.1.45 by Sebastien Bacher
Import upstream version 2.23.3
8115
fi
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
8116
rm -f core conftest.err conftest.$ac_objext \
8117
    conftest$ac_exeext conftest.$ac_ext
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
8118
	LDFLAGS="$save_LDFLAGS"
1.1.45 by Sebastien Bacher
Import upstream version 2.23.3
8119
8120
fi
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
8121
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
8122
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
8123
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8124
$as_echo_n "checking for -force_load linker flag... " >&6; }
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
8125
if ${lt_cv_ld_force_load+:} false; then :
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
8126
  $as_echo_n "(cached) " >&6
8127
else
8128
  lt_cv_ld_force_load=no
8129
      cat > conftest.c << _LT_EOF
8130
int forced_loaded() { return 2;}
8131
_LT_EOF
8132
      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8133
      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8134
      echo "$AR cru libconftest.a conftest.o" >&5
8135
      $AR cru libconftest.a conftest.o 2>&5
8136
      echo "$RANLIB libconftest.a" >&5
8137
      $RANLIB libconftest.a 2>&5
8138
      cat > conftest.c << _LT_EOF
8139
int main() { return 0;}
8140
_LT_EOF
8141
      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8142
      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8143
      _lt_result=$?
8144
      if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8145
	lt_cv_ld_force_load=yes
8146
      else
8147
	cat conftest.err >&5
8148
      fi
8149
        rm -f conftest.err libconftest.a conftest conftest.c
8150
        rm -rf conftest.dSYM
8151
8152
fi
8153
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8154
$as_echo "$lt_cv_ld_force_load" >&6; }
1.1.45 by Sebastien Bacher
Import upstream version 2.23.3
8155
    case $host_os in
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
8156
    rhapsody* | darwin1.[012])
1.1.45 by Sebastien Bacher
Import upstream version 2.23.3
8157
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8158
    darwin1.*)
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
8159
      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8160
    darwin*) # darwin 5.x on
1.1.45 by Sebastien Bacher
Import upstream version 2.23.3
8161
      # if running on 10.5 or later, the deployment target defaults
8162
      # to the OS version, if on x86, and 10.4, the deployment
8163
      # target defaults to 10.4. Don't you love it?
8164
      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
8165
	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8166
	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8167
	10.[012]*)
8168
	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8169
	10.*)
8170
	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
1.1.45 by Sebastien Bacher
Import upstream version 2.23.3
8171
      esac
8172
    ;;
8173
  esac
8174
    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8175
      _lt_dar_single_mod='$single_module'
8176
    fi
8177
    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8178
      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8179
    else
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
8180
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
1.1.45 by Sebastien Bacher
Import upstream version 2.23.3
8181
    fi
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
8182
    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
8183
      _lt_dsymutil='~$DSYMUTIL $lib || :'
1.1.45 by Sebastien Bacher
Import upstream version 2.23.3
8184
    else
8185
      _lt_dsymutil=
8186
    fi
8187
    ;;
8188
  esac
8189
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
8190
ac_ext=c
8191
ac_cpp='$CPP $CPPFLAGS'
8192
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8193
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8194
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
8195
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
8196
$as_echo_n "checking how to run the C preprocessor... " >&6; }
8197
# On Suns, sometimes $CPP names a directory.
8198
if test -n "$CPP" && test -d "$CPP"; then
8199
  CPP=
8200
fi
8201
if test -z "$CPP"; then
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
8202
  if ${ac_cv_prog_CPP+:} false; then :
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
8203
  $as_echo_n "(cached) " >&6
8204
else
8205
      # Double quotes because CPP needs to be expanded
8206
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
8207
    do
8208
      ac_preproc_ok=false
8209
for ac_c_preproc_warn_flag in '' yes
8210
do
8211
  # Use a header file that comes with gcc, so configuring glibc
8212
  # with a fresh cross-compiler works.
8213
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8214
  # <limits.h> exists even on freestanding compilers.
8215
  # On the NeXT, cc -E runs the code through the compiler's parser,
8216
  # not just through cpp. "Syntax error" is here to catch this case.
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
8217
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
8218
/* end confdefs.h.  */
8219
#ifdef __STDC__
8220
# include <limits.h>
8221
#else
8222
# include <assert.h>
8223
#endif
8224
		     Syntax error
8225
_ACEOF
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
8226
if ac_fn_c_try_cpp "$LINENO"; then :
8227
1.5.2 by Emilio Pozuelo Monfort
Import upstream version 2.28.3
8228
else
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
8229
  # Broken: fails on valid input.
8230
continue
8231
fi
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
8232
rm -f conftest.err conftest.i conftest.$ac_ext
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
8233
8234
  # OK, works on sane cases.  Now check whether nonexistent headers
8235
  # can be detected and how.
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
8236
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
8237
/* end confdefs.h.  */
8238
#include <ac_nonexistent.h>
8239
_ACEOF
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
8240
if ac_fn_c_try_cpp "$LINENO"; then :
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
8241
  # Broken: success on invalid input.
8242
continue
8243
else
8244
  # Passes both tests.
8245
ac_preproc_ok=:
8246
break
8247
fi
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
8248
rm -f conftest.err conftest.i conftest.$ac_ext
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
8249
8250
done
8251
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
8252
rm -f conftest.i conftest.err conftest.$ac_ext
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
8253
if $ac_preproc_ok; then :
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
8254
  break
8255
fi
8256
8257
    done
8258
    ac_cv_prog_CPP=$CPP
8259
8260
fi
8261
  CPP=$ac_cv_prog_CPP
8262
else
8263
  ac_cv_prog_CPP=$CPP
8264
fi
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
8265
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
8266
$as_echo "$CPP" >&6; }
8267
ac_preproc_ok=false
8268
for ac_c_preproc_warn_flag in '' yes
8269
do
8270
  # Use a header file that comes with gcc, so configuring glibc
8271
  # with a fresh cross-compiler works.
8272
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8273
  # <limits.h> exists even on freestanding compilers.
8274
  # On the NeXT, cc -E runs the code through the compiler's parser,
8275
  # not just through cpp. "Syntax error" is here to catch this case.
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
8276
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
8277
/* end confdefs.h.  */
8278
#ifdef __STDC__
8279
# include <limits.h>
8280
#else
8281
# include <assert.h>
8282
#endif
8283
		     Syntax error
8284
_ACEOF
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
8285
if ac_fn_c_try_cpp "$LINENO"; then :
8286
1.5.2 by Emilio Pozuelo Monfort
Import upstream version 2.28.3
8287
else
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
8288
  # Broken: fails on valid input.
8289
continue
8290
fi
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
8291
rm -f conftest.err conftest.i conftest.$ac_ext
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
8292
8293
  # OK, works on sane cases.  Now check whether nonexistent headers
8294
  # can be detected and how.
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
8295
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
8296
/* end confdefs.h.  */
8297
#include <ac_nonexistent.h>
8298
_ACEOF
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
8299
if ac_fn_c_try_cpp "$LINENO"; then :
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
8300
  # Broken: success on invalid input.
8301
continue
8302
else
8303
  # Passes both tests.
8304
ac_preproc_ok=:
8305
break
8306
fi
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
8307
rm -f conftest.err conftest.i conftest.$ac_ext
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
8308
8309
done
8310
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
8311
rm -f conftest.i conftest.err conftest.$ac_ext
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
8312
if $ac_preproc_ok; then :
8313
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
8314
else
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
8315
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
8316
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
8317
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
8318
See \`config.log' for more details" "$LINENO" 5; }
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
8319
fi
8320
8321
ac_ext=c
8322
ac_cpp='$CPP $CPPFLAGS'
8323
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8324
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8325
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8326
8327
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
8328
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
8329
$as_echo_n "checking for ANSI C header files... " >&6; }
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
8330
if ${ac_cv_header_stdc+:} false; then :
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
8331
  $as_echo_n "(cached) " >&6
8332
else
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
8333
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
8334
/* end confdefs.h.  */
8335
#include <stdlib.h>
8336
#include <stdarg.h>
8337
#include <string.h>
8338
#include <float.h>
8339
8340
int
8341
main ()
8342
{
8343
8344
  ;
8345
  return 0;
8346
}
8347
_ACEOF
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
8348
if ac_fn_c_try_compile "$LINENO"; then :
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
8349
  ac_cv_header_stdc=yes
8350
else
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
8351
  ac_cv_header_stdc=no
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
8352
fi
8353
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8354
8355
if test $ac_cv_header_stdc = yes; then
8356
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
8357
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
8358
/* end confdefs.h.  */
8359
#include <string.h>
8360
8361
_ACEOF
8362
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
8363
  $EGREP "memchr" >/dev/null 2>&1; then :
8364
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
8365
else
8366
  ac_cv_header_stdc=no
8367
fi
8368
rm -f conftest*
8369
8370
fi
8371
8372
if test $ac_cv_header_stdc = yes; then
8373
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
8374
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
8375
/* end confdefs.h.  */
8376
#include <stdlib.h>
8377
8378
_ACEOF
8379
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
8380
  $EGREP "free" >/dev/null 2>&1; then :
8381
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
8382
else
8383
  ac_cv_header_stdc=no
8384
fi
8385
rm -f conftest*
8386
8387
fi
8388
8389
if test $ac_cv_header_stdc = yes; then
8390
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
8391
  if test "$cross_compiling" = yes; then :
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
8392
  :
8393
else
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
8394
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
8395
/* end confdefs.h.  */
8396
#include <ctype.h>
8397
#include <stdlib.h>
8398
#if ((' ' & 0x0FF) == 0x020)
8399
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8400
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8401
#else
8402
# define ISLOWER(c) \
8403
		   (('a' <= (c) && (c) <= 'i') \
8404
		     || ('j' <= (c) && (c) <= 'r') \
8405
		     || ('s' <= (c) && (c) <= 'z'))
8406
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8407
#endif
8408
8409
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8410
int
8411
main ()
8412
{
8413
  int i;
8414
  for (i = 0; i < 256; i++)
8415
    if (XOR (islower (i), ISLOWER (i))
8416
	|| toupper (i) != TOUPPER (i))
8417
      return 2;
8418
  return 0;
8419
}
8420
_ACEOF
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
8421
if ac_fn_c_try_run "$LINENO"; then :
8422
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
8423
else
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
8424
  ac_cv_header_stdc=no
8425
fi
8426
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8427
  conftest.$ac_objext conftest.beam conftest.$ac_ext
8428
fi
8429
8430
fi
8431
fi
8432
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
8433
$as_echo "$ac_cv_header_stdc" >&6; }
8434
if test $ac_cv_header_stdc = yes; then
8435
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
8436
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
8437
8438
fi
8439
8440
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
8441
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8442
		  inttypes.h stdint.h unistd.h
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
8443
do :
8444
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8445
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8446
"
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
8447
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
8448
  cat >>confdefs.h <<_ACEOF
8449
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8450
_ACEOF
8451
8452
fi
8453
8454
done
8455
8456
8457
for ac_header in dlfcn.h
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
8458
do :
8459
  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8460
"
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
8461
if test "x$ac_cv_header_dlfcn_h" = xyes; then :
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
8462
  cat >>confdefs.h <<_ACEOF
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
8463
#define HAVE_DLFCN_H 1
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
8464
_ACEOF
8465
8466
fi
8467
8468
done
8469
8470
8471
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
8472
8473
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
8474
# Set options
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
8475
# Check whether --enable-static was given.
8476
if test "${enable_static+set}" = set; then :
8477
  enableval=$enable_static; p=${PACKAGE-default}
8478
    case $enableval in
8479
    yes) enable_static=yes ;;
8480
    no) enable_static=no ;;
8481
    *)
8482
     enable_static=no
8483
      # Look at the argument we got.  We use all the common list separators.
8484
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8485
      for pkg in $enableval; do
8486
	IFS="$lt_save_ifs"
8487
	if test "X$pkg" = "X$p"; then
8488
	  enable_static=yes
8489
	fi
8490
      done
8491
      IFS="$lt_save_ifs"
8492
      ;;
8493
    esac
8494
else
8495
  enable_static=no
8496
fi
8497
8498
8499
8500
8501
8502
8503
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
8504
8505
8506
8507
        enable_dlopen=no
8508
8509
8510
  enable_win32_dll=no
8511
8512
8513
            # Check whether --enable-shared was given.
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
8514
if test "${enable_shared+set}" = set; then :
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
8515
  enableval=$enable_shared; p=${PACKAGE-default}
8516
    case $enableval in
8517
    yes) enable_shared=yes ;;
8518
    no) enable_shared=no ;;
8519
    *)
8520
      enable_shared=no
8521
      # Look at the argument we got.  We use all the common list separators.
8522
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8523
      for pkg in $enableval; do
8524
	IFS="$lt_save_ifs"
8525
	if test "X$pkg" = "X$p"; then
8526
	  enable_shared=yes
8527
	fi
8528
      done
8529
      IFS="$lt_save_ifs"
8530
      ;;
8531
    esac
8532
else
8533
  enable_shared=yes
8534
fi
8535
8536
8537
8538
8539
8540
8541
8542
8543
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
8544
8545
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
8546
# Check whether --with-pic was given.
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
8547
if test "${with_pic+set}" = set; then :
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
8548
  withval=$with_pic; pic_mode="$withval"
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
8549
else
8550
  pic_mode=default
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
8551
fi
8552
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
8553
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
8554
test -z "$pic_mode" && pic_mode=default
8555
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
8556
8557
8558
8559
8560
8561
8562
  # Check whether --enable-fast-install was given.
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
8563
if test "${enable_fast_install+set}" = set; then :
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
8564
  enableval=$enable_fast_install; p=${PACKAGE-default}
8565
    case $enableval in
8566
    yes) enable_fast_install=yes ;;
8567
    no) enable_fast_install=no ;;
8568
    *)
8569
      enable_fast_install=no
8570
      # Look at the argument we got.  We use all the common list separators.
8571
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8572
      for pkg in $enableval; do
8573
	IFS="$lt_save_ifs"
8574
	if test "X$pkg" = "X$p"; then
8575
	  enable_fast_install=yes
8576
	fi
8577
      done
8578
      IFS="$lt_save_ifs"
8579
      ;;
8580
    esac
8581
else
8582
  enable_fast_install=yes
8583
fi
8584
8585
8586
8587
8588
8589
8590
8591
8592
8593
8594
8595
# This can be used to rebuild libtool when needed
8596
LIBTOOL_DEPS="$ltmain"
8597
8598
# Always use our own libtool.
8599
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8600
8601
8602
8603
8604
8605
8606
8607
8608
8609
8610
8611
8612
8613
8614
8615
8616
8617
8618
8619
8620
8621
8622
8623
8624
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
8625
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
8626
test -z "$LN_S" && LN_S="ln -s"
8627
8628
8629
8630
8631
8632
8633
8634
8635
8636
8637
8638
8639
8640
8641
if test -n "${ZSH_VERSION+set}" ; then
8642
   setopt NO_GLOB_SUBST
8643
fi
8644
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
8645
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
8646
$as_echo_n "checking for objdir... " >&6; }
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
8647
if ${lt_cv_objdir+:} false; then :
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
8648
  $as_echo_n "(cached) " >&6
8649
else
8650
  rm -f .libs 2>/dev/null
8651
mkdir .libs 2>/dev/null
8652
if test -d .libs; then
8653
  lt_cv_objdir=.libs
8654
else
8655
  # MS-DOS does not allow filenames that begin with a dot.
8656
  lt_cv_objdir=_libs
8657
fi
8658
rmdir .libs 2>/dev/null
8659
fi
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
8660
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
8661
$as_echo "$lt_cv_objdir" >&6; }
8662
objdir=$lt_cv_objdir
8663
8664
8665
8666
8667
8668
cat >>confdefs.h <<_ACEOF
8669
#define LT_OBJDIR "$lt_cv_objdir/"
8670
_ACEOF
8671
8672
8673
8674
8675
case $host_os in
8676
aix3*)
8677
  # AIX sometimes has problems with the GCC collect2 program.  For some
8678
  # reason, if we set the COLLECT_NAMES environment variable, the problems
8679
  # vanish in a puff of smoke.
8680
  if test "X${COLLECT_NAMES+set}" != Xset; then
8681
    COLLECT_NAMES=
8682
    export COLLECT_NAMES
8683
  fi
8684
  ;;
8685
esac
8686
8687
# Global variables:
8688
ofile=libtool
8689
can_build_shared=yes
8690
8691
# All known linkers require a `.a' archive for static linking (except MSVC,
8692
# which needs '.lib').
8693
libext=a
8694
8695
with_gnu_ld="$lt_cv_prog_gnu_ld"
8696
8697
old_CC="$CC"
8698
old_CFLAGS="$CFLAGS"
8699
8700
# Set sane defaults for various variables
8701
test -z "$CC" && CC=cc
8702
test -z "$LTCC" && LTCC=$CC
8703
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8704
test -z "$LD" && LD=ld
8705
test -z "$ac_objext" && ac_objext=o
8706
8707
for cc_temp in $compiler""; do
8708
  case $cc_temp in
8709
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8710
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8711
    \-*) ;;
8712
    *) break;;
8713
  esac
8714
done
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
8715
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
8716
8717
8718
# Only perform the check for file, if the check method requires it
8719
test -z "$MAGIC_CMD" && MAGIC_CMD=file
8720
case $deplibs_check_method in
8721
file_magic*)
8722
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
8723
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
8724
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
8725
if ${lt_cv_path_MAGIC_CMD+:} false; then :
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
8726
  $as_echo_n "(cached) " >&6
8727
else
8728
  case $MAGIC_CMD in
8729
[\\/*] |  ?:[\\/]*)
8730
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8731
  ;;
8732
*)
8733
  lt_save_MAGIC_CMD="$MAGIC_CMD"
8734
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8735
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8736
  for ac_dir in $ac_dummy; do
8737
    IFS="$lt_save_ifs"
8738
    test -z "$ac_dir" && ac_dir=.
8739
    if test -f $ac_dir/${ac_tool_prefix}file; then
8740
      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8741
      if test -n "$file_magic_test_file"; then
8742
	case $deplibs_check_method in
8743
	"file_magic "*)
8744
	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8745
	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8746
	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8747
	    $EGREP "$file_magic_regex" > /dev/null; then
8748
	    :
8749
	  else
8750
	    cat <<_LT_EOF 1>&2
8751
8752
*** Warning: the command libtool uses to detect shared libraries,
8753
*** $file_magic_cmd, produces output that libtool cannot recognize.
8754
*** The result is that libtool may fail to recognize shared libraries
8755
*** as such.  This will affect the creation of libtool libraries that
8756
*** depend on shared libraries, but programs linked with such libtool
8757
*** libraries will work regardless of this problem.  Nevertheless, you
8758
*** may want to report the problem to your system manager and/or to
8759
*** bug-libtool@gnu.org
8760
8761
_LT_EOF
8762
	  fi ;;
8763
	esac
8764
      fi
8765
      break
8766
    fi
8767
  done
8768
  IFS="$lt_save_ifs"
8769
  MAGIC_CMD="$lt_save_MAGIC_CMD"
8770
  ;;
8771
esac
8772
fi
8773
8774
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8775
if test -n "$MAGIC_CMD"; then
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
8776
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
8777
$as_echo "$MAGIC_CMD" >&6; }
8778
else
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
8779
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
8780
$as_echo "no" >&6; }
8781
fi
8782
8783
8784
8785
8786
8787
if test -z "$lt_cv_path_MAGIC_CMD"; then
8788
  if test -n "$ac_tool_prefix"; then
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
8789
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
8790
$as_echo_n "checking for file... " >&6; }
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
8791
if ${lt_cv_path_MAGIC_CMD+:} false; then :
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
8792
  $as_echo_n "(cached) " >&6
8793
else
8794
  case $MAGIC_CMD in
8795
[\\/*] |  ?:[\\/]*)
8796
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8797
  ;;
8798
*)
8799
  lt_save_MAGIC_CMD="$MAGIC_CMD"
8800
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8801
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8802
  for ac_dir in $ac_dummy; do
8803
    IFS="$lt_save_ifs"
8804
    test -z "$ac_dir" && ac_dir=.
8805
    if test -f $ac_dir/file; then
8806
      lt_cv_path_MAGIC_CMD="$ac_dir/file"
8807
      if test -n "$file_magic_test_file"; then
8808
	case $deplibs_check_method in
8809
	"file_magic "*)
8810
	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8811
	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8812
	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8813
	    $EGREP "$file_magic_regex" > /dev/null; then
8814
	    :
8815
	  else
8816
	    cat <<_LT_EOF 1>&2
8817
8818
*** Warning: the command libtool uses to detect shared libraries,
8819
*** $file_magic_cmd, produces output that libtool cannot recognize.
8820
*** The result is that libtool may fail to recognize shared libraries
8821
*** as such.  This will affect the creation of libtool libraries that
8822
*** depend on shared libraries, but programs linked with such libtool
8823
*** libraries will work regardless of this problem.  Nevertheless, you
8824
*** may want to report the problem to your system manager and/or to
8825
*** bug-libtool@gnu.org
8826
8827
_LT_EOF
8828
	  fi ;;
8829
	esac
8830
      fi
8831
      break
8832
    fi
8833
  done
8834
  IFS="$lt_save_ifs"
8835
  MAGIC_CMD="$lt_save_MAGIC_CMD"
8836
  ;;
8837
esac
8838
fi
8839
8840
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8841
if test -n "$MAGIC_CMD"; then
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
8842
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
8843
$as_echo "$MAGIC_CMD" >&6; }
8844
else
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
8845
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
8846
$as_echo "no" >&6; }
8847
fi
8848
8849
8850
  else
8851
    MAGIC_CMD=:
8852
  fi
8853
fi
8854
8855
  fi
8856
  ;;
8857
esac
8858
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
8859
# Use C for the default configuration in the libtool script
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
8860
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
8861
lt_save_CC="$CC"
8862
ac_ext=c
8863
ac_cpp='$CPP $CPPFLAGS'
8864
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8865
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8866
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8867
8868
8869
# Source file extension for C test sources.
8870
ac_ext=c
8871
8872
# Object file extension for compiled C test sources.
8873
objext=o
8874
objext=$objext
8875
8876
# Code to be used in simple compile tests
1.1.45 by Sebastien Bacher
Import upstream version 2.23.3
8877
lt_simple_compile_test_code="int some_variable = 0;"
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
8878
8879
# Code to be used in simple link tests
1.1.45 by Sebastien Bacher
Import upstream version 2.23.3
8880
lt_simple_link_test_code='int main(){return(0);}'
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
8881
8882
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
8883
8884
8885
8886
8887
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
8888
# If no C compiler was specified, use CC.
8889
LTCC=${LTCC-"$CC"}
8890
1.2.1 by Daniel Holbach
Import upstream version 2.14.3
8891
# If no C compiler flags were specified, use CFLAGS.
8892
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8893
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
8894
# Allow CC to be a program name with arguments.
8895
compiler=$CC
8896
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
8897
# Save the default compiler, since it gets overwritten when the other
8898
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8899
compiler_DEFAULT=$CC
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
8900
8901
# save warnings/boilerplate of simple test code
8902
ac_outfile=conftest.$ac_objext
1.1.45 by Sebastien Bacher
Import upstream version 2.23.3
8903
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
1.2.1 by Daniel Holbach
Import upstream version 2.14.3
8904
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
8905
_lt_compiler_boilerplate=`cat conftest.err`
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
8906
$RM conftest*
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
8907
8908
ac_outfile=conftest.$ac_objext
1.1.45 by Sebastien Bacher
Import upstream version 2.23.3
8909
echo "$lt_simple_link_test_code" >conftest.$ac_ext
1.2.1 by Daniel Holbach
Import upstream version 2.14.3
8910
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
8911
_lt_linker_boilerplate=`cat conftest.err`
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
8912
$RM -r conftest*
8913
8914
8915
## CAVEAT EMPTOR:
8916
## There is no encapsulation within the following macros, do not change
8917
## the running order or otherwise move them around unless you know exactly
8918
## what you are doing...
8919
if test -n "$compiler"; then
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
8920
8921
lt_prog_compiler_no_builtin_flag=
8922
8923
if test "$GCC" = yes; then
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
8924
  case $cc_basename in
8925
  nvcc*)
8926
    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8927
  *)
8928
    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8929
  esac
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
8930
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
8931
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
8932
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
8933
if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
8934
  $as_echo_n "(cached) " >&6
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
8935
else
8936
  lt_cv_prog_compiler_rtti_exceptions=no
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
8937
   ac_outfile=conftest.$ac_objext
1.1.45 by Sebastien Bacher
Import upstream version 2.23.3
8938
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
8939
   lt_compiler_flag="-fno-rtti -fno-exceptions"
8940
   # Insert the option either (1) after the last *FLAGS variable, or
8941
   # (2) before a word containing "conftest.", or (3) at the end.
8942
   # Note that $ac_compile itself does not contain backslashes and begins
8943
   # with a dollar sign (not a hyphen), so the echo should work correctly.
8944
   # The option is referenced via a variable to avoid confusing sed.
8945
   lt_compile=`echo "$ac_compile" | $SED \
1.2.1 by Daniel Holbach
Import upstream version 2.14.3
8946
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
8947
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8948
   -e 's:$: $lt_compiler_flag:'`
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
8949
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
8950
   (eval "$lt_compile" 2>conftest.err)
8951
   ac_status=$?
8952
   cat conftest.err >&5
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
8953
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
8954
   if (exit $ac_status) && test -s "$ac_outfile"; then
8955
     # The compiler can only warn and ignore the option if not recognized
8956
     # So say no if there are warnings other than the usual output.
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
8957
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
1.2.1 by Daniel Holbach
Import upstream version 2.14.3
8958
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8959
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
8960
       lt_cv_prog_compiler_rtti_exceptions=yes
8961
     fi
8962
   fi
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
8963
   $RM conftest*
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
8964
8965
fi
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
8966
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
8967
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
8968
8969
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8970
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8971
else
8972
    :
8973
fi
8974
8975
fi
8976
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
8977
8978
8979
8980
8981
8982
  lt_prog_compiler_wl=
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
8983
lt_prog_compiler_pic=
8984
lt_prog_compiler_static=
8985
8986
8987
  if test "$GCC" = yes; then
8988
    lt_prog_compiler_wl='-Wl,'
8989
    lt_prog_compiler_static='-static'
8990
8991
    case $host_os in
8992
      aix*)
8993
      # All AIX code is PIC.
8994
      if test "$host_cpu" = ia64; then
8995
	# AIX 5 now supports IA64 processor
8996
	lt_prog_compiler_static='-Bstatic'
8997
      fi
8998
      ;;
8999
9000
    amigaos*)
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
9001
      case $host_cpu in
9002
      powerpc)
9003
            # see comment about AmigaOS4 .so support
9004
            lt_prog_compiler_pic='-fPIC'
9005
        ;;
9006
      m68k)
9007
            # FIXME: we need at least 68020 code to build shared libraries, but
9008
            # adding the `-m68020' flag to GCC prevents building anything better,
9009
            # like `-m68040'.
9010
            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9011
        ;;
9012
      esac
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
9013
      ;;
9014
1.1.45 by Sebastien Bacher
Import upstream version 2.23.3
9015
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
9016
      # PIC is the default for these OSes.
9017
      ;;
9018
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
9019
    mingw* | cygwin* | pw32* | os2* | cegcc*)
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
9020
      # This hack is so that the source file can tell whether it is being
9021
      # built for inclusion in a dll (and should export symbols for example).
1.1.45 by Sebastien Bacher
Import upstream version 2.23.3
9022
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
9023
      # (--disable-auto-import) libraries
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
9024
      lt_prog_compiler_pic='-DDLL_EXPORT'
9025
      ;;
9026
9027
    darwin* | rhapsody*)
9028
      # PIC is the default on this platform
9029
      # Common symbols not allowed in MH_DYLIB files
9030
      lt_prog_compiler_pic='-fno-common'
9031
      ;;
9032
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
9033
    haiku*)
9034
      # PIC is the default for Haiku.
9035
      # The "-static" flag exists, but is broken.
9036
      lt_prog_compiler_static=
9037
      ;;
9038
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
9039
    hpux*)
9040
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9041
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
9042
      # sets the default TLS model and affects inlining.
9043
      case $host_cpu in
9044
      hppa*64*)
9045
	# +Z the default
9046
	;;
9047
      *)
9048
	lt_prog_compiler_pic='-fPIC'
9049
	;;
9050
      esac
9051
      ;;
9052
1.1.45 by Sebastien Bacher
Import upstream version 2.23.3
9053
    interix[3-9]*)
1.2.1 by Daniel Holbach
Import upstream version 2.14.3
9054
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9055
      # Instead, we relocate shared libraries at runtime.
9056
      ;;
9057
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
9058
    msdosdjgpp*)
9059
      # Just because we use GCC doesn't mean we suddenly get shared libraries
9060
      # on systems that don't support them.
9061
      lt_prog_compiler_can_build_shared=no
9062
      enable_shared=no
9063
      ;;
9064
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
9065
    *nto* | *qnx*)
9066
      # QNX uses GNU C++, but need to define -shared option too, otherwise
9067
      # it will coredump.
9068
      lt_prog_compiler_pic='-fPIC -shared'
9069
      ;;
9070
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
9071
    sysv4*MP*)
9072
      if test -d /usr/nec; then
9073
	lt_prog_compiler_pic=-Kconform_pic
9074
      fi
9075
      ;;
9076
9077
    *)
9078
      lt_prog_compiler_pic='-fPIC'
9079
      ;;
9080
    esac
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
9081
9082
    case $cc_basename in
9083
    nvcc*) # Cuda Compiler Driver 2.2
9084
      lt_prog_compiler_wl='-Xlinker '
9085
      lt_prog_compiler_pic='-Xcompiler -fPIC'
9086
      ;;
9087
    esac
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
9088
  else
9089
    # PORTME Check for flag to pass linker flags through the system compiler.
9090
    case $host_os in
9091
    aix*)
9092
      lt_prog_compiler_wl='-Wl,'
9093
      if test "$host_cpu" = ia64; then
9094
	# AIX 5 now supports IA64 processor
9095
	lt_prog_compiler_static='-Bstatic'
9096
      else
9097
	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9098
      fi
9099
      ;;
9100
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
9101
    mingw* | cygwin* | pw32* | os2* | cegcc*)
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
9102
      # This hack is so that the source file can tell whether it is being
9103
      # built for inclusion in a dll (and should export symbols for example).
9104
      lt_prog_compiler_pic='-DDLL_EXPORT'
9105
      ;;
9106
9107
    hpux9* | hpux10* | hpux11*)
9108
      lt_prog_compiler_wl='-Wl,'
9109
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9110
      # not for PA HP-UX.
1.2.1 by Daniel Holbach
Import upstream version 2.14.3
9111
      case $host_cpu in
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
9112
      hppa*64*|ia64*)
9113
	# +Z the default
9114
	;;
9115
      *)
9116
	lt_prog_compiler_pic='+Z'
9117
	;;
9118
      esac
9119
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
9120
      lt_prog_compiler_static='${wl}-a ${wl}archive'
9121
      ;;
9122
9123
    irix5* | irix6* | nonstopux*)
9124
      lt_prog_compiler_wl='-Wl,'
9125
      # PIC (with -KPIC) is the default.
9126
      lt_prog_compiler_static='-non_shared'
9127
      ;;
9128
2.5.1 by Luca Bruno
* New upstream release.
9129
    linux* | k*bsd*-gnu | kopensolaris*-gnu)
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
9130
      case $cc_basename in
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
9131
      # old Intel for x86_64 which still supported -KPIC.
9132
      ecc*)
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
9133
	lt_prog_compiler_wl='-Wl,'
9134
	lt_prog_compiler_pic='-KPIC'
9135
	lt_prog_compiler_static='-static'
9136
        ;;
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
9137
      # icc used to be incompatible with GCC.
9138
      # ICC 10 doesn't accept -KPIC any more.
9139
      icc* | ifort*)
9140
	lt_prog_compiler_wl='-Wl,'
9141
	lt_prog_compiler_pic='-fPIC'
9142
	lt_prog_compiler_static='-static'
9143
        ;;
9144
      # Lahey Fortran 8.1.
9145
      lf95*)
9146
	lt_prog_compiler_wl='-Wl,'
9147
	lt_prog_compiler_pic='--shared'
9148
	lt_prog_compiler_static='--static'
9149
	;;
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
9150
      nagfor*)
9151
	# NAG Fortran compiler
9152
	lt_prog_compiler_wl='-Wl,-Wl,,'
9153
	lt_prog_compiler_pic='-PIC'
9154
	lt_prog_compiler_static='-Bstatic'
9155
	;;
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
9156
      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
9157
        # Portland Group compilers (*not* the Pentium gcc compiler,
9158
	# which looks to be a dead project)
9159
	lt_prog_compiler_wl='-Wl,'
9160
	lt_prog_compiler_pic='-fpic'
1.2.1 by Daniel Holbach
Import upstream version 2.14.3
9161
	lt_prog_compiler_static='-Bstatic'
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
9162
        ;;
9163
      ccc*)
9164
        lt_prog_compiler_wl='-Wl,'
9165
        # All Alpha code is PIC.
9166
        lt_prog_compiler_static='-non_shared'
9167
        ;;
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
9168
      xl* | bgxl* | bgf* | mpixl*)
9169
	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
9170
	lt_prog_compiler_wl='-Wl,'
9171
	lt_prog_compiler_pic='-qpic'
9172
	lt_prog_compiler_static='-qstaticlink'
9173
	;;
1.1.45 by Sebastien Bacher
Import upstream version 2.23.3
9174
      *)
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
9175
	case `$CC -V 2>&1 | sed 5q` in
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
9176
	*Sun\ F* | *Sun*Fortran*)
9177
	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
9178
	  lt_prog_compiler_pic='-KPIC'
9179
	  lt_prog_compiler_static='-Bstatic'
9180
	  lt_prog_compiler_wl=''
9181
	  ;;
1.1.45 by Sebastien Bacher
Import upstream version 2.23.3
9182
	*Sun\ C*)
9183
	  # Sun C 5.9
9184
	  lt_prog_compiler_pic='-KPIC'
9185
	  lt_prog_compiler_static='-Bstatic'
9186
	  lt_prog_compiler_wl='-Wl,'
9187
	  ;;
9188
	esac
9189
	;;
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
9190
      esac
9191
      ;;
9192
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
9193
    newsos6)
9194
      lt_prog_compiler_pic='-KPIC'
9195
      lt_prog_compiler_static='-Bstatic'
9196
      ;;
9197
9198
    *nto* | *qnx*)
9199
      # QNX uses GNU C++, but need to define -shared option too, otherwise
9200
      # it will coredump.
9201
      lt_prog_compiler_pic='-fPIC -shared'
9202
      ;;
9203
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
9204
    osf3* | osf4* | osf5*)
9205
      lt_prog_compiler_wl='-Wl,'
9206
      # All OSF/1 code is PIC.
9207
      lt_prog_compiler_static='-non_shared'
9208
      ;;
9209
1.1.45 by Sebastien Bacher
Import upstream version 2.23.3
9210
    rdos*)
9211
      lt_prog_compiler_static='-non_shared'
9212
      ;;
9213
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
9214
    solaris*)
9215
      lt_prog_compiler_pic='-KPIC'
9216
      lt_prog_compiler_static='-Bstatic'
9217
      case $cc_basename in
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
9218
      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
9219
	lt_prog_compiler_wl='-Qoption ld ';;
9220
      *)
9221
	lt_prog_compiler_wl='-Wl,';;
9222
      esac
9223
      ;;
9224
9225
    sunos4*)
9226
      lt_prog_compiler_wl='-Qoption ld '
9227
      lt_prog_compiler_pic='-PIC'
9228
      lt_prog_compiler_static='-Bstatic'
9229
      ;;
9230
1.2.1 by Daniel Holbach
Import upstream version 2.14.3
9231
    sysv4 | sysv4.2uw2* | sysv4.3*)
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
9232
      lt_prog_compiler_wl='-Wl,'
9233
      lt_prog_compiler_pic='-KPIC'
9234
      lt_prog_compiler_static='-Bstatic'
9235
      ;;
9236
9237
    sysv4*MP*)
9238
      if test -d /usr/nec ;then
9239
	lt_prog_compiler_pic='-Kconform_pic'
9240
	lt_prog_compiler_static='-Bstatic'
9241
      fi
9242
      ;;
9243
1.2.1 by Daniel Holbach
Import upstream version 2.14.3
9244
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9245
      lt_prog_compiler_wl='-Wl,'
9246
      lt_prog_compiler_pic='-KPIC'
9247
      lt_prog_compiler_static='-Bstatic'
9248
      ;;
9249
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
9250
    unicos*)
9251
      lt_prog_compiler_wl='-Wl,'
9252
      lt_prog_compiler_can_build_shared=no
9253
      ;;
9254
9255
    uts4*)
9256
      lt_prog_compiler_pic='-pic'
9257
      lt_prog_compiler_static='-Bstatic'
9258
      ;;
9259
9260
    *)
9261
      lt_prog_compiler_can_build_shared=no
9262
      ;;
9263
    esac
9264
  fi
9265
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
9266
case $host_os in
9267
  # For platforms which do not support PIC, -DPIC is meaningless:
9268
  *djgpp*)
9269
    lt_prog_compiler_pic=
9270
    ;;
9271
  *)
9272
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9273
    ;;
9274
esac
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
9275
9276
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9277
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9278
if ${lt_cv_prog_compiler_pic+:} false; then :
9279
  $as_echo_n "(cached) " >&6
9280
else
9281
  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9282
fi
9283
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9284
$as_echo "$lt_cv_prog_compiler_pic" >&6; }
9285
lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
9286
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
9287
#
9288
# Check to make sure the PIC flag actually works.
9289
#
9290
if test -n "$lt_prog_compiler_pic"; then
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
9291
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
9292
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
9293
if ${lt_cv_prog_compiler_pic_works+:} false; then :
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
9294
  $as_echo_n "(cached) " >&6
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
9295
else
1.1.45 by Sebastien Bacher
Import upstream version 2.23.3
9296
  lt_cv_prog_compiler_pic_works=no
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
9297
   ac_outfile=conftest.$ac_objext
1.1.45 by Sebastien Bacher
Import upstream version 2.23.3
9298
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
9299
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9300
   # Insert the option either (1) after the last *FLAGS variable, or
9301
   # (2) before a word containing "conftest.", or (3) at the end.
9302
   # Note that $ac_compile itself does not contain backslashes and begins
9303
   # with a dollar sign (not a hyphen), so the echo should work correctly.
9304
   # The option is referenced via a variable to avoid confusing sed.
9305
   lt_compile=`echo "$ac_compile" | $SED \
1.2.1 by Daniel Holbach
Import upstream version 2.14.3
9306
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
9307
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9308
   -e 's:$: $lt_compiler_flag:'`
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
9309
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
9310
   (eval "$lt_compile" 2>conftest.err)
9311
   ac_status=$?
9312
   cat conftest.err >&5
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
9313
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
9314
   if (exit $ac_status) && test -s "$ac_outfile"; then
9315
     # The compiler can only warn and ignore the option if not recognized
9316
     # So say no if there are warnings other than the usual output.
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
9317
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
1.2.1 by Daniel Holbach
Import upstream version 2.14.3
9318
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9319
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
1.1.45 by Sebastien Bacher
Import upstream version 2.23.3
9320
       lt_cv_prog_compiler_pic_works=yes
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
9321
     fi
9322
   fi
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
9323
   $RM conftest*
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
9324
9325
fi
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
9326
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
9327
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
9328
1.1.45 by Sebastien Bacher
Import upstream version 2.23.3
9329
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
9330
    case $lt_prog_compiler_pic in
9331
     "" | " "*) ;;
9332
     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9333
     esac
9334
else
9335
    lt_prog_compiler_pic=
9336
     lt_prog_compiler_can_build_shared=no
9337
fi
9338
9339
fi
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
9340
9341
9342
9343
9344
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
9345
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
9346
9347
9348
9349
9350
1.2.1 by Daniel Holbach
Import upstream version 2.14.3
9351
#
9352
# Check to make sure the static flag actually works.
9353
#
9354
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
9355
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
9356
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
9357
if ${lt_cv_prog_compiler_static_works+:} false; then :
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
9358
  $as_echo_n "(cached) " >&6
1.2.1 by Daniel Holbach
Import upstream version 2.14.3
9359
else
1.1.45 by Sebastien Bacher
Import upstream version 2.23.3
9360
  lt_cv_prog_compiler_static_works=no
1.2.1 by Daniel Holbach
Import upstream version 2.14.3
9361
   save_LDFLAGS="$LDFLAGS"
9362
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
1.1.45 by Sebastien Bacher
Import upstream version 2.23.3
9363
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
1.2.1 by Daniel Holbach
Import upstream version 2.14.3
9364
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9365
     # The linker can only warn and ignore the option if not recognized
9366
     # So say no if there are warnings
9367
     if test -s conftest.err; then
9368
       # Append any errors to the config.log.
9369
       cat conftest.err 1>&5
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
9370
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
1.2.1 by Daniel Holbach
Import upstream version 2.14.3
9371
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9372
       if diff conftest.exp conftest.er2 >/dev/null; then
1.1.45 by Sebastien Bacher
Import upstream version 2.23.3
9373
         lt_cv_prog_compiler_static_works=yes
1.2.1 by Daniel Holbach
Import upstream version 2.14.3
9374
       fi
9375
     else
1.1.45 by Sebastien Bacher
Import upstream version 2.23.3
9376
       lt_cv_prog_compiler_static_works=yes
1.2.1 by Daniel Holbach
Import upstream version 2.14.3
9377
     fi
9378
   fi
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
9379
   $RM -r conftest*
1.2.1 by Daniel Holbach
Import upstream version 2.14.3
9380
   LDFLAGS="$save_LDFLAGS"
9381
9382
fi
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
9383
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
9384
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
1.2.1 by Daniel Holbach
Import upstream version 2.14.3
9385
1.1.45 by Sebastien Bacher
Import upstream version 2.23.3
9386
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
1.2.1 by Daniel Holbach
Import upstream version 2.14.3
9387
    :
9388
else
9389
    lt_prog_compiler_static=
9390
fi
9391
9392
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
9393
9394
9395
9396
9397
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
9398
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
9399
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
9400
if ${lt_cv_prog_compiler_c_o+:} false; then :
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
9401
  $as_echo_n "(cached) " >&6
9402
else
9403
  lt_cv_prog_compiler_c_o=no
9404
   $RM -r conftest 2>/dev/null
9405
   mkdir conftest
9406
   cd conftest
9407
   mkdir out
9408
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9409
9410
   lt_compiler_flag="-o out/conftest2.$ac_objext"
9411
   # Insert the option either (1) after the last *FLAGS variable, or
9412
   # (2) before a word containing "conftest.", or (3) at the end.
9413
   # Note that $ac_compile itself does not contain backslashes and begins
9414
   # with a dollar sign (not a hyphen), so the echo should work correctly.
9415
   lt_compile=`echo "$ac_compile" | $SED \
9416
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9417
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9418
   -e 's:$: $lt_compiler_flag:'`
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
9419
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
9420
   (eval "$lt_compile" 2>out/conftest.err)
9421
   ac_status=$?
9422
   cat out/conftest.err >&5
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
9423
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
9424
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9425
   then
9426
     # The compiler can only warn and ignore the option if not recognized
9427
     # So say no if there are warnings
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
9428
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
9429
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9430
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9431
       lt_cv_prog_compiler_c_o=yes
9432
     fi
9433
   fi
9434
   chmod u+w . 2>&5
9435
   $RM conftest*
9436
   # SGI C++ compiler will create directory out/ii_files/ for
9437
   # template instantiation
9438
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9439
   $RM out/* && rmdir out
9440
   cd ..
9441
   $RM -r conftest
9442
   $RM conftest*
9443
9444
fi
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
9445
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
9446
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9447
9448
9449
9450
9451
9452
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
9453
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
9454
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
9455
if ${lt_cv_prog_compiler_c_o+:} false; then :
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
9456
  $as_echo_n "(cached) " >&6
9457
else
9458
  lt_cv_prog_compiler_c_o=no
9459
   $RM -r conftest 2>/dev/null
9460
   mkdir conftest
9461
   cd conftest
9462
   mkdir out
9463
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9464
9465
   lt_compiler_flag="-o out/conftest2.$ac_objext"
9466
   # Insert the option either (1) after the last *FLAGS variable, or
9467
   # (2) before a word containing "conftest.", or (3) at the end.
9468
   # Note that $ac_compile itself does not contain backslashes and begins
9469
   # with a dollar sign (not a hyphen), so the echo should work correctly.
9470
   lt_compile=`echo "$ac_compile" | $SED \
9471
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9472
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9473
   -e 's:$: $lt_compiler_flag:'`
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
9474
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
9475
   (eval "$lt_compile" 2>out/conftest.err)
9476
   ac_status=$?
9477
   cat out/conftest.err >&5
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
9478
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
9479
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9480
   then
9481
     # The compiler can only warn and ignore the option if not recognized
9482
     # So say no if there are warnings
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
9483
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
9484
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9485
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9486
       lt_cv_prog_compiler_c_o=yes
9487
     fi
9488
   fi
9489
   chmod u+w . 2>&5
9490
   $RM conftest*
9491
   # SGI C++ compiler will create directory out/ii_files/ for
9492
   # template instantiation
9493
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9494
   $RM out/* && rmdir out
9495
   cd ..
9496
   $RM -r conftest
9497
   $RM conftest*
9498
9499
fi
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
9500
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
9501
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9502
9503
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
9504
9505
9506
hard_links="nottested"
9507
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9508
  # do not overwrite the value of need_locks provided by the user
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
9509
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
9510
$as_echo_n "checking if we can lock with hard links... " >&6; }
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
9511
  hard_links=yes
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
9512
  $RM conftest*
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
9513
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9514
  touch conftest.a
9515
  ln conftest.a conftest.b 2>&5 || hard_links=no
9516
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
9517
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
9518
$as_echo "$hard_links" >&6; }
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
9519
  if test "$hard_links" = no; then
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
9520
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
9521
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
9522
    need_locks=warn
9523
  fi
9524
else
9525
  need_locks=no
9526
fi
9527
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
9528
9529
9530
9531
9532
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
9533
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
9534
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
9535
9536
  runpath_var=
9537
  allow_undefined_flag=
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
9538
  always_export_symbols=no
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
9539
  archive_cmds=
9540
  archive_expsym_cmds=
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
9541
  compiler_needs_object=no
9542
  enable_shared_with_static_runtimes=no
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
9543
  export_dynamic_flag_spec=
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
9544
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9545
  hardcode_automatic=no
9546
  hardcode_direct=no
9547
  hardcode_direct_absolute=no
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
9548
  hardcode_libdir_flag_spec=
9549
  hardcode_libdir_flag_spec_ld=
9550
  hardcode_libdir_separator=
9551
  hardcode_minus_L=no
9552
  hardcode_shlibpath_var=unsupported
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
9553
  inherit_rpath=no
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
9554
  link_all_deplibs=unknown
9555
  module_cmds=
9556
  module_expsym_cmds=
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
9557
  old_archive_from_new_cmds=
9558
  old_archive_from_expsyms_cmds=
9559
  thread_safe_flag_spec=
9560
  whole_archive_flag_spec=
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
9561
  # include_expsyms should be a list of space-separated symbols to be *always*
9562
  # included in the symbol list
9563
  include_expsyms=
9564
  # exclude_expsyms can be an extended regexp of symbols to exclude
9565
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
9566
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9567
  # as well as any symbol that contains `d'.
1.1.45 by Sebastien Bacher
Import upstream version 2.23.3
9568
  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
9569
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9570
  # platforms (ab)use it in PIC code, but their linkers get confused if
9571
  # the symbol is explicitly referenced.  Since portable code cannot
9572
  # rely on this symbol name, it's probably fine to never include it in
9573
  # preloaded symbol tables.
1.1.45 by Sebastien Bacher
Import upstream version 2.23.3
9574
  # Exclude shared library initialization/finalization symbols.
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
9575
  extract_expsyms_cmds=
9576
9577
  case $host_os in
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
9578
  cygwin* | mingw* | pw32* | cegcc*)
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
9579
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
9580
    # When not using gcc, we currently assume that we are using
9581
    # Microsoft Visual C++.
9582
    if test "$GCC" != yes; then
9583
      with_gnu_ld=no
9584
    fi
9585
    ;;
1.2.1 by Daniel Holbach
Import upstream version 2.14.3
9586
  interix*)
9587
    # we just hope/assume this is gcc and not c89 (= MSVC++)
9588
    with_gnu_ld=yes
9589
    ;;
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
9590
  openbsd*)
9591
    with_gnu_ld=no
9592
    ;;
9593
  esac
9594
9595
  ld_shlibs=yes
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
9596
9597
  # On some targets, GNU ld is compatible enough with the native linker
9598
  # that we're better off using the native interface for both.
9599
  lt_use_gnu_ld_interface=no
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
9600
  if test "$with_gnu_ld" = yes; then
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
9601
    case $host_os in
9602
      aix*)
9603
	# The AIX port of GNU ld has always aspired to compatibility
9604
	# with the native linker.  However, as the warning in the GNU ld
9605
	# block says, versions before 2.19.5* couldn't really create working
9606
	# shared libraries, regardless of the interface used.
9607
	case `$LD -v 2>&1` in
9608
	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9609
	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9610
	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9611
	  *)
9612
	    lt_use_gnu_ld_interface=yes
9613
	    ;;
9614
	esac
9615
	;;
9616
      *)
9617
	lt_use_gnu_ld_interface=yes
9618
	;;
9619
    esac
9620
  fi
9621
9622
  if test "$lt_use_gnu_ld_interface" = yes; then
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
9623
    # If archive_cmds runs LD, not CC, wlarc should be empty
9624
    wlarc='${wl}'
9625
9626
    # Set some defaults for GNU ld with shared library support. These
9627
    # are reset later if shared libraries are not supported. Putting them
9628
    # here allows them to be overridden if necessary.
9629
    runpath_var=LD_RUN_PATH
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
9630
    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
9631
    export_dynamic_flag_spec='${wl}--export-dynamic'
9632
    # ancient GNU ld didn't support --whole-archive et. al.
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
9633
    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9634
      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9635
    else
9636
      whole_archive_flag_spec=
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
9637
    fi
9638
    supports_anon_versioning=no
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
9639
    case `$LD -v 2>&1` in
2.5.1 by Luca Bruno
* New upstream release.
9640
      *GNU\ gold*) supports_anon_versioning=yes ;;
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
9641
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9642
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9643
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9644
      *\ 2.11.*) ;; # other 2.11 versions
9645
      *) supports_anon_versioning=yes ;;
9646
    esac
9647
9648
    # See if GNU ld supports shared libraries.
9649
    case $host_os in
1.1.45 by Sebastien Bacher
Import upstream version 2.23.3
9650
    aix[3-9]*)
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
9651
      # On AIX/PPC, the GNU linker is very broken
9652
      if test "$host_cpu" != ia64; then
9653
	ld_shlibs=no
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
9654
	cat <<_LT_EOF 1>&2
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
9655
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
9656
*** Warning: the GNU linker, at least up to release 2.19, is reported
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
9657
*** to be unable to reliably create shared libraries on AIX.
9658
*** Therefore, libtool is disabling shared libraries support.  If you
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
9659
*** really care for shared libraries, you may want to install binutils
9660
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9661
*** You will then need to restart the configuration process.
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
9662
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
9663
_LT_EOF
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
9664
      fi
9665
      ;;
9666
9667
    amigaos*)
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
9668
      case $host_cpu in
9669
      powerpc)
9670
            # see comment about AmigaOS4 .so support
9671
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9672
            archive_expsym_cmds=''
9673
        ;;
9674
      m68k)
9675
            archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
9676
            hardcode_libdir_flag_spec='-L$libdir'
9677
            hardcode_minus_L=yes
9678
        ;;
9679
      esac
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
9680
      ;;
9681
9682
    beos*)
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
9683
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
9684
	allow_undefined_flag=unsupported
9685
	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9686
	# support --undefined.  This deserves some investigation.  FIXME
9687
	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9688
      else
9689
	ld_shlibs=no
9690
      fi
9691
      ;;
9692
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
9693
    cygwin* | mingw* | pw32* | cegcc*)
9694
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
9695
      # as there is no search path for DLLs.
9696
      hardcode_libdir_flag_spec='-L$libdir'
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
9697
      export_dynamic_flag_spec='${wl}--export-all-symbols'
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
9698
      allow_undefined_flag=unsupported
9699
      always_export_symbols=no
9700
      enable_shared_with_static_runtimes=yes
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
9701
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
9702
      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
9703
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
9704
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
1.2.1 by Daniel Holbach
Import upstream version 2.14.3
9705
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
9706
	# If the export-symbols file already is a .def file (1st line
9707
	# is EXPORTS), use it as is; otherwise, prepend...
9708
	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9709
	  cp $export_symbols $output_objdir/$soname.def;
9710
	else
9711
	  echo EXPORTS > $output_objdir/$soname.def;
9712
	  cat $export_symbols >> $output_objdir/$soname.def;
9713
	fi~
1.2.1 by Daniel Holbach
Import upstream version 2.14.3
9714
	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
9715
      else
9716
	ld_shlibs=no
9717
      fi
9718
      ;;
9719
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
9720
    haiku*)
9721
      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9722
      link_all_deplibs=yes
9723
      ;;
9724
1.1.45 by Sebastien Bacher
Import upstream version 2.23.3
9725
    interix[3-9]*)
1.2.1 by Daniel Holbach
Import upstream version 2.14.3
9726
      hardcode_direct=no
9727
      hardcode_shlibpath_var=no
9728
      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9729
      export_dynamic_flag_spec='${wl}-E'
9730
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9731
      # Instead, shared libraries are loaded at an image base (0x10000000 by
9732
      # default) and relocated if they conflict, which is a slow very memory
9733
      # consuming and fragmenting process.  To avoid this, we pick a random,
9734
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9735
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9736
      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9737
      archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9738
      ;;
9739
2.5.1 by Luca Bruno
* New upstream release.
9740
    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
9741
      tmp_diet=no
9742
      if test "$host_os" = linux-dietlibc; then
9743
	case $cc_basename in
9744
	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
9745
	esac
9746
      fi
9747
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9748
	 && test "$tmp_diet" = no
9749
      then
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
9750
	tmp_addflag=' $pic_flag'
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
9751
	tmp_sharedflag='-shared'
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
9752
	case $cc_basename,$host_cpu in
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
9753
        pgcc*)				# Portland Group C compiler
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
9754
	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
9755
	  tmp_addflag=' $pic_flag'
9756
	  ;;
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
9757
	pgf77* | pgf90* | pgf95* | pgfortran*)
9758
					# Portland Group f77 and f90 compilers
9759
	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
9760
	  tmp_addflag=' $pic_flag -Mnomain' ;;
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
9761
	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
9762
	  tmp_addflag=' -i_dynamic' ;;
9763
	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
9764
	  tmp_addflag=' -i_dynamic -nofor_main' ;;
9765
	ifc* | ifort*)			# Intel Fortran compiler
9766
	  tmp_addflag=' -nofor_main' ;;
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
9767
	lf95*)				# Lahey Fortran 8.1
9768
	  whole_archive_flag_spec=
9769
	  tmp_sharedflag='--shared' ;;
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
9770
	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
9771
	  tmp_sharedflag='-qmkshrobj'
9772
	  tmp_addflag= ;;
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
9773
	nvcc*)	# Cuda Compiler Driver 2.2
9774
	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9775
	  compiler_needs_object=yes
9776
	  ;;
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
9777
	esac
1.1.45 by Sebastien Bacher
Import upstream version 2.23.3
9778
	case `$CC -V 2>&1 | sed 5q` in
9779
	*Sun\ C*)			# Sun C 5.9
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
9780
	  whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
9781
	  compiler_needs_object=yes
1.1.45 by Sebastien Bacher
Import upstream version 2.23.3
9782
	  tmp_sharedflag='-G' ;;
9783
	*Sun\ F*)			# Sun Fortran 8.3
9784
	  tmp_sharedflag='-G' ;;
9785
	esac
9786
	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
9787
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
9788
        if test "x$supports_anon_versioning" = xyes; then
9789
          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9790
	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9791
	    echo "local: *; };" >> $output_objdir/$libname.ver~
9792
	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9793
        fi
9794
9795
	case $cc_basename in
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
9796
	xlf* | bgf* | bgxlf* | mpixlf*)
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
9797
	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9798
	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9799
	  hardcode_libdir_flag_spec=
9800
	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
9801
	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
9802
	  if test "x$supports_anon_versioning" = xyes; then
9803
	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9804
	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9805
	      echo "local: *; };" >> $output_objdir/$libname.ver~
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
9806
	      $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
9807
	  fi
9808
	  ;;
9809
	esac
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
9810
      else
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
9811
        ld_shlibs=no
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
9812
      fi
9813
      ;;
9814
1.5.2 by Emilio Pozuelo Monfort
Import upstream version 2.28.3
9815
    netbsd*)
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
9816
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
9817
	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9818
	wlarc=
9819
      else
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
9820
	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9821
	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
9822
      fi
9823
      ;;
9824
1.2.1 by Daniel Holbach
Import upstream version 2.14.3
9825
    solaris*)
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
9826
      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
9827
	ld_shlibs=no
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
9828
	cat <<_LT_EOF 1>&2
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
9829
9830
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
9831
*** create shared libraries on Solaris systems.  Therefore, libtool
9832
*** is disabling shared libraries support.  We urge you to upgrade GNU
9833
*** binutils to release 2.9.1 or newer.  Another option is to modify
9834
*** your PATH or compiler configuration so that the native linker is
9835
*** used, and then restart.
9836
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
9837
_LT_EOF
9838
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
9839
	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9840
	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
9841
      else
9842
	ld_shlibs=no
9843
      fi
9844
      ;;
9845
1.2.1 by Daniel Holbach
Import upstream version 2.14.3
9846
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9847
      case `$LD -v 2>&1` in
9848
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9849
	ld_shlibs=no
9850
	cat <<_LT_EOF 1>&2
9851
9852
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9853
*** reliably create shared libraries on SCO systems.  Therefore, libtool
9854
*** is disabling shared libraries support.  We urge you to upgrade GNU
9855
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9856
*** your PATH or compiler configuration so that the native linker is
9857
*** used, and then restart.
9858
9859
_LT_EOF
9860
	;;
9861
	*)
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
9862
	  # For security reasons, it is highly recommended that you always
9863
	  # use absolute paths for naming shared libraries, and exclude the
9864
	  # DT_RUNPATH tag from executables and libraries.  But doing so
9865
	  # requires that you compile everything twice, which is a pain.
9866
	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9867
	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9868
	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9869
	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
1.2.1 by Daniel Holbach
Import upstream version 2.14.3
9870
	  else
9871
	    ld_shlibs=no
9872
	  fi
9873
	;;
9874
      esac
9875
      ;;
9876
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
9877
    sunos4*)
9878
      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9879
      wlarc=
9880
      hardcode_direct=yes
9881
      hardcode_shlibpath_var=no
9882
      ;;
9883
9884
    *)
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
9885
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
9886
	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9887
	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
9888
      else
9889
	ld_shlibs=no
9890
      fi
9891
      ;;
9892
    esac
9893
9894
    if test "$ld_shlibs" = no; then
9895
      runpath_var=
9896
      hardcode_libdir_flag_spec=
9897
      export_dynamic_flag_spec=
9898
      whole_archive_flag_spec=
9899
    fi
9900
  else
9901
    # PORTME fill in a description of your system's linker (not GNU ld)
9902
    case $host_os in
9903
    aix3*)
9904
      allow_undefined_flag=unsupported
9905
      always_export_symbols=yes
9906
      archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
9907
      # Note: this linker hardcodes the directories in LIBPATH if there
9908
      # are no directories specified by -L.
9909
      hardcode_minus_L=yes
1.2.1 by Daniel Holbach
Import upstream version 2.14.3
9910
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
9911
	# Neither direct hardcoding nor static linking is supported with a
9912
	# broken collect2.
9913
	hardcode_direct=unsupported
9914
      fi
9915
      ;;
9916
1.1.45 by Sebastien Bacher
Import upstream version 2.23.3
9917
    aix[4-9]*)
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
9918
      if test "$host_cpu" = ia64; then
9919
	# On IA64, the linker does run time linking by default, so we don't
9920
	# have to do anything special.
9921
	aix_use_runtimelinking=no
9922
	exp_sym_flag='-Bexport'
9923
	no_entry_flag=""
9924
      else
9925
	# If we're using GNU nm, then we don't want the "-C" option.
9926
	# -C means demangle to AIX nm, but means don't demangle with GNU nm
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
9927
	# Also, AIX nm treats weak defined symbols like other global
9928
	# defined symbols, whereas GNU nm marks them as "W".
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
9929
	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
9930
	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
9931
	else
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
9932
	  export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
9933
	fi
9934
	aix_use_runtimelinking=no
9935
9936
	# Test if we are trying to use run time linking or normal
9937
	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
9938
	# need to do runtime linking.
1.1.45 by Sebastien Bacher
Import upstream version 2.23.3
9939
	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
9940
	  for ld_flag in $LDFLAGS; do
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
9941
	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9942
	    aix_use_runtimelinking=yes
9943
	    break
9944
	  fi
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
9945
	  done
1.2.1 by Daniel Holbach
Import upstream version 2.14.3
9946
	  ;;
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
9947
	esac
9948
9949
	exp_sym_flag='-bexport'
9950
	no_entry_flag='-bnoentry'
9951
      fi
9952
9953
      # When large executables or shared objects are built, AIX ld can
9954
      # have problems creating the table of contents.  If linking a library
9955
      # or program results in "error TOC overflow" add -mminimal-toc to
9956
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9957
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9958
9959
      archive_cmds=''
9960
      hardcode_direct=yes
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
9961
      hardcode_direct_absolute=yes
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
9962
      hardcode_libdir_separator=':'
9963
      link_all_deplibs=yes
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
9964
      file_list_spec='${wl}-f,'
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
9965
9966
      if test "$GCC" = yes; then
9967
	case $host_os in aix4.[012]|aix4.[012].*)
9968
	# We only want to do this on AIX 4.2 and lower, the check
9969
	# below for broken collect2 doesn't work under 4.3+
9970
	  collect2name=`${CC} -print-prog-name=collect2`
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
9971
	  if test -f "$collect2name" &&
9972
	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
9973
	  then
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
9974
	  # We have reworked collect2
9975
	  :
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
9976
	  else
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
9977
	  # We have old collect2
9978
	  hardcode_direct=unsupported
9979
	  # It fails to find uninstalled libraries when the uninstalled
9980
	  # path is not listed in the libpath.  Setting hardcode_minus_L
9981
	  # to unsupported forces relinking
9982
	  hardcode_minus_L=yes
9983
	  hardcode_libdir_flag_spec='-L$libdir'
9984
	  hardcode_libdir_separator=
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
9985
	  fi
1.2.1 by Daniel Holbach
Import upstream version 2.14.3
9986
	  ;;
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
9987
	esac
9988
	shared_flag='-shared'
9989
	if test "$aix_use_runtimelinking" = yes; then
9990
	  shared_flag="$shared_flag "'${wl}-G'
9991
	fi
9992
      else
9993
	# not using gcc
9994
	if test "$host_cpu" = ia64; then
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
9995
	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9996
	# chokes on -Wl,-G. The following line is correct:
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
9997
	  shared_flag='-G'
9998
	else
1.2.1 by Daniel Holbach
Import upstream version 2.14.3
9999
	  if test "$aix_use_runtimelinking" = yes; then
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
10000
	    shared_flag='${wl}-G'
10001
	  else
10002
	    shared_flag='${wl}-bM:SRE'
1.2.1 by Daniel Holbach
Import upstream version 2.14.3
10003
	  fi
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
10004
	fi
10005
      fi
10006
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
10007
      export_dynamic_flag_spec='${wl}-bexpall'
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
10008
      # It seems that -bexpall does not export symbols beginning with
10009
      # underscore (_), so it is better to generate a list of symbols to export.
10010
      always_export_symbols=yes
10011
      if test "$aix_use_runtimelinking" = yes; then
10012
	# Warning - without using the other runtime loading flags (-brtl),
10013
	# -berok will link without error, but may produce a broken library.
10014
	allow_undefined_flag='-berok'
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
10015
        # Determine the default libpath from the value encoded in an
10016
        # empty executable.
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
10017
        if test "${lt_cv_aix_libpath+set}" = set; then
10018
  aix_libpath=$lt_cv_aix_libpath
10019
else
10020
  if ${lt_cv_aix_libpath_+:} false; then :
10021
  $as_echo_n "(cached) " >&6
10022
else
10023
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
10024
/* end confdefs.h.  */
10025
10026
int
10027
main ()
10028
{
10029
10030
  ;
10031
  return 0;
10032
}
10033
_ACEOF
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
10034
if ac_fn_c_try_link "$LINENO"; then :
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
10035
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
10036
  lt_aix_libpath_sed='
10037
      /Import File Strings/,/^$/ {
10038
	  /^0/ {
10039
	      s/^0  *\([^ ]*\) *$/\1/
10040
	      p
10041
	  }
10042
      }'
10043
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10044
  # Check for a 64-bit object if we didn't find anything.
10045
  if test -z "$lt_cv_aix_libpath_"; then
10046
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10047
  fi
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
10048
fi
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
10049
rm -f core conftest.err conftest.$ac_objext \
10050
    conftest$ac_exeext conftest.$ac_ext
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
10051
  if test -z "$lt_cv_aix_libpath_"; then
10052
    lt_cv_aix_libpath_="/usr/lib:/lib"
10053
  fi
10054
10055
fi
10056
10057
  aix_libpath=$lt_cv_aix_libpath_
10058
fi
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
10059
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
10060
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
10061
        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
10062
      else
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
10063
	if test "$host_cpu" = ia64; then
10064
	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10065
	  allow_undefined_flag="-z nodefs"
1.2.1 by Daniel Holbach
Import upstream version 2.14.3
10066
	  archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
10067
	else
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
10068
	 # Determine the default libpath from the value encoded in an
10069
	 # empty executable.
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
10070
	 if test "${lt_cv_aix_libpath+set}" = set; then
10071
  aix_libpath=$lt_cv_aix_libpath
10072
else
10073
  if ${lt_cv_aix_libpath_+:} false; then :
10074
  $as_echo_n "(cached) " >&6
10075
else
10076
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
10077
/* end confdefs.h.  */
10078
10079
int
10080
main ()
10081
{
10082
10083
  ;
10084
  return 0;
10085
}
10086
_ACEOF
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
10087
if ac_fn_c_try_link "$LINENO"; then :
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
10088
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
10089
  lt_aix_libpath_sed='
10090
      /Import File Strings/,/^$/ {
10091
	  /^0/ {
10092
	      s/^0  *\([^ ]*\) *$/\1/
10093
	      p
10094
	  }
10095
      }'
10096
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10097
  # Check for a 64-bit object if we didn't find anything.
10098
  if test -z "$lt_cv_aix_libpath_"; then
10099
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10100
  fi
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
10101
fi
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
10102
rm -f core conftest.err conftest.$ac_objext \
10103
    conftest$ac_exeext conftest.$ac_ext
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
10104
  if test -z "$lt_cv_aix_libpath_"; then
10105
    lt_cv_aix_libpath_="/usr/lib:/lib"
10106
  fi
10107
10108
fi
10109
10110
  aix_libpath=$lt_cv_aix_libpath_
10111
fi
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
10112
10113
	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10114
	  # Warning - without using the other run time loading flags,
10115
	  # -berok will link without error, but may produce a broken library.
10116
	  no_undefined_flag=' ${wl}-bernotok'
10117
	  allow_undefined_flag=' ${wl}-berok'
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
10118
	  if test "$with_gnu_ld" = yes; then
10119
	    # We only use this code for GNU lds that support --whole-archive.
10120
	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10121
	  else
10122
	    # Exported symbols can be pulled into shared objects from archives
10123
	    whole_archive_flag_spec='$convenience'
10124
	  fi
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
10125
	  archive_cmds_need_lc=yes
1.2.1 by Daniel Holbach
Import upstream version 2.14.3
10126
	  # This is similar to how AIX traditionally builds its shared libraries.
10127
	  archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
10128
	fi
10129
      fi
10130
      ;;
10131
10132
    amigaos*)
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
10133
      case $host_cpu in
10134
      powerpc)
10135
            # see comment about AmigaOS4 .so support
10136
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10137
            archive_expsym_cmds=''
10138
        ;;
10139
      m68k)
10140
            archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
10141
            hardcode_libdir_flag_spec='-L$libdir'
10142
            hardcode_minus_L=yes
10143
        ;;
10144
      esac
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
10145
      ;;
10146
10147
    bsdi[45]*)
10148
      export_dynamic_flag_spec=-rdynamic
10149
      ;;
10150
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
10151
    cygwin* | mingw* | pw32* | cegcc*)
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
10152
      # When not using gcc, we currently assume that we are using
10153
      # Microsoft Visual C++.
10154
      # hardcode_libdir_flag_spec is actually meaningless, as there is
10155
      # no search path for DLLs.
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
10156
      case $cc_basename in
10157
      cl*)
10158
	# Native MSVC
10159
	hardcode_libdir_flag_spec=' '
10160
	allow_undefined_flag=unsupported
10161
	always_export_symbols=yes
10162
	file_list_spec='@'
10163
	# Tell ltmain to make .lib files, not .a files.
10164
	libext=lib
10165
	# Tell ltmain to make .dll files, not .so files.
10166
	shrext_cmds=".dll"
10167
	# FIXME: Setting linknames here is a bad hack.
10168
	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
10169
	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10170
	    sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
10171
	  else
10172
	    sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
10173
	  fi~
10174
	  $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10175
	  linknames='
10176
	# The linker will not automatically build a static lib if we build a DLL.
10177
	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10178
	enable_shared_with_static_runtimes=yes
10179
	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10180
	# Don't use ranlib
10181
	old_postinstall_cmds='chmod 644 $oldlib'
10182
	postlink_cmds='lt_outputfile="@OUTPUT@"~
10183
	  lt_tool_outputfile="@TOOL_OUTPUT@"~
10184
	  case $lt_outputfile in
10185
	    *.exe|*.EXE) ;;
10186
	    *)
10187
	      lt_outputfile="$lt_outputfile.exe"
10188
	      lt_tool_outputfile="$lt_tool_outputfile.exe"
10189
	      ;;
10190
	  esac~
10191
	  if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10192
	    $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10193
	    $RM "$lt_outputfile.manifest";
10194
	  fi'
10195
	;;
10196
      *)
10197
	# Assume MSVC wrapper
10198
	hardcode_libdir_flag_spec=' '
10199
	allow_undefined_flag=unsupported
10200
	# Tell ltmain to make .lib files, not .a files.
10201
	libext=lib
10202
	# Tell ltmain to make .dll files, not .so files.
10203
	shrext_cmds=".dll"
10204
	# FIXME: Setting linknames here is a bad hack.
10205
	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10206
	# The linker will automatically build a .lib file if we build a DLL.
10207
	old_archive_from_new_cmds='true'
10208
	# FIXME: Should let the user specify the lib program.
10209
	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10210
	enable_shared_with_static_runtimes=yes
10211
	;;
10212
      esac
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
10213
      ;;
10214
10215
    darwin* | rhapsody*)
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
10216
10217
10218
  archive_cmds_need_lc=no
10219
  hardcode_direct=no
10220
  hardcode_automatic=yes
10221
  hardcode_shlibpath_var=unsupported
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
10222
  if test "$lt_cv_ld_force_load" = "yes"; then
10223
    whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
10224
  else
10225
    whole_archive_flag_spec=''
10226
  fi
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
10227
  link_all_deplibs=yes
10228
  allow_undefined_flag="$_lt_dar_allow_undefined"
10229
  case $cc_basename in
10230
     ifort*) _lt_dar_can_shared=yes ;;
10231
     *) _lt_dar_can_shared=$GCC ;;
10232
  esac
10233
  if test "$_lt_dar_can_shared" = "yes"; then
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
10234
    output_verbose_link_cmd=func_echo_all
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
10235
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10236
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10237
    archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
10238
    module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
10239
10240
  else
10241
  ld_shlibs=no
10242
  fi
10243
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
10244
      ;;
10245
10246
    dgux*)
10247
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10248
      hardcode_libdir_flag_spec='-L$libdir'
10249
      hardcode_shlibpath_var=no
10250
      ;;
10251
10252
    freebsd1*)
10253
      ld_shlibs=no
10254
      ;;
10255
10256
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10257
    # support.  Future versions do this automatically, but an explicit c++rt0.o
10258
    # does not break anything, and helps significantly (at the cost of a little
10259
    # extra space).
10260
    freebsd2.2*)
10261
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10262
      hardcode_libdir_flag_spec='-R$libdir'
10263
      hardcode_direct=yes
10264
      hardcode_shlibpath_var=no
10265
      ;;
10266
10267
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10268
    freebsd2*)
10269
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10270
      hardcode_direct=yes
10271
      hardcode_minus_L=yes
10272
      hardcode_shlibpath_var=no
10273
      ;;
10274
10275
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
1.1.45 by Sebastien Bacher
Import upstream version 2.23.3
10276
    freebsd* | dragonfly*)
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
10277
      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
1.1.15 by Daniel Holbach
Import upstream version 2.15.5
10278
      hardcode_libdir_flag_spec='-R$libdir'
10279
      hardcode_direct=yes
10280
      hardcode_shlibpath_var=no
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
10281
      ;;
10282
10283
    hpux9*)
10284
      if test "$GCC" = yes; then
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
10285
	archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
10286
      else
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
10287
	archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
10288
      fi
10289
      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10290
      hardcode_libdir_separator=:
10291
      hardcode_direct=yes
10292
10293
      # hardcode_minus_L: Not really in the search PATH,
10294
      # but as the default location of the library.
10295
      hardcode_minus_L=yes
10296
      export_dynamic_flag_spec='${wl}-E'
10297
      ;;
10298
1.2.1 by Daniel Holbach
Import upstream version 2.14.3
10299
    hpux10*)
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
10300
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
10301
	archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
1.2.1 by Daniel Holbach
Import upstream version 2.14.3
10302
      else
10303
	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10304
      fi
10305
      if test "$with_gnu_ld" = no; then
10306
	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
10307
	hardcode_libdir_flag_spec_ld='+b $libdir'
1.2.1 by Daniel Holbach
Import upstream version 2.14.3
10308
	hardcode_libdir_separator=:
10309
	hardcode_direct=yes
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
10310
	hardcode_direct_absolute=yes
1.2.1 by Daniel Holbach
Import upstream version 2.14.3
10311
	export_dynamic_flag_spec='${wl}-E'
10312
	# hardcode_minus_L: Not really in the search PATH,
10313
	# but as the default location of the library.
10314
	hardcode_minus_L=yes
10315
      fi
10316
      ;;
10317
10318
    hpux11*)
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
10319
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
1.2.1 by Daniel Holbach
Import upstream version 2.14.3
10320
	case $host_cpu in
10321
	hppa*64*)
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
10322
	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10323
	  ;;
1.2.1 by Daniel Holbach
Import upstream version 2.14.3
10324
	ia64*)
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
10325
	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
1.2.1 by Daniel Holbach
Import upstream version 2.14.3
10326
	  ;;
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
10327
	*)
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
10328
	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
10329
	  ;;
10330
	esac
10331
      else
1.2.1 by Daniel Holbach
Import upstream version 2.14.3
10332
	case $host_cpu in
10333
	hppa*64*)
10334
	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10335
	  ;;
10336
	ia64*)
10337
	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
10338
	  ;;
10339
	*)
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
10340
10341
	  # Older versions of the 11.00 compiler do not understand -b yet
10342
	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10343
	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10344
$as_echo_n "checking if $CC understands -b... " >&6; }
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
10345
if ${lt_cv_prog_compiler__b+:} false; then :
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
10346
  $as_echo_n "(cached) " >&6
10347
else
10348
  lt_cv_prog_compiler__b=no
10349
   save_LDFLAGS="$LDFLAGS"
10350
   LDFLAGS="$LDFLAGS -b"
10351
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
10352
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10353
     # The linker can only warn and ignore the option if not recognized
10354
     # So say no if there are warnings
10355
     if test -s conftest.err; then
10356
       # Append any errors to the config.log.
10357
       cat conftest.err 1>&5
10358
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10359
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10360
       if diff conftest.exp conftest.er2 >/dev/null; then
10361
         lt_cv_prog_compiler__b=yes
10362
       fi
10363
     else
10364
       lt_cv_prog_compiler__b=yes
10365
     fi
10366
   fi
10367
   $RM -r conftest*
10368
   LDFLAGS="$save_LDFLAGS"
10369
10370
fi
10371
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10372
$as_echo "$lt_cv_prog_compiler__b" >&6; }
10373
10374
if test x"$lt_cv_prog_compiler__b" = xyes; then
10375
    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10376
else
10377
    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10378
fi
10379
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
10380
	  ;;
10381
	esac
10382
      fi
10383
      if test "$with_gnu_ld" = no; then
1.2.1 by Daniel Holbach
Import upstream version 2.14.3
10384
	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10385
	hardcode_libdir_separator=:
10386
10387
	case $host_cpu in
10388
	hppa*64*|ia64*)
10389
	  hardcode_direct=no
10390
	  hardcode_shlibpath_var=no
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
10391
	  ;;
10392
	*)
10393
	  hardcode_direct=yes
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
10394
	  hardcode_direct_absolute=yes
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
10395
	  export_dynamic_flag_spec='${wl}-E'
10396
10397
	  # hardcode_minus_L: Not really in the search PATH,
10398
	  # but as the default location of the library.
10399
	  hardcode_minus_L=yes
10400
	  ;;
10401
	esac
10402
      fi
10403
      ;;
10404
10405
    irix5* | irix6* | nonstopux*)
10406
      if test "$GCC" = yes; then
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
10407
	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
10408
	# Try to use the -exported_symbol ld option, if it does not
10409
	# work, assume that -exports_file does not work either and
10410
	# implicitly export all symbols.
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
10411
	# This should be the same for all languages, so no per-tag cache variable.
10412
	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10413
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10414
if ${lt_cv_irix_exported_symbol+:} false; then :
10415
  $as_echo_n "(cached) " >&6
10416
else
10417
  save_LDFLAGS="$LDFLAGS"
10418
	   LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10419
	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
10420
/* end confdefs.h.  */
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
10421
int foo (void) { return 0; }
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
10422
_ACEOF
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
10423
if ac_fn_c_try_link "$LINENO"; then :
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
10424
  lt_cv_irix_exported_symbol=yes
10425
else
10426
  lt_cv_irix_exported_symbol=no
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
10427
fi
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
10428
rm -f core conftest.err conftest.$ac_objext \
10429
    conftest$ac_exeext conftest.$ac_ext
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
10430
           LDFLAGS="$save_LDFLAGS"
10431
fi
10432
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10433
$as_echo "$lt_cv_irix_exported_symbol" >&6; }
10434
	if test "$lt_cv_irix_exported_symbol" = yes; then
10435
          archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
10436
	fi
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
10437
      else
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
10438
	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10439
	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
10440
      fi
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
10441
      archive_cmds_need_lc='no'
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
10442
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10443
      hardcode_libdir_separator=:
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
10444
      inherit_rpath=yes
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
10445
      link_all_deplibs=yes
10446
      ;;
10447
1.5.2 by Emilio Pozuelo Monfort
Import upstream version 2.28.3
10448
    netbsd*)
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
10449
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
10450
	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10451
      else
10452
	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
10453
      fi
10454
      hardcode_libdir_flag_spec='-R$libdir'
10455
      hardcode_direct=yes
10456
      hardcode_shlibpath_var=no
10457
      ;;
10458
10459
    newsos6)
10460
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10461
      hardcode_direct=yes
10462
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10463
      hardcode_libdir_separator=:
10464
      hardcode_shlibpath_var=no
10465
      ;;
10466
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
10467
    *nto* | *qnx*)
10468
      ;;
10469
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
10470
    openbsd*)
1.1.45 by Sebastien Bacher
Import upstream version 2.23.3
10471
      if test -f /usr/libexec/ld.so; then
10472
	hardcode_direct=yes
10473
	hardcode_shlibpath_var=no
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
10474
	hardcode_direct_absolute=yes
10475
	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
1.1.45 by Sebastien Bacher
Import upstream version 2.23.3
10476
	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10477
	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10478
	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10479
	  export_dynamic_flag_spec='${wl}-E'
10480
	else
10481
	  case $host_os in
10482
	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10483
	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10484
	     hardcode_libdir_flag_spec='-R$libdir'
10485
	     ;;
10486
	   *)
10487
	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10488
	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10489
	     ;;
10490
	  esac
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
10491
	fi
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
10492
      else
1.1.45 by Sebastien Bacher
Import upstream version 2.23.3
10493
	ld_shlibs=no
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
10494
      fi
10495
      ;;
10496
10497
    os2*)
10498
      hardcode_libdir_flag_spec='-L$libdir'
10499
      hardcode_minus_L=yes
10500
      allow_undefined_flag=unsupported
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
10501
      archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
10502
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
10503
      ;;
10504
10505
    osf3*)
10506
      if test "$GCC" = yes; then
10507
	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
10508
	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
10509
      else
10510
	allow_undefined_flag=' -expect_unresolved \*'
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
10511
	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
10512
      fi
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
10513
      archive_cmds_need_lc='no'
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
10514
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10515
      hardcode_libdir_separator=:
10516
      ;;
10517
10518
    osf4* | osf5*)	# as osf3* with the addition of -msym flag
10519
      if test "$GCC" = yes; then
10520
	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
10521
	archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
10522
	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10523
      else
10524
	allow_undefined_flag=' -expect_unresolved \*'
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
10525
	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
10526
	archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
10527
	$CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
10528
10529
	# Both c and cxx compiler support -rpath directly
10530
	hardcode_libdir_flag_spec='-rpath $libdir'
10531
      fi
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
10532
      archive_cmds_need_lc='no'
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
10533
      hardcode_libdir_separator=:
10534
      ;;
10535
10536
    solaris*)
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
10537
      no_undefined_flag=' -z defs'
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
10538
      if test "$GCC" = yes; then
10539
	wlarc='${wl}'
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
10540
	archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
10541
	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
10542
	  $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
10543
      else
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
10544
	case `$CC -V 2>&1` in
10545
	*"Compilers 5.0"*)
10546
	  wlarc=''
10547
	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10548
	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10549
	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10550
	  ;;
10551
	*)
10552
	  wlarc='${wl}'
10553
	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10554
	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10555
	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10556
	  ;;
10557
	esac
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
10558
      fi
10559
      hardcode_libdir_flag_spec='-R$libdir'
10560
      hardcode_shlibpath_var=no
10561
      case $host_os in
10562
      solaris2.[0-5] | solaris2.[0-5].*) ;;
10563
      *)
1.1.45 by Sebastien Bacher
Import upstream version 2.23.3
10564
	# The compiler driver will combine and reorder linker options,
10565
	# but understands `-z linker_flag'.  GCC discards it without `$wl',
10566
	# but is careful enough not to reorder.
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
10567
	# Supported since Solaris 2.6 (maybe 2.5.1?)
1.1.45 by Sebastien Bacher
Import upstream version 2.23.3
10568
	if test "$GCC" = yes; then
10569
	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10570
	else
10571
	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10572
	fi
10573
	;;
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
10574
      esac
10575
      link_all_deplibs=yes
10576
      ;;
10577
10578
    sunos4*)
10579
      if test "x$host_vendor" = xsequent; then
10580
	# Use $CC to link under sequent, because it throws in some extra .o
10581
	# files that make .init and .fini sections work.
10582
	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10583
      else
10584
	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10585
      fi
10586
      hardcode_libdir_flag_spec='-L$libdir'
10587
      hardcode_direct=yes
10588
      hardcode_minus_L=yes
10589
      hardcode_shlibpath_var=no
10590
      ;;
10591
10592
    sysv4)
10593
      case $host_vendor in
10594
	sni)
10595
	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10596
	  hardcode_direct=yes # is this really true???
10597
	;;
10598
	siemens)
10599
	  ## LD is ld it makes a PLAMLIB
10600
	  ## CC just makes a GrossModule.
10601
	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10602
	  reload_cmds='$CC -r -o $output$reload_objs'
10603
	  hardcode_direct=no
10604
        ;;
10605
	motorola)
10606
	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10607
	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10608
	;;
10609
      esac
10610
      runpath_var='LD_RUN_PATH'
10611
      hardcode_shlibpath_var=no
10612
      ;;
10613
10614
    sysv4.3*)
10615
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10616
      hardcode_shlibpath_var=no
10617
      export_dynamic_flag_spec='-Bexport'
10618
      ;;
10619
10620
    sysv4*MP*)
10621
      if test -d /usr/nec; then
10622
	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10623
	hardcode_shlibpath_var=no
10624
	runpath_var=LD_RUN_PATH
10625
	hardcode_runpath_var=yes
10626
	ld_shlibs=yes
10627
      fi
10628
      ;;
10629
1.1.45 by Sebastien Bacher
Import upstream version 2.23.3
10630
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
1.2.1 by Daniel Holbach
Import upstream version 2.14.3
10631
      no_undefined_flag='${wl}-z,text'
10632
      archive_cmds_need_lc=no
10633
      hardcode_shlibpath_var=no
10634
      runpath_var='LD_RUN_PATH'
10635
10636
      if test "$GCC" = yes; then
10637
	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10638
	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10639
      else
10640
	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10641
	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10642
      fi
10643
      ;;
10644
10645
    sysv5* | sco3.2v5* | sco5v6*)
10646
      # Note: We can NOT use -z defs as we might desire, because we do not
10647
      # link with -lc, and that would cause any symbols used from libc to
10648
      # always be unresolved, which means just about no library would
10649
      # ever link correctly.  If we're not using GNU ld we use -z text
10650
      # though, which does catch some bad symbols but isn't as heavy-handed
10651
      # as -z defs.
10652
      no_undefined_flag='${wl}-z,text'
10653
      allow_undefined_flag='${wl}-z,nodefs'
10654
      archive_cmds_need_lc=no
10655
      hardcode_shlibpath_var=no
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
10656
      hardcode_libdir_flag_spec='${wl}-R,$libdir'
1.2.1 by Daniel Holbach
Import upstream version 2.14.3
10657
      hardcode_libdir_separator=':'
10658
      link_all_deplibs=yes
10659
      export_dynamic_flag_spec='${wl}-Bexport'
10660
      runpath_var='LD_RUN_PATH'
10661
10662
      if test "$GCC" = yes; then
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
10663
	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10664
	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
1.2.1 by Daniel Holbach
Import upstream version 2.14.3
10665
      else
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
10666
	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10667
	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
1.2.1 by Daniel Holbach
Import upstream version 2.14.3
10668
      fi
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
10669
      ;;
10670
10671
    uts4*)
10672
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10673
      hardcode_libdir_flag_spec='-L$libdir'
10674
      hardcode_shlibpath_var=no
10675
      ;;
10676
10677
    *)
10678
      ld_shlibs=no
10679
      ;;
10680
    esac
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
10681
10682
    if test x$host_vendor = xsni; then
10683
      case $host in
10684
      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10685
	export_dynamic_flag_spec='${wl}-Blargedynsym'
10686
	;;
10687
      esac
10688
    fi
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
10689
  fi
10690
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
10691
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
10692
$as_echo "$ld_shlibs" >&6; }
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
10693
test "$ld_shlibs" = no && can_build_shared=no
10694
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
10695
with_gnu_ld=$with_gnu_ld
10696
10697
10698
10699
10700
10701
10702
10703
10704
10705
10706
10707
10708
10709
10710
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
10711
#
10712
# Do we need to explicitly link libc?
10713
#
10714
case "x$archive_cmds_need_lc" in
10715
x|xyes)
10716
  # Assume -lc should be added
10717
  archive_cmds_need_lc=yes
10718
10719
  if test "$enable_shared" = yes && test "$GCC" = yes; then
10720
    case $archive_cmds in
10721
    *'~'*)
10722
      # FIXME: we may have to deal with multi-command sequences.
10723
      ;;
10724
    '$CC '*)
10725
      # Test whether the compiler implicitly links with -lc since on some
10726
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
10727
      # to ld, don't add -lc before -lgcc.
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
10728
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
10729
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
10730
if ${lt_cv_archive_cmds_need_lc+:} false; then :
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
10731
  $as_echo_n "(cached) " >&6
10732
else
10733
  $RM conftest*
10734
	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
10735
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
10736
	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
10737
  (eval $ac_compile) 2>&5
10738
  ac_status=$?
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
10739
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10740
  test $ac_status = 0; } 2>conftest.err; then
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
10741
	  soname=conftest
10742
	  lib=conftest
10743
	  libobjs=conftest.$ac_objext
10744
	  deplibs=
10745
	  wl=$lt_prog_compiler_wl
10746
	  pic_flag=$lt_prog_compiler_pic
10747
	  compiler_flags=-v
10748
	  linker_flags=-v
10749
	  verstring=
10750
	  output_objdir=.
10751
	  libname=conftest
10752
	  lt_save_allow_undefined_flag=$allow_undefined_flag
10753
	  allow_undefined_flag=
10754
	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
10755
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
10756
  ac_status=$?
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
10757
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10758
  test $ac_status = 0; }
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
10759
	  then
10760
	    lt_cv_archive_cmds_need_lc=no
10761
	  else
10762
	    lt_cv_archive_cmds_need_lc=yes
10763
	  fi
10764
	  allow_undefined_flag=$lt_save_allow_undefined_flag
10765
	else
10766
	  cat conftest.err 1>&5
10767
	fi
10768
	$RM conftest*
10769
10770
fi
10771
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10772
$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10773
      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
10774
      ;;
10775
    esac
10776
  fi
10777
  ;;
10778
esac
10779
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
10780
10781
10782
10783
10784
10785
10786
10787
10788
10789
10790
10791
10792
10793
10794
10795
10796
10797
10798
10799
10800
10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
10865
10866
10867
10868
10869
10870
10871
10872
10873
10874
10875
10876
10877
10878
10879
10880
10881
10882
10883
10884
10885
10886
10887
10888
10889
10890
10891
10892
10893
10894
10895
10896
10897
10898
10899
10900
10901
10902
10903
10904
10905
10906
10907
10908
10909
10910
10911
10912
10913
10914
10915
10916
10917
10918
10919
10920
10921
10922
10923
10924
10925
10926
10927
10928
10929
10930
10931
10932
10933
10934
10935
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
10936
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
10937
$as_echo_n "checking dynamic linker characteristics... " >&6; }
1.1.45 by Sebastien Bacher
Import upstream version 2.23.3
10938
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
10939
if test "$GCC" = yes; then
1.1.45 by Sebastien Bacher
Import upstream version 2.23.3
10940
  case $host_os in
10941
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10942
    *) lt_awk_arg="/^libraries:/" ;;
10943
  esac
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
10944
  case $host_os in
10945
    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10946
    *) lt_sed_strip_eq="s,=/,/,g" ;;
10947
  esac
10948
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10949
  case $lt_search_path_spec in
10950
  *\;*)
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
10951
    # if the path contains ";" then we assume it to be the separator
10952
    # otherwise default to the standard path separator (i.e. ":") - it is
10953
    # assumed that no part of a normal pathname contains ";" but that should
10954
    # okay in the real world where ";" in dirpaths is itself problematic.
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
10955
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10956
    ;;
10957
  *)
10958
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10959
    ;;
10960
  esac
1.1.45 by Sebastien Bacher
Import upstream version 2.23.3
10961
  # Ok, now we have the path, separated by spaces, we can step through it
10962
  # and add multilib dir if necessary.
10963
  lt_tmp_lt_search_path_spec=
10964
  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10965
  for lt_sys_path in $lt_search_path_spec; do
10966
    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10967
      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10968
    else
10969
      test -d "$lt_sys_path" && \
10970
	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10971
    fi
10972
  done
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
10973
  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
1.1.45 by Sebastien Bacher
Import upstream version 2.23.3
10974
BEGIN {RS=" "; FS="/|\n";} {
10975
  lt_foo="";
10976
  lt_count=0;
10977
  for (lt_i = NF; lt_i > 0; lt_i--) {
10978
    if ($lt_i != "" && $lt_i != ".") {
10979
      if ($lt_i == "..") {
10980
        lt_count++;
10981
      } else {
10982
        if (lt_count == 0) {
10983
          lt_foo="/" $lt_i lt_foo;
10984
        } else {
10985
          lt_count--;
10986
        }
10987
      }
10988
    }
10989
  }
10990
  if (lt_foo != "") { lt_freq[lt_foo]++; }
10991
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
10992
}'`
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
10993
  # AWK program above erroneously prepends '/' to C:/dos/paths
10994
  # for these hosts.
10995
  case $host_os in
10996
    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10997
      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10998
  esac
10999
  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
11000
else
11001
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11002
fi
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
11003
library_names_spec=
11004
libname_spec='lib$name'
11005
soname_spec=
11006
shrext_cmds=".so"
11007
postinstall_cmds=
11008
postuninstall_cmds=
11009
finish_cmds=
11010
finish_eval=
11011
shlibpath_var=
11012
shlibpath_overrides_runpath=unknown
11013
version_type=none
11014
dynamic_linker="$host_os ld.so"
11015
sys_lib_dlsearch_path_spec="/lib /usr/lib"
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
11016
need_lib_prefix=unknown
11017
hardcode_into_libs=no
11018
11019
# when you set need_version to no, make sure it does not cause -set_version
11020
# flags to be left without arguments
11021
need_version=unknown
11022
11023
case $host_os in
11024
aix3*)
11025
  version_type=linux
11026
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11027
  shlibpath_var=LIBPATH
11028
11029
  # AIX 3 has no versioning support, so we append a major version to the name.
11030
  soname_spec='${libname}${release}${shared_ext}$major'
11031
  ;;
11032
1.1.45 by Sebastien Bacher
Import upstream version 2.23.3
11033
aix[4-9]*)
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
11034
  version_type=linux
11035
  need_lib_prefix=no
11036
  need_version=no
11037
  hardcode_into_libs=yes
11038
  if test "$host_cpu" = ia64; then
11039
    # AIX 5 supports IA64
11040
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11041
    shlibpath_var=LD_LIBRARY_PATH
11042
  else
11043
    # With GCC up to 2.95.x, collect2 would create an import file
11044
    # for dependence libraries.  The import file would start with
11045
    # the line `#! .'.  This would cause the generated library to
11046
    # depend on `.', always an invalid library.  This was fixed in
11047
    # development snapshots of GCC prior to 3.0.
11048
    case $host_os in
11049
      aix4 | aix4.[01] | aix4.[01].*)
11050
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11051
	   echo ' yes '
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
11052
	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
11053
	:
11054
      else
11055
	can_build_shared=no
11056
      fi
11057
      ;;
11058
    esac
11059
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11060
    # soname into executable. Probably we can add versioning support to
11061
    # collect2, so additional links can be useful in future.
11062
    if test "$aix_use_runtimelinking" = yes; then
11063
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11064
      # instead of lib<name>.a to let people know that these are not
11065
      # typical AIX shared libraries.
11066
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11067
    else
11068
      # We preserve .a as extension for shared libraries through AIX4.2
11069
      # and later when we are not doing run time linking.
11070
      library_names_spec='${libname}${release}.a $libname.a'
11071
      soname_spec='${libname}${release}${shared_ext}$major'
11072
    fi
11073
    shlibpath_var=LIBPATH
11074
  fi
11075
  ;;
11076
11077
amigaos*)
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
11078
  case $host_cpu in
11079
  powerpc)
11080
    # Since July 2007 AmigaOS4 officially supports .so libraries.
11081
    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11082
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11083
    ;;
11084
  m68k)
11085
    library_names_spec='$libname.ixlibrary $libname.a'
11086
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
11087
    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
11088
    ;;
11089
  esac
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
11090
  ;;
11091
11092
beos*)
11093
  library_names_spec='${libname}${shared_ext}'
11094
  dynamic_linker="$host_os ld.so"
11095
  shlibpath_var=LIBRARY_PATH
11096
  ;;
11097
11098
bsdi[45]*)
11099
  version_type=linux
11100
  need_version=no
11101
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11102
  soname_spec='${libname}${release}${shared_ext}$major'
11103
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11104
  shlibpath_var=LD_LIBRARY_PATH
11105
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11106
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11107
  # the default ld.so.conf also contains /usr/contrib/lib and
11108
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11109
  # libtool to hard-code these into programs
11110
  ;;
11111
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
11112
cygwin* | mingw* | pw32* | cegcc*)
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
11113
  version_type=windows
11114
  shrext_cmds=".dll"
11115
  need_version=no
11116
  need_lib_prefix=no
11117
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
11118
  case $GCC,$cc_basename in
11119
  yes,*)
11120
    # gcc
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
11121
    library_names_spec='$libname.dll.a'
11122
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
11123
    postinstall_cmds='base_file=`basename \${file}`~
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
11124
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
11125
      dldir=$destdir/`dirname \$dlpath`~
11126
      test -d \$dldir || mkdir -p \$dldir~
1.2.1 by Daniel Holbach
Import upstream version 2.14.3
11127
      $install_prog $dir/$dlname \$dldir/$dlname~
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
11128
      chmod a+x \$dldir/$dlname~
11129
      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11130
        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11131
      fi'
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
11132
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11133
      dlpath=$dir/\$dldll~
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
11134
       $RM \$dlpath'
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
11135
    shlibpath_overrides_runpath=yes
11136
11137
    case $host_os in
11138
    cygwin*)
11139
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11140
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
11141
11142
      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
11143
      ;;
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
11144
    mingw* | cegcc*)
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
11145
      # MinGW DLLs use traditional 'lib' prefix
11146
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11147
      ;;
11148
    pw32*)
11149
      # pw32 DLLs use 'pw' prefix rather than 'lib'
11150
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11151
      ;;
11152
    esac
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
11153
    dynamic_linker='Win32 ld.exe'
11154
    ;;
11155
11156
  *,cl*)
11157
    # Native MSVC
11158
    libname_spec='$name'
11159
    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11160
    library_names_spec='${libname}.dll.lib'
11161
11162
    case $build_os in
11163
    mingw*)
11164
      sys_lib_search_path_spec=
11165
      lt_save_ifs=$IFS
11166
      IFS=';'
11167
      for lt_path in $LIB
11168
      do
11169
        IFS=$lt_save_ifs
11170
        # Let DOS variable expansion print the short 8.3 style file name.
11171
        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11172
        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11173
      done
11174
      IFS=$lt_save_ifs
11175
      # Convert to MSYS style.
11176
      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11177
      ;;
11178
    cygwin*)
11179
      # Convert to unix form, then to dos form, then back to unix form
11180
      # but this time dos style (no spaces!) so that the unix form looks
11181
      # like /cygdrive/c/PROGRA~1:/cygdr...
11182
      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11183
      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11184
      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11185
      ;;
11186
    *)
11187
      sys_lib_search_path_spec="$LIB"
11188
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11189
        # It is most probably a Windows format PATH.
11190
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11191
      else
11192
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11193
      fi
11194
      # FIXME: find the short name or the path components, as spaces are
11195
      # common. (e.g. "Program Files" -> "PROGRA~1")
11196
      ;;
11197
    esac
11198
11199
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
11200
    postinstall_cmds='base_file=`basename \${file}`~
11201
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11202
      dldir=$destdir/`dirname \$dlpath`~
11203
      test -d \$dldir || mkdir -p \$dldir~
11204
      $install_prog $dir/$dlname \$dldir/$dlname'
11205
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11206
      dlpath=$dir/\$dldll~
11207
       $RM \$dlpath'
11208
    shlibpath_overrides_runpath=yes
11209
    dynamic_linker='Win32 link.exe'
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
11210
    ;;
11211
11212
  *)
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
11213
    # Assume MSVC wrapper
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
11214
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
11215
    dynamic_linker='Win32 ld.exe'
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
11216
    ;;
11217
  esac
11218
  # FIXME: first we should search . and the directory the executable is in
11219
  shlibpath_var=PATH
11220
  ;;
11221
11222
darwin* | rhapsody*)
11223
  dynamic_linker="$host_os dyld"
11224
  version_type=darwin
11225
  need_lib_prefix=no
11226
  need_version=no
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
11227
  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
11228
  soname_spec='${libname}${release}${major}$shared_ext'
11229
  shlibpath_overrides_runpath=yes
11230
  shlibpath_var=DYLD_LIBRARY_PATH
1.2.1 by Daniel Holbach
Import upstream version 2.14.3
11231
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
1.1.45 by Sebastien Bacher
Import upstream version 2.23.3
11232
11233
  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
11234
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11235
  ;;
11236
11237
dgux*)
11238
  version_type=linux
11239
  need_lib_prefix=no
11240
  need_version=no
11241
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11242
  soname_spec='${libname}${release}${shared_ext}$major'
11243
  shlibpath_var=LD_LIBRARY_PATH
11244
  ;;
11245
11246
freebsd1*)
11247
  dynamic_linker=no
11248
  ;;
11249
11250
freebsd* | dragonfly*)
11251
  # DragonFly does not have aout.  When/if they implement a new
11252
  # versioning mechanism, adjust this.
1.2.1 by Daniel Holbach
Import upstream version 2.14.3
11253
  if test -x /usr/bin/objformat; then
11254
    objformat=`/usr/bin/objformat`
11255
  else
11256
    case $host_os in
11257
    freebsd[123]*) objformat=aout ;;
11258
    *) objformat=elf ;;
11259
    esac
11260
  fi
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
11261
  version_type=freebsd-$objformat
11262
  case $version_type in
11263
    freebsd-elf*)
11264
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11265
      need_version=no
11266
      need_lib_prefix=no
11267
      ;;
11268
    freebsd-*)
11269
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11270
      need_version=yes
11271
      ;;
11272
  esac
11273
  shlibpath_var=LD_LIBRARY_PATH
11274
  case $host_os in
11275
  freebsd2*)
11276
    shlibpath_overrides_runpath=yes
11277
    ;;
11278
  freebsd3.[01]* | freebsdelf3.[01]*)
11279
    shlibpath_overrides_runpath=yes
11280
    hardcode_into_libs=yes
11281
    ;;
1.2.1 by Daniel Holbach
Import upstream version 2.14.3
11282
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11283
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
11284
    shlibpath_overrides_runpath=no
11285
    hardcode_into_libs=yes
11286
    ;;
1.1.45 by Sebastien Bacher
Import upstream version 2.23.3
11287
  *) # from 4.6 on, and DragonFly
1.2.1 by Daniel Holbach
Import upstream version 2.14.3
11288
    shlibpath_overrides_runpath=yes
11289
    hardcode_into_libs=yes
11290
    ;;
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
11291
  esac
11292
  ;;
11293
11294
gnu*)
11295
  version_type=linux
11296
  need_lib_prefix=no
11297
  need_version=no
11298
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11299
  soname_spec='${libname}${release}${shared_ext}$major'
11300
  shlibpath_var=LD_LIBRARY_PATH
11301
  hardcode_into_libs=yes
11302
  ;;
11303
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
11304
haiku*)
11305
  version_type=linux
11306
  need_lib_prefix=no
11307
  need_version=no
11308
  dynamic_linker="$host_os runtime_loader"
11309
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11310
  soname_spec='${libname}${release}${shared_ext}$major'
11311
  shlibpath_var=LIBRARY_PATH
11312
  shlibpath_overrides_runpath=yes
11313
  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11314
  hardcode_into_libs=yes
11315
  ;;
11316
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
11317
hpux9* | hpux10* | hpux11*)
11318
  # Give a soname corresponding to the major version so that dld.sl refuses to
11319
  # link against other versions.
11320
  version_type=sunos
11321
  need_lib_prefix=no
11322
  need_version=no
1.2.1 by Daniel Holbach
Import upstream version 2.14.3
11323
  case $host_cpu in
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
11324
  ia64*)
11325
    shrext_cmds='.so'
11326
    hardcode_into_libs=yes
11327
    dynamic_linker="$host_os dld.so"
11328
    shlibpath_var=LD_LIBRARY_PATH
11329
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11330
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11331
    soname_spec='${libname}${release}${shared_ext}$major'
11332
    if test "X$HPUX_IA64_MODE" = X32; then
11333
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11334
    else
11335
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11336
    fi
11337
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11338
    ;;
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
11339
  hppa*64*)
11340
    shrext_cmds='.sl'
11341
    hardcode_into_libs=yes
11342
    dynamic_linker="$host_os dld.sl"
11343
    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11344
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11345
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11346
    soname_spec='${libname}${release}${shared_ext}$major'
11347
    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11348
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11349
    ;;
11350
  *)
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
11351
    shrext_cmds='.sl'
11352
    dynamic_linker="$host_os dld.sl"
11353
    shlibpath_var=SHLIB_PATH
11354
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11355
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11356
    soname_spec='${libname}${release}${shared_ext}$major'
11357
    ;;
11358
  esac
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
11359
  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
11360
  postinstall_cmds='chmod 555 $lib'
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
11361
  # or fails outright, so override atomically:
11362
  install_override_mode=555
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
11363
  ;;
11364
1.1.45 by Sebastien Bacher
Import upstream version 2.23.3
11365
interix[3-9]*)
1.2.1 by Daniel Holbach
Import upstream version 2.14.3
11366
  version_type=linux
11367
  need_lib_prefix=no
11368
  need_version=no
11369
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11370
  soname_spec='${libname}${release}${shared_ext}$major'
11371
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11372
  shlibpath_var=LD_LIBRARY_PATH
11373
  shlibpath_overrides_runpath=no
11374
  hardcode_into_libs=yes
11375
  ;;
11376
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
11377
irix5* | irix6* | nonstopux*)
11378
  case $host_os in
11379
    nonstopux*) version_type=nonstopux ;;
11380
    *)
11381
	if test "$lt_cv_prog_gnu_ld" = yes; then
11382
		version_type=linux
11383
	else
11384
		version_type=irix
11385
	fi ;;
11386
  esac
11387
  need_lib_prefix=no
11388
  need_version=no
11389
  soname_spec='${libname}${release}${shared_ext}$major'
11390
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11391
  case $host_os in
11392
  irix5* | nonstopux*)
11393
    libsuff= shlibsuff=
11394
    ;;
11395
  *)
11396
    case $LD in # libtool.m4 will add one of these switches to LD
11397
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11398
      libsuff= shlibsuff= libmagic=32-bit;;
11399
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11400
      libsuff=32 shlibsuff=N32 libmagic=N32;;
11401
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11402
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
11403
    *) libsuff= shlibsuff= libmagic=never-match;;
11404
    esac
11405
    ;;
11406
  esac
11407
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11408
  shlibpath_overrides_runpath=no
11409
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11410
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11411
  hardcode_into_libs=yes
11412
  ;;
11413
11414
# No shared lib support for Linux oldld, aout, or coff.
11415
linux*oldld* | linux*aout* | linux*coff*)
11416
  dynamic_linker=no
11417
  ;;
11418
11419
# This must be Linux ELF.
2.5.1 by Luca Bruno
* New upstream release.
11420
linux* | k*bsd*-gnu | kopensolaris*-gnu)
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
11421
  version_type=linux
11422
  need_lib_prefix=no
11423
  need_version=no
11424
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11425
  soname_spec='${libname}${release}${shared_ext}$major'
11426
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11427
  shlibpath_var=LD_LIBRARY_PATH
11428
  shlibpath_overrides_runpath=no
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
11429
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
11430
  # Some binutils ld are patched to set DT_RUNPATH
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
11431
  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
11432
  $as_echo_n "(cached) " >&6
11433
else
11434
  lt_cv_shlibpath_overrides_runpath=no
11435
    save_LDFLAGS=$LDFLAGS
11436
    save_libdir=$libdir
11437
    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11438
	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11439
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
11440
/* end confdefs.h.  */
11441
11442
int
11443
main ()
11444
{
11445
11446
  ;
11447
  return 0;
11448
}
11449
_ACEOF
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
11450
if ac_fn_c_try_link "$LINENO"; then :
11451
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
11452
  lt_cv_shlibpath_overrides_runpath=yes
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
11453
fi
11454
fi
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
11455
rm -f core conftest.err conftest.$ac_objext \
11456
    conftest$ac_exeext conftest.$ac_ext
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
11457
    LDFLAGS=$save_LDFLAGS
11458
    libdir=$save_libdir
11459
11460
fi
11461
11462
  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
11463
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
11464
  # This implies no fast_install, which is unacceptable.
11465
  # Some rework will be needed to allow for fast_install
11466
  # before this can be enabled.
11467
  hardcode_into_libs=yes
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
11468
1.5.2 by Emilio Pozuelo Monfort
Import upstream version 2.28.3
11469
  # Add ABI-specific directories to the system library path.
11470
  sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
11471
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
11472
  # Append ld.so.conf contents to the search path
11473
  if test -f /etc/ld.so.conf; then
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
11474
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[	 ]*hwcap[	 ]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
1.5.2 by Emilio Pozuelo Monfort
Import upstream version 2.28.3
11475
    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
11476
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
11477
  fi
11478
11479
  # We used to test for /lib/ld.so.1 and disable shared libraries on
11480
  # powerpc, because MkLinux only supported shared libraries with the
11481
  # GNU dynamic linker.  Since this was broken with cross compilers,
11482
  # most powerpc-linux boxes support dynamic linking these days and
11483
  # people can always --disable-shared, the test was removed, and we
11484
  # assume the GNU/Linux dynamic linker is in use.
11485
  dynamic_linker='GNU/Linux ld.so'
11486
  ;;
11487
11488
netbsd*)
11489
  version_type=sunos
11490
  need_lib_prefix=no
11491
  need_version=no
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
11492
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
11493
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11494
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11495
    dynamic_linker='NetBSD (a.out) ld.so'
11496
  else
11497
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11498
    soname_spec='${libname}${release}${shared_ext}$major'
11499
    dynamic_linker='NetBSD ld.elf_so'
11500
  fi
11501
  shlibpath_var=LD_LIBRARY_PATH
11502
  shlibpath_overrides_runpath=yes
11503
  hardcode_into_libs=yes
11504
  ;;
11505
11506
newsos6)
11507
  version_type=linux
11508
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11509
  shlibpath_var=LD_LIBRARY_PATH
11510
  shlibpath_overrides_runpath=yes
11511
  ;;
11512
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
11513
*nto* | *qnx*)
11514
  version_type=qnx
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
11515
  need_lib_prefix=no
11516
  need_version=no
11517
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11518
  soname_spec='${libname}${release}${shared_ext}$major'
11519
  shlibpath_var=LD_LIBRARY_PATH
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
11520
  shlibpath_overrides_runpath=no
11521
  hardcode_into_libs=yes
11522
  dynamic_linker='ldqnx.so'
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
11523
  ;;
11524
11525
openbsd*)
11526
  version_type=sunos
1.2.1 by Daniel Holbach
Import upstream version 2.14.3
11527
  sys_lib_dlsearch_path_spec="/usr/lib"
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
11528
  need_lib_prefix=no
11529
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11530
  case $host_os in
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
11531
    openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
11532
    *)				need_version=no  ;;
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
11533
  esac
11534
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11535
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11536
  shlibpath_var=LD_LIBRARY_PATH
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
11537
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
11538
    case $host_os in
11539
      openbsd2.[89] | openbsd2.[89].*)
11540
	shlibpath_overrides_runpath=no
11541
	;;
11542
      *)
11543
	shlibpath_overrides_runpath=yes
11544
	;;
11545
      esac
11546
  else
11547
    shlibpath_overrides_runpath=yes
11548
  fi
11549
  ;;
11550
11551
os2*)
11552
  libname_spec='$name'
11553
  shrext_cmds=".dll"
11554
  need_lib_prefix=no
11555
  library_names_spec='$libname${shared_ext} $libname.a'
11556
  dynamic_linker='OS/2 ld.exe'
11557
  shlibpath_var=LIBPATH
11558
  ;;
11559
11560
osf3* | osf4* | osf5*)
11561
  version_type=osf
11562
  need_lib_prefix=no
11563
  need_version=no
11564
  soname_spec='${libname}${release}${shared_ext}$major'
11565
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11566
  shlibpath_var=LD_LIBRARY_PATH
11567
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11568
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11569
  ;;
11570
1.1.45 by Sebastien Bacher
Import upstream version 2.23.3
11571
rdos*)
11572
  dynamic_linker=no
11573
  ;;
11574
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
11575
solaris*)
11576
  version_type=linux
11577
  need_lib_prefix=no
11578
  need_version=no
11579
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11580
  soname_spec='${libname}${release}${shared_ext}$major'
11581
  shlibpath_var=LD_LIBRARY_PATH
11582
  shlibpath_overrides_runpath=yes
11583
  hardcode_into_libs=yes
11584
  # ldd complains unless libraries are executable
11585
  postinstall_cmds='chmod +x $lib'
11586
  ;;
11587
11588
sunos4*)
11589
  version_type=sunos
11590
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11591
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11592
  shlibpath_var=LD_LIBRARY_PATH
11593
  shlibpath_overrides_runpath=yes
11594
  if test "$with_gnu_ld" = yes; then
11595
    need_lib_prefix=no
11596
  fi
11597
  need_version=yes
11598
  ;;
11599
1.2.1 by Daniel Holbach
Import upstream version 2.14.3
11600
sysv4 | sysv4.3*)
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
11601
  version_type=linux
11602
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11603
  soname_spec='${libname}${release}${shared_ext}$major'
11604
  shlibpath_var=LD_LIBRARY_PATH
11605
  case $host_vendor in
11606
    sni)
11607
      shlibpath_overrides_runpath=no
11608
      need_lib_prefix=no
11609
      runpath_var=LD_RUN_PATH
11610
      ;;
11611
    siemens)
11612
      need_lib_prefix=no
11613
      ;;
11614
    motorola)
11615
      need_lib_prefix=no
11616
      need_version=no
11617
      shlibpath_overrides_runpath=no
11618
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11619
      ;;
11620
  esac
11621
  ;;
11622
11623
sysv4*MP*)
11624
  if test -d /usr/nec ;then
11625
    version_type=linux
11626
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11627
    soname_spec='$libname${shared_ext}.$major'
11628
    shlibpath_var=LD_LIBRARY_PATH
11629
  fi
11630
  ;;
11631
1.2.1 by Daniel Holbach
Import upstream version 2.14.3
11632
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11633
  version_type=freebsd-elf
11634
  need_lib_prefix=no
11635
  need_version=no
11636
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11637
  soname_spec='${libname}${release}${shared_ext}$major'
11638
  shlibpath_var=LD_LIBRARY_PATH
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
11639
  shlibpath_overrides_runpath=yes
1.2.1 by Daniel Holbach
Import upstream version 2.14.3
11640
  hardcode_into_libs=yes
11641
  if test "$with_gnu_ld" = yes; then
11642
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11643
  else
11644
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11645
    case $host_os in
11646
      sco3.2v5*)
11647
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11648
	;;
11649
    esac
11650
  fi
11651
  sys_lib_dlsearch_path_spec='/usr/lib'
11652
  ;;
11653
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
11654
tpf*)
11655
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11656
  version_type=linux
11657
  need_lib_prefix=no
11658
  need_version=no
11659
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11660
  shlibpath_var=LD_LIBRARY_PATH
11661
  shlibpath_overrides_runpath=no
11662
  hardcode_into_libs=yes
11663
  ;;
11664
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
11665
uts4*)
11666
  version_type=linux
11667
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11668
  soname_spec='${libname}${release}${shared_ext}$major'
11669
  shlibpath_var=LD_LIBRARY_PATH
11670
  ;;
11671
11672
*)
11673
  dynamic_linker=no
11674
  ;;
11675
esac
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
11676
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
11677
$as_echo "$dynamic_linker" >&6; }
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
11678
test "$dynamic_linker" = no && can_build_shared=no
11679
1.2.1 by Daniel Holbach
Import upstream version 2.14.3
11680
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11681
if test "$GCC" = yes; then
11682
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11683
fi
11684
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
11685
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11686
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11687
fi
11688
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11689
  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11690
fi
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
11712
11713
11714
11715
11716
11717
11718
11719
11720
11721
11722
11723
11724
11725
11726
11727
11728
11729
11730
11731
11732
11733
11734
11735
11736
11737
11738
11739
11740
11741
11742
11743
11744
11745
11746
11747
11748
11749
11750
11751
11752
11753
11754
11755
11756
11757
11758
11759
11760
11761
11762
11763
11764
11765
11766
11767
11768
11769
11770
11771
11772
11773
11774
11775
11776
11777
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
11778
11779
11780
11781
11782
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
11783
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
11784
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
11785
hardcode_action=
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
11786
if test -n "$hardcode_libdir_flag_spec" ||
11787
   test -n "$runpath_var" ||
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
11788
   test "X$hardcode_automatic" = "Xyes" ; then
11789
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
11790
  # We can hardcode non-existent directories.
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
11791
  if test "$hardcode_direct" != no &&
11792
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
11793
     # have to relink, otherwise we might link with an installed library
11794
     # when we should be linking with a yet-to-be-installed one
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
11795
     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
11796
     test "$hardcode_minus_L" != no; then
11797
    # Linking always hardcodes the temporary library directory.
11798
    hardcode_action=relink
11799
  else
11800
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
11801
    hardcode_action=immediate
11802
  fi
11803
else
11804
  # We cannot hardcode anything, or else we can only hardcode existing
11805
  # directories.
11806
  hardcode_action=unsupported
11807
fi
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
11808
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
11809
$as_echo "$hardcode_action" >&6; }
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
11810
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
11811
if test "$hardcode_action" = relink ||
11812
   test "$inherit_rpath" = yes; then
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
11813
  # Fast installation is not supported
11814
  enable_fast_install=no
11815
elif test "$shlibpath_overrides_runpath" = yes ||
11816
     test "$enable_shared" = no; then
11817
  # Fast installation is not necessary
11818
  enable_fast_install=needless
11819
fi
11820
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
11821
11822
11823
11824
11825
11826
  if test "x$enable_dlopen" != xyes; then
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
11827
  enable_dlopen=unknown
11828
  enable_dlopen_self=unknown
11829
  enable_dlopen_self_static=unknown
11830
else
11831
  lt_cv_dlopen=no
11832
  lt_cv_dlopen_libs=
11833
11834
  case $host_os in
11835
  beos*)
11836
    lt_cv_dlopen="load_add_on"
11837
    lt_cv_dlopen_libs=
11838
    lt_cv_dlopen_self=yes
11839
    ;;
11840
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
11841
  mingw* | pw32* | cegcc*)
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
11842
    lt_cv_dlopen="LoadLibrary"
11843
    lt_cv_dlopen_libs=
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
11844
    ;;
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
11845
11846
  cygwin*)
11847
    lt_cv_dlopen="dlopen"
11848
    lt_cv_dlopen_libs=
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
11849
    ;;
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
11850
11851
  darwin*)
11852
  # if libdl is installed we need to link against it
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
11853
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
11854
$as_echo_n "checking for dlopen in -ldl... " >&6; }
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
11855
if ${ac_cv_lib_dl_dlopen+:} false; then :
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
11856
  $as_echo_n "(cached) " >&6
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
11857
else
11858
  ac_check_lib_save_LIBS=$LIBS
11859
LIBS="-ldl  $LIBS"
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
11860
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
11861
/* end confdefs.h.  */
11862
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
11863
/* Override any GCC internal prototype to avoid an error.
11864
   Use char because int might match the return type of a GCC
11865
   builtin and then its argument prototype would still apply.  */
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
11866
#ifdef __cplusplus
11867
extern "C"
11868
#endif
11869
char dlopen ();
11870
int
11871
main ()
11872
{
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
11873
return dlopen ();
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
11874
  ;
11875
  return 0;
11876
}
11877
_ACEOF
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
11878
if ac_fn_c_try_link "$LINENO"; then :
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
11879
  ac_cv_lib_dl_dlopen=yes
11880
else
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
11881
  ac_cv_lib_dl_dlopen=no
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
11882
fi
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
11883
rm -f core conftest.err conftest.$ac_objext \
11884
    conftest$ac_exeext conftest.$ac_ext
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
11885
LIBS=$ac_check_lib_save_LIBS
11886
fi
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
11887
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
11888
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
11889
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
11890
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11891
else
11892
11893
    lt_cv_dlopen="dyld"
11894
    lt_cv_dlopen_libs=
11895
    lt_cv_dlopen_self=yes
11896
11897
fi
11898
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
11899
    ;;
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
11900
11901
  *)
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
11902
    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
11903
if test "x$ac_cv_func_shl_load" = xyes; then :
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
11904
  lt_cv_dlopen="shl_load"
11905
else
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
11906
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
11907
$as_echo_n "checking for shl_load in -ldld... " >&6; }
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
11908
if ${ac_cv_lib_dld_shl_load+:} false; then :
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
11909
  $as_echo_n "(cached) " >&6
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
11910
else
11911
  ac_check_lib_save_LIBS=$LIBS
11912
LIBS="-ldld  $LIBS"
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
11913
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
11914
/* end confdefs.h.  */
11915
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
11916
/* Override any GCC internal prototype to avoid an error.
11917
   Use char because int might match the return type of a GCC
11918
   builtin and then its argument prototype would still apply.  */
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
11919
#ifdef __cplusplus
11920
extern "C"
11921
#endif
11922
char shl_load ();
11923
int
11924
main ()
11925
{
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
11926
return shl_load ();
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
11927
  ;
11928
  return 0;
11929
}
11930
_ACEOF
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
11931
if ac_fn_c_try_link "$LINENO"; then :
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
11932
  ac_cv_lib_dld_shl_load=yes
11933
else
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
11934
  ac_cv_lib_dld_shl_load=no
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
11935
fi
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
11936
rm -f core conftest.err conftest.$ac_objext \
11937
    conftest$ac_exeext conftest.$ac_ext
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
11938
LIBS=$ac_check_lib_save_LIBS
11939
fi
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
11940
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
11941
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
11942
if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
1.1.45 by Sebastien Bacher
Import upstream version 2.23.3
11943
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
11944
else
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
11945
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
11946
if test "x$ac_cv_func_dlopen" = xyes; then :
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
11947
  lt_cv_dlopen="dlopen"
11948
else
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
11949
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
11950
$as_echo_n "checking for dlopen in -ldl... " >&6; }
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
11951
if ${ac_cv_lib_dl_dlopen+:} false; then :
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
11952
  $as_echo_n "(cached) " >&6
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
11953
else
11954
  ac_check_lib_save_LIBS=$LIBS
11955
LIBS="-ldl  $LIBS"
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
11956
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
11957
/* end confdefs.h.  */
11958
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
11959
/* Override any GCC internal prototype to avoid an error.
11960
   Use char because int might match the return type of a GCC
11961
   builtin and then its argument prototype would still apply.  */
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
11962
#ifdef __cplusplus
11963
extern "C"
11964
#endif
11965
char dlopen ();
11966
int
11967
main ()
11968
{
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
11969
return dlopen ();
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
11970
  ;
11971
  return 0;
11972
}
11973
_ACEOF
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
11974
if ac_fn_c_try_link "$LINENO"; then :
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
11975
  ac_cv_lib_dl_dlopen=yes
11976
else
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
11977
  ac_cv_lib_dl_dlopen=no
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
11978
fi
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
11979
rm -f core conftest.err conftest.$ac_objext \
11980
    conftest$ac_exeext conftest.$ac_ext
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
11981
LIBS=$ac_check_lib_save_LIBS
11982
fi
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
11983
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
11984
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
11985
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
11986
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11987
else
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
11988
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
11989
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
11990
if ${ac_cv_lib_svld_dlopen+:} false; then :
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
11991
  $as_echo_n "(cached) " >&6
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
11992
else
11993
  ac_check_lib_save_LIBS=$LIBS
11994
LIBS="-lsvld  $LIBS"
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
11995
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
11996
/* end confdefs.h.  */
11997
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
11998
/* Override any GCC internal prototype to avoid an error.
11999
   Use char because int might match the return type of a GCC
12000
   builtin and then its argument prototype would still apply.  */
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
12001
#ifdef __cplusplus
12002
extern "C"
12003
#endif
12004
char dlopen ();
12005
int
12006
main ()
12007
{
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
12008
return dlopen ();
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
12009
  ;
12010
  return 0;
12011
}
12012
_ACEOF
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
12013
if ac_fn_c_try_link "$LINENO"; then :
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
12014
  ac_cv_lib_svld_dlopen=yes
12015
else
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
12016
  ac_cv_lib_svld_dlopen=no
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
12017
fi
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
12018
rm -f core conftest.err conftest.$ac_objext \
12019
    conftest$ac_exeext conftest.$ac_ext
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
12020
LIBS=$ac_check_lib_save_LIBS
12021
fi
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
12022
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
12023
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
12024
if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
12025
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12026
else
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
12027
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
12028
$as_echo_n "checking for dld_link in -ldld... " >&6; }
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
12029
if ${ac_cv_lib_dld_dld_link+:} false; then :
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
12030
  $as_echo_n "(cached) " >&6
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
12031
else
12032
  ac_check_lib_save_LIBS=$LIBS
12033
LIBS="-ldld  $LIBS"
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
12034
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
12035
/* end confdefs.h.  */
12036
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
12037
/* Override any GCC internal prototype to avoid an error.
12038
   Use char because int might match the return type of a GCC
12039
   builtin and then its argument prototype would still apply.  */
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
12040
#ifdef __cplusplus
12041
extern "C"
12042
#endif
12043
char dld_link ();
12044
int
12045
main ()
12046
{
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
12047
return dld_link ();
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
12048
  ;
12049
  return 0;
12050
}
12051
_ACEOF
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
12052
if ac_fn_c_try_link "$LINENO"; then :
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
12053
  ac_cv_lib_dld_dld_link=yes
12054
else
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
12055
  ac_cv_lib_dld_dld_link=no
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
12056
fi
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
12057
rm -f core conftest.err conftest.$ac_objext \
12058
    conftest$ac_exeext conftest.$ac_ext
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
12059
LIBS=$ac_check_lib_save_LIBS
12060
fi
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
12061
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
12062
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
12063
if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
1.1.45 by Sebastien Bacher
Import upstream version 2.23.3
12064
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
12065
fi
12066
12067
12068
fi
12069
12070
12071
fi
12072
12073
12074
fi
12075
12076
12077
fi
12078
12079
12080
fi
12081
12082
    ;;
12083
  esac
12084
12085
  if test "x$lt_cv_dlopen" != xno; then
12086
    enable_dlopen=yes
12087
  else
12088
    enable_dlopen=no
12089
  fi
12090
12091
  case $lt_cv_dlopen in
12092
  dlopen)
12093
    save_CPPFLAGS="$CPPFLAGS"
12094
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12095
12096
    save_LDFLAGS="$LDFLAGS"
1.2.1 by Daniel Holbach
Import upstream version 2.14.3
12097
    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
12098
12099
    save_LIBS="$LIBS"
12100
    LIBS="$lt_cv_dlopen_libs $LIBS"
12101
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
12102
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
12103
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
12104
if ${lt_cv_dlopen_self+:} false; then :
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
12105
  $as_echo_n "(cached) " >&6
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
12106
else
12107
  	  if test "$cross_compiling" = yes; then :
12108
  lt_cv_dlopen_self=cross
12109
else
12110
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12111
  lt_status=$lt_dlunknown
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
12112
  cat > conftest.$ac_ext <<_LT_EOF
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
12113
#line $LINENO "configure"
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
12114
#include "confdefs.h"
12115
12116
#if HAVE_DLFCN_H
12117
#include <dlfcn.h>
12118
#endif
12119
12120
#include <stdio.h>
12121
12122
#ifdef RTLD_GLOBAL
12123
#  define LT_DLGLOBAL		RTLD_GLOBAL
12124
#else
12125
#  ifdef DL_GLOBAL
12126
#    define LT_DLGLOBAL		DL_GLOBAL
12127
#  else
12128
#    define LT_DLGLOBAL		0
12129
#  endif
12130
#endif
12131
12132
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12133
   find out it does not work in some platform. */
12134
#ifndef LT_DLLAZY_OR_NOW
12135
#  ifdef RTLD_LAZY
12136
#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
12137
#  else
12138
#    ifdef DL_LAZY
12139
#      define LT_DLLAZY_OR_NOW		DL_LAZY
12140
#    else
12141
#      ifdef RTLD_NOW
12142
#        define LT_DLLAZY_OR_NOW	RTLD_NOW
12143
#      else
12144
#        ifdef DL_NOW
12145
#          define LT_DLLAZY_OR_NOW	DL_NOW
12146
#        else
12147
#          define LT_DLLAZY_OR_NOW	0
12148
#        endif
12149
#      endif
12150
#    endif
12151
#  endif
12152
#endif
12153
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
12154
/* When -fvisbility=hidden is used, assume the code has been annotated
12155
   correspondingly for the symbols needed.  */
12156
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
12157
int fnord () __attribute__((visibility("default")));
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
12158
#endif
12159
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
12160
int fnord () { return 42; }
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
12161
int main ()
12162
{
12163
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12164
  int status = $lt_dlunknown;
12165
12166
  if (self)
12167
    {
12168
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
12169
      else
12170
        {
12171
	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12172
          else puts (dlerror ());
12173
	}
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
12174
      /* dlclose (self); */
12175
    }
1.2.1 by Daniel Holbach
Import upstream version 2.14.3
12176
  else
12177
    puts (dlerror ());
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
12178
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
12179
  return status;
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
12180
}
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
12181
_LT_EOF
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
12182
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
12183
  (eval $ac_link) 2>&5
12184
  ac_status=$?
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
12185
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12186
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
1.2.1 by Daniel Holbach
Import upstream version 2.14.3
12187
    (./conftest; exit; ) >&5 2>/dev/null
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
12188
    lt_status=$?
12189
    case x$lt_status in
12190
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12191
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
1.2.1 by Daniel Holbach
Import upstream version 2.14.3
12192
      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
12193
    esac
12194
  else :
12195
    # compilation failed
12196
    lt_cv_dlopen_self=no
12197
  fi
12198
fi
12199
rm -fr conftest*
12200
12201
12202
fi
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
12203
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
12204
$as_echo "$lt_cv_dlopen_self" >&6; }
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
12205
12206
    if test "x$lt_cv_dlopen_self" = xyes; then
1.2.1 by Daniel Holbach
Import upstream version 2.14.3
12207
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
12208
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
12209
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
12210
if ${lt_cv_dlopen_self_static+:} false; then :
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
12211
  $as_echo_n "(cached) " >&6
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
12212
else
12213
  	  if test "$cross_compiling" = yes; then :
12214
  lt_cv_dlopen_self_static=cross
12215
else
12216
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12217
  lt_status=$lt_dlunknown
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
12218
  cat > conftest.$ac_ext <<_LT_EOF
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
12219
#line $LINENO "configure"
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
12220
#include "confdefs.h"
12221
12222
#if HAVE_DLFCN_H
12223
#include <dlfcn.h>
12224
#endif
12225
12226
#include <stdio.h>
12227
12228
#ifdef RTLD_GLOBAL
12229
#  define LT_DLGLOBAL		RTLD_GLOBAL
12230
#else
12231
#  ifdef DL_GLOBAL
12232
#    define LT_DLGLOBAL		DL_GLOBAL
12233
#  else
12234
#    define LT_DLGLOBAL		0
12235
#  endif
12236
#endif
12237
12238
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12239
   find out it does not work in some platform. */
12240
#ifndef LT_DLLAZY_OR_NOW
12241
#  ifdef RTLD_LAZY
12242
#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
12243
#  else
12244
#    ifdef DL_LAZY
12245
#      define LT_DLLAZY_OR_NOW		DL_LAZY
12246
#    else
12247
#      ifdef RTLD_NOW
12248
#        define LT_DLLAZY_OR_NOW	RTLD_NOW
12249
#      else
12250
#        ifdef DL_NOW
12251
#          define LT_DLLAZY_OR_NOW	DL_NOW
12252
#        else
12253
#          define LT_DLLAZY_OR_NOW	0
12254
#        endif
12255
#      endif
12256
#    endif
12257
#  endif
12258
#endif
12259
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
12260
/* When -fvisbility=hidden is used, assume the code has been annotated
12261
   correspondingly for the symbols needed.  */
12262
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
12263
int fnord () __attribute__((visibility("default")));
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
12264
#endif
12265
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
12266
int fnord () { return 42; }
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
12267
int main ()
12268
{
12269
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12270
  int status = $lt_dlunknown;
12271
12272
  if (self)
12273
    {
12274
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
12275
      else
12276
        {
12277
	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12278
          else puts (dlerror ());
12279
	}
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
12280
      /* dlclose (self); */
12281
    }
1.2.1 by Daniel Holbach
Import upstream version 2.14.3
12282
  else
12283
    puts (dlerror ());
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
12284
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
12285
  return status;
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
12286
}
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
12287
_LT_EOF
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
12288
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
12289
  (eval $ac_link) 2>&5
12290
  ac_status=$?
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
12291
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12292
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
1.2.1 by Daniel Holbach
Import upstream version 2.14.3
12293
    (./conftest; exit; ) >&5 2>/dev/null
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
12294
    lt_status=$?
12295
    case x$lt_status in
12296
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12297
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
1.2.1 by Daniel Holbach
Import upstream version 2.14.3
12298
      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
12299
    esac
12300
  else :
12301
    # compilation failed
12302
    lt_cv_dlopen_self_static=no
12303
  fi
12304
fi
12305
rm -fr conftest*
12306
12307
12308
fi
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
12309
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
12310
$as_echo "$lt_cv_dlopen_self_static" >&6; }
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
12311
    fi
12312
12313
    CPPFLAGS="$save_CPPFLAGS"
12314
    LDFLAGS="$save_LDFLAGS"
12315
    LIBS="$save_LIBS"
12316
    ;;
12317
  esac
12318
12319
  case $lt_cv_dlopen_self in
12320
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12321
  *) enable_dlopen_self=unknown ;;
12322
  esac
12323
12324
  case $lt_cv_dlopen_self_static in
12325
  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12326
  *) enable_dlopen_self_static=unknown ;;
12327
  esac
12328
fi
12329
12330
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
12331
12332
12333
12334
12335
12336
12337
12338
12339
12340
12341
12342
12343
12344
12345
12346
striplib=
12347
old_striplib=
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
12348
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
12349
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
12350
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12351
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12352
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
12353
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
12354
$as_echo "yes" >&6; }
12355
else
12356
# FIXME - insert some real tests, host_os isn't really good enough
12357
  case $host_os in
12358
  darwin*)
12359
    if test -n "$STRIP" ; then
12360
      striplib="$STRIP -x"
12361
      old_striplib="$STRIP -S"
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
12362
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
12363
$as_echo "yes" >&6; }
12364
    else
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
12365
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
12366
$as_echo "no" >&6; }
12367
    fi
12368
    ;;
12369
  *)
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
12370
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
12371
$as_echo "no" >&6; }
12372
    ;;
12373
  esac
12374
fi
12375
12376
12377
12378
12379
12380
12381
12382
12383
12384
12385
12386
12387
  # Report which library types will actually be built
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
12388
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
12389
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
12390
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
12391
$as_echo "$can_build_shared" >&6; }
12392
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
12393
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
12394
$as_echo_n "checking whether to build shared libraries... " >&6; }
12395
  test "$can_build_shared" = "no" && enable_shared=no
12396
12397
  # On AIX, shared libraries and static libraries use the same namespace, and
12398
  # are all built from PIC.
12399
  case $host_os in
12400
  aix3*)
12401
    test "$enable_shared" = yes && enable_static=no
12402
    if test -n "$RANLIB"; then
12403
      archive_cmds="$archive_cmds~\$RANLIB \$lib"
12404
      postinstall_cmds='$RANLIB $lib'
12405
    fi
12406
    ;;
12407
12408
  aix[4-9]*)
12409
    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12410
      test "$enable_shared" = yes && enable_static=no
12411
    fi
12412
    ;;
12413
  esac
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
12414
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
12415
$as_echo "$enable_shared" >&6; }
12416
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
12417
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
12418
$as_echo_n "checking whether to build static libraries... " >&6; }
12419
  # Make sure either enable_shared or enable_static is yes.
12420
  test "$enable_shared" = yes || enable_static=yes
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
12421
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
12422
$as_echo "$enable_static" >&6; }
12423
12424
12425
12426
12427
fi
12428
ac_ext=c
12429
ac_cpp='$CPP $CPPFLAGS'
12430
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12431
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12432
ac_compiler_gnu=$ac_cv_c_compiler_gnu
12433
12434
CC="$lt_save_CC"
12435
12436
12437
12438
12439
12440
12441
12442
12443
12444
12445
12446
12447
12448
        ac_config_commands="$ac_config_commands libtool"
12449
12450
12451
12452
12453
# Only expand once:
1.3.2 by Josselin Mouette
Import upstream version 2.26.1
12454
12455
12456
1.7.1 by Mirco Bauer
Import upstream version 3.0.0
12457
GEDIT_API_VERSION=3.0
1.1.72 by Didier Roche
Import upstream version 2.29.5
12458
12459
12460
12461
1.5.1 by Emilio Pozuelo Monfort
Import upstream version 2.28.2
12462
    # Extract the first word of "gtkdoc-check", so it can be a program name with args.
12463
set dummy gtkdoc-check; ac_word=$2
1.1.76 by Sebastien Bacher
Import upstream version 2.29.9
12464
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.5.1 by Emilio Pozuelo Monfort
Import upstream version 2.28.2
12465
$as_echo_n "checking for $ac_word... " >&6; }
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
12466
if ${ac_cv_path_GTKDOC_CHECK+:} false; then :
1.5.1 by Emilio Pozuelo Monfort
Import upstream version 2.28.2
12467
  $as_echo_n "(cached) " >&6
12468
else
12469
  case $GTKDOC_CHECK in
12470
  [\\/]* | ?:[\\/]*)
12471
  ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
12472
  ;;
12473
  *)
12474
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12475
for as_dir in $PATH
12476
do
12477
  IFS=$as_save_IFS
12478
  test -z "$as_dir" && as_dir=.
1.1.76 by Sebastien Bacher
Import upstream version 2.29.9
12479
    for ac_exec_ext in '' $ac_executable_extensions; do
1.5.1 by Emilio Pozuelo Monfort
Import upstream version 2.28.2
12480
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12481
    ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
1.1.76 by Sebastien Bacher
Import upstream version 2.29.9
12482
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.5.1 by Emilio Pozuelo Monfort
Import upstream version 2.28.2
12483
    break 2
12484
  fi
12485
done
1.1.76 by Sebastien Bacher
Import upstream version 2.29.9
12486
  done
1.5.1 by Emilio Pozuelo Monfort
Import upstream version 2.28.2
12487
IFS=$as_save_IFS
12488
12489
  ;;
12490
esac
12491
fi
12492
GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
12493
if test -n "$GTKDOC_CHECK"; then
1.1.76 by Sebastien Bacher
Import upstream version 2.29.9
12494
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
1.5.1 by Emilio Pozuelo Monfort
Import upstream version 2.28.2
12495
$as_echo "$GTKDOC_CHECK" >&6; }
12496
else
1.1.76 by Sebastien Bacher
Import upstream version 2.29.9
12497
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.5.1 by Emilio Pozuelo Monfort
Import upstream version 2.28.2
12498
$as_echo "no" >&6; }
12499
fi
12500
12501
12502
  for ac_prog in gtkdoc-rebase
12503
do
12504
  # Extract the first word of "$ac_prog", so it can be a program name with args.
12505
set dummy $ac_prog; ac_word=$2
1.1.76 by Sebastien Bacher
Import upstream version 2.29.9
12506
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.5.1 by Emilio Pozuelo Monfort
Import upstream version 2.28.2
12507
$as_echo_n "checking for $ac_word... " >&6; }
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
12508
if ${ac_cv_path_GTKDOC_REBASE+:} false; then :
1.5.1 by Emilio Pozuelo Monfort
Import upstream version 2.28.2
12509
  $as_echo_n "(cached) " >&6
12510
else
12511
  case $GTKDOC_REBASE in
12512
  [\\/]* | ?:[\\/]*)
12513
  ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
12514
  ;;
12515
  *)
12516
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12517
for as_dir in $PATH
12518
do
12519
  IFS=$as_save_IFS
12520
  test -z "$as_dir" && as_dir=.
1.1.76 by Sebastien Bacher
Import upstream version 2.29.9
12521
    for ac_exec_ext in '' $ac_executable_extensions; do
1.5.1 by Emilio Pozuelo Monfort
Import upstream version 2.28.2
12522
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12523
    ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
1.1.76 by Sebastien Bacher
Import upstream version 2.29.9
12524
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.5.1 by Emilio Pozuelo Monfort
Import upstream version 2.28.2
12525
    break 2
12526
  fi
12527
done
1.1.76 by Sebastien Bacher
Import upstream version 2.29.9
12528
  done
1.5.1 by Emilio Pozuelo Monfort
Import upstream version 2.28.2
12529
IFS=$as_save_IFS
12530
12531
  ;;
12532
esac
12533
fi
12534
GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
12535
if test -n "$GTKDOC_REBASE"; then
1.1.76 by Sebastien Bacher
Import upstream version 2.29.9
12536
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
1.5.1 by Emilio Pozuelo Monfort
Import upstream version 2.28.2
12537
$as_echo "$GTKDOC_REBASE" >&6; }
12538
else
1.1.76 by Sebastien Bacher
Import upstream version 2.29.9
12539
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.5.1 by Emilio Pozuelo Monfort
Import upstream version 2.28.2
12540
$as_echo "no" >&6; }
12541
fi
12542
12543
12544
  test -n "$GTKDOC_REBASE" && break
12545
done
12546
test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
12547
12548
  # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
12549
set dummy gtkdoc-mkpdf; ac_word=$2
1.1.76 by Sebastien Bacher
Import upstream version 2.29.9
12550
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.5.1 by Emilio Pozuelo Monfort
Import upstream version 2.28.2
12551
$as_echo_n "checking for $ac_word... " >&6; }
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
12552
if ${ac_cv_path_GTKDOC_MKPDF+:} false; then :
1.5.1 by Emilio Pozuelo Monfort
Import upstream version 2.28.2
12553
  $as_echo_n "(cached) " >&6
12554
else
12555
  case $GTKDOC_MKPDF in
12556
  [\\/]* | ?:[\\/]*)
12557
  ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
12558
  ;;
12559
  *)
12560
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12561
for as_dir in $PATH
12562
do
12563
  IFS=$as_save_IFS
12564
  test -z "$as_dir" && as_dir=.
1.1.76 by Sebastien Bacher
Import upstream version 2.29.9
12565
    for ac_exec_ext in '' $ac_executable_extensions; do
1.5.1 by Emilio Pozuelo Monfort
Import upstream version 2.28.2
12566
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12567
    ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
1.1.76 by Sebastien Bacher
Import upstream version 2.29.9
12568
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.5.1 by Emilio Pozuelo Monfort
Import upstream version 2.28.2
12569
    break 2
12570
  fi
12571
done
1.1.76 by Sebastien Bacher
Import upstream version 2.29.9
12572
  done
1.5.1 by Emilio Pozuelo Monfort
Import upstream version 2.28.2
12573
IFS=$as_save_IFS
12574
12575
  ;;
12576
esac
12577
fi
12578
GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
12579
if test -n "$GTKDOC_MKPDF"; then
1.1.76 by Sebastien Bacher
Import upstream version 2.29.9
12580
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
1.5.1 by Emilio Pozuelo Monfort
Import upstream version 2.28.2
12581
$as_echo "$GTKDOC_MKPDF" >&6; }
12582
else
1.1.76 by Sebastien Bacher
Import upstream version 2.29.9
12583
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.5.1 by Emilio Pozuelo Monfort
Import upstream version 2.28.2
12584
$as_echo "no" >&6; }
12585
fi
12586
12587
12588
12589
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
12590
# Check whether --with-html-dir was given.
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
12591
if test "${with_html_dir+set}" = set; then :
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
12592
  withval=$with_html_dir;
1.1.13 by Daniel Holbach
Import upstream version 2.15.3
12593
else
12594
  with_html_dir='${datadir}/gtk-doc/html'
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
12595
fi
12596
1.1.13 by Daniel Holbach
Import upstream version 2.15.3
12597
  HTML_DIR="$with_html_dir"
12598
12599
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
12600
    # Check whether --enable-gtk-doc was given.
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
12601
if test "${enable_gtk_doc+set}" = set; then :
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
12602
  enableval=$enable_gtk_doc;
1.1.13 by Daniel Holbach
Import upstream version 2.15.3
12603
else
12604
  enable_gtk_doc=no
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
12605
fi
12606
1.1.13 by Daniel Holbach
Import upstream version 2.15.3
12607
12608
  if test x$enable_gtk_doc = xyes; then
1.1.39 by Emilio Pozuelo Monfort
Import upstream version 2.21.1
12609
    if test -n "$PKG_CONFIG" && \
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
12610
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.0\""; } >&5
1.1.39 by Emilio Pozuelo Monfort
Import upstream version 2.21.1
12611
  ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.0") 2>&5
12612
  ac_status=$?
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
12613
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12614
  test $ac_status = 0; }; then
1.1.39 by Emilio Pozuelo Monfort
Import upstream version 2.21.1
12615
  :
12616
else
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
12617
  as_fn_error $? "You need to have gtk-doc >= 1.0 installed to build $PACKAGE_NAME" "$LINENO" 5
1.1.39 by Emilio Pozuelo Monfort
Import upstream version 2.21.1
12618
fi
1.1.85 by Rodrigo Moya
Import upstream version 3.0.5
12619
12620
pkg_failed=no
12621
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5
12622
$as_echo_n "checking for GTKDOC_DEPS... " >&6; }
12623
12624
if test -n "$GTKDOC_DEPS_CFLAGS"; then
12625
    pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS"
12626
 elif test -n "$PKG_CONFIG"; then
12627
    if test -n "$PKG_CONFIG" && \
12628
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0\""; } >&5
12629
  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0") 2>&5
12630
  ac_status=$?
12631
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12632
  test $ac_status = 0; }; then
12633
  pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>/dev/null`
12634
else
12635
  pkg_failed=yes
12636
fi
12637
 else
12638
    pkg_failed=untried
12639
fi
12640
if test -n "$GTKDOC_DEPS_LIBS"; then
12641
    pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS"
12642
 elif test -n "$PKG_CONFIG"; then
12643
    if test -n "$PKG_CONFIG" && \
12644
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0\""; } >&5
12645
  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0") 2>&5
12646
  ac_status=$?
12647
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12648
  test $ac_status = 0; }; then
12649
  pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>/dev/null`
12650
else
12651
  pkg_failed=yes
12652
fi
12653
 else
12654
    pkg_failed=untried
12655
fi
12656
12657
12658
12659
if test $pkg_failed = yes; then
12660
   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12661
$as_echo "no" >&6; }
12662
12663
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12664
        _pkg_short_errors_supported=yes
12665
else
12666
        _pkg_short_errors_supported=no
12667
fi
12668
        if test $_pkg_short_errors_supported = yes; then
12669
	        GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>&1`
12670
        else
12671
	        GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>&1`
12672
        fi
12673
	# Put the nasty error message in config.log where it belongs
12674
	echo "$GTKDOC_DEPS_PKG_ERRORS" >&5
12675
12676
	as_fn_error $? "Package requirements (glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0) were not met:
12677
12678
$GTKDOC_DEPS_PKG_ERRORS
12679
12680
Consider adjusting the PKG_CONFIG_PATH environment variable if you
12681
installed software in a non-standard prefix.
12682
12683
Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS
12684
and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config.
12685
See the pkg-config man page for more details." "$LINENO" 5
12686
12687
elif test $pkg_failed = untried; then
12688
     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12689
$as_echo "no" >&6; }
12690
	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12691
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12692
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12693
is in your PATH or set the PKG_CONFIG environment variable to the full
12694
path to pkg-config.
12695
12696
Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS
12697
and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config.
12698
See the pkg-config man page for more details.
12699
12700
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12701
See \`config.log' for more details" "$LINENO" 5; }
12702
12703
else
12704
	GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS
12705
	GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS
12706
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12707
$as_echo "yes" >&6; }
12708
12709
fi
1.1.39 by Emilio Pozuelo Monfort
Import upstream version 2.21.1
12710
  fi
12711
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
12712
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
12713
$as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
12714
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
12715
$as_echo "$enable_gtk_doc" >&6; }
1.1.39 by Emilio Pozuelo Monfort
Import upstream version 2.21.1
12716
1.5.1 by Emilio Pozuelo Monfort
Import upstream version 2.28.2
12717
    # Check whether --enable-gtk-doc-html was given.
1.1.76 by Sebastien Bacher
Import upstream version 2.29.9
12718
if test "${enable_gtk_doc_html+set}" = set; then :
1.5.1 by Emilio Pozuelo Monfort
Import upstream version 2.28.2
12719
  enableval=$enable_gtk_doc_html;
12720
else
12721
  enable_gtk_doc_html=yes
12722
fi
12723
12724
    # Check whether --enable-gtk-doc-pdf was given.
1.1.76 by Sebastien Bacher
Import upstream version 2.29.9
12725
if test "${enable_gtk_doc_pdf+set}" = set; then :
1.5.1 by Emilio Pozuelo Monfort
Import upstream version 2.28.2
12726
  enableval=$enable_gtk_doc_pdf;
12727
else
12728
  enable_gtk_doc_pdf=no
12729
fi
12730
12731
12732
  if test -z "$GTKDOC_MKPDF"; then
12733
    enable_gtk_doc_pdf=no
1.1.13 by Daniel Holbach
Import upstream version 2.15.3
12734
  fi
1.1.39 by Emilio Pozuelo Monfort
Import upstream version 2.21.1
12735
1.1.13 by Daniel Holbach
Import upstream version 2.15.3
12736
1.1.31 by Aron Sisak
Import upstream version 2.19.3
12737
   if test x$enable_gtk_doc = xyes; then
1.1.13 by Daniel Holbach
Import upstream version 2.15.3
12738
  ENABLE_GTK_DOC_TRUE=
12739
  ENABLE_GTK_DOC_FALSE='#'
12740
else
12741
  ENABLE_GTK_DOC_TRUE='#'
12742
  ENABLE_GTK_DOC_FALSE=
12743
fi
12744
1.5.1 by Emilio Pozuelo Monfort
Import upstream version 2.28.2
12745
   if test x$enable_gtk_doc_html = xyes; then
12746
  GTK_DOC_BUILD_HTML_TRUE=
12747
  GTK_DOC_BUILD_HTML_FALSE='#'
12748
else
12749
  GTK_DOC_BUILD_HTML_TRUE='#'
12750
  GTK_DOC_BUILD_HTML_FALSE=
12751
fi
12752
12753
   if test x$enable_gtk_doc_pdf = xyes; then
12754
  GTK_DOC_BUILD_PDF_TRUE=
12755
  GTK_DOC_BUILD_PDF_FALSE='#'
12756
else
12757
  GTK_DOC_BUILD_PDF_TRUE='#'
12758
  GTK_DOC_BUILD_PDF_FALSE=
12759
fi
12760
1.1.31 by Aron Sisak
Import upstream version 2.19.3
12761
   if test -n "$LIBTOOL"; then
1.1.13 by Daniel Holbach
Import upstream version 2.15.3
12762
  GTK_DOC_USE_LIBTOOL_TRUE=
12763
  GTK_DOC_USE_LIBTOOL_FALSE='#'
12764
else
12765
  GTK_DOC_USE_LIBTOOL_TRUE='#'
12766
  GTK_DOC_USE_LIBTOOL_FALSE=
12767
fi
12768
1.5.1 by Emilio Pozuelo Monfort
Import upstream version 2.28.2
12769
   if test -n "$GTKDOC_REBASE"; then
12770
  GTK_DOC_USE_REBASE_TRUE=
12771
  GTK_DOC_USE_REBASE_FALSE='#'
12772
else
12773
  GTK_DOC_USE_REBASE_TRUE='#'
12774
  GTK_DOC_USE_REBASE_FALSE=
1.1.60 by Sebastien Bacher
Import upstream version 2.26.0
12775
fi
1.5.1 by Emilio Pozuelo Monfort
Import upstream version 2.28.2
12776
1.1.76 by Sebastien Bacher
Import upstream version 2.29.9
12777
1.1.60 by Sebastien Bacher
Import upstream version 2.26.0
12778
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
12779
ac_fn_c_check_func "$LINENO" "sigaction" "ac_cv_func_sigaction"
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
12780
if test "x$ac_cv_func_sigaction" = xyes; then :
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
12781
12782
fi
1.1.70 by Robert Ancell
Import upstream version 2.29.3
12783
1.1.76 by Sebastien Bacher
Import upstream version 2.29.9
12784
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor in -lm" >&5
12785
$as_echo_n "checking for floor in -lm... " >&6; }
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
12786
if ${ac_cv_lib_m_floor+:} false; then :
1.1.76 by Sebastien Bacher
Import upstream version 2.29.9
12787
  $as_echo_n "(cached) " >&6
12788
else
12789
  ac_check_lib_save_LIBS=$LIBS
12790
LIBS="-lm  $LIBS"
12791
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12792
/* end confdefs.h.  */
12793
12794
/* Override any GCC internal prototype to avoid an error.
12795
   Use char because int might match the return type of a GCC
12796
   builtin and then its argument prototype would still apply.  */
12797
#ifdef __cplusplus
12798
extern "C"
12799
#endif
12800
char floor ();
12801
int
12802
main ()
12803
{
12804
return floor ();
12805
  ;
12806
  return 0;
12807
}
12808
_ACEOF
12809
if ac_fn_c_try_link "$LINENO"; then :
12810
  ac_cv_lib_m_floor=yes
12811
else
12812
  ac_cv_lib_m_floor=no
12813
fi
12814
rm -f core conftest.err conftest.$ac_objext \
12815
    conftest$ac_exeext conftest.$ac_ext
12816
LIBS=$ac_check_lib_save_LIBS
12817
fi
12818
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_floor" >&5
12819
$as_echo "$ac_cv_lib_m_floor" >&6; }
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
12820
if test "x$ac_cv_lib_m_floor" = xyes; then :
1.3.2 by Josselin Mouette
Import upstream version 2.26.1
12821
  cat >>confdefs.h <<_ACEOF
1.1.76 by Sebastien Bacher
Import upstream version 2.29.9
12822
#define HAVE_LIBM 1
1.3.2 by Josselin Mouette
Import upstream version 2.26.1
12823
_ACEOF
12824
1.1.76 by Sebastien Bacher
Import upstream version 2.29.9
12825
  LIBS="-lm $LIBS"
12826
1.3.2 by Josselin Mouette
Import upstream version 2.26.1
12827
fi
12828
1.1.60 by Sebastien Bacher
Import upstream version 2.26.0
12829
1.1.2 by Daniel Holbach
Import upstream version 2.13.0
12830
ACLOCAL_AMFLAGS="$ACLOCAL_FLAGS -I m4"
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
12831
12832
1.7.1 by Mirco Bauer
Import upstream version 3.0.0
12833
ACTIVE_PLUGINS="'docinfo', 'modelines', 'filebrowser', 'spell', 'time'"
1.1.69 by Sebastien Bacher
Import upstream version 2.29.2
12834
1.1.70 by Robert Ancell
Import upstream version 2.29.3
12835
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
12836
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Win32 platform" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
12837
$as_echo_n "checking for Win32 platform... " >&6; }
1.1.51 by Sebastien Bacher
Import upstream version 2.24.1
12838
case "$host" in
12839
  *-*-mingw*|*-*-cygwin*)
12840
    platform_win32=yes
1.1.69 by Sebastien Bacher
Import upstream version 2.29.2
12841
    ;;
12842
  *)
12843
    platform_win32=no
12844
    ;;
12845
esac
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
12846
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $platform_win32" >&5
1.1.69 by Sebastien Bacher
Import upstream version 2.29.2
12847
$as_echo "$platform_win32" >&6; }
12848
 if test "$platform_win32" = "yes"; then
12849
  PLATFORM_WIN32_TRUE=
12850
  PLATFORM_WIN32_FALSE='#'
12851
else
12852
  PLATFORM_WIN32_TRUE='#'
12853
  PLATFORM_WIN32_FALSE=
12854
fi
12855
12856
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
12857
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for native Win32" >&5
1.1.69 by Sebastien Bacher
Import upstream version 2.29.2
12858
$as_echo_n "checking for native Win32... " >&6; }
12859
case "$host" in
12860
  *-*-mingw*)
12861
    os_win32=yes
1.1.55 by Sebastien Bacher
Import upstream version 2.25.4
12862
    if test -n "$ac_tool_prefix"; then
12863
  # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
12864
set dummy ${ac_tool_prefix}windres; ac_word=$2
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
12865
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1.55 by Sebastien Bacher
Import upstream version 2.25.4
12866
$as_echo_n "checking for $ac_word... " >&6; }
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
12867
if ${ac_cv_prog_WINDRES+:} false; then :
1.1.55 by Sebastien Bacher
Import upstream version 2.25.4
12868
  $as_echo_n "(cached) " >&6
12869
else
12870
  if test -n "$WINDRES"; then
12871
  ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
12872
else
12873
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12874
for as_dir in $PATH
12875
do
12876
  IFS=$as_save_IFS
12877
  test -z "$as_dir" && as_dir=.
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
12878
    for ac_exec_ext in '' $ac_executable_extensions; do
1.1.55 by Sebastien Bacher
Import upstream version 2.25.4
12879
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12880
    ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
12881
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1.55 by Sebastien Bacher
Import upstream version 2.25.4
12882
    break 2
12883
  fi
12884
done
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
12885
  done
1.1.55 by Sebastien Bacher
Import upstream version 2.25.4
12886
IFS=$as_save_IFS
12887
12888
fi
12889
fi
12890
WINDRES=$ac_cv_prog_WINDRES
12891
if test -n "$WINDRES"; then
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
12892
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
1.1.55 by Sebastien Bacher
Import upstream version 2.25.4
12893
$as_echo "$WINDRES" >&6; }
12894
else
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
12895
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1.55 by Sebastien Bacher
Import upstream version 2.25.4
12896
$as_echo "no" >&6; }
12897
fi
12898
12899
12900
fi
12901
if test -z "$ac_cv_prog_WINDRES"; then
12902
  ac_ct_WINDRES=$WINDRES
12903
  # Extract the first word of "windres", so it can be a program name with args.
12904
set dummy windres; ac_word=$2
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
12905
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1.55 by Sebastien Bacher
Import upstream version 2.25.4
12906
$as_echo_n "checking for $ac_word... " >&6; }
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
12907
if ${ac_cv_prog_ac_ct_WINDRES+:} false; then :
1.1.55 by Sebastien Bacher
Import upstream version 2.25.4
12908
  $as_echo_n "(cached) " >&6
12909
else
12910
  if test -n "$ac_ct_WINDRES"; then
12911
  ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
12912
else
12913
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12914
for as_dir in $PATH
12915
do
12916
  IFS=$as_save_IFS
12917
  test -z "$as_dir" && as_dir=.
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
12918
    for ac_exec_ext in '' $ac_executable_extensions; do
1.1.55 by Sebastien Bacher
Import upstream version 2.25.4
12919
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12920
    ac_cv_prog_ac_ct_WINDRES="windres"
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
12921
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1.55 by Sebastien Bacher
Import upstream version 2.25.4
12922
    break 2
12923
  fi
12924
done
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
12925
  done
1.1.55 by Sebastien Bacher
Import upstream version 2.25.4
12926
IFS=$as_save_IFS
12927
12928
fi
12929
fi
12930
ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
12931
if test -n "$ac_ct_WINDRES"; then
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
12932
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_WINDRES" >&5
1.1.55 by Sebastien Bacher
Import upstream version 2.25.4
12933
$as_echo "$ac_ct_WINDRES" >&6; }
12934
else
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
12935
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1.55 by Sebastien Bacher
Import upstream version 2.25.4
12936
$as_echo "no" >&6; }
12937
fi
12938
12939
  if test "x$ac_ct_WINDRES" = x; then
12940
    WINDRES=""
12941
  else
12942
    case $cross_compiling:$ac_tool_warned in
12943
yes:)
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
12944
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1.1.55 by Sebastien Bacher
Import upstream version 2.25.4
12945
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12946
ac_tool_warned=yes ;;
12947
esac
12948
    WINDRES=$ac_ct_WINDRES
12949
  fi
12950
else
12951
  WINDRES="$ac_cv_prog_WINDRES"
12952
fi
12953
1.7.1 by Mirco Bauer
Import upstream version 3.0.0
12954
    ACTIVE_PLUGINS="${ACTIVE_PLUGINS}, 'checkupdate'"
1.1.51 by Sebastien Bacher
Import upstream version 2.24.1
12955
    ;;
12956
  *)
1.1.58 by Sebastien Bacher
Import upstream version 2.25.7
12957
    os_win32=no
12958
    ;;
12959
esac
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
12960
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $os_win32" >&5
1.1.58 by Sebastien Bacher
Import upstream version 2.25.7
12961
$as_echo "$os_win32" >&6; }
12962
 if test "$os_win32" = "yes"; then
12963
  OS_WIN32_TRUE=
12964
  OS_WIN32_FALSE='#'
12965
else
12966
  OS_WIN32_TRUE='#'
12967
  OS_WIN32_FALSE=
12968
fi
12969
12970
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
12971
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Mac OS X platform" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
12972
$as_echo_n "checking for Mac OS X platform... " >&6; }
1.1.53 by Sebastien Bacher
Import upstream version 2.25.2
12973
case "$host" in
12974
  *-*-darwin*)
12975
    platform_osx=yes
12976
    ;;
12977
  *)
12978
    platform_osx=no
12979
    ;;
12980
esac
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
12981
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $platform_osx" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
12982
$as_echo "$platform_osx" >&6; }
1.1.53 by Sebastien Bacher
Import upstream version 2.25.2
12983
 if test "$platform_osx" = "yes"; then
12984
  PLATFORM_OSX_TRUE=
12985
  PLATFORM_OSX_FALSE='#'
12986
else
12987
  PLATFORM_OSX_TRUE='#'
12988
  PLATFORM_OSX_FALSE=
12989
fi
12990
12991
1.7.1 by Mirco Bauer
Import upstream version 3.0.0
12992
gdk_targets=`$PKG_CONFIG --variable=targets gdk-3.0`
12993
12994
gdk_windowing="x11"
12995
12996
for target in $gdk_targets;
12997
do
12998
	case "$target" in
12999
		quartz)
13000
			gdk_windowing=quartz
13001
			;;
13002
		win32)
13003
			gdk_windowing=win32
13004
			;;
13005
	esac
13006
done
1.4.2 by Emilio Pozuelo Monfort
Import upstream version 2.28.1
13007
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
13008
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for native Mac OS X" >&5
1.4.2 by Emilio Pozuelo Monfort
Import upstream version 2.28.1
13009
$as_echo_n "checking for native Mac OS X... " >&6; }
13010
if test "$gdk_windowing" = "quartz"; then
13011
	os_osx=yes
1.7.1 by Mirco Bauer
Import upstream version 3.0.0
13012
	ACTIVE_PLUGINS="${ACTIVE_PLUGINS}, 'checkupdate'"
1.4.2 by Emilio Pozuelo Monfort
Import upstream version 2.28.1
13013
else
13014
	os_osx=no
13015
fi
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
13016
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $os_osx" >&5
1.4.2 by Emilio Pozuelo Monfort
Import upstream version 2.28.1
13017
$as_echo "$os_osx" >&6; }
13018
 if test "$os_osx" = "yes"; then
13019
  OS_OSX_TRUE=
13020
  OS_OSX_FALSE='#'
13021
else
13022
  OS_OSX_TRUE='#'
13023
  OS_OSX_FALSE=
13024
fi
13025
13026
1.7.1 by Mirco Bauer
Import upstream version 3.0.0
13027
 if test "$gdk_windowing" = "x11"; then
13028
  GDK_WINDOWING_X11_TRUE=
13029
  GDK_WINDOWING_X11_FALSE='#'
13030
else
13031
  GDK_WINDOWING_X11_TRUE='#'
13032
  GDK_WINDOWING_X11_FALSE=
13033
fi
13034
13035
1.1.53 by Sebastien Bacher
Import upstream version 2.25.2
13036
if test "$platform_osx" = "yes"; then
13037
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
13038
$as_echo "#define PLATFORM_OSX 1" >>confdefs.h
1.1.53 by Sebastien Bacher
Import upstream version 2.25.2
13039
1.4.2 by Emilio Pozuelo Monfort
Import upstream version 2.28.1
13040
fi
13041
13042
13043
13044
13045
if test "$os_osx" = "yes"; then
13046
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
13047
$as_echo "#define OS_OSX 1" >>confdefs.h
1.4.2 by Emilio Pozuelo Monfort
Import upstream version 2.28.1
13048
13049
13050
13051
pkg_failed=no
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
13052
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for IGE_MAC" >&5
1.4.2 by Emilio Pozuelo Monfort
Import upstream version 2.28.1
13053
$as_echo_n "checking for IGE_MAC... " >&6; }
13054
1.5.2 by Emilio Pozuelo Monfort
Import upstream version 2.28.3
13055
if test -n "$IGE_MAC_CFLAGS"; then
13056
    pkg_cv_IGE_MAC_CFLAGS="$IGE_MAC_CFLAGS"
13057
 elif test -n "$PKG_CONFIG"; then
13058
    if test -n "$PKG_CONFIG" && \
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
13059
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ige-mac-integration\""; } >&5
1.4.2 by Emilio Pozuelo Monfort
Import upstream version 2.28.1
13060
  ($PKG_CONFIG --exists --print-errors "ige-mac-integration") 2>&5
13061
  ac_status=$?
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
13062
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13063
  test $ac_status = 0; }; then
1.4.2 by Emilio Pozuelo Monfort
Import upstream version 2.28.1
13064
  pkg_cv_IGE_MAC_CFLAGS=`$PKG_CONFIG --cflags "ige-mac-integration" 2>/dev/null`
13065
else
13066
  pkg_failed=yes
13067
fi
1.5.2 by Emilio Pozuelo Monfort
Import upstream version 2.28.3
13068
 else
13069
    pkg_failed=untried
1.4.2 by Emilio Pozuelo Monfort
Import upstream version 2.28.1
13070
fi
1.5.2 by Emilio Pozuelo Monfort
Import upstream version 2.28.3
13071
if test -n "$IGE_MAC_LIBS"; then
13072
    pkg_cv_IGE_MAC_LIBS="$IGE_MAC_LIBS"
13073
 elif test -n "$PKG_CONFIG"; then
13074
    if test -n "$PKG_CONFIG" && \
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
13075
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ige-mac-integration\""; } >&5
1.4.2 by Emilio Pozuelo Monfort
Import upstream version 2.28.1
13076
  ($PKG_CONFIG --exists --print-errors "ige-mac-integration") 2>&5
13077
  ac_status=$?
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
13078
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13079
  test $ac_status = 0; }; then
1.4.2 by Emilio Pozuelo Monfort
Import upstream version 2.28.1
13080
  pkg_cv_IGE_MAC_LIBS=`$PKG_CONFIG --libs "ige-mac-integration" 2>/dev/null`
13081
else
13082
  pkg_failed=yes
13083
fi
1.5.2 by Emilio Pozuelo Monfort
Import upstream version 2.28.3
13084
 else
13085
    pkg_failed=untried
1.4.2 by Emilio Pozuelo Monfort
Import upstream version 2.28.1
13086
fi
13087
13088
13089
13090
if test $pkg_failed = yes; then
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
13091
   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13092
$as_echo "no" >&6; }
1.4.2 by Emilio Pozuelo Monfort
Import upstream version 2.28.1
13093
13094
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13095
        _pkg_short_errors_supported=yes
13096
else
13097
        _pkg_short_errors_supported=no
13098
fi
13099
        if test $_pkg_short_errors_supported = yes; then
1.5.2 by Emilio Pozuelo Monfort
Import upstream version 2.28.3
13100
	        IGE_MAC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ige-mac-integration" 2>&1`
1.4.2 by Emilio Pozuelo Monfort
Import upstream version 2.28.1
13101
        else
1.5.2 by Emilio Pozuelo Monfort
Import upstream version 2.28.3
13102
	        IGE_MAC_PKG_ERRORS=`$PKG_CONFIG --print-errors "ige-mac-integration" 2>&1`
1.4.2 by Emilio Pozuelo Monfort
Import upstream version 2.28.1
13103
        fi
13104
	# Put the nasty error message in config.log where it belongs
13105
	echo "$IGE_MAC_PKG_ERRORS" >&5
13106
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
13107
	as_fn_error $? "Package requirements (ige-mac-integration) were not met:
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
13108
13109
$IGE_MAC_PKG_ERRORS
13110
13111
Consider adjusting the PKG_CONFIG_PATH environment variable if you
13112
installed software in a non-standard prefix.
13113
13114
Alternatively, you may set the environment variables IGE_MAC_CFLAGS
13115
and IGE_MAC_LIBS to avoid the need to call pkg-config.
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
13116
See the pkg-config man page for more details." "$LINENO" 5
13117
1.4.2 by Emilio Pozuelo Monfort
Import upstream version 2.28.1
13118
elif test $pkg_failed = untried; then
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
13119
     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13120
$as_echo "no" >&6; }
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
13121
	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1.4.2 by Emilio Pozuelo Monfort
Import upstream version 2.28.1
13122
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
13123
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
13124
is in your PATH or set the PKG_CONFIG environment variable to the full
13125
path to pkg-config.
13126
13127
Alternatively, you may set the environment variables IGE_MAC_CFLAGS
13128
and IGE_MAC_LIBS to avoid the need to call pkg-config.
13129
See the pkg-config man page for more details.
13130
13131
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
13132
See \`config.log' for more details" "$LINENO" 5; }
13133
1.4.2 by Emilio Pozuelo Monfort
Import upstream version 2.28.1
13134
else
13135
	IGE_MAC_CFLAGS=$pkg_cv_IGE_MAC_CFLAGS
13136
	IGE_MAC_LIBS=$pkg_cv_IGE_MAC_LIBS
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
13137
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.4.2 by Emilio Pozuelo Monfort
Import upstream version 2.28.1
13138
$as_echo "yes" >&6; }
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
13139
1.4.2 by Emilio Pozuelo Monfort
Import upstream version 2.28.1
13140
fi
13141
13142
13143
1.1.53 by Sebastien Bacher
Import upstream version 2.25.2
13144
fi
13145
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
13146
1.1.28 by Sebastien Bacher
Import upstream version 2.18.0
13147
# This macro expands DIR and assigns it to RET.
13148
# If DIR is NONE, then it's replaced by DEFAULT.
13149
# Based on AC_DEFINE_DIR
13150
13151
13152
13153
  test "x$prefix" = xNONE && prefix="$ac_default_prefix"
13154
  test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1.1.40 by Sebastien Bacher
Import upstream version 2.21.2
13155
  ac_expand=$libexecdir
1.1.28 by Sebastien Bacher
Import upstream version 2.18.0
13156
  test "x$ac_expand" = xNONE && ac_expand="$NONE"
13157
  ac_expand=`eval echo $ac_expand`
1.1.40 by Sebastien Bacher
Import upstream version 2.21.2
13158
  FULL_LIBEXECDIR=`eval echo $ac_expand`
1.1.28 by Sebastien Bacher
Import upstream version 2.18.0
13159
13160
13161
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
13162
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
13163
13164
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
13165
$as_echo_n "checking whether NLS is requested... " >&6; }
13166
    # Check whether --enable-nls was given.
13167
if test "${enable_nls+set}" = set; then :
13168
  enableval=$enable_nls; USE_NLS=$enableval
13169
else
13170
  USE_NLS=yes
13171
fi
13172
13173
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
13174
$as_echo "$USE_NLS" >&6; }
13175
13176
13177
13178
13179
case "$am__api_version" in
13180
    1.01234)
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
13181
	as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
13182
    ;;
13183
    *)
13184
    ;;
13185
esac
13186
13187
if test -n "0.40.0"; then
13188
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.40.0" >&5
13189
$as_echo_n "checking for intltool >= 0.40.0... " >&6; }
13190
13191
    INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.40.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
13192
    INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
13193
    INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
13194
13195
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
13196
$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
13197
    test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
13198
	as_fn_error $? "Your intltool is too old.  You need intltool 0.40.0 or later." "$LINENO" 5
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
13199
fi
13200
13201
# Extract the first word of "intltool-update", so it can be a program name with args.
13202
set dummy intltool-update; ac_word=$2
13203
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13204
$as_echo_n "checking for $ac_word... " >&6; }
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
13205
if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
13206
  $as_echo_n "(cached) " >&6
13207
else
13208
  case $INTLTOOL_UPDATE in
13209
  [\\/]* | ?:[\\/]*)
13210
  ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
13211
  ;;
13212
  *)
13213
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13214
for as_dir in $PATH
13215
do
13216
  IFS=$as_save_IFS
13217
  test -z "$as_dir" && as_dir=.
13218
    for ac_exec_ext in '' $ac_executable_extensions; do
13219
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13220
    ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
13221
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13222
    break 2
13223
  fi
13224
done
13225
  done
13226
IFS=$as_save_IFS
13227
13228
  ;;
13229
esac
13230
fi
13231
INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
13232
if test -n "$INTLTOOL_UPDATE"; then
13233
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
13234
$as_echo "$INTLTOOL_UPDATE" >&6; }
13235
else
13236
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13237
$as_echo "no" >&6; }
13238
fi
13239
13240
13241
# Extract the first word of "intltool-merge", so it can be a program name with args.
13242
set dummy intltool-merge; ac_word=$2
13243
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13244
$as_echo_n "checking for $ac_word... " >&6; }
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
13245
if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
13246
  $as_echo_n "(cached) " >&6
13247
else
13248
  case $INTLTOOL_MERGE in
13249
  [\\/]* | ?:[\\/]*)
13250
  ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
13251
  ;;
13252
  *)
13253
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13254
for as_dir in $PATH
13255
do
13256
  IFS=$as_save_IFS
13257
  test -z "$as_dir" && as_dir=.
13258
    for ac_exec_ext in '' $ac_executable_extensions; do
13259
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13260
    ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
13261
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13262
    break 2
13263
  fi
13264
done
13265
  done
13266
IFS=$as_save_IFS
13267
13268
  ;;
13269
esac
13270
fi
13271
INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
13272
if test -n "$INTLTOOL_MERGE"; then
13273
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
13274
$as_echo "$INTLTOOL_MERGE" >&6; }
13275
else
13276
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13277
$as_echo "no" >&6; }
13278
fi
13279
13280
13281
# Extract the first word of "intltool-extract", so it can be a program name with args.
13282
set dummy intltool-extract; ac_word=$2
13283
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13284
$as_echo_n "checking for $ac_word... " >&6; }
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
13285
if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
13286
  $as_echo_n "(cached) " >&6
13287
else
13288
  case $INTLTOOL_EXTRACT in
13289
  [\\/]* | ?:[\\/]*)
13290
  ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
13291
  ;;
13292
  *)
13293
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13294
for as_dir in $PATH
13295
do
13296
  IFS=$as_save_IFS
13297
  test -z "$as_dir" && as_dir=.
13298
    for ac_exec_ext in '' $ac_executable_extensions; do
13299
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13300
    ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
13301
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13302
    break 2
13303
  fi
13304
done
13305
  done
13306
IFS=$as_save_IFS
13307
13308
  ;;
13309
esac
13310
fi
13311
INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
13312
if test -n "$INTLTOOL_EXTRACT"; then
13313
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
13314
$as_echo "$INTLTOOL_EXTRACT" >&6; }
13315
else
13316
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13317
$as_echo "no" >&6; }
13318
fi
13319
13320
13321
if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
13322
    as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
13323
fi
13324
13325
  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 $< $@'
13326
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 $< $@'
13327
     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 $< $@'
13328
     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 $< $@'
13329
      INTLTOOL_OAF_RULE='%.oaf:       %.oaf.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
13330
     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 $< $@'
13331
   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 $< $@'
13332
    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 $< $@'
13333
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 $< $@'
13334
       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 $< $@'
13335
      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 $< $@'
13336
      INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@'
13337
      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 $< $@'
13338
      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 $< $@'
13339
    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 $< $@'
13340
  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 $< $@'
13341
    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 $< $@'
13342
    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 $< $@'
13343
   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 $< $@'
13344
13345
13346
13347
13348
13349
13350
13351
13352
13353
13354
13355
13356
13357
13358
13359
13360
13361
13362
13363
13364
13365
13366
13367
13368
13369
13370
13371
13372
13373
13374
13375
13376
13377
13378
13379
13380
13381
13382
13383
13384
13385
13386
13387
13388
13389
13390
13391
13392
13393
13394
13395
13396
13397
13398
13399
13400
13401
13402
13403
13404
13405
13406
13407
13408
13409
13410
13411
13412
13413
13414
13415
13416
13417
13418
13419
13420
13421
13422
13423
13424
13425
13426
13427
13428
13429
13430
13431
13432
13433
13434
13435
13436
13437
13438
13439
13440
13441
# Check the gettext tools to make sure they are GNU
13442
# Extract the first word of "xgettext", so it can be a program name with args.
13443
set dummy xgettext; ac_word=$2
13444
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13445
$as_echo_n "checking for $ac_word... " >&6; }
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
13446
if ${ac_cv_path_XGETTEXT+:} false; then :
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
13447
  $as_echo_n "(cached) " >&6
13448
else
13449
  case $XGETTEXT in
13450
  [\\/]* | ?:[\\/]*)
13451
  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
13452
  ;;
13453
  *)
13454
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13455
for as_dir in $PATH
13456
do
13457
  IFS=$as_save_IFS
13458
  test -z "$as_dir" && as_dir=.
13459
    for ac_exec_ext in '' $ac_executable_extensions; do
13460
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13461
    ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
13462
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13463
    break 2
13464
  fi
13465
done
13466
  done
13467
IFS=$as_save_IFS
13468
13469
  ;;
13470
esac
13471
fi
13472
XGETTEXT=$ac_cv_path_XGETTEXT
13473
if test -n "$XGETTEXT"; then
13474
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
13475
$as_echo "$XGETTEXT" >&6; }
13476
else
13477
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13478
$as_echo "no" >&6; }
13479
fi
13480
13481
13482
# Extract the first word of "msgmerge", so it can be a program name with args.
13483
set dummy msgmerge; ac_word=$2
13484
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13485
$as_echo_n "checking for $ac_word... " >&6; }
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
13486
if ${ac_cv_path_MSGMERGE+:} false; then :
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
13487
  $as_echo_n "(cached) " >&6
13488
else
13489
  case $MSGMERGE in
13490
  [\\/]* | ?:[\\/]*)
13491
  ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
13492
  ;;
13493
  *)
13494
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13495
for as_dir in $PATH
13496
do
13497
  IFS=$as_save_IFS
13498
  test -z "$as_dir" && as_dir=.
13499
    for ac_exec_ext in '' $ac_executable_extensions; do
13500
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13501
    ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
13502
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13503
    break 2
13504
  fi
13505
done
13506
  done
13507
IFS=$as_save_IFS
13508
13509
  ;;
13510
esac
13511
fi
13512
MSGMERGE=$ac_cv_path_MSGMERGE
13513
if test -n "$MSGMERGE"; then
13514
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
13515
$as_echo "$MSGMERGE" >&6; }
13516
else
13517
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13518
$as_echo "no" >&6; }
13519
fi
13520
13521
13522
# Extract the first word of "msgfmt", so it can be a program name with args.
13523
set dummy msgfmt; ac_word=$2
13524
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13525
$as_echo_n "checking for $ac_word... " >&6; }
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
13526
if ${ac_cv_path_MSGFMT+:} false; then :
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
13527
  $as_echo_n "(cached) " >&6
13528
else
13529
  case $MSGFMT in
13530
  [\\/]* | ?:[\\/]*)
13531
  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
13532
  ;;
13533
  *)
13534
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13535
for as_dir in $PATH
13536
do
13537
  IFS=$as_save_IFS
13538
  test -z "$as_dir" && as_dir=.
13539
    for ac_exec_ext in '' $ac_executable_extensions; do
13540
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13541
    ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
13542
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13543
    break 2
13544
  fi
13545
done
13546
  done
13547
IFS=$as_save_IFS
13548
13549
  ;;
13550
esac
13551
fi
13552
MSGFMT=$ac_cv_path_MSGFMT
13553
if test -n "$MSGFMT"; then
13554
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
13555
$as_echo "$MSGFMT" >&6; }
13556
else
13557
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13558
$as_echo "no" >&6; }
13559
fi
13560
13561
13562
# Extract the first word of "gmsgfmt", so it can be a program name with args.
13563
set dummy gmsgfmt; ac_word=$2
13564
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13565
$as_echo_n "checking for $ac_word... " >&6; }
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
13566
if ${ac_cv_path_GMSGFMT+:} false; then :
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
13567
  $as_echo_n "(cached) " >&6
13568
else
13569
  case $GMSGFMT in
13570
  [\\/]* | ?:[\\/]*)
13571
  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
13572
  ;;
13573
  *)
13574
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13575
for as_dir in $PATH
13576
do
13577
  IFS=$as_save_IFS
13578
  test -z "$as_dir" && as_dir=.
13579
    for ac_exec_ext in '' $ac_executable_extensions; do
13580
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13581
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
13582
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13583
    break 2
13584
  fi
13585
done
13586
  done
13587
IFS=$as_save_IFS
13588
13589
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
13590
  ;;
13591
esac
13592
fi
13593
GMSGFMT=$ac_cv_path_GMSGFMT
13594
if test -n "$GMSGFMT"; then
13595
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
13596
$as_echo "$GMSGFMT" >&6; }
13597
else
13598
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13599
$as_echo "no" >&6; }
13600
fi
13601
13602
13603
if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
13604
    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
13605
fi
13606
xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
13607
mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
13608
mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
13609
if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
13610
    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
13611
fi
13612
13613
# Extract the first word of "perl", so it can be a program name with args.
13614
set dummy perl; ac_word=$2
13615
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13616
$as_echo_n "checking for $ac_word... " >&6; }
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
13617
if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
13618
  $as_echo_n "(cached) " >&6
13619
else
13620
  case $INTLTOOL_PERL in
13621
  [\\/]* | ?:[\\/]*)
13622
  ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
13623
  ;;
13624
  *)
13625
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13626
for as_dir in $PATH
13627
do
13628
  IFS=$as_save_IFS
13629
  test -z "$as_dir" && as_dir=.
13630
    for ac_exec_ext in '' $ac_executable_extensions; do
13631
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13632
    ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
13633
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13634
    break 2
13635
  fi
13636
done
13637
  done
13638
IFS=$as_save_IFS
13639
13640
  ;;
13641
esac
13642
fi
13643
INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
13644
if test -n "$INTLTOOL_PERL"; then
13645
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
13646
$as_echo "$INTLTOOL_PERL" >&6; }
13647
else
13648
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13649
$as_echo "no" >&6; }
13650
fi
13651
13652
13653
if test -z "$INTLTOOL_PERL"; then
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
13654
   as_fn_error $? "perl not found" "$LINENO" 5
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
13655
fi
13656
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
13657
$as_echo_n "checking for perl >= 5.8.1... " >&6; }
13658
$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
13659
if test $? -ne 0; then
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
13660
   as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
13661
else
13662
   IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
13663
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
13664
$as_echo "$IT_PERL_VERSION" >&6; }
13665
fi
13666
if test "x" != "xno-xml"; then
13667
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
13668
$as_echo_n "checking for XML::Parser... " >&6; }
13669
   if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
13670
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
13671
$as_echo "ok" >&6; }
13672
   else
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
13673
       as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
13674
   fi
13675
fi
13676
13677
# Substitute ALL_LINGUAS so we can use it in po/Makefile
13678
13679
13680
# Set DATADIRNAME correctly if it is not set yet
13681
# (copied from glib-gettext.m4)
13682
if test -z "$DATADIRNAME"; then
13683
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13684
/* end confdefs.h.  */
13685
13686
int
13687
main ()
13688
{
13689
extern int _nl_msg_cat_cntr;
13690
                       return _nl_msg_cat_cntr
13691
  ;
13692
  return 0;
13693
}
13694
_ACEOF
13695
if ac_fn_c_try_link "$LINENO"; then :
13696
  DATADIRNAME=share
13697
else
13698
  case $host in
13699
    *-*-solaris*)
13700
                        ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
13701
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
13702
  DATADIRNAME=share
13703
else
13704
  DATADIRNAME=lib
13705
fi
13706
13707
    ;;
13708
    *)
13709
    DATADIRNAME=lib
13710
    ;;
13711
    esac
13712
fi
13713
rm -f core conftest.err conftest.$ac_objext \
13714
    conftest$ac_exeext conftest.$ac_ext
13715
fi
13716
13717
13718
13719
13720
1.7.1 by Mirco Bauer
Import upstream version 3.0.0
13721
13722
GETTEXT_PACKAGE=gedit
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
13723
13724
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
13725
$as_echo "#define GETTEXT_PACKAGE PACKAGE_TARNAME" >>confdefs.h
13726
13727
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
13728
1.6.1 by Sebastian Dröge
Import upstream version 2.30.2
13729
if test "x$os_osx" != "xno" || test "x$os_win32" != "xno"; then
13730
	gvfs_metadata_default="no"
13731
else
13732
	gvfs_metadata_default="yes"
13733
fi
13734
13735
# Check whether --enable-gvfs-metadata was given.
13736
if test "${enable_gvfs_metadata+set}" = set; then :
13737
  enableval=$enable_gvfs_metadata; enable_gvfs_metadata=$enableval
13738
else
1.1.80 by Sebastien Bacher
Import upstream version 2.30.3
13739
  enable_gvfs_metadata=$gvfs_metadata_default
1.6.1 by Sebastian Dröge
Import upstream version 2.30.2
13740
fi
13741
13742
13743
 if test "x$enable_gvfs_metadata" != "xno"; then
13744
  ENABLE_GVFS_METADATA_TRUE=
13745
  ENABLE_GVFS_METADATA_FALSE='#'
13746
else
13747
  ENABLE_GVFS_METADATA_TRUE='#'
13748
  ENABLE_GVFS_METADATA_FALSE=
13749
fi
13750
13751
13752
if test "x$enable_gvfs_metadata" != "xno"; then
13753
13754
$as_echo "#define ENABLE_GVFS_METADATA 1" >>confdefs.h
13755
13756
fi
13757
13758
1.1.63 by Robert Ancell
Import upstream version 2.27.2
13759
# Check whether --enable-updater was given.
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
13760
if test "${enable_updater+set}" = set; then :
1.1.63 by Robert Ancell
Import upstream version 2.27.2
13761
  enableval=$enable_updater; enable_updater=$enableval
13762
else
13763
  enable_updater=yes
13764
fi
13765
13766
13767
if test "x$enable_updater" != "xno"; then
13768
13769
pkg_failed=no
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
13770
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBSOUP" >&5
1.1.63 by Robert Ancell
Import upstream version 2.27.2
13771
$as_echo_n "checking for LIBSOUP... " >&6; }
13772
1.5.2 by Emilio Pozuelo Monfort
Import upstream version 2.28.3
13773
if test -n "$LIBSOUP_CFLAGS"; then
13774
    pkg_cv_LIBSOUP_CFLAGS="$LIBSOUP_CFLAGS"
13775
 elif test -n "$PKG_CONFIG"; then
13776
    if test -n "$PKG_CONFIG" && \
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
13777
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
13778
		libsoup-2.4\""; } >&5
1.1.63 by Robert Ancell
Import upstream version 2.27.2
13779
  ($PKG_CONFIG --exists --print-errors "\
13780
		libsoup-2.4") 2>&5
13781
  ac_status=$?
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
13782
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13783
  test $ac_status = 0; }; then
1.1.63 by Robert Ancell
Import upstream version 2.27.2
13784
  pkg_cv_LIBSOUP_CFLAGS=`$PKG_CONFIG --cflags "\
13785
		libsoup-2.4" 2>/dev/null`
13786
else
13787
  pkg_failed=yes
13788
fi
1.5.2 by Emilio Pozuelo Monfort
Import upstream version 2.28.3
13789
 else
13790
    pkg_failed=untried
1.1.63 by Robert Ancell
Import upstream version 2.27.2
13791
fi
1.5.2 by Emilio Pozuelo Monfort
Import upstream version 2.28.3
13792
if test -n "$LIBSOUP_LIBS"; then
13793
    pkg_cv_LIBSOUP_LIBS="$LIBSOUP_LIBS"
13794
 elif test -n "$PKG_CONFIG"; then
13795
    if test -n "$PKG_CONFIG" && \
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
13796
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
13797
		libsoup-2.4\""; } >&5
1.1.63 by Robert Ancell
Import upstream version 2.27.2
13798
  ($PKG_CONFIG --exists --print-errors "\
13799
		libsoup-2.4") 2>&5
13800
  ac_status=$?
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
13801
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13802
  test $ac_status = 0; }; then
1.1.63 by Robert Ancell
Import upstream version 2.27.2
13803
  pkg_cv_LIBSOUP_LIBS=`$PKG_CONFIG --libs "\
13804
		libsoup-2.4" 2>/dev/null`
13805
else
13806
  pkg_failed=yes
13807
fi
1.5.2 by Emilio Pozuelo Monfort
Import upstream version 2.28.3
13808
 else
13809
    pkg_failed=untried
1.1.63 by Robert Ancell
Import upstream version 2.27.2
13810
fi
13811
13812
13813
13814
if test $pkg_failed = yes; then
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
13815
   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13816
$as_echo "no" >&6; }
1.1.63 by Robert Ancell
Import upstream version 2.27.2
13817
13818
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13819
        _pkg_short_errors_supported=yes
13820
else
13821
        _pkg_short_errors_supported=no
13822
fi
13823
        if test $_pkg_short_errors_supported = yes; then
1.5.2 by Emilio Pozuelo Monfort
Import upstream version 2.28.3
13824
	        LIBSOUP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "\
13825
		libsoup-2.4" 2>&1`
1.1.63 by Robert Ancell
Import upstream version 2.27.2
13826
        else
1.5.2 by Emilio Pozuelo Monfort
Import upstream version 2.28.3
13827
	        LIBSOUP_PKG_ERRORS=`$PKG_CONFIG --print-errors "\
13828
		libsoup-2.4" 2>&1`
1.1.63 by Robert Ancell
Import upstream version 2.27.2
13829
        fi
13830
	# Put the nasty error message in config.log where it belongs
13831
	echo "$LIBSOUP_PKG_ERRORS" >&5
13832
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
13833
	have_libsoup=no
13834
elif test $pkg_failed = untried; then
13835
     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1.63 by Robert Ancell
Import upstream version 2.27.2
13836
$as_echo "no" >&6; }
13837
	have_libsoup=no
13838
else
13839
	LIBSOUP_CFLAGS=$pkg_cv_LIBSOUP_CFLAGS
13840
	LIBSOUP_LIBS=$pkg_cv_LIBSOUP_LIBS
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
13841
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.1.63 by Robert Ancell
Import upstream version 2.27.2
13842
$as_echo "yes" >&6; }
13843
	have_libsoup=yes
13844
fi
13845
1.1.64 by Robert Ancell
Import upstream version 2.27.3
13846
	if test "x$have_libsoup" = "xyes"; then
1.1.69 by Sebastien Bacher
Import upstream version 2.29.2
13847
		if test "x$os_win32" = "xyes"; then
1.1.63 by Robert Ancell
Import upstream version 2.27.2
13848
			enable_updater=yes
1.4.2 by Emilio Pozuelo Monfort
Import upstream version 2.28.1
13849
		elif test "x$os_osx" = "xyes"; then
1.1.63 by Robert Ancell
Import upstream version 2.27.2
13850
			enable_updater=yes
13851
		else
13852
			enable_updater=no
13853
		fi
13854
	else
13855
		enable_updater=no
13856
	fi
13857
fi
13858
13859
 if test x"$enable_updater" = "xyes"; then
13860
  ENABLE_UPDATER_TRUE=
13861
  ENABLE_UPDATER_FALSE='#'
13862
else
13863
  ENABLE_UPDATER_TRUE='#'
13864
  ENABLE_UPDATER_FALSE=
13865
fi
13866
13867
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
13868
1.1.22 by Daniel Holbach
Import upstream version 2.17.1
13869
ENCHANT_REQUIRED=1.2.0
13870
ISO_CODES_REQUIRED=0.35
13871
13872
# Check whether --enable-spell was given.
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
13873
if test "${enable_spell+set}" = set; then :
1.1.22 by Daniel Holbach
Import upstream version 2.17.1
13874
  enableval=$enable_spell; enable_enchant=$enableval
13875
else
13876
  enable_enchant=yes
13877
fi
13878
13879
13880
if test "x$enable_enchant" = "xyes" ; then
13881
13882
13883
pkg_failed=no
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
13884
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENCHANT" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
13885
$as_echo_n "checking for ENCHANT... " >&6; }
1.1.22 by Daniel Holbach
Import upstream version 2.17.1
13886
1.5.2 by Emilio Pozuelo Monfort
Import upstream version 2.28.3
13887
if test -n "$ENCHANT_CFLAGS"; then
13888
    pkg_cv_ENCHANT_CFLAGS="$ENCHANT_CFLAGS"
13889
 elif test -n "$PKG_CONFIG"; then
13890
    if test -n "$PKG_CONFIG" && \
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
13891
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"enchant >= \$ENCHANT_REQUIRED\""; } >&5
1.1.22 by Daniel Holbach
Import upstream version 2.17.1
13892
  ($PKG_CONFIG --exists --print-errors "enchant >= $ENCHANT_REQUIRED") 2>&5
13893
  ac_status=$?
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
13894
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13895
  test $ac_status = 0; }; then
1.1.22 by Daniel Holbach
Import upstream version 2.17.1
13896
  pkg_cv_ENCHANT_CFLAGS=`$PKG_CONFIG --cflags "enchant >= $ENCHANT_REQUIRED" 2>/dev/null`
13897
else
13898
  pkg_failed=yes
13899
fi
1.5.2 by Emilio Pozuelo Monfort
Import upstream version 2.28.3
13900
 else
13901
    pkg_failed=untried
1.1.22 by Daniel Holbach
Import upstream version 2.17.1
13902
fi
1.5.2 by Emilio Pozuelo Monfort
Import upstream version 2.28.3
13903
if test -n "$ENCHANT_LIBS"; then
13904
    pkg_cv_ENCHANT_LIBS="$ENCHANT_LIBS"
13905
 elif test -n "$PKG_CONFIG"; then
13906
    if test -n "$PKG_CONFIG" && \
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
13907
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"enchant >= \$ENCHANT_REQUIRED\""; } >&5
1.1.22 by Daniel Holbach
Import upstream version 2.17.1
13908
  ($PKG_CONFIG --exists --print-errors "enchant >= $ENCHANT_REQUIRED") 2>&5
13909
  ac_status=$?
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
13910
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13911
  test $ac_status = 0; }; then
1.1.22 by Daniel Holbach
Import upstream version 2.17.1
13912
  pkg_cv_ENCHANT_LIBS=`$PKG_CONFIG --libs "enchant >= $ENCHANT_REQUIRED" 2>/dev/null`
13913
else
13914
  pkg_failed=yes
13915
fi
1.5.2 by Emilio Pozuelo Monfort
Import upstream version 2.28.3
13916
 else
13917
    pkg_failed=untried
1.1.22 by Daniel Holbach
Import upstream version 2.17.1
13918
fi
13919
13920
13921
13922
if test $pkg_failed = yes; then
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
13923
   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13924
$as_echo "no" >&6; }
1.1.22 by Daniel Holbach
Import upstream version 2.17.1
13925
13926
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13927
        _pkg_short_errors_supported=yes
13928
else
13929
        _pkg_short_errors_supported=no
13930
fi
13931
        if test $_pkg_short_errors_supported = yes; then
1.5.2 by Emilio Pozuelo Monfort
Import upstream version 2.28.3
13932
	        ENCHANT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "enchant >= $ENCHANT_REQUIRED" 2>&1`
1.1.22 by Daniel Holbach
Import upstream version 2.17.1
13933
        else
1.5.2 by Emilio Pozuelo Monfort
Import upstream version 2.28.3
13934
	        ENCHANT_PKG_ERRORS=`$PKG_CONFIG --print-errors "enchant >= $ENCHANT_REQUIRED" 2>&1`
1.1.22 by Daniel Holbach
Import upstream version 2.17.1
13935
        fi
13936
	# Put the nasty error message in config.log where it belongs
13937
	echo "$ENCHANT_PKG_ERRORS" >&5
13938
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
13939
	have_enchant=no
13940
elif test $pkg_failed = untried; then
13941
     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
13942
$as_echo "no" >&6; }
1.1.22 by Daniel Holbach
Import upstream version 2.17.1
13943
	have_enchant=no
13944
else
13945
	ENCHANT_CFLAGS=$pkg_cv_ENCHANT_CFLAGS
13946
	ENCHANT_LIBS=$pkg_cv_ENCHANT_LIBS
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
13947
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
13948
$as_echo "yes" >&6; }
1.1.22 by Daniel Holbach
Import upstream version 2.17.1
13949
	\
13950
			  have_enchant=yes
13951
fi
13952
13953
	if test "x$have_enchant" = "xyes"; then
13954
13955
		if test -n "$PKG_CONFIG" && \
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
13956
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"iso-codes >= \$ISO_CODES_REQUIRED\""; } >&5
1.1.22 by Daniel Holbach
Import upstream version 2.17.1
13957
  ($PKG_CONFIG --exists --print-errors "iso-codes >= $ISO_CODES_REQUIRED") 2>&5
13958
  ac_status=$?
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
13959
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13960
  test $ac_status = 0; }; then
1.1.22 by Daniel Holbach
Import upstream version 2.17.1
13961
  have_iso_codes=yes
13962
else
13963
  have_iso_codes=no
13964
fi
13965
13966
		if test "x$have_iso_codes" = "xyes"; then
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
13967
			{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether iso-codes has iso-639 and iso-3166 domains" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
13968
$as_echo_n "checking whether iso-codes has iso-639 and iso-3166 domains... " >&6; }
1.1.27 by Sebastien Bacher
Import upstream version 2.17.6
13969
			if $PKG_CONFIG --variable=domains iso-codes | grep 639 > /dev/null && \
13970
			   $PKG_CONFIG --variable=domains iso-codes | grep 3166 > /dev/null ; then
1.1.22 by Daniel Holbach
Import upstream version 2.17.1
13971
				result=yes
13972
			else
13973
				result=no
13974
				have_iso_codes=no
13975
			fi
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
13976
			{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
13977
$as_echo "$result" >&6; }
1.1.22 by Daniel Holbach
Import upstream version 2.17.1
13978
		fi
13979
13980
		if test "x$have_iso_codes" = "xyes"; then
13981
13982
cat >>confdefs.h <<_ACEOF
13983
#define ISO_CODES_PREFIX "`$PKG_CONFIG --variable=prefix iso-codes`"
13984
_ACEOF
13985
13986
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
13987
$as_echo "#define HAVE_ISO_CODES 1" >>confdefs.h
1.1.22 by Daniel Holbach
Import upstream version 2.17.1
13988
13989
		else
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
13990
			as_fn_error $? "iso-codes is required to build the spell plugin. Use --disable-spell to build without spell plugin." "$LINENO" 5
1.1.22 by Daniel Holbach
Import upstream version 2.17.1
13991
		fi
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
13992
	else
1.1.63 by Robert Ancell
Import upstream version 2.27.2
13993
		enable_enchant=no
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
13994
		as_fn_error $? "Enchant library not found or too old. Use --disable-spell to build without spell plugin." "$LINENO" 5
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
13995
	fi
1.1.63 by Robert Ancell
Import upstream version 2.27.2
13996
fi
13997
13998
 if test x"$enable_enchant" = "xyes"; then
13999
  ENABLE_ENCHANT_TRUE=
14000
  ENABLE_ENCHANT_FALSE='#'
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
14001
else
1.1.63 by Robert Ancell
Import upstream version 2.27.2
14002
  ENABLE_ENCHANT_TRUE='#'
14003
  ENABLE_ENCHANT_FALSE=
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
14004
fi
14005
14006
1.7.1 by Mirco Bauer
Import upstream version 3.0.0
14007
14008
LIBZEITGEIST_REQUIRED=0.3.2
14009
14010
# Check whether --enable-zeitgeist was given.
14011
if test "${enable_zeitgeist+set}" = set; then :
14012
  enableval=$enable_zeitgeist; enable_zeitgeist=$enableval
14013
else
14014
  enable_zeitgeist="auto"
14015
fi
14016
14017
14018
if test "x$enable_zeitgeist" = "xauto" ; then
14019
	if test -n "$PKG_CONFIG" && \
14020
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"zeitgeist-1.0 >= \$LIBZEITGEIST_REQUIRED\""; } >&5
14021
  ($PKG_CONFIG --exists --print-errors "zeitgeist-1.0 >= $LIBZEITGEIST_REQUIRED") 2>&5
14022
  ac_status=$?
14023
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14024
  test $ac_status = 0; }; then
14025
  \
14026
			  enable_zeitgeist="yes"
14027
else
14028
  enable_zeitgeist="no"
14029
fi
14030
fi
14031
14032
if test "x$enable_zeitgeist" = "xyes" ; then
14033
14034
pkg_failed=no
14035
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ZEITGEIST" >&5
14036
$as_echo_n "checking for ZEITGEIST... " >&6; }
14037
14038
if test -n "$ZEITGEIST_CFLAGS"; then
14039
    pkg_cv_ZEITGEIST_CFLAGS="$ZEITGEIST_CFLAGS"
14040
 elif test -n "$PKG_CONFIG"; then
14041
    if test -n "$PKG_CONFIG" && \
14042
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
14043
			  zeitgeist-1.0 >= \$LIBZEITGEIST_REQUIRED\""; } >&5
14044
  ($PKG_CONFIG --exists --print-errors "\
14045
			  zeitgeist-1.0 >= $LIBZEITGEIST_REQUIRED") 2>&5
14046
  ac_status=$?
14047
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14048
  test $ac_status = 0; }; then
14049
  pkg_cv_ZEITGEIST_CFLAGS=`$PKG_CONFIG --cflags "\
14050
			  zeitgeist-1.0 >= $LIBZEITGEIST_REQUIRED" 2>/dev/null`
14051
else
14052
  pkg_failed=yes
14053
fi
14054
 else
14055
    pkg_failed=untried
14056
fi
14057
if test -n "$ZEITGEIST_LIBS"; then
14058
    pkg_cv_ZEITGEIST_LIBS="$ZEITGEIST_LIBS"
14059
 elif test -n "$PKG_CONFIG"; then
14060
    if test -n "$PKG_CONFIG" && \
14061
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
14062
			  zeitgeist-1.0 >= \$LIBZEITGEIST_REQUIRED\""; } >&5
14063
  ($PKG_CONFIG --exists --print-errors "\
14064
			  zeitgeist-1.0 >= $LIBZEITGEIST_REQUIRED") 2>&5
14065
  ac_status=$?
14066
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14067
  test $ac_status = 0; }; then
14068
  pkg_cv_ZEITGEIST_LIBS=`$PKG_CONFIG --libs "\
14069
			  zeitgeist-1.0 >= $LIBZEITGEIST_REQUIRED" 2>/dev/null`
14070
else
14071
  pkg_failed=yes
14072
fi
14073
 else
14074
    pkg_failed=untried
14075
fi
14076
14077
14078
14079
if test $pkg_failed = yes; then
14080
   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14081
$as_echo "no" >&6; }
14082
14083
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14084
        _pkg_short_errors_supported=yes
14085
else
14086
        _pkg_short_errors_supported=no
14087
fi
14088
        if test $_pkg_short_errors_supported = yes; then
14089
	        ZEITGEIST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "\
14090
			  zeitgeist-1.0 >= $LIBZEITGEIST_REQUIRED" 2>&1`
14091
        else
14092
	        ZEITGEIST_PKG_ERRORS=`$PKG_CONFIG --print-errors "\
14093
			  zeitgeist-1.0 >= $LIBZEITGEIST_REQUIRED" 2>&1`
14094
        fi
14095
	# Put the nasty error message in config.log where it belongs
14096
	echo "$ZEITGEIST_PKG_ERRORS" >&5
14097
14098
	as_fn_error $? "Package requirements (\
14099
			  zeitgeist-1.0 >= $LIBZEITGEIST_REQUIRED) were not met:
14100
14101
$ZEITGEIST_PKG_ERRORS
14102
14103
Consider adjusting the PKG_CONFIG_PATH environment variable if you
14104
installed software in a non-standard prefix.
14105
14106
Alternatively, you may set the environment variables ZEITGEIST_CFLAGS
14107
and ZEITGEIST_LIBS to avoid the need to call pkg-config.
14108
See the pkg-config man page for more details." "$LINENO" 5
14109
14110
elif test $pkg_failed = untried; then
14111
     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14112
$as_echo "no" >&6; }
14113
	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14114
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14115
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
14116
is in your PATH or set the PKG_CONFIG environment variable to the full
14117
path to pkg-config.
14118
14119
Alternatively, you may set the environment variables ZEITGEIST_CFLAGS
14120
and ZEITGEIST_LIBS to avoid the need to call pkg-config.
14121
See the pkg-config man page for more details.
14122
14123
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14124
See \`config.log' for more details" "$LINENO" 5; }
14125
14126
else
14127
	ZEITGEIST_CFLAGS=$pkg_cv_ZEITGEIST_CFLAGS
14128
	ZEITGEIST_LIBS=$pkg_cv_ZEITGEIST_LIBS
14129
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14130
$as_echo "yes" >&6; }
14131
14132
fi
14133
fi
14134
14135
 if test x"$enable_zeitgeist" = "xyes"; then
14136
  ENABLE_ZEITGEIST_TRUE=
14137
  ENABLE_ZEITGEIST_FALSE='#'
14138
else
14139
  ENABLE_ZEITGEIST_TRUE='#'
14140
  ENABLE_ZEITGEIST_FALSE=
14141
fi
14142
14143
14144
PYGOBJECT_REQUIRED=2.28
14145
14146
# Check whether --enable-python was given.
14147
if test "${enable_python+set}" = set; then :
14148
  enableval=$enable_python; enable_python=$enableval
14149
else
14150
  enable_python="auto"
14151
fi
14152
14153
14154
if test "x$enable_python" = "xauto"; then
14155
	if test -n "$PKG_CONFIG" && \
14156
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pygobject-2.0 >= \$PYGOBJECT_REQUIRED\""; } >&5
14157
  ($PKG_CONFIG --exists --print-errors "pygobject-2.0 >= $PYGOBJECT_REQUIRED") 2>&5
14158
  ac_status=$?
14159
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14160
  test $ac_status = 0; }; then
14161
  enable_python=yes
14162
else
14163
  enable_python=no
14164
fi
14165
fi
14166
14167
if test "x$enable_python" = "xyes"; then
14168
14169
pkg_failed=no
14170
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PYTHON" >&5
14171
$as_echo_n "checking for PYTHON... " >&6; }
14172
14173
if test -n "$PYTHON_CFLAGS"; then
14174
    pkg_cv_PYTHON_CFLAGS="$PYTHON_CFLAGS"
14175
 elif test -n "$PKG_CONFIG"; then
14176
    if test -n "$PKG_CONFIG" && \
14177
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pygobject-2.0 >= \$PYGOBJECT_REQUIRED\""; } >&5
14178
  ($PKG_CONFIG --exists --print-errors "pygobject-2.0 >= $PYGOBJECT_REQUIRED") 2>&5
14179
  ac_status=$?
14180
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14181
  test $ac_status = 0; }; then
14182
  pkg_cv_PYTHON_CFLAGS=`$PKG_CONFIG --cflags "pygobject-2.0 >= $PYGOBJECT_REQUIRED" 2>/dev/null`
14183
else
14184
  pkg_failed=yes
14185
fi
14186
 else
14187
    pkg_failed=untried
14188
fi
14189
if test -n "$PYTHON_LIBS"; then
14190
    pkg_cv_PYTHON_LIBS="$PYTHON_LIBS"
14191
 elif test -n "$PKG_CONFIG"; then
14192
    if test -n "$PKG_CONFIG" && \
14193
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pygobject-2.0 >= \$PYGOBJECT_REQUIRED\""; } >&5
14194
  ($PKG_CONFIG --exists --print-errors "pygobject-2.0 >= $PYGOBJECT_REQUIRED") 2>&5
14195
  ac_status=$?
14196
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14197
  test $ac_status = 0; }; then
14198
  pkg_cv_PYTHON_LIBS=`$PKG_CONFIG --libs "pygobject-2.0 >= $PYGOBJECT_REQUIRED" 2>/dev/null`
14199
else
14200
  pkg_failed=yes
14201
fi
14202
 else
14203
    pkg_failed=untried
14204
fi
14205
14206
14207
14208
if test $pkg_failed = yes; then
14209
   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14210
$as_echo "no" >&6; }
14211
14212
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14213
        _pkg_short_errors_supported=yes
14214
else
14215
        _pkg_short_errors_supported=no
14216
fi
14217
        if test $_pkg_short_errors_supported = yes; then
14218
	        PYTHON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "pygobject-2.0 >= $PYGOBJECT_REQUIRED" 2>&1`
14219
        else
14220
	        PYTHON_PKG_ERRORS=`$PKG_CONFIG --print-errors "pygobject-2.0 >= $PYGOBJECT_REQUIRED" 2>&1`
14221
        fi
14222
	# Put the nasty error message in config.log where it belongs
14223
	echo "$PYTHON_PKG_ERRORS" >&5
14224
14225
	as_fn_error $? "Package requirements (pygobject-2.0 >= $PYGOBJECT_REQUIRED) were not met:
14226
14227
$PYTHON_PKG_ERRORS
14228
14229
Consider adjusting the PKG_CONFIG_PATH environment variable if you
14230
installed software in a non-standard prefix.
14231
14232
Alternatively, you may set the environment variables PYTHON_CFLAGS
14233
and PYTHON_LIBS to avoid the need to call pkg-config.
14234
See the pkg-config man page for more details." "$LINENO" 5
14235
14236
elif test $pkg_failed = untried; then
14237
     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14238
$as_echo "no" >&6; }
14239
	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14240
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14241
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
14242
is in your PATH or set the PKG_CONFIG environment variable to the full
14243
path to pkg-config.
14244
14245
Alternatively, you may set the environment variables PYTHON_CFLAGS
14246
and PYTHON_LIBS to avoid the need to call pkg-config.
14247
See the pkg-config man page for more details.
14248
14249
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14250
See \`config.log' for more details" "$LINENO" 5; }
14251
14252
else
14253
	PYTHON_CFLAGS=$pkg_cv_PYTHON_CFLAGS
14254
	PYTHON_LIBS=$pkg_cv_PYTHON_LIBS
14255
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14256
$as_echo "yes" >&6; }
14257
14258
fi
14259
14260
	pyoverridesdir=`$PKG_CONFIG --variable=overridesdir pygobject-2.0`
14261
14262
fi
14263
14264
 if test x"$enable_python" = "xyes"; then
14265
  ENABLE_PYTHON_TRUE=
14266
  ENABLE_PYTHON_FALSE='#'
14267
else
14268
  ENABLE_PYTHON_TRUE='#'
14269
  ENABLE_PYTHON_FALSE=
14270
fi
14271
14272
14273
14274
# Dependencies
1.1.22 by Daniel Holbach
Import upstream version 2.17.1
14275
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
14276
1.1.6 by Daniel Holbach
Import upstream version 2.13.90
14277
pkg_failed=no
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
14278
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GEDIT" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
14279
$as_echo_n "checking for GEDIT... " >&6; }
1.1.6 by Daniel Holbach
Import upstream version 2.13.90
14280
1.5.2 by Emilio Pozuelo Monfort
Import upstream version 2.28.3
14281
if test -n "$GEDIT_CFLAGS"; then
14282
    pkg_cv_GEDIT_CFLAGS="$GEDIT_CFLAGS"
14283
 elif test -n "$PKG_CONFIG"; then
14284
    if test -n "$PKG_CONFIG" && \
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
14285
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
1.1.45 by Sebastien Bacher
Import upstream version 2.23.3
14286
	libxml-2.0 >= 2.5.0
1.7.1 by Mirco Bauer
Import upstream version 3.0.0
14287
	glib-2.0 >= 2.28.0
1.1.46 by Sebastien Bacher
Import upstream version 2.23.90
14288
	gthread-2.0 >= 2.13.0
1.7.1 by Mirco Bauer
Import upstream version 3.0.0
14289
	gio-2.0 >= 2.26.0
1.1.86 by Michael Terry
Import upstream version 3.1.1
14290
	gtk+-3.0 >= 3.1.6
1.7.1 by Mirco Bauer
Import upstream version 3.0.0
14291
	gtksourceview-3.0 >= 3.0.0
14292
	libpeas-1.0 >= 0.7.3
14293
	libpeas-gtk-1.0 >= 0.7.3
14294
	gsettings-desktop-schemas
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
14295
\""; } >&5
1.1.6 by Daniel Holbach
Import upstream version 2.13.90
14296
  ($PKG_CONFIG --exists --print-errors "
1.1.45 by Sebastien Bacher
Import upstream version 2.23.3
14297
	libxml-2.0 >= 2.5.0
1.7.1 by Mirco Bauer
Import upstream version 3.0.0
14298
	glib-2.0 >= 2.28.0
1.1.46 by Sebastien Bacher
Import upstream version 2.23.90
14299
	gthread-2.0 >= 2.13.0
1.7.1 by Mirco Bauer
Import upstream version 3.0.0
14300
	gio-2.0 >= 2.26.0
1.1.86 by Michael Terry
Import upstream version 3.1.1
14301
	gtk+-3.0 >= 3.1.6
1.7.1 by Mirco Bauer
Import upstream version 3.0.0
14302
	gtksourceview-3.0 >= 3.0.0
14303
	libpeas-1.0 >= 0.7.3
14304
	libpeas-gtk-1.0 >= 0.7.3
14305
	gsettings-desktop-schemas
1.1.6 by Daniel Holbach
Import upstream version 2.13.90
14306
") 2>&5
14307
  ac_status=$?
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
14308
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14309
  test $ac_status = 0; }; then
1.1.6 by Daniel Holbach
Import upstream version 2.13.90
14310
  pkg_cv_GEDIT_CFLAGS=`$PKG_CONFIG --cflags "
1.1.45 by Sebastien Bacher
Import upstream version 2.23.3
14311
	libxml-2.0 >= 2.5.0
1.7.1 by Mirco Bauer
Import upstream version 3.0.0
14312
	glib-2.0 >= 2.28.0
1.1.46 by Sebastien Bacher
Import upstream version 2.23.90
14313
	gthread-2.0 >= 2.13.0
1.7.1 by Mirco Bauer
Import upstream version 3.0.0
14314
	gio-2.0 >= 2.26.0
1.1.86 by Michael Terry
Import upstream version 3.1.1
14315
	gtk+-3.0 >= 3.1.6
1.7.1 by Mirco Bauer
Import upstream version 3.0.0
14316
	gtksourceview-3.0 >= 3.0.0
14317
	libpeas-1.0 >= 0.7.3
14318
	libpeas-gtk-1.0 >= 0.7.3
14319
	gsettings-desktop-schemas
1.1.6 by Daniel Holbach
Import upstream version 2.13.90
14320
" 2>/dev/null`
14321
else
14322
  pkg_failed=yes
14323
fi
1.5.2 by Emilio Pozuelo Monfort
Import upstream version 2.28.3
14324
 else
14325
    pkg_failed=untried
1.1.6 by Daniel Holbach
Import upstream version 2.13.90
14326
fi
1.5.2 by Emilio Pozuelo Monfort
Import upstream version 2.28.3
14327
if test -n "$GEDIT_LIBS"; then
14328
    pkg_cv_GEDIT_LIBS="$GEDIT_LIBS"
14329
 elif test -n "$PKG_CONFIG"; then
14330
    if test -n "$PKG_CONFIG" && \
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
14331
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
1.1.45 by Sebastien Bacher
Import upstream version 2.23.3
14332
	libxml-2.0 >= 2.5.0
1.7.1 by Mirco Bauer
Import upstream version 3.0.0
14333
	glib-2.0 >= 2.28.0
1.1.46 by Sebastien Bacher
Import upstream version 2.23.90
14334
	gthread-2.0 >= 2.13.0
1.7.1 by Mirco Bauer
Import upstream version 3.0.0
14335
	gio-2.0 >= 2.26.0
1.1.86 by Michael Terry
Import upstream version 3.1.1
14336
	gtk+-3.0 >= 3.1.6
1.7.1 by Mirco Bauer
Import upstream version 3.0.0
14337
	gtksourceview-3.0 >= 3.0.0
14338
	libpeas-1.0 >= 0.7.3
14339
	libpeas-gtk-1.0 >= 0.7.3
14340
	gsettings-desktop-schemas
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
14341
\""; } >&5
1.1.6 by Daniel Holbach
Import upstream version 2.13.90
14342
  ($PKG_CONFIG --exists --print-errors "
1.1.45 by Sebastien Bacher
Import upstream version 2.23.3
14343
	libxml-2.0 >= 2.5.0
1.7.1 by Mirco Bauer
Import upstream version 3.0.0
14344
	glib-2.0 >= 2.28.0
1.1.46 by Sebastien Bacher
Import upstream version 2.23.90
14345
	gthread-2.0 >= 2.13.0
1.7.1 by Mirco Bauer
Import upstream version 3.0.0
14346
	gio-2.0 >= 2.26.0
1.1.86 by Michael Terry
Import upstream version 3.1.1
14347
	gtk+-3.0 >= 3.1.6
1.7.1 by Mirco Bauer
Import upstream version 3.0.0
14348
	gtksourceview-3.0 >= 3.0.0
14349
	libpeas-1.0 >= 0.7.3
14350
	libpeas-gtk-1.0 >= 0.7.3
14351
	gsettings-desktop-schemas
1.1.6 by Daniel Holbach
Import upstream version 2.13.90
14352
") 2>&5
14353
  ac_status=$?
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
14354
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14355
  test $ac_status = 0; }; then
1.1.6 by Daniel Holbach
Import upstream version 2.13.90
14356
  pkg_cv_GEDIT_LIBS=`$PKG_CONFIG --libs "
1.1.45 by Sebastien Bacher
Import upstream version 2.23.3
14357
	libxml-2.0 >= 2.5.0
1.7.1 by Mirco Bauer
Import upstream version 3.0.0
14358
	glib-2.0 >= 2.28.0
1.1.46 by Sebastien Bacher
Import upstream version 2.23.90
14359
	gthread-2.0 >= 2.13.0
1.7.1 by Mirco Bauer
Import upstream version 3.0.0
14360
	gio-2.0 >= 2.26.0
1.1.86 by Michael Terry
Import upstream version 3.1.1
14361
	gtk+-3.0 >= 3.1.6
1.7.1 by Mirco Bauer
Import upstream version 3.0.0
14362
	gtksourceview-3.0 >= 3.0.0
14363
	libpeas-1.0 >= 0.7.3
14364
	libpeas-gtk-1.0 >= 0.7.3
14365
	gsettings-desktop-schemas
1.1.6 by Daniel Holbach
Import upstream version 2.13.90
14366
" 2>/dev/null`
14367
else
14368
  pkg_failed=yes
14369
fi
1.5.2 by Emilio Pozuelo Monfort
Import upstream version 2.28.3
14370
 else
14371
    pkg_failed=untried
1.1.6 by Daniel Holbach
Import upstream version 2.13.90
14372
fi
14373
1.2.1 by Daniel Holbach
Import upstream version 2.14.3
14374
14375
1.1.6 by Daniel Holbach
Import upstream version 2.13.90
14376
if test $pkg_failed = yes; then
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
14377
   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14378
$as_echo "no" >&6; }
1.2.1 by Daniel Holbach
Import upstream version 2.14.3
14379
14380
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14381
        _pkg_short_errors_supported=yes
14382
else
14383
        _pkg_short_errors_supported=no
14384
fi
14385
        if test $_pkg_short_errors_supported = yes; then
1.5.2 by Emilio Pozuelo Monfort
Import upstream version 2.28.3
14386
	        GEDIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
1.1.45 by Sebastien Bacher
Import upstream version 2.23.3
14387
	libxml-2.0 >= 2.5.0
1.7.1 by Mirco Bauer
Import upstream version 3.0.0
14388
	glib-2.0 >= 2.28.0
1.1.46 by Sebastien Bacher
Import upstream version 2.23.90
14389
	gthread-2.0 >= 2.13.0
1.7.1 by Mirco Bauer
Import upstream version 3.0.0
14390
	gio-2.0 >= 2.26.0
1.1.86 by Michael Terry
Import upstream version 3.1.1
14391
	gtk+-3.0 >= 3.1.6
1.7.1 by Mirco Bauer
Import upstream version 3.0.0
14392
	gtksourceview-3.0 >= 3.0.0
14393
	libpeas-1.0 >= 0.7.3
14394
	libpeas-gtk-1.0 >= 0.7.3
14395
	gsettings-desktop-schemas
1.5.2 by Emilio Pozuelo Monfort
Import upstream version 2.28.3
14396
" 2>&1`
1.2.1 by Daniel Holbach
Import upstream version 2.14.3
14397
        else
1.5.2 by Emilio Pozuelo Monfort
Import upstream version 2.28.3
14398
	        GEDIT_PKG_ERRORS=`$PKG_CONFIG --print-errors "
1.1.45 by Sebastien Bacher
Import upstream version 2.23.3
14399
	libxml-2.0 >= 2.5.0
1.7.1 by Mirco Bauer
Import upstream version 3.0.0
14400
	glib-2.0 >= 2.28.0
1.1.46 by Sebastien Bacher
Import upstream version 2.23.90
14401
	gthread-2.0 >= 2.13.0
1.7.1 by Mirco Bauer
Import upstream version 3.0.0
14402
	gio-2.0 >= 2.26.0
1.1.86 by Michael Terry
Import upstream version 3.1.1
14403
	gtk+-3.0 >= 3.1.6
1.7.1 by Mirco Bauer
Import upstream version 3.0.0
14404
	gtksourceview-3.0 >= 3.0.0
14405
	libpeas-1.0 >= 0.7.3
14406
	libpeas-gtk-1.0 >= 0.7.3
14407
	gsettings-desktop-schemas
1.5.2 by Emilio Pozuelo Monfort
Import upstream version 2.28.3
14408
" 2>&1`
1.2.1 by Daniel Holbach
Import upstream version 2.14.3
14409
        fi
1.1.6 by Daniel Holbach
Import upstream version 2.13.90
14410
	# Put the nasty error message in config.log where it belongs
1.2.1 by Daniel Holbach
Import upstream version 2.14.3
14411
	echo "$GEDIT_PKG_ERRORS" >&5
1.1.6 by Daniel Holbach
Import upstream version 2.13.90
14412
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
14413
	as_fn_error $? "Package requirements (
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
14414
	libxml-2.0 >= 2.5.0
1.7.1 by Mirco Bauer
Import upstream version 3.0.0
14415
	glib-2.0 >= 2.28.0
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
14416
	gthread-2.0 >= 2.13.0
1.7.1 by Mirco Bauer
Import upstream version 3.0.0
14417
	gio-2.0 >= 2.26.0
1.1.86 by Michael Terry
Import upstream version 3.1.1
14418
	gtk+-3.0 >= 3.1.6
1.7.1 by Mirco Bauer
Import upstream version 3.0.0
14419
	gtksourceview-3.0 >= 3.0.0
14420
	libpeas-1.0 >= 0.7.3
14421
	libpeas-gtk-1.0 >= 0.7.3
14422
	gsettings-desktop-schemas
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
14423
) were not met:
14424
14425
$GEDIT_PKG_ERRORS
14426
14427
Consider adjusting the PKG_CONFIG_PATH environment variable if you
14428
installed software in a non-standard prefix.
14429
14430
Alternatively, you may set the environment variables GEDIT_CFLAGS
14431
and GEDIT_LIBS to avoid the need to call pkg-config.
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
14432
See the pkg-config man page for more details." "$LINENO" 5
14433
1.1.6 by Daniel Holbach
Import upstream version 2.13.90
14434
elif test $pkg_failed = untried; then
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
14435
     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14436
$as_echo "no" >&6; }
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
14437
	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
14438
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
14439
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
14440
is in your PATH or set the PKG_CONFIG environment variable to the full
14441
path to pkg-config.
14442
14443
Alternatively, you may set the environment variables GEDIT_CFLAGS
14444
and GEDIT_LIBS to avoid the need to call pkg-config.
14445
See the pkg-config man page for more details.
14446
14447
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
14448
See \`config.log' for more details" "$LINENO" 5; }
14449
1.1.6 by Daniel Holbach
Import upstream version 2.13.90
14450
else
14451
	GEDIT_CFLAGS=$pkg_cv_GEDIT_CFLAGS
14452
	GEDIT_LIBS=$pkg_cv_GEDIT_LIBS
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
14453
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
14454
$as_echo "yes" >&6; }
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
14455
1.5.3 by Luca Bruno
Import upstream version 2.30.0
14456
fi
14457
1.1.76 by Sebastien Bacher
Import upstream version 2.29.9
14458
if test "$os_osx" = "no" &&
14459
   test "$os_win32" = "no"; then
14460
14461
pkg_failed=no
14462
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11" >&5
14463
$as_echo_n "checking for X11... " >&6; }
14464
1.5.3 by Luca Bruno
Import upstream version 2.30.0
14465
if test -n "$X11_CFLAGS"; then
14466
    pkg_cv_X11_CFLAGS="$X11_CFLAGS"
14467
 elif test -n "$PKG_CONFIG"; then
14468
    if test -n "$PKG_CONFIG" && \
1.1.76 by Sebastien Bacher
Import upstream version 2.29.9
14469
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
14470
		x11
14471
	\""; } >&5
14472
  ($PKG_CONFIG --exists --print-errors "
14473
		x11
14474
	") 2>&5
14475
  ac_status=$?
14476
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14477
  test $ac_status = 0; }; then
14478
  pkg_cv_X11_CFLAGS=`$PKG_CONFIG --cflags "
14479
		x11
14480
	" 2>/dev/null`
14481
else
14482
  pkg_failed=yes
14483
fi
1.5.3 by Luca Bruno
Import upstream version 2.30.0
14484
 else
14485
    pkg_failed=untried
1.1.76 by Sebastien Bacher
Import upstream version 2.29.9
14486
fi
1.5.3 by Luca Bruno
Import upstream version 2.30.0
14487
if test -n "$X11_LIBS"; then
14488
    pkg_cv_X11_LIBS="$X11_LIBS"
14489
 elif test -n "$PKG_CONFIG"; then
14490
    if test -n "$PKG_CONFIG" && \
1.1.76 by Sebastien Bacher
Import upstream version 2.29.9
14491
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
14492
		x11
14493
	\""; } >&5
14494
  ($PKG_CONFIG --exists --print-errors "
14495
		x11
14496
	") 2>&5
14497
  ac_status=$?
14498
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14499
  test $ac_status = 0; }; then
14500
  pkg_cv_X11_LIBS=`$PKG_CONFIG --libs "
14501
		x11
14502
	" 2>/dev/null`
14503
else
14504
  pkg_failed=yes
14505
fi
1.5.3 by Luca Bruno
Import upstream version 2.30.0
14506
 else
14507
    pkg_failed=untried
1.1.76 by Sebastien Bacher
Import upstream version 2.29.9
14508
fi
14509
14510
14511
14512
if test $pkg_failed = yes; then
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
14513
   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14514
$as_echo "no" >&6; }
1.1.76 by Sebastien Bacher
Import upstream version 2.29.9
14515
14516
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14517
        _pkg_short_errors_supported=yes
14518
else
14519
        _pkg_short_errors_supported=no
14520
fi
14521
        if test $_pkg_short_errors_supported = yes; then
1.5.3 by Luca Bruno
Import upstream version 2.30.0
14522
	        X11_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
1.1.76 by Sebastien Bacher
Import upstream version 2.29.9
14523
		x11
1.5.3 by Luca Bruno
Import upstream version 2.30.0
14524
	" 2>&1`
1.1.76 by Sebastien Bacher
Import upstream version 2.29.9
14525
        else
1.5.3 by Luca Bruno
Import upstream version 2.30.0
14526
	        X11_PKG_ERRORS=`$PKG_CONFIG --print-errors "
1.1.76 by Sebastien Bacher
Import upstream version 2.29.9
14527
		x11
1.5.3 by Luca Bruno
Import upstream version 2.30.0
14528
	" 2>&1`
1.1.76 by Sebastien Bacher
Import upstream version 2.29.9
14529
        fi
14530
	# Put the nasty error message in config.log where it belongs
14531
	echo "$X11_PKG_ERRORS" >&5
14532
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
14533
	as_fn_error $? "Package requirements (
1.1.76 by Sebastien Bacher
Import upstream version 2.29.9
14534
		x11
14535
	) were not met:
14536
14537
$X11_PKG_ERRORS
14538
14539
Consider adjusting the PKG_CONFIG_PATH environment variable if you
14540
installed software in a non-standard prefix.
14541
14542
Alternatively, you may set the environment variables X11_CFLAGS
14543
and X11_LIBS to avoid the need to call pkg-config.
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
14544
See the pkg-config man page for more details." "$LINENO" 5
14545
1.1.76 by Sebastien Bacher
Import upstream version 2.29.9
14546
elif test $pkg_failed = untried; then
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
14547
     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14548
$as_echo "no" >&6; }
1.1.76 by Sebastien Bacher
Import upstream version 2.29.9
14549
	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14550
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
14551
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
1.1.76 by Sebastien Bacher
Import upstream version 2.29.9
14552
is in your PATH or set the PKG_CONFIG environment variable to the full
14553
path to pkg-config.
14554
14555
Alternatively, you may set the environment variables X11_CFLAGS
14556
and X11_LIBS to avoid the need to call pkg-config.
14557
See the pkg-config man page for more details.
14558
14559
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
14560
See \`config.log' for more details" "$LINENO" 5; }
14561
1.1.76 by Sebastien Bacher
Import upstream version 2.29.9
14562
else
14563
	X11_CFLAGS=$pkg_cv_X11_CFLAGS
14564
	X11_LIBS=$pkg_cv_X11_LIBS
14565
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14566
$as_echo "yes" >&6; }
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
14567
1.1.76 by Sebastien Bacher
Import upstream version 2.29.9
14568
fi
14569
else
14570
	X11_CFLAGS=
14571
	X11_LIBS=
14572
fi
14573
1.7.1 by Mirco Bauer
Import upstream version 3.0.0
14574
if test "$platform_win32" = "no"; then
14575
14576
pkg_failed=no
14577
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for UNIX" >&5
14578
$as_echo_n "checking for UNIX... " >&6; }
14579
14580
if test -n "$UNIX_CFLAGS"; then
14581
    pkg_cv_UNIX_CFLAGS="$UNIX_CFLAGS"
14582
 elif test -n "$PKG_CONFIG"; then
14583
    if test -n "$PKG_CONFIG" && \
14584
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
14585
		gio-unix-2.0 >= 2.25.5
14586
	\""; } >&5
14587
  ($PKG_CONFIG --exists --print-errors "
14588
		gio-unix-2.0 >= 2.25.5
14589
	") 2>&5
14590
  ac_status=$?
14591
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14592
  test $ac_status = 0; }; then
14593
  pkg_cv_UNIX_CFLAGS=`$PKG_CONFIG --cflags "
14594
		gio-unix-2.0 >= 2.25.5
14595
	" 2>/dev/null`
14596
else
14597
  pkg_failed=yes
14598
fi
14599
 else
14600
    pkg_failed=untried
14601
fi
14602
if test -n "$UNIX_LIBS"; then
14603
    pkg_cv_UNIX_LIBS="$UNIX_LIBS"
14604
 elif test -n "$PKG_CONFIG"; then
14605
    if test -n "$PKG_CONFIG" && \
14606
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
14607
		gio-unix-2.0 >= 2.25.5
14608
	\""; } >&5
14609
  ($PKG_CONFIG --exists --print-errors "
14610
		gio-unix-2.0 >= 2.25.5
14611
	") 2>&5
14612
  ac_status=$?
14613
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14614
  test $ac_status = 0; }; then
14615
  pkg_cv_UNIX_LIBS=`$PKG_CONFIG --libs "
14616
		gio-unix-2.0 >= 2.25.5
14617
	" 2>/dev/null`
14618
else
14619
  pkg_failed=yes
14620
fi
14621
 else
14622
    pkg_failed=untried
14623
fi
14624
14625
14626
14627
if test $pkg_failed = yes; then
14628
   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14629
$as_echo "no" >&6; }
14630
14631
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14632
        _pkg_short_errors_supported=yes
14633
else
14634
        _pkg_short_errors_supported=no
14635
fi
14636
        if test $_pkg_short_errors_supported = yes; then
14637
	        UNIX_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
14638
		gio-unix-2.0 >= 2.25.5
14639
	" 2>&1`
14640
        else
14641
	        UNIX_PKG_ERRORS=`$PKG_CONFIG --print-errors "
14642
		gio-unix-2.0 >= 2.25.5
14643
	" 2>&1`
14644
        fi
14645
	# Put the nasty error message in config.log where it belongs
14646
	echo "$UNIX_PKG_ERRORS" >&5
14647
14648
	as_fn_error $? "Package requirements (
14649
		gio-unix-2.0 >= 2.25.5
14650
	) were not met:
14651
14652
$UNIX_PKG_ERRORS
14653
14654
Consider adjusting the PKG_CONFIG_PATH environment variable if you
14655
installed software in a non-standard prefix.
14656
14657
Alternatively, you may set the environment variables UNIX_CFLAGS
14658
and UNIX_LIBS to avoid the need to call pkg-config.
14659
See the pkg-config man page for more details." "$LINENO" 5
14660
14661
elif test $pkg_failed = untried; then
14662
     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14663
$as_echo "no" >&6; }
14664
	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14665
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14666
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
14667
is in your PATH or set the PKG_CONFIG environment variable to the full
14668
path to pkg-config.
14669
14670
Alternatively, you may set the environment variables UNIX_CFLAGS
14671
and UNIX_LIBS to avoid the need to call pkg-config.
14672
See the pkg-config man page for more details.
14673
14674
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14675
See \`config.log' for more details" "$LINENO" 5; }
14676
14677
else
14678
	UNIX_CFLAGS=$pkg_cv_UNIX_CFLAGS
14679
	UNIX_LIBS=$pkg_cv_UNIX_LIBS
14680
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14681
$as_echo "yes" >&6; }
14682
14683
fi
14684
else
14685
	UNIX_CFLAGS=
14686
	UNIX_LIBS=
14687
fi
14688
14689
GEDIT_CFLAGS="$GEDIT_CFLAGS $X11_CFLAGS $UNIX_CFLAGS"
14690
GEDIT_LIBS="$GEDIT_LIBS $X11_LIBS $UNIX_LIBS"
14691
14692
14693
1.1.69 by Sebastien Bacher
Import upstream version 2.29.2
14694
1.4.2 by Emilio Pozuelo Monfort
Import upstream version 2.28.1
14695
if test "$os_osx" = "no" &&
1.1.76 by Sebastien Bacher
Import upstream version 2.29.9
14696
   test "$os_win32" = "no"; then
1.1.53 by Sebastien Bacher
Import upstream version 2.25.2
14697
14698
pkg_failed=no
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
14699
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EGG_SMCLIENT" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
14700
$as_echo_n "checking for EGG_SMCLIENT... " >&6; }
1.1.53 by Sebastien Bacher
Import upstream version 2.25.2
14701
1.5.2 by Emilio Pozuelo Monfort
Import upstream version 2.28.3
14702
if test -n "$EGG_SMCLIENT_CFLAGS"; then
14703
    pkg_cv_EGG_SMCLIENT_CFLAGS="$EGG_SMCLIENT_CFLAGS"
14704
 elif test -n "$PKG_CONFIG"; then
14705
    if test -n "$PKG_CONFIG" && \
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
14706
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
1.1.53 by Sebastien Bacher
Import upstream version 2.25.2
14707
		sm >= 1.0.0
2.1.11 by Michael Biebl
* New upstream bugfix release.
14708
		ice
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
14709
	\""; } >&5
1.1.53 by Sebastien Bacher
Import upstream version 2.25.2
14710
  ($PKG_CONFIG --exists --print-errors "
14711
		sm >= 1.0.0
2.1.11 by Michael Biebl
* New upstream bugfix release.
14712
		ice
1.1.53 by Sebastien Bacher
Import upstream version 2.25.2
14713
	") 2>&5
14714
  ac_status=$?
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
14715
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14716
  test $ac_status = 0; }; then
1.1.53 by Sebastien Bacher
Import upstream version 2.25.2
14717
  pkg_cv_EGG_SMCLIENT_CFLAGS=`$PKG_CONFIG --cflags "
14718
		sm >= 1.0.0
2.1.11 by Michael Biebl
* New upstream bugfix release.
14719
		ice
1.1.53 by Sebastien Bacher
Import upstream version 2.25.2
14720
	" 2>/dev/null`
14721
else
14722
  pkg_failed=yes
14723
fi
1.5.2 by Emilio Pozuelo Monfort
Import upstream version 2.28.3
14724
 else
14725
    pkg_failed=untried
1.1.53 by Sebastien Bacher
Import upstream version 2.25.2
14726
fi
1.5.2 by Emilio Pozuelo Monfort
Import upstream version 2.28.3
14727
if test -n "$EGG_SMCLIENT_LIBS"; then
14728
    pkg_cv_EGG_SMCLIENT_LIBS="$EGG_SMCLIENT_LIBS"
14729
 elif test -n "$PKG_CONFIG"; then
14730
    if test -n "$PKG_CONFIG" && \
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
14731
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
1.1.53 by Sebastien Bacher
Import upstream version 2.25.2
14732
		sm >= 1.0.0
2.1.11 by Michael Biebl
* New upstream bugfix release.
14733
		ice
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
14734
	\""; } >&5
1.1.53 by Sebastien Bacher
Import upstream version 2.25.2
14735
  ($PKG_CONFIG --exists --print-errors "
14736
		sm >= 1.0.0
2.1.11 by Michael Biebl
* New upstream bugfix release.
14737
		ice
1.1.53 by Sebastien Bacher
Import upstream version 2.25.2
14738
	") 2>&5
14739
  ac_status=$?
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
14740
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14741
  test $ac_status = 0; }; then
1.1.53 by Sebastien Bacher
Import upstream version 2.25.2
14742
  pkg_cv_EGG_SMCLIENT_LIBS=`$PKG_CONFIG --libs "
14743
		sm >= 1.0.0
2.1.11 by Michael Biebl
* New upstream bugfix release.
14744
		ice
1.1.53 by Sebastien Bacher
Import upstream version 2.25.2
14745
	" 2>/dev/null`
14746
else
14747
  pkg_failed=yes
14748
fi
1.5.2 by Emilio Pozuelo Monfort
Import upstream version 2.28.3
14749
 else
14750
    pkg_failed=untried
1.1.53 by Sebastien Bacher
Import upstream version 2.25.2
14751
fi
14752
14753
14754
14755
if test $pkg_failed = yes; then
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
14756
   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14757
$as_echo "no" >&6; }
1.1.53 by Sebastien Bacher
Import upstream version 2.25.2
14758
14759
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14760
        _pkg_short_errors_supported=yes
14761
else
14762
        _pkg_short_errors_supported=no
14763
fi
14764
        if test $_pkg_short_errors_supported = yes; then
1.5.2 by Emilio Pozuelo Monfort
Import upstream version 2.28.3
14765
	        EGG_SMCLIENT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
1.1.53 by Sebastien Bacher
Import upstream version 2.25.2
14766
		sm >= 1.0.0
2.1.11 by Michael Biebl
* New upstream bugfix release.
14767
		ice
1.5.2 by Emilio Pozuelo Monfort
Import upstream version 2.28.3
14768
	" 2>&1`
1.1.53 by Sebastien Bacher
Import upstream version 2.25.2
14769
        else
1.5.2 by Emilio Pozuelo Monfort
Import upstream version 2.28.3
14770
	        EGG_SMCLIENT_PKG_ERRORS=`$PKG_CONFIG --print-errors "
1.1.53 by Sebastien Bacher
Import upstream version 2.25.2
14771
		sm >= 1.0.0
2.1.11 by Michael Biebl
* New upstream bugfix release.
14772
		ice
1.5.2 by Emilio Pozuelo Monfort
Import upstream version 2.28.3
14773
	" 2>&1`
1.1.53 by Sebastien Bacher
Import upstream version 2.25.2
14774
        fi
14775
	# Put the nasty error message in config.log where it belongs
14776
	echo "$EGG_SMCLIENT_PKG_ERRORS" >&5
14777
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
14778
	as_fn_error $? "Package requirements (
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
14779
		sm >= 1.0.0
2.1.11 by Michael Biebl
* New upstream bugfix release.
14780
		ice
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
14781
	) were not met:
14782
14783
$EGG_SMCLIENT_PKG_ERRORS
14784
14785
Consider adjusting the PKG_CONFIG_PATH environment variable if you
14786
installed software in a non-standard prefix.
14787
14788
Alternatively, you may set the environment variables EGG_SMCLIENT_CFLAGS
14789
and EGG_SMCLIENT_LIBS to avoid the need to call pkg-config.
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
14790
See the pkg-config man page for more details." "$LINENO" 5
14791
1.1.53 by Sebastien Bacher
Import upstream version 2.25.2
14792
elif test $pkg_failed = untried; then
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
14793
     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14794
$as_echo "no" >&6; }
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
14795
	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
14796
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
14797
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
14798
is in your PATH or set the PKG_CONFIG environment variable to the full
14799
path to pkg-config.
14800
14801
Alternatively, you may set the environment variables EGG_SMCLIENT_CFLAGS
14802
and EGG_SMCLIENT_LIBS to avoid the need to call pkg-config.
14803
See the pkg-config man page for more details.
14804
14805
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
14806
See \`config.log' for more details" "$LINENO" 5; }
14807
1.1.53 by Sebastien Bacher
Import upstream version 2.25.2
14808
else
14809
	EGG_SMCLIENT_CFLAGS=$pkg_cv_EGG_SMCLIENT_CFLAGS
14810
	EGG_SMCLIENT_LIBS=$pkg_cv_EGG_SMCLIENT_LIBS
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
14811
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
14812
$as_echo "yes" >&6; }
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
14813
1.1.53 by Sebastien Bacher
Import upstream version 2.25.2
14814
fi
14815
else
14816
	EGG_SMCLIENT_CFLAGS=
1.1.57 by Sebastien Bacher
Import upstream version 2.25.6
14817
	EGG_SMCLIENT_LIBS=
1.1.53 by Sebastien Bacher
Import upstream version 2.25.2
14818
fi
14819
14820
14821
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
14822
14823
14824
1.7.1 by Mirco Bauer
Import upstream version 3.0.0
14825
14826
  # Check whether --enable-schemas-compile was given.
14827
if test "${enable_schemas_compile+set}" = set; then :
14828
  enableval=$enable_schemas_compile; case ${enableval} in
14829
                  yes) GSETTINGS_DISABLE_SCHEMAS_COMPILE=""  ;;
14830
                  no)  GSETTINGS_DISABLE_SCHEMAS_COMPILE="1" ;;
14831
                  *) as_fn_error $? "bad value ${enableval} for --enable-schemas-compile" "$LINENO" 5 ;;
14832
                 esac
14833
fi
14834
14835
14836
14837
14838
14839
14840
14841
14842
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
14843
	if test -n "$ac_tool_prefix"; then
14844
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
14845
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
14846
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14847
$as_echo_n "checking for $ac_word... " >&6; }
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
14848
if ${ac_cv_path_PKG_CONFIG+:} false; then :
1.7.1 by Mirco Bauer
Import upstream version 3.0.0
14849
  $as_echo_n "(cached) " >&6
14850
else
14851
  case $PKG_CONFIG in
14852
  [\\/]* | ?:[\\/]*)
14853
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
14854
  ;;
14855
  *)
14856
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14857
for as_dir in $PATH
14858
do
14859
  IFS=$as_save_IFS
14860
  test -z "$as_dir" && as_dir=.
14861
    for ac_exec_ext in '' $ac_executable_extensions; do
14862
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14863
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14864
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14865
    break 2
14866
  fi
14867
done
14868
  done
14869
IFS=$as_save_IFS
14870
14871
  ;;
14872
esac
14873
fi
14874
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
14875
if test -n "$PKG_CONFIG"; then
14876
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
14877
$as_echo "$PKG_CONFIG" >&6; }
14878
else
14879
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14880
$as_echo "no" >&6; }
14881
fi
14882
14883
14884
fi
14885
if test -z "$ac_cv_path_PKG_CONFIG"; then
14886
  ac_pt_PKG_CONFIG=$PKG_CONFIG
14887
  # Extract the first word of "pkg-config", so it can be a program name with args.
14888
set dummy pkg-config; ac_word=$2
14889
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14890
$as_echo_n "checking for $ac_word... " >&6; }
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
14891
if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
1.7.1 by Mirco Bauer
Import upstream version 3.0.0
14892
  $as_echo_n "(cached) " >&6
14893
else
14894
  case $ac_pt_PKG_CONFIG in
14895
  [\\/]* | ?:[\\/]*)
14896
  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
14897
  ;;
14898
  *)
14899
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14900
for as_dir in $PATH
14901
do
14902
  IFS=$as_save_IFS
14903
  test -z "$as_dir" && as_dir=.
14904
    for ac_exec_ext in '' $ac_executable_extensions; do
14905
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14906
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14907
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14908
    break 2
14909
  fi
14910
done
14911
  done
14912
IFS=$as_save_IFS
14913
14914
  ;;
14915
esac
14916
fi
14917
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
14918
if test -n "$ac_pt_PKG_CONFIG"; then
14919
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
14920
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
14921
else
14922
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14923
$as_echo "no" >&6; }
14924
fi
14925
14926
  if test "x$ac_pt_PKG_CONFIG" = x; then
14927
    PKG_CONFIG=""
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
14928
  else
1.7.1 by Mirco Bauer
Import upstream version 3.0.0
14929
    case $cross_compiling:$ac_tool_warned in
14930
yes:)
14931
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14932
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14933
ac_tool_warned=yes ;;
14934
esac
14935
    PKG_CONFIG=$ac_pt_PKG_CONFIG
14936
  fi
14937
else
14938
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
14939
fi
14940
14941
fi
14942
if test -n "$PKG_CONFIG"; then
14943
	_pkg_min_version=0.16
14944
	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
14945
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
14946
	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
14947
		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
14948
$as_echo "yes" >&6; }
1.1.70 by Robert Ancell
Import upstream version 2.29.3
14949
	else
1.7.1 by Mirco Bauer
Import upstream version 3.0.0
14950
		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14951
$as_echo "no" >&6; }
14952
		PKG_CONFIG=""
14953
	fi
14954
fi
14955
  gsettingsschemadir=${datadir}/glib-2.0/schemas
14956
14957
  if test x$cross_compiling != xyes; then
14958
    GLIB_COMPILE_SCHEMAS=`$PKG_CONFIG --variable glib_compile_schemas gio-2.0`
14959
  else
14960
    # Extract the first word of "glib-compile-schemas", so it can be a program name with args.
14961
set dummy glib-compile-schemas; ac_word=$2
14962
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14963
$as_echo_n "checking for $ac_word... " >&6; }
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
14964
if ${ac_cv_path_GLIB_COMPILE_SCHEMAS+:} false; then :
1.7.1 by Mirco Bauer
Import upstream version 3.0.0
14965
  $as_echo_n "(cached) " >&6
14966
else
14967
  case $GLIB_COMPILE_SCHEMAS in
14968
  [\\/]* | ?:[\\/]*)
14969
  ac_cv_path_GLIB_COMPILE_SCHEMAS="$GLIB_COMPILE_SCHEMAS" # Let the user override the test with a path.
14970
  ;;
14971
  *)
14972
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14973
for as_dir in $PATH
14974
do
14975
  IFS=$as_save_IFS
14976
  test -z "$as_dir" && as_dir=.
14977
    for ac_exec_ext in '' $ac_executable_extensions; do
14978
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14979
    ac_cv_path_GLIB_COMPILE_SCHEMAS="$as_dir/$ac_word$ac_exec_ext"
14980
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14981
    break 2
14982
  fi
14983
done
14984
  done
14985
IFS=$as_save_IFS
14986
14987
  ;;
14988
esac
14989
fi
14990
GLIB_COMPILE_SCHEMAS=$ac_cv_path_GLIB_COMPILE_SCHEMAS
14991
if test -n "$GLIB_COMPILE_SCHEMAS"; then
14992
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_COMPILE_SCHEMAS" >&5
14993
$as_echo "$GLIB_COMPILE_SCHEMAS" >&6; }
14994
else
14995
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14996
$as_echo "no" >&6; }
14997
fi
14998
14999
15000
  fi
15001
15002
  if test "x$GLIB_COMPILE_SCHEMAS" = "x"; then
15003
    as_fn_error $? "glib-compile-schemas not found." "$LINENO" 5
15004
  else
15005
    :
15006
  fi
15007
15008
  GSETTINGS_RULES='
15009
.PHONY : uninstall-gsettings-schemas install-gsettings-schemas clean-gsettings-schemas
15010
15011
mostlyclean-am: clean-gsettings-schemas
15012
15013
gsettings__enum_file = $(addsuffix .enums.xml,$(gsettings_ENUM_NAMESPACE))
15014
15015
%.gschema.valid: %.gschema.xml $(gsettings__enum_file)
15016
	$(AM_V_GEN) if test -f "$<"; then d=; else d="$(srcdir)/"; fi; $(GLIB_COMPILE_SCHEMAS) --strict --dry-run $(addprefix --schema-file=,$(gsettings__enum_file)) --schema-file=$${d}$< && touch $@
15017
15018
all-am: $(gsettings_SCHEMAS:.xml=.valid)
15019
uninstall-am: uninstall-gsettings-schemas
15020
install-data-am: install-gsettings-schemas
15021
15022
.SECONDARY: $(gsettings_SCHEMAS)
15023
15024
install-gsettings-schemas: $(gsettings_SCHEMAS) $(gsettings__enum_file)
15025
	@$(NORMAL_INSTALL)
15026
	if test -n "$^"; then \
15027
		test -z "$(gsettingsschemadir)" || $(MKDIR_P) "$(DESTDIR)$(gsettingsschemadir)"; \
15028
		$(INSTALL_DATA) $^ "$(DESTDIR)$(gsettingsschemadir)"; \
15029
		test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir); \
15030
	fi
15031
15032
uninstall-gsettings-schemas:
15033
	@$(NORMAL_UNINSTALL)
15034
	@list='\''$(gsettings_SCHEMAS) $(gsettings__enum_file)'\''; test -n "$(gsettingsschemadir)" || list=; \
15035
	files=`for p in $$list; do echo $$p; done | sed -e '\''s|^.*/||'\''`; \
15036
	test -n "$$files" || exit 0; \
15037
	echo " ( cd '\''$(DESTDIR)$(gsettingsschemadir)'\'' && rm -f" $$files ")"; \
15038
	cd "$(DESTDIR)$(gsettingsschemadir)" && rm -f $$files
15039
	test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir)
15040
15041
clean-gsettings-schemas:
15042
	rm -f $(gsettings_SCHEMAS:.xml=.valid) $(gsettings__enum_file)
15043
15044
ifdef gsettings_ENUM_NAMESPACE
15045
$(gsettings__enum_file): $(gsettings_ENUM_FILES)
15046
	$(AM_V_GEN) glib-mkenums --comments '\''<!-- @comment@ -->'\'' --fhead "<schemalist>" --vhead "  <@type@ id='\''$(gsettings_ENUM_NAMESPACE).@EnumName@'\''>" --vprod "    <value nick='\''@valuenick@'\'' value='\''@valuenum@'\''/>" --vtail "  </@type@>" --ftail "</schemalist>" $^ > $@.tmp && mv $@.tmp $@
15047
endif
15048
'
15049
15050
15051
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
15052
15053
1.1.29 by Daniel Holbach
Import upstream version 2.18.1
15054
15055
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
15056
# Extract the first word of "glib-genmarshal", so it can be a program name with args.
15057
set dummy glib-genmarshal; ac_word=$2
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
15058
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
15059
$as_echo_n "checking for $ac_word... " >&6; }
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
15060
if ${ac_cv_path_GLIB_GENMARSHAL+:} false; then :
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
15061
  $as_echo_n "(cached) " >&6
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
15062
else
15063
  case $GLIB_GENMARSHAL in
15064
  [\\/]* | ?:[\\/]*)
15065
  ac_cv_path_GLIB_GENMARSHAL="$GLIB_GENMARSHAL" # Let the user override the test with a path.
15066
  ;;
15067
  *)
15068
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15069
for as_dir in $PATH
15070
do
15071
  IFS=$as_save_IFS
15072
  test -z "$as_dir" && as_dir=.
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
15073
    for ac_exec_ext in '' $ac_executable_extensions; do
1.1.23 by Sebastien Bacher
Import upstream version 2.17.2
15074
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
15075
    ac_cv_path_GLIB_GENMARSHAL="$as_dir/$ac_word$ac_exec_ext"
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
15076
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
15077
    break 2
15078
  fi
15079
done
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
15080
  done
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
15081
IFS=$as_save_IFS
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
15082
15083
  ;;
15084
esac
15085
fi
15086
GLIB_GENMARSHAL=$ac_cv_path_GLIB_GENMARSHAL
15087
if test -n "$GLIB_GENMARSHAL"; then
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
15088
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_GENMARSHAL" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
15089
$as_echo "$GLIB_GENMARSHAL" >&6; }
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
15090
else
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
15091
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
15092
$as_echo "no" >&6; }
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
15093
fi
15094
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
15095
1.1.13 by Daniel Holbach
Import upstream version 2.15.3
15096
# Extract the first word of "glib-mkenums", so it can be a program name with args.
15097
set dummy glib-mkenums; ac_word=$2
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
15098
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
15099
$as_echo_n "checking for $ac_word... " >&6; }
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
15100
if ${ac_cv_path_GLIB_MKENUMS+:} false; then :
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
15101
  $as_echo_n "(cached) " >&6
1.1.13 by Daniel Holbach
Import upstream version 2.15.3
15102
else
15103
  case $GLIB_MKENUMS in
15104
  [\\/]* | ?:[\\/]*)
15105
  ac_cv_path_GLIB_MKENUMS="$GLIB_MKENUMS" # Let the user override the test with a path.
15106
  ;;
15107
  *)
15108
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15109
for as_dir in $PATH
15110
do
15111
  IFS=$as_save_IFS
15112
  test -z "$as_dir" && as_dir=.
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
15113
    for ac_exec_ext in '' $ac_executable_extensions; do
1.1.23 by Sebastien Bacher
Import upstream version 2.17.2
15114
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.1.13 by Daniel Holbach
Import upstream version 2.15.3
15115
    ac_cv_path_GLIB_MKENUMS="$as_dir/$ac_word$ac_exec_ext"
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
15116
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1.13 by Daniel Holbach
Import upstream version 2.15.3
15117
    break 2
15118
  fi
15119
done
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
15120
  done
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
15121
IFS=$as_save_IFS
1.1.13 by Daniel Holbach
Import upstream version 2.15.3
15122
15123
  ;;
15124
esac
15125
fi
15126
GLIB_MKENUMS=$ac_cv_path_GLIB_MKENUMS
15127
if test -n "$GLIB_MKENUMS"; then
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
15128
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_MKENUMS" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
15129
$as_echo "$GLIB_MKENUMS" >&6; }
1.1.13 by Daniel Holbach
Import upstream version 2.15.3
15130
else
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
15131
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
15132
$as_echo "no" >&6; }
1.1.13 by Daniel Holbach
Import upstream version 2.15.3
15133
fi
15134
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
15135
15136
15137
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
15138
15139
    # Check whether --enable-compile-warnings was given.
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
15140
if test "${enable_compile_warnings+set}" = set; then :
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
15141
  enableval=$enable_compile_warnings;
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
15142
else
1.7.1 by Mirco Bauer
Import upstream version 3.0.0
15143
  enable_compile_warnings="maximum"
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
15144
fi
15145
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
15146
15147
    warnCFLAGS=
15148
    if test "x$GCC" != xyes; then
15149
	enable_compile_warnings=no
15150
    fi
15151
15152
    warning_flags=
15153
    realsave_CFLAGS="$CFLAGS"
15154
15155
    case "$enable_compile_warnings" in
15156
    no)
15157
	warning_flags=
15158
	;;
15159
    minimum)
15160
	warning_flags="-Wall"
15161
	;;
15162
    yes)
15163
	warning_flags="-Wall -Wmissing-prototypes"
15164
	;;
15165
    maximum|error)
15166
	warning_flags="-Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith"
15167
	CFLAGS="$warning_flags $CFLAGS"
15168
	for option in -Wno-sign-compare; do
15169
		SAVE_CFLAGS="$CFLAGS"
15170
		CFLAGS="$CFLAGS $option"
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
15171
		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc understands $option" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
15172
$as_echo_n "checking whether gcc understands $option... " >&6; }
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
15173
		cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
15174
/* end confdefs.h.  */
15175
15176
int
15177
main ()
15178
{
15179
15180
  ;
15181
  return 0;
15182
}
15183
_ACEOF
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
15184
if ac_fn_c_try_compile "$LINENO"; then :
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
15185
  has_option=yes
15186
else
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
15187
  has_option=no
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
15188
fi
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
15189
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
15190
		CFLAGS="$SAVE_CFLAGS"
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
15191
		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_option" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
15192
$as_echo "$has_option" >&6; }
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
15193
		if test $has_option = yes; then
15194
		  warning_flags="$warning_flags $option"
15195
		fi
15196
		unset has_option
15197
		unset SAVE_CFLAGS
15198
	done
15199
	unset option
15200
	if test "$enable_compile_warnings" = "error" ; then
15201
	    warning_flags="$warning_flags -Werror"
15202
	fi
15203
	;;
15204
    *)
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
15205
	as_fn_error $? "Unknown argument '$enable_compile_warnings' to --enable-compile-warnings" "$LINENO" 5
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
15206
	;;
15207
    esac
15208
    CFLAGS="$realsave_CFLAGS"
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
15209
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
15210
$as_echo_n "checking what warning flags to pass to the C compiler... " >&6; }
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
15211
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $warning_flags" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
15212
$as_echo "$warning_flags" >&6; }
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
15213
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
15214
    # Check whether --enable-iso-c was given.
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
15215
if test "${enable_iso_c+set}" = set; then :
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
15216
  enableval=$enable_iso_c;
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
15217
else
15218
  enable_iso_c=no
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
15219
fi
15220
15221
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
15222
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking what language compliance flags to pass to the C compiler" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
15223
$as_echo_n "checking what language compliance flags to pass to the C compiler... " >&6; }
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
15224
    complCFLAGS=
15225
    if test "x$enable_iso_c" != "xno"; then
15226
	if test "x$GCC" = "xyes"; then
15227
	case " $CFLAGS " in
15228
	    *\ \	-ansi\ \	*) ;;
15229
	    *) complCFLAGS="$complCFLAGS -ansi" ;;
15230
	esac
15231
	case " $CFLAGS " in
15232
	    *\ \	-pedantic\ \	*) ;;
15233
	    *) complCFLAGS="$complCFLAGS -pedantic" ;;
15234
	esac
15235
	fi
15236
    fi
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
15237
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $complCFLAGS" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
15238
$as_echo "$complCFLAGS" >&6; }
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
15239
15240
    WARN_CFLAGS="$warning_flags $complCFLAGS"
15241
15242
15243
1.7.1 by Mirco Bauer
Import upstream version 3.0.0
15244
if test "$USE_MAINTAINER_MODE" = "yes"; then
15245
	enable_deprecations=yes
15246
else
15247
	enable_deprecations=no
15248
fi
15249
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
15250
# Check whether --enable-deprecations was given.
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
15251
if test "${enable_deprecations+set}" = set; then :
1.7.1 by Mirco Bauer
Import upstream version 3.0.0
15252
  enableval=$enable_deprecations; enable_deprecations=$enableval
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
15253
fi
15254
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
15255
1.7.1 by Mirco Bauer
Import upstream version 3.0.0
15256
if test "$enable_deprecations" = "yes"; then
15257
	DISABLE_DEPRECATED_CFLAGS="\
15258
-DGSEAL_ENABLE \
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
15259
-DG_DISABLE_DEPRECATED \
15260
-DGDK_DISABLE_DEPRECATED \
15261
-DGTK_DISABLE_DEPRECATED \
15262
-DGDK_PIXBUF_DISABLE_DEPRECATED \
15263
-DGNOME_DISABLE_DEPRECATED"
15264
1.7.1 by Mirco Bauer
Import upstream version 3.0.0
15265
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
15266
fi
15267
1.1.51 by Sebastien Bacher
Import upstream version 2.24.1
15268
# on win32 plugins must be able to resolve all symbols at link time
15269
# so we create a lib
15270
if test "$platform_win32" = yes; then
15271
	GEDIT_IMPLIB="-lgedit-$GEDIT_API_VERSION"
1.1.69 by Sebastien Bacher
Import upstream version 2.29.2
15272
	PLUGIN_LIBTOOL_FLAGS="-module -avoid-version -no-undefined -Wl,\$(top_builddir)/gedit/libgedit-\$(GEDIT_API_VERSION).a"
15273
	LOADER_LIBTOOL_FLAGS="-module -avoid-version -no-undefined -Wl,\$(top_builddir)/gedit/libgedit-\$(GEDIT_API_VERSION).a"
15274
	if test "$os_win32" = yes; then
15275
		PLUGIN_LIBTOOL_FLAGS="${PLUGIN_LIBTOOL_FLAGS} -mwindows"
15276
		LOADER_LIBTOOL_FLAGS="${LOADER_LIBTOOL_FLAGS} -mwindows"
15277
	fi
1.1.51 by Sebastien Bacher
Import upstream version 2.24.1
15278
else
15279
	GEDIT_IMPLIB=""
15280
	PLUGIN_LIBTOOL_FLAGS="-module -avoid-version"
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
15281
	LOADER_LIBTOOL_FLAGS="-module -avoid-version"
1.1.51 by Sebastien Bacher
Import upstream version 2.24.1
15282
fi
15283
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
15284
15285
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
15286
1.7.1 by Mirco Bauer
Import upstream version 3.0.0
15287
GEDIT_PLUGINS_DATA_DIR="$datadir/gedit/plugins"
15288
15289
15290
GEDIT_PLUGINS_LIBS_DIR="$libdir/gedit/plugins"
1.1.55 by Sebastien Bacher
Import upstream version 2.25.4
15291
15292
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
15293
15294
gdu_cv_version_required=0.9.0
15295
15296
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking gnome-doc-utils >= $gdu_cv_version_required" >&5
15297
$as_echo_n "checking gnome-doc-utils >= $gdu_cv_version_required... " >&6; }
15298
if test -n "$PKG_CONFIG" && \
15299
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-doc-utils >= \$gdu_cv_version_required\""; } >&5
15300
  ($PKG_CONFIG --exists --print-errors "gnome-doc-utils >= $gdu_cv_version_required") 2>&5
15301
  ac_status=$?
15302
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15303
  test $ac_status = 0; }; then
15304
  gdu_cv_have_gdu=yes
15305
else
15306
  gdu_cv_have_gdu=no
15307
fi
15308
15309
if test "$gdu_cv_have_gdu" = "yes"; then
15310
	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15311
$as_echo "yes" >&6; }
15312
	:
15313
else
15314
	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15315
$as_echo "no" >&6; }
15316
	{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: gnome-doc-utils not found: documentation will not be built." >&5
15317
$as_echo "$as_me: WARNING: gnome-doc-utils not found: documentation will not be built." >&2;}
15318
fi
15319
15320
15321
15322
# Check whether --with-help-dir was given.
15323
if test "${with_help_dir+set}" = set; then :
15324
  withval=$with_help_dir;
15325
else
15326
  with_help_dir='${datadir}/gnome/help'
15327
fi
15328
15329
HELP_DIR="$with_help_dir"
15330
15331
15332
15333
# Check whether --with-omf-dir was given.
15334
if test "${with_omf_dir+set}" = set; then :
15335
  withval=$with_omf_dir;
15336
else
15337
  with_omf_dir='${datadir}/omf'
15338
fi
15339
15340
OMF_DIR="$with_omf_dir"
15341
15342
15343
15344
# Check whether --with-help-formats was given.
15345
if test "${with_help_formats+set}" = set; then :
15346
  withval=$with_help_formats;
15347
else
15348
  with_help_formats=''
15349
fi
15350
15351
DOC_USER_FORMATS="$with_help_formats"
15352
15353
15354
# Check whether --enable-scrollkeeper was given.
15355
if test "${enable_scrollkeeper+set}" = set; then :
15356
  enableval=$enable_scrollkeeper;
15357
else
15358
  enable_scrollkeeper=yes
15359
fi
15360
15361
 if test "$gdu_cv_have_gdu" = "yes" -a "$enable_scrollkeeper" = "yes"; then
15362
  ENABLE_SK_TRUE=
15363
  ENABLE_SK_FALSE='#'
15364
else
15365
  ENABLE_SK_TRUE='#'
15366
  ENABLE_SK_FALSE=
15367
fi
15368
15369
15370
DISTCHECK_CONFIGURE_FLAGS="--disable-scrollkeeper $DISTCHECK_CONFIGURE_FLAGS"
15371
15372
15373
 if test "$gdu_cv_have_gdu" = "yes"; then
15374
  HAVE_GNOME_DOC_UTILS_TRUE=
15375
  HAVE_GNOME_DOC_UTILS_FALSE='#'
15376
else
15377
  HAVE_GNOME_DOC_UTILS_TRUE='#'
15378
  HAVE_GNOME_DOC_UTILS_FALSE=
15379
fi
15380
15381
15382
15383
1.7.1 by Mirco Bauer
Import upstream version 3.0.0
15384
# Introspection
15385
15386
15387
15388
                # Check whether --enable-introspection was given.
15389
if test "${enable_introspection+set}" = set; then :
15390
  enableval=$enable_introspection;
15391
else
15392
  enable_introspection=auto
15393
fi
15394
15395
15396
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gobject-introspection" >&5
15397
$as_echo_n "checking for gobject-introspection... " >&6; }
15398
15399
        case $enable_introspection in #(
15400
  no) :
15401
            found_introspection="no (disabled, use --enable-introspection to enable)"
15402
     ;; #(
15403
      yes) :
15404
            if test -n "$PKG_CONFIG" && \
15405
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0\""; } >&5
15406
  ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0") 2>&5
15407
  ac_status=$?
15408
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15409
  test $ac_status = 0; }; then
15410
  :
15411
else
15412
  as_fn_error $? "gobject-introspection-1.0 is not installed" "$LINENO" 5
15413
fi
15414
        if test -n "$PKG_CONFIG" && \
15415
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.9.3\""; } >&5
15416
  ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.9.3") 2>&5
15417
  ac_status=$?
15418
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15419
  test $ac_status = 0; }; then
15420
  found_introspection=yes
15421
else
15422
  as_fn_error $? "You need to have gobject-introspection >= 0.9.3 installed to build gedit" "$LINENO" 5
15423
fi
15424
     ;; #(
15425
      auto) :
15426
            if test -n "$PKG_CONFIG" && \
15427
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.9.3\""; } >&5
15428
  ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.9.3") 2>&5
15429
  ac_status=$?
15430
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15431
  test $ac_status = 0; }; then
15432
  found_introspection=yes
15433
else
15434
  found_introspection=no
15435
fi
15436
     ;; #(
15437
  *) :
15438
                as_fn_error $? "invalid argument passed to --enable-introspection, should be one of [no/auto/yes]" "$LINENO" 5
15439
     ;;
15440
esac
15441
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_introspection" >&5
15442
$as_echo "$found_introspection" >&6; }
15443
15444
    INTROSPECTION_SCANNER=
15445
    INTROSPECTION_COMPILER=
15446
    INTROSPECTION_GENERATE=
15447
    INTROSPECTION_GIRDIR=
15448
    INTROSPECTION_TYPELIBDIR=
15449
    if test "x$found_introspection" = "xyes"; then
15450
       INTROSPECTION_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0`
15451
       INTROSPECTION_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0`
15452
       INTROSPECTION_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0`
15453
       INTROSPECTION_GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0`
15454
       INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)"
15455
       INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0`
15456
       INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0`
15457
       INTROSPECTION_MAKEFILE=`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection
15458
    fi
15459
15460
15461
15462
15463
15464
15465
15466
15467
15468
     if test "x$found_introspection" = "xyes"; then
15469
  HAVE_INTROSPECTION_TRUE=
15470
  HAVE_INTROSPECTION_FALSE='#'
15471
else
15472
  HAVE_INTROSPECTION_TRUE='#'
15473
  HAVE_INTROSPECTION_FALSE=
15474
fi
15475
15476
15477
15478
15479
if test "$found_introspection" = "yes"; then
15480
	enable_introspection=yes
15481
15482
$as_echo "#define ENABLE_INTROSPECTION 1" >>confdefs.h
15483
15484
else
15485
	enable_introspection=no
15486
fi
15487
15488
ac_config_files="$ac_config_files Makefile data/gedit.desktop.in data/gedit.pc data/org.gnome.gedit.gschema.xml.in data/Makefile docs/Makefile docs/reference/Makefile gedit/dialogs/Makefile gedit/smclient/Makefile gedit/theatrics/Makefile gedit/Makefile help/Makefile pixmaps/Makefile plugins/Makefile plugins/changecase/Makefile plugins/checkupdate/org.gnome.gedit.plugins.checkupdate.gschema.xml.in plugins/checkupdate/Makefile plugins/externaltools/data/Makefile plugins/externaltools/Makefile plugins/externaltools/org.gnome.gedit.plugins.externaltools.gschema.xml.in plugins/externaltools/scripts/Makefile plugins/externaltools/tools/Makefile plugins/docinfo/Makefile plugins/filebrowser/org.gnome.gedit.plugins.filebrowser.gschema.xml.in plugins/filebrowser/Makefile plugins/modelines/Makefile plugins/pythonconsole/Makefile plugins/pythonconsole/org.gnome.gedit.plugins.pythonconsole.gschema.xml.in plugins/pythonconsole/pythonconsole/Makefile plugins/quickopen/Makefile plugins/quickopen/quickopen/Makefile plugins/snippets/data/lang/Makefile plugins/snippets/data/Makefile plugins/snippets/Makefile plugins/snippets/snippets/Makefile plugins/sort/Makefile plugins/spell/Makefile plugins/time/org.gnome.gedit.plugins.time.gschema.xml.in plugins/time/Makefile plugins/zeitgeist/Makefile po/Makefile.in tests/Makefile win32/gedit.iss win32/Makefile osx/Info.plist osx/Makefile"
1.1.13 by Daniel Holbach
Import upstream version 2.15.3
15489
15490
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
15491
cat >confcache <<\_ACEOF
1 by Joe Drew
Import upstream version 0.9.6
15492
# This file is a shell script that caches the results of configure
15493
# tests run on this system so they can be shared between configure
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
15494
# scripts and configure runs, see configure's option --config-cache.
15495
# It is not useful on other systems.  If it contains results you don't
15496
# want to keep, you may remove or edit it.
15497
#
15498
# config.status only pays attention to the cache file if you give it
15499
# the --recheck option to rerun configure.
15500
#
15501
# `ac_cv_env_foo' variables (set or unset) will be overridden when
15502
# loading this file, other *unset* `ac_cv_foo' will be assigned the
15503
# following values.
15504
15505
_ACEOF
15506
1 by Joe Drew
Import upstream version 0.9.6
15507
# The following way of writing the cache mishandles newlines in values,
15508
# but we know of no workaround that is simple, portable, and efficient.
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
15509
# So, we kill variables containing newlines.
1 by Joe Drew
Import upstream version 0.9.6
15510
# Ultrix sh set writes to stderr and can't be redirected directly,
15511
# and sets the high bit in the cache file unless we assign to the vars.
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
15512
(
15513
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15514
    eval ac_val=\$$ac_var
15515
    case $ac_val in #(
15516
    *${as_nl}*)
15517
      case $ac_var in #(
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
15518
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
15519
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
15520
      esac
15521
      case $ac_var in #(
15522
      _ | IFS | as_nl) ;; #(
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
15523
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
15524
      *) { eval $ac_var=; unset $ac_var;} ;;
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
15525
      esac ;;
15526
    esac
15527
  done
15528
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
15529
  (set) 2>&1 |
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
15530
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
15531
    *${as_nl}ac_space=\ *)
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
15532
      # `set' does not quote correctly, so add quotes: double-quote
15533
      # substitution turns \\\\ into \\, and sed turns \\ into \.
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
15534
      sed -n \
15535
	"s/'/'\\\\''/g;
15536
	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
15537
      ;; #(
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
15538
    *)
15539
      # `set' quotes correctly as required by POSIX, so do not add quotes.
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
15540
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
15541
      ;;
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
15542
    esac |
15543
    sort
15544
) |
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
15545
  sed '
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
15546
     /^ac_cv_env_/b end
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
15547
     t clear
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
15548
     :clear
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
15549
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15550
     t end
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
15551
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15552
     :end' >>confcache
15553
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15554
  if test -w "$cache_file"; then
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
15555
    if test "x$cache_file" != "x/dev/null"; then
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
15556
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
15557
$as_echo "$as_me: updating cache $cache_file" >&6;}
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
15558
      if test ! -f "$cache_file" || test -h "$cache_file"; then
15559
	cat confcache >"$cache_file"
15560
      else
15561
        case $cache_file in #(
15562
        */* | ?:*)
15563
	  mv -f confcache "$cache_file"$$ &&
15564
	  mv -f "$cache_file"$$ "$cache_file" ;; #(
15565
        *)
15566
	  mv -f confcache "$cache_file" ;;
15567
	esac
15568
      fi
15569
    fi
1 by Joe Drew
Import upstream version 0.9.6
15570
  else
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
15571
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
15572
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
1 by Joe Drew
Import upstream version 0.9.6
15573
  fi
15574
fi
15575
rm -f confcache
15576
15577
test "x$prefix" = xNONE && prefix=$ac_default_prefix
15578
# Let make expand exec_prefix.
15579
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15580
15581
DEFS=-DHAVE_CONFIG_H
15582
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
15583
ac_libobjs=
15584
ac_ltlibobjs=
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
15585
U=
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
15586
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15587
  # 1. Remove the extension, and $U if already installed.
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
15588
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
15589
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
15590
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
15591
  #    will be set to the directory where LIBOBJS objects are built.
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
15592
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15593
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
15594
done
15595
LIBOBJS=$ac_libobjs
15596
15597
LTLIBOBJS=$ac_ltlibobjs
15598
15599
1.1.64 by Robert Ancell
Import upstream version 2.27.3
15600
 if test -n "$EXEEXT"; then
15601
  am__EXEEXT_TRUE=
15602
  am__EXEEXT_FALSE='#'
15603
else
15604
  am__EXEEXT_TRUE='#'
15605
  am__EXEEXT_FALSE=
15606
fi
15607
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
15608
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
15609
  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
15610
Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
15611
fi
15612
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
15613
  as_fn_error $? "conditional \"AMDEP\" was never defined.
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
15614
Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
15615
fi
15616
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
15617
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
15618
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15619
fi
15620
if test -z "${am__fastdepOBJC_TRUE}" && test -z "${am__fastdepOBJC_FALSE}"; then
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
15621
  as_fn_error $? "conditional \"am__fastdepOBJC\" was never defined.
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
15622
Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.1.27 by Sebastien Bacher
Import upstream version 2.17.6
15623
fi
1.1.13 by Daniel Holbach
Import upstream version 2.15.3
15624
if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
15625
  as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
15626
Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
15627
fi
1.5.1 by Emilio Pozuelo Monfort
Import upstream version 2.28.2
15628
if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
15629
  as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
1.1.76 by Sebastien Bacher
Import upstream version 2.29.9
15630
Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.5.1 by Emilio Pozuelo Monfort
Import upstream version 2.28.2
15631
fi
15632
if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
15633
  as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
1.1.76 by Sebastien Bacher
Import upstream version 2.29.9
15634
Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.5.1 by Emilio Pozuelo Monfort
Import upstream version 2.28.2
15635
fi
1.1.13 by Daniel Holbach
Import upstream version 2.15.3
15636
if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
15637
  as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
15638
Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.1.69 by Sebastien Bacher
Import upstream version 2.29.2
15639
fi
1.5.1 by Emilio Pozuelo Monfort
Import upstream version 2.28.2
15640
if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
15641
  as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
1.1.76 by Sebastien Bacher
Import upstream version 2.29.9
15642
Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.4.2 by Emilio Pozuelo Monfort
Import upstream version 2.28.1
15643
fi
1.1.51 by Sebastien Bacher
Import upstream version 2.24.1
15644
if test -z "${PLATFORM_WIN32_TRUE}" && test -z "${PLATFORM_WIN32_FALSE}"; then
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
15645
  as_fn_error $? "conditional \"PLATFORM_WIN32\" was never defined.
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
15646
Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.3.1 by Josselin Mouette
Import upstream version 2.24.3
15647
fi
1.1.58 by Sebastien Bacher
Import upstream version 2.25.7
15648
if test -z "${OS_WIN32_TRUE}" && test -z "${OS_WIN32_FALSE}"; then
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
15649
  as_fn_error $? "conditional \"OS_WIN32\" was never defined.
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
15650
Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.1.58 by Sebastien Bacher
Import upstream version 2.25.7
15651
fi
1.1.53 by Sebastien Bacher
Import upstream version 2.25.2
15652
if test -z "${PLATFORM_OSX_TRUE}" && test -z "${PLATFORM_OSX_FALSE}"; then
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
15653
  as_fn_error $? "conditional \"PLATFORM_OSX\" was never defined.
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
15654
Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.1.53 by Sebastien Bacher
Import upstream version 2.25.2
15655
fi
1.4.2 by Emilio Pozuelo Monfort
Import upstream version 2.28.1
15656
if test -z "${OS_OSX_TRUE}" && test -z "${OS_OSX_FALSE}"; then
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
15657
  as_fn_error $? "conditional \"OS_OSX\" was never defined.
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
15658
Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.4.2 by Emilio Pozuelo Monfort
Import upstream version 2.28.1
15659
fi
1.7.1 by Mirco Bauer
Import upstream version 3.0.0
15660
if test -z "${GDK_WINDOWING_X11_TRUE}" && test -z "${GDK_WINDOWING_X11_FALSE}"; then
15661
  as_fn_error $? "conditional \"GDK_WINDOWING_X11\" was never defined.
15662
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15663
fi
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
15664
15665
  ac_config_commands="$ac_config_commands po/stamp-it"
15666
15667
1.6.1 by Sebastian Dröge
Import upstream version 2.30.2
15668
if test -z "${ENABLE_GVFS_METADATA_TRUE}" && test -z "${ENABLE_GVFS_METADATA_FALSE}"; then
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
15669
  as_fn_error $? "conditional \"ENABLE_GVFS_METADATA\" was never defined.
1.6.1 by Sebastian Dröge
Import upstream version 2.30.2
15670
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15671
fi
1.1.63 by Robert Ancell
Import upstream version 2.27.2
15672
if test -z "${ENABLE_UPDATER_TRUE}" && test -z "${ENABLE_UPDATER_FALSE}"; then
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
15673
  as_fn_error $? "conditional \"ENABLE_UPDATER\" was never defined.
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
15674
Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.1.63 by Robert Ancell
Import upstream version 2.27.2
15675
fi
15676
if test -z "${ENABLE_ENCHANT_TRUE}" && test -z "${ENABLE_ENCHANT_FALSE}"; then
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
15677
  as_fn_error $? "conditional \"ENABLE_ENCHANT\" was never defined.
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
15678
Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.1.63 by Robert Ancell
Import upstream version 2.27.2
15679
fi
1.7.1 by Mirco Bauer
Import upstream version 3.0.0
15680
if test -z "${ENABLE_ZEITGEIST_TRUE}" && test -z "${ENABLE_ZEITGEIST_FALSE}"; then
15681
  as_fn_error $? "conditional \"ENABLE_ZEITGEIST\" was never defined.
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
15682
Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
15683
fi
1.1.2 by Daniel Holbach
Import upstream version 2.13.0
15684
if test -z "${ENABLE_PYTHON_TRUE}" && test -z "${ENABLE_PYTHON_FALSE}"; then
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
15685
  as_fn_error $? "conditional \"ENABLE_PYTHON\" was never defined.
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
15686
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15687
fi
15688
if test -z "${ENABLE_SK_TRUE}" && test -z "${ENABLE_SK_FALSE}"; then
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
15689
  as_fn_error $? "conditional \"ENABLE_SK\" was never defined.
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
15690
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15691
fi
15692
if test -z "${HAVE_GNOME_DOC_UTILS_TRUE}" && test -z "${HAVE_GNOME_DOC_UTILS_FALSE}"; then
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
15693
  as_fn_error $? "conditional \"HAVE_GNOME_DOC_UTILS\" was never defined.
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
15694
Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.1.2 by Daniel Holbach
Import upstream version 2.13.0
15695
fi
1.7.1 by Mirco Bauer
Import upstream version 3.0.0
15696
if test -z "${HAVE_INTROSPECTION_TRUE}" && test -z "${HAVE_INTROSPECTION_FALSE}"; then
15697
  as_fn_error $? "conditional \"HAVE_INTROSPECTION\" was never defined.
15698
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15699
fi
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
15700
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
15701
: "${CONFIG_STATUS=./config.status}"
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
15702
ac_write_fail=0
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
15703
ac_clean_files_save=$ac_clean_files
15704
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
15705
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
15706
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
15707
as_write_fail=0
15708
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
15709
#! $SHELL
15710
# Generated by $as_me.
1 by Joe Drew
Import upstream version 0.9.6
15711
# Run this file to recreate the current configuration.
15712
# Compiler output produced by configure, useful for debugging
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
15713
# configure, is in config.log if it exists.
15714
15715
debug=false
15716
ac_cs_recheck=false
15717
ac_cs_silent=false
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
15718
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
15719
SHELL=\${CONFIG_SHELL-$SHELL}
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
15720
export SHELL
15721
_ASEOF
15722
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15723
## -------------------- ##
15724
## M4sh Initialization. ##
15725
## -------------------- ##
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
15726
1.1.23 by Sebastien Bacher
Import upstream version 2.17.2
15727
# Be more Bourne compatible
15728
DUALCASE=1; export DUALCASE # for MKS sh
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
15729
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
15730
  emulate sh
15731
  NULLCMD=:
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
15732
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
15733
  # is contrary to our usage.  Disable this feature.
15734
  alias -g '${1+"$@"}'='"$@"'
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
15735
  setopt NO_GLOB_SUBST
15736
else
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
15737
  case `(set -o) 2>/dev/null` in #(
15738
  *posix*) :
15739
    set -o posix ;; #(
15740
  *) :
15741
     ;;
1.1.23 by Sebastien Bacher
Import upstream version 2.17.2
15742
esac
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
15743
fi
1.1.23 by Sebastien Bacher
Import upstream version 2.17.2
15744
15745
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
15746
as_nl='
15747
'
15748
export as_nl
15749
# Printing a long string crashes Solaris 7 /usr/bin/printf.
15750
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15751
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15752
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
15753
# Prefer a ksh shell builtin over an external printf program on Solaris,
15754
# but without wasting forks for bash or zsh.
15755
if test -z "$BASH_VERSION$ZSH_VERSION" \
15756
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15757
  as_echo='print -r --'
15758
  as_echo_n='print -rn --'
15759
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
15760
  as_echo='printf %s\n'
15761
  as_echo_n='printf %s'
15762
else
15763
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15764
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15765
    as_echo_n='/usr/ucb/echo -n'
15766
  else
15767
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15768
    as_echo_n_body='eval
15769
      arg=$1;
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
15770
      case $arg in #(
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
15771
      *"$as_nl"*)
15772
	expr "X$arg" : "X\\(.*\\)$as_nl";
15773
	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15774
      esac;
15775
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15776
    '
15777
    export as_echo_n_body
15778
    as_echo_n='sh -c $as_echo_n_body as_echo'
15779
  fi
15780
  export as_echo_body
15781
  as_echo='sh -c $as_echo_body as_echo'
15782
fi
15783
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
15784
# The user is always right.
15785
if test "${PATH_SEPARATOR+set}" != set; then
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
15786
  PATH_SEPARATOR=:
15787
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15788
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15789
      PATH_SEPARATOR=';'
15790
  }
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
15791
fi
15792
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
15793
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
15794
# IFS
15795
# We need space, tab and new line, in precisely that order.  Quoting is
15796
# there to prevent editors from complaining about space-tab.
15797
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
15798
# splitting by setting IFS to empty value.)
15799
IFS=" ""	$as_nl"
15800
15801
# Find who we are.  Look in the path if we contain no directory separator.
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
15802
as_myself=
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
15803
case $0 in #((
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
15804
  *[\\/]* ) as_myself=$0 ;;
15805
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15806
for as_dir in $PATH
15807
do
15808
  IFS=$as_save_IFS
15809
  test -z "$as_dir" && as_dir=.
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
15810
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15811
  done
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
15812
IFS=$as_save_IFS
15813
15814
     ;;
15815
esac
15816
# We did not find ourselves, most probably we were run as `sh COMMAND'
15817
# in which case we are not to be found in the path.
15818
if test "x$as_myself" = x; then
15819
  as_myself=$0
15820
fi
15821
if test ! -f "$as_myself"; then
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
15822
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
15823
  exit 1
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
15824
fi
15825
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
15826
# Unset variables that we do not need and which cause bugs (e.g. in
15827
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
15828
# suppresses any "Segmentation fault" message there.  '((' could
15829
# trigger a bug in pdksh 5.2.14.
15830
for as_var in BASH_ENV ENV MAIL MAILPATH
15831
do eval test x\${$as_var+set} = xset \
15832
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
15833
done
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
15834
PS1='$ '
15835
PS2='> '
15836
PS4='+ '
15837
15838
# NLS nuisances.
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
15839
LC_ALL=C
15840
export LC_ALL
15841
LANGUAGE=C
15842
export LANGUAGE
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
15843
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
15844
# CDPATH.
15845
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15846
15847
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
15848
# as_fn_error STATUS ERROR [LINENO LOG_FD]
15849
# ----------------------------------------
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
15850
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15851
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
15852
# script with STATUS, using 1 if that was 0.
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
15853
as_fn_error ()
15854
{
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
15855
  as_status=$1; test $as_status -eq 0 && as_status=1
15856
  if test "$4"; then
15857
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15858
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
15859
  fi
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
15860
  $as_echo "$as_me: error: $2" >&2
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
15861
  as_fn_exit $as_status
15862
} # as_fn_error
15863
15864
15865
# as_fn_set_status STATUS
15866
# -----------------------
15867
# Set $? to STATUS, without forking.
15868
as_fn_set_status ()
15869
{
15870
  return $1
15871
} # as_fn_set_status
15872
15873
# as_fn_exit STATUS
15874
# -----------------
15875
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15876
as_fn_exit ()
15877
{
15878
  set +e
15879
  as_fn_set_status $1
15880
  exit $1
15881
} # as_fn_exit
15882
15883
# as_fn_unset VAR
15884
# ---------------
15885
# Portably unset VAR.
15886
as_fn_unset ()
15887
{
15888
  { eval $1=; unset $1;}
15889
}
15890
as_unset=as_fn_unset
15891
# as_fn_append VAR VALUE
15892
# ----------------------
15893
# Append the text in VALUE to the end of the definition contained in VAR. Take
15894
# advantage of any shell optimizations that allow amortized linear growth over
15895
# repeated appends, instead of the typical quadratic growth present in naive
15896
# implementations.
15897
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15898
  eval 'as_fn_append ()
15899
  {
15900
    eval $1+=\$2
15901
  }'
15902
else
15903
  as_fn_append ()
15904
  {
15905
    eval $1=\$$1\$2
15906
  }
15907
fi # as_fn_append
15908
15909
# as_fn_arith ARG...
15910
# ------------------
15911
# Perform arithmetic evaluation on the ARGs, and store the result in the
15912
# global $as_val. Take advantage of shells that can avoid forks. The arguments
15913
# must be portable across $(()) and expr.
15914
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15915
  eval 'as_fn_arith ()
15916
  {
15917
    as_val=$(( $* ))
15918
  }'
15919
else
15920
  as_fn_arith ()
15921
  {
15922
    as_val=`expr "$@" || test $? -eq 1`
15923
  }
15924
fi # as_fn_arith
15925
15926
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
15927
if expr a : '\(a\)' >/dev/null 2>&1 &&
15928
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
15929
  as_expr=expr
15930
else
15931
  as_expr=false
15932
fi
15933
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
15934
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
15935
  as_basename=basename
15936
else
15937
  as_basename=false
15938
fi
15939
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
15940
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15941
  as_dirname=dirname
15942
else
15943
  as_dirname=false
15944
fi
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
15945
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
15946
as_me=`$as_basename -- "$0" ||
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
15947
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15948
	 X"$0" : 'X\(//\)$' \| \
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
15949
	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
15950
$as_echo X/"$0" |
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
15951
    sed '/^.*\/\([^/][^/]*\)\/*$/{
15952
	    s//\1/
15953
	    q
15954
	  }
15955
	  /^X\/\(\/\/\)$/{
15956
	    s//\1/
15957
	    q
15958
	  }
15959
	  /^X\/\(\/\).*/{
15960
	    s//\1/
15961
	    q
15962
	  }
15963
	  s/.*/./; q'`
15964
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
15965
# Avoid depending upon Character Ranges.
15966
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15967
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15968
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15969
as_cr_digits='0123456789'
15970
as_cr_alnum=$as_cr_Letters$as_cr_digits
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
15971
15972
ECHO_C= ECHO_N= ECHO_T=
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
15973
case `echo -n x` in #(((((
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
15974
-n*)
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
15975
  case `echo 'xy\c'` in
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
15976
  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
15977
  xy)  ECHO_C='\c';;
15978
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
15979
       ECHO_T='	';;
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
15980
  esac;;
15981
*)
15982
  ECHO_N='-n';;
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
15983
esac
15984
15985
rm -f conf$$ conf$$.exe conf$$.file
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
15986
if test -d conf$$.dir; then
15987
  rm -f conf$$.dir/conf$$.file
15988
else
15989
  rm -f conf$$.dir
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
15990
  mkdir conf$$.dir 2>/dev/null
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
15991
fi
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
15992
if (echo >conf$$.file) 2>/dev/null; then
15993
  if ln -s conf$$.file conf$$ 2>/dev/null; then
15994
    as_ln_s='ln -s'
15995
    # ... but there are two gotchas:
15996
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15997
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15998
    # In both cases, we have to default to `cp -p'.
15999
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16000
      as_ln_s='cp -p'
16001
  elif ln conf$$.file conf$$ 2>/dev/null; then
16002
    as_ln_s=ln
16003
  else
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
16004
    as_ln_s='cp -p'
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
16005
  fi
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
16006
else
16007
  as_ln_s='cp -p'
16008
fi
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
16009
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16010
rmdir conf$$.dir 2>/dev/null
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
16011
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
16012
16013
# as_fn_mkdir_p
16014
# -------------
16015
# Create "$as_dir" as a directory, including parents if necessary.
16016
as_fn_mkdir_p ()
16017
{
16018
16019
  case $as_dir in #(
16020
  -*) as_dir=./$as_dir;;
16021
  esac
16022
  test -d "$as_dir" || eval $as_mkdir_p || {
16023
    as_dirs=
16024
    while :; do
16025
      case $as_dir in #(
16026
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16027
      *) as_qdir=$as_dir;;
16028
      esac
16029
      as_dirs="'$as_qdir' $as_dirs"
16030
      as_dir=`$as_dirname -- "$as_dir" ||
16031
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16032
	 X"$as_dir" : 'X\(//\)[^/]' \| \
16033
	 X"$as_dir" : 'X\(//\)$' \| \
16034
	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16035
$as_echo X"$as_dir" |
16036
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16037
	    s//\1/
16038
	    q
16039
	  }
16040
	  /^X\(\/\/\)[^/].*/{
16041
	    s//\1/
16042
	    q
16043
	  }
16044
	  /^X\(\/\/\)$/{
16045
	    s//\1/
16046
	    q
16047
	  }
16048
	  /^X\(\/\).*/{
16049
	    s//\1/
16050
	    q
16051
	  }
16052
	  s/.*/./; q'`
16053
      test -d "$as_dir" && break
16054
    done
16055
    test -z "$as_dirs" || eval "mkdir $as_dirs"
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
16056
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
16057
16058
16059
} # as_fn_mkdir_p
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
16060
if mkdir -p . 2>/dev/null; then
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
16061
  as_mkdir_p='mkdir -p "$as_dir"'
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
16062
else
16063
  test -d ./-p && rmdir ./-p
16064
  as_mkdir_p=false
16065
fi
16066
1.1.23 by Sebastien Bacher
Import upstream version 2.17.2
16067
if test -x / >/dev/null 2>&1; then
16068
  as_test_x='test -x'
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
16069
else
1.1.23 by Sebastien Bacher
Import upstream version 2.17.2
16070
  if ls -dL / >/dev/null 2>&1; then
16071
    as_ls_L_option=L
16072
  else
16073
    as_ls_L_option=
16074
  fi
16075
  as_test_x='
16076
    eval sh -c '\''
16077
      if test -d "$1"; then
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
16078
	test -d "$1/.";
1.1.23 by Sebastien Bacher
Import upstream version 2.17.2
16079
      else
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
16080
	case $1 in #(
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
16081
	-*)set "./$1";;
1.1.23 by Sebastien Bacher
Import upstream version 2.17.2
16082
	esac;
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
16083
	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
1.1.23 by Sebastien Bacher
Import upstream version 2.17.2
16084
	???[sx]*):;;*)false;;esac;fi
16085
    '\'' sh
16086
  '
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
16087
fi
1.1.23 by Sebastien Bacher
Import upstream version 2.17.2
16088
as_executable_p=$as_test_x
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
16089
16090
# Sed expression to map a string onto a valid CPP name.
16091
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16092
16093
# Sed expression to map a string onto a valid variable name.
16094
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16095
16096
16097
exec 6>&1
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
16098
## ----------------------------------- ##
16099
## Main body of $CONFIG_STATUS script. ##
16100
## ----------------------------------- ##
16101
_ASEOF
16102
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
16103
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
16104
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16105
# Save the log message, to keep $0 and so on meaningful, and to
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
16106
# report actual input values of CONFIG_FILES etc. instead of their
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
16107
# values after options handling.
16108
ac_log="
1.1.86 by Michael Terry
Import upstream version 3.1.1
16109
This file was extended by gedit $as_me 3.1.1, which was
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
16110
generated by GNU Autoconf 2.68.  Invocation command line was
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
16111
16112
  CONFIG_FILES    = $CONFIG_FILES
16113
  CONFIG_HEADERS  = $CONFIG_HEADERS
16114
  CONFIG_LINKS    = $CONFIG_LINKS
16115
  CONFIG_COMMANDS = $CONFIG_COMMANDS
16116
  $ $0 $@
16117
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
16118
on `(hostname || uname -n) 2>/dev/null | sed 1q`
16119
"
16120
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
16121
_ACEOF
16122
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
16123
case $ac_config_files in *"
16124
"*) set x $ac_config_files; shift; ac_config_files=$*;;
16125
esac
16126
16127
case $ac_config_headers in *"
16128
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
16129
esac
16130
16131
16132
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
16133
# Files that config.status was made for.
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
16134
config_files="$ac_config_files"
16135
config_headers="$ac_config_headers"
16136
config_commands="$ac_config_commands"
16137
16138
_ACEOF
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
16139
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
16140
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
16141
ac_cs_usage="\
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
16142
\`$as_me' instantiates files and other configuration actions
16143
from templates according to the current configuration.  Unless the files
16144
and actions are specified as TAGs, all are instantiated by default.
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
16145
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
16146
Usage: $0 [OPTION]... [TAG]...
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
16147
16148
  -h, --help       print this help, then exit
1.1.23 by Sebastien Bacher
Import upstream version 2.17.2
16149
  -V, --version    print version number and configuration settings, then exit
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
16150
      --config     print configuration, then exit
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
16151
  -q, --quiet, --silent
16152
                   do not print progress messages
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
16153
  -d, --debug      don't remove temporary files
16154
      --recheck    update $as_me by reconfiguring in the same conditions
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
16155
      --file=FILE[:TEMPLATE]
16156
                   instantiate the configuration file FILE
16157
      --header=FILE[:TEMPLATE]
16158
                   instantiate the configuration header FILE
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
16159
16160
Configuration files:
16161
$config_files
16162
16163
Configuration headers:
16164
$config_headers
16165
16166
Configuration commands:
16167
$config_commands
16168
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
16169
Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=gedit>.
16170
gedit home page: <http://projects.gnome.org/gedit/>."
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
16171
1.1.20 by Sebastien Bacher
Import upstream version 2.16.0
16172
_ACEOF
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
16173
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
16174
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
16175
ac_cs_version="\\
1.1.86 by Michael Terry
Import upstream version 3.1.1
16176
gedit config.status 3.1.1
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
16177
configured by $0, generated by GNU Autoconf 2.68,
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
16178
  with options \\"\$ac_cs_config\\"
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
16179
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
16180
Copyright (C) 2010 Free Software Foundation, Inc.
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
16181
This config.status script is free software; the Free Software Foundation
16182
gives unlimited permission to copy, distribute and modify it."
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
16183
16184
ac_pwd='$ac_pwd'
16185
srcdir='$srcdir'
16186
INSTALL='$INSTALL'
1.1.31 by Aron Sisak
Import upstream version 2.19.3
16187
MKDIR_P='$MKDIR_P'
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
16188
AWK='$AWK'
16189
test -n "\$AWK" || AWK=awk
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
16190
_ACEOF
16191
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
16192
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16193
# The default lists apply if the user does not specify any file.
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
16194
ac_need_defaults=:
16195
while test $# != 0
16196
do
16197
  case $1 in
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
16198
  --*=?*)
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
16199
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
16200
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
16201
    ac_shift=:
16202
    ;;
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
16203
  --*=)
16204
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
16205
    ac_optarg=
16206
    ac_shift=:
16207
    ;;
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
16208
  *)
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
16209
    ac_option=$1
16210
    ac_optarg=$2
16211
    ac_shift=shift
16212
    ;;
16213
  esac
16214
16215
  case $ac_option in
16216
  # Handling of the options.
1 by Joe Drew
Import upstream version 0.9.6
16217
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
16218
    ac_cs_recheck=: ;;
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
16219
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
16220
    $as_echo "$ac_cs_version"; exit ;;
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
16221
  --config | --confi | --conf | --con | --co | --c )
16222
    $as_echo "$ac_cs_config"; exit ;;
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
16223
  --debug | --debu | --deb | --de | --d | -d )
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
16224
    debug=: ;;
16225
  --file | --fil | --fi | --f )
16226
    $ac_shift
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
16227
    case $ac_optarg in
16228
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
16229
    '') as_fn_error $? "missing file argument" ;;
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
16230
    esac
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
16231
    as_fn_append CONFIG_FILES " '$ac_optarg'"
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
16232
    ac_need_defaults=false;;
16233
  --header | --heade | --head | --hea )
16234
    $ac_shift
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
16235
    case $ac_optarg in
16236
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16237
    esac
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
16238
    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
16239
    ac_need_defaults=false;;
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
16240
  --he | --h)
16241
    # Conflict between --help and --header
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
16242
    as_fn_error $? "ambiguous option: \`$1'
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
16243
Try \`$0 --help' for more information.";;
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
16244
  --help | --hel | -h )
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
16245
    $as_echo "$ac_cs_usage"; exit ;;
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
16246
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16247
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
16248
    ac_cs_silent=: ;;
16249
16250
  # This is an error.
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
16251
  -*) as_fn_error $? "unrecognized option: \`$1'
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
16252
Try \`$0 --help' for more information." ;;
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
16253
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
16254
  *) as_fn_append ac_config_targets " $1"
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
16255
     ac_need_defaults=false ;;
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
16256
16257
  esac
16258
  shift
16259
done
16260
16261
ac_configure_extra_args=
16262
16263
if $ac_cs_silent; then
16264
  exec 6>/dev/null
16265
  ac_configure_extra_args="$ac_configure_extra_args --silent"
16266
fi
16267
16268
_ACEOF
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
16269
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
16270
if \$ac_cs_recheck; then
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
16271
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16272
  shift
16273
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16274
  CONFIG_SHELL='$SHELL'
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
16275
  export CONFIG_SHELL
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
16276
  exec "\$@"
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
16277
fi
16278
16279
_ACEOF
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
16280
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
16281
exec 5>>config.log
16282
{
16283
  echo
16284
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16285
## Running $as_me. ##
16286
_ASBOX
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
16287
  $as_echo "$ac_log"
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
16288
} >&5
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
16289
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
16290
_ACEOF
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
16291
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
16292
#
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
16293
# INIT-COMMANDS
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
16294
#
1.1.27 by Sebastien Bacher
Import upstream version 2.17.6
16295
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
16296
16297
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
16298
# The HP-UX ksh and POSIX shell print the target directory to stdout
16299
# if CDPATH is set.
16300
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16301
16302
sed_quote_subst='$sed_quote_subst'
16303
double_quote_subst='$double_quote_subst'
16304
delay_variable_subst='$delay_variable_subst'
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
16305
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16306
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16307
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16308
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16309
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16310
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16311
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16312
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16313
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16314
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16315
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16316
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16317
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16318
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16319
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16320
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16321
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16322
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16323
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16324
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16325
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16326
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16327
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16328
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16329
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16330
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16331
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16332
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
16333
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
16334
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
16335
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16336
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16337
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16338
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16339
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
16340
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
16341
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
16342
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
16343
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
16344
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16345
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
16346
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
16347
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16348
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16349
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16350
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16351
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16352
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16353
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16354
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16355
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16356
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16357
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16358
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16359
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16360
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
16361
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
16362
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
16363
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16364
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16365
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
16366
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
16367
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16368
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16369
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16370
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
16371
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
16372
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16373
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16374
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16375
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16376
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16377
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16378
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16379
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16380
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16381
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16382
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16383
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16384
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16385
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16386
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16387
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16388
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16389
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16390
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16391
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16392
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16393
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16394
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16395
hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
16396
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16397
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16398
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16399
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16400
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16401
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16402
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16403
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16404
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16405
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16406
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16407
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16408
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
16409
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
16410
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16411
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16412
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16413
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16414
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16415
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16416
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16417
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16418
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16419
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16420
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16421
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16422
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16423
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16424
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16425
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16426
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16427
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16428
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
16429
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16430
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16431
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16432
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16433
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16434
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
16435
16436
LTCC='$LTCC'
16437
LTCFLAGS='$LTCFLAGS'
16438
compiler='$compiler_DEFAULT'
16439
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
16440
# A function that is used when there is no print builtin or printf.
16441
func_fallback_echo ()
16442
{
16443
  eval 'cat <<_LTECHO_EOF
16444
\$1
16445
_LTECHO_EOF'
16446
}
16447
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
16448
# Quote evaled strings.
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
16449
for var in SHELL \
16450
ECHO \
16451
SED \
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
16452
GREP \
16453
EGREP \
16454
FGREP \
16455
LD \
16456
NM \
16457
LN_S \
16458
lt_SP2NL \
16459
lt_NL2SP \
16460
reload_flag \
16461
OBJDUMP \
16462
deplibs_check_method \
16463
file_magic_cmd \
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
16464
file_magic_glob \
16465
want_nocaseglob \
16466
DLLTOOL \
16467
sharedlib_from_linklib_cmd \
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
16468
AR \
16469
AR_FLAGS \
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
16470
archiver_list_spec \
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
16471
STRIP \
16472
RANLIB \
16473
CC \
16474
CFLAGS \
16475
compiler \
16476
lt_cv_sys_global_symbol_pipe \
16477
lt_cv_sys_global_symbol_to_cdecl \
16478
lt_cv_sys_global_symbol_to_c_name_address \
16479
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
16480
nm_file_list_spec \
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
16481
lt_prog_compiler_no_builtin_flag \
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
16482
lt_prog_compiler_pic \
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
16483
lt_prog_compiler_wl \
16484
lt_prog_compiler_static \
16485
lt_cv_prog_compiler_c_o \
16486
need_locks \
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
16487
MANIFEST_TOOL \
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
16488
DSYMUTIL \
16489
NMEDIT \
16490
LIPO \
16491
OTOOL \
16492
OTOOL64 \
16493
shrext_cmds \
16494
export_dynamic_flag_spec \
16495
whole_archive_flag_spec \
16496
compiler_needs_object \
16497
with_gnu_ld \
16498
allow_undefined_flag \
16499
no_undefined_flag \
16500
hardcode_libdir_flag_spec \
16501
hardcode_libdir_flag_spec_ld \
16502
hardcode_libdir_separator \
16503
exclude_expsyms \
16504
include_expsyms \
16505
file_list_spec \
16506
variables_saved_for_relink \
16507
libname_spec \
16508
library_names_spec \
16509
soname_spec \
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
16510
install_override_mode \
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
16511
finish_eval \
16512
old_striplib \
16513
striplib; do
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
16514
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
16515
    *[\\\\\\\`\\"\\\$]*)
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
16516
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
16517
      ;;
16518
    *)
16519
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16520
      ;;
16521
    esac
16522
done
16523
16524
# Double-quote double-evaled strings.
16525
for var in reload_cmds \
16526
old_postinstall_cmds \
16527
old_postuninstall_cmds \
16528
old_archive_cmds \
16529
extract_expsyms_cmds \
16530
old_archive_from_new_cmds \
16531
old_archive_from_expsyms_cmds \
16532
archive_cmds \
16533
archive_expsym_cmds \
16534
module_cmds \
16535
module_expsym_cmds \
16536
export_symbols_cmds \
16537
prelink_cmds \
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
16538
postlink_cmds \
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
16539
postinstall_cmds \
16540
postuninstall_cmds \
16541
finish_cmds \
16542
sys_lib_search_path_spec \
16543
sys_lib_dlsearch_path_spec; do
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
16544
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
16545
    *[\\\\\\\`\\"\\\$]*)
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
16546
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
16547
      ;;
16548
    *)
16549
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16550
      ;;
16551
    esac
16552
done
16553
16554
ac_aux_dir='$ac_aux_dir'
16555
xsi_shell='$xsi_shell'
16556
lt_shell_append='$lt_shell_append'
16557
16558
# See if we are running on zsh, and set the options which allow our
16559
# commands through without removal of \ escapes INIT.
16560
if test -n "\${ZSH_VERSION+set}" ; then
16561
   setopt NO_GLOB_SUBST
16562
fi
16563
16564
16565
    PACKAGE='$PACKAGE'
16566
    VERSION='$VERSION'
16567
    TIMESTAMP='$TIMESTAMP'
16568
    RM='$RM'
16569
    ofile='$ofile'
16570
16571
16572
16573
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
16574
_ACEOF
16575
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
16576
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
16577
16578
# Handling of arguments.
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
16579
for ac_config_target in $ac_config_targets
16580
do
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
16581
  case $ac_config_target in
16582
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
1.1.27 by Sebastien Bacher
Import upstream version 2.17.6
16583
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
16584
    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
16585
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16586
    "data/gedit.desktop.in") CONFIG_FILES="$CONFIG_FILES data/gedit.desktop.in" ;;
16587
    "data/gedit.pc") CONFIG_FILES="$CONFIG_FILES data/gedit.pc" ;;
1.7.1 by Mirco Bauer
Import upstream version 3.0.0
16588
    "data/org.gnome.gedit.gschema.xml.in") CONFIG_FILES="$CONFIG_FILES data/org.gnome.gedit.gschema.xml.in" ;;
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
16589
    "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
16590
    "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
16591
    "docs/reference/Makefile") CONFIG_FILES="$CONFIG_FILES docs/reference/Makefile" ;;
16592
    "gedit/dialogs/Makefile") CONFIG_FILES="$CONFIG_FILES gedit/dialogs/Makefile" ;;
1.1.45 by Sebastien Bacher
Import upstream version 2.23.3
16593
    "gedit/smclient/Makefile") CONFIG_FILES="$CONFIG_FILES gedit/smclient/Makefile" ;;
1.7.1 by Mirco Bauer
Import upstream version 3.0.0
16594
    "gedit/theatrics/Makefile") CONFIG_FILES="$CONFIG_FILES gedit/theatrics/Makefile" ;;
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
16595
    "gedit/Makefile") CONFIG_FILES="$CONFIG_FILES gedit/Makefile" ;;
16596
    "help/Makefile") CONFIG_FILES="$CONFIG_FILES help/Makefile" ;;
16597
    "pixmaps/Makefile") CONFIG_FILES="$CONFIG_FILES pixmaps/Makefile" ;;
1.1.62 by Andreas Moog
Import upstream version 2.27.1
16598
    "plugins/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/Makefile" ;;
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
16599
    "plugins/changecase/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/changecase/Makefile" ;;
1.7.1 by Mirco Bauer
Import upstream version 3.0.0
16600
    "plugins/checkupdate/org.gnome.gedit.plugins.checkupdate.gschema.xml.in") CONFIG_FILES="$CONFIG_FILES plugins/checkupdate/org.gnome.gedit.plugins.checkupdate.gschema.xml.in" ;;
1.1.63 by Robert Ancell
Import upstream version 2.27.2
16601
    "plugins/checkupdate/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/checkupdate/Makefile" ;;
1.1.62 by Andreas Moog
Import upstream version 2.27.1
16602
    "plugins/externaltools/data/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/externaltools/data/Makefile" ;;
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
16603
    "plugins/externaltools/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/externaltools/Makefile" ;;
1.7.1 by Mirco Bauer
Import upstream version 3.0.0
16604
    "plugins/externaltools/org.gnome.gedit.plugins.externaltools.gschema.xml.in") CONFIG_FILES="$CONFIG_FILES plugins/externaltools/org.gnome.gedit.plugins.externaltools.gschema.xml.in" ;;
1.1.62 by Andreas Moog
Import upstream version 2.27.1
16605
    "plugins/externaltools/scripts/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/externaltools/scripts/Makefile" ;;
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
16606
    "plugins/externaltools/tools/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/externaltools/tools/Makefile" ;;
1.7.1 by Mirco Bauer
Import upstream version 3.0.0
16607
    "plugins/docinfo/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/docinfo/Makefile" ;;
16608
    "plugins/filebrowser/org.gnome.gedit.plugins.filebrowser.gschema.xml.in") CONFIG_FILES="$CONFIG_FILES plugins/filebrowser/org.gnome.gedit.plugins.filebrowser.gschema.xml.in" ;;
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
16609
    "plugins/filebrowser/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/filebrowser/Makefile" ;;
16610
    "plugins/modelines/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/modelines/Makefile" ;;
16611
    "plugins/pythonconsole/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/pythonconsole/Makefile" ;;
1.7.1 by Mirco Bauer
Import upstream version 3.0.0
16612
    "plugins/pythonconsole/org.gnome.gedit.plugins.pythonconsole.gschema.xml.in") CONFIG_FILES="$CONFIG_FILES plugins/pythonconsole/org.gnome.gedit.plugins.pythonconsole.gschema.xml.in" ;;
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
16613
    "plugins/pythonconsole/pythonconsole/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/pythonconsole/pythonconsole/Makefile" ;;
1.1.62 by Andreas Moog
Import upstream version 2.27.1
16614
    "plugins/quickopen/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/quickopen/Makefile" ;;
16615
    "plugins/quickopen/quickopen/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/quickopen/quickopen/Makefile" ;;
16616
    "plugins/snippets/data/lang/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/snippets/data/lang/Makefile" ;;
16617
    "plugins/snippets/data/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/snippets/data/Makefile" ;;
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
16618
    "plugins/snippets/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/snippets/Makefile" ;;
16619
    "plugins/snippets/snippets/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/snippets/snippets/Makefile" ;;
16620
    "plugins/sort/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/sort/Makefile" ;;
16621
    "plugins/spell/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/spell/Makefile" ;;
1.7.1 by Mirco Bauer
Import upstream version 3.0.0
16622
    "plugins/time/org.gnome.gedit.plugins.time.gschema.xml.in") CONFIG_FILES="$CONFIG_FILES plugins/time/org.gnome.gedit.plugins.time.gschema.xml.in" ;;
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
16623
    "plugins/time/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/time/Makefile" ;;
1.7.1 by Mirco Bauer
Import upstream version 3.0.0
16624
    "plugins/zeitgeist/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/zeitgeist/Makefile" ;;
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
16625
    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
1.1.72 by Didier Roche
Import upstream version 2.29.5
16626
    "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
16627
    "win32/gedit.iss") CONFIG_FILES="$CONFIG_FILES win32/gedit.iss" ;;
16628
    "win32/Makefile") CONFIG_FILES="$CONFIG_FILES win32/Makefile" ;;
1.1.71 by Sebastien Bacher
Import upstream version 2.29.4
16629
    "osx/Info.plist") CONFIG_FILES="$CONFIG_FILES osx/Info.plist" ;;
16630
    "osx/Makefile") CONFIG_FILES="$CONFIG_FILES osx/Makefile" ;;
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
16631
    "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
16632
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
16633
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
16634
  esac
16635
done
16636
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
16637
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
16638
# If the user did not use the arguments to specify the items to instantiate,
16639
# then the envvar interface is used.  Set only those that are not.
16640
# We use the long form for the default assignment because of an extremely
16641
# bizarre bug on SunOS 4.1.3.
16642
if $ac_need_defaults; then
16643
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16644
  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16645
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16646
fi
16647
16648
# Have a temporary directory for convenience.  Make it in the build tree
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
16649
# simply because there is no reason against having it here, and in addition,
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
16650
# creating and moving files from /tmp can sometimes cause problems.
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
16651
# Hook for its removal unless debugging.
16652
# Note that there is a small window in which the directory will not be cleaned:
16653
# after its creation but before its name has been assigned to `$tmp'.
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
16654
$debug ||
16655
{
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
16656
  tmp= ac_tmp=
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
16657
  trap 'exit_status=$?
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
16658
  : "${ac_tmp:=$tmp}"
16659
  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
16660
' 0
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
16661
  trap 'as_fn_exit 1' 1 2 13 15
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
16662
}
16663
# Create a (secure) tmp directory for tmp files.
16664
16665
{
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
16666
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
16667
  test -d "$tmp"
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
16668
}  ||
16669
{
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
16670
  tmp=./conf$$-$RANDOM
16671
  (umask 077 && mkdir "$tmp")
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
16672
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
16673
ac_tmp=$tmp
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
16674
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
16675
# Set up the scripts for CONFIG_FILES section.
16676
# No need to generate them if there are no CONFIG_FILES.
16677
# This happens for instance with `./config.status config.h'.
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
16678
if test -n "$CONFIG_FILES"; then
16679
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
16680
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
16681
ac_cr=`echo X | tr X '\015'`
16682
# On cygwin, bash can eat \r inside `` if the user requested igncr.
16683
# But we know of no other shell where ac_cr would be empty at this
16684
# point, so we can use a bashism as a fallback.
16685
if test "x$ac_cr" = x; then
16686
  eval ac_cr=\$\'\\r\'
16687
fi
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
16688
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16689
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
16690
  ac_cs_awk_cr='\\r'
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
16691
else
16692
  ac_cs_awk_cr=$ac_cr
16693
fi
16694
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
16695
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
16696
_ACEOF
16697
16698
16699
{
16700
  echo "cat >conf$$subs.awk <<_ACEOF" &&
16701
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16702
  echo "_ACEOF"
16703
} >conf$$subs.sh ||
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
16704
  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16705
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
16706
ac_delim='%!_!# '
16707
for ac_last_try in false false false false false :; do
16708
  . ./conf$$subs.sh ||
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
16709
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
16710
16711
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16712
  if test $ac_delim_n = $ac_delim_num; then
16713
    break
16714
  elif $ac_last_try; then
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
16715
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
16716
  else
16717
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16718
  fi
16719
done
16720
rm -f conf$$subs.sh
16721
16722
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
16723
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
16724
_ACEOF
16725
sed -n '
16726
h
16727
s/^/S["/; s/!.*/"]=/
16728
p
16729
g
16730
s/^[^!]*!//
16731
:repl
16732
t repl
16733
s/'"$ac_delim"'$//
16734
t delim
16735
:nl
16736
h
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
16737
s/\(.\{148\}\)..*/\1/
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
16738
t more1
16739
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16740
p
16741
n
16742
b repl
16743
:more1
16744
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16745
p
16746
g
16747
s/.\{148\}//
16748
t nl
16749
:delim
16750
h
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
16751
s/\(.\{148\}\)..*/\1/
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
16752
t more2
16753
s/["\\]/\\&/g; s/^/"/; s/$/"/
16754
p
16755
b
16756
:more2
16757
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16758
p
16759
g
16760
s/.\{148\}//
16761
t delim
16762
' <conf$$subs.awk | sed '
16763
/^[^""]/{
16764
  N
16765
  s/\n//
16766
}
16767
' >>$CONFIG_STATUS || ac_write_fail=1
16768
rm -f conf$$subs.awk
16769
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16770
_ACAWK
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
16771
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
16772
  for (key in S) S_is_set[key] = 1
16773
  FS = ""
16774
16775
}
16776
{
16777
  line = $ 0
16778
  nfields = split(line, field, "@")
16779
  substed = 0
16780
  len = length(field[1])
16781
  for (i = 2; i < nfields; i++) {
16782
    key = field[i]
16783
    keylen = length(key)
16784
    if (S_is_set[key]) {
16785
      value = S[key]
16786
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16787
      len += length(value) + length(field[++i])
16788
      substed = 1
16789
    } else
16790
      len += 1 + keylen
16791
  }
16792
16793
  print line
16794
}
16795
16796
_ACAWK
16797
_ACEOF
16798
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16799
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16800
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16801
else
16802
  cat
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
16803
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
16804
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
16805
_ACEOF
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
16806
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
16807
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16808
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
16809
# trailing colons and then remove the whole line if VPATH becomes empty
16810
# (actually we leave an empty line to preserve line numbers).
16811
if test "x$srcdir" = x.; then
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
16812
  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
16813
h
16814
s///
16815
s/^/:/
16816
s/[	 ]*$/:/
16817
s/:\$(srcdir):/:/g
16818
s/:\${srcdir}:/:/g
16819
s/:@srcdir@:/:/g
16820
s/^:*//
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
16821
s/:*$//
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
16822
x
16823
s/\(=[	 ]*\).*/\1/
16824
G
16825
s/\n//
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
16826
s/^[^=]*=[	 ]*$//
16827
}'
16828
fi
16829
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
16830
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
16831
fi # test -n "$CONFIG_FILES"
16832
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
16833
# Set up the scripts for CONFIG_HEADERS section.
16834
# No need to generate them if there are no CONFIG_HEADERS.
16835
# This happens for instance with `./config.status Makefile'.
16836
if test -n "$CONFIG_HEADERS"; then
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
16837
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
16838
BEGIN {
16839
_ACEOF
16840
16841
# Transform confdefs.h into an awk script `defines.awk', embedded as
16842
# here-document in config.status, that substitutes the proper values into
16843
# config.h.in to produce config.h.
16844
16845
# Create a delimiter string that does not exist in confdefs.h, to ease
16846
# handling of long lines.
16847
ac_delim='%!_!# '
16848
for ac_last_try in false false :; do
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
16849
  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
16850
  if test -z "$ac_tt"; then
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
16851
    break
16852
  elif $ac_last_try; then
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
16853
    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
16854
  else
16855
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16856
  fi
16857
done
16858
16859
# For the awk script, D is an array of macro values keyed by name,
16860
# likewise P contains macro parameters if any.  Preserve backslash
16861
# newline sequences.
16862
16863
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16864
sed -n '
16865
s/.\{148\}/&'"$ac_delim"'/g
16866
t rset
16867
:rset
16868
s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
16869
t def
16870
d
16871
:def
16872
s/\\$//
16873
t bsnl
16874
s/["\\]/\\&/g
16875
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
16876
D["\1"]=" \3"/p
16877
s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
16878
d
16879
:bsnl
16880
s/["\\]/\\&/g
16881
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
16882
D["\1"]=" \3\\\\\\n"\\/p
16883
t cont
16884
s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16885
t cont
16886
d
16887
:cont
16888
n
16889
s/.\{148\}/&'"$ac_delim"'/g
16890
t clear
16891
:clear
16892
s/\\$//
16893
t bsnlc
16894
s/["\\]/\\&/g; s/^/"/; s/$/"/p
16895
d
16896
:bsnlc
16897
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16898
b cont
16899
' <confdefs.h | sed '
16900
s/'"$ac_delim"'/"\\\
16901
"/g' >>$CONFIG_STATUS || ac_write_fail=1
16902
16903
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16904
  for (key in D) D_is_set[key] = 1
16905
  FS = ""
16906
}
16907
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16908
  line = \$ 0
16909
  split(line, arg, " ")
16910
  if (arg[1] == "#") {
16911
    defundef = arg[2]
16912
    mac1 = arg[3]
16913
  } else {
16914
    defundef = substr(arg[1], 2)
16915
    mac1 = arg[2]
16916
  }
16917
  split(mac1, mac2, "(") #)
16918
  macro = mac2[1]
16919
  prefix = substr(line, 1, index(line, defundef) - 1)
16920
  if (D_is_set[macro]) {
16921
    # Preserve the white space surrounding the "#".
16922
    print prefix "define", macro P[macro] D[macro]
16923
    next
16924
  } else {
16925
    # Replace #undef with comments.  This is necessary, for example,
16926
    # in the case of _POSIX_SOURCE, which is predefined and required
16927
    # on some systems where configure will not decide to define it.
16928
    if (defundef == "undef") {
16929
      print "/*", prefix defundef, macro, "*/"
16930
      next
16931
    }
16932
  }
16933
}
16934
{ print }
16935
_ACAWK
16936
_ACEOF
16937
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
16938
  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
16939
fi # test -n "$CONFIG_HEADERS"
16940
16941
16942
eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
16943
shift
16944
for ac_tag
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
16945
do
16946
  case $ac_tag in
16947
  :[FHLC]) ac_mode=$ac_tag; continue;;
16948
  esac
16949
  case $ac_mode$ac_tag in
16950
  :[FHL]*:*);;
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
16951
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
16952
  :[FH]-) ac_tag=-:-;;
16953
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16954
  esac
16955
  ac_save_IFS=$IFS
16956
  IFS=:
16957
  set x $ac_tag
16958
  IFS=$ac_save_IFS
16959
  shift
16960
  ac_file=$1
16961
  shift
16962
16963
  case $ac_mode in
16964
  :L) ac_source=$1;;
16965
  :[FH])
16966
    ac_file_inputs=
16967
    for ac_f
16968
    do
16969
      case $ac_f in
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
16970
      -) ac_f="$ac_tmp/stdin";;
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
16971
      *) # Look for the file first in the build tree, then in the source tree
16972
	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
16973
	 # because $ac_f cannot contain `:'.
16974
	 test -f "$ac_f" ||
16975
	   case $ac_f in
16976
	   [\\/$]*) false;;
16977
	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16978
	   esac ||
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
16979
	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
16980
      esac
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
16981
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
16982
      as_fn_append ac_file_inputs " '$ac_f'"
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
16983
    done
16984
16985
    # Let's still pretend it is `configure' which instantiates (i.e., don't
16986
    # use $as_me), people would be surprised to read:
16987
    #    /* config.h.  Generated by config.status.  */
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
16988
    configure_input='Generated from '`
16989
	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16990
	`' by configure.'
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
16991
    if test x"$ac_file" != x-; then
16992
      configure_input="$ac_file.  $configure_input"
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
16993
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
16994
$as_echo "$as_me: creating $ac_file" >&6;}
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
16995
    fi
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
16996
    # Neutralize special characters interpreted by sed in replacement strings.
16997
    case $configure_input in #(
16998
    *\&* | *\|* | *\\* )
16999
       ac_sed_conf_input=`$as_echo "$configure_input" |
17000
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
17001
    *) ac_sed_conf_input=$configure_input;;
17002
    esac
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
17003
17004
    case $ac_tag in
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
17005
    *:-:* | *:-) cat >"$ac_tmp/stdin" \
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
17006
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
17007
    esac
17008
    ;;
17009
  esac
17010
17011
  ac_dir=`$as_dirname -- "$ac_file" ||
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
17012
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17013
	 X"$ac_file" : 'X\(//\)[^/]' \| \
17014
	 X"$ac_file" : 'X\(//\)$' \| \
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
17015
	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
17016
$as_echo X"$ac_file" |
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
17017
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17018
	    s//\1/
17019
	    q
17020
	  }
17021
	  /^X\(\/\/\)[^/].*/{
17022
	    s//\1/
17023
	    q
17024
	  }
17025
	  /^X\(\/\/\)$/{
17026
	    s//\1/
17027
	    q
17028
	  }
17029
	  /^X\(\/\).*/{
17030
	    s//\1/
17031
	    q
17032
	  }
17033
	  s/.*/./; q'`
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
17034
  as_dir="$ac_dir"; as_fn_mkdir_p
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
17035
  ac_builddir=.
17036
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
17037
case "$ac_dir" in
17038
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
17039
*)
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
17040
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
17041
  # A ".." for each directory in $ac_dir_suffix.
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
17042
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
17043
  case $ac_top_builddir_sub in
17044
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
17045
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
17046
  esac ;;
17047
esac
17048
ac_abs_top_builddir=$ac_pwd
17049
ac_abs_builddir=$ac_pwd$ac_dir_suffix
17050
# for backward compatibility:
17051
ac_top_builddir=$ac_top_build_prefix
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
17052
17053
case $srcdir in
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
17054
  .)  # We are building in place.
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
17055
    ac_srcdir=.
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
17056
    ac_top_srcdir=$ac_top_builddir_sub
17057
    ac_abs_top_srcdir=$ac_pwd ;;
17058
  [\\/]* | ?:[\\/]* )  # Absolute name.
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
17059
    ac_srcdir=$srcdir$ac_dir_suffix;
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
17060
    ac_top_srcdir=$srcdir
17061
    ac_abs_top_srcdir=$srcdir ;;
17062
  *) # Relative name.
17063
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
17064
    ac_top_srcdir=$ac_top_build_prefix$srcdir
17065
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
17066
esac
17067
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
17068
17069
17070
  case $ac_mode in
17071
  :F)
17072
  #
17073
  # CONFIG_FILE
17074
  #
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
17075
17076
  case $INSTALL in
17077
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
17078
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
17079
  esac
1.1.31 by Aron Sisak
Import upstream version 2.19.3
17080
  ac_MKDIR_P=$MKDIR_P
17081
  case $MKDIR_P in
17082
  [\\/$]* | ?:[\\/]* ) ;;
17083
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
17084
  esac
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
17085
_ACEOF
17086
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
17087
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
17088
# If the template does not know about datarootdir, expand it.
17089
# FIXME: This hack should be removed a few years after 2.60.
17090
ac_datarootdir_hack=; ac_datarootdir_seen=
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
17091
ac_sed_dataroot='
17092
/datarootdir/ {
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
17093
  p
17094
  q
17095
}
17096
/@datadir@/p
17097
/@docdir@/p
17098
/@infodir@/p
17099
/@localedir@/p
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
17100
/@mandir@/p'
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
17101
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
17102
*datarootdir*) ac_datarootdir_seen=yes;;
17103
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
17104
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
17105
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
17106
_ACEOF
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
17107
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
17108
  ac_datarootdir_hack='
17109
  s&@datadir@&$datadir&g
17110
  s&@docdir@&$docdir&g
17111
  s&@infodir@&$infodir&g
17112
  s&@localedir@&$localedir&g
17113
  s&@mandir@&$mandir&g
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
17114
  s&\\\${datarootdir}&$datarootdir&g' ;;
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
17115
esac
17116
_ACEOF
17117
17118
# Neutralize VPATH when `$srcdir' = `.'.
17119
# Shell code in configure.ac might set extrasub.
17120
# FIXME: do we really want to maintain this feature?
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
17121
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17122
ac_sed_extra="$ac_vpsub
1 by Joe Drew
Import upstream version 0.9.6
17123
$extrasub
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
17124
_ACEOF
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
17125
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
17126
:t
17127
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
17128
s|@configure_input@|$ac_sed_conf_input|;t t
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
17129
s&@top_builddir@&$ac_top_builddir_sub&;t t
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
17130
s&@top_build_prefix@&$ac_top_build_prefix&;t t
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
17131
s&@srcdir@&$ac_srcdir&;t t
17132
s&@abs_srcdir@&$ac_abs_srcdir&;t t
17133
s&@top_srcdir@&$ac_top_srcdir&;t t
17134
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
17135
s&@builddir@&$ac_builddir&;t t
17136
s&@abs_builddir@&$ac_abs_builddir&;t t
17137
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
17138
s&@INSTALL@&$ac_INSTALL&;t t
1.1.31 by Aron Sisak
Import upstream version 2.19.3
17139
s&@MKDIR_P@&$ac_MKDIR_P&;t t
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
17140
$ac_datarootdir_hack
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
17141
"
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
17142
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
17143
  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
17144
17145
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
17146
  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
17147
  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
17148
      "$ac_tmp/out"`; test -z "$ac_out"; } &&
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
17149
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
17150
which seems to be undefined.  Please make sure it is defined" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
17151
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
17152
which seems to be undefined.  Please make sure it is defined" >&2;}
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
17153
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
17154
  rm -f "$ac_tmp/stdin"
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
17155
  case $ac_file in
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
17156
  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17157
  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
17158
  esac \
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
17159
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
17160
 ;;
17161
  :H)
17162
  #
17163
  # CONFIG_HEADER
17164
  #
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
17165
  if test x"$ac_file" != x-; then
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
17166
    {
17167
      $as_echo "/* $configure_input  */" \
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
17168
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
17169
    } >"$ac_tmp/config.h" \
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
17170
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
17171
    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
17172
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
17173
$as_echo "$as_me: $ac_file is unchanged" >&6;}
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
17174
    else
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
17175
      rm -f "$ac_file"
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
17176
      mv "$ac_tmp/config.h" "$ac_file" \
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
17177
	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
1 by Joe Drew
Import upstream version 0.9.6
17178
    fi
17179
  else
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
17180
    $as_echo "/* $configure_input  */" \
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
17181
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
17182
      || as_fn_error $? "could not create -" "$LINENO" 5
1 by Joe Drew
Import upstream version 0.9.6
17183
  fi
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
17184
# Compute "$ac_file"'s index in $config_headers.
17185
_am_arg="$ac_file"
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
17186
_am_stamp_count=1
17187
for _am_header in $config_headers :; do
17188
  case $_am_header in
1.1.42 by Sebastien Bacher
Import upstream version 2.22.1
17189
    $_am_arg | $_am_arg:* )
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
17190
      break ;;
17191
    * )
17192
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
1 by Joe Drew
Import upstream version 0.9.6
17193
  esac
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
17194
done
1.1.42 by Sebastien Bacher
Import upstream version 2.22.1
17195
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17196
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17197
	 X"$_am_arg" : 'X\(//\)[^/]' \| \
17198
	 X"$_am_arg" : 'X\(//\)$' \| \
17199
	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
17200
$as_echo X"$_am_arg" |
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
17201
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17202
	    s//\1/
17203
	    q
17204
	  }
17205
	  /^X\(\/\/\)[^/].*/{
17206
	    s//\1/
17207
	    q
17208
	  }
17209
	  /^X\(\/\/\)$/{
17210
	    s//\1/
17211
	    q
17212
	  }
17213
	  /^X\(\/\).*/{
17214
	    s//\1/
17215
	    q
17216
	  }
17217
	  s/.*/./; q'`/stamp-h$_am_stamp_count
17218
 ;;
17219
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
17220
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
17221
$as_echo "$as_me: executing $ac_file commands" >&6;}
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
17222
 ;;
17223
  esac
17224
17225
17226
  case $ac_file$ac_mode in
1.1.62 by Andreas Moog
Import upstream version 2.27.1
17227
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17228
  # Autoconf 2.62 quotes --file arguments for eval, but not when files
17229
  # are listed without --file.  Let's play safe and only enable the eval
17230
  # if we detect the quoting.
17231
  case $CONFIG_FILES in
17232
  *\'*) eval set x "$CONFIG_FILES" ;;
17233
  *)   set x $CONFIG_FILES ;;
17234
  esac
17235
  shift
17236
  for mf
17237
  do
17238
    # Strip MF so we end up with the name of the file.
17239
    mf=`echo "$mf" | sed -e 's/:.*$//'`
17240
    # Check whether this is an Automake generated Makefile or not.
17241
    # We used to match only the files named `Makefile.in', but
17242
    # some people rename them; so instead we look at the file content.
17243
    # Grep'ing the first line is not enough: some people post-process
17244
    # each Makefile.in and add a new line on top of each file to say so.
17245
    # Grep'ing the whole file is not good either: AIX grep has a line
17246
    # limit of 2048, but all sed's we know have understand at least 4000.
17247
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
17248
      dirpart=`$as_dirname -- "$mf" ||
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
17249
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17250
	 X"$mf" : 'X\(//\)[^/]' \| \
17251
	 X"$mf" : 'X\(//\)$' \| \
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
17252
	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
17253
$as_echo X"$mf" |
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
17254
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17255
	    s//\1/
17256
	    q
17257
	  }
17258
	  /^X\(\/\/\)[^/].*/{
17259
	    s//\1/
17260
	    q
17261
	  }
17262
	  /^X\(\/\/\)$/{
17263
	    s//\1/
17264
	    q
17265
	  }
17266
	  /^X\(\/\).*/{
17267
	    s//\1/
17268
	    q
17269
	  }
17270
	  s/.*/./; q'`
1.1.62 by Andreas Moog
Import upstream version 2.27.1
17271
    else
17272
      continue
17273
    fi
17274
    # Extract the definition of DEPDIR, am__include, and am__quote
17275
    # from the Makefile without running `make'.
17276
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17277
    test -z "$DEPDIR" && continue
17278
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
17279
    test -z "am__include" && continue
17280
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
17281
    # When using ansi2knr, U may be empty or an underscore; expand it
17282
    U=`sed -n 's/^U = //p' < "$mf"`
17283
    # Find all dependency output files, they are included files with
17284
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
17285
    # simplest approach to changing $(DEPDIR) to its actual value in the
17286
    # expansion.
17287
    for file in `sed -n "
17288
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17289
	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17290
      # Make sure the directory exists.
17291
      test -f "$dirpart/$file" && continue
17292
      fdir=`$as_dirname -- "$file" ||
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
17293
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17294
	 X"$file" : 'X\(//\)[^/]' \| \
17295
	 X"$file" : 'X\(//\)$' \| \
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
17296
	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
17297
$as_echo X"$file" |
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
17298
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17299
	    s//\1/
17300
	    q
17301
	  }
17302
	  /^X\(\/\/\)[^/].*/{
17303
	    s//\1/
17304
	    q
17305
	  }
17306
	  /^X\(\/\/\)$/{
17307
	    s//\1/
17308
	    q
17309
	  }
17310
	  /^X\(\/\).*/{
17311
	    s//\1/
17312
	    q
17313
	  }
17314
	  s/.*/./; q'`
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
17315
      as_dir=$dirpart/$fdir; as_fn_mkdir_p
1.1.62 by Andreas Moog
Import upstream version 2.27.1
17316
      # echo "creating $dirpart/$file"
17317
      echo '# dummy' > "$dirpart/$file"
17318
    done
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
17319
  done
1.1.62 by Andreas Moog
Import upstream version 2.27.1
17320
}
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
17321
 ;;
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
17322
    "libtool":C)
17323
17324
    # See if we are running on zsh, and set the options which allow our
17325
    # commands through without removal of \ escapes.
17326
    if test -n "${ZSH_VERSION+set}" ; then
17327
      setopt NO_GLOB_SUBST
17328
    fi
17329
17330
    cfgfile="${ofile}T"
17331
    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17332
    $RM "$cfgfile"
17333
17334
    cat <<_LT_EOF >> "$cfgfile"
17335
#! $SHELL
17336
17337
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17338
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17339
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17340
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
17341
#
17342
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
17343
#                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
17344
#                 Inc.
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
17345
#   Written by Gordon Matzigkeit, 1996
17346
#
17347
#   This file is part of GNU Libtool.
17348
#
17349
# GNU Libtool is free software; you can redistribute it and/or
17350
# modify it under the terms of the GNU General Public License as
17351
# published by the Free Software Foundation; either version 2 of
17352
# the License, or (at your option) any later version.
17353
#
17354
# As a special exception to the GNU General Public License,
17355
# if you distribute this file as part of a program or library that
17356
# is built using GNU Libtool, you may include this file under the
17357
# same distribution terms that you use for the rest of that program.
17358
#
17359
# GNU Libtool is distributed in the hope that it will be useful,
17360
# but WITHOUT ANY WARRANTY; without even the implied warranty of
17361
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17362
# GNU General Public License for more details.
17363
#
17364
# You should have received a copy of the GNU General Public License
17365
# along with GNU Libtool; see the file COPYING.  If not, a copy
17366
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17367
# obtained by writing to the Free Software Foundation, Inc.,
17368
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17369
17370
17371
# The names of the tagged configurations supported by this script.
17372
available_tags=""
17373
17374
# ### BEGIN LIBTOOL CONFIG
17375
17376
# Which release of libtool.m4 was used?
17377
macro_version=$macro_version
17378
macro_revision=$macro_revision
17379
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
17380
# Whether or not to build static libraries.
17381
build_old_libs=$enable_static
17382
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
17383
# Whether or not to build shared libraries.
17384
build_libtool_libs=$enable_shared
17385
17386
# What type of objects to build.
17387
pic_mode=$pic_mode
17388
17389
# Whether or not to optimize for fast installation.
17390
fast_install=$enable_fast_install
17391
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
17392
# Shell to use when invoking shell scripts.
17393
SHELL=$lt_SHELL
17394
17395
# An echo program that protects backslashes.
17396
ECHO=$lt_ECHO
17397
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
17398
# The host system.
17399
host_alias=$host_alias
17400
host=$host
17401
host_os=$host_os
17402
17403
# The build system.
17404
build_alias=$build_alias
17405
build=$build
17406
build_os=$build_os
17407
17408
# A sed program that does not truncate output.
17409
SED=$lt_SED
17410
17411
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
17412
Xsed="\$SED -e 1s/^X//"
17413
17414
# A grep program that handles long lines.
17415
GREP=$lt_GREP
17416
17417
# An ERE matcher.
17418
EGREP=$lt_EGREP
17419
17420
# A literal string matcher.
17421
FGREP=$lt_FGREP
17422
17423
# A BSD- or MS-compatible name lister.
17424
NM=$lt_NM
17425
17426
# Whether we need soft or hard links.
17427
LN_S=$lt_LN_S
17428
17429
# What is the maximum length of a command?
17430
max_cmd_len=$max_cmd_len
17431
17432
# Object file suffix (normally "o").
17433
objext=$ac_objext
17434
17435
# Executable file suffix (normally "").
17436
exeext=$exeext
17437
17438
# whether the shell understands "unset".
17439
lt_unset=$lt_unset
17440
17441
# turn spaces into newlines.
17442
SP2NL=$lt_lt_SP2NL
17443
17444
# turn newlines into spaces.
17445
NL2SP=$lt_lt_NL2SP
17446
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
17447
# convert \$build file names to \$host format.
17448
to_host_file_cmd=$lt_cv_to_host_file_cmd
17449
17450
# convert \$build files to toolchain format.
17451
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
17452
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
17453
# An object symbol dumper.
17454
OBJDUMP=$lt_OBJDUMP
17455
17456
# Method to check whether dependent libraries are shared objects.
17457
deplibs_check_method=$lt_deplibs_check_method
17458
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
17459
# Command to use when deplibs_check_method = "file_magic".
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
17460
file_magic_cmd=$lt_file_magic_cmd
17461
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
17462
# How to find potential files when deplibs_check_method = "file_magic".
17463
file_magic_glob=$lt_file_magic_glob
17464
17465
# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
17466
want_nocaseglob=$lt_want_nocaseglob
17467
17468
# DLL creation program.
17469
DLLTOOL=$lt_DLLTOOL
17470
17471
# Command to associate shared and link libraries.
17472
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
17473
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
17474
# The archiver.
17475
AR=$lt_AR
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
17476
17477
# Flags to create an archive.
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
17478
AR_FLAGS=$lt_AR_FLAGS
17479
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
17480
# How to feed a file listing to the archiver.
17481
archiver_list_spec=$lt_archiver_list_spec
17482
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
17483
# A symbol stripping program.
17484
STRIP=$lt_STRIP
17485
17486
# Commands used to install an old-style archive.
17487
RANLIB=$lt_RANLIB
17488
old_postinstall_cmds=$lt_old_postinstall_cmds
17489
old_postuninstall_cmds=$lt_old_postuninstall_cmds
17490
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
17491
# Whether to use a lock for old archive extraction.
17492
lock_old_archive_extraction=$lock_old_archive_extraction
17493
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
17494
# A C compiler.
17495
LTCC=$lt_CC
17496
17497
# LTCC compiler flags.
17498
LTCFLAGS=$lt_CFLAGS
17499
17500
# Take the output of nm and produce a listing of raw symbols and C names.
17501
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17502
17503
# Transform the output of nm in a proper C declaration.
17504
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17505
17506
# Transform the output of nm in a C name address pair.
17507
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17508
17509
# Transform the output of nm in a C name address pair when lib prefix is needed.
17510
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17511
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
17512
# Specify filename containing input files for \$NM.
17513
nm_file_list_spec=$lt_nm_file_list_spec
17514
17515
# The root where to search for dependent libraries,and in which our libraries should be installed.
17516
lt_sysroot=$lt_sysroot
17517
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
17518
# The name of the directory that contains temporary libtool files.
17519
objdir=$objdir
17520
17521
# Used to examine libraries when file_magic_cmd begins with "file".
17522
MAGIC_CMD=$MAGIC_CMD
17523
17524
# Must we lock files when doing compilation?
17525
need_locks=$lt_need_locks
17526
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
17527
# Manifest tool.
17528
MANIFEST_TOOL=$lt_MANIFEST_TOOL
17529
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
17530
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17531
DSYMUTIL=$lt_DSYMUTIL
17532
17533
# Tool to change global to local symbols on Mac OS X.
17534
NMEDIT=$lt_NMEDIT
17535
17536
# Tool to manipulate fat objects and archives on Mac OS X.
17537
LIPO=$lt_LIPO
17538
17539
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
17540
OTOOL=$lt_OTOOL
17541
17542
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17543
OTOOL64=$lt_OTOOL64
17544
17545
# Old archive suffix (normally "a").
17546
libext=$libext
17547
17548
# Shared library suffix (normally ".so").
17549
shrext_cmds=$lt_shrext_cmds
17550
17551
# The commands to extract the exported symbol list from a shared archive.
17552
extract_expsyms_cmds=$lt_extract_expsyms_cmds
17553
17554
# Variables whose values should be saved in libtool wrapper scripts and
17555
# restored at link time.
17556
variables_saved_for_relink=$lt_variables_saved_for_relink
17557
17558
# Do we need the "lib" prefix for modules?
17559
need_lib_prefix=$need_lib_prefix
17560
17561
# Do we need a version for libraries?
17562
need_version=$need_version
17563
17564
# Library versioning type.
17565
version_type=$version_type
17566
17567
# Shared library runtime path variable.
17568
runpath_var=$runpath_var
17569
17570
# Shared library path variable.
17571
shlibpath_var=$shlibpath_var
17572
17573
# Is shlibpath searched before the hard-coded library search path?
17574
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17575
17576
# Format of library name prefix.
17577
libname_spec=$lt_libname_spec
17578
17579
# List of archive names.  First name is the real one, the rest are links.
17580
# The last name is the one that the linker finds with -lNAME
17581
library_names_spec=$lt_library_names_spec
17582
17583
# The coded name of the library, if different from the real name.
17584
soname_spec=$lt_soname_spec
17585
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
17586
# Permission mode override for installation of shared libraries.
17587
install_override_mode=$lt_install_override_mode
17588
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
17589
# Command to use after installation of a shared archive.
17590
postinstall_cmds=$lt_postinstall_cmds
17591
17592
# Command to use after uninstallation of a shared archive.
17593
postuninstall_cmds=$lt_postuninstall_cmds
17594
17595
# Commands used to finish a libtool library installation in a directory.
17596
finish_cmds=$lt_finish_cmds
17597
17598
# As "finish_cmds", except a single script fragment to be evaled but
17599
# not shown.
17600
finish_eval=$lt_finish_eval
17601
17602
# Whether we should hardcode library paths into libraries.
17603
hardcode_into_libs=$hardcode_into_libs
17604
17605
# Compile-time system search path for libraries.
17606
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17607
17608
# Run-time system search path for libraries.
17609
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17610
17611
# Whether dlopen is supported.
17612
dlopen_support=$enable_dlopen
17613
17614
# Whether dlopen of programs is supported.
17615
dlopen_self=$enable_dlopen_self
17616
17617
# Whether dlopen of statically linked programs is supported.
17618
dlopen_self_static=$enable_dlopen_self_static
17619
17620
# Commands to strip libraries.
17621
old_striplib=$lt_old_striplib
17622
striplib=$lt_striplib
17623
17624
17625
# The linker used to build libraries.
17626
LD=$lt_LD
17627
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
17628
# How to create reloadable object files.
17629
reload_flag=$lt_reload_flag
17630
reload_cmds=$lt_reload_cmds
17631
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
17632
# Commands used to build an old-style archive.
17633
old_archive_cmds=$lt_old_archive_cmds
17634
17635
# A language specific compiler.
17636
CC=$lt_compiler
17637
17638
# Is the compiler the GNU compiler?
17639
with_gcc=$GCC
17640
17641
# Compiler flag to turn off builtin functions.
17642
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17643
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
17644
# Additional compiler flags for building library objects.
17645
pic_flag=$lt_lt_prog_compiler_pic
17646
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
17647
# How to pass a linker flag through the compiler.
17648
wl=$lt_lt_prog_compiler_wl
17649
17650
# Compiler flag to prevent dynamic linking.
17651
link_static_flag=$lt_lt_prog_compiler_static
17652
17653
# Does compiler simultaneously support -c and -o options?
17654
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17655
17656
# Whether or not to add -lc for building shared libraries.
17657
build_libtool_need_lc=$archive_cmds_need_lc
17658
17659
# Whether or not to disallow shared libs when runtime libs are static.
17660
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17661
17662
# Compiler flag to allow reflexive dlopens.
17663
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17664
17665
# Compiler flag to generate shared objects directly from archives.
17666
whole_archive_flag_spec=$lt_whole_archive_flag_spec
17667
17668
# Whether the compiler copes with passing no objects directly.
17669
compiler_needs_object=$lt_compiler_needs_object
17670
17671
# Create an old-style archive from a shared archive.
17672
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17673
17674
# Create a temporary old-style archive to link instead of a shared archive.
17675
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17676
17677
# Commands used to build a shared archive.
17678
archive_cmds=$lt_archive_cmds
17679
archive_expsym_cmds=$lt_archive_expsym_cmds
17680
17681
# Commands used to build a loadable module if different from building
17682
# a shared archive.
17683
module_cmds=$lt_module_cmds
17684
module_expsym_cmds=$lt_module_expsym_cmds
17685
17686
# Whether we are building with GNU ld or not.
17687
with_gnu_ld=$lt_with_gnu_ld
17688
17689
# Flag that allows shared libraries with undefined symbols to be built.
17690
allow_undefined_flag=$lt_allow_undefined_flag
17691
17692
# Flag that enforces no undefined symbols.
17693
no_undefined_flag=$lt_no_undefined_flag
17694
17695
# Flag to hardcode \$libdir into a binary during linking.
17696
# This must work even if \$libdir does not exist
17697
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17698
17699
# If ld is used when linking, flag to hardcode \$libdir into a binary
17700
# during linking.  This must work even if \$libdir does not exist.
17701
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
17702
17703
# Whether we need a single "-rpath" flag with a separated argument.
17704
hardcode_libdir_separator=$lt_hardcode_libdir_separator
17705
17706
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17707
# DIR into the resulting binary.
17708
hardcode_direct=$hardcode_direct
17709
17710
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17711
# DIR into the resulting binary and the resulting library dependency is
17712
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17713
# library is relocated.
17714
hardcode_direct_absolute=$hardcode_direct_absolute
17715
17716
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17717
# into the resulting binary.
17718
hardcode_minus_L=$hardcode_minus_L
17719
17720
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17721
# into the resulting binary.
17722
hardcode_shlibpath_var=$hardcode_shlibpath_var
17723
17724
# Set to "yes" if building a shared library automatically hardcodes DIR
17725
# into the library and all subsequent libraries and executables linked
17726
# against it.
17727
hardcode_automatic=$hardcode_automatic
17728
17729
# Set to yes if linker adds runtime paths of dependent libraries
17730
# to runtime path list.
17731
inherit_rpath=$inherit_rpath
17732
17733
# Whether libtool must link a program against all its dependency libraries.
17734
link_all_deplibs=$link_all_deplibs
17735
17736
# Set to "yes" if exported symbols are required.
17737
always_export_symbols=$always_export_symbols
17738
17739
# The commands to list exported symbols.
17740
export_symbols_cmds=$lt_export_symbols_cmds
17741
17742
# Symbols that should not be listed in the preloaded symbols.
17743
exclude_expsyms=$lt_exclude_expsyms
17744
17745
# Symbols that must always be exported.
17746
include_expsyms=$lt_include_expsyms
17747
17748
# Commands necessary for linking programs (against libraries) with templates.
17749
prelink_cmds=$lt_prelink_cmds
17750
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
17751
# Commands necessary for finishing linking programs.
17752
postlink_cmds=$lt_postlink_cmds
17753
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
17754
# Specify filename containing input files.
17755
file_list_spec=$lt_file_list_spec
17756
17757
# How to hardcode a shared library path into an executable.
17758
hardcode_action=$hardcode_action
17759
17760
# ### END LIBTOOL CONFIG
17761
17762
_LT_EOF
17763
17764
  case $host_os in
17765
  aix3*)
17766
    cat <<\_LT_EOF >> "$cfgfile"
17767
# AIX sometimes has problems with the GCC collect2 program.  For some
17768
# reason, if we set the COLLECT_NAMES environment variable, the problems
17769
# vanish in a puff of smoke.
17770
if test "X${COLLECT_NAMES+set}" != Xset; then
17771
  COLLECT_NAMES=
17772
  export COLLECT_NAMES
17773
fi
17774
_LT_EOF
17775
    ;;
17776
  esac
17777
17778
17779
ltmain="$ac_aux_dir/ltmain.sh"
17780
17781
17782
  # We use sed instead of cat because bash on DJGPP gets confused if
17783
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
17784
  # text mode, it properly converts lines to CR/LF.  This bash problem
17785
  # is reportedly fixed, but why not run on old versions too?
1.1.83 by Sebastien Bacher
Import upstream version 3.0.3
17786
  sed '$q' "$ltmain" >> "$cfgfile" \
17787
     || (rm -f "$cfgfile"; exit 1)
17788
17789
  if test x"$xsi_shell" = xyes; then
17790
  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
17791
func_dirname ()\
17792
{\
17793
\    case ${1} in\
17794
\      */*) func_dirname_result="${1%/*}${2}" ;;\
17795
\      *  ) func_dirname_result="${3}" ;;\
17796
\    esac\
17797
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
17798
  && mv -f "$cfgfile.tmp" "$cfgfile" \
17799
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17800
test 0 -eq $? || _lt_function_replace_fail=:
17801
17802
17803
  sed -e '/^func_basename ()$/,/^} # func_basename /c\
17804
func_basename ()\
17805
{\
17806
\    func_basename_result="${1##*/}"\
17807
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
17808
  && mv -f "$cfgfile.tmp" "$cfgfile" \
17809
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17810
test 0 -eq $? || _lt_function_replace_fail=:
17811
17812
17813
  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
17814
func_dirname_and_basename ()\
17815
{\
17816
\    case ${1} in\
17817
\      */*) func_dirname_result="${1%/*}${2}" ;;\
17818
\      *  ) func_dirname_result="${3}" ;;\
17819
\    esac\
17820
\    func_basename_result="${1##*/}"\
17821
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
17822
  && mv -f "$cfgfile.tmp" "$cfgfile" \
17823
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17824
test 0 -eq $? || _lt_function_replace_fail=:
17825
17826
17827
  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
17828
func_stripname ()\
17829
{\
17830
\    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
17831
\    # positional parameters, so assign one to ordinary parameter first.\
17832
\    func_stripname_result=${3}\
17833
\    func_stripname_result=${func_stripname_result#"${1}"}\
17834
\    func_stripname_result=${func_stripname_result%"${2}"}\
17835
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
17836
  && mv -f "$cfgfile.tmp" "$cfgfile" \
17837
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17838
test 0 -eq $? || _lt_function_replace_fail=:
17839
17840
17841
  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
17842
func_split_long_opt ()\
17843
{\
17844
\    func_split_long_opt_name=${1%%=*}\
17845
\    func_split_long_opt_arg=${1#*=}\
17846
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
17847
  && mv -f "$cfgfile.tmp" "$cfgfile" \
17848
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17849
test 0 -eq $? || _lt_function_replace_fail=:
17850
17851
17852
  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
17853
func_split_short_opt ()\
17854
{\
17855
\    func_split_short_opt_arg=${1#??}\
17856
\    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
17857
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
17858
  && mv -f "$cfgfile.tmp" "$cfgfile" \
17859
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17860
test 0 -eq $? || _lt_function_replace_fail=:
17861
17862
17863
  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
17864
func_lo2o ()\
17865
{\
17866
\    case ${1} in\
17867
\      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
17868
\      *)    func_lo2o_result=${1} ;;\
17869
\    esac\
17870
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
17871
  && mv -f "$cfgfile.tmp" "$cfgfile" \
17872
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17873
test 0 -eq $? || _lt_function_replace_fail=:
17874
17875
17876
  sed -e '/^func_xform ()$/,/^} # func_xform /c\
17877
func_xform ()\
17878
{\
17879
    func_xform_result=${1%.*}.lo\
17880
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
17881
  && mv -f "$cfgfile.tmp" "$cfgfile" \
17882
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17883
test 0 -eq $? || _lt_function_replace_fail=:
17884
17885
17886
  sed -e '/^func_arith ()$/,/^} # func_arith /c\
17887
func_arith ()\
17888
{\
17889
    func_arith_result=$(( $* ))\
17890
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
17891
  && mv -f "$cfgfile.tmp" "$cfgfile" \
17892
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17893
test 0 -eq $? || _lt_function_replace_fail=:
17894
17895
17896
  sed -e '/^func_len ()$/,/^} # func_len /c\
17897
func_len ()\
17898
{\
17899
    func_len_result=${#1}\
17900
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
17901
  && mv -f "$cfgfile.tmp" "$cfgfile" \
17902
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17903
test 0 -eq $? || _lt_function_replace_fail=:
17904
17905
fi
17906
17907
if test x"$lt_shell_append" = xyes; then
17908
  sed -e '/^func_append ()$/,/^} # func_append /c\
17909
func_append ()\
17910
{\
17911
    eval "${1}+=\\${2}"\
17912
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
17913
  && mv -f "$cfgfile.tmp" "$cfgfile" \
17914
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17915
test 0 -eq $? || _lt_function_replace_fail=:
17916
17917
17918
  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
17919
func_append_quoted ()\
17920
{\
17921
\    func_quote_for_eval "${2}"\
17922
\    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
17923
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
17924
  && mv -f "$cfgfile.tmp" "$cfgfile" \
17925
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17926
test 0 -eq $? || _lt_function_replace_fail=:
17927
17928
17929
  # Save a `func_append' function call where possible by direct use of '+='
17930
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
17931
    && mv -f "$cfgfile.tmp" "$cfgfile" \
17932
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17933
  test 0 -eq $? || _lt_function_replace_fail=:
17934
else
17935
  # Save a `func_append' function call even when '+=' is not available
17936
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
17937
    && mv -f "$cfgfile.tmp" "$cfgfile" \
17938
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17939
  test 0 -eq $? || _lt_function_replace_fail=:
17940
fi
17941
17942
if test x"$_lt_function_replace_fail" = x":"; then
17943
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
17944
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
17945
fi
17946
17947
17948
   mv -f "$cfgfile" "$ofile" ||
1.1.61 by Sebastien Bacher
Import upstream version 2.26.1
17949
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17950
  chmod +x "$ofile"
17951
17952
 ;;
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
17953
    "po/stamp-it":C)
1.1.62 by Andreas Moog
Import upstream version 2.27.1
17954
    if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
17955
       as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
1.1.52 by Sebastien Bacher
Import upstream version 2.24.2
17956
    fi
1.1.8 by Daniel Holbach
Import upstream version 2.13.92
17957
    rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
17958
    >"po/stamp-it.tmp"
17959
    sed '/^#/d
17960
	 s/^[[].*] *//
17961
	 /^[ 	]*$/d
17962
	'"s|^|	$ac_top_srcdir/|" \
17963
      "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
17964
17965
    sed '/^POTFILES =/,/[^\\]$/ {
17966
		/^POTFILES =/!d
17967
		r po/POTFILES
17968
	  }
1.1.48 by Sebastien Bacher
Import upstream version 2.23.92
17969
	 ' "po/Makefile.in" >"po/Makefile"
1.1.8 by Daniel Holbach
Import upstream version 2.13.92
17970
    rm -f "po/Makefile.tmp"
17971
    mv "po/stamp-it.tmp" "po/stamp-it"
17972
   ;;
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
17973
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
17974
  esac
1.1.21 by Sebastien Bacher
Import upstream version 2.16.1
17975
done # for ac_tag
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
17976
17977
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
17978
as_fn_exit 0
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
17979
_ACEOF
17980
ac_clean_files=$ac_clean_files_save
17981
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
17982
test $ac_write_fail = 0 ||
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
17983
  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
17984
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
17985
17986
# configure is writing to config.log, and then calls config.status.
17987
# config.status does its own redirection, appending to config.log.
17988
# Unfortunately, on DOS this fails, as config.log is still kept open
17989
# by configure, so config.status won't be able to write to it; its
17990
# output is simply discarded.  So we exec the FD to /dev/null,
17991
# effectively closing config.log, so it can be properly (re)opened and
17992
# appended to by config.status.  When coming back to configure, we
17993
# need to make the FD available again.
17994
if test "$no_create" != yes; then
17995
  ac_cs_success=:
17996
  ac_config_status_args=
17997
  test "$silent" = yes &&
17998
    ac_config_status_args="$ac_config_status_args --quiet"
17999
  exec 5>/dev/null
18000
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
18001
  exec 5>>config.log
18002
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18003
  # would make configure fail if this is the last instruction.
1.6.3 by Josselin Mouette
Import upstream version 2.30.4
18004
  $ac_cs_success || as_fn_exit 1
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
18005
fi
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
18006
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
1.1.73 by Sebastien Bacher
Import upstream version 2.29.6
18007
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
1.1.54 by Baptiste Mille-Mathias
Import upstream version 2.25.3
18008
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
18009
fi
1 by Joe Drew
Import upstream version 0.9.6
18010
18011
18012
echo "
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
18013
1 by Joe Drew
Import upstream version 0.9.6
18014
Configuration:
18015
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
18016
	Source code location:	${srcdir}
18017
	Compiler:		${CC}
1.1.22 by Daniel Holbach
Import upstream version 2.17.1
18018
	Spell Plugin enabled:	$enable_enchant
1.6.1 by Sebastian Dröge
Import upstream version 2.30.2
18019
	Gvfs metadata enabled:	$enable_gvfs_metadata
1.7.1 by Mirco Bauer
Import upstream version 3.0.0
18020
	Deprecations enabled:	$enable_deprecations
18021
	GObject Introspection:	$enable_introspection
18022
	GDK Backend:            $gdk_windowing
18023
	Zeitgeist support:      $enable_zeitgeist
18024
	Python support:         $enable_python
1 by Joe Drew
Import upstream version 0.9.6
18025
"
1.1.1 by Daniel Holbach
Import upstream version 2.12.1
18026
1.1.65 by Sebastien Bacher
Import upstream version 2.27.4
18027
if expr ${GEDIT_MINOR_VERSION} % 2 > /dev/null; then
18028
	stable_version=`expr ${GEDIT_MINOR_VERSION} - 1`
18029
18030
cat << EOF
18031
 *** IMPORTANT ***
18032
18033
This is an unstable version of gedit.
18034
It is for test purposes only.
18035
18036
Please, DO NOT use it in a production environment.
18037
It will probably crash and you will lose your data.
18038
18039
If you are looking for a stable release of gedit, either download
18040
it from:
18041
18042
  http://ftp.gnome.org/pub/gnome/sources/gedit/2.${stable_version}/
18043
18044
Or checkout the gnome-${stable_version} branch of the gedit module from:
18045
18046
  git://git.gnome.org/gedit
18047
18048
Thanks,
18049
The gedit team
18050
18051
 *** END OF WARNING ***
18052
EOF
18053
18054
fi