~ubuntu-branches/ubuntu/lucid/tomboy/lucid-proposed

1 by Brandon Hale
Import upstream version 0.2.0
1
#! /bin/sh
2
# Guess values for system-dependent variables and create Makefiles.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
3
# Generated by GNU Autoconf 2.65 for tomboy 1.2.2.
4
#
1 by Brandon Hale
Import upstream version 0.2.0
5
#
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
6
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1.3.14 by Ken VanDine
Import upstream version 1.2.2
7
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
8
# Inc.
9
#
10
#
1 by Brandon Hale
Import upstream version 0.2.0
11
# This configure script is free software; the Free Software Foundation
12
# gives unlimited permission to copy, distribute and modify it.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13
## -------------------- ##
14
## M4sh Initialization. ##
15
## -------------------- ##
1 by Brandon Hale
Import upstream version 0.2.0
16
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
17
# Be more Bourne compatible
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
18
DUALCASE=1; export DUALCASE # for MKS sh
1.3.14 by Ken VanDine
Import upstream version 1.2.2
19
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
20
  emulate sh
21
  NULLCMD=:
1.1.49 by Jo Shields
Import upstream version 0.15.0
22
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
23
  # is contrary to our usage.  Disable this feature.
24
  alias -g '${1+"$@"}'='"$@"'
25
  setopt NO_GLOB_SUBST
26
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
27
  case `(set -o) 2>/dev/null` in #(
28
  *posix*) :
29
    set -o posix ;; #(
30
  *) :
31
     ;;
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
32
esac
33
fi
34
35
1.1.49 by Jo Shields
Import upstream version 0.15.0
36
as_nl='
37
'
38
export as_nl
39
# Printing a long string crashes Solaris 7 /usr/bin/printf.
40
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
1.3.14 by Ken VanDine
Import upstream version 1.2.2
43
# Prefer a ksh shell builtin over an external printf program on Solaris,
44
# but without wasting forks for bash or zsh.
45
if test -z "$BASH_VERSION$ZSH_VERSION" \
46
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47
  as_echo='print -r --'
48
  as_echo_n='print -rn --'
49
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
1.1.49 by Jo Shields
Import upstream version 0.15.0
50
  as_echo='printf %s\n'
51
  as_echo_n='printf %s'
52
else
53
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55
    as_echo_n='/usr/ucb/echo -n'
56
  else
57
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58
    as_echo_n_body='eval
59
      arg=$1;
1.3.14 by Ken VanDine
Import upstream version 1.2.2
60
      case $arg in #(
1.1.49 by Jo Shields
Import upstream version 0.15.0
61
      *"$as_nl"*)
62
	expr "X$arg" : "X\\(.*\\)$as_nl";
63
	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64
      esac;
65
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66
    '
67
    export as_echo_n_body
68
    as_echo_n='sh -c $as_echo_n_body as_echo'
69
  fi
70
  export as_echo_body
71
  as_echo='sh -c $as_echo_body as_echo'
72
fi
73
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
74
# The user is always right.
75
if test "${PATH_SEPARATOR+set}" != set; then
1.1.49 by Jo Shields
Import upstream version 0.15.0
76
  PATH_SEPARATOR=:
77
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79
      PATH_SEPARATOR=';'
80
  }
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
81
fi
1.1.18 by Sebastian Dröge
Import upstream version 0.6.3
82
1 by Brandon Hale
Import upstream version 0.2.0
83
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
84
# IFS
85
# We need space, tab and new line, in precisely that order.  Quoting is
86
# there to prevent editors from complaining about space-tab.
87
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
88
# splitting by setting IFS to empty value.)
89
IFS=" ""	$as_nl"
90
91
# Find who we are.  Look in the path if we contain no directory separator.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
92
case $0 in #((
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
93
  *[\\/]* ) as_myself=$0 ;;
94
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
95
for as_dir in $PATH
96
do
97
  IFS=$as_save_IFS
98
  test -z "$as_dir" && as_dir=.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
99
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
100
  done
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
101
IFS=$as_save_IFS
102
103
     ;;
104
esac
105
# We did not find ourselves, most probably we were run as `sh COMMAND'
106
# in which case we are not to be found in the path.
107
if test "x$as_myself" = x; then
108
  as_myself=$0
109
fi
110
if test ! -f "$as_myself"; then
1.1.49 by Jo Shields
Import upstream version 0.15.0
111
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
1.3.14 by Ken VanDine
Import upstream version 1.2.2
112
  exit 1
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
113
fi
114
1.3.14 by Ken VanDine
Import upstream version 1.2.2
115
# Unset variables that we do not need and which cause bugs (e.g. in
116
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
117
# suppresses any "Segmentation fault" message there.  '((' could
118
# trigger a bug in pdksh 5.2.14.
119
for as_var in BASH_ENV ENV MAIL MAILPATH
120
do eval test x\${$as_var+set} = xset \
121
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
122
done
1 by Brandon Hale
Import upstream version 0.2.0
123
PS1='$ '
124
PS2='> '
125
PS4='+ '
126
127
# NLS nuisances.
1.1.49 by Jo Shields
Import upstream version 0.15.0
128
LC_ALL=C
129
export LC_ALL
130
LANGUAGE=C
131
export LANGUAGE
1 by Brandon Hale
Import upstream version 0.2.0
132
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
133
# CDPATH.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
134
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
135
136
if test "x$CONFIG_SHELL" = x; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
137
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138
  emulate sh
139
  NULLCMD=:
140
  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141
  # is contrary to our usage.  Disable this feature.
142
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
143
  setopt NO_GLOB_SUBST
144
else
145
  case \`(set -o) 2>/dev/null\` in #(
146
  *posix*) :
147
    set -o posix ;; #(
148
  *) :
149
     ;;
150
esac
151
fi
152
"
153
  as_required="as_fn_return () { (exit \$1); }
154
as_fn_success () { as_fn_return 0; }
155
as_fn_failure () { as_fn_return 1; }
156
as_fn_ret_success () { return 0; }
157
as_fn_ret_failure () { return 1; }
158
159
exitcode=0
160
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165
166
else
167
  exitcode=1; echo positional parameters were not saved.
168
fi
169
test x\$exitcode = x0 || exit 1"
170
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
171
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
172
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
174
test \$(( 1 + 1 )) = 2 || exit 1"
175
  if (eval "$as_required") 2>/dev/null; then :
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
176
  as_have_required=yes
177
else
178
  as_have_required=no
179
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
180
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
181
182
else
183
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
184
as_found=false
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
185
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
1 by Brandon Hale
Import upstream version 0.2.0
186
do
187
  IFS=$as_save_IFS
188
  test -z "$as_dir" && as_dir=.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
189
  as_found=:
190
  case $as_dir in #(
1 by Brandon Hale
Import upstream version 0.2.0
191
	 /*)
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
192
	   for as_base in sh bash ksh sh5; do
1.3.14 by Ken VanDine
Import upstream version 1.2.2
193
	     # Try only shells that exist, to save several forks.
194
	     as_shell=$as_dir/$as_base
195
	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
196
		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
197
  CONFIG_SHELL=$as_shell as_have_required=yes
198
		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
199
  break 2
200
fi
201
fi
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
202
	   done;;
203
       esac
1.3.14 by Ken VanDine
Import upstream version 1.2.2
204
  as_found=false
1 by Brandon Hale
Import upstream version 0.2.0
205
done
1.3.14 by Ken VanDine
Import upstream version 1.2.2
206
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
207
	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
208
  CONFIG_SHELL=$SHELL as_have_required=yes
209
fi; }
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
210
IFS=$as_save_IFS
211
212
1.3.14 by Ken VanDine
Import upstream version 1.2.2
213
      if test "x$CONFIG_SHELL" != x; then :
214
  # We cannot yet assume a decent shell, so we have to provide a
215
	# neutralization value for shells without unset; and this also
216
	# works around shells that cannot unset nonexistent variables.
217
	BASH_ENV=/dev/null
218
	ENV=/dev/null
219
	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
1.1.49 by Jo Shields
Import upstream version 0.15.0
220
	export CONFIG_SHELL
221
	exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
222
fi
223
1.3.14 by Ken VanDine
Import upstream version 1.2.2
224
    if test x$as_have_required = xno; then :
225
  $as_echo "$0: This script requires a shell more modern than all"
226
  $as_echo "$0: the shells that I found on your system."
227
  if test x${ZSH_VERSION+set} = xset ; then
228
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
229
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
230
  else
231
    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
232
$0: including any error possibly output before this
233
$0: message. Then install a modern shell, or manually run
234
$0: the script under such a shell if you do have one."
235
  fi
236
  exit 1
237
fi
238
fi
239
fi
240
SHELL=${CONFIG_SHELL-/bin/sh}
241
export SHELL
242
# Unset more variables known to interfere with behavior of common tools.
243
CLICOLOR_FORCE= GREP_OPTIONS=
244
unset CLICOLOR_FORCE GREP_OPTIONS
245
246
## --------------------- ##
247
## M4sh Shell Functions. ##
248
## --------------------- ##
249
# as_fn_unset VAR
250
# ---------------
251
# Portably unset VAR.
252
as_fn_unset ()
253
{
254
  { eval $1=; unset $1;}
255
}
256
as_unset=as_fn_unset
257
258
# as_fn_set_status STATUS
259
# -----------------------
260
# Set $? to STATUS, without forking.
261
as_fn_set_status ()
262
{
263
  return $1
264
} # as_fn_set_status
265
266
# as_fn_exit STATUS
267
# -----------------
268
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
269
as_fn_exit ()
270
{
271
  set +e
272
  as_fn_set_status $1
273
  exit $1
274
} # as_fn_exit
275
276
# as_fn_mkdir_p
277
# -------------
278
# Create "$as_dir" as a directory, including parents if necessary.
279
as_fn_mkdir_p ()
280
{
281
282
  case $as_dir in #(
283
  -*) as_dir=./$as_dir;;
284
  esac
285
  test -d "$as_dir" || eval $as_mkdir_p || {
286
    as_dirs=
287
    while :; do
288
      case $as_dir in #(
289
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
290
      *) as_qdir=$as_dir;;
291
      esac
292
      as_dirs="'$as_qdir' $as_dirs"
293
      as_dir=`$as_dirname -- "$as_dir" ||
294
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
295
	 X"$as_dir" : 'X\(//\)[^/]' \| \
296
	 X"$as_dir" : 'X\(//\)$' \| \
297
	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
298
$as_echo X"$as_dir" |
299
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
300
	    s//\1/
301
	    q
302
	  }
303
	  /^X\(\/\/\)[^/].*/{
304
	    s//\1/
305
	    q
306
	  }
307
	  /^X\(\/\/\)$/{
308
	    s//\1/
309
	    q
310
	  }
311
	  /^X\(\/\).*/{
312
	    s//\1/
313
	    q
314
	  }
315
	  s/.*/./; q'`
316
      test -d "$as_dir" && break
317
    done
318
    test -z "$as_dirs" || eval "mkdir $as_dirs"
319
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
320
321
322
} # as_fn_mkdir_p
323
# as_fn_append VAR VALUE
324
# ----------------------
325
# Append the text in VALUE to the end of the definition contained in VAR. Take
326
# advantage of any shell optimizations that allow amortized linear growth over
327
# repeated appends, instead of the typical quadratic growth present in naive
328
# implementations.
329
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
330
  eval 'as_fn_append ()
331
  {
332
    eval $1+=\$2
333
  }'
334
else
335
  as_fn_append ()
336
  {
337
    eval $1=\$$1\$2
338
  }
339
fi # as_fn_append
340
341
# as_fn_arith ARG...
342
# ------------------
343
# Perform arithmetic evaluation on the ARGs, and store the result in the
344
# global $as_val. Take advantage of shells that can avoid forks. The arguments
345
# must be portable across $(()) and expr.
346
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
347
  eval 'as_fn_arith ()
348
  {
349
    as_val=$(( $* ))
350
  }'
351
else
352
  as_fn_arith ()
353
  {
354
    as_val=`expr "$@" || test $? -eq 1`
355
  }
356
fi # as_fn_arith
357
358
359
# as_fn_error ERROR [LINENO LOG_FD]
360
# ---------------------------------
361
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
362
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
363
# script with status $?, using 1 if that was 0.
364
as_fn_error ()
365
{
366
  as_status=$?; test $as_status -eq 0 && as_status=1
367
  if test "$3"; then
368
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
369
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
370
  fi
371
  $as_echo "$as_me: error: $1" >&2
372
  as_fn_exit $as_status
373
} # as_fn_error
374
375
if expr a : '\(a\)' >/dev/null 2>&1 &&
376
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
377
  as_expr=expr
378
else
379
  as_expr=false
380
fi
381
382
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
383
  as_basename=basename
384
else
385
  as_basename=false
386
fi
387
388
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
389
  as_dirname=dirname
390
else
391
  as_dirname=false
392
fi
393
394
as_me=`$as_basename -- "$0" ||
395
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
396
	 X"$0" : 'X\(//\)$' \| \
397
	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
398
$as_echo X/"$0" |
399
    sed '/^.*\/\([^/][^/]*\)\/*$/{
400
	    s//\1/
401
	    q
402
	  }
403
	  /^X\/\(\/\/\)$/{
404
	    s//\1/
405
	    q
406
	  }
407
	  /^X\/\(\/\).*/{
408
	    s//\1/
409
	    q
410
	  }
411
	  s/.*/./; q'`
412
413
# Avoid depending upon Character Ranges.
414
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
415
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
416
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
417
as_cr_digits='0123456789'
418
as_cr_alnum=$as_cr_Letters$as_cr_digits
419
420
421
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
422
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
423
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
424
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
425
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
426
  sed -n '
427
    p
428
    /[$]LINENO/=
429
  ' <$as_myself |
1 by Brandon Hale
Import upstream version 0.2.0
430
    sed '
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
431
      s/[$]LINENO.*/&-/
432
      t lineno
433
      b
434
      :lineno
1 by Brandon Hale
Import upstream version 0.2.0
435
      N
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
436
      :loop
437
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
1 by Brandon Hale
Import upstream version 0.2.0
438
      t loop
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
439
      s/-\n.*//
1 by Brandon Hale
Import upstream version 0.2.0
440
    ' >$as_me.lineno &&
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
441
  chmod +x "$as_me.lineno" ||
1.3.14 by Ken VanDine
Import upstream version 1.2.2
442
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
1 by Brandon Hale
Import upstream version 0.2.0
443
444
  # Don't try to exec as it changes $[0], causing all sort of problems
445
  # (the dirname of $[0] is not the place where we might find the
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
446
  # original and so on.  Autoconf is especially sensitive to this).
447
  . "./$as_me.lineno"
1 by Brandon Hale
Import upstream version 0.2.0
448
  # Exit status is that of the last command.
449
  exit
450
}
451
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
452
ECHO_C= ECHO_N= ECHO_T=
1.3.14 by Ken VanDine
Import upstream version 1.2.2
453
case `echo -n x` in #(((((
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
454
-n*)
1.3.14 by Ken VanDine
Import upstream version 1.2.2
455
  case `echo 'xy\c'` in
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
456
  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
457
  xy)  ECHO_C='\c';;
458
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
459
       ECHO_T='	';;
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
460
  esac;;
461
*)
462
  ECHO_N='-n';;
1 by Brandon Hale
Import upstream version 0.2.0
463
esac
464
465
rm -f conf$$ conf$$.exe conf$$.file
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
466
if test -d conf$$.dir; then
467
  rm -f conf$$.dir/conf$$.file
468
else
469
  rm -f conf$$.dir
1.1.49 by Jo Shields
Import upstream version 0.15.0
470
  mkdir conf$$.dir 2>/dev/null
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
471
fi
1.1.49 by Jo Shields
Import upstream version 0.15.0
472
if (echo >conf$$.file) 2>/dev/null; then
473
  if ln -s conf$$.file conf$$ 2>/dev/null; then
474
    as_ln_s='ln -s'
475
    # ... but there are two gotchas:
476
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
477
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
478
    # In both cases, we have to default to `cp -p'.
479
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
480
      as_ln_s='cp -p'
481
  elif ln conf$$.file conf$$ 2>/dev/null; then
482
    as_ln_s=ln
483
  else
1 by Brandon Hale
Import upstream version 0.2.0
484
    as_ln_s='cp -p'
1.1.49 by Jo Shields
Import upstream version 0.15.0
485
  fi
1 by Brandon Hale
Import upstream version 0.2.0
486
else
487
  as_ln_s='cp -p'
488
fi
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
489
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
490
rmdir conf$$.dir 2>/dev/null
1 by Brandon Hale
Import upstream version 0.2.0
491
492
if mkdir -p . 2>/dev/null; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
493
  as_mkdir_p='mkdir -p "$as_dir"'
1 by Brandon Hale
Import upstream version 0.2.0
494
else
495
  test -d ./-p && rmdir ./-p
496
  as_mkdir_p=false
497
fi
498
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
499
if test -x / >/dev/null 2>&1; then
500
  as_test_x='test -x'
501
else
502
  if ls -dL / >/dev/null 2>&1; then
503
    as_ls_L_option=L
504
  else
505
    as_ls_L_option=
506
  fi
507
  as_test_x='
508
    eval sh -c '\''
509
      if test -d "$1"; then
1.1.49 by Jo Shields
Import upstream version 0.15.0
510
	test -d "$1/.";
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
511
      else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
512
	case $1 in #(
1.1.49 by Jo Shields
Import upstream version 0.15.0
513
	-*)set "./$1";;
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
514
	esac;
1.3.14 by Ken VanDine
Import upstream version 1.2.2
515
	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
516
	???[sx]*):;;*)false;;esac;fi
517
    '\'' sh
518
  '
519
fi
520
as_executable_p=$as_test_x
1 by Brandon Hale
Import upstream version 0.2.0
521
522
# Sed expression to map a string onto a valid CPP name.
523
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
524
525
# Sed expression to map a string onto a valid variable name.
526
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
527
528
529
530
# Check that we are running under the correct shell.
531
SHELL=${CONFIG_SHELL-/bin/sh}
532
1.1.49 by Jo Shields
Import upstream version 0.15.0
533
case X$lt_ECHO in
1 by Brandon Hale
Import upstream version 0.2.0
534
X*--fallback-echo)
535
  # Remove one level of quotation (which was required for Make).
1.1.49 by Jo Shields
Import upstream version 0.15.0
536
  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
1 by Brandon Hale
Import upstream version 0.2.0
537
  ;;
538
esac
539
1.1.49 by Jo Shields
Import upstream version 0.15.0
540
ECHO=${lt_ECHO-echo}
1 by Brandon Hale
Import upstream version 0.2.0
541
if test "X$1" = X--no-reexec; then
542
  # Discard the --no-reexec flag, and continue.
543
  shift
544
elif test "X$1" = X--fallback-echo; then
545
  # Avoid inline document here, it may be left over
546
  :
1.1.49 by Jo Shields
Import upstream version 0.15.0
547
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
548
  # Yippee, $ECHO works!
1 by Brandon Hale
Import upstream version 0.2.0
549
  :
550
else
551
  # Restart under the correct shell.
552
  exec $SHELL "$0" --no-reexec ${1+"$@"}
553
fi
554
555
if test "X$1" = X--fallback-echo; then
556
  # used as fallback echo
557
  shift
1.1.49 by Jo Shields
Import upstream version 0.15.0
558
  cat <<_LT_EOF
1 by Brandon Hale
Import upstream version 0.2.0
559
$*
1.1.49 by Jo Shields
Import upstream version 0.15.0
560
_LT_EOF
1 by Brandon Hale
Import upstream version 0.2.0
561
  exit 0
562
fi
563
564
# The HP-UX ksh and POSIX shell print the target directory to stdout
565
# if CDPATH is set.
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
566
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
1 by Brandon Hale
Import upstream version 0.2.0
567
1.1.49 by Jo Shields
Import upstream version 0.15.0
568
if test -z "$lt_ECHO"; then
569
  if test "X${echo_test_string+set}" != Xset; then
570
    # find a string as large as possible, as long as the shell can cope with it
571
    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
572
      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
573
      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
574
	 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
575
      then
576
        break
577
      fi
578
    done
579
  fi
580
581
  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
582
     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
583
     test "X$echo_testing_string" = "X$echo_test_string"; then
584
    :
585
  else
586
    # The Solaris, AIX, and Digital Unix default echo programs unquote
587
    # backslashes.  This makes it impossible to quote backslashes using
588
    #   echo "$something" | sed 's/\\/\\\\/g'
589
    #
590
    # So, first we look for a working echo in the user's PATH.
591
592
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
593
    for dir in $PATH /usr/ucb; do
594
      IFS="$lt_save_ifs"
595
      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
596
         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
597
         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
598
         test "X$echo_testing_string" = "X$echo_test_string"; then
599
        ECHO="$dir/echo"
600
        break
601
      fi
602
    done
1 by Brandon Hale
Import upstream version 0.2.0
603
    IFS="$lt_save_ifs"
604
1.1.49 by Jo Shields
Import upstream version 0.15.0
605
    if test "X$ECHO" = Xecho; then
606
      # We didn't find a better echo, so look for alternatives.
607
      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
608
         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
609
         test "X$echo_testing_string" = "X$echo_test_string"; then
610
        # This shell has a builtin print -r that does the trick.
611
        ECHO='print -r'
612
      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
613
	   test "X$CONFIG_SHELL" != X/bin/ksh; then
614
        # If we have ksh, try running configure again with it.
615
        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
616
        export ORIGINAL_CONFIG_SHELL
617
        CONFIG_SHELL=/bin/ksh
618
        export CONFIG_SHELL
619
        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
1 by Brandon Hale
Import upstream version 0.2.0
620
      else
1.1.49 by Jo Shields
Import upstream version 0.15.0
621
        # Try using printf.
622
        ECHO='printf %s\n'
623
        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
624
	   echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
625
	   test "X$echo_testing_string" = "X$echo_test_string"; then
626
	  # Cool, printf works
627
	  :
628
        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
629
	     test "X$echo_testing_string" = 'X\t' &&
630
	     echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
631
	     test "X$echo_testing_string" = "X$echo_test_string"; then
632
	  CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
633
	  export CONFIG_SHELL
634
	  SHELL="$CONFIG_SHELL"
635
	  export SHELL
636
	  ECHO="$CONFIG_SHELL $0 --fallback-echo"
637
        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
638
	     test "X$echo_testing_string" = 'X\t' &&
639
	     echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
640
	     test "X$echo_testing_string" = "X$echo_test_string"; then
641
	  ECHO="$CONFIG_SHELL $0 --fallback-echo"
642
        else
643
	  # maybe with a smaller string...
644
	  prev=:
645
646
	  for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
647
	    if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
648
	    then
649
	      break
650
	    fi
651
	    prev="$cmd"
652
	  done
653
654
	  if test "$prev" != 'sed 50q "$0"'; then
655
	    echo_test_string=`eval $prev`
656
	    export echo_test_string
657
	    exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
658
	  else
659
	    # Oops.  We lost completely, so just stick with echo.
660
	    ECHO=echo
1 by Brandon Hale
Import upstream version 0.2.0
661
	  fi
1.1.49 by Jo Shields
Import upstream version 0.15.0
662
        fi
1 by Brandon Hale
Import upstream version 0.2.0
663
      fi
664
    fi
665
  fi
666
fi
667
668
# Copy echo and quote the copy suitably for passing to libtool from
669
# the Makefile, instead of quoting the original, which is used later.
1.1.49 by Jo Shields
Import upstream version 0.15.0
670
lt_ECHO=$ECHO
671
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
672
   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
1 by Brandon Hale
Import upstream version 0.2.0
673
fi
674
675
676
677
1.3.14 by Ken VanDine
Import upstream version 1.2.2
678
test -n "$DJDIR" || exec 7<&0 </dev/null
679
exec 6>&1
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
680
1 by Brandon Hale
Import upstream version 0.2.0
681
# Name of the host.
682
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
683
# so uname gets run too.
684
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
685
686
#
687
# Initializations.
688
#
689
ac_default_prefix=/usr/local
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
690
ac_clean_files=
1 by Brandon Hale
Import upstream version 0.2.0
691
ac_config_libobj_dir=.
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
692
LIBOBJS=
1 by Brandon Hale
Import upstream version 0.2.0
693
cross_compiling=no
694
subdirs=
695
MFLAGS=
696
MAKEFLAGS=
697
698
# Identity of this package.
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
699
PACKAGE_NAME='tomboy'
700
PACKAGE_TARNAME='tomboy'
1.3.14 by Ken VanDine
Import upstream version 1.2.2
701
PACKAGE_VERSION='1.2.2'
702
PACKAGE_STRING='tomboy 1.2.2'
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
703
PACKAGE_BUGREPORT=''
1.3.14 by Ken VanDine
Import upstream version 1.2.2
704
PACKAGE_URL=''
1 by Brandon Hale
Import upstream version 0.2.0
705
706
ac_unique_file="Tomboy/Tomboy.cs"
707
# Factoring default headers for most tests.
708
ac_includes_default="\
709
#include <stdio.h>
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
710
#ifdef HAVE_SYS_TYPES_H
1 by Brandon Hale
Import upstream version 0.2.0
711
# include <sys/types.h>
712
#endif
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
713
#ifdef HAVE_SYS_STAT_H
1 by Brandon Hale
Import upstream version 0.2.0
714
# include <sys/stat.h>
715
#endif
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
716
#ifdef STDC_HEADERS
1 by Brandon Hale
Import upstream version 0.2.0
717
# include <stdlib.h>
718
# include <stddef.h>
719
#else
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
720
# ifdef HAVE_STDLIB_H
1 by Brandon Hale
Import upstream version 0.2.0
721
#  include <stdlib.h>
722
# endif
723
#endif
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
724
#ifdef HAVE_STRING_H
725
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
1 by Brandon Hale
Import upstream version 0.2.0
726
#  include <memory.h>
727
# endif
728
# include <string.h>
729
#endif
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
730
#ifdef HAVE_STRINGS_H
1 by Brandon Hale
Import upstream version 0.2.0
731
# include <strings.h>
732
#endif
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
733
#ifdef HAVE_INTTYPES_H
1 by Brandon Hale
Import upstream version 0.2.0
734
# include <inttypes.h>
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
735
#endif
736
#ifdef HAVE_STDINT_H
737
# include <stdint.h>
738
#endif
739
#ifdef HAVE_UNISTD_H
1 by Brandon Hale
Import upstream version 0.2.0
740
# include <unistd.h>
741
#endif"
742
1.3.7 by Sebastien Bacher
Import upstream version 1.1.0
743
ac_subst_vars='am__EXEEXT_FALSE
744
am__EXEEXT_TRUE
745
LTLIBOBJS
1.1.49 by Jo Shields
Import upstream version 0.15.0
746
LIBOBJS
747
XGETTEXT_PLUGIN_DESC
748
XGETTEXT_PLUGIN_NAME
749
HAVE_X
750
X_EXTRA_LIBS
751
X_LIBS
752
X_PRE_LIBS
753
X_CFLAGS
754
XMKMF
755
NUNIT
756
HAVE_NUNIT_FALSE
757
HAVE_NUNIT_TRUE
758
NUNIT_LIBS
759
NUNIT_CFLAGS
760
ENABLE_GALAGO_FALSE
761
ENABLE_GALAGO_TRUE
762
GALAGO_LIBS
763
GALAGO_CFLAGS
764
ENABLE_SKETCHING_FALSE
765
ENABLE_SKETCHING_TRUE
766
ENABLE_EVOLUTION_FALSE
767
ENABLE_EVOLUTION_TRUE
768
EVOLUTION_LIBS
769
EVOLUTION_CFLAGS
770
GTKSHARP_LIBS
771
GTKSHARP_CFLAGS
772
FIXED_PANELAPPLET_FALSE
773
FIXED_PANELAPPLET_TRUE
774
GNOME_LIBS
775
GNOME_CFLAGS
776
MONO_ADDINS_LIBS
777
MONO_ADDINS_CFLAGS
778
DBUS_LIBS
779
DBUS_CFLAGS
780
DBUS_SERVICE_DIR
781
WITH_DBUS_SERVICE_DIR_FALSE
782
WITH_DBUS_SERVICE_DIR_TRUE
783
ENABLE_DBUS_FALSE
784
ENABLE_DBUS_TRUE
785
ENABLE_GNOME_FALSE
786
ENABLE_GNOME_TRUE
787
ENABLE_OSX_FALSE
788
ENABLE_OSX_TRUE
789
ENABLE_WIN_FALSE
790
ENABLE_WIN_TRUE
1.3.12 by Sebastien Bacher
Import upstream version 1.2.0
791
ENABLE_UPDATE_MIMEDB_FALSE
792
ENABLE_UPDATE_MIMEDB_TRUE
793
UPDATE_MIME_DATABASE
1.1.49 by Jo Shields
Import upstream version 0.15.0
794
FIXED_GTKSPELL_FALSE
795
FIXED_GTKSPELL_TRUE
796
GTKSPELL_LIBS
797
GTKSPELL_CFLAGS
798
PANELAPPLET_SERVER_DIR
799
ENABLE_PANELAPPLET_SRVDIR_CHECK_FALSE
800
ENABLE_PANELAPPLET_SRVDIR_CHECK_TRUE
1.3.12 by Sebastien Bacher
Import upstream version 1.2.0
801
HAS_GTK_2_20_FALSE
802
HAS_GTK_2_20_TRUE
1.3.7 by Sebastien Bacher
Import upstream version 1.1.0
803
HAS_GTK_2_16_FALSE
804
HAS_GTK_2_16_TRUE
1.1.49 by Jo Shields
Import upstream version 0.15.0
805
LIBTOMBOY_LIBS
806
LIBTOMBOY_CFLAGS
1.2.4 by Iain Lane
Import upstream version 0.15.2
807
MONO_LIBS
808
MONO_CFLAGS
1.1.49 by Jo Shields
Import upstream version 0.15.0
809
GMCS
810
GCONF_SCHEMAS_INSTALL_FALSE
811
GCONF_SCHEMAS_INSTALL_TRUE
812
GCONF_SCHEMA_FILE_DIR
813
GCONF_SCHEMA_CONFIG_SOURCE
814
GCONFTOOL
1.3.14 by Ken VanDine
Import upstream version 1.2.2
815
MKINSTALLDIRS
1.1.49 by Jo Shields
Import upstream version 0.15.0
816
POSUB
817
POFILES
818
PO_IN_DATADIR_FALSE
819
PO_IN_DATADIR_TRUE
820
INTLLIBS
821
INSTOBJEXT
822
GMOFILES
823
CATOBJEXT
824
CATALOGS
825
MSGFMT_OPTS
826
GETTEXT_PACKAGE
827
OTOOL64
828
OTOOL
829
LIPO
830
NMEDIT
831
DSYMUTIL
832
lt_ECHO
833
RANLIB
834
AR
835
OBJDUMP
836
NM
837
ac_ct_DUMPBIN
838
DUMPBIN
839
LD
840
FGREP
841
SED
842
host_os
843
host_vendor
844
host_cpu
845
host
846
build_os
847
build_vendor
848
build_cpu
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
849
build
850
LIBTOOL
1.1.49 by Jo Shields
Import upstream version 0.15.0
851
EGREP
852
GREP
853
CPP
854
DATADIRNAME
855
am__fastdepCC_FALSE
856
am__fastdepCC_TRUE
857
CCDEPMODE
858
AMDEPBACKSLASH
859
AMDEP_FALSE
860
AMDEP_TRUE
861
am__quote
862
am__include
863
DEPDIR
864
OBJEXT
865
EXEEXT
866
ac_ct_CC
867
CPPFLAGS
868
LDFLAGS
869
CFLAGS
870
CC
871
ALL_LINGUAS
872
INTLTOOL_PERL
873
GMSGFMT
874
MSGFMT
875
MSGMERGE
876
XGETTEXT
877
INTLTOOL_POLICY_RULE
878
INTLTOOL_SERVICE_RULE
879
INTLTOOL_THEME_RULE
880
INTLTOOL_SCHEMAS_RULE
881
INTLTOOL_CAVES_RULE
882
INTLTOOL_XML_NOMERGE_RULE
883
INTLTOOL_XML_RULE
884
INTLTOOL_KBD_RULE
885
INTLTOOL_XAM_RULE
886
INTLTOOL_UI_RULE
887
INTLTOOL_SOUNDLIST_RULE
888
INTLTOOL_SHEET_RULE
889
INTLTOOL_SERVER_RULE
890
INTLTOOL_PONG_RULE
891
INTLTOOL_OAF_RULE
892
INTLTOOL_PROP_RULE
893
INTLTOOL_KEYS_RULE
894
INTLTOOL_DIRECTORY_RULE
895
INTLTOOL_DESKTOP_RULE
896
INTLTOOL_EXTRACT
897
INTLTOOL_MERGE
898
INTLTOOL_UPDATE
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
899
USE_NLS
1.1.49 by Jo Shields
Import upstream version 0.15.0
900
HAVE_GNOME_DOC_UTILS_FALSE
901
HAVE_GNOME_DOC_UTILS_TRUE
902
DISTCHECK_CONFIGURE_FLAGS
903
ENABLE_SK_FALSE
904
ENABLE_SK_TRUE
905
DOC_USER_FORMATS
906
OMF_DIR
907
HELP_DIR
908
PKG_CONFIG
1.3.7 by Sebastien Bacher
Import upstream version 1.1.0
909
LN_S
1.1.49 by Jo Shields
Import upstream version 0.15.0
910
ACLOCAL_AMFLAGS
911
MAINT
912
MAINTAINER_MODE_FALSE
913
MAINTAINER_MODE_TRUE
914
am__untar
915
am__tar
916
AMTAR
917
am__leading_dot
918
SET_MAKE
919
AWK
920
mkdir_p
921
MKDIR_P
922
INSTALL_STRIP_PROGRAM
923
STRIP
924
install_sh
925
MAKEINFO
926
AUTOHEADER
927
AUTOMAKE
928
AUTOCONF
929
ACLOCAL
930
VERSION
931
PACKAGE
932
CYGPATH_W
933
am__isrc
934
INSTALL_DATA
935
INSTALL_SCRIPT
936
INSTALL_PROGRAM
937
target_alias
938
host_alias
939
build_alias
940
LIBS
941
ECHO_T
942
ECHO_N
943
ECHO_C
944
DEFS
945
mandir
946
localedir
947
libdir
948
psdir
949
pdfdir
950
dvidir
951
htmldir
952
infodir
953
docdir
954
oldincludedir
955
includedir
956
localstatedir
957
sharedstatedir
958
sysconfdir
959
datadir
960
datarootdir
961
libexecdir
962
sbindir
963
bindir
964
program_transform_name
965
prefix
966
exec_prefix
1.3.14 by Ken VanDine
Import upstream version 1.2.2
967
PACKAGE_URL
1.1.49 by Jo Shields
Import upstream version 0.15.0
968
PACKAGE_BUGREPORT
969
PACKAGE_STRING
970
PACKAGE_VERSION
971
PACKAGE_TARNAME
972
PACKAGE_NAME
973
PATH_SEPARATOR
974
SHELL'
1 by Brandon Hale
Import upstream version 0.2.0
975
ac_subst_files=''
1.1.49 by Jo Shields
Import upstream version 0.15.0
976
ac_user_opts='
977
enable_option_checking
978
enable_maintainer_mode
979
with_help_dir
980
with_omf_dir
981
with_help_formats
982
enable_scrollkeeper
983
enable_nls
984
enable_dependency_tracking
985
enable_static
986
enable_shared
987
with_pic
988
enable_fast_install
989
with_gnu_ld
990
enable_libtool_lock
991
with_gconf_source
992
with_gconf_schema_file_dir
993
enable_schemas_install
994
enable_panelapplet_srvdir_check
1.3.12 by Sebastien Bacher
Import upstream version 1.2.0
995
enable_update_mimedb
1.1.49 by Jo Shields
Import upstream version 0.15.0
996
enable_windows
997
enable_osx
998
enable_gnome
999
enable_dbus
1000
with_dbus_service_dir
1001
enable_evolution
1002
enable_sketching
1003
enable_galago
1004
with_x
1005
'
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
1006
      ac_precious_vars='build_alias
1007
host_alias
1008
target_alias
1009
PKG_CONFIG
1010
CC
1011
CFLAGS
1012
LDFLAGS
1013
LIBS
1014
CPPFLAGS
1015
CPP
1.2.4 by Iain Lane
Import upstream version 0.15.2
1016
MONO_CFLAGS
1017
MONO_LIBS
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
1018
LIBTOMBOY_CFLAGS
1019
LIBTOMBOY_LIBS
1020
GTKSPELL_CFLAGS
1021
GTKSPELL_LIBS
1022
DBUS_CFLAGS
1023
DBUS_LIBS
1.1.30 by Sebastian Dröge
Import upstream version 0.9.1
1024
MONO_ADDINS_CFLAGS
1025
MONO_ADDINS_LIBS
1.1.44 by Pedro Fragoso
Import upstream version 0.13.1
1026
GNOME_CFLAGS
1027
GNOME_LIBS
1028
GTKSHARP_CFLAGS
1029
GTKSHARP_LIBS
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
1030
EVOLUTION_CFLAGS
1031
EVOLUTION_LIBS
1032
GALAGO_CFLAGS
1033
GALAGO_LIBS
1034
NUNIT_CFLAGS
1.1.35 by Sebastian Dröge
Import upstream version 0.9.8
1035
NUNIT_LIBS
1036
XMKMF'
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
1037
1 by Brandon Hale
Import upstream version 0.2.0
1038
1039
# Initialize some variables set by options.
1040
ac_init_help=
1041
ac_init_version=false
1.1.49 by Jo Shields
Import upstream version 0.15.0
1042
ac_unrecognized_opts=
1043
ac_unrecognized_sep=
1 by Brandon Hale
Import upstream version 0.2.0
1044
# The variables have the same names as the options, with
1045
# dashes changed to underlines.
1046
cache_file=/dev/null
1047
exec_prefix=NONE
1048
no_create=
1049
no_recursion=
1050
prefix=NONE
1051
program_prefix=NONE
1052
program_suffix=NONE
1053
program_transform_name=s,x,x,
1054
silent=
1055
site=
1056
srcdir=
1057
verbose=
1058
x_includes=NONE
1059
x_libraries=NONE
1060
1061
# Installation directory options.
1062
# These are left unexpanded so users can "make install exec_prefix=/foo"
1063
# and all the variables that are supposed to be based on exec_prefix
1064
# by default will actually change.
1065
# Use braces instead of parens because sh, perl, etc. also accept them.
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
1066
# (The list follows the same order as the GNU Coding Standards.)
1 by Brandon Hale
Import upstream version 0.2.0
1067
bindir='${exec_prefix}/bin'
1068
sbindir='${exec_prefix}/sbin'
1069
libexecdir='${exec_prefix}/libexec'
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
1070
datarootdir='${prefix}/share'
1071
datadir='${datarootdir}'
1 by Brandon Hale
Import upstream version 0.2.0
1072
sysconfdir='${prefix}/etc'
1073
sharedstatedir='${prefix}/com'
1074
localstatedir='${prefix}/var'
1075
includedir='${prefix}/include'
1076
oldincludedir='/usr/include'
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
1077
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1078
infodir='${datarootdir}/info'
1079
htmldir='${docdir}'
1080
dvidir='${docdir}'
1081
pdfdir='${docdir}'
1082
psdir='${docdir}'
1083
libdir='${exec_prefix}/lib'
1084
localedir='${datarootdir}/locale'
1085
mandir='${datarootdir}/man'
1 by Brandon Hale
Import upstream version 0.2.0
1086
1087
ac_prev=
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
1088
ac_dashdash=
1 by Brandon Hale
Import upstream version 0.2.0
1089
for ac_option
1090
do
1091
  # If the previous option needs an argument, assign it.
1092
  if test -n "$ac_prev"; then
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
1093
    eval $ac_prev=\$ac_option
1 by Brandon Hale
Import upstream version 0.2.0
1094
    ac_prev=
1095
    continue
1096
  fi
1097
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
1098
  case $ac_option in
1099
  *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1100
  *)	ac_optarg=yes ;;
1101
  esac
1 by Brandon Hale
Import upstream version 0.2.0
1102
1103
  # Accept the important Cygnus configure options, so we can diagnose typos.
1104
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
1105
  case $ac_dashdash$ac_option in
1106
  --)
1107
    ac_dashdash=yes ;;
1 by Brandon Hale
Import upstream version 0.2.0
1108
1109
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
1110
    ac_prev=bindir ;;
1111
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1112
    bindir=$ac_optarg ;;
1113
1114
  -build | --build | --buil | --bui | --bu)
1115
    ac_prev=build_alias ;;
1116
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1117
    build_alias=$ac_optarg ;;
1118
1119
  -cache-file | --cache-file | --cache-fil | --cache-fi \
1120
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1121
    ac_prev=cache_file ;;
1122
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1123
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1124
    cache_file=$ac_optarg ;;
1125
1126
  --config-cache | -C)
1127
    cache_file=config.cache ;;
1128
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
1129
  -datadir | --datadir | --datadi | --datad)
1 by Brandon Hale
Import upstream version 0.2.0
1130
    ac_prev=datadir ;;
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
1131
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
1 by Brandon Hale
Import upstream version 0.2.0
1132
    datadir=$ac_optarg ;;
1133
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
1134
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1135
  | --dataroo | --dataro | --datar)
1136
    ac_prev=datarootdir ;;
1137
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1138
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1139
    datarootdir=$ac_optarg ;;
1140
1 by Brandon Hale
Import upstream version 0.2.0
1141
  -disable-* | --disable-*)
1.1.49 by Jo Shields
Import upstream version 0.15.0
1142
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1 by Brandon Hale
Import upstream version 0.2.0
1143
    # Reject names that are not valid shell variable names.
1.1.49 by Jo Shields
Import upstream version 0.15.0
1144
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1.3.14 by Ken VanDine
Import upstream version 1.2.2
1145
      as_fn_error "invalid feature name: $ac_useropt"
1.1.49 by Jo Shields
Import upstream version 0.15.0
1146
    ac_useropt_orig=$ac_useropt
1147
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1148
    case $ac_user_opts in
1149
      *"
1150
"enable_$ac_useropt"
1151
"*) ;;
1152
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1153
	 ac_unrecognized_sep=', ';;
1154
    esac
1155
    eval enable_$ac_useropt=no ;;
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
1156
1157
  -docdir | --docdir | --docdi | --doc | --do)
1158
    ac_prev=docdir ;;
1159
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1160
    docdir=$ac_optarg ;;
1161
1162
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1163
    ac_prev=dvidir ;;
1164
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1165
    dvidir=$ac_optarg ;;
1 by Brandon Hale
Import upstream version 0.2.0
1166
1167
  -enable-* | --enable-*)
1.1.49 by Jo Shields
Import upstream version 0.15.0
1168
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1 by Brandon Hale
Import upstream version 0.2.0
1169
    # Reject names that are not valid shell variable names.
1.1.49 by Jo Shields
Import upstream version 0.15.0
1170
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1.3.14 by Ken VanDine
Import upstream version 1.2.2
1171
      as_fn_error "invalid feature name: $ac_useropt"
1.1.49 by Jo Shields
Import upstream version 0.15.0
1172
    ac_useropt_orig=$ac_useropt
1173
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1174
    case $ac_user_opts in
1175
      *"
1176
"enable_$ac_useropt"
1177
"*) ;;
1178
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1179
	 ac_unrecognized_sep=', ';;
1180
    esac
1181
    eval enable_$ac_useropt=\$ac_optarg ;;
1 by Brandon Hale
Import upstream version 0.2.0
1182
1183
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1184
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1185
  | --exec | --exe | --ex)
1186
    ac_prev=exec_prefix ;;
1187
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1188
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1189
  | --exec=* | --exe=* | --ex=*)
1190
    exec_prefix=$ac_optarg ;;
1191
1192
  -gas | --gas | --ga | --g)
1193
    # Obsolete; use --with-gas.
1194
    with_gas=yes ;;
1195
1196
  -help | --help | --hel | --he | -h)
1197
    ac_init_help=long ;;
1198
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1199
    ac_init_help=recursive ;;
1200
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1201
    ac_init_help=short ;;
1202
1203
  -host | --host | --hos | --ho)
1204
    ac_prev=host_alias ;;
1205
  -host=* | --host=* | --hos=* | --ho=*)
1206
    host_alias=$ac_optarg ;;
1207
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
1208
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1209
    ac_prev=htmldir ;;
1210
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1211
  | --ht=*)
1212
    htmldir=$ac_optarg ;;
1213
1 by Brandon Hale
Import upstream version 0.2.0
1214
  -includedir | --includedir | --includedi | --included | --include \
1215
  | --includ | --inclu | --incl | --inc)
1216
    ac_prev=includedir ;;
1217
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1218
  | --includ=* | --inclu=* | --incl=* | --inc=*)
1219
    includedir=$ac_optarg ;;
1220
1221
  -infodir | --infodir | --infodi | --infod | --info | --inf)
1222
    ac_prev=infodir ;;
1223
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1224
    infodir=$ac_optarg ;;
1225
1226
  -libdir | --libdir | --libdi | --libd)
1227
    ac_prev=libdir ;;
1228
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1229
    libdir=$ac_optarg ;;
1230
1231
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1232
  | --libexe | --libex | --libe)
1233
    ac_prev=libexecdir ;;
1234
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1235
  | --libexe=* | --libex=* | --libe=*)
1236
    libexecdir=$ac_optarg ;;
1237
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
1238
  -localedir | --localedir | --localedi | --localed | --locale)
1239
    ac_prev=localedir ;;
1240
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1241
    localedir=$ac_optarg ;;
1242
1 by Brandon Hale
Import upstream version 0.2.0
1243
  -localstatedir | --localstatedir | --localstatedi | --localstated \
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
1244
  | --localstate | --localstat | --localsta | --localst | --locals)
1 by Brandon Hale
Import upstream version 0.2.0
1245
    ac_prev=localstatedir ;;
1246
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
1247
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1 by Brandon Hale
Import upstream version 0.2.0
1248
    localstatedir=$ac_optarg ;;
1249
1250
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1251
    ac_prev=mandir ;;
1252
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1253
    mandir=$ac_optarg ;;
1254
1255
  -nfp | --nfp | --nf)
1256
    # Obsolete; use --without-fp.
1257
    with_fp=no ;;
1258
1259
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1260
  | --no-cr | --no-c | -n)
1261
    no_create=yes ;;
1262
1263
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1264
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1265
    no_recursion=yes ;;
1266
1267
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1268
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1269
  | --oldin | --oldi | --old | --ol | --o)
1270
    ac_prev=oldincludedir ;;
1271
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1272
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1273
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1274
    oldincludedir=$ac_optarg ;;
1275
1276
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1277
    ac_prev=prefix ;;
1278
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1279
    prefix=$ac_optarg ;;
1280
1281
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1282
  | --program-pre | --program-pr | --program-p)
1283
    ac_prev=program_prefix ;;
1284
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1285
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1286
    program_prefix=$ac_optarg ;;
1287
1288
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1289
  | --program-suf | --program-su | --program-s)
1290
    ac_prev=program_suffix ;;
1291
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1292
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1293
    program_suffix=$ac_optarg ;;
1294
1295
  -program-transform-name | --program-transform-name \
1296
  | --program-transform-nam | --program-transform-na \
1297
  | --program-transform-n | --program-transform- \
1298
  | --program-transform | --program-transfor \
1299
  | --program-transfo | --program-transf \
1300
  | --program-trans | --program-tran \
1301
  | --progr-tra | --program-tr | --program-t)
1302
    ac_prev=program_transform_name ;;
1303
  -program-transform-name=* | --program-transform-name=* \
1304
  | --program-transform-nam=* | --program-transform-na=* \
1305
  | --program-transform-n=* | --program-transform-=* \
1306
  | --program-transform=* | --program-transfor=* \
1307
  | --program-transfo=* | --program-transf=* \
1308
  | --program-trans=* | --program-tran=* \
1309
  | --progr-tra=* | --program-tr=* | --program-t=*)
1310
    program_transform_name=$ac_optarg ;;
1311
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
1312
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1313
    ac_prev=pdfdir ;;
1314
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1315
    pdfdir=$ac_optarg ;;
1316
1317
  -psdir | --psdir | --psdi | --psd | --ps)
1318
    ac_prev=psdir ;;
1319
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1320
    psdir=$ac_optarg ;;
1321
1 by Brandon Hale
Import upstream version 0.2.0
1322
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1323
  | -silent | --silent | --silen | --sile | --sil)
1324
    silent=yes ;;
1325
1326
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1327
    ac_prev=sbindir ;;
1328
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1329
  | --sbi=* | --sb=*)
1330
    sbindir=$ac_optarg ;;
1331
1332
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1333
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1334
  | --sharedst | --shareds | --shared | --share | --shar \
1335
  | --sha | --sh)
1336
    ac_prev=sharedstatedir ;;
1337
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1338
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1339
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1340
  | --sha=* | --sh=*)
1341
    sharedstatedir=$ac_optarg ;;
1342
1343
  -site | --site | --sit)
1344
    ac_prev=site ;;
1345
  -site=* | --site=* | --sit=*)
1346
    site=$ac_optarg ;;
1347
1348
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1349
    ac_prev=srcdir ;;
1350
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1351
    srcdir=$ac_optarg ;;
1352
1353
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1354
  | --syscon | --sysco | --sysc | --sys | --sy)
1355
    ac_prev=sysconfdir ;;
1356
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1357
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1358
    sysconfdir=$ac_optarg ;;
1359
1360
  -target | --target | --targe | --targ | --tar | --ta | --t)
1361
    ac_prev=target_alias ;;
1362
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1363
    target_alias=$ac_optarg ;;
1364
1365
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1366
    verbose=yes ;;
1367
1368
  -version | --version | --versio | --versi | --vers | -V)
1369
    ac_init_version=: ;;
1370
1371
  -with-* | --with-*)
1.1.49 by Jo Shields
Import upstream version 0.15.0
1372
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1 by Brandon Hale
Import upstream version 0.2.0
1373
    # Reject names that are not valid shell variable names.
1.1.49 by Jo Shields
Import upstream version 0.15.0
1374
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1.3.14 by Ken VanDine
Import upstream version 1.2.2
1375
      as_fn_error "invalid package name: $ac_useropt"
1.1.49 by Jo Shields
Import upstream version 0.15.0
1376
    ac_useropt_orig=$ac_useropt
1377
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1378
    case $ac_user_opts in
1379
      *"
1380
"with_$ac_useropt"
1381
"*) ;;
1382
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1383
	 ac_unrecognized_sep=', ';;
1384
    esac
1385
    eval with_$ac_useropt=\$ac_optarg ;;
1 by Brandon Hale
Import upstream version 0.2.0
1386
1387
  -without-* | --without-*)
1.1.49 by Jo Shields
Import upstream version 0.15.0
1388
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1 by Brandon Hale
Import upstream version 0.2.0
1389
    # Reject names that are not valid shell variable names.
1.1.49 by Jo Shields
Import upstream version 0.15.0
1390
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1.3.14 by Ken VanDine
Import upstream version 1.2.2
1391
      as_fn_error "invalid package name: $ac_useropt"
1.1.49 by Jo Shields
Import upstream version 0.15.0
1392
    ac_useropt_orig=$ac_useropt
1393
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1394
    case $ac_user_opts in
1395
      *"
1396
"with_$ac_useropt"
1397
"*) ;;
1398
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1399
	 ac_unrecognized_sep=', ';;
1400
    esac
1401
    eval with_$ac_useropt=no ;;
1 by Brandon Hale
Import upstream version 0.2.0
1402
1403
  --x)
1404
    # Obsolete; use --with-x.
1405
    with_x=yes ;;
1406
1407
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1408
  | --x-incl | --x-inc | --x-in | --x-i)
1409
    ac_prev=x_includes ;;
1410
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1411
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1412
    x_includes=$ac_optarg ;;
1413
1414
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1415
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1416
    ac_prev=x_libraries ;;
1417
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1418
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1419
    x_libraries=$ac_optarg ;;
1420
1.3.14 by Ken VanDine
Import upstream version 1.2.2
1421
  -*) as_fn_error "unrecognized option: \`$ac_option'
1422
Try \`$0 --help' for more information."
1 by Brandon Hale
Import upstream version 0.2.0
1423
    ;;
1424
1425
  *=*)
1426
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1427
    # Reject names that are not valid shell variable names.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
1428
    case $ac_envvar in #(
1429
      '' | [0-9]* | *[!_$as_cr_alnum]* )
1430
      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1431
    esac
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
1432
    eval $ac_envvar=\$ac_optarg
1 by Brandon Hale
Import upstream version 0.2.0
1433
    export $ac_envvar ;;
1434
1435
  *)
1436
    # FIXME: should be removed in autoconf 3.0.
1.1.49 by Jo Shields
Import upstream version 0.15.0
1437
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1 by Brandon Hale
Import upstream version 0.2.0
1438
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1.1.49 by Jo Shields
Import upstream version 0.15.0
1439
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1 by Brandon Hale
Import upstream version 0.2.0
1440
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1441
    ;;
1442
1443
  esac
1444
done
1445
1446
if test -n "$ac_prev"; then
1447
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1.3.14 by Ken VanDine
Import upstream version 1.2.2
1448
  as_fn_error "missing argument to $ac_option"
1 by Brandon Hale
Import upstream version 0.2.0
1449
fi
1450
1.1.49 by Jo Shields
Import upstream version 0.15.0
1451
if test -n "$ac_unrecognized_opts"; then
1452
  case $enable_option_checking in
1453
    no) ;;
1.3.14 by Ken VanDine
Import upstream version 1.2.2
1454
    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1.1.49 by Jo Shields
Import upstream version 0.15.0
1455
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1456
  esac
1457
fi
1458
1459
# Check all directory arguments for consistency.
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
1460
for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1461
		datadir sysconfdir sharedstatedir localstatedir includedir \
1462
		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1463
		libdir localedir mandir
1464
do
1465
  eval ac_val=\$$ac_var
1.1.49 by Jo Shields
Import upstream version 0.15.0
1466
  # Remove trailing slashes.
1467
  case $ac_val in
1468
    */ )
1469
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1470
      eval $ac_var=\$ac_val;;
1471
  esac
1472
  # Be sure to have absolute directory names.
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
1473
  case $ac_val in
1474
    [\\/$]* | ?:[\\/]* )  continue;;
1475
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1476
  esac
1.3.14 by Ken VanDine
Import upstream version 1.2.2
1477
  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1 by Brandon Hale
Import upstream version 0.2.0
1478
done
1479
1480
# There might be people who depend on the old broken behavior: `$host'
1481
# used to hold the argument of --host etc.
1482
# FIXME: To remove some day.
1483
build=$build_alias
1484
host=$host_alias
1485
target=$target_alias
1486
1487
# FIXME: To remove some day.
1488
if test "x$host_alias" != x; then
1489
  if test "x$build_alias" = x; then
1490
    cross_compiling=maybe
1.1.49 by Jo Shields
Import upstream version 0.15.0
1491
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1 by Brandon Hale
Import upstream version 0.2.0
1492
    If a cross compiler is detected then cross compile mode will be used." >&2
1493
  elif test "x$build_alias" != "x$host_alias"; then
1494
    cross_compiling=yes
1495
  fi
1496
fi
1497
1498
ac_tool_prefix=
1499
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1500
1501
test "$silent" = yes && exec 6>/dev/null
1502
1503
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
1504
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1505
ac_ls_di=`ls -di .` &&
1506
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1.3.14 by Ken VanDine
Import upstream version 1.2.2
1507
  as_fn_error "working directory cannot be determined"
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
1508
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1.3.14 by Ken VanDine
Import upstream version 1.2.2
1509
  as_fn_error "pwd does not report name of working directory"
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
1510
1511
1 by Brandon Hale
Import upstream version 0.2.0
1512
# Find the source files, if location was not specified.
1513
if test -z "$srcdir"; then
1514
  ac_srcdir_defaulted=yes
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
1515
  # Try the directory containing this script, then the parent directory.
1.1.49 by Jo Shields
Import upstream version 0.15.0
1516
  ac_confdir=`$as_dirname -- "$as_myself" ||
1517
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1518
	 X"$as_myself" : 'X\(//\)[^/]' \| \
1519
	 X"$as_myself" : 'X\(//\)$' \| \
1520
	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1521
$as_echo X"$as_myself" |
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
1522
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1523
	    s//\1/
1524
	    q
1525
	  }
1526
	  /^X\(\/\/\)[^/].*/{
1527
	    s//\1/
1528
	    q
1529
	  }
1530
	  /^X\(\/\/\)$/{
1531
	    s//\1/
1532
	    q
1533
	  }
1534
	  /^X\(\/\).*/{
1535
	    s//\1/
1536
	    q
1537
	  }
1538
	  s/.*/./; q'`
1 by Brandon Hale
Import upstream version 0.2.0
1539
  srcdir=$ac_confdir
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
1540
  if test ! -r "$srcdir/$ac_unique_file"; then
1 by Brandon Hale
Import upstream version 0.2.0
1541
    srcdir=..
1542
  fi
1543
else
1544
  ac_srcdir_defaulted=no
1545
fi
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
1546
if test ! -r "$srcdir/$ac_unique_file"; then
1547
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1.3.14 by Ken VanDine
Import upstream version 1.2.2
1548
  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
1549
fi
1550
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1551
ac_abs_confdir=`(
1.3.14 by Ken VanDine
Import upstream version 1.2.2
1552
	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
1553
	pwd)`
1554
# When building in place, set srcdir=.
1555
if test "$ac_abs_confdir" = "$ac_pwd"; then
1556
  srcdir=.
1557
fi
1558
# Remove unnecessary trailing slashes from srcdir.
1559
# Double slashes in file names in object file debugging info
1560
# mess up M-x gdb in Emacs.
1561
case $srcdir in
1562
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1563
esac
1564
for ac_var in $ac_precious_vars; do
1565
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1566
  eval ac_env_${ac_var}_value=\$${ac_var}
1567
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1568
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1569
done
1 by Brandon Hale
Import upstream version 0.2.0
1570
1571
#
1572
# Report the --help message.
1573
#
1574
if test "$ac_init_help" = "long"; then
1575
  # Omit some internal or obsolete options to make the list less imposing.
1576
  # This message is too long to be a string in the A/UX 3.1 sh.
1577
  cat <<_ACEOF
1.3.14 by Ken VanDine
Import upstream version 1.2.2
1578
\`configure' configures tomboy 1.2.2 to adapt to many kinds of systems.
1 by Brandon Hale
Import upstream version 0.2.0
1579
1580
Usage: $0 [OPTION]... [VAR=VALUE]...
1581
1582
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1583
VAR=VALUE.  See below for descriptions of some of the useful variables.
1584
1585
Defaults for the options are specified in brackets.
1586
1587
Configuration:
1588
  -h, --help              display this help and exit
1589
      --help=short        display options specific to this package
1590
      --help=recursive    display the short help of all the included packages
1591
  -V, --version           display version information and exit
1592
  -q, --quiet, --silent   do not print \`checking...' messages
1593
      --cache-file=FILE   cache test results in FILE [disabled]
1594
  -C, --config-cache      alias for \`--cache-file=config.cache'
1595
  -n, --no-create         do not create output files
1596
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1597
1598
Installation directories:
1599
  --prefix=PREFIX         install architecture-independent files in PREFIX
1.1.49 by Jo Shields
Import upstream version 0.15.0
1600
                          [$ac_default_prefix]
1 by Brandon Hale
Import upstream version 0.2.0
1601
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1.1.49 by Jo Shields
Import upstream version 0.15.0
1602
                          [PREFIX]
1 by Brandon Hale
Import upstream version 0.2.0
1603
1604
By default, \`make install' will install all the files in
1605
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1606
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1607
for instance \`--prefix=\$HOME'.
1608
1609
For better control, use the options below.
1610
1611
Fine tuning of the installation directories:
1.1.49 by Jo Shields
Import upstream version 0.15.0
1612
  --bindir=DIR            user executables [EPREFIX/bin]
1613
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1614
  --libexecdir=DIR        program executables [EPREFIX/libexec]
1615
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1616
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1617
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1618
  --libdir=DIR            object code libraries [EPREFIX/lib]
1619
  --includedir=DIR        C header files [PREFIX/include]
1620
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1621
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1622
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1623
  --infodir=DIR           info documentation [DATAROOTDIR/info]
1624
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1625
  --mandir=DIR            man documentation [DATAROOTDIR/man]
1626
  --docdir=DIR            documentation root [DATAROOTDIR/doc/tomboy]
1627
  --htmldir=DIR           html documentation [DOCDIR]
1628
  --dvidir=DIR            dvi documentation [DOCDIR]
1629
  --pdfdir=DIR            pdf documentation [DOCDIR]
1630
  --psdir=DIR             ps documentation [DOCDIR]
1 by Brandon Hale
Import upstream version 0.2.0
1631
_ACEOF
1632
1633
  cat <<\_ACEOF
1634
1635
Program names:
1636
  --program-prefix=PREFIX            prepend PREFIX to installed program names
1637
  --program-suffix=SUFFIX            append SUFFIX to installed program names
1638
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1639
1.1.35 by Sebastian Dröge
Import upstream version 0.9.8
1640
X features:
1641
  --x-includes=DIR    X include files are in DIR
1642
  --x-libraries=DIR   X library files are in DIR
1643
1 by Brandon Hale
Import upstream version 0.2.0
1644
System types:
1645
  --build=BUILD     configure for building on BUILD [guessed]
1646
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1647
_ACEOF
1648
fi
1649
1650
if test -n "$ac_init_help"; then
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
1651
  case $ac_init_help in
1.3.14 by Ken VanDine
Import upstream version 1.2.2
1652
     short | recursive ) echo "Configuration of tomboy 1.2.2:";;
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
1653
   esac
1 by Brandon Hale
Import upstream version 0.2.0
1654
  cat <<\_ACEOF
1655
1656
Optional Features:
1.1.49 by Jo Shields
Import upstream version 0.15.0
1657
  --disable-option-checking  ignore unrecognized --enable/--with options
1 by Brandon Hale
Import upstream version 0.2.0
1658
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1659
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1660
  --enable-maintainer-mode  enable make rules and dependencies not useful
1661
			  (and sometimes confusing) to the casual installer
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
1662
  --disable-scrollkeeper  do not make updates to the scrollkeeper database
1.1.49 by Jo Shields
Import upstream version 0.15.0
1663
  --disable-nls           do not use Native Language Support
1 by Brandon Hale
Import upstream version 0.2.0
1664
  --disable-dependency-tracking  speeds up one-time build
1665
  --enable-dependency-tracking   do not reject slow dependency extractors
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
1666
  --enable-static[=PKGS]  build static libraries [default=no]
1667
  --enable-shared[=PKGS]  build shared libraries [default=yes]
1 by Brandon Hale
Import upstream version 0.2.0
1668
  --enable-fast-install[=PKGS]
1669
                          optimize for fast installation [default=yes]
1670
  --disable-libtool-lock  avoid locking (might break parallel builds)
1.3.7 by Sebastien Bacher
Import upstream version 1.1.0
1671
  --disable-schemas-install
1672
                          Disable the schemas installation
1.1.10 by Sebastian Dröge
Import upstream version 0.5.3
1673
  --enable-panelapplet-srvdir-check[=no/yes]    query for panel applet server dir [default: yes]
1.3.12 by Sebastien Bacher
Import upstream version 1.2.0
1674
  --disable-update-mimedb disable the update-mime-database after install
1.3.14 by Ken VanDine
Import upstream version 1.2.2
1675
                          [default=no]
1.1.44 by Pedro Fragoso
Import upstream version 0.13.1
1676
  --enable-windows[=no/yes]    compile with Windows support [default: no]
1677
  --enable-osx[=no/yes]    compile with Mac OS X support [default: no]
1678
  --enable-gnome[=no/yes]    compile with GNOME support [default: yes]
1.1.3 by Sebastian Dröge
Import upstream version 0.3.5
1679
  --enable-dbus[=no/yes]    compile with dbus support [default: yes]
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
1680
  --enable-evolution[=no/yes]  compile evolution addin [default: yes]
1.1.44 by Pedro Fragoso
Import upstream version 0.13.1
1681
  --enable-sketching[=no/yes]  compile sketching addin [default: no]
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
1682
  --enable-galago[=no/yes]  compile galago addin [default: yes]
1 by Brandon Hale
Import upstream version 0.2.0
1683
1684
Optional Packages:
1685
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1686
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
1687
  --with-help-dir=DIR     path to help docs
1688
  --with-omf-dir=DIR      path to OMF files
1689
  --with-help-formats=FORMATS
1690
                          list of formats
1 by Brandon Hale
Import upstream version 0.2.0
1691
  --with-pic              try to use only PIC/non-PIC objects [default=use
1692
                          both]
1.1.49 by Jo Shields
Import upstream version 0.15.0
1693
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1694
  --with-gconf-source=sourceaddress
1695
                          Config database for installing schema files.
1696
  --with-gconf-schema-file-dir=dir
1697
                          Directory for installing schema files.
1.1.19 by Sebastian Dröge
Import upstream version 0.7.0
1698
  --with-dbus-service-dir=DIR            Where to install Tomboy's DBus service file.
1.1.35 by Sebastian Dröge
Import upstream version 0.9.8
1699
  --with-x                use the X Window System
1 by Brandon Hale
Import upstream version 0.2.0
1700
1701
Some influential environment variables:
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
1702
  PKG_CONFIG  path to pkg-config utility
1 by Brandon Hale
Import upstream version 0.2.0
1703
  CC          C compiler command
1704
  CFLAGS      C compiler flags
1705
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1706
              nonstandard directory <lib dir>
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
1707
  LIBS        libraries to pass to the linker, e.g. -l<library>
1.3.14 by Ken VanDine
Import upstream version 1.2.2
1708
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
1709
              you have headers in a nonstandard directory <include dir>
1 by Brandon Hale
Import upstream version 0.2.0
1710
  CPP         C preprocessor
1.2.4 by Iain Lane
Import upstream version 0.15.2
1711
  MONO_CFLAGS C compiler flags for MONO, overriding pkg-config
1712
  MONO_LIBS   linker flags for MONO, overriding pkg-config
1.1.3 by Sebastian Dröge
Import upstream version 0.3.5
1713
  LIBTOMBOY_CFLAGS
1714
              C compiler flags for LIBTOMBOY, overriding pkg-config
1715
  LIBTOMBOY_LIBS
1716
              linker flags for LIBTOMBOY, overriding pkg-config
1717
  GTKSPELL_CFLAGS
1718
              C compiler flags for GTKSPELL, overriding pkg-config
1719
  GTKSPELL_LIBS
1720
              linker flags for GTKSPELL, overriding pkg-config
1.1.14 by Sebastian Dröge
Import upstream version 0.5.8
1721
  DBUS_CFLAGS C compiler flags for DBUS, overriding pkg-config
1722
  DBUS_LIBS   linker flags for DBUS, overriding pkg-config
1.1.30 by Sebastian Dröge
Import upstream version 0.9.1
1723
  MONO_ADDINS_CFLAGS
1724
              C compiler flags for MONO_ADDINS, overriding pkg-config
1725
  MONO_ADDINS_LIBS
1726
              linker flags for MONO_ADDINS, overriding pkg-config
1.1.44 by Pedro Fragoso
Import upstream version 0.13.1
1727
  GNOME_CFLAGS
1728
              C compiler flags for GNOME, overriding pkg-config
1729
  GNOME_LIBS  linker flags for GNOME, overriding pkg-config
1730
  GTKSHARP_CFLAGS
1731
              C compiler flags for GTKSHARP, overriding pkg-config
1732
  GTKSHARP_LIBS
1733
              linker flags for GTKSHARP, overriding pkg-config
1.1.3 by Sebastian Dröge
Import upstream version 0.3.5
1734
  EVOLUTION_CFLAGS
1735
              C compiler flags for EVOLUTION, overriding pkg-config
1736
  EVOLUTION_LIBS
1737
              linker flags for EVOLUTION, overriding pkg-config
1738
  GALAGO_CFLAGS
1739
              C compiler flags for GALAGO, overriding pkg-config
1740
  GALAGO_LIBS linker flags for GALAGO, overriding pkg-config
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
1741
  NUNIT_CFLAGS
1742
              C compiler flags for NUNIT, overriding pkg-config
1743
  NUNIT_LIBS  linker flags for NUNIT, overriding pkg-config
1.1.35 by Sebastian Dröge
Import upstream version 0.9.8
1744
  XMKMF       Path to xmkmf, Makefile generator for X Window System
1 by Brandon Hale
Import upstream version 0.2.0
1745
1746
Use these variables to override the choices made by `configure' or to help
1747
it to find libraries and programs with nonstandard names/locations.
1748
1.3.14 by Ken VanDine
Import upstream version 1.2.2
1749
Report bugs to the package provider.
1 by Brandon Hale
Import upstream version 0.2.0
1750
_ACEOF
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
1751
ac_status=$?
1 by Brandon Hale
Import upstream version 0.2.0
1752
fi
1753
1754
if test "$ac_init_help" = "recursive"; then
1755
  # If there are subdirs, report their specific --help.
1756
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1.1.49 by Jo Shields
Import upstream version 0.15.0
1757
    test -d "$ac_dir" ||
1758
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1759
      continue
1 by Brandon Hale
Import upstream version 0.2.0
1760
    ac_builddir=.
1761
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
1762
case "$ac_dir" in
1763
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1764
*)
1.1.49 by Jo Shields
Import upstream version 0.15.0
1765
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
1766
  # A ".." for each directory in $ac_dir_suffix.
1.1.49 by Jo Shields
Import upstream version 0.15.0
1767
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
1768
  case $ac_top_builddir_sub in
1769
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1770
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1771
  esac ;;
1772
esac
1773
ac_abs_top_builddir=$ac_pwd
1774
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1775
# for backward compatibility:
1776
ac_top_builddir=$ac_top_build_prefix
1 by Brandon Hale
Import upstream version 0.2.0
1777
1778
case $srcdir in
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
1779
  .)  # We are building in place.
1 by Brandon Hale
Import upstream version 0.2.0
1780
    ac_srcdir=.
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
1781
    ac_top_srcdir=$ac_top_builddir_sub
1782
    ac_abs_top_srcdir=$ac_pwd ;;
1783
  [\\/]* | ?:[\\/]* )  # Absolute name.
1 by Brandon Hale
Import upstream version 0.2.0
1784
    ac_srcdir=$srcdir$ac_dir_suffix;
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
1785
    ac_top_srcdir=$srcdir
1786
    ac_abs_top_srcdir=$srcdir ;;
1787
  *) # Relative name.
1788
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1789
    ac_top_srcdir=$ac_top_build_prefix$srcdir
1790
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1791
esac
1792
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1793
1794
    cd "$ac_dir" || { ac_status=$?; continue; }
1795
    # Check for guested configure.
1796
    if test -f "$ac_srcdir/configure.gnu"; then
1797
      echo &&
1798
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1799
    elif test -f "$ac_srcdir/configure"; then
1800
      echo &&
1801
      $SHELL "$ac_srcdir/configure" --help=recursive
1 by Brandon Hale
Import upstream version 0.2.0
1802
    else
1.1.49 by Jo Shields
Import upstream version 0.15.0
1803
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
1804
    fi || ac_status=$?
1805
    cd "$ac_pwd" || { ac_status=$?; break; }
1 by Brandon Hale
Import upstream version 0.2.0
1806
  done
1807
fi
1808
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
1809
test -n "$ac_init_help" && exit $ac_status
1 by Brandon Hale
Import upstream version 0.2.0
1810
if $ac_init_version; then
1811
  cat <<\_ACEOF
1.3.14 by Ken VanDine
Import upstream version 1.2.2
1812
tomboy configure 1.2.2
1813
generated by GNU Autoconf 2.65
1 by Brandon Hale
Import upstream version 0.2.0
1814
1.3.14 by Ken VanDine
Import upstream version 1.2.2
1815
Copyright (C) 2009 Free Software Foundation, Inc.
1 by Brandon Hale
Import upstream version 0.2.0
1816
This configure script is free software; the Free Software Foundation
1817
gives unlimited permission to copy, distribute and modify it.
1818
_ACEOF
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
1819
  exit
1 by Brandon Hale
Import upstream version 0.2.0
1820
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
1821
1822
## ------------------------ ##
1823
## Autoconf initialization. ##
1824
## ------------------------ ##
1825
1826
# ac_fn_c_try_compile LINENO
1827
# --------------------------
1828
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1829
ac_fn_c_try_compile ()
1830
{
1831
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1832
  rm -f conftest.$ac_objext
1833
  if { { ac_try="$ac_compile"
1834
case "(($ac_try" in
1835
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1836
  *) ac_try_echo=$ac_try;;
1837
esac
1838
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1839
$as_echo "$ac_try_echo"; } >&5
1840
  (eval "$ac_compile") 2>conftest.err
1841
  ac_status=$?
1842
  if test -s conftest.err; then
1843
    grep -v '^ *+' conftest.err >conftest.er1
1844
    cat conftest.er1 >&5
1845
    mv -f conftest.er1 conftest.err
1846
  fi
1847
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1848
  test $ac_status = 0; } && {
1849
	 test -z "$ac_c_werror_flag" ||
1850
	 test ! -s conftest.err
1851
       } && test -s conftest.$ac_objext; then :
1852
  ac_retval=0
1853
else
1854
  $as_echo "$as_me: failed program was:" >&5
1855
sed 's/^/| /' conftest.$ac_ext >&5
1856
1857
	ac_retval=1
1858
fi
1859
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1860
  as_fn_set_status $ac_retval
1861
1862
} # ac_fn_c_try_compile
1863
1864
# ac_fn_c_try_link LINENO
1865
# -----------------------
1866
# Try to link conftest.$ac_ext, and return whether this succeeded.
1867
ac_fn_c_try_link ()
1868
{
1869
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1870
  rm -f conftest.$ac_objext conftest$ac_exeext
1871
  if { { ac_try="$ac_link"
1872
case "(($ac_try" in
1873
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1874
  *) ac_try_echo=$ac_try;;
1875
esac
1876
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1877
$as_echo "$ac_try_echo"; } >&5
1878
  (eval "$ac_link") 2>conftest.err
1879
  ac_status=$?
1880
  if test -s conftest.err; then
1881
    grep -v '^ *+' conftest.err >conftest.er1
1882
    cat conftest.er1 >&5
1883
    mv -f conftest.er1 conftest.err
1884
  fi
1885
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1886
  test $ac_status = 0; } && {
1887
	 test -z "$ac_c_werror_flag" ||
1888
	 test ! -s conftest.err
1889
       } && test -s conftest$ac_exeext && {
1890
	 test "$cross_compiling" = yes ||
1891
	 $as_test_x conftest$ac_exeext
1892
       }; then :
1893
  ac_retval=0
1894
else
1895
  $as_echo "$as_me: failed program was:" >&5
1896
sed 's/^/| /' conftest.$ac_ext >&5
1897
1898
	ac_retval=1
1899
fi
1900
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1901
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1902
  # interfere with the next link command; also delete a directory that is
1903
  # left behind by Apple's compiler.  We do this before executing the actions.
1904
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1905
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1906
  as_fn_set_status $ac_retval
1907
1908
} # ac_fn_c_try_link
1909
1910
# ac_fn_c_check_func LINENO FUNC VAR
1911
# ----------------------------------
1912
# Tests whether FUNC exists, setting the cache variable VAR accordingly
1913
ac_fn_c_check_func ()
1914
{
1915
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1916
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1917
$as_echo_n "checking for $2... " >&6; }
1918
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1919
  $as_echo_n "(cached) " >&6
1920
else
1921
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1922
/* end confdefs.h.  */
1923
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1924
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1925
#define $2 innocuous_$2
1926
1927
/* System header to define __stub macros and hopefully few prototypes,
1928
    which can conflict with char $2 (); below.
1929
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1930
    <limits.h> exists even on freestanding compilers.  */
1931
1932
#ifdef __STDC__
1933
# include <limits.h>
1934
#else
1935
# include <assert.h>
1936
#endif
1937
1938
#undef $2
1939
1940
/* Override any GCC internal prototype to avoid an error.
1941
   Use char because int might match the return type of a GCC
1942
   builtin and then its argument prototype would still apply.  */
1943
#ifdef __cplusplus
1944
extern "C"
1945
#endif
1946
char $2 ();
1947
/* The GNU C library defines this for functions which it implements
1948
    to always fail with ENOSYS.  Some functions are actually named
1949
    something starting with __ and the normal name is an alias.  */
1950
#if defined __stub_$2 || defined __stub___$2
1951
choke me
1952
#endif
1953
1954
int
1955
main ()
1956
{
1957
return $2 ();
1958
  ;
1959
  return 0;
1960
}
1961
_ACEOF
1962
if ac_fn_c_try_link "$LINENO"; then :
1963
  eval "$3=yes"
1964
else
1965
  eval "$3=no"
1966
fi
1967
rm -f core conftest.err conftest.$ac_objext \
1968
    conftest$ac_exeext conftest.$ac_ext
1969
fi
1970
eval ac_res=\$$3
1971
	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1972
$as_echo "$ac_res" >&6; }
1973
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1974
1975
} # ac_fn_c_check_func
1976
1977
# ac_fn_c_try_cpp LINENO
1978
# ----------------------
1979
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1980
ac_fn_c_try_cpp ()
1981
{
1982
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1983
  if { { ac_try="$ac_cpp conftest.$ac_ext"
1984
case "(($ac_try" in
1985
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1986
  *) ac_try_echo=$ac_try;;
1987
esac
1988
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1989
$as_echo "$ac_try_echo"; } >&5
1990
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1991
  ac_status=$?
1992
  if test -s conftest.err; then
1993
    grep -v '^ *+' conftest.err >conftest.er1
1994
    cat conftest.er1 >&5
1995
    mv -f conftest.er1 conftest.err
1996
  fi
1997
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1998
  test $ac_status = 0; } >/dev/null && {
1999
	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2000
	 test ! -s conftest.err
2001
       }; then :
2002
  ac_retval=0
2003
else
2004
  $as_echo "$as_me: failed program was:" >&5
2005
sed 's/^/| /' conftest.$ac_ext >&5
2006
2007
    ac_retval=1
2008
fi
2009
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2010
  as_fn_set_status $ac_retval
2011
2012
} # ac_fn_c_try_cpp
2013
2014
# ac_fn_c_try_run LINENO
2015
# ----------------------
2016
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2017
# that executables *can* be run.
2018
ac_fn_c_try_run ()
2019
{
2020
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2021
  if { { ac_try="$ac_link"
2022
case "(($ac_try" in
2023
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2024
  *) ac_try_echo=$ac_try;;
2025
esac
2026
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2027
$as_echo "$ac_try_echo"; } >&5
2028
  (eval "$ac_link") 2>&5
2029
  ac_status=$?
2030
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2031
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2032
  { { case "(($ac_try" in
2033
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2034
  *) ac_try_echo=$ac_try;;
2035
esac
2036
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2037
$as_echo "$ac_try_echo"; } >&5
2038
  (eval "$ac_try") 2>&5
2039
  ac_status=$?
2040
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2041
  test $ac_status = 0; }; }; then :
2042
  ac_retval=0
2043
else
2044
  $as_echo "$as_me: program exited with status $ac_status" >&5
2045
       $as_echo "$as_me: failed program was:" >&5
2046
sed 's/^/| /' conftest.$ac_ext >&5
2047
2048
       ac_retval=$ac_status
2049
fi
2050
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2051
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2052
  as_fn_set_status $ac_retval
2053
2054
} # ac_fn_c_try_run
2055
2056
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2057
# -------------------------------------------------------
2058
# Tests whether HEADER exists and can be compiled using the include files in
2059
# INCLUDES, setting the cache variable VAR accordingly.
2060
ac_fn_c_check_header_compile ()
2061
{
2062
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2063
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2064
$as_echo_n "checking for $2... " >&6; }
2065
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2066
  $as_echo_n "(cached) " >&6
2067
else
2068
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2069
/* end confdefs.h.  */
2070
$4
2071
#include <$2>
2072
_ACEOF
2073
if ac_fn_c_try_compile "$LINENO"; then :
2074
  eval "$3=yes"
2075
else
2076
  eval "$3=no"
2077
fi
2078
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2079
fi
2080
eval ac_res=\$$3
2081
	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2082
$as_echo "$ac_res" >&6; }
2083
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2084
2085
} # ac_fn_c_check_header_compile
2086
2087
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2088
# -------------------------------------------------------
2089
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
2090
# the include files in INCLUDES and setting the cache variable VAR
2091
# accordingly.
2092
ac_fn_c_check_header_mongrel ()
2093
{
2094
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2095
  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2096
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2097
$as_echo_n "checking for $2... " >&6; }
2098
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2099
  $as_echo_n "(cached) " >&6
2100
fi
2101
eval ac_res=\$$3
2102
	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2103
$as_echo "$ac_res" >&6; }
2104
else
2105
  # Is the header compilable?
2106
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2107
$as_echo_n "checking $2 usability... " >&6; }
2108
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2109
/* end confdefs.h.  */
2110
$4
2111
#include <$2>
2112
_ACEOF
2113
if ac_fn_c_try_compile "$LINENO"; then :
2114
  ac_header_compiler=yes
2115
else
2116
  ac_header_compiler=no
2117
fi
2118
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2119
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2120
$as_echo "$ac_header_compiler" >&6; }
2121
2122
# Is the header present?
2123
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2124
$as_echo_n "checking $2 presence... " >&6; }
2125
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2126
/* end confdefs.h.  */
2127
#include <$2>
2128
_ACEOF
2129
if ac_fn_c_try_cpp "$LINENO"; then :
2130
  ac_header_preproc=yes
2131
else
2132
  ac_header_preproc=no
2133
fi
2134
rm -f conftest.err conftest.$ac_ext
2135
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2136
$as_echo "$ac_header_preproc" >&6; }
2137
2138
# So?  What about this header?
2139
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2140
  yes:no: )
2141
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2142
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2143
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2144
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2145
    ;;
2146
  no:yes:* )
2147
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2148
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2149
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2150
$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2151
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2152
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2153
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2154
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2155
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2156
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2157
    ;;
2158
esac
2159
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2160
$as_echo_n "checking for $2... " >&6; }
2161
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2162
  $as_echo_n "(cached) " >&6
2163
else
2164
  eval "$3=\$ac_header_compiler"
2165
fi
2166
eval ac_res=\$$3
2167
	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2168
$as_echo "$ac_res" >&6; }
2169
fi
2170
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2171
2172
} # ac_fn_c_check_header_mongrel
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
2173
cat >config.log <<_ACEOF
1 by Brandon Hale
Import upstream version 0.2.0
2174
This file contains any messages produced by compilers while
2175
running configure, to aid debugging if configure makes a mistake.
2176
1.3.14 by Ken VanDine
Import upstream version 1.2.2
2177
It was created by tomboy $as_me 1.2.2, which was
2178
generated by GNU Autoconf 2.65.  Invocation command line was
1 by Brandon Hale
Import upstream version 0.2.0
2179
2180
  $ $0 $@
2181
2182
_ACEOF
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
2183
exec 5>>config.log
1 by Brandon Hale
Import upstream version 0.2.0
2184
{
2185
cat <<_ASUNAME
2186
## --------- ##
2187
## Platform. ##
2188
## --------- ##
2189
2190
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2191
uname -m = `(uname -m) 2>/dev/null || echo unknown`
2192
uname -r = `(uname -r) 2>/dev/null || echo unknown`
2193
uname -s = `(uname -s) 2>/dev/null || echo unknown`
2194
uname -v = `(uname -v) 2>/dev/null || echo unknown`
2195
2196
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2197
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2198
2199
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2200
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2201
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
2202
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1 by Brandon Hale
Import upstream version 0.2.0
2203
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2204
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2205
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2206
2207
_ASUNAME
2208
2209
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2210
for as_dir in $PATH
2211
do
2212
  IFS=$as_save_IFS
2213
  test -z "$as_dir" && as_dir=.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
2214
    $as_echo "PATH: $as_dir"
2215
  done
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
2216
IFS=$as_save_IFS
1 by Brandon Hale
Import upstream version 0.2.0
2217
2218
} >&5
2219
2220
cat >&5 <<_ACEOF
2221
2222
2223
## ----------- ##
2224
## Core tests. ##
2225
## ----------- ##
2226
2227
_ACEOF
2228
2229
2230
# Keep a trace of the command line.
2231
# Strip out --no-create and --no-recursion so they do not pile up.
2232
# Strip out --silent because we don't want to record it for future runs.
2233
# Also quote any args containing shell meta-characters.
2234
# Make two passes to allow for proper duplicate-argument suppression.
2235
ac_configure_args=
2236
ac_configure_args0=
2237
ac_configure_args1=
2238
ac_must_keep_next=false
2239
for ac_pass in 1 2
2240
do
2241
  for ac_arg
2242
  do
2243
    case $ac_arg in
2244
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2245
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2246
    | -silent | --silent | --silen | --sile | --sil)
2247
      continue ;;
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
2248
    *\'*)
1.1.49 by Jo Shields
Import upstream version 0.15.0
2249
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1 by Brandon Hale
Import upstream version 0.2.0
2250
    esac
2251
    case $ac_pass in
1.3.14 by Ken VanDine
Import upstream version 1.2.2
2252
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1 by Brandon Hale
Import upstream version 0.2.0
2253
    2)
1.3.14 by Ken VanDine
Import upstream version 1.2.2
2254
      as_fn_append ac_configure_args1 " '$ac_arg'"
1 by Brandon Hale
Import upstream version 0.2.0
2255
      if test $ac_must_keep_next = true; then
2256
	ac_must_keep_next=false # Got value, back to normal.
2257
      else
2258
	case $ac_arg in
2259
	  *=* | --config-cache | -C | -disable-* | --disable-* \
2260
	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2261
	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2262
	  | -with-* | --with-* | -without-* | --without-* | --x)
2263
	    case "$ac_configure_args0 " in
2264
	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2265
	    esac
2266
	    ;;
2267
	  -* ) ac_must_keep_next=true ;;
2268
	esac
2269
      fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
2270
      as_fn_append ac_configure_args " '$ac_arg'"
1 by Brandon Hale
Import upstream version 0.2.0
2271
      ;;
2272
    esac
2273
  done
2274
done
1.3.14 by Ken VanDine
Import upstream version 1.2.2
2275
{ ac_configure_args0=; unset ac_configure_args0;}
2276
{ ac_configure_args1=; unset ac_configure_args1;}
1 by Brandon Hale
Import upstream version 0.2.0
2277
2278
# When interrupted or exit'd, cleanup temporary files, and complete
2279
# config.log.  We remove comments because anyway the quotes in there
2280
# would cause problems or look ugly.
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
2281
# WARNING: Use '\'' to represent an apostrophe within the trap.
2282
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1 by Brandon Hale
Import upstream version 0.2.0
2283
trap 'exit_status=$?
2284
  # Save into config.log some information that might help in debugging.
2285
  {
2286
    echo
2287
2288
    cat <<\_ASBOX
2289
## ---------------- ##
2290
## Cache variables. ##
2291
## ---------------- ##
2292
_ASBOX
2293
    echo
2294
    # The following way of writing the cache mishandles newlines in values,
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
2295
(
2296
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2297
    eval ac_val=\$$ac_var
2298
    case $ac_val in #(
2299
    *${as_nl}*)
2300
      case $ac_var in #(
1.3.14 by Ken VanDine
Import upstream version 1.2.2
2301
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
2302
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
2303
      esac
2304
      case $ac_var in #(
2305
      _ | IFS | as_nl) ;; #(
1.1.49 by Jo Shields
Import upstream version 0.15.0
2306
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1.3.14 by Ken VanDine
Import upstream version 1.2.2
2307
      *) { eval $ac_var=; unset $ac_var;} ;;
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
2308
      esac ;;
2309
    esac
2310
  done
1 by Brandon Hale
Import upstream version 0.2.0
2311
  (set) 2>&1 |
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
2312
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2313
    *${as_nl}ac_space=\ *)
1 by Brandon Hale
Import upstream version 0.2.0
2314
      sed -n \
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
2315
	"s/'\''/'\''\\\\'\'''\''/g;
2316
	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2317
      ;; #(
1 by Brandon Hale
Import upstream version 0.2.0
2318
    *)
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
2319
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1 by Brandon Hale
Import upstream version 0.2.0
2320
      ;;
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
2321
    esac |
2322
    sort
2323
)
1 by Brandon Hale
Import upstream version 0.2.0
2324
    echo
2325
2326
    cat <<\_ASBOX
2327
## ----------------- ##
2328
## Output variables. ##
2329
## ----------------- ##
2330
_ASBOX
2331
    echo
2332
    for ac_var in $ac_subst_vars
2333
    do
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
2334
      eval ac_val=\$$ac_var
2335
      case $ac_val in
1.1.49 by Jo Shields
Import upstream version 0.15.0
2336
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
2337
      esac
1.1.49 by Jo Shields
Import upstream version 0.15.0
2338
      $as_echo "$ac_var='\''$ac_val'\''"
1 by Brandon Hale
Import upstream version 0.2.0
2339
    done | sort
2340
    echo
2341
2342
    if test -n "$ac_subst_files"; then
2343
      cat <<\_ASBOX
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
2344
## ------------------- ##
2345
## File substitutions. ##
2346
## ------------------- ##
1 by Brandon Hale
Import upstream version 0.2.0
2347
_ASBOX
2348
      echo
2349
      for ac_var in $ac_subst_files
2350
      do
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
2351
	eval ac_val=\$$ac_var
2352
	case $ac_val in
1.1.49 by Jo Shields
Import upstream version 0.15.0
2353
	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
2354
	esac
1.1.49 by Jo Shields
Import upstream version 0.15.0
2355
	$as_echo "$ac_var='\''$ac_val'\''"
1 by Brandon Hale
Import upstream version 0.2.0
2356
      done | sort
2357
      echo
2358
    fi
2359
2360
    if test -s confdefs.h; then
2361
      cat <<\_ASBOX
2362
## ----------- ##
2363
## confdefs.h. ##
2364
## ----------- ##
2365
_ASBOX
2366
      echo
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
2367
      cat confdefs.h
1 by Brandon Hale
Import upstream version 0.2.0
2368
      echo
2369
    fi
2370
    test "$ac_signal" != 0 &&
1.1.49 by Jo Shields
Import upstream version 0.15.0
2371
      $as_echo "$as_me: caught signal $ac_signal"
2372
    $as_echo "$as_me: exit $exit_status"
1 by Brandon Hale
Import upstream version 0.2.0
2373
  } >&5
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
2374
  rm -f core *.core core.conftest.* &&
2375
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1 by Brandon Hale
Import upstream version 0.2.0
2376
    exit $exit_status
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
2377
' 0
1 by Brandon Hale
Import upstream version 0.2.0
2378
for ac_signal in 1 2 13 15; do
1.3.14 by Ken VanDine
Import upstream version 1.2.2
2379
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1 by Brandon Hale
Import upstream version 0.2.0
2380
done
2381
ac_signal=0
2382
2383
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
2384
rm -f -r conftest* confdefs.h
1 by Brandon Hale
Import upstream version 0.2.0
2385
1.3.14 by Ken VanDine
Import upstream version 1.2.2
2386
$as_echo "/* confdefs.h */" > confdefs.h
2387
1 by Brandon Hale
Import upstream version 0.2.0
2388
# Predefined preprocessor variables.
2389
2390
cat >>confdefs.h <<_ACEOF
2391
#define PACKAGE_NAME "$PACKAGE_NAME"
2392
_ACEOF
2393
2394
cat >>confdefs.h <<_ACEOF
2395
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2396
_ACEOF
2397
2398
cat >>confdefs.h <<_ACEOF
2399
#define PACKAGE_VERSION "$PACKAGE_VERSION"
2400
_ACEOF
2401
2402
cat >>confdefs.h <<_ACEOF
2403
#define PACKAGE_STRING "$PACKAGE_STRING"
2404
_ACEOF
2405
2406
cat >>confdefs.h <<_ACEOF
2407
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2408
_ACEOF
2409
1.3.14 by Ken VanDine
Import upstream version 1.2.2
2410
cat >>confdefs.h <<_ACEOF
2411
#define PACKAGE_URL "$PACKAGE_URL"
2412
_ACEOF
2413
1 by Brandon Hale
Import upstream version 0.2.0
2414
2415
# Let the site file select an alternate cache file if it wants to.
1.1.49 by Jo Shields
Import upstream version 0.15.0
2416
# Prefer an explicitly selected file to automatically selected ones.
2417
ac_site_file1=NONE
2418
ac_site_file2=NONE
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
2419
if test -n "$CONFIG_SITE"; then
1.1.49 by Jo Shields
Import upstream version 0.15.0
2420
  ac_site_file1=$CONFIG_SITE
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
2421
elif test "x$prefix" != xNONE; then
1.1.49 by Jo Shields
Import upstream version 0.15.0
2422
  ac_site_file1=$prefix/share/config.site
2423
  ac_site_file2=$prefix/etc/config.site
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
2424
else
1.1.49 by Jo Shields
Import upstream version 0.15.0
2425
  ac_site_file1=$ac_default_prefix/share/config.site
2426
  ac_site_file2=$ac_default_prefix/etc/config.site
1 by Brandon Hale
Import upstream version 0.2.0
2427
fi
1.1.49 by Jo Shields
Import upstream version 0.15.0
2428
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
2429
do
1.1.49 by Jo Shields
Import upstream version 0.15.0
2430
  test "x$ac_site_file" = xNONE && continue
1.3.14 by Ken VanDine
Import upstream version 1.2.2
2431
  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2432
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
2433
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1 by Brandon Hale
Import upstream version 0.2.0
2434
    sed 's/^/| /' "$ac_site_file" >&5
2435
    . "$ac_site_file"
2436
  fi
2437
done
2438
2439
if test -r "$cache_file"; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
2440
  # Some versions of bash will fail to source /dev/null (special files
2441
  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2442
  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2443
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
2444
$as_echo "$as_me: loading cache $cache_file" >&6;}
1 by Brandon Hale
Import upstream version 0.2.0
2445
    case $cache_file in
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
2446
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2447
      *)                      . "./$cache_file";;
1 by Brandon Hale
Import upstream version 0.2.0
2448
    esac
2449
  fi
2450
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
2451
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
2452
$as_echo "$as_me: creating cache $cache_file" >&6;}
1 by Brandon Hale
Import upstream version 0.2.0
2453
  >$cache_file
2454
fi
2455
2456
# Check that the precious variables saved in the cache have kept the same
2457
# value.
2458
ac_cache_corrupted=false
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
2459
for ac_var in $ac_precious_vars; do
1 by Brandon Hale
Import upstream version 0.2.0
2460
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2461
  eval ac_new_set=\$ac_env_${ac_var}_set
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
2462
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2463
  eval ac_new_val=\$ac_env_${ac_var}_value
1 by Brandon Hale
Import upstream version 0.2.0
2464
  case $ac_old_set,$ac_new_set in
2465
    set,)
1.3.14 by Ken VanDine
Import upstream version 1.2.2
2466
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
2467
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1 by Brandon Hale
Import upstream version 0.2.0
2468
      ac_cache_corrupted=: ;;
2469
    ,set)
1.3.14 by Ken VanDine
Import upstream version 1.2.2
2470
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
2471
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1 by Brandon Hale
Import upstream version 0.2.0
2472
      ac_cache_corrupted=: ;;
2473
    ,);;
2474
    *)
2475
      if test "x$ac_old_val" != "x$ac_new_val"; then
1.1.49 by Jo Shields
Import upstream version 0.15.0
2476
	# differences in whitespace do not lead to failure.
2477
	ac_old_val_w=`echo x $ac_old_val`
2478
	ac_new_val_w=`echo x $ac_new_val`
2479
	if test "$ac_old_val_w" != "$ac_new_val_w"; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
2480
	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
2481
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2482
	  ac_cache_corrupted=:
2483
	else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
2484
	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
2485
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2486
	  eval $ac_var=\$ac_old_val
2487
	fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
2488
	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
2489
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1.3.14 by Ken VanDine
Import upstream version 1.2.2
2490
	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
2491
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1 by Brandon Hale
Import upstream version 0.2.0
2492
      fi;;
2493
  esac
2494
  # Pass precious variables to config.status.
2495
  if test "$ac_new_set" = set; then
2496
    case $ac_new_val in
1.1.49 by Jo Shields
Import upstream version 0.15.0
2497
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1 by Brandon Hale
Import upstream version 0.2.0
2498
    *) ac_arg=$ac_var=$ac_new_val ;;
2499
    esac
2500
    case " $ac_configure_args " in
2501
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
2502
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1 by Brandon Hale
Import upstream version 0.2.0
2503
    esac
2504
  fi
2505
done
2506
if $ac_cache_corrupted; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
2507
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
2508
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1.3.14 by Ken VanDine
Import upstream version 1.2.2
2509
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
2510
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1.3.14 by Ken VanDine
Import upstream version 1.2.2
2511
  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1 by Brandon Hale
Import upstream version 0.2.0
2512
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
2513
## -------------------- ##
2514
## Main body of script. ##
2515
## -------------------- ##
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
2516
1 by Brandon Hale
Import upstream version 0.2.0
2517
ac_ext=c
2518
ac_cpp='$CPP $CPPFLAGS'
2519
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2520
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2521
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2522
2523
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
2524
1.3.7 by Sebastien Bacher
Import upstream version 1.1.0
2525
am__api_version='1.11'
1.1.30 by Sebastian Dröge
Import upstream version 0.9.1
2526
1 by Brandon Hale
Import upstream version 0.2.0
2527
ac_aux_dir=
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
2528
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1.3.14 by Ken VanDine
Import upstream version 1.2.2
2529
  for ac_t in install-sh install.sh shtool; do
2530
    if test -f "$ac_dir/$ac_t"; then
2531
      ac_aux_dir=$ac_dir
2532
      ac_install_sh="$ac_aux_dir/$ac_t -c"
2533
      break 2
2534
    fi
2535
  done
1 by Brandon Hale
Import upstream version 0.2.0
2536
done
2537
if test -z "$ac_aux_dir"; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
2538
  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1 by Brandon Hale
Import upstream version 0.2.0
2539
fi
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
2540
2541
# These three variables are undocumented and unsupported,
2542
# and are intended to be withdrawn in a future Autoconf release.
2543
# They can cause serious problems if a builder's source tree is in a directory
2544
# whose full name contains unusual characters.
2545
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2546
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2547
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2548
1 by Brandon Hale
Import upstream version 0.2.0
2549
2550
# Find a good install program.  We prefer a C program (faster),
2551
# so one script is as good as another.  But avoid the broken or
2552
# incompatible versions:
2553
# SysV /etc/install, /usr/sbin/install
2554
# SunOS /usr/etc/install
2555
# IRIX /sbin/install
2556
# AIX /bin/install
2557
# AmigaOS /C/install, which installs bootblocks on floppy discs
2558
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2559
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2560
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2561
# OS/2's system install, which has a completely different semantic
2562
# ./install, which can be erroneously created by make from ./install.sh.
1.1.49 by Jo Shields
Import upstream version 0.15.0
2563
# Reject install programs that cannot install multiple files.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
2564
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
2565
$as_echo_n "checking for a BSD-compatible install... " >&6; }
1 by Brandon Hale
Import upstream version 0.2.0
2566
if test -z "$INSTALL"; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
2567
if test "${ac_cv_path_install+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
2568
  $as_echo_n "(cached) " >&6
1 by Brandon Hale
Import upstream version 0.2.0
2569
else
2570
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2571
for as_dir in $PATH
2572
do
2573
  IFS=$as_save_IFS
2574
  test -z "$as_dir" && as_dir=.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
2575
    # Account for people who put trailing slashes in PATH elements.
2576
case $as_dir/ in #((
2577
  ./ | .// | /[cC]/* | \
1 by Brandon Hale
Import upstream version 0.2.0
2578
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1.3.14 by Ken VanDine
Import upstream version 1.2.2
2579
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1 by Brandon Hale
Import upstream version 0.2.0
2580
  /usr/ucb/* ) ;;
2581
  *)
2582
    # OSF1 and SCO ODT 3.0 have their own names for install.
2583
    # Don't use installbsd from OSF since it installs stuff as root
2584
    # by default.
2585
    for ac_prog in ginstall scoinst install; do
2586
      for ac_exec_ext in '' $ac_executable_extensions; do
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
2587
	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1 by Brandon Hale
Import upstream version 0.2.0
2588
	  if test $ac_prog = install &&
2589
	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2590
	    # AIX install.  It has an incompatible calling convention.
2591
	    :
2592
	  elif test $ac_prog = install &&
2593
	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2594
	    # program-specific install script used by HP pwplus--don't use.
2595
	    :
2596
	  else
1.1.49 by Jo Shields
Import upstream version 0.15.0
2597
	    rm -rf conftest.one conftest.two conftest.dir
2598
	    echo one > conftest.one
2599
	    echo two > conftest.two
2600
	    mkdir conftest.dir
2601
	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2602
	      test -s conftest.one && test -s conftest.two &&
2603
	      test -s conftest.dir/conftest.one &&
2604
	      test -s conftest.dir/conftest.two
2605
	    then
2606
	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2607
	      break 3
2608
	    fi
1 by Brandon Hale
Import upstream version 0.2.0
2609
	  fi
2610
	fi
2611
      done
2612
    done
2613
    ;;
2614
esac
1.1.49 by Jo Shields
Import upstream version 0.15.0
2615
1.3.14 by Ken VanDine
Import upstream version 1.2.2
2616
  done
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
2617
IFS=$as_save_IFS
1 by Brandon Hale
Import upstream version 0.2.0
2618
1.1.49 by Jo Shields
Import upstream version 0.15.0
2619
rm -rf conftest.one conftest.two conftest.dir
1 by Brandon Hale
Import upstream version 0.2.0
2620
2621
fi
2622
  if test "${ac_cv_path_install+set}" = set; then
2623
    INSTALL=$ac_cv_path_install
2624
  else
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
2625
    # As a last resort, use the slow shell script.  Don't cache a
2626
    # value for INSTALL within a source directory, because that will
1 by Brandon Hale
Import upstream version 0.2.0
2627
    # break other packages using the cache if that directory is
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
2628
    # removed, or if the value is a relative name.
1 by Brandon Hale
Import upstream version 0.2.0
2629
    INSTALL=$ac_install_sh
2630
  fi
2631
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
2632
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
2633
$as_echo "$INSTALL" >&6; }
1 by Brandon Hale
Import upstream version 0.2.0
2634
2635
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2636
# It thinks the first close brace ends the variable substitution.
2637
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2638
2639
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2640
2641
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2642
1.3.14 by Ken VanDine
Import upstream version 1.2.2
2643
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
2644
$as_echo_n "checking whether build environment is sane... " >&6; }
1 by Brandon Hale
Import upstream version 0.2.0
2645
# Just in case
2646
sleep 1
2647
echo timestamp > conftest.file
1.3.7 by Sebastien Bacher
Import upstream version 1.1.0
2648
# Reject unsafe characters in $srcdir or the absolute working directory
2649
# name.  Accept space and tab only in the latter.
2650
am_lf='
2651
'
2652
case `pwd` in
2653
  *[\\\"\#\$\&\'\`$am_lf]*)
1.3.14 by Ken VanDine
Import upstream version 1.2.2
2654
    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
1.3.7 by Sebastien Bacher
Import upstream version 1.1.0
2655
esac
2656
case $srcdir in
2657
  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
1.3.14 by Ken VanDine
Import upstream version 1.2.2
2658
    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
1.3.7 by Sebastien Bacher
Import upstream version 1.1.0
2659
esac
2660
1 by Brandon Hale
Import upstream version 0.2.0
2661
# Do `set' in a subshell so we don't clobber the current shell's
2662
# arguments.  Must try -L first in case configure is actually a
2663
# symlink; some systems play weird games with the mod time of symlinks
2664
# (eg FreeBSD returns the mod time of the symlink's containing
2665
# directory).
2666
if (
1.3.7 by Sebastien Bacher
Import upstream version 1.1.0
2667
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1 by Brandon Hale
Import upstream version 0.2.0
2668
   if test "$*" = "X"; then
2669
      # -L didn't work.
1.3.7 by Sebastien Bacher
Import upstream version 1.1.0
2670
      set X `ls -t "$srcdir/configure" conftest.file`
1 by Brandon Hale
Import upstream version 0.2.0
2671
   fi
2672
   rm -f conftest.file
2673
   if test "$*" != "X $srcdir/configure conftest.file" \
2674
      && test "$*" != "X conftest.file $srcdir/configure"; then
2675
2676
      # If neither matched, then we have a broken ls.  This can happen
2677
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2678
      # broken ls alias from the environment.  This has actually
2679
      # happened.  Such a system could not be considered "sane".
1.3.14 by Ken VanDine
Import upstream version 1.2.2
2680
      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
2681
alias in your environment" "$LINENO" 5
1 by Brandon Hale
Import upstream version 0.2.0
2682
   fi
2683
2684
   test "$2" = conftest.file
2685
   )
2686
then
2687
   # Ok.
2688
   :
2689
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
2690
   as_fn_error "newly created file is older than distributed files!
2691
Check your system clock" "$LINENO" 5
1 by Brandon Hale
Import upstream version 0.2.0
2692
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
2693
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
2694
$as_echo "yes" >&6; }
1 by Brandon Hale
Import upstream version 0.2.0
2695
test "$program_prefix" != NONE &&
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
2696
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
1 by Brandon Hale
Import upstream version 0.2.0
2697
# Use a double $ so make ignores it.
2698
test "$program_suffix" != NONE &&
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
2699
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1.1.49 by Jo Shields
Import upstream version 0.15.0
2700
# Double any \ or $.
1 by Brandon Hale
Import upstream version 0.2.0
2701
# By default was `s,x,x', remove it if useless.
1.1.49 by Jo Shields
Import upstream version 0.15.0
2702
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2703
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
1 by Brandon Hale
Import upstream version 0.2.0
2704
2705
# expand $ac_aux_dir to an absolute path
2706
am_aux_dir=`cd $ac_aux_dir && pwd`
2707
1.3.7 by Sebastien Bacher
Import upstream version 1.1.0
2708
if test x"${MISSING+set}" != xset; then
2709
  case $am_aux_dir in
2710
  *\ * | *\	*)
2711
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2712
  *)
2713
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2714
  esac
2715
fi
1 by Brandon Hale
Import upstream version 0.2.0
2716
# Use eval to expand $SHELL
2717
if eval "$MISSING --run true"; then
2718
  am_missing_run="$MISSING --run "
2719
else
2720
  am_missing_run=
1.3.14 by Ken VanDine
Import upstream version 1.2.2
2721
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
2722
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1 by Brandon Hale
Import upstream version 0.2.0
2723
fi
2724
1.3.7 by Sebastien Bacher
Import upstream version 1.1.0
2725
if test x"${install_sh}" != xset; then
2726
  case $am_aux_dir in
2727
  *\ * | *\	*)
2728
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2729
  *)
2730
    install_sh="\${SHELL} $am_aux_dir/install-sh"
2731
  esac
2732
fi
2733
2734
# Installed binaries are usually stripped using `strip' when the user
2735
# run `make install-strip'.  However `strip' might not be the right
2736
# tool to use in cross-compilation environments, therefore Automake
2737
# will honor the `STRIP' environment variable to overrule this program.
2738
if test "$cross_compiling" != no; then
2739
  if test -n "$ac_tool_prefix"; then
2740
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2741
set dummy ${ac_tool_prefix}strip; ac_word=$2
1.3.14 by Ken VanDine
Import upstream version 1.2.2
2742
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.3.7 by Sebastien Bacher
Import upstream version 1.1.0
2743
$as_echo_n "checking for $ac_word... " >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
2744
if test "${ac_cv_prog_STRIP+set}" = set; then :
1.3.7 by Sebastien Bacher
Import upstream version 1.1.0
2745
  $as_echo_n "(cached) " >&6
2746
else
2747
  if test -n "$STRIP"; then
2748
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2749
else
2750
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2751
for as_dir in $PATH
2752
do
2753
  IFS=$as_save_IFS
2754
  test -z "$as_dir" && as_dir=.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
2755
    for ac_exec_ext in '' $ac_executable_extensions; do
1.3.7 by Sebastien Bacher
Import upstream version 1.1.0
2756
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2757
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1.3.14 by Ken VanDine
Import upstream version 1.2.2
2758
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.3.7 by Sebastien Bacher
Import upstream version 1.1.0
2759
    break 2
2760
  fi
2761
done
1.3.14 by Ken VanDine
Import upstream version 1.2.2
2762
  done
1.3.7 by Sebastien Bacher
Import upstream version 1.1.0
2763
IFS=$as_save_IFS
2764
2765
fi
2766
fi
2767
STRIP=$ac_cv_prog_STRIP
2768
if test -n "$STRIP"; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
2769
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
1.3.7 by Sebastien Bacher
Import upstream version 1.1.0
2770
$as_echo "$STRIP" >&6; }
2771
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
2772
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.3.7 by Sebastien Bacher
Import upstream version 1.1.0
2773
$as_echo "no" >&6; }
2774
fi
2775
2776
2777
fi
2778
if test -z "$ac_cv_prog_STRIP"; then
2779
  ac_ct_STRIP=$STRIP
2780
  # Extract the first word of "strip", so it can be a program name with args.
2781
set dummy strip; ac_word=$2
1.3.14 by Ken VanDine
Import upstream version 1.2.2
2782
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.3.7 by Sebastien Bacher
Import upstream version 1.1.0
2783
$as_echo_n "checking for $ac_word... " >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
2784
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
1.3.7 by Sebastien Bacher
Import upstream version 1.1.0
2785
  $as_echo_n "(cached) " >&6
2786
else
2787
  if test -n "$ac_ct_STRIP"; then
2788
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2789
else
2790
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2791
for as_dir in $PATH
2792
do
2793
  IFS=$as_save_IFS
2794
  test -z "$as_dir" && as_dir=.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
2795
    for ac_exec_ext in '' $ac_executable_extensions; do
1.3.7 by Sebastien Bacher
Import upstream version 1.1.0
2796
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2797
    ac_cv_prog_ac_ct_STRIP="strip"
1.3.14 by Ken VanDine
Import upstream version 1.2.2
2798
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.3.7 by Sebastien Bacher
Import upstream version 1.1.0
2799
    break 2
2800
  fi
2801
done
1.3.14 by Ken VanDine
Import upstream version 1.2.2
2802
  done
1.3.7 by Sebastien Bacher
Import upstream version 1.1.0
2803
IFS=$as_save_IFS
2804
2805
fi
2806
fi
2807
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2808
if test -n "$ac_ct_STRIP"; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
2809
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
1.3.7 by Sebastien Bacher
Import upstream version 1.1.0
2810
$as_echo "$ac_ct_STRIP" >&6; }
2811
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
2812
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.3.7 by Sebastien Bacher
Import upstream version 1.1.0
2813
$as_echo "no" >&6; }
2814
fi
2815
2816
  if test "x$ac_ct_STRIP" = x; then
2817
    STRIP=":"
2818
  else
2819
    case $cross_compiling:$ac_tool_warned in
2820
yes:)
1.3.14 by Ken VanDine
Import upstream version 1.2.2
2821
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1.3.7 by Sebastien Bacher
Import upstream version 1.1.0
2822
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2823
ac_tool_warned=yes ;;
2824
esac
2825
    STRIP=$ac_ct_STRIP
2826
  fi
2827
else
2828
  STRIP="$ac_cv_prog_STRIP"
2829
fi
2830
2831
fi
2832
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2833
1.3.14 by Ken VanDine
Import upstream version 1.2.2
2834
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
2835
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
1.1.30 by Sebastian Dröge
Import upstream version 0.9.1
2836
if test -z "$MKDIR_P"; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
2837
  if test "${ac_cv_path_mkdir+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
2838
  $as_echo_n "(cached) " >&6
1 by Brandon Hale
Import upstream version 0.2.0
2839
else
1.1.30 by Sebastian Dröge
Import upstream version 0.9.1
2840
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2841
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2842
do
2843
  IFS=$as_save_IFS
2844
  test -z "$as_dir" && as_dir=.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
2845
    for ac_prog in mkdir gmkdir; do
1.1.30 by Sebastian Dröge
Import upstream version 0.9.1
2846
	 for ac_exec_ext in '' $ac_executable_extensions; do
2847
	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2848
	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2849
	     'mkdir (GNU coreutils) '* | \
2850
	     'mkdir (coreutils) '* | \
2851
	     'mkdir (fileutils) '4.1*)
2852
	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2853
	       break 3;;
2854
	   esac
2855
	 done
2856
       done
1.3.14 by Ken VanDine
Import upstream version 1.2.2
2857
  done
1.1.30 by Sebastian Dröge
Import upstream version 0.9.1
2858
IFS=$as_save_IFS
2859
2860
fi
2861
1.3.14 by Ken VanDine
Import upstream version 1.2.2
2862
  test -d ./--version && rmdir ./--version
1.1.30 by Sebastian Dröge
Import upstream version 0.9.1
2863
  if test "${ac_cv_path_mkdir+set}" = set; then
2864
    MKDIR_P="$ac_cv_path_mkdir -p"
1 by Brandon Hale
Import upstream version 0.2.0
2865
  else
1.1.30 by Sebastian Dröge
Import upstream version 0.9.1
2866
    # As a last resort, use the slow shell script.  Don't cache a
2867
    # value for MKDIR_P within a source directory, because that will
2868
    # break other packages using the cache if that directory is
2869
    # removed, or if the value is a relative name.
2870
    MKDIR_P="$ac_install_sh -d"
1 by Brandon Hale
Import upstream version 0.2.0
2871
  fi
2872
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
2873
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
2874
$as_echo "$MKDIR_P" >&6; }
1.1.30 by Sebastian Dröge
Import upstream version 0.9.1
2875
2876
mkdir_p="$MKDIR_P"
2877
case $mkdir_p in
2878
  [\\/$]* | ?:[\\/]*) ;;
2879
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2880
esac
1 by Brandon Hale
Import upstream version 0.2.0
2881
2882
for ac_prog in gawk mawk nawk awk
2883
do
2884
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2885
set dummy $ac_prog; ac_word=$2
1.3.14 by Ken VanDine
Import upstream version 1.2.2
2886
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
2887
$as_echo_n "checking for $ac_word... " >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
2888
if test "${ac_cv_prog_AWK+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
2889
  $as_echo_n "(cached) " >&6
1 by Brandon Hale
Import upstream version 0.2.0
2890
else
2891
  if test -n "$AWK"; then
2892
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2893
else
2894
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2895
for as_dir in $PATH
2896
do
2897
  IFS=$as_save_IFS
2898
  test -z "$as_dir" && as_dir=.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
2899
    for ac_exec_ext in '' $ac_executable_extensions; do
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
2900
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1 by Brandon Hale
Import upstream version 0.2.0
2901
    ac_cv_prog_AWK="$ac_prog"
1.3.14 by Ken VanDine
Import upstream version 1.2.2
2902
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1 by Brandon Hale
Import upstream version 0.2.0
2903
    break 2
2904
  fi
2905
done
1.3.14 by Ken VanDine
Import upstream version 1.2.2
2906
  done
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
2907
IFS=$as_save_IFS
1 by Brandon Hale
Import upstream version 0.2.0
2908
2909
fi
2910
fi
2911
AWK=$ac_cv_prog_AWK
2912
if test -n "$AWK"; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
2913
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
2914
$as_echo "$AWK" >&6; }
1 by Brandon Hale
Import upstream version 0.2.0
2915
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
2916
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
2917
$as_echo "no" >&6; }
1 by Brandon Hale
Import upstream version 0.2.0
2918
fi
2919
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
2920
1 by Brandon Hale
Import upstream version 0.2.0
2921
  test -n "$AWK" && break
2922
done
2923
1.3.14 by Ken VanDine
Import upstream version 1.2.2
2924
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
2925
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2926
set x ${MAKE-make}
2927
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1.3.14 by Ken VanDine
Import upstream version 1.2.2
2928
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
2929
  $as_echo_n "(cached) " >&6
1 by Brandon Hale
Import upstream version 0.2.0
2930
else
2931
  cat >conftest.make <<\_ACEOF
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
2932
SHELL = /bin/sh
1 by Brandon Hale
Import upstream version 0.2.0
2933
all:
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
2934
	@echo '@@@%%%=$(MAKE)=@@@%%%'
1 by Brandon Hale
Import upstream version 0.2.0
2935
_ACEOF
2936
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
2937
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2938
  *@@@%%%=?*=@@@%%%*)
2939
    eval ac_cv_prog_make_${ac_make}_set=yes;;
2940
  *)
2941
    eval ac_cv_prog_make_${ac_make}_set=no;;
2942
esac
1 by Brandon Hale
Import upstream version 0.2.0
2943
rm -f conftest.make
2944
fi
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
2945
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
2946
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
2947
$as_echo "yes" >&6; }
1 by Brandon Hale
Import upstream version 0.2.0
2948
  SET_MAKE=
2949
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
2950
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
2951
$as_echo "no" >&6; }
1 by Brandon Hale
Import upstream version 0.2.0
2952
  SET_MAKE="MAKE=${MAKE-make}"
2953
fi
2954
2955
rm -rf .tst 2>/dev/null
2956
mkdir .tst 2>/dev/null
2957
if test -d .tst; then
2958
  am__leading_dot=.
2959
else
2960
  am__leading_dot=_
2961
fi
2962
rmdir .tst 2>/dev/null
2963
1.1.30 by Sebastian Dröge
Import upstream version 0.9.1
2964
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2965
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2966
  # is not polluted with repeated "-I."
2967
  am__isrc=' -I$(srcdir)'
2968
  # test to see if srcdir already configured
2969
  if test -f $srcdir/config.status; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
2970
    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
1.1.30 by Sebastian Dröge
Import upstream version 0.9.1
2971
  fi
1 by Brandon Hale
Import upstream version 0.2.0
2972
fi
2973
2974
# test whether we have cygpath
2975
if test -z "$CYGPATH_W"; then
2976
  if (cygpath --version) >/dev/null 2>/dev/null; then
2977
    CYGPATH_W='cygpath -w'
2978
  else
2979
    CYGPATH_W=echo
2980
  fi
2981
fi
2982
2983
2984
# Define the identity of the package.
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
2985
 PACKAGE='tomboy'
1.3.14 by Ken VanDine
Import upstream version 1.2.2
2986
 VERSION='1.2.2'
1 by Brandon Hale
Import upstream version 0.2.0
2987
2988
2989
cat >>confdefs.h <<_ACEOF
2990
#define PACKAGE "$PACKAGE"
2991
_ACEOF
2992
2993
2994
cat >>confdefs.h <<_ACEOF
2995
#define VERSION "$VERSION"
2996
_ACEOF
2997
2998
# Some tools Automake needs.
2999
3000
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3001
3002
3003
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3004
3005
3006
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3007
3008
3009
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3010
3011
3012
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3013
3014
# We need awk for the "check" target.  The system "awk" is bad on
3015
# some platforms.
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
3016
# Always define AMTAR for backward compatibility.
3017
3018
AMTAR=${AMTAR-"${am_missing_run}tar"}
3019
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
3020
1.3.14 by Ken VanDine
Import upstream version 1.2.2
3021
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a pax tar archive" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
3022
$as_echo_n "checking how to create a pax tar archive... " >&6; }
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
3023
# Loop over all known methods to create a tar archive until one works.
3024
_am_tools='gnutar  pax cpio none'
3025
_am_tools=${am_cv_prog_tar_pax-$_am_tools}
3026
# Do not fold the above two line into one, because Tru64 sh and
3027
# Solaris sh will not grok spaces in the rhs of `-'.
3028
for _am_tool in $_am_tools
3029
do
3030
  case $_am_tool in
3031
  gnutar)
3032
    for _am_tar in tar gnutar gtar;
3033
    do
3034
      { echo "$as_me:$LINENO: $_am_tar --version" >&5
3035
   ($_am_tar --version) >&5 2>&5
3036
   ac_status=$?
3037
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3038
   (exit $ac_status); } && break
3039
    done
3040
    am__tar="$_am_tar --format=posix -chf - "'"$$tardir"'
3041
    am__tar_="$_am_tar --format=posix -chf - "'"$tardir"'
3042
    am__untar="$_am_tar -xf -"
3043
    ;;
3044
  plaintar)
3045
    # Must skip GNU tar: if it does not support --format= it doesn't create
3046
    # ustar tarball either.
3047
    (tar --version) >/dev/null 2>&1 && continue
3048
    am__tar='tar chf - "$$tardir"'
3049
    am__tar_='tar chf - "$tardir"'
3050
    am__untar='tar xf -'
3051
    ;;
3052
  pax)
3053
    am__tar='pax -L -x pax -w "$$tardir"'
3054
    am__tar_='pax -L -x pax -w "$tardir"'
3055
    am__untar='pax -r'
3056
    ;;
3057
  cpio)
3058
    am__tar='find "$$tardir" -print | cpio -o -H pax -L'
3059
    am__tar_='find "$tardir" -print | cpio -o -H pax -L'
3060
    am__untar='cpio -i -H pax -d'
3061
    ;;
3062
  none)
3063
    am__tar=false
3064
    am__tar_=false
3065
    am__untar=false
3066
    ;;
3067
  esac
3068
3069
  # If the value was cached, stop now.  We just wanted to have am__tar
3070
  # and am__untar set.
3071
  test -n "${am_cv_prog_tar_pax}" && break
3072
3073
  # tar/untar a dummy directory, and stop if the command works
3074
  rm -rf conftest.dir
3075
  mkdir conftest.dir
3076
  echo GrepMe > conftest.dir/file
3077
  { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
3078
   (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
3079
   ac_status=$?
3080
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3081
   (exit $ac_status); }
3082
  rm -rf conftest.dir
3083
  if test -s conftest.tar; then
3084
    { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
3085
   ($am__untar <conftest.tar) >&5 2>&5
3086
   ac_status=$?
3087
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3088
   (exit $ac_status); }
3089
    grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
3090
  fi
3091
done
3092
rm -rf conftest.dir
3093
1.3.14 by Ken VanDine
Import upstream version 1.2.2
3094
if test "${am_cv_prog_tar_pax+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
3095
  $as_echo_n "(cached) " >&6
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
3096
else
3097
  am_cv_prog_tar_pax=$_am_tool
3098
fi
3099
1.3.14 by Ken VanDine
Import upstream version 1.2.2
3100
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_pax" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
3101
$as_echo "$am_cv_prog_tar_pax" >&6; }
3102
3103
3104
3105
3106
1.3.7 by Sebastien Bacher
Import upstream version 1.1.0
3107
1.3.14 by Ken VanDine
Import upstream version 1.2.2
3108
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
3109
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
3110
    # Check whether --enable-maintainer-mode was given.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
3111
if test "${enable_maintainer_mode+set}" = set; then :
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
3112
  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
1 by Brandon Hale
Import upstream version 0.2.0
3113
else
3114
  USE_MAINTAINER_MODE=no
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
3115
fi
3116
1.3.14 by Ken VanDine
Import upstream version 1.2.2
3117
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
3118
$as_echo "$USE_MAINTAINER_MODE" >&6; }
1.1.30 by Sebastian Dröge
Import upstream version 0.9.1
3119
   if test $USE_MAINTAINER_MODE = yes; then
1 by Brandon Hale
Import upstream version 0.2.0
3120
  MAINTAINER_MODE_TRUE=
3121
  MAINTAINER_MODE_FALSE='#'
3122
else
3123
  MAINTAINER_MODE_TRUE='#'
3124
  MAINTAINER_MODE_FALSE=
3125
fi
3126
3127
  MAINT=$MAINTAINER_MODE_TRUE
3128
3129
1.1.1 by Daniel Holbach
Import upstream version 0.3.1
3130
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
3131
3132
3133
3134
      ACLOCAL_AMFLAGS="\${ACLOCAL_FLAGS}"
3135
  if test -n "$ac_macro_dir"; then
3136
    ACLOCAL_AMFLAGS="-I $ac_macro_dir $ACLOCAL_AMFLAGS"
3137
  fi
3138
3139
3140
1.3.14 by Ken VanDine
Import upstream version 1.2.2
3141
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
1.3.7 by Sebastien Bacher
Import upstream version 1.1.0
3142
$as_echo_n "checking whether ln -s works... " >&6; }
3143
LN_S=$as_ln_s
3144
if test "$LN_S" = "ln -s"; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
3145
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.3.7 by Sebastien Bacher
Import upstream version 1.1.0
3146
$as_echo "yes" >&6; }
3147
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
3148
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
1.3.7 by Sebastien Bacher
Import upstream version 1.1.0
3149
$as_echo "no, using $LN_S" >&6; }
3150
fi
3151
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
3152
3153
3154
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
3155
	if test -n "$ac_tool_prefix"; then
3156
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
3157
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
1.3.14 by Ken VanDine
Import upstream version 1.2.2
3158
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
3159
$as_echo_n "checking for $ac_word... " >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
3160
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
3161
  $as_echo_n "(cached) " >&6
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
3162
else
3163
  case $PKG_CONFIG in
3164
  [\\/]* | ?:[\\/]*)
3165
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
3166
  ;;
3167
  *)
3168
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3169
for as_dir in $PATH
3170
do
3171
  IFS=$as_save_IFS
3172
  test -z "$as_dir" && as_dir=.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
3173
    for ac_exec_ext in '' $ac_executable_extensions; do
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
3174
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
3175
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
1.3.14 by Ken VanDine
Import upstream version 1.2.2
3176
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
3177
    break 2
3178
  fi
3179
done
1.3.14 by Ken VanDine
Import upstream version 1.2.2
3180
  done
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
3181
IFS=$as_save_IFS
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
3182
3183
  ;;
3184
esac
3185
fi
3186
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
3187
if test -n "$PKG_CONFIG"; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
3188
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
3189
$as_echo "$PKG_CONFIG" >&6; }
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
3190
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
3191
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
3192
$as_echo "no" >&6; }
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
3193
fi
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
3194
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
3195
3196
fi
3197
if test -z "$ac_cv_path_PKG_CONFIG"; then
3198
  ac_pt_PKG_CONFIG=$PKG_CONFIG
3199
  # Extract the first word of "pkg-config", so it can be a program name with args.
3200
set dummy pkg-config; ac_word=$2
1.3.14 by Ken VanDine
Import upstream version 1.2.2
3201
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
3202
$as_echo_n "checking for $ac_word... " >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
3203
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
3204
  $as_echo_n "(cached) " >&6
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
3205
else
3206
  case $ac_pt_PKG_CONFIG in
3207
  [\\/]* | ?:[\\/]*)
3208
  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
3209
  ;;
3210
  *)
3211
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3212
for as_dir in $PATH
3213
do
3214
  IFS=$as_save_IFS
3215
  test -z "$as_dir" && as_dir=.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
3216
    for ac_exec_ext in '' $ac_executable_extensions; do
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
3217
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
3218
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
1.3.14 by Ken VanDine
Import upstream version 1.2.2
3219
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
3220
    break 2
3221
  fi
3222
done
1.3.14 by Ken VanDine
Import upstream version 1.2.2
3223
  done
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
3224
IFS=$as_save_IFS
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
3225
3226
  ;;
3227
esac
3228
fi
3229
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
3230
if test -n "$ac_pt_PKG_CONFIG"; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
3231
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
3232
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
3233
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
3234
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
3235
$as_echo "no" >&6; }
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
3236
fi
3237
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
3238
  if test "x$ac_pt_PKG_CONFIG" = x; then
3239
    PKG_CONFIG=""
3240
  else
3241
    case $cross_compiling:$ac_tool_warned in
3242
yes:)
1.3.14 by Ken VanDine
Import upstream version 1.2.2
3243
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
3244
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
3245
ac_tool_warned=yes ;;
3246
esac
3247
    PKG_CONFIG=$ac_pt_PKG_CONFIG
3248
  fi
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
3249
else
3250
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
3251
fi
3252
3253
fi
3254
if test -n "$PKG_CONFIG"; then
3255
	_pkg_min_version=0.9.0
1.3.14 by Ken VanDine
Import upstream version 1.2.2
3256
	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
3257
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
3258
	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
3259
		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
3260
$as_echo "yes" >&6; }
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
3261
	else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
3262
		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
3263
$as_echo "no" >&6; }
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
3264
		PKG_CONFIG=""
3265
	fi
3266
3267
fi
3268
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
3269
gdu_cv_version_required=0.3.2
3270
1.3.14 by Ken VanDine
Import upstream version 1.2.2
3271
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking gnome-doc-utils >= $gdu_cv_version_required" >&5
1.3.7 by Sebastien Bacher
Import upstream version 1.1.0
3272
$as_echo_n "checking gnome-doc-utils >= $gdu_cv_version_required... " >&6; }
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
3273
if test -n "$PKG_CONFIG" && \
1.3.14 by Ken VanDine
Import upstream version 1.2.2
3274
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-doc-utils >= \$gdu_cv_version_required\""; } >&5
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
3275
  ($PKG_CONFIG --exists --print-errors "gnome-doc-utils >= $gdu_cv_version_required") 2>&5
3276
  ac_status=$?
1.3.14 by Ken VanDine
Import upstream version 1.2.2
3277
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3278
  test $ac_status = 0; }; then
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
3279
  gdu_cv_have_gdu=yes
3280
else
3281
  gdu_cv_have_gdu=no
3282
fi
3283
3284
if test "$gdu_cv_have_gdu" = "yes"; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
3285
	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.3.7 by Sebastien Bacher
Import upstream version 1.1.0
3286
$as_echo "yes" >&6; }
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
3287
	:
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
3288
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
3289
	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.3.7 by Sebastien Bacher
Import upstream version 1.1.0
3290
$as_echo "no" >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
3291
	as_fn_error "gnome-doc-utils >= $gdu_cv_version_required not found" "$LINENO" 5
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
3292
fi
3293
3294
3295
3296
# Check whether --with-help-dir was given.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
3297
if test "${with_help_dir+set}" = set; then :
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
3298
  withval=$with_help_dir;
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
3299
else
3300
  with_help_dir='${datadir}/gnome/help'
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
3301
fi
3302
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
3303
HELP_DIR="$with_help_dir"
3304
3305
3306
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
3307
# Check whether --with-omf-dir was given.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
3308
if test "${with_omf_dir+set}" = set; then :
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
3309
  withval=$with_omf_dir;
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
3310
else
3311
  with_omf_dir='${datadir}/omf'
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
3312
fi
3313
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
3314
OMF_DIR="$with_omf_dir"
3315
3316
3317
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
3318
# Check whether --with-help-formats was given.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
3319
if test "${with_help_formats+set}" = set; then :
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
3320
  withval=$with_help_formats;
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
3321
else
3322
  with_help_formats=''
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
3323
fi
3324
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
3325
DOC_USER_FORMATS="$with_help_formats"
3326
3327
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
3328
# Check whether --enable-scrollkeeper was given.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
3329
if test "${enable_scrollkeeper+set}" = set; then :
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
3330
  enableval=$enable_scrollkeeper;
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
3331
else
3332
  enable_scrollkeeper=yes
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
3333
fi
3334
1.1.30 by Sebastian Dröge
Import upstream version 0.9.1
3335
 if test "$gdu_cv_have_gdu" = "yes" -a "$enable_scrollkeeper" = "yes"; then
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
3336
  ENABLE_SK_TRUE=
3337
  ENABLE_SK_FALSE='#'
3338
else
3339
  ENABLE_SK_TRUE='#'
3340
  ENABLE_SK_FALSE=
3341
fi
3342
3343
1.1.40 by Pedro Fragoso
Import upstream version 0.11.1
3344
DISTCHECK_CONFIGURE_FLAGS="--disable-scrollkeeper $DISTCHECK_CONFIGURE_FLAGS"
3345
3346
1.1.30 by Sebastian Dröge
Import upstream version 0.9.1
3347
 if test "$gdu_cv_have_gdu" = "yes"; then
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
3348
  HAVE_GNOME_DOC_UTILS_TRUE=
3349
  HAVE_GNOME_DOC_UTILS_FALSE='#'
3350
else
3351
  HAVE_GNOME_DOC_UTILS_TRUE='#'
3352
  HAVE_GNOME_DOC_UTILS_FALSE=
3353
fi
3354
3355
3356
3357
3358
ac_config_headers="$ac_config_headers config.h"
1 by Brandon Hale
Import upstream version 0.2.0
3359
3360
1.3.14 by Ken VanDine
Import upstream version 1.2.2
3361
3362
3363
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
3364
$as_echo_n "checking whether NLS is requested... " >&6; }
3365
    # Check whether --enable-nls was given.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
3366
if test "${enable_nls+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
3367
  enableval=$enable_nls; USE_NLS=$enableval
3368
else
3369
  USE_NLS=yes
3370
fi
3371
1.3.14 by Ken VanDine
Import upstream version 1.2.2
3372
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
3373
$as_echo "$USE_NLS" >&6; }
3374
3375
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
3376
DEPDIR="${am__leading_dot}deps"
3377
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
3378
ac_config_commands="$ac_config_commands depfiles"
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
3379
3380
3381
am_make=${MAKE-make}
3382
cat > confinc << 'END'
3383
am__doit:
1.3.7 by Sebastien Bacher
Import upstream version 1.1.0
3384
	@echo this is the am__doit target
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
3385
.PHONY: am__doit
3386
END
3387
# If we don't find an include directive, just comment out the code.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
3388
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
3389
$as_echo_n "checking for style of include used by $am_make... " >&6; }
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
3390
am__include="#"
3391
am__quote=
3392
_am_result=none
3393
# First try GNU make style include.
3394
echo "include confinc" > confmf
1.3.7 by Sebastien Bacher
Import upstream version 1.1.0
3395
# Ignore all kinds of additional output from `make'.
3396
case `$am_make -s -f confmf 2> /dev/null` in #(
3397
*the\ am__doit\ target*)
3398
  am__include=include
3399
  am__quote=
3400
  _am_result=GNU
3401
  ;;
3402
esac
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
3403
# Now try BSD make style include.
3404
if test "$am__include" = "#"; then
3405
   echo '.include "confinc"' > confmf
1.3.7 by Sebastien Bacher
Import upstream version 1.1.0
3406
   case `$am_make -s -f confmf 2> /dev/null` in #(
3407
   *the\ am__doit\ target*)
3408
     am__include=.include
3409
     am__quote="\""
3410
     _am_result=BSD
3411
     ;;
3412
   esac
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
3413
fi
3414
3415
1.3.14 by Ken VanDine
Import upstream version 1.2.2
3416
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
3417
$as_echo "$_am_result" >&6; }
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
3418
rm -f confinc confmf
3419
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
3420
# Check whether --enable-dependency-tracking was given.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
3421
if test "${enable_dependency_tracking+set}" = set; then :
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
3422
  enableval=$enable_dependency_tracking;
3423
fi
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
3424
3425
if test "x$enable_dependency_tracking" != xno; then
3426
  am_depcomp="$ac_aux_dir/depcomp"
3427
  AMDEPBACKSLASH='\'
3428
fi
1.1.30 by Sebastian Dröge
Import upstream version 0.9.1
3429
 if test "x$enable_dependency_tracking" != xno; then
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
3430
  AMDEP_TRUE=
3431
  AMDEP_FALSE='#'
3432
else
3433
  AMDEP_TRUE='#'
3434
  AMDEP_FALSE=
3435
fi
3436
3437
3438
ac_ext=c
3439
ac_cpp='$CPP $CPPFLAGS'
3440
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3441
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3442
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3443
if test -n "$ac_tool_prefix"; then
3444
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3445
set dummy ${ac_tool_prefix}gcc; ac_word=$2
1.3.14 by Ken VanDine
Import upstream version 1.2.2
3446
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
3447
$as_echo_n "checking for $ac_word... " >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
3448
if test "${ac_cv_prog_CC+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
3449
  $as_echo_n "(cached) " >&6
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
3450
else
3451
  if test -n "$CC"; then
3452
  ac_cv_prog_CC="$CC" # Let the user override the test.
3453
else
3454
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3455
for as_dir in $PATH
3456
do
3457
  IFS=$as_save_IFS
3458
  test -z "$as_dir" && as_dir=.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
3459
    for ac_exec_ext in '' $ac_executable_extensions; do
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
3460
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
3461
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
1.3.14 by Ken VanDine
Import upstream version 1.2.2
3462
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
3463
    break 2
3464
  fi
3465
done
1.3.14 by Ken VanDine
Import upstream version 1.2.2
3466
  done
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
3467
IFS=$as_save_IFS
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
3468
3469
fi
3470
fi
3471
CC=$ac_cv_prog_CC
3472
if test -n "$CC"; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
3473
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
3474
$as_echo "$CC" >&6; }
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
3475
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
3476
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
3477
$as_echo "no" >&6; }
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
3478
fi
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
3479
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
3480
3481
fi
3482
if test -z "$ac_cv_prog_CC"; then
3483
  ac_ct_CC=$CC
3484
  # Extract the first word of "gcc", so it can be a program name with args.
3485
set dummy gcc; ac_word=$2
1.3.14 by Ken VanDine
Import upstream version 1.2.2
3486
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
3487
$as_echo_n "checking for $ac_word... " >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
3488
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
3489
  $as_echo_n "(cached) " >&6
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
3490
else
3491
  if test -n "$ac_ct_CC"; then
3492
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3493
else
3494
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3495
for as_dir in $PATH
3496
do
3497
  IFS=$as_save_IFS
3498
  test -z "$as_dir" && as_dir=.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
3499
    for ac_exec_ext in '' $ac_executable_extensions; do
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
3500
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
3501
    ac_cv_prog_ac_ct_CC="gcc"
1.3.14 by Ken VanDine
Import upstream version 1.2.2
3502
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
3503
    break 2
3504
  fi
3505
done
1.3.14 by Ken VanDine
Import upstream version 1.2.2
3506
  done
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
3507
IFS=$as_save_IFS
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
3508
3509
fi
3510
fi
3511
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3512
if test -n "$ac_ct_CC"; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
3513
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
3514
$as_echo "$ac_ct_CC" >&6; }
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
3515
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
3516
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
3517
$as_echo "no" >&6; }
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
3518
fi
3519
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
3520
  if test "x$ac_ct_CC" = x; then
3521
    CC=""
3522
  else
3523
    case $cross_compiling:$ac_tool_warned in
3524
yes:)
1.3.14 by Ken VanDine
Import upstream version 1.2.2
3525
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
3526
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
3527
ac_tool_warned=yes ;;
3528
esac
3529
    CC=$ac_ct_CC
3530
  fi
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
3531
else
3532
  CC="$ac_cv_prog_CC"
3533
fi
3534
3535
if test -z "$CC"; then
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
3536
          if test -n "$ac_tool_prefix"; then
3537
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
3538
set dummy ${ac_tool_prefix}cc; ac_word=$2
1.3.14 by Ken VanDine
Import upstream version 1.2.2
3539
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
3540
$as_echo_n "checking for $ac_word... " >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
3541
if test "${ac_cv_prog_CC+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
3542
  $as_echo_n "(cached) " >&6
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
3543
else
3544
  if test -n "$CC"; then
3545
  ac_cv_prog_CC="$CC" # Let the user override the test.
3546
else
3547
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3548
for as_dir in $PATH
3549
do
3550
  IFS=$as_save_IFS
3551
  test -z "$as_dir" && as_dir=.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
3552
    for ac_exec_ext in '' $ac_executable_extensions; do
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
3553
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
3554
    ac_cv_prog_CC="${ac_tool_prefix}cc"
1.3.14 by Ken VanDine
Import upstream version 1.2.2
3555
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
3556
    break 2
3557
  fi
3558
done
1.3.14 by Ken VanDine
Import upstream version 1.2.2
3559
  done
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
3560
IFS=$as_save_IFS
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
3561
3562
fi
3563
fi
3564
CC=$ac_cv_prog_CC
3565
if test -n "$CC"; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
3566
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
3567
$as_echo "$CC" >&6; }
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
3568
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
3569
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
3570
$as_echo "no" >&6; }
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
3571
fi
3572
3573
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
3574
  fi
3575
fi
3576
if test -z "$CC"; then
3577
  # Extract the first word of "cc", so it can be a program name with args.
3578
set dummy cc; ac_word=$2
1.3.14 by Ken VanDine
Import upstream version 1.2.2
3579
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
3580
$as_echo_n "checking for $ac_word... " >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
3581
if test "${ac_cv_prog_CC+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
3582
  $as_echo_n "(cached) " >&6
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
3583
else
3584
  if test -n "$CC"; then
3585
  ac_cv_prog_CC="$CC" # Let the user override the test.
3586
else
3587
  ac_prog_rejected=no
3588
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3589
for as_dir in $PATH
3590
do
3591
  IFS=$as_save_IFS
3592
  test -z "$as_dir" && as_dir=.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
3593
    for ac_exec_ext in '' $ac_executable_extensions; do
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
3594
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
3595
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3596
       ac_prog_rejected=yes
3597
       continue
3598
     fi
3599
    ac_cv_prog_CC="cc"
1.3.14 by Ken VanDine
Import upstream version 1.2.2
3600
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
3601
    break 2
3602
  fi
3603
done
1.3.14 by Ken VanDine
Import upstream version 1.2.2
3604
  done
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
3605
IFS=$as_save_IFS
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
3606
3607
if test $ac_prog_rejected = yes; then
3608
  # We found a bogon in the path, so make sure we never use it.
3609
  set dummy $ac_cv_prog_CC
3610
  shift
3611
  if test $# != 0; then
3612
    # We chose a different compiler from the bogus one.
3613
    # However, it has the same basename, so the bogon will be chosen
3614
    # first if we set CC to just the basename; use the full file name.
3615
    shift
3616
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3617
  fi
3618
fi
3619
fi
3620
fi
3621
CC=$ac_cv_prog_CC
3622
if test -n "$CC"; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
3623
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
3624
$as_echo "$CC" >&6; }
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
3625
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
3626
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
3627
$as_echo "no" >&6; }
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
3628
fi
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
3629
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
3630
3631
fi
3632
if test -z "$CC"; then
3633
  if test -n "$ac_tool_prefix"; then
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
3634
  for ac_prog in cl.exe
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
3635
  do
3636
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3637
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.3.14 by Ken VanDine
Import upstream version 1.2.2
3638
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
3639
$as_echo_n "checking for $ac_word... " >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
3640
if test "${ac_cv_prog_CC+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
3641
  $as_echo_n "(cached) " >&6
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
3642
else
3643
  if test -n "$CC"; then
3644
  ac_cv_prog_CC="$CC" # Let the user override the test.
3645
else
3646
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3647
for as_dir in $PATH
3648
do
3649
  IFS=$as_save_IFS
3650
  test -z "$as_dir" && as_dir=.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
3651
    for ac_exec_ext in '' $ac_executable_extensions; do
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
3652
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
3653
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1.3.14 by Ken VanDine
Import upstream version 1.2.2
3654
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
3655
    break 2
3656
  fi
3657
done
1.3.14 by Ken VanDine
Import upstream version 1.2.2
3658
  done
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
3659
IFS=$as_save_IFS
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
3660
3661
fi
3662
fi
3663
CC=$ac_cv_prog_CC
3664
if test -n "$CC"; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
3665
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
3666
$as_echo "$CC" >&6; }
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
3667
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
3668
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
3669
$as_echo "no" >&6; }
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
3670
fi
3671
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
3672
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
3673
    test -n "$CC" && break
3674
  done
3675
fi
3676
if test -z "$CC"; then
3677
  ac_ct_CC=$CC
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
3678
  for ac_prog in cl.exe
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
3679
do
3680
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3681
set dummy $ac_prog; ac_word=$2
1.3.14 by Ken VanDine
Import upstream version 1.2.2
3682
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
3683
$as_echo_n "checking for $ac_word... " >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
3684
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
3685
  $as_echo_n "(cached) " >&6
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
3686
else
3687
  if test -n "$ac_ct_CC"; then
3688
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3689
else
3690
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3691
for as_dir in $PATH
3692
do
3693
  IFS=$as_save_IFS
3694
  test -z "$as_dir" && as_dir=.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
3695
    for ac_exec_ext in '' $ac_executable_extensions; do
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
3696
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
3697
    ac_cv_prog_ac_ct_CC="$ac_prog"
1.3.14 by Ken VanDine
Import upstream version 1.2.2
3698
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
3699
    break 2
3700
  fi
3701
done
1.3.14 by Ken VanDine
Import upstream version 1.2.2
3702
  done
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
3703
IFS=$as_save_IFS
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
3704
3705
fi
3706
fi
3707
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3708
if test -n "$ac_ct_CC"; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
3709
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
3710
$as_echo "$ac_ct_CC" >&6; }
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
3711
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
3712
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
3713
$as_echo "no" >&6; }
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
3714
fi
3715
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
3716
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
3717
  test -n "$ac_ct_CC" && break
3718
done
3719
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
3720
  if test "x$ac_ct_CC" = x; then
3721
    CC=""
3722
  else
3723
    case $cross_compiling:$ac_tool_warned in
3724
yes:)
1.3.14 by Ken VanDine
Import upstream version 1.2.2
3725
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
3726
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
3727
ac_tool_warned=yes ;;
3728
esac
3729
    CC=$ac_ct_CC
3730
  fi
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
3731
fi
3732
3733
fi
3734
3735
1.3.14 by Ken VanDine
Import upstream version 1.2.2
3736
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
3737
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1.3.14 by Ken VanDine
Import upstream version 1.2.2
3738
as_fn_error "no acceptable C compiler found in \$PATH
3739
See \`config.log' for more details." "$LINENO" 5; }
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
3740
3741
# Provide some information about the compiler.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
3742
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
3743
set X $ac_compile
3744
ac_compiler=$2
1.3.14 by Ken VanDine
Import upstream version 1.2.2
3745
for ac_option in --version -v -V -qversion; do
3746
  { { ac_try="$ac_compiler $ac_option >&5"
3747
case "(($ac_try" in
3748
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3749
  *) ac_try_echo=$ac_try;;
3750
esac
3751
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3752
$as_echo "$ac_try_echo"; } >&5
3753
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3754
  ac_status=$?
3755
  if test -s conftest.err; then
3756
    sed '10a\
3757
... rest of stderr output deleted ...
3758
         10q' conftest.err >conftest.er1
3759
    cat conftest.er1 >&5
3760
  fi
3761
  rm -f conftest.er1 conftest.err
3762
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3763
  test $ac_status = 0; }
3764
done
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
3765
1.3.14 by Ken VanDine
Import upstream version 1.2.2
3766
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
3767
/* end confdefs.h.  */
3768
3769
int
3770
main ()
3771
{
3772
3773
  ;
3774
  return 0;
3775
}
3776
_ACEOF
3777
ac_clean_files_save=$ac_clean_files
1.1.49 by Jo Shields
Import upstream version 0.15.0
3778
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
3779
# Try to create an executable without -o first, disregard a.out.
3780
# It will help us diagnose broken compilers, and finding out an intuition
3781
# of exeext.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
3782
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3783
$as_echo_n "checking whether the C compiler works... " >&6; }
1.1.49 by Jo Shields
Import upstream version 0.15.0
3784
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3785
3786
# The possible output files:
3787
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3788
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
3789
ac_rmfiles=
3790
for ac_file in $ac_files
3791
do
3792
  case $ac_file in
1.1.49 by Jo Shields
Import upstream version 0.15.0
3793
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
3794
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3795
  esac
3796
done
3797
rm -f $ac_rmfiles
3798
1.3.14 by Ken VanDine
Import upstream version 1.2.2
3799
if { { ac_try="$ac_link_default"
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
3800
case "(($ac_try" in
3801
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3802
  *) ac_try_echo=$ac_try;;
3803
esac
1.3.14 by Ken VanDine
Import upstream version 1.2.2
3804
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3805
$as_echo "$ac_try_echo"; } >&5
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
3806
  (eval "$ac_link_default") 2>&5
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
3807
  ac_status=$?
1.3.14 by Ken VanDine
Import upstream version 1.2.2
3808
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3809
  test $ac_status = 0; }; then :
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
3810
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3811
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3812
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3813
# so that the user can short-circuit this test for compilers unknown to
3814
# Autoconf.
3815
for ac_file in $ac_files ''
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
3816
do
3817
  test -f "$ac_file" || continue
3818
  case $ac_file in
1.1.49 by Jo Shields
Import upstream version 0.15.0
3819
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
3820
	;;
3821
    [ab].out )
3822
	# We found the default executable, but exeext='' is most
3823
	# certainly right.
3824
	break;;
3825
    *.* )
1.3.14 by Ken VanDine
Import upstream version 1.2.2
3826
	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
3827
	then :; else
3828
	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3829
	fi
3830
	# We set ac_cv_exeext here because the later test for it is not
3831
	# safe: cross compilers may not add the suffix if given an `-o'
3832
	# argument, so we may need to know it at that point already.
3833
	# Even if this section looks crufty: it has the advantage of
3834
	# actually working.
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
3835
	break;;
3836
    * )
3837
	break;;
3838
  esac
3839
done
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
3840
test "$ac_cv_exeext" = no && ac_cv_exeext=
3841
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
3842
else
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
3843
  ac_file=''
3844
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
3845
if test -z "$ac_file"; then :
3846
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3847
$as_echo "no" >&6; }
3848
$as_echo "$as_me: failed program was:" >&5
3849
sed 's/^/| /' conftest.$ac_ext >&5
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
3850
1.3.14 by Ken VanDine
Import upstream version 1.2.2
3851
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3852
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3853
{ as_fn_set_status 77
3854
as_fn_error "C compiler cannot create executables
3855
See \`config.log' for more details." "$LINENO" 5; }; }
3856
else
3857
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3858
$as_echo "yes" >&6; }
3859
fi
3860
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3861
$as_echo_n "checking for C compiler default output file name... " >&6; }
3862
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
3863
$as_echo "$ac_file" >&6; }
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
3864
ac_exeext=$ac_cv_exeext
3865
1.1.49 by Jo Shields
Import upstream version 0.15.0
3866
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
3867
ac_clean_files=$ac_clean_files_save
1.3.14 by Ken VanDine
Import upstream version 1.2.2
3868
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
3869
$as_echo_n "checking for suffix of executables... " >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
3870
if { { ac_try="$ac_link"
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
3871
case "(($ac_try" in
3872
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3873
  *) ac_try_echo=$ac_try;;
3874
esac
1.3.14 by Ken VanDine
Import upstream version 1.2.2
3875
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3876
$as_echo "$ac_try_echo"; } >&5
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
3877
  (eval "$ac_link") 2>&5
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
3878
  ac_status=$?
1.3.14 by Ken VanDine
Import upstream version 1.2.2
3879
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3880
  test $ac_status = 0; }; then :
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
3881
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3882
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3883
# work properly (i.e., refer to `conftest.exe'), while it won't with
3884
# `rm'.
3885
for ac_file in conftest.exe conftest conftest.*; do
3886
  test -f "$ac_file" || continue
3887
  case $ac_file in
1.1.49 by Jo Shields
Import upstream version 0.15.0
3888
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
3889
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3890
	  break;;
3891
    * ) break;;
3892
  esac
3893
done
3894
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
3895
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
3896
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1.3.14 by Ken VanDine
Import upstream version 1.2.2
3897
as_fn_error "cannot compute suffix of executables: cannot compile and link
3898
See \`config.log' for more details." "$LINENO" 5; }
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
3899
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
3900
rm -f conftest conftest$ac_cv_exeext
3901
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
3902
$as_echo "$ac_cv_exeext" >&6; }
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
3903
3904
rm -f conftest.$ac_ext
3905
EXEEXT=$ac_cv_exeext
3906
ac_exeext=$EXEEXT
1.3.14 by Ken VanDine
Import upstream version 1.2.2
3907
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3908
/* end confdefs.h.  */
3909
#include <stdio.h>
3910
int
3911
main ()
3912
{
3913
FILE *f = fopen ("conftest.out", "w");
3914
 return ferror (f) || fclose (f) != 0;
3915
3916
  ;
3917
  return 0;
3918
}
3919
_ACEOF
3920
ac_clean_files="$ac_clean_files conftest.out"
3921
# Check that the compiler produces executables we can run.  If not, either
3922
# the compiler is broken, or we cross compile.
3923
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3924
$as_echo_n "checking whether we are cross compiling... " >&6; }
3925
if test "$cross_compiling" != yes; then
3926
  { { ac_try="$ac_link"
3927
case "(($ac_try" in
3928
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3929
  *) ac_try_echo=$ac_try;;
3930
esac
3931
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3932
$as_echo "$ac_try_echo"; } >&5
3933
  (eval "$ac_link") 2>&5
3934
  ac_status=$?
3935
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3936
  test $ac_status = 0; }
3937
  if { ac_try='./conftest$ac_cv_exeext'
3938
  { { case "(($ac_try" in
3939
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3940
  *) ac_try_echo=$ac_try;;
3941
esac
3942
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3943
$as_echo "$ac_try_echo"; } >&5
3944
  (eval "$ac_try") 2>&5
3945
  ac_status=$?
3946
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3947
  test $ac_status = 0; }; }; then
3948
    cross_compiling=no
3949
  else
3950
    if test "$cross_compiling" = maybe; then
3951
	cross_compiling=yes
3952
    else
3953
	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3954
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3955
as_fn_error "cannot run C compiled programs.
3956
If you meant to cross compile, use \`--host'.
3957
See \`config.log' for more details." "$LINENO" 5; }
3958
    fi
3959
  fi
3960
fi
3961
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3962
$as_echo "$cross_compiling" >&6; }
3963
3964
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3965
ac_clean_files=$ac_clean_files_save
3966
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
3967
$as_echo_n "checking for suffix of object files... " >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
3968
if test "${ac_cv_objext+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
3969
  $as_echo_n "(cached) " >&6
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
3970
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
3971
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
3972
/* end confdefs.h.  */
3973
3974
int
3975
main ()
3976
{
3977
3978
  ;
3979
  return 0;
3980
}
3981
_ACEOF
3982
rm -f conftest.o conftest.obj
1.3.14 by Ken VanDine
Import upstream version 1.2.2
3983
if { { ac_try="$ac_compile"
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
3984
case "(($ac_try" in
3985
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3986
  *) ac_try_echo=$ac_try;;
3987
esac
1.3.14 by Ken VanDine
Import upstream version 1.2.2
3988
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3989
$as_echo "$ac_try_echo"; } >&5
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
3990
  (eval "$ac_compile") 2>&5
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
3991
  ac_status=$?
1.3.14 by Ken VanDine
Import upstream version 1.2.2
3992
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3993
  test $ac_status = 0; }; then :
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
3994
  for ac_file in conftest.o conftest.obj conftest.*; do
3995
  test -f "$ac_file" || continue;
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
3996
  case $ac_file in
1.1.49 by Jo Shields
Import upstream version 0.15.0
3997
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
3998
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3999
       break;;
4000
  esac
4001
done
4002
else
1.1.49 by Jo Shields
Import upstream version 0.15.0
4003
  $as_echo "$as_me: failed program was:" >&5
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
4004
sed 's/^/| /' conftest.$ac_ext >&5
4005
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4006
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
4007
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4008
as_fn_error "cannot compute suffix of object files: cannot compile
4009
See \`config.log' for more details." "$LINENO" 5; }
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
4010
fi
4011
rm -f conftest.$ac_cv_objext conftest.$ac_ext
4012
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4013
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
4014
$as_echo "$ac_cv_objext" >&6; }
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
4015
OBJEXT=$ac_cv_objext
4016
ac_objext=$OBJEXT
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4017
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
4018
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4019
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
4020
  $as_echo_n "(cached) " >&6
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
4021
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4022
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
4023
/* end confdefs.h.  */
4024
4025
int
4026
main ()
4027
{
4028
#ifndef __GNUC__
4029
       choke me
4030
#endif
4031
4032
  ;
4033
  return 0;
4034
}
4035
_ACEOF
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4036
if ac_fn_c_try_compile "$LINENO"; then :
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
4037
  ac_compiler_gnu=yes
4038
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4039
  ac_compiler_gnu=no
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
4040
fi
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
4041
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
4042
ac_cv_c_compiler_gnu=$ac_compiler_gnu
4043
4044
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4045
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
4046
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4047
if test $ac_compiler_gnu = yes; then
4048
  GCC=yes
4049
else
4050
  GCC=
4051
fi
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
4052
ac_test_CFLAGS=${CFLAGS+set}
4053
ac_save_CFLAGS=$CFLAGS
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4054
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
4055
$as_echo_n "checking whether $CC accepts -g... " >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4056
if test "${ac_cv_prog_cc_g+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
4057
  $as_echo_n "(cached) " >&6
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
4058
else
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
4059
  ac_save_c_werror_flag=$ac_c_werror_flag
4060
   ac_c_werror_flag=yes
4061
   ac_cv_prog_cc_g=no
4062
   CFLAGS="-g"
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4063
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
4064
/* end confdefs.h.  */
4065
4066
int
4067
main ()
4068
{
4069
4070
  ;
4071
  return 0;
4072
}
4073
_ACEOF
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4074
if ac_fn_c_try_compile "$LINENO"; then :
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
4075
  ac_cv_prog_cc_g=yes
4076
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4077
  CFLAGS=""
4078
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
4079
/* end confdefs.h.  */
4080
4081
int
4082
main ()
4083
{
4084
4085
  ;
4086
  return 0;
4087
}
4088
_ACEOF
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4089
if ac_fn_c_try_compile "$LINENO"; then :
4090
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
4091
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4092
  ac_c_werror_flag=$ac_save_c_werror_flag
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
4093
	 CFLAGS="-g"
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4094
	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
4095
/* end confdefs.h.  */
4096
4097
int
4098
main ()
4099
{
4100
4101
  ;
4102
  return 0;
4103
}
4104
_ACEOF
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4105
if ac_fn_c_try_compile "$LINENO"; then :
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
4106
  ac_cv_prog_cc_g=yes
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4107
fi
4108
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4109
fi
4110
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4111
fi
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
4112
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4113
   ac_c_werror_flag=$ac_save_c_werror_flag
4114
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4115
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
4116
$as_echo "$ac_cv_prog_cc_g" >&6; }
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
4117
if test "$ac_test_CFLAGS" = set; then
4118
  CFLAGS=$ac_save_CFLAGS
4119
elif test $ac_cv_prog_cc_g = yes; then
4120
  if test "$GCC" = yes; then
4121
    CFLAGS="-g -O2"
4122
  else
4123
    CFLAGS="-g"
4124
  fi
4125
else
4126
  if test "$GCC" = yes; then
4127
    CFLAGS="-O2"
4128
  else
4129
    CFLAGS=
4130
  fi
4131
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4132
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
4133
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4134
if test "${ac_cv_prog_cc_c89+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
4135
  $as_echo_n "(cached) " >&6
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
4136
else
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
4137
  ac_cv_prog_cc_c89=no
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
4138
ac_save_CC=$CC
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4139
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
4140
/* end confdefs.h.  */
4141
#include <stdarg.h>
4142
#include <stdio.h>
4143
#include <sys/types.h>
4144
#include <sys/stat.h>
4145
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4146
struct buf { int x; };
4147
FILE * (*rcsopen) (struct buf *, struct stat *, int);
4148
static char *e (p, i)
4149
     char **p;
4150
     int i;
4151
{
4152
  return p[i];
4153
}
4154
static char *f (char * (*g) (char **, int), char **p, ...)
4155
{
4156
  char *s;
4157
  va_list v;
4158
  va_start (v,p);
4159
  s = g (p, va_arg (v,int));
4160
  va_end (v);
4161
  return s;
4162
}
4163
4164
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4165
   function prototypes and stuff, but not '\xHH' hex character constants.
4166
   These don't provoke an error unfortunately, instead are silently treated
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
4167
   as 'x'.  The following induces an error, until -std is added to get
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
4168
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4169
   array size at least.  It's necessary to write '\x00'==0 to get something
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
4170
   that's true only with -std.  */
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
4171
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4172
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
4173
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4174
   inside strings and character constants.  */
4175
#define FOO(x) 'x'
4176
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4177
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
4178
int test (int i, double x);
4179
struct s1 {int (*f) (int a);};
4180
struct s2 {int (*f) (double a);};
4181
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4182
int argc;
4183
char **argv;
4184
int
4185
main ()
4186
{
4187
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4188
  ;
4189
  return 0;
4190
}
4191
_ACEOF
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
4192
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4193
	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
4194
do
4195
  CC="$ac_save_CC $ac_arg"
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4196
  if ac_fn_c_try_compile "$LINENO"; then :
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
4197
  ac_cv_prog_cc_c89=$ac_arg
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
4198
fi
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
4199
rm -f core conftest.err conftest.$ac_objext
4200
  test "x$ac_cv_prog_cc_c89" != "xno" && break
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
4201
done
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
4202
rm -f conftest.$ac_ext
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
4203
CC=$ac_save_CC
4204
4205
fi
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
4206
# AC_CACHE_VAL
4207
case "x$ac_cv_prog_cc_c89" in
4208
  x)
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4209
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
4210
$as_echo "none needed" >&6; } ;;
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
4211
  xno)
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4212
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
4213
$as_echo "unsupported" >&6; } ;;
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
4214
  *)
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
4215
    CC="$CC $ac_cv_prog_cc_c89"
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4216
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
4217
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
4218
esac
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4219
if test "x$ac_cv_prog_cc_c89" != xno; then :
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
4220
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4221
fi
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
4222
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
4223
ac_ext=c
4224
ac_cpp='$CPP $CPPFLAGS'
4225
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4226
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4227
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4228
4229
depcc="$CC"   am_compiler_list=
4230
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4231
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
4232
$as_echo_n "checking dependency style of $depcc... " >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4233
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
4234
  $as_echo_n "(cached) " >&6
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
4235
else
4236
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4237
  # We make a subdir and do the tests there.  Otherwise we can end up
4238
  # making bogus files that we don't know about and never remove.  For
4239
  # instance it was reported that on HP-UX the gcc test will end up
4240
  # making a dummy file named `D' -- because `-MD' means `put the output
4241
  # in D'.
4242
  mkdir conftest.dir
4243
  # Copy depcomp to subdir because otherwise we won't find it if we're
4244
  # using a relative directory.
4245
  cp "$am_depcomp" conftest.dir
4246
  cd conftest.dir
4247
  # We will build objects and dependencies in a subdirectory because
4248
  # it helps to detect inapplicable dependency modes.  For instance
4249
  # both Tru64's cc and ICC support -MD to output dependencies as a
4250
  # side effect of compilation, but ICC will put the dependencies in
4251
  # the current directory while Tru64 will put them in the object
4252
  # directory.
4253
  mkdir sub
4254
4255
  am_cv_CC_dependencies_compiler_type=none
4256
  if test "$am_compiler_list" = ""; then
4257
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4258
  fi
1.3.7 by Sebastien Bacher
Import upstream version 1.1.0
4259
  am__universal=false
4260
  case " $depcc " in #(
4261
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
4262
     esac
4263
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
4264
  for depmode in $am_compiler_list; do
4265
    # Setup a source with many dependencies, because some compilers
4266
    # like to wrap large dependency lists on column 80 (with \), and
4267
    # we should not choose a depcomp mode which is confused by this.
4268
    #
4269
    # We need to recreate these files for each test, as the compiler may
4270
    # overwrite some of them when testing with obscure command lines.
4271
    # This happens at least with the AIX C compiler.
4272
    : > sub/conftest.c
4273
    for i in 1 2 3 4 5 6; do
4274
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4275
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4276
      # Solaris 8's {/usr,}/bin/sh.
4277
      touch sub/conftst$i.h
4278
    done
4279
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4280
1.3.7 by Sebastien Bacher
Import upstream version 1.1.0
4281
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
4282
    # mode.  It turns out that the SunPro C++ compiler does not properly
4283
    # handle `-M -o', and we need to detect this.  Also, some Intel
4284
    # versions had trouble with output in subdirs
4285
    am__obj=sub/conftest.${OBJEXT-o}
4286
    am__minus_obj="-o $am__obj"
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
4287
    case $depmode in
1.3.7 by Sebastien Bacher
Import upstream version 1.1.0
4288
    gcc)
4289
      # This depmode causes a compiler race in universal mode.
4290
      test "$am__universal" = false || continue
4291
      ;;
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
4292
    nosideeffect)
4293
      # after this tag, mechanisms are not by side-effect, so they'll
4294
      # only be used when explicitly requested
4295
      if test "x$enable_dependency_tracking" = xyes; then
4296
	continue
4297
      else
4298
	break
4299
      fi
4300
      ;;
1.3.7 by Sebastien Bacher
Import upstream version 1.1.0
4301
    msvisualcpp | msvcmsys)
4302
      # This compiler won't grok `-c -o', but also, the minuso test has
4303
      # not run yet.  These depmodes are late enough in the game, and
4304
      # so weak that their functioning should not be impacted.
4305
      am__obj=conftest.${OBJEXT-o}
4306
      am__minus_obj=
4307
      ;;
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
4308
    none) break ;;
4309
    esac
4310
    if depmode=$depmode \
1.3.7 by Sebastien Bacher
Import upstream version 1.1.0
4311
       source=sub/conftest.c object=$am__obj \
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
4312
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
1.3.7 by Sebastien Bacher
Import upstream version 1.1.0
4313
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
4314
         >/dev/null 2>conftest.err &&
1.1.30 by Sebastian Dröge
Import upstream version 0.9.1
4315
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
4316
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
1.3.7 by Sebastien Bacher
Import upstream version 1.1.0
4317
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
4318
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4319
      # icc doesn't choke on unknown options, it will just issue warnings
4320
      # or remarks (even with -Werror).  So we grep stderr for any message
4321
      # that says an option was ignored or not supported.
4322
      # When given -MP, icc 7.0 and 7.1 complain thusly:
4323
      #   icc: Command line warning: ignoring option '-M'; no argument required
4324
      # The diagnosis changed in icc 8.0:
4325
      #   icc: Command line remark: option '-MP' not supported
4326
      if (grep 'ignoring option' conftest.err ||
4327
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4328
        am_cv_CC_dependencies_compiler_type=$depmode
4329
        break
4330
      fi
4331
    fi
4332
  done
4333
4334
  cd ..
4335
  rm -rf conftest.dir
4336
else
4337
  am_cv_CC_dependencies_compiler_type=none
4338
fi
4339
4340
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4341
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
4342
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
4343
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4344
1.1.30 by Sebastian Dröge
Import upstream version 0.9.1
4345
 if
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
4346
  test "x$enable_dependency_tracking" != xno \
4347
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4348
  am__fastdepCC_TRUE=
4349
  am__fastdepCC_FALSE='#'
4350
else
4351
  am__fastdepCC_TRUE='#'
4352
  am__fastdepCC_FALSE=
4353
fi
4354
4355
4356
1.1.1 by Daniel Holbach
Import upstream version 0.3.1
4357
1.1.49 by Jo Shields
Import upstream version 0.15.0
4358
1.1.9 by Sebastian Dröge
Import upstream version 0.5.2
4359
case "$am__api_version" in
4360
    1.01234)
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4361
	as_fn_error "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
1.1.9 by Sebastian Dröge
Import upstream version 0.5.2
4362
    ;;
4363
    *)
4364
    ;;
4365
esac
1.1.1 by Daniel Holbach
Import upstream version 0.3.1
4366
1.1.20 by Sebastian Dröge
Import upstream version 0.7.1
4367
if test -n "0.35"; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4368
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.35" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
4369
$as_echo_n "checking for intltool >= 0.35... " >&6; }
1.1.8 by Sebastian Dröge
Import upstream version 0.5.1
4370
1.1.20 by Sebastian Dröge
Import upstream version 0.7.1
4371
    INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.35 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
1.1.44 by Pedro Fragoso
Import upstream version 0.13.1
4372
    INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
4373
    INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
1.1.9 by Sebastian Dröge
Import upstream version 0.5.2
4374
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4375
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
4376
$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
1.1.9 by Sebastian Dröge
Import upstream version 0.5.2
4377
    test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4378
	as_fn_error "Your intltool is too old.  You need intltool 0.35 or later." "$LINENO" 5
1.1.1 by Daniel Holbach
Import upstream version 0.3.1
4379
fi
4380
1.1.44 by Pedro Fragoso
Import upstream version 0.13.1
4381
# Extract the first word of "intltool-update", so it can be a program name with args.
4382
set dummy intltool-update; ac_word=$2
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4383
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
4384
$as_echo_n "checking for $ac_word... " >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4385
if test "${ac_cv_path_INTLTOOL_UPDATE+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
4386
  $as_echo_n "(cached) " >&6
1.1.44 by Pedro Fragoso
Import upstream version 0.13.1
4387
else
4388
  case $INTLTOOL_UPDATE in
4389
  [\\/]* | ?:[\\/]*)
4390
  ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
4391
  ;;
4392
  *)
4393
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4394
for as_dir in $PATH
4395
do
4396
  IFS=$as_save_IFS
4397
  test -z "$as_dir" && as_dir=.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4398
    for ac_exec_ext in '' $ac_executable_extensions; do
1.1.44 by Pedro Fragoso
Import upstream version 0.13.1
4399
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4400
    ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4401
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1.44 by Pedro Fragoso
Import upstream version 0.13.1
4402
    break 2
4403
  fi
4404
done
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4405
  done
1.1.44 by Pedro Fragoso
Import upstream version 0.13.1
4406
IFS=$as_save_IFS
4407
4408
  ;;
4409
esac
4410
fi
4411
INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
4412
if test -n "$INTLTOOL_UPDATE"; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4413
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
4414
$as_echo "$INTLTOOL_UPDATE" >&6; }
1.1.44 by Pedro Fragoso
Import upstream version 0.13.1
4415
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4416
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
4417
$as_echo "no" >&6; }
1.1.44 by Pedro Fragoso
Import upstream version 0.13.1
4418
fi
4419
4420
4421
# Extract the first word of "intltool-merge", so it can be a program name with args.
4422
set dummy intltool-merge; ac_word=$2
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4423
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
4424
$as_echo_n "checking for $ac_word... " >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4425
if test "${ac_cv_path_INTLTOOL_MERGE+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
4426
  $as_echo_n "(cached) " >&6
1.1.44 by Pedro Fragoso
Import upstream version 0.13.1
4427
else
4428
  case $INTLTOOL_MERGE in
4429
  [\\/]* | ?:[\\/]*)
4430
  ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
4431
  ;;
4432
  *)
4433
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4434
for as_dir in $PATH
4435
do
4436
  IFS=$as_save_IFS
4437
  test -z "$as_dir" && as_dir=.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4438
    for ac_exec_ext in '' $ac_executable_extensions; do
1.1.44 by Pedro Fragoso
Import upstream version 0.13.1
4439
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4440
    ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4441
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1.44 by Pedro Fragoso
Import upstream version 0.13.1
4442
    break 2
4443
  fi
4444
done
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4445
  done
1.1.44 by Pedro Fragoso
Import upstream version 0.13.1
4446
IFS=$as_save_IFS
4447
4448
  ;;
4449
esac
4450
fi
4451
INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
4452
if test -n "$INTLTOOL_MERGE"; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4453
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
4454
$as_echo "$INTLTOOL_MERGE" >&6; }
1.1.44 by Pedro Fragoso
Import upstream version 0.13.1
4455
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4456
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
4457
$as_echo "no" >&6; }
1.1.44 by Pedro Fragoso
Import upstream version 0.13.1
4458
fi
4459
4460
4461
# Extract the first word of "intltool-extract", so it can be a program name with args.
4462
set dummy intltool-extract; ac_word=$2
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4463
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
4464
$as_echo_n "checking for $ac_word... " >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4465
if test "${ac_cv_path_INTLTOOL_EXTRACT+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
4466
  $as_echo_n "(cached) " >&6
1.1.44 by Pedro Fragoso
Import upstream version 0.13.1
4467
else
4468
  case $INTLTOOL_EXTRACT in
4469
  [\\/]* | ?:[\\/]*)
4470
  ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
4471
  ;;
4472
  *)
4473
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4474
for as_dir in $PATH
4475
do
4476
  IFS=$as_save_IFS
4477
  test -z "$as_dir" && as_dir=.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4478
    for ac_exec_ext in '' $ac_executable_extensions; do
1.1.44 by Pedro Fragoso
Import upstream version 0.13.1
4479
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4480
    ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4481
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1.44 by Pedro Fragoso
Import upstream version 0.13.1
4482
    break 2
4483
  fi
4484
done
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4485
  done
1.1.44 by Pedro Fragoso
Import upstream version 0.13.1
4486
IFS=$as_save_IFS
4487
4488
  ;;
4489
esac
4490
fi
4491
INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
4492
if test -n "$INTLTOOL_EXTRACT"; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4493
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
4494
$as_echo "$INTLTOOL_EXTRACT" >&6; }
1.1.44 by Pedro Fragoso
Import upstream version 0.13.1
4495
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4496
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
4497
$as_echo "no" >&6; }
1.1.44 by Pedro Fragoso
Import upstream version 0.13.1
4498
fi
4499
4500
4501
if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4502
    as_fn_error "The intltool scripts were not found. Please install intltool." "$LINENO" 5
1.1.44 by Pedro Fragoso
Import upstream version 0.13.1
4503
fi
4504
1.1.2 by Brandon Hale
Import upstream version 0.3.3
4505
  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 $< $@'
4506
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 $< $@'
4507
     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 $< $@'
4508
     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 $< $@'
4509
      INTLTOOL_OAF_RULE='%.oaf:       %.oaf.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
4510
     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 $< $@'
4511
   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 $< $@'
4512
    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 $< $@'
4513
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 $< $@'
4514
       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 $< $@'
4515
      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 $< $@'
4516
      INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@'
4517
      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 $< $@'
4518
      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 $< $@'
4519
    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 $< $@'
4520
  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 $< $@'
4521
    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 $< $@'
1.1.9 by Sebastian Dröge
Import upstream version 0.5.2
4522
    INTLTOOL_SERVICE_RULE='%.service: %.service.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
1.1.40 by Pedro Fragoso
Import upstream version 0.11.1
4523
   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 $< $@'
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
1.3.7 by Sebastien Bacher
Import upstream version 1.1.0
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
1.1.40 by Pedro Fragoso
Import upstream version 0.11.1
4621
# Check the gettext tools to make sure they are GNU
4622
# Extract the first word of "xgettext", so it can be a program name with args.
4623
set dummy xgettext; ac_word=$2
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4624
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
4625
$as_echo_n "checking for $ac_word... " >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4626
if test "${ac_cv_path_XGETTEXT+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
4627
  $as_echo_n "(cached) " >&6
1.1.40 by Pedro Fragoso
Import upstream version 0.11.1
4628
else
4629
  case $XGETTEXT in
4630
  [\\/]* | ?:[\\/]*)
4631
  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
4632
  ;;
4633
  *)
4634
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4635
for as_dir in $PATH
4636
do
4637
  IFS=$as_save_IFS
4638
  test -z "$as_dir" && as_dir=.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4639
    for ac_exec_ext in '' $ac_executable_extensions; do
1.1.40 by Pedro Fragoso
Import upstream version 0.11.1
4640
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4641
    ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4642
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1.40 by Pedro Fragoso
Import upstream version 0.11.1
4643
    break 2
4644
  fi
4645
done
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4646
  done
1.1.40 by Pedro Fragoso
Import upstream version 0.11.1
4647
IFS=$as_save_IFS
4648
4649
  ;;
4650
esac
4651
fi
4652
XGETTEXT=$ac_cv_path_XGETTEXT
4653
if test -n "$XGETTEXT"; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4654
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
4655
$as_echo "$XGETTEXT" >&6; }
1.1.40 by Pedro Fragoso
Import upstream version 0.11.1
4656
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4657
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
4658
$as_echo "no" >&6; }
1.1.40 by Pedro Fragoso
Import upstream version 0.11.1
4659
fi
4660
4661
4662
# Extract the first word of "msgmerge", so it can be a program name with args.
4663
set dummy msgmerge; ac_word=$2
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4664
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
4665
$as_echo_n "checking for $ac_word... " >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4666
if test "${ac_cv_path_MSGMERGE+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
4667
  $as_echo_n "(cached) " >&6
1.1.40 by Pedro Fragoso
Import upstream version 0.11.1
4668
else
4669
  case $MSGMERGE in
4670
  [\\/]* | ?:[\\/]*)
4671
  ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
4672
  ;;
4673
  *)
4674
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4675
for as_dir in $PATH
4676
do
4677
  IFS=$as_save_IFS
4678
  test -z "$as_dir" && as_dir=.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4679
    for ac_exec_ext in '' $ac_executable_extensions; do
1.1.40 by Pedro Fragoso
Import upstream version 0.11.1
4680
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4681
    ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4682
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1.40 by Pedro Fragoso
Import upstream version 0.11.1
4683
    break 2
4684
  fi
4685
done
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4686
  done
1.1.40 by Pedro Fragoso
Import upstream version 0.11.1
4687
IFS=$as_save_IFS
4688
4689
  ;;
4690
esac
4691
fi
4692
MSGMERGE=$ac_cv_path_MSGMERGE
4693
if test -n "$MSGMERGE"; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4694
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
4695
$as_echo "$MSGMERGE" >&6; }
1.1.40 by Pedro Fragoso
Import upstream version 0.11.1
4696
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4697
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
4698
$as_echo "no" >&6; }
1.1.40 by Pedro Fragoso
Import upstream version 0.11.1
4699
fi
4700
4701
4702
# Extract the first word of "msgfmt", so it can be a program name with args.
4703
set dummy msgfmt; ac_word=$2
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4704
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
4705
$as_echo_n "checking for $ac_word... " >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4706
if test "${ac_cv_path_MSGFMT+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
4707
  $as_echo_n "(cached) " >&6
1.1.40 by Pedro Fragoso
Import upstream version 0.11.1
4708
else
4709
  case $MSGFMT in
4710
  [\\/]* | ?:[\\/]*)
4711
  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
4712
  ;;
4713
  *)
4714
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4715
for as_dir in $PATH
4716
do
4717
  IFS=$as_save_IFS
4718
  test -z "$as_dir" && as_dir=.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4719
    for ac_exec_ext in '' $ac_executable_extensions; do
1.1.40 by Pedro Fragoso
Import upstream version 0.11.1
4720
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4721
    ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4722
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1.40 by Pedro Fragoso
Import upstream version 0.11.1
4723
    break 2
4724
  fi
4725
done
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4726
  done
1.1.40 by Pedro Fragoso
Import upstream version 0.11.1
4727
IFS=$as_save_IFS
4728
4729
  ;;
4730
esac
4731
fi
4732
MSGFMT=$ac_cv_path_MSGFMT
4733
if test -n "$MSGFMT"; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4734
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
4735
$as_echo "$MSGFMT" >&6; }
4736
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4737
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
4738
$as_echo "no" >&6; }
4739
fi
4740
4741
4742
# Extract the first word of "gmsgfmt", so it can be a program name with args.
4743
set dummy gmsgfmt; ac_word=$2
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4744
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
4745
$as_echo_n "checking for $ac_word... " >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4746
if test "${ac_cv_path_GMSGFMT+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
4747
  $as_echo_n "(cached) " >&6
4748
else
4749
  case $GMSGFMT in
4750
  [\\/]* | ?:[\\/]*)
4751
  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
4752
  ;;
4753
  *)
4754
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4755
for as_dir in $PATH
4756
do
4757
  IFS=$as_save_IFS
4758
  test -z "$as_dir" && as_dir=.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4759
    for ac_exec_ext in '' $ac_executable_extensions; do
1.1.49 by Jo Shields
Import upstream version 0.15.0
4760
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4761
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4762
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
4763
    break 2
4764
  fi
4765
done
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4766
  done
1.1.49 by Jo Shields
Import upstream version 0.15.0
4767
IFS=$as_save_IFS
4768
4769
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
4770
  ;;
4771
esac
4772
fi
4773
GMSGFMT=$ac_cv_path_GMSGFMT
4774
if test -n "$GMSGFMT"; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4775
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
4776
$as_echo "$GMSGFMT" >&6; }
4777
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4778
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
4779
$as_echo "no" >&6; }
1.1.40 by Pedro Fragoso
Import upstream version 0.11.1
4780
fi
4781
4782
4783
if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4784
    as_fn_error "GNU gettext tools not found; required for intltool" "$LINENO" 5
1.1.40 by Pedro Fragoso
Import upstream version 0.11.1
4785
fi
4786
xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
4787
mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
4788
mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
4789
if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4790
    as_fn_error "GNU gettext tools not found; required for intltool" "$LINENO" 5
1.1.40 by Pedro Fragoso
Import upstream version 0.11.1
4791
fi
1.1.31 by Pedro Fragoso
Import upstream version 0.9.4
4792
1.1.1 by Daniel Holbach
Import upstream version 0.3.1
4793
# Extract the first word of "perl", so it can be a program name with args.
4794
set dummy perl; ac_word=$2
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4795
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
4796
$as_echo_n "checking for $ac_word... " >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4797
if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
4798
  $as_echo_n "(cached) " >&6
1.1.1 by Daniel Holbach
Import upstream version 0.3.1
4799
else
4800
  case $INTLTOOL_PERL in
4801
  [\\/]* | ?:[\\/]*)
4802
  ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
4803
  ;;
4804
  *)
4805
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4806
for as_dir in $PATH
4807
do
4808
  IFS=$as_save_IFS
4809
  test -z "$as_dir" && as_dir=.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4810
    for ac_exec_ext in '' $ac_executable_extensions; do
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
4811
  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 0.3.1
4812
    ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4813
    $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 0.3.1
4814
    break 2
4815
  fi
4816
done
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4817
  done
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
4818
IFS=$as_save_IFS
1.1.1 by Daniel Holbach
Import upstream version 0.3.1
4819
4820
  ;;
4821
esac
4822
fi
4823
INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
4824
if test -n "$INTLTOOL_PERL"; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4825
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
4826
$as_echo "$INTLTOOL_PERL" >&6; }
1.1.1 by Daniel Holbach
Import upstream version 0.3.1
4827
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4828
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
4829
$as_echo "no" >&6; }
1.1.1 by Daniel Holbach
Import upstream version 0.3.1
4830
fi
4831
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
4832
1.1.1 by Daniel Holbach
Import upstream version 0.3.1
4833
if test -z "$INTLTOOL_PERL"; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4834
   as_fn_error "perl not found" "$LINENO" 5
1.1.1 by Daniel Holbach
Import upstream version 0.3.1
4835
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4836
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
1.3.7 by Sebastien Bacher
Import upstream version 1.1.0
4837
$as_echo_n "checking for perl >= 5.8.1... " >&6; }
4838
$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
4839
if test $? -ne 0; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4840
   as_fn_error "perl 5.8.1 is required for intltool" "$LINENO" 5
1.3.7 by Sebastien Bacher
Import upstream version 1.1.0
4841
else
4842
   IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4843
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
1.3.7 by Sebastien Bacher
Import upstream version 1.1.0
4844
$as_echo "$IT_PERL_VERSION" >&6; }
1.1.1 by Daniel Holbach
Import upstream version 0.3.1
4845
fi
1.1.2 by Brandon Hale
Import upstream version 0.3.3
4846
if test "x" != "xno-xml"; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4847
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
4848
$as_echo_n "checking for XML::Parser... " >&6; }
1.1.2 by Brandon Hale
Import upstream version 0.3.3
4849
   if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4850
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
4851
$as_echo "ok" >&6; }
1.1.2 by Brandon Hale
Import upstream version 0.3.3
4852
   else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4853
       as_fn_error "XML::Parser perl module is required for intltool" "$LINENO" 5
1.1.2 by Brandon Hale
Import upstream version 0.3.3
4854
   fi
4855
fi
4856
1.1.9 by Sebastian Dröge
Import upstream version 0.5.2
4857
# Substitute ALL_LINGUAS so we can use it in po/Makefile
4858
4859
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
4860
# Set DATADIRNAME correctly if it is not set yet
4861
# (copied from glib-gettext.m4)
4862
if test -z "$DATADIRNAME"; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4863
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
4864
/* end confdefs.h.  */
4865
4866
int
4867
main ()
4868
{
4869
extern int _nl_msg_cat_cntr;
1.1.40 by Pedro Fragoso
Import upstream version 0.11.1
4870
                       return _nl_msg_cat_cntr
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
4871
  ;
4872
  return 0;
4873
}
4874
_ACEOF
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4875
if ac_fn_c_try_link "$LINENO"; then :
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
4876
  DATADIRNAME=share
4877
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4878
  case $host in
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
4879
    *-*-solaris*)
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4880
                        ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
4881
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
4882
  DATADIRNAME=share
4883
else
4884
  DATADIRNAME=lib
4885
fi
4886
4887
    ;;
4888
    *)
4889
    DATADIRNAME=lib
4890
    ;;
4891
    esac
4892
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4893
rm -f core conftest.err conftest.$ac_objext \
4894
    conftest$ac_exeext conftest.$ac_ext
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
4895
fi
4896
4897
1.1.9 by Sebastian Dröge
Import upstream version 0.5.2
4898
4899
1.1.8 by Sebastian Dröge
Import upstream version 0.5.1
4900
1 by Brandon Hale
Import upstream version 0.2.0
4901
ac_ext=c
4902
ac_cpp='$CPP $CPPFLAGS'
4903
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4904
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4905
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4906
if test -n "$ac_tool_prefix"; then
4907
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4908
set dummy ${ac_tool_prefix}gcc; ac_word=$2
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4909
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
4910
$as_echo_n "checking for $ac_word... " >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4911
if test "${ac_cv_prog_CC+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
4912
  $as_echo_n "(cached) " >&6
1 by Brandon Hale
Import upstream version 0.2.0
4913
else
4914
  if test -n "$CC"; then
4915
  ac_cv_prog_CC="$CC" # Let the user override the test.
4916
else
4917
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4918
for as_dir in $PATH
4919
do
4920
  IFS=$as_save_IFS
4921
  test -z "$as_dir" && as_dir=.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4922
    for ac_exec_ext in '' $ac_executable_extensions; do
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
4923
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1 by Brandon Hale
Import upstream version 0.2.0
4924
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4925
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1 by Brandon Hale
Import upstream version 0.2.0
4926
    break 2
4927
  fi
4928
done
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4929
  done
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
4930
IFS=$as_save_IFS
1 by Brandon Hale
Import upstream version 0.2.0
4931
4932
fi
4933
fi
4934
CC=$ac_cv_prog_CC
4935
if test -n "$CC"; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4936
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
4937
$as_echo "$CC" >&6; }
1 by Brandon Hale
Import upstream version 0.2.0
4938
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4939
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
4940
$as_echo "no" >&6; }
1 by Brandon Hale
Import upstream version 0.2.0
4941
fi
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
4942
1 by Brandon Hale
Import upstream version 0.2.0
4943
4944
fi
4945
if test -z "$ac_cv_prog_CC"; then
4946
  ac_ct_CC=$CC
4947
  # Extract the first word of "gcc", so it can be a program name with args.
4948
set dummy gcc; ac_word=$2
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4949
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
4950
$as_echo_n "checking for $ac_word... " >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4951
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
4952
  $as_echo_n "(cached) " >&6
1 by Brandon Hale
Import upstream version 0.2.0
4953
else
4954
  if test -n "$ac_ct_CC"; then
4955
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4956
else
4957
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4958
for as_dir in $PATH
4959
do
4960
  IFS=$as_save_IFS
4961
  test -z "$as_dir" && as_dir=.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4962
    for ac_exec_ext in '' $ac_executable_extensions; do
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
4963
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1 by Brandon Hale
Import upstream version 0.2.0
4964
    ac_cv_prog_ac_ct_CC="gcc"
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4965
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1 by Brandon Hale
Import upstream version 0.2.0
4966
    break 2
4967
  fi
4968
done
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4969
  done
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
4970
IFS=$as_save_IFS
1 by Brandon Hale
Import upstream version 0.2.0
4971
4972
fi
4973
fi
4974
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4975
if test -n "$ac_ct_CC"; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4976
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
4977
$as_echo "$ac_ct_CC" >&6; }
1 by Brandon Hale
Import upstream version 0.2.0
4978
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4979
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
4980
$as_echo "no" >&6; }
1 by Brandon Hale
Import upstream version 0.2.0
4981
fi
4982
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
4983
  if test "x$ac_ct_CC" = x; then
4984
    CC=""
4985
  else
4986
    case $cross_compiling:$ac_tool_warned in
4987
yes:)
1.3.14 by Ken VanDine
Import upstream version 1.2.2
4988
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
4989
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
4990
ac_tool_warned=yes ;;
4991
esac
4992
    CC=$ac_ct_CC
4993
  fi
1 by Brandon Hale
Import upstream version 0.2.0
4994
else
4995
  CC="$ac_cv_prog_CC"
4996
fi
4997
4998
if test -z "$CC"; then
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
4999
          if test -n "$ac_tool_prefix"; then
5000
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1 by Brandon Hale
Import upstream version 0.2.0
5001
set dummy ${ac_tool_prefix}cc; ac_word=$2
1.3.14 by Ken VanDine
Import upstream version 1.2.2
5002
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
5003
$as_echo_n "checking for $ac_word... " >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
5004
if test "${ac_cv_prog_CC+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
5005
  $as_echo_n "(cached) " >&6
1 by Brandon Hale
Import upstream version 0.2.0
5006
else
5007
  if test -n "$CC"; then
5008
  ac_cv_prog_CC="$CC" # Let the user override the test.
5009
else
5010
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5011
for as_dir in $PATH
5012
do
5013
  IFS=$as_save_IFS
5014
  test -z "$as_dir" && as_dir=.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
5015
    for ac_exec_ext in '' $ac_executable_extensions; do
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
5016
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1 by Brandon Hale
Import upstream version 0.2.0
5017
    ac_cv_prog_CC="${ac_tool_prefix}cc"
1.3.14 by Ken VanDine
Import upstream version 1.2.2
5018
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1 by Brandon Hale
Import upstream version 0.2.0
5019
    break 2
5020
  fi
5021
done
1.3.14 by Ken VanDine
Import upstream version 1.2.2
5022
  done
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
5023
IFS=$as_save_IFS
1 by Brandon Hale
Import upstream version 0.2.0
5024
5025
fi
5026
fi
5027
CC=$ac_cv_prog_CC
5028
if test -n "$CC"; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
5029
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
5030
$as_echo "$CC" >&6; }
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
5031
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
5032
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
5033
$as_echo "no" >&6; }
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
5034
fi
5035
5036
1 by Brandon Hale
Import upstream version 0.2.0
5037
  fi
5038
fi
5039
if test -z "$CC"; then
5040
  # Extract the first word of "cc", so it can be a program name with args.
5041
set dummy cc; ac_word=$2
1.3.14 by Ken VanDine
Import upstream version 1.2.2
5042
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
5043
$as_echo_n "checking for $ac_word... " >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
5044
if test "${ac_cv_prog_CC+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
5045
  $as_echo_n "(cached) " >&6
1 by Brandon Hale
Import upstream version 0.2.0
5046
else
5047
  if test -n "$CC"; then
5048
  ac_cv_prog_CC="$CC" # Let the user override the test.
5049
else
5050
  ac_prog_rejected=no
5051
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5052
for as_dir in $PATH
5053
do
5054
  IFS=$as_save_IFS
5055
  test -z "$as_dir" && as_dir=.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
5056
    for ac_exec_ext in '' $ac_executable_extensions; do
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
5057
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1 by Brandon Hale
Import upstream version 0.2.0
5058
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5059
       ac_prog_rejected=yes
5060
       continue
5061
     fi
5062
    ac_cv_prog_CC="cc"
1.3.14 by Ken VanDine
Import upstream version 1.2.2
5063
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1 by Brandon Hale
Import upstream version 0.2.0
5064
    break 2
5065
  fi
5066
done
1.3.14 by Ken VanDine
Import upstream version 1.2.2
5067
  done
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
5068
IFS=$as_save_IFS
1 by Brandon Hale
Import upstream version 0.2.0
5069
5070
if test $ac_prog_rejected = yes; then
5071
  # We found a bogon in the path, so make sure we never use it.
5072
  set dummy $ac_cv_prog_CC
5073
  shift
5074
  if test $# != 0; then
5075
    # We chose a different compiler from the bogus one.
5076
    # However, it has the same basename, so the bogon will be chosen
5077
    # first if we set CC to just the basename; use the full file name.
5078
    shift
5079
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
5080
  fi
5081
fi
5082
fi
5083
fi
5084
CC=$ac_cv_prog_CC
5085
if test -n "$CC"; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
5086
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
5087
$as_echo "$CC" >&6; }
1 by Brandon Hale
Import upstream version 0.2.0
5088
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
5089
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
5090
$as_echo "no" >&6; }
1 by Brandon Hale
Import upstream version 0.2.0
5091
fi
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
5092
1 by Brandon Hale
Import upstream version 0.2.0
5093
5094
fi
5095
if test -z "$CC"; then
5096
  if test -n "$ac_tool_prefix"; then
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
5097
  for ac_prog in cl.exe
1 by Brandon Hale
Import upstream version 0.2.0
5098
  do
5099
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5100
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.3.14 by Ken VanDine
Import upstream version 1.2.2
5101
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
5102
$as_echo_n "checking for $ac_word... " >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
5103
if test "${ac_cv_prog_CC+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
5104
  $as_echo_n "(cached) " >&6
1 by Brandon Hale
Import upstream version 0.2.0
5105
else
5106
  if test -n "$CC"; then
5107
  ac_cv_prog_CC="$CC" # Let the user override the test.
5108
else
5109
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5110
for as_dir in $PATH
5111
do
5112
  IFS=$as_save_IFS
5113
  test -z "$as_dir" && as_dir=.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
5114
    for ac_exec_ext in '' $ac_executable_extensions; do
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
5115
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1 by Brandon Hale
Import upstream version 0.2.0
5116
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1.3.14 by Ken VanDine
Import upstream version 1.2.2
5117
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1 by Brandon Hale
Import upstream version 0.2.0
5118
    break 2
5119
  fi
5120
done
1.3.14 by Ken VanDine
Import upstream version 1.2.2
5121
  done
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
5122
IFS=$as_save_IFS
1 by Brandon Hale
Import upstream version 0.2.0
5123
5124
fi
5125
fi
5126
CC=$ac_cv_prog_CC
5127
if test -n "$CC"; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
5128
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
5129
$as_echo "$CC" >&6; }
1 by Brandon Hale
Import upstream version 0.2.0
5130
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
5131
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
5132
$as_echo "no" >&6; }
1 by Brandon Hale
Import upstream version 0.2.0
5133
fi
5134
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
5135
1 by Brandon Hale
Import upstream version 0.2.0
5136
    test -n "$CC" && break
5137
  done
5138
fi
5139
if test -z "$CC"; then
5140
  ac_ct_CC=$CC
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
5141
  for ac_prog in cl.exe
1 by Brandon Hale
Import upstream version 0.2.0
5142
do
5143
  # Extract the first word of "$ac_prog", so it can be a program name with args.
5144
set dummy $ac_prog; ac_word=$2
1.3.14 by Ken VanDine
Import upstream version 1.2.2
5145
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
5146
$as_echo_n "checking for $ac_word... " >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
5147
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
5148
  $as_echo_n "(cached) " >&6
1 by Brandon Hale
Import upstream version 0.2.0
5149
else
5150
  if test -n "$ac_ct_CC"; then
5151
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5152
else
5153
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5154
for as_dir in $PATH
5155
do
5156
  IFS=$as_save_IFS
5157
  test -z "$as_dir" && as_dir=.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
5158
    for ac_exec_ext in '' $ac_executable_extensions; do
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
5159
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1 by Brandon Hale
Import upstream version 0.2.0
5160
    ac_cv_prog_ac_ct_CC="$ac_prog"
1.3.14 by Ken VanDine
Import upstream version 1.2.2
5161
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1 by Brandon Hale
Import upstream version 0.2.0
5162
    break 2
5163
  fi
5164
done
1.3.14 by Ken VanDine
Import upstream version 1.2.2
5165
  done
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
5166
IFS=$as_save_IFS
1 by Brandon Hale
Import upstream version 0.2.0
5167
5168
fi
5169
fi
5170
ac_ct_CC=$ac_cv_prog_ac_ct_CC
5171
if test -n "$ac_ct_CC"; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
5172
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
5173
$as_echo "$ac_ct_CC" >&6; }
1 by Brandon Hale
Import upstream version 0.2.0
5174
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
5175
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
5176
$as_echo "no" >&6; }
1 by Brandon Hale
Import upstream version 0.2.0
5177
fi
5178
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
5179
1 by Brandon Hale
Import upstream version 0.2.0
5180
  test -n "$ac_ct_CC" && break
5181
done
5182
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
5183
  if test "x$ac_ct_CC" = x; then
5184
    CC=""
5185
  else
5186
    case $cross_compiling:$ac_tool_warned in
5187
yes:)
1.3.14 by Ken VanDine
Import upstream version 1.2.2
5188
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
5189
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
5190
ac_tool_warned=yes ;;
5191
esac
5192
    CC=$ac_ct_CC
5193
  fi
1 by Brandon Hale
Import upstream version 0.2.0
5194
fi
5195
5196
fi
5197
5198
1.3.14 by Ken VanDine
Import upstream version 1.2.2
5199
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
5200
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1.3.14 by Ken VanDine
Import upstream version 1.2.2
5201
as_fn_error "no acceptable C compiler found in \$PATH
5202
See \`config.log' for more details." "$LINENO" 5; }
1 by Brandon Hale
Import upstream version 0.2.0
5203
5204
# Provide some information about the compiler.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
5205
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
5206
set X $ac_compile
5207
ac_compiler=$2
1.3.14 by Ken VanDine
Import upstream version 1.2.2
5208
for ac_option in --version -v -V -qversion; do
5209
  { { ac_try="$ac_compiler $ac_option >&5"
5210
case "(($ac_try" in
5211
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5212
  *) ac_try_echo=$ac_try;;
5213
esac
5214
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5215
$as_echo "$ac_try_echo"; } >&5
5216
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5217
  ac_status=$?
5218
  if test -s conftest.err; then
5219
    sed '10a\
5220
... rest of stderr output deleted ...
5221
         10q' conftest.err >conftest.er1
5222
    cat conftest.er1 >&5
5223
  fi
5224
  rm -f conftest.er1 conftest.err
5225
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5226
  test $ac_status = 0; }
5227
done
1 by Brandon Hale
Import upstream version 0.2.0
5228
1.3.14 by Ken VanDine
Import upstream version 1.2.2
5229
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
5230
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
5231
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
5232
  $as_echo_n "(cached) " >&6
1 by Brandon Hale
Import upstream version 0.2.0
5233
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
5234
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1 by Brandon Hale
Import upstream version 0.2.0
5235
/* end confdefs.h.  */
5236
5237
int
5238
main ()
5239
{
5240
#ifndef __GNUC__
5241
       choke me
5242
#endif
5243
5244
  ;
5245
  return 0;
5246
}
5247
_ACEOF
1.3.14 by Ken VanDine
Import upstream version 1.2.2
5248
if ac_fn_c_try_compile "$LINENO"; then :
1 by Brandon Hale
Import upstream version 0.2.0
5249
  ac_compiler_gnu=yes
5250
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
5251
  ac_compiler_gnu=no
1 by Brandon Hale
Import upstream version 0.2.0
5252
fi
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
5253
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1 by Brandon Hale
Import upstream version 0.2.0
5254
ac_cv_c_compiler_gnu=$ac_compiler_gnu
5255
5256
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
5257
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
5258
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
5259
if test $ac_compiler_gnu = yes; then
5260
  GCC=yes
5261
else
5262
  GCC=
5263
fi
1 by Brandon Hale
Import upstream version 0.2.0
5264
ac_test_CFLAGS=${CFLAGS+set}
5265
ac_save_CFLAGS=$CFLAGS
1.3.14 by Ken VanDine
Import upstream version 1.2.2
5266
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
5267
$as_echo_n "checking whether $CC accepts -g... " >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
5268
if test "${ac_cv_prog_cc_g+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
5269
  $as_echo_n "(cached) " >&6
1 by Brandon Hale
Import upstream version 0.2.0
5270
else
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
5271
  ac_save_c_werror_flag=$ac_c_werror_flag
5272
   ac_c_werror_flag=yes
5273
   ac_cv_prog_cc_g=no
5274
   CFLAGS="-g"
1.3.14 by Ken VanDine
Import upstream version 1.2.2
5275
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
5276
/* end confdefs.h.  */
5277
5278
int
5279
main ()
5280
{
5281
5282
  ;
5283
  return 0;
5284
}
5285
_ACEOF
1.3.14 by Ken VanDine
Import upstream version 1.2.2
5286
if ac_fn_c_try_compile "$LINENO"; then :
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
5287
  ac_cv_prog_cc_g=yes
5288
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
5289
  CFLAGS=""
5290
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
5291
/* end confdefs.h.  */
5292
5293
int
5294
main ()
5295
{
5296
5297
  ;
5298
  return 0;
5299
}
5300
_ACEOF
1.3.14 by Ken VanDine
Import upstream version 1.2.2
5301
if ac_fn_c_try_compile "$LINENO"; then :
5302
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
5303
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
5304
  ac_c_werror_flag=$ac_save_c_werror_flag
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
5305
	 CFLAGS="-g"
1.3.14 by Ken VanDine
Import upstream version 1.2.2
5306
	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
5307
/* end confdefs.h.  */
5308
5309
int
5310
main ()
5311
{
5312
5313
  ;
5314
  return 0;
5315
}
5316
_ACEOF
1.3.14 by Ken VanDine
Import upstream version 1.2.2
5317
if ac_fn_c_try_compile "$LINENO"; then :
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
5318
  ac_cv_prog_cc_g=yes
1.3.14 by Ken VanDine
Import upstream version 1.2.2
5319
fi
5320
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5321
fi
5322
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5323
fi
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
5324
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5325
   ac_c_werror_flag=$ac_save_c_werror_flag
5326
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
5327
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
5328
$as_echo "$ac_cv_prog_cc_g" >&6; }
1 by Brandon Hale
Import upstream version 0.2.0
5329
if test "$ac_test_CFLAGS" = set; then
5330
  CFLAGS=$ac_save_CFLAGS
5331
elif test $ac_cv_prog_cc_g = yes; then
5332
  if test "$GCC" = yes; then
5333
    CFLAGS="-g -O2"
5334
  else
5335
    CFLAGS="-g"
5336
  fi
5337
else
5338
  if test "$GCC" = yes; then
5339
    CFLAGS="-O2"
5340
  else
5341
    CFLAGS=
5342
  fi
5343
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
5344
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
5345
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
5346
if test "${ac_cv_prog_cc_c89+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
5347
  $as_echo_n "(cached) " >&6
1 by Brandon Hale
Import upstream version 0.2.0
5348
else
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
5349
  ac_cv_prog_cc_c89=no
1 by Brandon Hale
Import upstream version 0.2.0
5350
ac_save_CC=$CC
1.3.14 by Ken VanDine
Import upstream version 1.2.2
5351
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1 by Brandon Hale
Import upstream version 0.2.0
5352
/* end confdefs.h.  */
5353
#include <stdarg.h>
5354
#include <stdio.h>
5355
#include <sys/types.h>
5356
#include <sys/stat.h>
5357
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
5358
struct buf { int x; };
5359
FILE * (*rcsopen) (struct buf *, struct stat *, int);
5360
static char *e (p, i)
5361
     char **p;
5362
     int i;
5363
{
5364
  return p[i];
5365
}
5366
static char *f (char * (*g) (char **, int), char **p, ...)
5367
{
5368
  char *s;
5369
  va_list v;
5370
  va_start (v,p);
5371
  s = g (p, va_arg (v,int));
5372
  va_end (v);
5373
  return s;
5374
}
5375
5376
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
5377
   function prototypes and stuff, but not '\xHH' hex character constants.
5378
   These don't provoke an error unfortunately, instead are silently treated
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
5379
   as 'x'.  The following induces an error, until -std is added to get
1 by Brandon Hale
Import upstream version 0.2.0
5380
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
5381
   array size at least.  It's necessary to write '\x00'==0 to get something
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
5382
   that's true only with -std.  */
1 by Brandon Hale
Import upstream version 0.2.0
5383
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5384
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
5385
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5386
   inside strings and character constants.  */
5387
#define FOO(x) 'x'
5388
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5389
1 by Brandon Hale
Import upstream version 0.2.0
5390
int test (int i, double x);
5391
struct s1 {int (*f) (int a);};
5392
struct s2 {int (*f) (double a);};
5393
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5394
int argc;
5395
char **argv;
5396
int
5397
main ()
5398
{
5399
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
5400
  ;
5401
  return 0;
5402
}
5403
_ACEOF
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
5404
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5405
	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
1 by Brandon Hale
Import upstream version 0.2.0
5406
do
5407
  CC="$ac_save_CC $ac_arg"
1.3.14 by Ken VanDine
Import upstream version 1.2.2
5408
  if ac_fn_c_try_compile "$LINENO"; then :
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
5409
  ac_cv_prog_cc_c89=$ac_arg
1 by Brandon Hale
Import upstream version 0.2.0
5410
fi
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
5411
rm -f core conftest.err conftest.$ac_objext
5412
  test "x$ac_cv_prog_cc_c89" != "xno" && break
1 by Brandon Hale
Import upstream version 0.2.0
5413
done
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
5414
rm -f conftest.$ac_ext
1 by Brandon Hale
Import upstream version 0.2.0
5415
CC=$ac_save_CC
5416
5417
fi
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
5418
# AC_CACHE_VAL
5419
case "x$ac_cv_prog_cc_c89" in
5420
  x)
1.3.14 by Ken VanDine
Import upstream version 1.2.2
5421
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
5422
$as_echo "none needed" >&6; } ;;
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
5423
  xno)
1.3.14 by Ken VanDine
Import upstream version 1.2.2
5424
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
5425
$as_echo "unsupported" >&6; } ;;
1 by Brandon Hale
Import upstream version 0.2.0
5426
  *)
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
5427
    CC="$CC $ac_cv_prog_cc_c89"
1.3.14 by Ken VanDine
Import upstream version 1.2.2
5428
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
5429
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
1 by Brandon Hale
Import upstream version 0.2.0
5430
esac
1.3.14 by Ken VanDine
Import upstream version 1.2.2
5431
if test "x$ac_cv_prog_cc_c89" != xno; then :
1 by Brandon Hale
Import upstream version 0.2.0
5432
1.3.14 by Ken VanDine
Import upstream version 1.2.2
5433
fi
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
5434
1 by Brandon Hale
Import upstream version 0.2.0
5435
ac_ext=c
5436
ac_cpp='$CPP $CPPFLAGS'
5437
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5438
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5439
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5440
5441
depcc="$CC"   am_compiler_list=
5442
1.3.14 by Ken VanDine
Import upstream version 1.2.2
5443
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
5444
$as_echo_n "checking dependency style of $depcc... " >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
5445
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
5446
  $as_echo_n "(cached) " >&6
1 by Brandon Hale
Import upstream version 0.2.0
5447
else
5448
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5449
  # We make a subdir and do the tests there.  Otherwise we can end up
5450
  # making bogus files that we don't know about and never remove.  For
5451
  # instance it was reported that on HP-UX the gcc test will end up
5452
  # making a dummy file named `D' -- because `-MD' means `put the output
5453
  # in D'.
5454
  mkdir conftest.dir
5455
  # Copy depcomp to subdir because otherwise we won't find it if we're
5456
  # using a relative directory.
5457
  cp "$am_depcomp" conftest.dir
5458
  cd conftest.dir
5459
  # We will build objects and dependencies in a subdirectory because
5460
  # it helps to detect inapplicable dependency modes.  For instance
5461
  # both Tru64's cc and ICC support -MD to output dependencies as a
5462
  # side effect of compilation, but ICC will put the dependencies in
5463
  # the current directory while Tru64 will put them in the object
5464
  # directory.
5465
  mkdir sub
5466
5467
  am_cv_CC_dependencies_compiler_type=none
5468
  if test "$am_compiler_list" = ""; then
5469
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5470
  fi
1.3.7 by Sebastien Bacher
Import upstream version 1.1.0
5471
  am__universal=false
5472
  case " $depcc " in #(
5473
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
5474
     esac
5475
1 by Brandon Hale
Import upstream version 0.2.0
5476
  for depmode in $am_compiler_list; do
5477
    # Setup a source with many dependencies, because some compilers
5478
    # like to wrap large dependency lists on column 80 (with \), and
5479
    # we should not choose a depcomp mode which is confused by this.
5480
    #
5481
    # We need to recreate these files for each test, as the compiler may
5482
    # overwrite some of them when testing with obscure command lines.
5483
    # This happens at least with the AIX C compiler.
5484
    : > sub/conftest.c
5485
    for i in 1 2 3 4 5 6; do
5486
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
5487
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5488
      # Solaris 8's {/usr,}/bin/sh.
5489
      touch sub/conftst$i.h
5490
    done
5491
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5492
1.3.7 by Sebastien Bacher
Import upstream version 1.1.0
5493
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
5494
    # mode.  It turns out that the SunPro C++ compiler does not properly
5495
    # handle `-M -o', and we need to detect this.  Also, some Intel
5496
    # versions had trouble with output in subdirs
5497
    am__obj=sub/conftest.${OBJEXT-o}
5498
    am__minus_obj="-o $am__obj"
1 by Brandon Hale
Import upstream version 0.2.0
5499
    case $depmode in
1.3.7 by Sebastien Bacher
Import upstream version 1.1.0
5500
    gcc)
5501
      # This depmode causes a compiler race in universal mode.
5502
      test "$am__universal" = false || continue
5503
      ;;
1 by Brandon Hale
Import upstream version 0.2.0
5504
    nosideeffect)
5505
      # after this tag, mechanisms are not by side-effect, so they'll
5506
      # only be used when explicitly requested
5507
      if test "x$enable_dependency_tracking" = xyes; then
5508
	continue
5509
      else
5510
	break
5511
      fi
5512
      ;;
1.3.7 by Sebastien Bacher
Import upstream version 1.1.0
5513
    msvisualcpp | msvcmsys)
5514
      # This compiler won't grok `-c -o', but also, the minuso test has
5515
      # not run yet.  These depmodes are late enough in the game, and
5516
      # so weak that their functioning should not be impacted.
5517
      am__obj=conftest.${OBJEXT-o}
5518
      am__minus_obj=
5519
      ;;
1 by Brandon Hale
Import upstream version 0.2.0
5520
    none) break ;;
5521
    esac
5522
    if depmode=$depmode \
1.3.7 by Sebastien Bacher
Import upstream version 1.1.0
5523
       source=sub/conftest.c object=$am__obj \
1 by Brandon Hale
Import upstream version 0.2.0
5524
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
1.3.7 by Sebastien Bacher
Import upstream version 1.1.0
5525
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
1 by Brandon Hale
Import upstream version 0.2.0
5526
         >/dev/null 2>conftest.err &&
1.1.30 by Sebastian Dröge
Import upstream version 0.9.1
5527
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
1 by Brandon Hale
Import upstream version 0.2.0
5528
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
1.3.7 by Sebastien Bacher
Import upstream version 1.1.0
5529
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
1 by Brandon Hale
Import upstream version 0.2.0
5530
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5531
      # icc doesn't choke on unknown options, it will just issue warnings
5532
      # or remarks (even with -Werror).  So we grep stderr for any message
5533
      # that says an option was ignored or not supported.
5534
      # When given -MP, icc 7.0 and 7.1 complain thusly:
5535
      #   icc: Command line warning: ignoring option '-M'; no argument required
5536
      # The diagnosis changed in icc 8.0:
5537
      #   icc: Command line remark: option '-MP' not supported
5538
      if (grep 'ignoring option' conftest.err ||
5539
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5540
        am_cv_CC_dependencies_compiler_type=$depmode
5541
        break
5542
      fi
5543
    fi
5544
  done
5545
5546
  cd ..
5547
  rm -rf conftest.dir
5548
else
5549
  am_cv_CC_dependencies_compiler_type=none
5550
fi
5551
5552
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
5553
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
5554
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
1 by Brandon Hale
Import upstream version 0.2.0
5555
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5556
1.1.30 by Sebastian Dröge
Import upstream version 0.9.1
5557
 if
1 by Brandon Hale
Import upstream version 0.2.0
5558
  test "x$enable_dependency_tracking" != xno \
5559
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5560
  am__fastdepCC_TRUE=
5561
  am__fastdepCC_FALSE='#'
5562
else
5563
  am__fastdepCC_TRUE='#'
5564
  am__fastdepCC_FALSE=
5565
fi
5566
5567
1.3.14 by Ken VanDine
Import upstream version 1.2.2
5568
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
5569
$as_echo_n "checking for library containing strerror... " >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
5570
if test "${ac_cv_search_strerror+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
5571
  $as_echo_n "(cached) " >&6
1 by Brandon Hale
Import upstream version 0.2.0
5572
else
5573
  ac_func_search_save_LIBS=$LIBS
1.3.14 by Ken VanDine
Import upstream version 1.2.2
5574
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1 by Brandon Hale
Import upstream version 0.2.0
5575
/* end confdefs.h.  */
5576
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
5577
/* Override any GCC internal prototype to avoid an error.
5578
   Use char because int might match the return type of a GCC
5579
   builtin and then its argument prototype would still apply.  */
1 by Brandon Hale
Import upstream version 0.2.0
5580
#ifdef __cplusplus
5581
extern "C"
5582
#endif
5583
char strerror ();
5584
int
5585
main ()
5586
{
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
5587
return strerror ();
1 by Brandon Hale
Import upstream version 0.2.0
5588
  ;
5589
  return 0;
5590
}
5591
_ACEOF
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
5592
for ac_lib in '' cposix; do
5593
  if test -z "$ac_lib"; then
5594
    ac_res="none required"
5595
  else
5596
    ac_res=-l$ac_lib
1 by Brandon Hale
Import upstream version 0.2.0
5597
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
5598
  fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
5599
  if ac_fn_c_try_link "$LINENO"; then :
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
5600
  ac_cv_search_strerror=$ac_res
5601
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
5602
rm -f core conftest.err conftest.$ac_objext \
5603
    conftest$ac_exeext
5604
  if test "${ac_cv_search_strerror+set}" = set; then :
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
5605
  break
5606
fi
5607
done
1.3.14 by Ken VanDine
Import upstream version 1.2.2
5608
if test "${ac_cv_search_strerror+set}" = set; then :
5609
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
5610
else
5611
  ac_cv_search_strerror=no
5612
fi
5613
rm conftest.$ac_ext
1 by Brandon Hale
Import upstream version 0.2.0
5614
LIBS=$ac_func_search_save_LIBS
5615
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
5616
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
5617
$as_echo "$ac_cv_search_strerror" >&6; }
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
5618
ac_res=$ac_cv_search_strerror
1.3.14 by Ken VanDine
Import upstream version 1.2.2
5619
if test "$ac_res" != no; then :
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
5620
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
1 by Brandon Hale
Import upstream version 0.2.0
5621
5622
fi
5623
5624
ac_ext=c
5625
ac_cpp='$CPP $CPPFLAGS'
5626
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5627
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5628
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.3.14 by Ken VanDine
Import upstream version 1.2.2
5629
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
5630
$as_echo_n "checking how to run the C preprocessor... " >&6; }
1 by Brandon Hale
Import upstream version 0.2.0
5631
# On Suns, sometimes $CPP names a directory.
5632
if test -n "$CPP" && test -d "$CPP"; then
5633
  CPP=
5634
fi
5635
if test -z "$CPP"; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
5636
  if test "${ac_cv_prog_CPP+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
5637
  $as_echo_n "(cached) " >&6
1 by Brandon Hale
Import upstream version 0.2.0
5638
else
5639
      # Double quotes because CPP needs to be expanded
5640
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5641
    do
5642
      ac_preproc_ok=false
5643
for ac_c_preproc_warn_flag in '' yes
5644
do
5645
  # Use a header file that comes with gcc, so configuring glibc
5646
  # with a fresh cross-compiler works.
5647
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5648
  # <limits.h> exists even on freestanding compilers.
5649
  # On the NeXT, cc -E runs the code through the compiler's parser,
5650
  # not just through cpp. "Syntax error" is here to catch this case.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
5651
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1 by Brandon Hale
Import upstream version 0.2.0
5652
/* end confdefs.h.  */
5653
#ifdef __STDC__
5654
# include <limits.h>
5655
#else
5656
# include <assert.h>
5657
#endif
5658
		     Syntax error
5659
_ACEOF
1.3.14 by Ken VanDine
Import upstream version 1.2.2
5660
if ac_fn_c_try_cpp "$LINENO"; then :
5661
1 by Brandon Hale
Import upstream version 0.2.0
5662
else
5663
  # Broken: fails on valid input.
5664
continue
5665
fi
5666
rm -f conftest.err conftest.$ac_ext
5667
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
5668
  # OK, works on sane cases.  Now check whether nonexistent headers
1 by Brandon Hale
Import upstream version 0.2.0
5669
  # can be detected and how.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
5670
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1 by Brandon Hale
Import upstream version 0.2.0
5671
/* end confdefs.h.  */
5672
#include <ac_nonexistent.h>
5673
_ACEOF
1.3.14 by Ken VanDine
Import upstream version 1.2.2
5674
if ac_fn_c_try_cpp "$LINENO"; then :
1 by Brandon Hale
Import upstream version 0.2.0
5675
  # Broken: success on invalid input.
5676
continue
5677
else
5678
  # Passes both tests.
5679
ac_preproc_ok=:
5680
break
5681
fi
5682
rm -f conftest.err conftest.$ac_ext
5683
5684
done
5685
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5686
rm -f conftest.err conftest.$ac_ext
1.3.14 by Ken VanDine
Import upstream version 1.2.2
5687
if $ac_preproc_ok; then :
1 by Brandon Hale
Import upstream version 0.2.0
5688
  break
5689
fi
5690
5691
    done
5692
    ac_cv_prog_CPP=$CPP
5693
5694
fi
5695
  CPP=$ac_cv_prog_CPP
5696
else
5697
  ac_cv_prog_CPP=$CPP
5698
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
5699
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
5700
$as_echo "$CPP" >&6; }
1 by Brandon Hale
Import upstream version 0.2.0
5701
ac_preproc_ok=false
5702
for ac_c_preproc_warn_flag in '' yes
5703
do
5704
  # Use a header file that comes with gcc, so configuring glibc
5705
  # with a fresh cross-compiler works.
5706
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5707
  # <limits.h> exists even on freestanding compilers.
5708
  # On the NeXT, cc -E runs the code through the compiler's parser,
5709
  # not just through cpp. "Syntax error" is here to catch this case.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
5710
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1 by Brandon Hale
Import upstream version 0.2.0
5711
/* end confdefs.h.  */
5712
#ifdef __STDC__
5713
# include <limits.h>
5714
#else
5715
# include <assert.h>
5716
#endif
5717
		     Syntax error
5718
_ACEOF
1.3.14 by Ken VanDine
Import upstream version 1.2.2
5719
if ac_fn_c_try_cpp "$LINENO"; then :
5720
1 by Brandon Hale
Import upstream version 0.2.0
5721
else
5722
  # Broken: fails on valid input.
5723
continue
5724
fi
5725
rm -f conftest.err conftest.$ac_ext
5726
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
5727
  # OK, works on sane cases.  Now check whether nonexistent headers
1 by Brandon Hale
Import upstream version 0.2.0
5728
  # can be detected and how.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
5729
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1 by Brandon Hale
Import upstream version 0.2.0
5730
/* end confdefs.h.  */
5731
#include <ac_nonexistent.h>
5732
_ACEOF
1.3.14 by Ken VanDine
Import upstream version 1.2.2
5733
if ac_fn_c_try_cpp "$LINENO"; then :
1 by Brandon Hale
Import upstream version 0.2.0
5734
  # Broken: success on invalid input.
5735
continue
5736
else
5737
  # Passes both tests.
5738
ac_preproc_ok=:
5739
break
5740
fi
5741
rm -f conftest.err conftest.$ac_ext
5742
5743
done
5744
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5745
rm -f conftest.err conftest.$ac_ext
1.3.14 by Ken VanDine
Import upstream version 1.2.2
5746
if $ac_preproc_ok; then :
5747
1 by Brandon Hale
Import upstream version 0.2.0
5748
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
5749
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
5750
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1.3.14 by Ken VanDine
Import upstream version 1.2.2
5751
as_fn_error "C preprocessor \"$CPP\" fails sanity check
5752
See \`config.log' for more details." "$LINENO" 5; }
1 by Brandon Hale
Import upstream version 0.2.0
5753
fi
5754
5755
ac_ext=c
5756
ac_cpp='$CPP $CPPFLAGS'
5757
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5758
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5759
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5760
5761
1.3.14 by Ken VanDine
Import upstream version 1.2.2
5762
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
5763
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
5764
if test "${ac_cv_path_GREP+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
5765
  $as_echo_n "(cached) " >&6
5766
else
5767
  if test -z "$GREP"; then
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
5768
  ac_path_GREP_found=false
1.1.49 by Jo Shields
Import upstream version 0.15.0
5769
  # Loop through the user's path and test for each of PROGNAME-LIST
5770
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
5771
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5772
do
5773
  IFS=$as_save_IFS
5774
  test -z "$as_dir" && as_dir=.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
5775
    for ac_prog in grep ggrep; do
1.1.49 by Jo Shields
Import upstream version 0.15.0
5776
    for ac_exec_ext in '' $ac_executable_extensions; do
5777
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5778
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5779
# Check for GNU ac_path_GREP and select it if it is found.
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
5780
  # Check for GNU $ac_path_GREP
5781
case `"$ac_path_GREP" --version 2>&1` in
5782
*GNU*)
5783
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5784
*)
5785
  ac_count=0
1.1.49 by Jo Shields
Import upstream version 0.15.0
5786
  $as_echo_n 0123456789 >"conftest.in"
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
5787
  while :
5788
  do
5789
    cat "conftest.in" "conftest.in" >"conftest.tmp"
5790
    mv "conftest.tmp" "conftest.in"
5791
    cp "conftest.in" "conftest.nl"
1.1.49 by Jo Shields
Import upstream version 0.15.0
5792
    $as_echo 'GREP' >> "conftest.nl"
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
5793
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5794
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
1.3.14 by Ken VanDine
Import upstream version 1.2.2
5795
    as_fn_arith $ac_count + 1 && ac_count=$as_val
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
5796
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
5797
      # Best one so far, save it but keep looking for a better one
5798
      ac_cv_path_GREP="$ac_path_GREP"
5799
      ac_path_GREP_max=$ac_count
5800
    fi
5801
    # 10*(2^10) chars as input seems more than enough
5802
    test $ac_count -gt 10 && break
5803
  done
5804
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5805
esac
5806
1.1.49 by Jo Shields
Import upstream version 0.15.0
5807
      $ac_path_GREP_found && break 3
5808
    done
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
5809
  done
1.3.14 by Ken VanDine
Import upstream version 1.2.2
5810
  done
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
5811
IFS=$as_save_IFS
1.1.49 by Jo Shields
Import upstream version 0.15.0
5812
  if test -z "$ac_cv_path_GREP"; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
5813
    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
1.1.49 by Jo Shields
Import upstream version 0.15.0
5814
  fi
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
5815
else
5816
  ac_cv_path_GREP=$GREP
5817
fi
5818
5819
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
5820
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
5821
$as_echo "$ac_cv_path_GREP" >&6; }
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
5822
 GREP="$ac_cv_path_GREP"
5823
5824
1.3.14 by Ken VanDine
Import upstream version 1.2.2
5825
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
5826
$as_echo_n "checking for egrep... " >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
5827
if test "${ac_cv_path_EGREP+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
5828
  $as_echo_n "(cached) " >&6
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
5829
else
5830
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5831
   then ac_cv_path_EGREP="$GREP -E"
5832
   else
1.1.49 by Jo Shields
Import upstream version 0.15.0
5833
     if test -z "$EGREP"; then
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
5834
  ac_path_EGREP_found=false
1.1.49 by Jo Shields
Import upstream version 0.15.0
5835
  # Loop through the user's path and test for each of PROGNAME-LIST
5836
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
5837
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5838
do
5839
  IFS=$as_save_IFS
5840
  test -z "$as_dir" && as_dir=.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
5841
    for ac_prog in egrep; do
1.1.49 by Jo Shields
Import upstream version 0.15.0
5842
    for ac_exec_ext in '' $ac_executable_extensions; do
5843
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5844
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5845
# Check for GNU ac_path_EGREP and select it if it is found.
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
5846
  # Check for GNU $ac_path_EGREP
5847
case `"$ac_path_EGREP" --version 2>&1` in
5848
*GNU*)
5849
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5850
*)
5851
  ac_count=0
1.1.49 by Jo Shields
Import upstream version 0.15.0
5852
  $as_echo_n 0123456789 >"conftest.in"
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
5853
  while :
5854
  do
5855
    cat "conftest.in" "conftest.in" >"conftest.tmp"
5856
    mv "conftest.tmp" "conftest.in"
5857
    cp "conftest.in" "conftest.nl"
1.1.49 by Jo Shields
Import upstream version 0.15.0
5858
    $as_echo 'EGREP' >> "conftest.nl"
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
5859
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5860
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
1.3.14 by Ken VanDine
Import upstream version 1.2.2
5861
    as_fn_arith $ac_count + 1 && ac_count=$as_val
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
5862
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5863
      # Best one so far, save it but keep looking for a better one
5864
      ac_cv_path_EGREP="$ac_path_EGREP"
5865
      ac_path_EGREP_max=$ac_count
5866
    fi
5867
    # 10*(2^10) chars as input seems more than enough
5868
    test $ac_count -gt 10 && break
5869
  done
5870
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5871
esac
5872
1.1.49 by Jo Shields
Import upstream version 0.15.0
5873
      $ac_path_EGREP_found && break 3
5874
    done
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
5875
  done
1.3.14 by Ken VanDine
Import upstream version 1.2.2
5876
  done
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
5877
IFS=$as_save_IFS
1.1.49 by Jo Shields
Import upstream version 0.15.0
5878
  if test -z "$ac_cv_path_EGREP"; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
5879
    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
1.1.49 by Jo Shields
Import upstream version 0.15.0
5880
  fi
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
5881
else
5882
  ac_cv_path_EGREP=$EGREP
5883
fi
5884
5885
   fi
5886
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
5887
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
5888
$as_echo "$ac_cv_path_EGREP" >&6; }
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
5889
 EGREP="$ac_cv_path_EGREP"
5890
5891
1.3.14 by Ken VanDine
Import upstream version 1.2.2
5892
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
5893
$as_echo_n "checking for ANSI C header files... " >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
5894
if test "${ac_cv_header_stdc+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
5895
  $as_echo_n "(cached) " >&6
1 by Brandon Hale
Import upstream version 0.2.0
5896
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
5897
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1 by Brandon Hale
Import upstream version 0.2.0
5898
/* end confdefs.h.  */
5899
#include <stdlib.h>
5900
#include <stdarg.h>
5901
#include <string.h>
5902
#include <float.h>
5903
5904
int
5905
main ()
5906
{
5907
5908
  ;
5909
  return 0;
5910
}
5911
_ACEOF
1.3.14 by Ken VanDine
Import upstream version 1.2.2
5912
if ac_fn_c_try_compile "$LINENO"; then :
1 by Brandon Hale
Import upstream version 0.2.0
5913
  ac_cv_header_stdc=yes
5914
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
5915
  ac_cv_header_stdc=no
1 by Brandon Hale
Import upstream version 0.2.0
5916
fi
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
5917
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1 by Brandon Hale
Import upstream version 0.2.0
5918
5919
if test $ac_cv_header_stdc = yes; then
5920
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
5921
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1 by Brandon Hale
Import upstream version 0.2.0
5922
/* end confdefs.h.  */
5923
#include <string.h>
5924
5925
_ACEOF
5926
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.3.14 by Ken VanDine
Import upstream version 1.2.2
5927
  $EGREP "memchr" >/dev/null 2>&1; then :
5928
1 by Brandon Hale
Import upstream version 0.2.0
5929
else
5930
  ac_cv_header_stdc=no
5931
fi
5932
rm -f conftest*
5933
5934
fi
5935
5936
if test $ac_cv_header_stdc = yes; then
5937
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
5938
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1 by Brandon Hale
Import upstream version 0.2.0
5939
/* end confdefs.h.  */
5940
#include <stdlib.h>
5941
5942
_ACEOF
5943
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.3.14 by Ken VanDine
Import upstream version 1.2.2
5944
  $EGREP "free" >/dev/null 2>&1; then :
5945
1 by Brandon Hale
Import upstream version 0.2.0
5946
else
5947
  ac_cv_header_stdc=no
5948
fi
5949
rm -f conftest*
5950
5951
fi
5952
5953
if test $ac_cv_header_stdc = yes; then
5954
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
5955
  if test "$cross_compiling" = yes; then :
1 by Brandon Hale
Import upstream version 0.2.0
5956
  :
5957
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
5958
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1 by Brandon Hale
Import upstream version 0.2.0
5959
/* end confdefs.h.  */
5960
#include <ctype.h>
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
5961
#include <stdlib.h>
1 by Brandon Hale
Import upstream version 0.2.0
5962
#if ((' ' & 0x0FF) == 0x020)
5963
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5964
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5965
#else
5966
# define ISLOWER(c) \
5967
		   (('a' <= (c) && (c) <= 'i') \
5968
		     || ('j' <= (c) && (c) <= 'r') \
5969
		     || ('s' <= (c) && (c) <= 'z'))
5970
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5971
#endif
5972
5973
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5974
int
5975
main ()
5976
{
5977
  int i;
5978
  for (i = 0; i < 256; i++)
5979
    if (XOR (islower (i), ISLOWER (i))
5980
	|| toupper (i) != TOUPPER (i))
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
5981
      return 2;
5982
  return 0;
1 by Brandon Hale
Import upstream version 0.2.0
5983
}
5984
_ACEOF
1.3.14 by Ken VanDine
Import upstream version 1.2.2
5985
if ac_fn_c_try_run "$LINENO"; then :
5986
1 by Brandon Hale
Import upstream version 0.2.0
5987
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
5988
  ac_cv_header_stdc=no
5989
fi
5990
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5991
  conftest.$ac_objext conftest.beam conftest.$ac_ext
5992
fi
5993
5994
fi
5995
fi
5996
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
5997
$as_echo "$ac_cv_header_stdc" >&6; }
1 by Brandon Hale
Import upstream version 0.2.0
5998
if test $ac_cv_header_stdc = yes; then
5999
1.3.14 by Ken VanDine
Import upstream version 1.2.2
6000
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
1 by Brandon Hale
Import upstream version 0.2.0
6001
6002
fi
6003
6004
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
6005
# Check whether --enable-static was given.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
6006
if test "${enable_static+set}" = set; then :
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
6007
  enableval=$enable_static; p=${PACKAGE-default}
1.1.1 by Daniel Holbach
Import upstream version 0.3.1
6008
    case $enableval in
6009
    yes) enable_static=yes ;;
6010
    no) enable_static=no ;;
6011
    *)
6012
     enable_static=no
6013
      # Look at the argument we got.  We use all the common list separators.
6014
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6015
      for pkg in $enableval; do
6016
	IFS="$lt_save_ifs"
6017
	if test "X$pkg" = "X$p"; then
6018
	  enable_static=yes
6019
	fi
6020
      done
6021
      IFS="$lt_save_ifs"
6022
      ;;
6023
    esac
6024
else
6025
  enable_static=no
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
6026
fi
6027
6028
6029
1.1.49 by Jo Shields
Import upstream version 0.15.0
6030
6031
6032
6033
6034
6035
6036
case `pwd` in
6037
  *\ * | *\	*)
1.3.14 by Ken VanDine
Import upstream version 1.2.2
6038
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
6039
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
6040
esac
6041
6042
6043
1.3.14 by Ken VanDine
Import upstream version 1.2.2
6044
macro_version='2.2.6b'
6045
macro_revision='1.3017'
1.1.49 by Jo Shields
Import upstream version 0.15.0
6046
6047
6048
6049
6050
6051
6052
6053
6054
6055
6056
6057
6058
6059
ltmain="$ac_aux_dir/ltmain.sh"
1 by Brandon Hale
Import upstream version 0.2.0
6060
1.1.1 by Daniel Holbach
Import upstream version 0.3.1
6061
# Make sure we can run config.sub.
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
6062
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1.3.14 by Ken VanDine
Import upstream version 1.2.2
6063
  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
1.1.1 by Daniel Holbach
Import upstream version 0.3.1
6064
1.3.14 by Ken VanDine
Import upstream version 1.2.2
6065
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
6066
$as_echo_n "checking build system type... " >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
6067
if test "${ac_cv_build+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
6068
  $as_echo_n "(cached) " >&6
1.1.1 by Daniel Holbach
Import upstream version 0.3.1
6069
else
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
6070
  ac_build_alias=$build_alias
6071
test "x$ac_build_alias" = x &&
6072
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
6073
test "x$ac_build_alias" = x &&
1.3.14 by Ken VanDine
Import upstream version 1.2.2
6074
  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
6075
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1.3.14 by Ken VanDine
Import upstream version 1.2.2
6076
  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
1.1.1 by Daniel Holbach
Import upstream version 0.3.1
6077
6078
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
6079
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
6080
$as_echo "$ac_cv_build" >&6; }
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
6081
case $ac_cv_build in
6082
*-*-*) ;;
1.3.14 by Ken VanDine
Import upstream version 1.2.2
6083
*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
6084
esac
1.1.1 by Daniel Holbach
Import upstream version 0.3.1
6085
build=$ac_cv_build
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
6086
ac_save_IFS=$IFS; IFS='-'
6087
set x $ac_cv_build
6088
shift
6089
build_cpu=$1
6090
build_vendor=$2
6091
shift; shift
6092
# Remember, the first character of IFS is used to create $*,
6093
# except with old shells:
6094
build_os=$*
6095
IFS=$ac_save_IFS
6096
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
6097
6098
1.3.14 by Ken VanDine
Import upstream version 1.2.2
6099
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
6100
$as_echo_n "checking host system type... " >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
6101
if test "${ac_cv_host+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
6102
  $as_echo_n "(cached) " >&6
1.1.1 by Daniel Holbach
Import upstream version 0.3.1
6103
else
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
6104
  if test "x$host_alias" = x; then
6105
  ac_cv_host=$ac_cv_build
6106
else
6107
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1.3.14 by Ken VanDine
Import upstream version 1.2.2
6108
    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
6109
fi
1.1.1 by Daniel Holbach
Import upstream version 0.3.1
6110
6111
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
6112
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
6113
$as_echo "$ac_cv_host" >&6; }
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
6114
case $ac_cv_host in
6115
*-*-*) ;;
1.3.14 by Ken VanDine
Import upstream version 1.2.2
6116
*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
6117
esac
1.1.1 by Daniel Holbach
Import upstream version 0.3.1
6118
host=$ac_cv_host
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
6119
ac_save_IFS=$IFS; IFS='-'
6120
set x $ac_cv_host
6121
shift
6122
host_cpu=$1
6123
host_vendor=$2
6124
shift; shift
6125
# Remember, the first character of IFS is used to create $*,
6126
# except with old shells:
6127
host_os=$*
6128
IFS=$ac_save_IFS
6129
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
6130
6131
1.3.14 by Ken VanDine
Import upstream version 1.2.2
6132
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
6133
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
6134
if test "${ac_cv_path_SED+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
6135
  $as_echo_n "(cached) " >&6
1 by Brandon Hale
Import upstream version 0.2.0
6136
else
1.1.49 by Jo Shields
Import upstream version 0.15.0
6137
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6138
     for ac_i in 1 2 3 4 5 6 7; do
6139
       ac_script="$ac_script$as_nl$ac_script"
6140
     done
6141
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
1.3.14 by Ken VanDine
Import upstream version 1.2.2
6142
     { ac_script=; unset ac_script;}
1.1.49 by Jo Shields
Import upstream version 0.15.0
6143
     if test -z "$SED"; then
6144
  ac_path_SED_found=false
6145
  # Loop through the user's path and test for each of PROGNAME-LIST
6146
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1 by Brandon Hale
Import upstream version 0.2.0
6147
for as_dir in $PATH
6148
do
6149
  IFS=$as_save_IFS
6150
  test -z "$as_dir" && as_dir=.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
6151
    for ac_prog in sed gsed; do
1.1.49 by Jo Shields
Import upstream version 0.15.0
6152
    for ac_exec_ext in '' $ac_executable_extensions; do
6153
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6154
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
6155
# Check for GNU ac_path_SED and select it if it is found.
6156
  # Check for GNU $ac_path_SED
6157
case `"$ac_path_SED" --version 2>&1` in
6158
*GNU*)
6159
  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6160
*)
6161
  ac_count=0
6162
  $as_echo_n 0123456789 >"conftest.in"
6163
  while :
6164
  do
6165
    cat "conftest.in" "conftest.in" >"conftest.tmp"
6166
    mv "conftest.tmp" "conftest.in"
6167
    cp "conftest.in" "conftest.nl"
6168
    $as_echo '' >> "conftest.nl"
6169
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6170
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
1.3.14 by Ken VanDine
Import upstream version 1.2.2
6171
    as_fn_arith $ac_count + 1 && ac_count=$as_val
1.1.49 by Jo Shields
Import upstream version 0.15.0
6172
    if test $ac_count -gt ${ac_path_SED_max-0}; then
6173
      # Best one so far, save it but keep looking for a better one
6174
      ac_cv_path_SED="$ac_path_SED"
6175
      ac_path_SED_max=$ac_count
6176
    fi
6177
    # 10*(2^10) chars as input seems more than enough
6178
    test $ac_count -gt 10 && break
6179
  done
6180
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6181
esac
6182
6183
      $ac_path_SED_found && break 3
6184
    done
6185
  done
1.3.14 by Ken VanDine
Import upstream version 1.2.2
6186
  done
1.1.49 by Jo Shields
Import upstream version 0.15.0
6187
IFS=$as_save_IFS
6188
  if test -z "$ac_cv_path_SED"; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
6189
    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
1.1.49 by Jo Shields
Import upstream version 0.15.0
6190
  fi
6191
else
6192
  ac_cv_path_SED=$SED
6193
fi
6194
6195
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
6196
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
6197
$as_echo "$ac_cv_path_SED" >&6; }
6198
 SED="$ac_cv_path_SED"
6199
  rm -f conftest.sed
6200
6201
test -z "$SED" && SED=sed
6202
Xsed="$SED -e 1s/^X//"
6203
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213
1.3.14 by Ken VanDine
Import upstream version 1.2.2
6214
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
6215
$as_echo_n "checking for fgrep... " >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
6216
if test "${ac_cv_path_FGREP+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
6217
  $as_echo_n "(cached) " >&6
6218
else
6219
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6220
   then ac_cv_path_FGREP="$GREP -F"
6221
   else
6222
     if test -z "$FGREP"; then
6223
  ac_path_FGREP_found=false
6224
  # Loop through the user's path and test for each of PROGNAME-LIST
6225
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6226
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6227
do
6228
  IFS=$as_save_IFS
6229
  test -z "$as_dir" && as_dir=.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
6230
    for ac_prog in fgrep; do
1.1.49 by Jo Shields
Import upstream version 0.15.0
6231
    for ac_exec_ext in '' $ac_executable_extensions; do
6232
      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6233
      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
6234
# Check for GNU ac_path_FGREP and select it if it is found.
6235
  # Check for GNU $ac_path_FGREP
6236
case `"$ac_path_FGREP" --version 2>&1` in
6237
*GNU*)
6238
  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6239
*)
6240
  ac_count=0
6241
  $as_echo_n 0123456789 >"conftest.in"
6242
  while :
6243
  do
6244
    cat "conftest.in" "conftest.in" >"conftest.tmp"
6245
    mv "conftest.tmp" "conftest.in"
6246
    cp "conftest.in" "conftest.nl"
6247
    $as_echo 'FGREP' >> "conftest.nl"
6248
    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6249
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
1.3.14 by Ken VanDine
Import upstream version 1.2.2
6250
    as_fn_arith $ac_count + 1 && ac_count=$as_val
1.1.49 by Jo Shields
Import upstream version 0.15.0
6251
    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6252
      # Best one so far, save it but keep looking for a better one
6253
      ac_cv_path_FGREP="$ac_path_FGREP"
6254
      ac_path_FGREP_max=$ac_count
6255
    fi
6256
    # 10*(2^10) chars as input seems more than enough
6257
    test $ac_count -gt 10 && break
6258
  done
6259
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6260
esac
6261
6262
      $ac_path_FGREP_found && break 3
6263
    done
6264
  done
1.3.14 by Ken VanDine
Import upstream version 1.2.2
6265
  done
1.1.49 by Jo Shields
Import upstream version 0.15.0
6266
IFS=$as_save_IFS
6267
  if test -z "$ac_cv_path_FGREP"; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
6268
    as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
1.1.49 by Jo Shields
Import upstream version 0.15.0
6269
  fi
6270
else
6271
  ac_cv_path_FGREP=$FGREP
6272
fi
6273
6274
   fi
6275
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
6276
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
6277
$as_echo "$ac_cv_path_FGREP" >&6; }
6278
 FGREP="$ac_cv_path_FGREP"
6279
6280
6281
test -z "$GREP" && GREP=grep
6282
6283
6284
6285
6286
6287
6288
6289
6290
6291
6292
6293
6294
6295
6296
6297
6298
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
6299
6300
6301
# Check whether --with-gnu-ld was given.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
6302
if test "${with_gnu_ld+set}" = set; then :
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
6303
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
1 by Brandon Hale
Import upstream version 0.2.0
6304
else
6305
  with_gnu_ld=no
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
6306
fi
6307
1 by Brandon Hale
Import upstream version 0.2.0
6308
ac_prog=ld
6309
if test "$GCC" = yes; then
6310
  # Check if gcc -print-prog-name=ld gives a path.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
6311
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
6312
$as_echo_n "checking for ld used by $CC... " >&6; }
1 by Brandon Hale
Import upstream version 0.2.0
6313
  case $host in
6314
  *-*-mingw*)
6315
    # gcc leaves a trailing carriage return which upsets mingw
6316
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6317
  *)
6318
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6319
  esac
6320
  case $ac_prog in
6321
    # Accept absolute paths.
6322
    [\\/]* | ?:[\\/]*)
6323
      re_direlt='/[^/][^/]*/\.\./'
6324
      # Canonicalize the pathname of ld
1.1.49 by Jo Shields
Import upstream version 0.15.0
6325
      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6326
      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6327
	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
1 by Brandon Hale
Import upstream version 0.2.0
6328
      done
6329
      test -z "$LD" && LD="$ac_prog"
6330
      ;;
6331
  "")
6332
    # If it fails, then pretend we aren't using GCC.
6333
    ac_prog=ld
6334
    ;;
6335
  *)
6336
    # If it is relative, then search for the first ld in PATH.
6337
    with_gnu_ld=unknown
6338
    ;;
6339
  esac
6340
elif test "$with_gnu_ld" = yes; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
6341
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
6342
$as_echo_n "checking for GNU ld... " >&6; }
1 by Brandon Hale
Import upstream version 0.2.0
6343
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
6344
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
6345
$as_echo_n "checking for non-GNU ld... " >&6; }
1 by Brandon Hale
Import upstream version 0.2.0
6346
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
6347
if test "${lt_cv_path_LD+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
6348
  $as_echo_n "(cached) " >&6
1 by Brandon Hale
Import upstream version 0.2.0
6349
else
6350
  if test -z "$LD"; then
6351
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6352
  for ac_dir in $PATH; do
6353
    IFS="$lt_save_ifs"
6354
    test -z "$ac_dir" && ac_dir=.
6355
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6356
      lt_cv_path_LD="$ac_dir/$ac_prog"
6357
      # Check to see if the program is GNU ld.  I'd rather use --version,
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
6358
      # but apparently some variants of GNU ld only accept -v.
1 by Brandon Hale
Import upstream version 0.2.0
6359
      # Break only if it was the GNU/non-GNU ld that we prefer.
6360
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6361
      *GNU* | *'with BFD'*)
6362
	test "$with_gnu_ld" != no && break
6363
	;;
6364
      *)
6365
	test "$with_gnu_ld" != yes && break
6366
	;;
6367
      esac
6368
    fi
6369
  done
6370
  IFS="$lt_save_ifs"
6371
else
6372
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
6373
fi
6374
fi
6375
6376
LD="$lt_cv_path_LD"
6377
if test -n "$LD"; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
6378
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
6379
$as_echo "$LD" >&6; }
1 by Brandon Hale
Import upstream version 0.2.0
6380
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
6381
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
6382
$as_echo "no" >&6; }
1 by Brandon Hale
Import upstream version 0.2.0
6383
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
6384
test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
6385
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
6386
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
6387
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
6388
  $as_echo_n "(cached) " >&6
1 by Brandon Hale
Import upstream version 0.2.0
6389
else
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
6390
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
1 by Brandon Hale
Import upstream version 0.2.0
6391
case `$LD -v 2>&1 </dev/null` in
6392
*GNU* | *'with BFD'*)
6393
  lt_cv_prog_gnu_ld=yes
6394
  ;;
6395
*)
6396
  lt_cv_prog_gnu_ld=no
6397
  ;;
6398
esac
6399
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
6400
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
6401
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
1 by Brandon Hale
Import upstream version 0.2.0
6402
with_gnu_ld=$lt_cv_prog_gnu_ld
6403
6404
1.1.49 by Jo Shields
Import upstream version 0.15.0
6405
6406
6407
6408
6409
6410
6411
1.3.14 by Ken VanDine
Import upstream version 1.2.2
6412
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
6413
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
6414
if test "${lt_cv_path_NM+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
6415
  $as_echo_n "(cached) " >&6
1 by Brandon Hale
Import upstream version 0.2.0
6416
else
6417
  if test -n "$NM"; then
6418
  # Let the user override the test.
6419
  lt_cv_path_NM="$NM"
6420
else
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
6421
  lt_nm_to_check="${ac_tool_prefix}nm"
6422
  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6423
    lt_nm_to_check="$lt_nm_to_check nm"
6424
  fi
6425
  for lt_tmp_nm in $lt_nm_to_check; do
6426
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6427
    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6428
      IFS="$lt_save_ifs"
6429
      test -z "$ac_dir" && ac_dir=.
6430
      tmp_nm="$ac_dir/$lt_tmp_nm"
6431
      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6432
	# Check to see if the nm accepts a BSD-compat flag.
6433
	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
6434
	#   nm: unknown option "B" ignored
6435
	# Tru64's nm complains that /dev/null is an invalid object file
6436
	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6437
	*/dev/null* | *'Invalid file or object type'*)
6438
	  lt_cv_path_NM="$tmp_nm -B"
1 by Brandon Hale
Import upstream version 0.2.0
6439
	  break
6440
	  ;;
6441
	*)
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
6442
	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6443
	  */dev/null*)
6444
	    lt_cv_path_NM="$tmp_nm -p"
6445
	    break
6446
	    ;;
6447
	  *)
6448
	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6449
	    continue # so that we can try to find one that supports BSD flags
6450
	    ;;
6451
	  esac
1 by Brandon Hale
Import upstream version 0.2.0
6452
	  ;;
6453
	esac
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
6454
      fi
6455
    done
6456
    IFS="$lt_save_ifs"
1 by Brandon Hale
Import upstream version 0.2.0
6457
  done
1.1.49 by Jo Shields
Import upstream version 0.15.0
6458
  : ${lt_cv_path_NM=no}
6459
fi
6460
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
6461
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
6462
$as_echo "$lt_cv_path_NM" >&6; }
6463
if test "$lt_cv_path_NM" != "no"; then
6464
  NM="$lt_cv_path_NM"
6465
else
6466
  # Didn't find any BSD compatible name lister, look for dumpbin.
6467
  if test -n "$ac_tool_prefix"; then
6468
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
6469
  do
6470
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6471
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.3.14 by Ken VanDine
Import upstream version 1.2.2
6472
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
6473
$as_echo_n "checking for $ac_word... " >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
6474
if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
6475
  $as_echo_n "(cached) " >&6
6476
else
6477
  if test -n "$DUMPBIN"; then
6478
  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6479
else
6480
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6481
for as_dir in $PATH
6482
do
6483
  IFS=$as_save_IFS
6484
  test -z "$as_dir" && as_dir=.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
6485
    for ac_exec_ext in '' $ac_executable_extensions; do
1.1.49 by Jo Shields
Import upstream version 0.15.0
6486
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6487
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
1.3.14 by Ken VanDine
Import upstream version 1.2.2
6488
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
6489
    break 2
6490
  fi
6491
done
1.3.14 by Ken VanDine
Import upstream version 1.2.2
6492
  done
1.1.49 by Jo Shields
Import upstream version 0.15.0
6493
IFS=$as_save_IFS
6494
6495
fi
6496
fi
6497
DUMPBIN=$ac_cv_prog_DUMPBIN
6498
if test -n "$DUMPBIN"; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
6499
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
6500
$as_echo "$DUMPBIN" >&6; }
6501
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
6502
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
6503
$as_echo "no" >&6; }
6504
fi
6505
6506
6507
    test -n "$DUMPBIN" && break
6508
  done
6509
fi
6510
if test -z "$DUMPBIN"; then
6511
  ac_ct_DUMPBIN=$DUMPBIN
6512
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
6513
do
6514
  # Extract the first word of "$ac_prog", so it can be a program name with args.
6515
set dummy $ac_prog; ac_word=$2
1.3.14 by Ken VanDine
Import upstream version 1.2.2
6516
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
6517
$as_echo_n "checking for $ac_word... " >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
6518
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
6519
  $as_echo_n "(cached) " >&6
6520
else
6521
  if test -n "$ac_ct_DUMPBIN"; then
6522
  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # 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.3.14 by Ken VanDine
Import upstream version 1.2.2
6529
    for ac_exec_ext in '' $ac_executable_extensions; do
1.1.49 by Jo Shields
Import upstream version 0.15.0
6530
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6531
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
1.3.14 by Ken VanDine
Import upstream version 1.2.2
6532
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
6533
    break 2
6534
  fi
6535
done
1.3.14 by Ken VanDine
Import upstream version 1.2.2
6536
  done
1.1.49 by Jo Shields
Import upstream version 0.15.0
6537
IFS=$as_save_IFS
6538
6539
fi
6540
fi
6541
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6542
if test -n "$ac_ct_DUMPBIN"; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
6543
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
6544
$as_echo "$ac_ct_DUMPBIN" >&6; }
6545
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
6546
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
6547
$as_echo "no" >&6; }
6548
fi
6549
6550
6551
  test -n "$ac_ct_DUMPBIN" && break
6552
done
6553
6554
  if test "x$ac_ct_DUMPBIN" = x; then
6555
    DUMPBIN=":"
6556
  else
6557
    case $cross_compiling:$ac_tool_warned in
6558
yes:)
1.3.14 by Ken VanDine
Import upstream version 1.2.2
6559
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
6560
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6561
ac_tool_warned=yes ;;
6562
esac
6563
    DUMPBIN=$ac_ct_DUMPBIN
6564
  fi
6565
fi
6566
6567
6568
  if test "$DUMPBIN" != ":"; then
6569
    NM="$DUMPBIN"
6570
  fi
6571
fi
6572
test -z "$NM" && NM=nm
6573
6574
6575
6576
6577
6578
1.3.14 by Ken VanDine
Import upstream version 1.2.2
6579
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
6580
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
6581
if test "${lt_cv_nm_interface+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
6582
  $as_echo_n "(cached) " >&6
6583
else
6584
  lt_cv_nm_interface="BSD nm"
6585
  echo "int some_variable = 0;" > conftest.$ac_ext
1.3.14 by Ken VanDine
Import upstream version 1.2.2
6586
  (eval echo "\"\$as_me:6586: $ac_compile\"" >&5)
1.1.49 by Jo Shields
Import upstream version 0.15.0
6587
  (eval "$ac_compile" 2>conftest.err)
6588
  cat conftest.err >&5
1.3.14 by Ken VanDine
Import upstream version 1.2.2
6589
  (eval echo "\"\$as_me:6589: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
1.1.49 by Jo Shields
Import upstream version 0.15.0
6590
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6591
  cat conftest.err >&5
1.3.14 by Ken VanDine
Import upstream version 1.2.2
6592
  (eval echo "\"\$as_me:6592: output\"" >&5)
1.1.49 by Jo Shields
Import upstream version 0.15.0
6593
  cat conftest.out >&5
6594
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6595
    lt_cv_nm_interface="MS dumpbin"
6596
  fi
6597
  rm -f conftest*
6598
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
6599
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
6600
$as_echo "$lt_cv_nm_interface" >&6; }
6601
6602
# find the maximum length of command line arguments
1.3.14 by Ken VanDine
Import upstream version 1.2.2
6603
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
6604
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
6605
if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
6606
  $as_echo_n "(cached) " >&6
6607
else
6608
    i=0
6609
  teststring="ABCD"
6610
6611
  case $build_os in
6612
  msdosdjgpp*)
6613
    # On DJGPP, this test can blow up pretty badly due to problems in libc
6614
    # (any single argument exceeding 2000 bytes causes a buffer overrun
6615
    # during glob expansion).  Even if it were fixed, the result of this
6616
    # check would be larger than it should be.
6617
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
6618
    ;;
6619
6620
  gnu*)
6621
    # Under GNU Hurd, this test is not required because there is
6622
    # no limit to the length of command line arguments.
6623
    # Libtool will interpret -1 as no limit whatsoever
6624
    lt_cv_sys_max_cmd_len=-1;
6625
    ;;
6626
6627
  cygwin* | mingw* | cegcc*)
6628
    # On Win9x/ME, this test blows up -- it succeeds, but takes
6629
    # about 5 minutes as the teststring grows exponentially.
6630
    # Worse, since 9x/ME are not pre-emptively multitasking,
6631
    # you end up with a "frozen" computer, even though with patience
6632
    # the test eventually succeeds (with a max line length of 256k).
6633
    # Instead, let's just punt: use the minimum linelength reported by
6634
    # all of the supported platforms: 8192 (on NT/2K/XP).
6635
    lt_cv_sys_max_cmd_len=8192;
6636
    ;;
6637
6638
  amigaos*)
6639
    # On AmigaOS with pdksh, this test takes hours, literally.
6640
    # So we just punt and use a minimum line length of 8192.
6641
    lt_cv_sys_max_cmd_len=8192;
6642
    ;;
6643
6644
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6645
    # This has been around since 386BSD, at least.  Likely further.
6646
    if test -x /sbin/sysctl; then
6647
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6648
    elif test -x /usr/sbin/sysctl; then
6649
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6650
    else
6651
      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
6652
    fi
6653
    # And add a safety zone
6654
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6655
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6656
    ;;
6657
6658
  interix*)
6659
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
6660
    lt_cv_sys_max_cmd_len=196608
6661
    ;;
6662
6663
  osf*)
6664
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6665
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6666
    # nice to cause kernel panics so lets avoid the loop below.
6667
    # First set a reasonable default.
6668
    lt_cv_sys_max_cmd_len=16384
6669
    #
6670
    if test -x /sbin/sysconfig; then
6671
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6672
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
6673
      esac
6674
    fi
6675
    ;;
6676
  sco3.2v5*)
6677
    lt_cv_sys_max_cmd_len=102400
6678
    ;;
6679
  sysv5* | sco5v6* | sysv4.2uw2*)
6680
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6681
    if test -n "$kargmax"; then
6682
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
6683
    else
6684
      lt_cv_sys_max_cmd_len=32768
6685
    fi
6686
    ;;
6687
  *)
6688
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6689
    if test -n "$lt_cv_sys_max_cmd_len"; then
6690
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6691
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6692
    else
6693
      # Make teststring a little bigger before we do anything with it.
6694
      # a 1K string should be a reasonable start.
6695
      for i in 1 2 3 4 5 6 7 8 ; do
6696
        teststring=$teststring$teststring
6697
      done
6698
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6699
      # If test is not a shell built-in, we'll probably end up computing a
6700
      # maximum length that is only half of the actual maximum length, but
6701
      # we can't tell.
6702
      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
6703
	         = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
6704
	      test $i != 17 # 1/2 MB should be enough
6705
      do
6706
        i=`expr $i + 1`
6707
        teststring=$teststring$teststring
6708
      done
6709
      # Only check the string length outside the loop.
6710
      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6711
      teststring=
6712
      # Add a significant safety factor because C++ compilers can tack on
6713
      # massive amounts of additional arguments before passing them to the
6714
      # linker.  It appears as though 1/2 is a usable value.
6715
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6716
    fi
6717
    ;;
6718
  esac
6719
6720
fi
6721
6722
if test -n $lt_cv_sys_max_cmd_len ; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
6723
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
6724
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6725
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
6726
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
6727
$as_echo "none" >&6; }
6728
fi
6729
max_cmd_len=$lt_cv_sys_max_cmd_len
6730
6731
6732
6733
6734
6735
6736
: ${CP="cp -f"}
6737
: ${MV="mv -f"}
6738
: ${RM="rm -f"}
6739
1.3.14 by Ken VanDine
Import upstream version 1.2.2
6740
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
6741
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6742
# Try some XSI features
6743
xsi_shell=no
6744
( _lt_dummy="a/b/c"
6745
  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6746
      = c,a/b,, \
6747
    && eval 'test $(( 1 + 1 )) -eq 2 \
6748
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6749
  && xsi_shell=yes
1.3.14 by Ken VanDine
Import upstream version 1.2.2
6750
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
6751
$as_echo "$xsi_shell" >&6; }
6752
6753
1.3.14 by Ken VanDine
Import upstream version 1.2.2
6754
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
6755
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6756
lt_shell_append=no
6757
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6758
    >/dev/null 2>&1 \
6759
  && lt_shell_append=yes
1.3.14 by Ken VanDine
Import upstream version 1.2.2
6760
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
6761
$as_echo "$lt_shell_append" >&6; }
6762
6763
6764
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6765
  lt_unset=unset
6766
else
6767
  lt_unset=false
6768
fi
6769
6770
6771
6772
6773
6774
# test EBCDIC or ASCII
6775
case `echo X|tr X '\101'` in
6776
 A) # ASCII based system
6777
    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6778
  lt_SP2NL='tr \040 \012'
6779
  lt_NL2SP='tr \015\012 \040\040'
6780
  ;;
6781
 *) # EBCDIC based system
6782
  lt_SP2NL='tr \100 \n'
6783
  lt_NL2SP='tr \r\n \100\100'
6784
  ;;
6785
esac
6786
6787
6788
6789
6790
6791
6792
6793
6794
1.3.14 by Ken VanDine
Import upstream version 1.2.2
6795
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
6796
$as_echo_n "checking for $LD option to reload object files... " >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
6797
if test "${lt_cv_ld_reload_flag+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
6798
  $as_echo_n "(cached) " >&6
6799
else
6800
  lt_cv_ld_reload_flag='-r'
6801
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
6802
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
6803
$as_echo "$lt_cv_ld_reload_flag" >&6; }
6804
reload_flag=$lt_cv_ld_reload_flag
6805
case $reload_flag in
6806
"" | " "*) ;;
6807
*) reload_flag=" $reload_flag" ;;
6808
esac
6809
reload_cmds='$LD$reload_flag -o $output$reload_objs'
6810
case $host_os in
6811
  darwin*)
6812
    if test "$GCC" = yes; then
6813
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6814
    else
6815
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
6816
    fi
6817
    ;;
6818
esac
6819
6820
6821
6822
6823
6824
6825
6826
6827
6828
if test -n "$ac_tool_prefix"; then
6829
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6830
set dummy ${ac_tool_prefix}objdump; ac_word=$2
1.3.14 by Ken VanDine
Import upstream version 1.2.2
6831
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
6832
$as_echo_n "checking for $ac_word... " >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
6833
if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
6834
  $as_echo_n "(cached) " >&6
6835
else
6836
  if test -n "$OBJDUMP"; then
6837
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6838
else
6839
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6840
for as_dir in $PATH
6841
do
6842
  IFS=$as_save_IFS
6843
  test -z "$as_dir" && as_dir=.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
6844
    for ac_exec_ext in '' $ac_executable_extensions; do
1.1.49 by Jo Shields
Import upstream version 0.15.0
6845
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6846
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
1.3.14 by Ken VanDine
Import upstream version 1.2.2
6847
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
6848
    break 2
6849
  fi
6850
done
1.3.14 by Ken VanDine
Import upstream version 1.2.2
6851
  done
1.1.49 by Jo Shields
Import upstream version 0.15.0
6852
IFS=$as_save_IFS
6853
6854
fi
6855
fi
6856
OBJDUMP=$ac_cv_prog_OBJDUMP
6857
if test -n "$OBJDUMP"; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
6858
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
6859
$as_echo "$OBJDUMP" >&6; }
6860
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
6861
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
6862
$as_echo "no" >&6; }
6863
fi
6864
6865
6866
fi
6867
if test -z "$ac_cv_prog_OBJDUMP"; then
6868
  ac_ct_OBJDUMP=$OBJDUMP
6869
  # Extract the first word of "objdump", so it can be a program name with args.
6870
set dummy objdump; ac_word=$2
1.3.14 by Ken VanDine
Import upstream version 1.2.2
6871
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
6872
$as_echo_n "checking for $ac_word... " >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
6873
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
6874
  $as_echo_n "(cached) " >&6
6875
else
6876
  if test -n "$ac_ct_OBJDUMP"; then
6877
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6878
else
6879
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6880
for as_dir in $PATH
6881
do
6882
  IFS=$as_save_IFS
6883
  test -z "$as_dir" && as_dir=.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
6884
    for ac_exec_ext in '' $ac_executable_extensions; do
1.1.49 by Jo Shields
Import upstream version 0.15.0
6885
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6886
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
1.3.14 by Ken VanDine
Import upstream version 1.2.2
6887
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
6888
    break 2
6889
  fi
6890
done
1.3.14 by Ken VanDine
Import upstream version 1.2.2
6891
  done
1.1.49 by Jo Shields
Import upstream version 0.15.0
6892
IFS=$as_save_IFS
6893
6894
fi
6895
fi
6896
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6897
if test -n "$ac_ct_OBJDUMP"; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
6898
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
6899
$as_echo "$ac_ct_OBJDUMP" >&6; }
6900
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
6901
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
6902
$as_echo "no" >&6; }
6903
fi
6904
6905
  if test "x$ac_ct_OBJDUMP" = x; then
6906
    OBJDUMP="false"
6907
  else
6908
    case $cross_compiling:$ac_tool_warned in
6909
yes:)
1.3.14 by Ken VanDine
Import upstream version 1.2.2
6910
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
6911
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6912
ac_tool_warned=yes ;;
6913
esac
6914
    OBJDUMP=$ac_ct_OBJDUMP
6915
  fi
6916
else
6917
  OBJDUMP="$ac_cv_prog_OBJDUMP"
6918
fi
6919
6920
test -z "$OBJDUMP" && OBJDUMP=objdump
6921
6922
6923
6924
6925
6926
6927
6928
6929
1.3.14 by Ken VanDine
Import upstream version 1.2.2
6930
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
6931
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
6932
if test "${lt_cv_deplibs_check_method+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
6933
  $as_echo_n "(cached) " >&6
1 by Brandon Hale
Import upstream version 0.2.0
6934
else
6935
  lt_cv_file_magic_cmd='$MAGIC_CMD'
6936
lt_cv_file_magic_test_file=
6937
lt_cv_deplibs_check_method='unknown'
6938
# Need to set the preceding variable on all platforms that support
6939
# interlibrary dependencies.
6940
# 'none' -- dependencies not supported.
6941
# `unknown' -- same as none, but documents that we really don't know.
6942
# 'pass_all' -- all dependencies passed with no checks.
6943
# 'test_compile' -- check by making test program.
6944
# 'file_magic [[regex]]' -- check by looking for files in library path
6945
# which responds to the $file_magic_cmd with a given extended regex.
6946
# If you have `file' or equivalent on your system and you're not sure
6947
# whether `pass_all' will *always* work, you probably want this one.
6948
6949
case $host_os in
1.1.40 by Pedro Fragoso
Import upstream version 0.11.1
6950
aix[4-9]*)
1 by Brandon Hale
Import upstream version 0.2.0
6951
  lt_cv_deplibs_check_method=pass_all
6952
  ;;
6953
6954
beos*)
6955
  lt_cv_deplibs_check_method=pass_all
6956
  ;;
6957
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
6958
bsdi[45]*)
1 by Brandon Hale
Import upstream version 0.2.0
6959
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6960
  lt_cv_file_magic_cmd='/usr/bin/file -L'
6961
  lt_cv_file_magic_test_file=/shlib/libc.so
6962
  ;;
6963
6964
cygwin*)
6965
  # func_win32_libid is a shell function defined in ltmain.sh
6966
  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6967
  lt_cv_file_magic_cmd='func_win32_libid'
6968
  ;;
6969
6970
mingw* | pw32*)
6971
  # Base MSYS/MinGW do not provide the 'file' command needed by
1.1.30 by Sebastian Dröge
Import upstream version 0.9.1
6972
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
6973
  # unless we find 'file', for example because we are cross-compiling.
6974
  if ( file / ) >/dev/null 2>&1; then
6975
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6976
    lt_cv_file_magic_cmd='func_win32_libid'
6977
  else
6978
    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6979
    lt_cv_file_magic_cmd='$OBJDUMP -f'
6980
  fi
1 by Brandon Hale
Import upstream version 0.2.0
6981
  ;;
6982
1.1.49 by Jo Shields
Import upstream version 0.15.0
6983
cegcc)
6984
  # use the weaker test based on 'objdump'. See mingw*.
6985
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6986
  lt_cv_file_magic_cmd='$OBJDUMP -f'
6987
  ;;
6988
1 by Brandon Hale
Import upstream version 0.2.0
6989
darwin* | rhapsody*)
6990
  lt_cv_deplibs_check_method=pass_all
6991
  ;;
6992
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
6993
freebsd* | dragonfly*)
1.1.49 by Jo Shields
Import upstream version 0.15.0
6994
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
1 by Brandon Hale
Import upstream version 0.2.0
6995
    case $host_cpu in
6996
    i*86 )
6997
      # Not sure whether the presence of OpenBSD here was a mistake.
6998
      # Let's accept both of them until this is cleared up.
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
6999
      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
1 by Brandon Hale
Import upstream version 0.2.0
7000
      lt_cv_file_magic_cmd=/usr/bin/file
7001
      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7002
      ;;
7003
    esac
7004
  else
7005
    lt_cv_deplibs_check_method=pass_all
7006
  fi
7007
  ;;
7008
7009
gnu*)
7010
  lt_cv_deplibs_check_method=pass_all
7011
  ;;
7012
7013
hpux10.20* | hpux11*)
7014
  lt_cv_file_magic_cmd=/usr/bin/file
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
7015
  case $host_cpu in
1 by Brandon Hale
Import upstream version 0.2.0
7016
  ia64*)
7017
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7018
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7019
    ;;
7020
  hppa*64*)
7021
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
7022
    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7023
    ;;
7024
  *)
7025
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
7026
    lt_cv_file_magic_test_file=/usr/lib/libc.sl
7027
    ;;
7028
  esac
7029
  ;;
7030
1.1.30 by Sebastian Dröge
Import upstream version 0.9.1
7031
interix[3-9]*)
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
7032
  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7033
  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7034
  ;;
7035
1 by Brandon Hale
Import upstream version 0.2.0
7036
irix5* | irix6* | nonstopux*)
7037
  case $LD in
7038
  *-32|*"-32 ") libmagic=32-bit;;
7039
  *-n32|*"-n32 ") libmagic=N32;;
7040
  *-64|*"-64 ") libmagic=64-bit;;
7041
  *) libmagic=never-match;;
7042
  esac
7043
  lt_cv_deplibs_check_method=pass_all
7044
  ;;
7045
7046
# This must be Linux ELF.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
7047
linux* | k*bsd*-gnu | kopensolaris*-gnu)
1 by Brandon Hale
Import upstream version 0.2.0
7048
  lt_cv_deplibs_check_method=pass_all
7049
  ;;
7050
1.3.14 by Ken VanDine
Import upstream version 1.2.2
7051
netbsd* | netbsdelf*-gnu)
1.1.49 by Jo Shields
Import upstream version 0.15.0
7052
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
1 by Brandon Hale
Import upstream version 0.2.0
7053
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7054
  else
7055
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7056
  fi
7057
  ;;
7058
7059
newos6*)
7060
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7061
  lt_cv_file_magic_cmd=/usr/bin/file
7062
  lt_cv_file_magic_test_file=/usr/lib/libnls.so
7063
  ;;
7064
1.1.49 by Jo Shields
Import upstream version 0.15.0
7065
*nto* | *qnx*)
7066
  lt_cv_deplibs_check_method=pass_all
1 by Brandon Hale
Import upstream version 0.2.0
7067
  ;;
7068
7069
openbsd*)
1.1.49 by Jo Shields
Import upstream version 0.15.0
7070
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
7071
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
1 by Brandon Hale
Import upstream version 0.2.0
7072
  else
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
7073
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
1 by Brandon Hale
Import upstream version 0.2.0
7074
  fi
7075
  ;;
7076
7077
osf3* | osf4* | osf5*)
7078
  lt_cv_deplibs_check_method=pass_all
7079
  ;;
7080
1.1.30 by Sebastian Dröge
Import upstream version 0.9.1
7081
rdos*)
7082
  lt_cv_deplibs_check_method=pass_all
7083
  ;;
7084
1 by Brandon Hale
Import upstream version 0.2.0
7085
solaris*)
7086
  lt_cv_deplibs_check_method=pass_all
7087
  ;;
7088
1.1.49 by Jo Shields
Import upstream version 0.15.0
7089
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7090
  lt_cv_deplibs_check_method=pass_all
7091
  ;;
7092
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
7093
sysv4 | sysv4.3*)
1 by Brandon Hale
Import upstream version 0.2.0
7094
  case $host_vendor in
7095
  motorola)
7096
    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]'
7097
    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7098
    ;;
7099
  ncr)
7100
    lt_cv_deplibs_check_method=pass_all
7101
    ;;
7102
  sequent)
7103
    lt_cv_file_magic_cmd='/bin/file'
7104
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7105
    ;;
7106
  sni)
7107
    lt_cv_file_magic_cmd='/bin/file'
7108
    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7109
    lt_cv_file_magic_test_file=/lib/libc.so
7110
    ;;
7111
  siemens)
7112
    lt_cv_deplibs_check_method=pass_all
7113
    ;;
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
7114
  pc)
7115
    lt_cv_deplibs_check_method=pass_all
7116
    ;;
1 by Brandon Hale
Import upstream version 0.2.0
7117
  esac
7118
  ;;
7119
1.1.49 by Jo Shields
Import upstream version 0.15.0
7120
tpf*)
1 by Brandon Hale
Import upstream version 0.2.0
7121
  lt_cv_deplibs_check_method=pass_all
7122
  ;;
7123
esac
7124
7125
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
7126
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
7127
$as_echo "$lt_cv_deplibs_check_method" >&6; }
1 by Brandon Hale
Import upstream version 0.2.0
7128
file_magic_cmd=$lt_cv_file_magic_cmd
7129
deplibs_check_method=$lt_cv_deplibs_check_method
7130
test -z "$deplibs_check_method" && deplibs_check_method=unknown
7131
7132
7133
7134
1.1.49 by Jo Shields
Import upstream version 0.15.0
7135
7136
7137
7138
7139
7140
7141
7142
7143
if test -n "$ac_tool_prefix"; then
7144
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7145
set dummy ${ac_tool_prefix}ar; ac_word=$2
1.3.14 by Ken VanDine
Import upstream version 1.2.2
7146
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
7147
$as_echo_n "checking for $ac_word... " >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
7148
if test "${ac_cv_prog_AR+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
7149
  $as_echo_n "(cached) " >&6
7150
else
7151
  if test -n "$AR"; then
7152
  ac_cv_prog_AR="$AR" # Let the user override the test.
7153
else
7154
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7155
for as_dir in $PATH
7156
do
7157
  IFS=$as_save_IFS
7158
  test -z "$as_dir" && as_dir=.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
7159
    for ac_exec_ext in '' $ac_executable_extensions; do
1.1.49 by Jo Shields
Import upstream version 0.15.0
7160
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7161
    ac_cv_prog_AR="${ac_tool_prefix}ar"
1.3.14 by Ken VanDine
Import upstream version 1.2.2
7162
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
7163
    break 2
7164
  fi
7165
done
1.3.14 by Ken VanDine
Import upstream version 1.2.2
7166
  done
1.1.49 by Jo Shields
Import upstream version 0.15.0
7167
IFS=$as_save_IFS
7168
7169
fi
7170
fi
7171
AR=$ac_cv_prog_AR
7172
if test -n "$AR"; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
7173
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
7174
$as_echo "$AR" >&6; }
7175
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
7176
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
7177
$as_echo "no" >&6; }
7178
fi
7179
7180
7181
fi
7182
if test -z "$ac_cv_prog_AR"; then
7183
  ac_ct_AR=$AR
7184
  # Extract the first word of "ar", so it can be a program name with args.
7185
set dummy ar; ac_word=$2
1.3.14 by Ken VanDine
Import upstream version 1.2.2
7186
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
7187
$as_echo_n "checking for $ac_word... " >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
7188
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
7189
  $as_echo_n "(cached) " >&6
7190
else
7191
  if test -n "$ac_ct_AR"; then
7192
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7193
else
7194
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7195
for as_dir in $PATH
7196
do
7197
  IFS=$as_save_IFS
7198
  test -z "$as_dir" && as_dir=.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
7199
    for ac_exec_ext in '' $ac_executable_extensions; do
1.1.49 by Jo Shields
Import upstream version 0.15.0
7200
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7201
    ac_cv_prog_ac_ct_AR="ar"
1.3.14 by Ken VanDine
Import upstream version 1.2.2
7202
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
7203
    break 2
7204
  fi
7205
done
1.3.14 by Ken VanDine
Import upstream version 1.2.2
7206
  done
1.1.49 by Jo Shields
Import upstream version 0.15.0
7207
IFS=$as_save_IFS
7208
7209
fi
7210
fi
7211
ac_ct_AR=$ac_cv_prog_ac_ct_AR
7212
if test -n "$ac_ct_AR"; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
7213
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
7214
$as_echo "$ac_ct_AR" >&6; }
7215
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
7216
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
7217
$as_echo "no" >&6; }
7218
fi
7219
7220
  if test "x$ac_ct_AR" = x; then
7221
    AR="false"
7222
  else
7223
    case $cross_compiling:$ac_tool_warned in
7224
yes:)
1.3.14 by Ken VanDine
Import upstream version 1.2.2
7225
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
7226
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7227
ac_tool_warned=yes ;;
7228
esac
7229
    AR=$ac_ct_AR
7230
  fi
7231
else
7232
  AR="$ac_cv_prog_AR"
7233
fi
7234
7235
test -z "$AR" && AR=ar
7236
test -z "$AR_FLAGS" && AR_FLAGS=cru
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
if test -n "$ac_tool_prefix"; then
7249
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7250
set dummy ${ac_tool_prefix}strip; ac_word=$2
1.3.14 by Ken VanDine
Import upstream version 1.2.2
7251
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
7252
$as_echo_n "checking for $ac_word... " >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
7253
if test "${ac_cv_prog_STRIP+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
7254
  $as_echo_n "(cached) " >&6
7255
else
7256
  if test -n "$STRIP"; then
7257
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7258
else
7259
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7260
for as_dir in $PATH
7261
do
7262
  IFS=$as_save_IFS
7263
  test -z "$as_dir" && as_dir=.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
7264
    for ac_exec_ext in '' $ac_executable_extensions; do
1.1.49 by Jo Shields
Import upstream version 0.15.0
7265
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7266
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1.3.14 by Ken VanDine
Import upstream version 1.2.2
7267
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
7268
    break 2
7269
  fi
7270
done
1.3.14 by Ken VanDine
Import upstream version 1.2.2
7271
  done
1.1.49 by Jo Shields
Import upstream version 0.15.0
7272
IFS=$as_save_IFS
7273
7274
fi
7275
fi
7276
STRIP=$ac_cv_prog_STRIP
7277
if test -n "$STRIP"; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
7278
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
7279
$as_echo "$STRIP" >&6; }
7280
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
7281
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
7282
$as_echo "no" >&6; }
7283
fi
7284
7285
7286
fi
7287
if test -z "$ac_cv_prog_STRIP"; then
7288
  ac_ct_STRIP=$STRIP
7289
  # Extract the first word of "strip", so it can be a program name with args.
7290
set dummy strip; ac_word=$2
1.3.14 by Ken VanDine
Import upstream version 1.2.2
7291
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
7292
$as_echo_n "checking for $ac_word... " >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
7293
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
7294
  $as_echo_n "(cached) " >&6
7295
else
7296
  if test -n "$ac_ct_STRIP"; then
7297
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7298
else
7299
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7300
for as_dir in $PATH
7301
do
7302
  IFS=$as_save_IFS
7303
  test -z "$as_dir" && as_dir=.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
7304
    for ac_exec_ext in '' $ac_executable_extensions; do
1.1.49 by Jo Shields
Import upstream version 0.15.0
7305
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7306
    ac_cv_prog_ac_ct_STRIP="strip"
1.3.14 by Ken VanDine
Import upstream version 1.2.2
7307
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
7308
    break 2
7309
  fi
7310
done
1.3.14 by Ken VanDine
Import upstream version 1.2.2
7311
  done
1.1.49 by Jo Shields
Import upstream version 0.15.0
7312
IFS=$as_save_IFS
7313
7314
fi
7315
fi
7316
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7317
if test -n "$ac_ct_STRIP"; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
7318
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
7319
$as_echo "$ac_ct_STRIP" >&6; }
7320
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
7321
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
7322
$as_echo "no" >&6; }
7323
fi
7324
7325
  if test "x$ac_ct_STRIP" = x; then
7326
    STRIP=":"
7327
  else
7328
    case $cross_compiling:$ac_tool_warned in
7329
yes:)
1.3.14 by Ken VanDine
Import upstream version 1.2.2
7330
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
7331
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7332
ac_tool_warned=yes ;;
7333
esac
7334
    STRIP=$ac_ct_STRIP
7335
  fi
7336
else
7337
  STRIP="$ac_cv_prog_STRIP"
7338
fi
7339
7340
test -z "$STRIP" && STRIP=:
7341
7342
7343
7344
7345
7346
7347
if test -n "$ac_tool_prefix"; then
7348
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7349
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1.3.14 by Ken VanDine
Import upstream version 1.2.2
7350
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
7351
$as_echo_n "checking for $ac_word... " >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
7352
if test "${ac_cv_prog_RANLIB+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
7353
  $as_echo_n "(cached) " >&6
7354
else
7355
  if test -n "$RANLIB"; then
7356
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7357
else
7358
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7359
for as_dir in $PATH
7360
do
7361
  IFS=$as_save_IFS
7362
  test -z "$as_dir" && as_dir=.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
7363
    for ac_exec_ext in '' $ac_executable_extensions; do
1.1.49 by Jo Shields
Import upstream version 0.15.0
7364
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7365
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
1.3.14 by Ken VanDine
Import upstream version 1.2.2
7366
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
7367
    break 2
7368
  fi
7369
done
1.3.14 by Ken VanDine
Import upstream version 1.2.2
7370
  done
1.1.49 by Jo Shields
Import upstream version 0.15.0
7371
IFS=$as_save_IFS
7372
7373
fi
7374
fi
7375
RANLIB=$ac_cv_prog_RANLIB
7376
if test -n "$RANLIB"; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
7377
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
7378
$as_echo "$RANLIB" >&6; }
7379
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
7380
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
7381
$as_echo "no" >&6; }
7382
fi
7383
7384
7385
fi
7386
if test -z "$ac_cv_prog_RANLIB"; then
7387
  ac_ct_RANLIB=$RANLIB
7388
  # Extract the first word of "ranlib", so it can be a program name with args.
7389
set dummy ranlib; ac_word=$2
1.3.14 by Ken VanDine
Import upstream version 1.2.2
7390
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
7391
$as_echo_n "checking for $ac_word... " >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
7392
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
7393
  $as_echo_n "(cached) " >&6
7394
else
7395
  if test -n "$ac_ct_RANLIB"; then
7396
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7397
else
7398
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7399
for as_dir in $PATH
7400
do
7401
  IFS=$as_save_IFS
7402
  test -z "$as_dir" && as_dir=.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
7403
    for ac_exec_ext in '' $ac_executable_extensions; do
1.1.49 by Jo Shields
Import upstream version 0.15.0
7404
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7405
    ac_cv_prog_ac_ct_RANLIB="ranlib"
1.3.14 by Ken VanDine
Import upstream version 1.2.2
7406
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
7407
    break 2
7408
  fi
7409
done
1.3.14 by Ken VanDine
Import upstream version 1.2.2
7410
  done
1.1.49 by Jo Shields
Import upstream version 0.15.0
7411
IFS=$as_save_IFS
7412
7413
fi
7414
fi
7415
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7416
if test -n "$ac_ct_RANLIB"; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
7417
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
7418
$as_echo "$ac_ct_RANLIB" >&6; }
7419
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
7420
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
7421
$as_echo "no" >&6; }
7422
fi
7423
7424
  if test "x$ac_ct_RANLIB" = x; then
7425
    RANLIB=":"
7426
  else
7427
    case $cross_compiling:$ac_tool_warned in
7428
yes:)
1.3.14 by Ken VanDine
Import upstream version 1.2.2
7429
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
7430
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7431
ac_tool_warned=yes ;;
7432
esac
7433
    RANLIB=$ac_ct_RANLIB
7434
  fi
7435
else
7436
  RANLIB="$ac_cv_prog_RANLIB"
7437
fi
7438
7439
test -z "$RANLIB" && RANLIB=:
7440
7441
7442
7443
7444
7445
7446
# Determine commands to create old-style static archives.
7447
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7448
old_postinstall_cmds='chmod 644 $oldlib'
7449
old_postuninstall_cmds=
7450
7451
if test -n "$RANLIB"; then
7452
  case $host_os in
7453
  openbsd*)
7454
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7455
    ;;
7456
  *)
7457
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7458
    ;;
7459
  esac
7460
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7461
fi
7462
7463
7464
7465
7466
7467
7468
7469
7470
7471
7472
7473
7474
7475
7476
7477
7478
7479
7480
7481
7482
7483
7484
7485
7486
7487
7488
7489
7490
7491
7492
7493
7494
7495
1 by Brandon Hale
Import upstream version 0.2.0
7496
# If no C compiler was specified, use CC.
7497
LTCC=${LTCC-"$CC"}
7498
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
7499
# If no C compiler flags were specified, use CFLAGS.
7500
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7501
1 by Brandon Hale
Import upstream version 0.2.0
7502
# Allow CC to be a program name with arguments.
7503
compiler=$CC
7504
1.1.30 by Sebastian Dröge
Import upstream version 0.9.1
7505
1 by Brandon Hale
Import upstream version 0.2.0
7506
# Check for command to grab the raw symbol name followed by C symbol from nm.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
7507
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
7508
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
7509
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
7510
  $as_echo_n "(cached) " >&6
1 by Brandon Hale
Import upstream version 0.2.0
7511
else
7512
7513
# These are sane defaults that work on at least a few old systems.
7514
# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
7515
7516
# Character class describing NM global symbol codes.
7517
symcode='[BCDEGRST]'
7518
7519
# Regexp to match symbols that can be accessed directly from C.
7520
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7521
7522
# Define system-specific variables.
7523
case $host_os in
7524
aix*)
7525
  symcode='[BCDT]'
7526
  ;;
1.1.49 by Jo Shields
Import upstream version 0.15.0
7527
cygwin* | mingw* | pw32* | cegcc*)
1 by Brandon Hale
Import upstream version 0.2.0
7528
  symcode='[ABCDGISTW]'
7529
  ;;
1.1.49 by Jo Shields
Import upstream version 0.15.0
7530
hpux*)
1 by Brandon Hale
Import upstream version 0.2.0
7531
  if test "$host_cpu" = ia64; then
7532
    symcode='[ABCDEGRST]'
7533
  fi
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
7534
  ;;
1 by Brandon Hale
Import upstream version 0.2.0
7535
irix* | nonstopux*)
7536
  symcode='[BCDEGRST]'
7537
  ;;
7538
osf*)
7539
  symcode='[BCDEGQRST]'
7540
  ;;
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
7541
solaris*)
1 by Brandon Hale
Import upstream version 0.2.0
7542
  symcode='[BDRT]'
7543
  ;;
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
7544
sco3.2v5*)
7545
  symcode='[DT]'
7546
  ;;
7547
sysv4.2uw2*)
7548
  symcode='[DT]'
7549
  ;;
7550
sysv5* | sco5v6* | unixware* | OpenUNIX*)
7551
  symcode='[ABDT]'
7552
  ;;
1 by Brandon Hale
Import upstream version 0.2.0
7553
sysv4)
7554
  symcode='[DFNSTU]'
7555
  ;;
7556
esac
7557
1.1.49 by Jo Shields
Import upstream version 0.15.0
7558
# If we're using GNU nm, then use its standard symbol codes.
7559
case `$NM -V 2>&1` in
7560
*GNU* | *'with BFD'*)
7561
  symcode='[ABCDGIRSTW]' ;;
7562
esac
7563
7564
# Transform an extracted symbol line into a proper C declaration.
7565
# Some systems (esp. on ia64) link data and code symbols differently,
7566
# so use this general approach.
7567
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7568
7569
# Transform an extracted symbol line into symbol name and symbol address
7570
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
7571
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'"
7572
1 by Brandon Hale
Import upstream version 0.2.0
7573
# Handle CRLF in mingw tool chain
7574
opt_cr=
7575
case $build_os in
7576
mingw*)
1.1.49 by Jo Shields
Import upstream version 0.15.0
7577
  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
1 by Brandon Hale
Import upstream version 0.2.0
7578
  ;;
7579
esac
7580
1.1.49 by Jo Shields
Import upstream version 0.15.0
7581
# Try without a prefix underscore, then with it.
1 by Brandon Hale
Import upstream version 0.2.0
7582
for ac_symprfx in "" "_"; do
7583
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
7584
  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7585
  symxfrm="\\1 $ac_symprfx\\2 \\2"
7586
1 by Brandon Hale
Import upstream version 0.2.0
7587
  # Write the raw and C identifiers.
1.1.49 by Jo Shields
Import upstream version 0.15.0
7588
  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7589
    # Fake it for dumpbin and say T for any non-static function
7590
    # and D for any global variable.
7591
    # Also find C++ and __fastcall symbols from MSVC++,
7592
    # which start with @ or ?.
7593
    lt_cv_sys_global_symbol_pipe="$AWK '"\
7594
"     {last_section=section; section=\$ 3};"\
7595
"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7596
"     \$ 0!~/External *\|/{next};"\
7597
"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7598
"     {if(hide[section]) next};"\
7599
"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7600
"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7601
"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
7602
"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7603
"     ' prfx=^$ac_symprfx"
7604
  else
7605
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7606
  fi
1 by Brandon Hale
Import upstream version 0.2.0
7607
7608
  # Check to see that the pipe works correctly.
7609
  pipe_works=no
7610
7611
  rm -f conftest*
1.1.49 by Jo Shields
Import upstream version 0.15.0
7612
  cat > conftest.$ac_ext <<_LT_EOF
1 by Brandon Hale
Import upstream version 0.2.0
7613
#ifdef __cplusplus
7614
extern "C" {
7615
#endif
7616
char nm_test_var;
1.1.49 by Jo Shields
Import upstream version 0.15.0
7617
void nm_test_func(void);
7618
void nm_test_func(void){}
1 by Brandon Hale
Import upstream version 0.2.0
7619
#ifdef __cplusplus
7620
}
7621
#endif
7622
int main(){nm_test_var='a';nm_test_func();return(0);}
1.1.49 by Jo Shields
Import upstream version 0.15.0
7623
_LT_EOF
1 by Brandon Hale
Import upstream version 0.2.0
7624
1.3.14 by Ken VanDine
Import upstream version 1.2.2
7625
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1 by Brandon Hale
Import upstream version 0.2.0
7626
  (eval $ac_compile) 2>&5
7627
  ac_status=$?
1.3.14 by Ken VanDine
Import upstream version 1.2.2
7628
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7629
  test $ac_status = 0; }; then
1 by Brandon Hale
Import upstream version 0.2.0
7630
    # Now try to grab the symbols.
7631
    nlist=conftest.nm
1.3.14 by Ken VanDine
Import upstream version 1.2.2
7632
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
1 by Brandon Hale
Import upstream version 0.2.0
7633
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
7634
  ac_status=$?
1.3.14 by Ken VanDine
Import upstream version 1.2.2
7635
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7636
  test $ac_status = 0; } && test -s "$nlist"; then
1 by Brandon Hale
Import upstream version 0.2.0
7637
      # Try sorting and uniquifying the output.
7638
      if sort "$nlist" | uniq > "$nlist"T; then
7639
	mv -f "$nlist"T "$nlist"
7640
      else
7641
	rm -f "$nlist"T
7642
      fi
7643
7644
      # Make sure that we snagged all the symbols we need.
1.1.49 by Jo Shields
Import upstream version 0.15.0
7645
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7646
	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7647
	  cat <<_LT_EOF > conftest.$ac_ext
1 by Brandon Hale
Import upstream version 0.2.0
7648
#ifdef __cplusplus
7649
extern "C" {
7650
#endif
7651
1.1.49 by Jo Shields
Import upstream version 0.15.0
7652
_LT_EOF
1 by Brandon Hale
Import upstream version 0.2.0
7653
	  # Now generate the symbol file.
1.1.49 by Jo Shields
Import upstream version 0.15.0
7654
	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7655
7656
	  cat <<_LT_EOF >> conftest.$ac_ext
7657
7658
/* The mapping between symbol names and symbols.  */
1 by Brandon Hale
Import upstream version 0.2.0
7659
const struct {
7660
  const char *name;
1.1.49 by Jo Shields
Import upstream version 0.15.0
7661
  void       *address;
1 by Brandon Hale
Import upstream version 0.2.0
7662
}
1.1.49 by Jo Shields
Import upstream version 0.15.0
7663
lt__PROGRAM__LTX_preloaded_symbols[] =
1 by Brandon Hale
Import upstream version 0.2.0
7664
{
1.1.49 by Jo Shields
Import upstream version 0.15.0
7665
  { "@PROGRAM@", (void *) 0 },
7666
_LT_EOF
7667
	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7668
	  cat <<\_LT_EOF >> conftest.$ac_ext
7669
  {0, (void *) 0}
1 by Brandon Hale
Import upstream version 0.2.0
7670
};
7671
1.1.49 by Jo Shields
Import upstream version 0.15.0
7672
/* This works around a problem in FreeBSD linker */
7673
#ifdef FREEBSD_WORKAROUND
7674
static const void *lt_preloaded_setup() {
7675
  return lt__PROGRAM__LTX_preloaded_symbols;
7676
}
7677
#endif
7678
1 by Brandon Hale
Import upstream version 0.2.0
7679
#ifdef __cplusplus
7680
}
7681
#endif
1.1.49 by Jo Shields
Import upstream version 0.15.0
7682
_LT_EOF
1 by Brandon Hale
Import upstream version 0.2.0
7683
	  # Now try linking the two files.
7684
	  mv conftest.$ac_objext conftstm.$ac_objext
7685
	  lt_save_LIBS="$LIBS"
7686
	  lt_save_CFLAGS="$CFLAGS"
7687
	  LIBS="conftstm.$ac_objext"
7688
	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
1.3.14 by Ken VanDine
Import upstream version 1.2.2
7689
	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
1 by Brandon Hale
Import upstream version 0.2.0
7690
  (eval $ac_link) 2>&5
7691
  ac_status=$?
1.3.14 by Ken VanDine
Import upstream version 1.2.2
7692
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7693
  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
1 by Brandon Hale
Import upstream version 0.2.0
7694
	    pipe_works=yes
7695
	  fi
7696
	  LIBS="$lt_save_LIBS"
7697
	  CFLAGS="$lt_save_CFLAGS"
7698
	else
7699
	  echo "cannot find nm_test_func in $nlist" >&5
7700
	fi
7701
      else
7702
	echo "cannot find nm_test_var in $nlist" >&5
7703
      fi
7704
    else
7705
      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7706
    fi
7707
  else
7708
    echo "$progname: failed program was:" >&5
7709
    cat conftest.$ac_ext >&5
7710
  fi
1.1.40 by Pedro Fragoso
Import upstream version 0.11.1
7711
  rm -rf conftest* conftst*
1 by Brandon Hale
Import upstream version 0.2.0
7712
7713
  # Do not use the global_symbol_pipe unless it works.
7714
  if test "$pipe_works" = yes; then
7715
    break
7716
  else
7717
    lt_cv_sys_global_symbol_pipe=
7718
  fi
7719
done
7720
7721
fi
7722
7723
if test -z "$lt_cv_sys_global_symbol_pipe"; then
7724
  lt_cv_sys_global_symbol_to_cdecl=
7725
fi
7726
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
7727
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
7728
$as_echo "failed" >&6; }
7729
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
7730
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
7731
$as_echo "ok" >&6; }
7732
fi
7733
7734
7735
7736
7737
7738
7739
7740
7741
7742
7743
7744
7745
7746
7747
7748
7749
7750
7751
7752
7753
7754
7755
# Check whether --enable-libtool-lock was given.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
7756
if test "${enable_libtool_lock+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
7757
  enableval=$enable_libtool_lock;
7758
fi
7759
7760
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7761
7762
# Some flags need to be propagated to the compiler or linker for good
7763
# libtool support.
7764
case $host in
7765
ia64-*-hpux*)
7766
  # Find out which ABI we are using.
7767
  echo 'int i;' > conftest.$ac_ext
1.3.14 by Ken VanDine
Import upstream version 1.2.2
7768
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
7769
  (eval $ac_compile) 2>&5
7770
  ac_status=$?
1.3.14 by Ken VanDine
Import upstream version 1.2.2
7771
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7772
  test $ac_status = 0; }; then
1.1.49 by Jo Shields
Import upstream version 0.15.0
7773
    case `/usr/bin/file conftest.$ac_objext` in
7774
      *ELF-32*)
7775
	HPUX_IA64_MODE="32"
7776
	;;
7777
      *ELF-64*)
7778
	HPUX_IA64_MODE="64"
7779
	;;
7780
    esac
7781
  fi
7782
  rm -rf conftest*
7783
  ;;
7784
*-*-irix6*)
7785
  # Find out which ABI we are using.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
7786
  echo '#line 7786 "configure"' > conftest.$ac_ext
7787
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
7788
  (eval $ac_compile) 2>&5
7789
  ac_status=$?
1.3.14 by Ken VanDine
Import upstream version 1.2.2
7790
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7791
  test $ac_status = 0; }; then
1.1.49 by Jo Shields
Import upstream version 0.15.0
7792
    if test "$lt_cv_prog_gnu_ld" = yes; then
7793
      case `/usr/bin/file conftest.$ac_objext` in
7794
	*32-bit*)
7795
	  LD="${LD-ld} -melf32bsmip"
7796
	  ;;
7797
	*N32*)
7798
	  LD="${LD-ld} -melf32bmipn32"
7799
	  ;;
7800
	*64-bit*)
7801
	  LD="${LD-ld} -melf64bmip"
7802
	;;
7803
      esac
7804
    else
7805
      case `/usr/bin/file conftest.$ac_objext` in
7806
	*32-bit*)
7807
	  LD="${LD-ld} -32"
7808
	  ;;
7809
	*N32*)
7810
	  LD="${LD-ld} -n32"
7811
	  ;;
7812
	*64-bit*)
7813
	  LD="${LD-ld} -64"
7814
	  ;;
7815
      esac
7816
    fi
7817
  fi
7818
  rm -rf conftest*
7819
  ;;
7820
7821
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7822
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7823
  # Find out which ABI we are using.
7824
  echo 'int i;' > conftest.$ac_ext
1.3.14 by Ken VanDine
Import upstream version 1.2.2
7825
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
7826
  (eval $ac_compile) 2>&5
7827
  ac_status=$?
1.3.14 by Ken VanDine
Import upstream version 1.2.2
7828
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7829
  test $ac_status = 0; }; then
1.1.49 by Jo Shields
Import upstream version 0.15.0
7830
    case `/usr/bin/file conftest.o` in
7831
      *32-bit*)
7832
	case $host in
7833
	  x86_64-*kfreebsd*-gnu)
7834
	    LD="${LD-ld} -m elf_i386_fbsd"
7835
	    ;;
7836
	  x86_64-*linux*)
7837
	    LD="${LD-ld} -m elf_i386"
7838
	    ;;
7839
	  ppc64-*linux*|powerpc64-*linux*)
7840
	    LD="${LD-ld} -m elf32ppclinux"
7841
	    ;;
7842
	  s390x-*linux*)
7843
	    LD="${LD-ld} -m elf_s390"
7844
	    ;;
7845
	  sparc64-*linux*)
7846
	    LD="${LD-ld} -m elf32_sparc"
7847
	    ;;
7848
	esac
7849
	;;
7850
      *64-bit*)
7851
	case $host in
7852
	  x86_64-*kfreebsd*-gnu)
7853
	    LD="${LD-ld} -m elf_x86_64_fbsd"
7854
	    ;;
7855
	  x86_64-*linux*)
7856
	    LD="${LD-ld} -m elf_x86_64"
7857
	    ;;
7858
	  ppc*-*linux*|powerpc*-*linux*)
7859
	    LD="${LD-ld} -m elf64ppc"
7860
	    ;;
7861
	  s390*-*linux*|s390*-*tpf*)
7862
	    LD="${LD-ld} -m elf64_s390"
7863
	    ;;
7864
	  sparc*-*linux*)
7865
	    LD="${LD-ld} -m elf64_sparc"
7866
	    ;;
7867
	esac
7868
	;;
7869
    esac
7870
  fi
7871
  rm -rf conftest*
7872
  ;;
7873
7874
*-*-sco3.2v5*)
7875
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7876
  SAVE_CFLAGS="$CFLAGS"
7877
  CFLAGS="$CFLAGS -belf"
1.3.14 by Ken VanDine
Import upstream version 1.2.2
7878
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
7879
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
7880
if test "${lt_cv_cc_needs_belf+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
7881
  $as_echo_n "(cached) " >&6
7882
else
7883
  ac_ext=c
7884
ac_cpp='$CPP $CPPFLAGS'
7885
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7886
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7887
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7888
1.3.14 by Ken VanDine
Import upstream version 1.2.2
7889
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1.49 by Jo Shields
Import upstream version 0.15.0
7890
/* end confdefs.h.  */
7891
7892
int
7893
main ()
7894
{
7895
7896
  ;
7897
  return 0;
7898
}
7899
_ACEOF
1.3.14 by Ken VanDine
Import upstream version 1.2.2
7900
if ac_fn_c_try_link "$LINENO"; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
7901
  lt_cv_cc_needs_belf=yes
7902
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
7903
  lt_cv_cc_needs_belf=no
1.1.49 by Jo Shields
Import upstream version 0.15.0
7904
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
7905
rm -f core conftest.err conftest.$ac_objext \
7906
    conftest$ac_exeext conftest.$ac_ext
1.1.49 by Jo Shields
Import upstream version 0.15.0
7907
     ac_ext=c
7908
ac_cpp='$CPP $CPPFLAGS'
7909
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7910
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7911
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7912
7913
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
7914
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
7915
$as_echo "$lt_cv_cc_needs_belf" >&6; }
7916
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7917
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7918
    CFLAGS="$SAVE_CFLAGS"
7919
  fi
7920
  ;;
7921
sparc*-*solaris*)
7922
  # Find out which ABI we are using.
7923
  echo 'int i;' > conftest.$ac_ext
1.3.14 by Ken VanDine
Import upstream version 1.2.2
7924
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
7925
  (eval $ac_compile) 2>&5
7926
  ac_status=$?
1.3.14 by Ken VanDine
Import upstream version 1.2.2
7927
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7928
  test $ac_status = 0; }; then
1.1.49 by Jo Shields
Import upstream version 0.15.0
7929
    case `/usr/bin/file conftest.o` in
7930
    *64-bit*)
7931
      case $lt_cv_prog_gnu_ld in
7932
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
7933
      *)
7934
	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7935
	  LD="${LD-ld} -64"
7936
	fi
7937
	;;
7938
      esac
7939
      ;;
7940
    esac
7941
  fi
7942
  rm -rf conftest*
7943
  ;;
7944
esac
7945
7946
need_locks="$enable_libtool_lock"
1 by Brandon Hale
Import upstream version 0.2.0
7947
1.1.40 by Pedro Fragoso
Import upstream version 0.11.1
7948
7949
  case $host_os in
7950
    rhapsody* | darwin*)
7951
    if test -n "$ac_tool_prefix"; then
7952
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7953
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
1.3.14 by Ken VanDine
Import upstream version 1.2.2
7954
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
7955
$as_echo_n "checking for $ac_word... " >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
7956
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
7957
  $as_echo_n "(cached) " >&6
1.1.40 by Pedro Fragoso
Import upstream version 0.11.1
7958
else
7959
  if test -n "$DSYMUTIL"; then
7960
  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7961
else
7962
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7963
for as_dir in $PATH
7964
do
7965
  IFS=$as_save_IFS
7966
  test -z "$as_dir" && as_dir=.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
7967
    for ac_exec_ext in '' $ac_executable_extensions; do
1.1.40 by Pedro Fragoso
Import upstream version 0.11.1
7968
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7969
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
1.3.14 by Ken VanDine
Import upstream version 1.2.2
7970
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1.40 by Pedro Fragoso
Import upstream version 0.11.1
7971
    break 2
7972
  fi
7973
done
1.3.14 by Ken VanDine
Import upstream version 1.2.2
7974
  done
1.1.40 by Pedro Fragoso
Import upstream version 0.11.1
7975
IFS=$as_save_IFS
7976
7977
fi
7978
fi
7979
DSYMUTIL=$ac_cv_prog_DSYMUTIL
7980
if test -n "$DSYMUTIL"; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
7981
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
7982
$as_echo "$DSYMUTIL" >&6; }
1.1.40 by Pedro Fragoso
Import upstream version 0.11.1
7983
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
7984
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
7985
$as_echo "no" >&6; }
1.1.40 by Pedro Fragoso
Import upstream version 0.11.1
7986
fi
7987
7988
7989
fi
7990
if test -z "$ac_cv_prog_DSYMUTIL"; then
7991
  ac_ct_DSYMUTIL=$DSYMUTIL
7992
  # Extract the first word of "dsymutil", so it can be a program name with args.
7993
set dummy dsymutil; ac_word=$2
1.3.14 by Ken VanDine
Import upstream version 1.2.2
7994
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
7995
$as_echo_n "checking for $ac_word... " >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
7996
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
7997
  $as_echo_n "(cached) " >&6
1.1.40 by Pedro Fragoso
Import upstream version 0.11.1
7998
else
7999
  if test -n "$ac_ct_DSYMUTIL"; then
8000
  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8001
else
8002
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8003
for as_dir in $PATH
8004
do
8005
  IFS=$as_save_IFS
8006
  test -z "$as_dir" && as_dir=.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
8007
    for ac_exec_ext in '' $ac_executable_extensions; do
1.1.40 by Pedro Fragoso
Import upstream version 0.11.1
8008
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8009
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
1.3.14 by Ken VanDine
Import upstream version 1.2.2
8010
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1.40 by Pedro Fragoso
Import upstream version 0.11.1
8011
    break 2
8012
  fi
8013
done
1.3.14 by Ken VanDine
Import upstream version 1.2.2
8014
  done
1.1.40 by Pedro Fragoso
Import upstream version 0.11.1
8015
IFS=$as_save_IFS
8016
8017
fi
8018
fi
8019
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8020
if test -n "$ac_ct_DSYMUTIL"; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
8021
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
8022
$as_echo "$ac_ct_DSYMUTIL" >&6; }
1.1.40 by Pedro Fragoso
Import upstream version 0.11.1
8023
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
8024
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
8025
$as_echo "no" >&6; }
1.1.40 by Pedro Fragoso
Import upstream version 0.11.1
8026
fi
8027
8028
  if test "x$ac_ct_DSYMUTIL" = x; then
8029
    DSYMUTIL=":"
8030
  else
8031
    case $cross_compiling:$ac_tool_warned in
8032
yes:)
1.3.14 by Ken VanDine
Import upstream version 1.2.2
8033
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
8034
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1.1.40 by Pedro Fragoso
Import upstream version 0.11.1
8035
ac_tool_warned=yes ;;
8036
esac
8037
    DSYMUTIL=$ac_ct_DSYMUTIL
8038
  fi
8039
else
8040
  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8041
fi
8042
8043
    if test -n "$ac_tool_prefix"; then
8044
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8045
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
1.3.14 by Ken VanDine
Import upstream version 1.2.2
8046
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
8047
$as_echo_n "checking for $ac_word... " >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
8048
if test "${ac_cv_prog_NMEDIT+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
8049
  $as_echo_n "(cached) " >&6
1.1.40 by Pedro Fragoso
Import upstream version 0.11.1
8050
else
8051
  if test -n "$NMEDIT"; then
8052
  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8053
else
8054
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8055
for as_dir in $PATH
8056
do
8057
  IFS=$as_save_IFS
8058
  test -z "$as_dir" && as_dir=.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
8059
    for ac_exec_ext in '' $ac_executable_extensions; do
1.1.40 by Pedro Fragoso
Import upstream version 0.11.1
8060
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8061
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
1.3.14 by Ken VanDine
Import upstream version 1.2.2
8062
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1.40 by Pedro Fragoso
Import upstream version 0.11.1
8063
    break 2
8064
  fi
8065
done
1.3.14 by Ken VanDine
Import upstream version 1.2.2
8066
  done
1.1.40 by Pedro Fragoso
Import upstream version 0.11.1
8067
IFS=$as_save_IFS
8068
8069
fi
8070
fi
8071
NMEDIT=$ac_cv_prog_NMEDIT
8072
if test -n "$NMEDIT"; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
8073
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
8074
$as_echo "$NMEDIT" >&6; }
1.1.40 by Pedro Fragoso
Import upstream version 0.11.1
8075
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
8076
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
8077
$as_echo "no" >&6; }
1.1.40 by Pedro Fragoso
Import upstream version 0.11.1
8078
fi
8079
8080
8081
fi
8082
if test -z "$ac_cv_prog_NMEDIT"; then
8083
  ac_ct_NMEDIT=$NMEDIT
8084
  # Extract the first word of "nmedit", so it can be a program name with args.
8085
set dummy nmedit; ac_word=$2
1.3.14 by Ken VanDine
Import upstream version 1.2.2
8086
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
8087
$as_echo_n "checking for $ac_word... " >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
8088
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
8089
  $as_echo_n "(cached) " >&6
1.1.40 by Pedro Fragoso
Import upstream version 0.11.1
8090
else
8091
  if test -n "$ac_ct_NMEDIT"; then
8092
  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8093
else
8094
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8095
for as_dir in $PATH
8096
do
8097
  IFS=$as_save_IFS
8098
  test -z "$as_dir" && as_dir=.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
8099
    for ac_exec_ext in '' $ac_executable_extensions; do
1.1.40 by Pedro Fragoso
Import upstream version 0.11.1
8100
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8101
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
1.3.14 by Ken VanDine
Import upstream version 1.2.2
8102
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1.40 by Pedro Fragoso
Import upstream version 0.11.1
8103
    break 2
8104
  fi
8105
done
1.3.14 by Ken VanDine
Import upstream version 1.2.2
8106
  done
1.1.40 by Pedro Fragoso
Import upstream version 0.11.1
8107
IFS=$as_save_IFS
8108
8109
fi
8110
fi
8111
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8112
if test -n "$ac_ct_NMEDIT"; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
8113
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
8114
$as_echo "$ac_ct_NMEDIT" >&6; }
1.1.40 by Pedro Fragoso
Import upstream version 0.11.1
8115
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
8116
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
8117
$as_echo "no" >&6; }
1.1.40 by Pedro Fragoso
Import upstream version 0.11.1
8118
fi
8119
8120
  if test "x$ac_ct_NMEDIT" = x; then
8121
    NMEDIT=":"
8122
  else
8123
    case $cross_compiling:$ac_tool_warned in
8124
yes:)
1.3.14 by Ken VanDine
Import upstream version 1.2.2
8125
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
8126
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1.1.40 by Pedro Fragoso
Import upstream version 0.11.1
8127
ac_tool_warned=yes ;;
8128
esac
8129
    NMEDIT=$ac_ct_NMEDIT
8130
  fi
8131
else
8132
  NMEDIT="$ac_cv_prog_NMEDIT"
8133
fi
8134
1.1.49 by Jo Shields
Import upstream version 0.15.0
8135
    if test -n "$ac_tool_prefix"; then
8136
  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8137
set dummy ${ac_tool_prefix}lipo; ac_word=$2
1.3.14 by Ken VanDine
Import upstream version 1.2.2
8138
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
8139
$as_echo_n "checking for $ac_word... " >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
8140
if test "${ac_cv_prog_LIPO+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
8141
  $as_echo_n "(cached) " >&6
8142
else
8143
  if test -n "$LIPO"; then
8144
  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8145
else
8146
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8147
for as_dir in $PATH
8148
do
8149
  IFS=$as_save_IFS
8150
  test -z "$as_dir" && as_dir=.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
8151
    for ac_exec_ext in '' $ac_executable_extensions; do
1.1.49 by Jo Shields
Import upstream version 0.15.0
8152
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8153
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
1.3.14 by Ken VanDine
Import upstream version 1.2.2
8154
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
8155
    break 2
8156
  fi
8157
done
1.3.14 by Ken VanDine
Import upstream version 1.2.2
8158
  done
1.1.49 by Jo Shields
Import upstream version 0.15.0
8159
IFS=$as_save_IFS
8160
8161
fi
8162
fi
8163
LIPO=$ac_cv_prog_LIPO
8164
if test -n "$LIPO"; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
8165
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
8166
$as_echo "$LIPO" >&6; }
8167
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
8168
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
8169
$as_echo "no" >&6; }
8170
fi
8171
8172
8173
fi
8174
if test -z "$ac_cv_prog_LIPO"; then
8175
  ac_ct_LIPO=$LIPO
8176
  # Extract the first word of "lipo", so it can be a program name with args.
8177
set dummy lipo; ac_word=$2
1.3.14 by Ken VanDine
Import upstream version 1.2.2
8178
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
8179
$as_echo_n "checking for $ac_word... " >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
8180
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
8181
  $as_echo_n "(cached) " >&6
8182
else
8183
  if test -n "$ac_ct_LIPO"; then
8184
  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8185
else
8186
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8187
for as_dir in $PATH
8188
do
8189
  IFS=$as_save_IFS
8190
  test -z "$as_dir" && as_dir=.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
8191
    for ac_exec_ext in '' $ac_executable_extensions; do
1.1.49 by Jo Shields
Import upstream version 0.15.0
8192
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8193
    ac_cv_prog_ac_ct_LIPO="lipo"
1.3.14 by Ken VanDine
Import upstream version 1.2.2
8194
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
8195
    break 2
8196
  fi
8197
done
1.3.14 by Ken VanDine
Import upstream version 1.2.2
8198
  done
1.1.49 by Jo Shields
Import upstream version 0.15.0
8199
IFS=$as_save_IFS
8200
8201
fi
8202
fi
8203
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8204
if test -n "$ac_ct_LIPO"; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
8205
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
8206
$as_echo "$ac_ct_LIPO" >&6; }
8207
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
8208
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
8209
$as_echo "no" >&6; }
8210
fi
8211
8212
  if test "x$ac_ct_LIPO" = x; then
8213
    LIPO=":"
8214
  else
8215
    case $cross_compiling:$ac_tool_warned in
8216
yes:)
1.3.14 by Ken VanDine
Import upstream version 1.2.2
8217
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
8218
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8219
ac_tool_warned=yes ;;
8220
esac
8221
    LIPO=$ac_ct_LIPO
8222
  fi
8223
else
8224
  LIPO="$ac_cv_prog_LIPO"
8225
fi
8226
8227
    if test -n "$ac_tool_prefix"; then
8228
  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8229
set dummy ${ac_tool_prefix}otool; ac_word=$2
1.3.14 by Ken VanDine
Import upstream version 1.2.2
8230
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
8231
$as_echo_n "checking for $ac_word... " >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
8232
if test "${ac_cv_prog_OTOOL+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
8233
  $as_echo_n "(cached) " >&6
8234
else
8235
  if test -n "$OTOOL"; then
8236
  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8237
else
8238
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8239
for as_dir in $PATH
8240
do
8241
  IFS=$as_save_IFS
8242
  test -z "$as_dir" && as_dir=.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
8243
    for ac_exec_ext in '' $ac_executable_extensions; do
1.1.49 by Jo Shields
Import upstream version 0.15.0
8244
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8245
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
1.3.14 by Ken VanDine
Import upstream version 1.2.2
8246
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
8247
    break 2
8248
  fi
8249
done
1.3.14 by Ken VanDine
Import upstream version 1.2.2
8250
  done
1.1.49 by Jo Shields
Import upstream version 0.15.0
8251
IFS=$as_save_IFS
8252
8253
fi
8254
fi
8255
OTOOL=$ac_cv_prog_OTOOL
8256
if test -n "$OTOOL"; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
8257
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
8258
$as_echo "$OTOOL" >&6; }
8259
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
8260
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
8261
$as_echo "no" >&6; }
8262
fi
8263
8264
8265
fi
8266
if test -z "$ac_cv_prog_OTOOL"; then
8267
  ac_ct_OTOOL=$OTOOL
8268
  # Extract the first word of "otool", so it can be a program name with args.
8269
set dummy otool; ac_word=$2
1.3.14 by Ken VanDine
Import upstream version 1.2.2
8270
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
8271
$as_echo_n "checking for $ac_word... " >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
8272
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
8273
  $as_echo_n "(cached) " >&6
8274
else
8275
  if test -n "$ac_ct_OTOOL"; then
8276
  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8277
else
8278
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8279
for as_dir in $PATH
8280
do
8281
  IFS=$as_save_IFS
8282
  test -z "$as_dir" && as_dir=.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
8283
    for ac_exec_ext in '' $ac_executable_extensions; do
1.1.49 by Jo Shields
Import upstream version 0.15.0
8284
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8285
    ac_cv_prog_ac_ct_OTOOL="otool"
1.3.14 by Ken VanDine
Import upstream version 1.2.2
8286
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
8287
    break 2
8288
  fi
8289
done
1.3.14 by Ken VanDine
Import upstream version 1.2.2
8290
  done
1.1.49 by Jo Shields
Import upstream version 0.15.0
8291
IFS=$as_save_IFS
8292
8293
fi
8294
fi
8295
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8296
if test -n "$ac_ct_OTOOL"; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
8297
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
8298
$as_echo "$ac_ct_OTOOL" >&6; }
8299
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
8300
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
8301
$as_echo "no" >&6; }
8302
fi
8303
8304
  if test "x$ac_ct_OTOOL" = x; then
8305
    OTOOL=":"
8306
  else
8307
    case $cross_compiling:$ac_tool_warned in
8308
yes:)
1.3.14 by Ken VanDine
Import upstream version 1.2.2
8309
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
8310
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8311
ac_tool_warned=yes ;;
8312
esac
8313
    OTOOL=$ac_ct_OTOOL
8314
  fi
8315
else
8316
  OTOOL="$ac_cv_prog_OTOOL"
8317
fi
8318
8319
    if test -n "$ac_tool_prefix"; then
8320
  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8321
set dummy ${ac_tool_prefix}otool64; ac_word=$2
1.3.14 by Ken VanDine
Import upstream version 1.2.2
8322
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
8323
$as_echo_n "checking for $ac_word... " >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
8324
if test "${ac_cv_prog_OTOOL64+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
8325
  $as_echo_n "(cached) " >&6
8326
else
8327
  if test -n "$OTOOL64"; then
8328
  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8329
else
8330
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8331
for as_dir in $PATH
8332
do
8333
  IFS=$as_save_IFS
8334
  test -z "$as_dir" && as_dir=.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
8335
    for ac_exec_ext in '' $ac_executable_extensions; do
1.1.49 by Jo Shields
Import upstream version 0.15.0
8336
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8337
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
1.3.14 by Ken VanDine
Import upstream version 1.2.2
8338
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
8339
    break 2
8340
  fi
8341
done
1.3.14 by Ken VanDine
Import upstream version 1.2.2
8342
  done
1.1.49 by Jo Shields
Import upstream version 0.15.0
8343
IFS=$as_save_IFS
8344
8345
fi
8346
fi
8347
OTOOL64=$ac_cv_prog_OTOOL64
8348
if test -n "$OTOOL64"; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
8349
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
8350
$as_echo "$OTOOL64" >&6; }
8351
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
8352
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
8353
$as_echo "no" >&6; }
8354
fi
8355
8356
8357
fi
8358
if test -z "$ac_cv_prog_OTOOL64"; then
8359
  ac_ct_OTOOL64=$OTOOL64
8360
  # Extract the first word of "otool64", so it can be a program name with args.
8361
set dummy otool64; ac_word=$2
1.3.14 by Ken VanDine
Import upstream version 1.2.2
8362
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
8363
$as_echo_n "checking for $ac_word... " >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
8364
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
8365
  $as_echo_n "(cached) " >&6
8366
else
8367
  if test -n "$ac_ct_OTOOL64"; then
8368
  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8369
else
8370
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8371
for as_dir in $PATH
8372
do
8373
  IFS=$as_save_IFS
8374
  test -z "$as_dir" && as_dir=.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
8375
    for ac_exec_ext in '' $ac_executable_extensions; do
1.1.49 by Jo Shields
Import upstream version 0.15.0
8376
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8377
    ac_cv_prog_ac_ct_OTOOL64="otool64"
1.3.14 by Ken VanDine
Import upstream version 1.2.2
8378
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
8379
    break 2
8380
  fi
8381
done
1.3.14 by Ken VanDine
Import upstream version 1.2.2
8382
  done
1.1.49 by Jo Shields
Import upstream version 0.15.0
8383
IFS=$as_save_IFS
8384
8385
fi
8386
fi
8387
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8388
if test -n "$ac_ct_OTOOL64"; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
8389
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
8390
$as_echo "$ac_ct_OTOOL64" >&6; }
8391
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
8392
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
8393
$as_echo "no" >&6; }
8394
fi
8395
8396
  if test "x$ac_ct_OTOOL64" = x; then
8397
    OTOOL64=":"
8398
  else
8399
    case $cross_compiling:$ac_tool_warned in
8400
yes:)
1.3.14 by Ken VanDine
Import upstream version 1.2.2
8401
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
8402
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8403
ac_tool_warned=yes ;;
8404
esac
8405
    OTOOL64=$ac_ct_OTOOL64
8406
  fi
8407
else
8408
  OTOOL64="$ac_cv_prog_OTOOL64"
8409
fi
8410
8411
8412
8413
8414
8415
8416
8417
8418
8419
8420
8421
8422
8423
8424
8425
8426
8427
8428
8429
8430
8431
8432
8433
8434
8435
8436
1.3.14 by Ken VanDine
Import upstream version 1.2.2
8437
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
8438
$as_echo_n "checking for -single_module linker flag... " >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
8439
if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
8440
  $as_echo_n "(cached) " >&6
1.1.40 by Pedro Fragoso
Import upstream version 0.11.1
8441
else
8442
  lt_cv_apple_cc_single_mod=no
8443
      if test -z "${LT_MULTI_MODULE}"; then
1.1.49 by Jo Shields
Import upstream version 0.15.0
8444
	# By default we will add the -single_module flag. You can override
8445
	# by either setting the environment variable LT_MULTI_MODULE
8446
	# non-empty at configure time, or by adding -multi_module to the
8447
	# link flags.
8448
	rm -rf libconftest.dylib*
8449
	echo "int foo(void){return 1;}" > conftest.c
8450
	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8451
-dynamiclib -Wl,-single_module conftest.c" >&5
8452
	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8453
	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8454
        _lt_result=$?
8455
	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8456
	  lt_cv_apple_cc_single_mod=yes
8457
	else
8458
	  cat conftest.err >&5
8459
	fi
8460
	rm -rf libconftest.dylib*
8461
	rm -f conftest.*
1.1.40 by Pedro Fragoso
Import upstream version 0.11.1
8462
      fi
8463
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
8464
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
8465
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
8466
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
8467
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
8468
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
8469
  $as_echo_n "(cached) " >&6
1.1.40 by Pedro Fragoso
Import upstream version 0.11.1
8470
else
8471
  lt_cv_ld_exported_symbols_list=no
8472
      save_LDFLAGS=$LDFLAGS
8473
      echo "_main" > conftest.sym
8474
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
1.3.14 by Ken VanDine
Import upstream version 1.2.2
8475
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1.40 by Pedro Fragoso
Import upstream version 0.11.1
8476
/* end confdefs.h.  */
8477
8478
int
8479
main ()
8480
{
8481
8482
  ;
8483
  return 0;
8484
}
8485
_ACEOF
1.3.14 by Ken VanDine
Import upstream version 1.2.2
8486
if ac_fn_c_try_link "$LINENO"; then :
1.1.40 by Pedro Fragoso
Import upstream version 0.11.1
8487
  lt_cv_ld_exported_symbols_list=yes
8488
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
8489
  lt_cv_ld_exported_symbols_list=no
1.1.40 by Pedro Fragoso
Import upstream version 0.11.1
8490
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
8491
rm -f core conftest.err conftest.$ac_objext \
8492
    conftest$ac_exeext conftest.$ac_ext
1.1.49 by Jo Shields
Import upstream version 0.15.0
8493
	LDFLAGS="$save_LDFLAGS"
1.1.40 by Pedro Fragoso
Import upstream version 0.11.1
8494
8495
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
8496
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
8497
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
1.1.40 by Pedro Fragoso
Import upstream version 0.11.1
8498
    case $host_os in
1.1.49 by Jo Shields
Import upstream version 0.15.0
8499
    rhapsody* | darwin1.[012])
1.1.40 by Pedro Fragoso
Import upstream version 0.11.1
8500
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8501
    darwin1.*)
1.1.49 by Jo Shields
Import upstream version 0.15.0
8502
      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8503
    darwin*) # darwin 5.x on
1.1.40 by Pedro Fragoso
Import upstream version 0.11.1
8504
      # if running on 10.5 or later, the deployment target defaults
8505
      # to the OS version, if on x86, and 10.4, the deployment
8506
      # target defaults to 10.4. Don't you love it?
8507
      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
1.1.49 by Jo Shields
Import upstream version 0.15.0
8508
	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8509
	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8510
	10.[012]*)
8511
	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8512
	10.*)
8513
	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
1.1.40 by Pedro Fragoso
Import upstream version 0.11.1
8514
      esac
8515
    ;;
8516
  esac
8517
    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8518
      _lt_dar_single_mod='$single_module'
8519
    fi
8520
    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8521
      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8522
    else
1.1.49 by Jo Shields
Import upstream version 0.15.0
8523
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
1.1.40 by Pedro Fragoso
Import upstream version 0.11.1
8524
    fi
8525
    if test "$DSYMUTIL" != ":"; then
1.1.49 by Jo Shields
Import upstream version 0.15.0
8526
      _lt_dsymutil='~$DSYMUTIL $lib || :'
1.1.40 by Pedro Fragoso
Import upstream version 0.11.1
8527
    else
8528
      _lt_dsymutil=
8529
    fi
8530
    ;;
8531
  esac
8532
1.1.49 by Jo Shields
Import upstream version 0.15.0
8533
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
8534
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8535
		  inttypes.h stdint.h unistd.h
1.3.14 by Ken VanDine
Import upstream version 1.2.2
8536
do :
8537
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8538
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8539
"
8540
eval as_val=\$$as_ac_Header
8541
   if test "x$as_val" = x""yes; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
8542
  cat >>confdefs.h <<_ACEOF
8543
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8544
_ACEOF
8545
8546
fi
8547
8548
done
8549
8550
8551
for ac_header in dlfcn.h
1.3.14 by Ken VanDine
Import upstream version 1.2.2
8552
do :
8553
  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8554
"
8555
if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
8556
  cat >>confdefs.h <<_ACEOF
1.3.14 by Ken VanDine
Import upstream version 1.2.2
8557
#define HAVE_DLFCN_H 1
1.1.49 by Jo Shields
Import upstream version 0.15.0
8558
_ACEOF
8559
8560
fi
8561
8562
done
8563
8564
8565
8566
# Set options
8567
8568
8569
8570
        enable_dlopen=no
8571
8572
8573
  enable_win32_dll=no
8574
8575
8576
            # Check whether --enable-shared was given.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
8577
if test "${enable_shared+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
8578
  enableval=$enable_shared; p=${PACKAGE-default}
8579
    case $enableval in
8580
    yes) enable_shared=yes ;;
8581
    no) enable_shared=no ;;
8582
    *)
8583
      enable_shared=no
8584
      # Look at the argument we got.  We use all the common list separators.
8585
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8586
      for pkg in $enableval; do
8587
	IFS="$lt_save_ifs"
8588
	if test "X$pkg" = "X$p"; then
8589
	  enable_shared=yes
8590
	fi
8591
      done
8592
      IFS="$lt_save_ifs"
8593
      ;;
8594
    esac
8595
else
8596
  enable_shared=yes
8597
fi
8598
8599
8600
8601
8602
8603
8604
8605
8606
1 by Brandon Hale
Import upstream version 0.2.0
8607
8608
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
8609
# Check whether --with-pic was given.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
8610
if test "${with_pic+set}" = set; then :
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
8611
  withval=$with_pic; pic_mode="$withval"
1 by Brandon Hale
Import upstream version 0.2.0
8612
else
8613
  pic_mode=default
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
8614
fi
8615
1.1.49 by Jo Shields
Import upstream version 0.15.0
8616
1 by Brandon Hale
Import upstream version 0.2.0
8617
test -z "$pic_mode" && pic_mode=default
8618
1.1.49 by Jo Shields
Import upstream version 0.15.0
8619
8620
8621
8622
8623
8624
8625
  # Check whether --enable-fast-install was given.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
8626
if test "${enable_fast_install+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
8627
  enableval=$enable_fast_install; p=${PACKAGE-default}
8628
    case $enableval in
8629
    yes) enable_fast_install=yes ;;
8630
    no) enable_fast_install=no ;;
8631
    *)
8632
      enable_fast_install=no
8633
      # Look at the argument we got.  We use all the common list separators.
8634
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8635
      for pkg in $enableval; do
8636
	IFS="$lt_save_ifs"
8637
	if test "X$pkg" = "X$p"; then
8638
	  enable_fast_install=yes
8639
	fi
8640
      done
8641
      IFS="$lt_save_ifs"
8642
      ;;
8643
    esac
8644
else
8645
  enable_fast_install=yes
8646
fi
8647
8648
8649
8650
8651
8652
8653
8654
8655
8656
8657
8658
# This can be used to rebuild libtool when needed
8659
LIBTOOL_DEPS="$ltmain"
8660
8661
# Always use our own libtool.
8662
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8663
8664
8665
8666
8667
8668
8669
8670
8671
8672
8673
8674
8675
8676
8677
8678
8679
8680
8681
8682
8683
8684
8685
8686
8687
8688
test -z "$LN_S" && LN_S="ln -s"
8689
8690
8691
8692
8693
8694
8695
8696
8697
8698
8699
8700
8701
8702
8703
if test -n "${ZSH_VERSION+set}" ; then
8704
   setopt NO_GLOB_SUBST
8705
fi
8706
1.3.14 by Ken VanDine
Import upstream version 1.2.2
8707
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
8708
$as_echo_n "checking for objdir... " >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
8709
if test "${lt_cv_objdir+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
8710
  $as_echo_n "(cached) " >&6
8711
else
8712
  rm -f .libs 2>/dev/null
8713
mkdir .libs 2>/dev/null
8714
if test -d .libs; then
8715
  lt_cv_objdir=.libs
8716
else
8717
  # MS-DOS does not allow filenames that begin with a dot.
8718
  lt_cv_objdir=_libs
8719
fi
8720
rmdir .libs 2>/dev/null
8721
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
8722
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
8723
$as_echo "$lt_cv_objdir" >&6; }
8724
objdir=$lt_cv_objdir
8725
8726
8727
8728
8729
8730
cat >>confdefs.h <<_ACEOF
8731
#define LT_OBJDIR "$lt_cv_objdir/"
8732
_ACEOF
8733
8734
8735
8736
8737
8738
8739
8740
8741
8742
8743
8744
8745
8746
8747
8748
8749
8750
case $host_os in
8751
aix3*)
8752
  # AIX sometimes has problems with the GCC collect2 program.  For some
8753
  # reason, if we set the COLLECT_NAMES environment variable, the problems
8754
  # vanish in a puff of smoke.
8755
  if test "X${COLLECT_NAMES+set}" != Xset; then
8756
    COLLECT_NAMES=
8757
    export COLLECT_NAMES
8758
  fi
8759
  ;;
8760
esac
8761
8762
# Sed substitution that helps us do robust quoting.  It backslashifies
8763
# metacharacters that are still active within double-quoted strings.
8764
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
8765
8766
# Same as above, but do not quote variable references.
8767
double_quote_subst='s/\(["`\\]\)/\\\1/g'
8768
8769
# Sed substitution to delay expansion of an escaped shell variable in a
8770
# double_quote_subst'ed string.
8771
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
8772
8773
# Sed substitution to delay expansion of an escaped single quote.
8774
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
8775
8776
# Sed substitution to avoid accidental globbing in evaled expressions
8777
no_glob_subst='s/\*/\\\*/g'
8778
8779
# Global variables:
8780
ofile=libtool
8781
can_build_shared=yes
8782
8783
# All known linkers require a `.a' archive for static linking (except MSVC,
8784
# which needs '.lib').
8785
libext=a
8786
8787
with_gnu_ld="$lt_cv_prog_gnu_ld"
8788
8789
old_CC="$CC"
8790
old_CFLAGS="$CFLAGS"
8791
8792
# Set sane defaults for various variables
8793
test -z "$CC" && CC=cc
8794
test -z "$LTCC" && LTCC=$CC
8795
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8796
test -z "$LD" && LD=ld
8797
test -z "$ac_objext" && ac_objext=o
8798
8799
for cc_temp in $compiler""; do
8800
  case $cc_temp in
8801
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8802
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8803
    \-*) ;;
8804
    *) break;;
8805
  esac
8806
done
8807
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8808
8809
8810
# Only perform the check for file, if the check method requires it
8811
test -z "$MAGIC_CMD" && MAGIC_CMD=file
8812
case $deplibs_check_method in
8813
file_magic*)
8814
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
8815
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
8816
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
8817
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
8818
  $as_echo_n "(cached) " >&6
8819
else
8820
  case $MAGIC_CMD in
8821
[\\/*] |  ?:[\\/]*)
8822
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8823
  ;;
8824
*)
8825
  lt_save_MAGIC_CMD="$MAGIC_CMD"
8826
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8827
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8828
  for ac_dir in $ac_dummy; do
8829
    IFS="$lt_save_ifs"
8830
    test -z "$ac_dir" && ac_dir=.
8831
    if test -f $ac_dir/${ac_tool_prefix}file; then
8832
      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8833
      if test -n "$file_magic_test_file"; then
8834
	case $deplibs_check_method in
8835
	"file_magic "*)
8836
	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8837
	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8838
	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8839
	    $EGREP "$file_magic_regex" > /dev/null; then
8840
	    :
8841
	  else
8842
	    cat <<_LT_EOF 1>&2
8843
8844
*** Warning: the command libtool uses to detect shared libraries,
8845
*** $file_magic_cmd, produces output that libtool cannot recognize.
8846
*** The result is that libtool may fail to recognize shared libraries
8847
*** as such.  This will affect the creation of libtool libraries that
8848
*** depend on shared libraries, but programs linked with such libtool
8849
*** libraries will work regardless of this problem.  Nevertheless, you
8850
*** may want to report the problem to your system manager and/or to
8851
*** bug-libtool@gnu.org
8852
8853
_LT_EOF
8854
	  fi ;;
8855
	esac
8856
      fi
8857
      break
8858
    fi
8859
  done
8860
  IFS="$lt_save_ifs"
8861
  MAGIC_CMD="$lt_save_MAGIC_CMD"
8862
  ;;
8863
esac
8864
fi
8865
8866
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8867
if test -n "$MAGIC_CMD"; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
8868
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
8869
$as_echo "$MAGIC_CMD" >&6; }
8870
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
8871
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
8872
$as_echo "no" >&6; }
8873
fi
8874
8875
8876
8877
8878
8879
if test -z "$lt_cv_path_MAGIC_CMD"; then
8880
  if test -n "$ac_tool_prefix"; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
8881
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
8882
$as_echo_n "checking for file... " >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
8883
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
8884
  $as_echo_n "(cached) " >&6
8885
else
8886
  case $MAGIC_CMD in
8887
[\\/*] |  ?:[\\/]*)
8888
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8889
  ;;
8890
*)
8891
  lt_save_MAGIC_CMD="$MAGIC_CMD"
8892
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8893
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8894
  for ac_dir in $ac_dummy; do
8895
    IFS="$lt_save_ifs"
8896
    test -z "$ac_dir" && ac_dir=.
8897
    if test -f $ac_dir/file; then
8898
      lt_cv_path_MAGIC_CMD="$ac_dir/file"
8899
      if test -n "$file_magic_test_file"; then
8900
	case $deplibs_check_method in
8901
	"file_magic "*)
8902
	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8903
	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8904
	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8905
	    $EGREP "$file_magic_regex" > /dev/null; then
8906
	    :
8907
	  else
8908
	    cat <<_LT_EOF 1>&2
8909
8910
*** Warning: the command libtool uses to detect shared libraries,
8911
*** $file_magic_cmd, produces output that libtool cannot recognize.
8912
*** The result is that libtool may fail to recognize shared libraries
8913
*** as such.  This will affect the creation of libtool libraries that
8914
*** depend on shared libraries, but programs linked with such libtool
8915
*** libraries will work regardless of this problem.  Nevertheless, you
8916
*** may want to report the problem to your system manager and/or to
8917
*** bug-libtool@gnu.org
8918
8919
_LT_EOF
8920
	  fi ;;
8921
	esac
8922
      fi
8923
      break
8924
    fi
8925
  done
8926
  IFS="$lt_save_ifs"
8927
  MAGIC_CMD="$lt_save_MAGIC_CMD"
8928
  ;;
8929
esac
8930
fi
8931
8932
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8933
if test -n "$MAGIC_CMD"; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
8934
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
8935
$as_echo "$MAGIC_CMD" >&6; }
8936
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
8937
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
8938
$as_echo "no" >&6; }
8939
fi
8940
8941
8942
  else
8943
    MAGIC_CMD=:
8944
  fi
8945
fi
8946
8947
  fi
8948
  ;;
8949
esac
8950
1 by Brandon Hale
Import upstream version 0.2.0
8951
# Use C for the default configuration in the libtool script
1.1.49 by Jo Shields
Import upstream version 0.15.0
8952
1 by Brandon Hale
Import upstream version 0.2.0
8953
lt_save_CC="$CC"
8954
ac_ext=c
8955
ac_cpp='$CPP $CPPFLAGS'
8956
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8957
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8958
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8959
8960
8961
# Source file extension for C test sources.
8962
ac_ext=c
8963
8964
# Object file extension for compiled C test sources.
8965
objext=o
8966
objext=$objext
8967
8968
# Code to be used in simple compile tests
1.1.30 by Sebastian Dröge
Import upstream version 0.9.1
8969
lt_simple_compile_test_code="int some_variable = 0;"
1 by Brandon Hale
Import upstream version 0.2.0
8970
8971
# Code to be used in simple link tests
1.1.30 by Sebastian Dröge
Import upstream version 0.9.1
8972
lt_simple_link_test_code='int main(){return(0);}'
1 by Brandon Hale
Import upstream version 0.2.0
8973
8974
1.1.49 by Jo Shields
Import upstream version 0.15.0
8975
8976
8977
8978
8979
1 by Brandon Hale
Import upstream version 0.2.0
8980
# If no C compiler was specified, use CC.
8981
LTCC=${LTCC-"$CC"}
8982
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
8983
# If no C compiler flags were specified, use CFLAGS.
8984
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8985
1 by Brandon Hale
Import upstream version 0.2.0
8986
# Allow CC to be a program name with arguments.
8987
compiler=$CC
8988
1.1.49 by Jo Shields
Import upstream version 0.15.0
8989
# Save the default compiler, since it gets overwritten when the other
8990
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8991
compiler_DEFAULT=$CC
1 by Brandon Hale
Import upstream version 0.2.0
8992
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
8993
# save warnings/boilerplate of simple test code
8994
ac_outfile=conftest.$ac_objext
1.1.30 by Sebastian Dröge
Import upstream version 0.9.1
8995
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
8996
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8997
_lt_compiler_boilerplate=`cat conftest.err`
1.1.49 by Jo Shields
Import upstream version 0.15.0
8998
$RM conftest*
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
8999
9000
ac_outfile=conftest.$ac_objext
1.1.30 by Sebastian Dröge
Import upstream version 0.9.1
9001
echo "$lt_simple_link_test_code" >conftest.$ac_ext
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
9002
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9003
_lt_linker_boilerplate=`cat conftest.err`
1.1.49 by Jo Shields
Import upstream version 0.15.0
9004
$RM -r conftest*
9005
9006
9007
if test -n "$compiler"; then
1 by Brandon Hale
Import upstream version 0.2.0
9008
9009
lt_prog_compiler_no_builtin_flag=
9010
9011
if test "$GCC" = yes; then
9012
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
9013
1.3.14 by Ken VanDine
Import upstream version 1.2.2
9014
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
9015
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
9016
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
9017
  $as_echo_n "(cached) " >&6
1 by Brandon Hale
Import upstream version 0.2.0
9018
else
9019
  lt_cv_prog_compiler_rtti_exceptions=no
1.1.49 by Jo Shields
Import upstream version 0.15.0
9020
   ac_outfile=conftest.$ac_objext
1.1.30 by Sebastian Dröge
Import upstream version 0.9.1
9021
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
1 by Brandon Hale
Import upstream version 0.2.0
9022
   lt_compiler_flag="-fno-rtti -fno-exceptions"
9023
   # Insert the option either (1) after the last *FLAGS variable, or
9024
   # (2) before a word containing "conftest.", or (3) at the end.
9025
   # Note that $ac_compile itself does not contain backslashes and begins
9026
   # with a dollar sign (not a hyphen), so the echo should work correctly.
9027
   # The option is referenced via a variable to avoid confusing sed.
9028
   lt_compile=`echo "$ac_compile" | $SED \
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
9029
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1 by Brandon Hale
Import upstream version 0.2.0
9030
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9031
   -e 's:$: $lt_compiler_flag:'`
1.3.14 by Ken VanDine
Import upstream version 1.2.2
9032
   (eval echo "\"\$as_me:9032: $lt_compile\"" >&5)
1 by Brandon Hale
Import upstream version 0.2.0
9033
   (eval "$lt_compile" 2>conftest.err)
9034
   ac_status=$?
9035
   cat conftest.err >&5
1.3.14 by Ken VanDine
Import upstream version 1.2.2
9036
   echo "$as_me:9036: \$? = $ac_status" >&5
1 by Brandon Hale
Import upstream version 0.2.0
9037
   if (exit $ac_status) && test -s "$ac_outfile"; then
9038
     # The compiler can only warn and ignore the option if not recognized
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
9039
     # So say no if there are warnings other than the usual output.
1.1.49 by Jo Shields
Import upstream version 0.15.0
9040
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
9041
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9042
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
1 by Brandon Hale
Import upstream version 0.2.0
9043
       lt_cv_prog_compiler_rtti_exceptions=yes
9044
     fi
9045
   fi
1.1.49 by Jo Shields
Import upstream version 0.15.0
9046
   $RM conftest*
1 by Brandon Hale
Import upstream version 0.2.0
9047
9048
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
9049
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
9050
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
1 by Brandon Hale
Import upstream version 0.2.0
9051
9052
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9053
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9054
else
9055
    :
9056
fi
9057
9058
fi
9059
1.1.49 by Jo Shields
Import upstream version 0.15.0
9060
9061
9062
9063
9064
9065
  lt_prog_compiler_wl=
1 by Brandon Hale
Import upstream version 0.2.0
9066
lt_prog_compiler_pic=
9067
lt_prog_compiler_static=
9068
1.3.14 by Ken VanDine
Import upstream version 1.2.2
9069
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
9070
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
1 by Brandon Hale
Import upstream version 0.2.0
9071
9072
  if test "$GCC" = yes; then
9073
    lt_prog_compiler_wl='-Wl,'
9074
    lt_prog_compiler_static='-static'
9075
9076
    case $host_os in
9077
      aix*)
9078
      # All AIX code is PIC.
9079
      if test "$host_cpu" = ia64; then
9080
	# AIX 5 now supports IA64 processor
9081
	lt_prog_compiler_static='-Bstatic'
9082
      fi
9083
      ;;
9084
9085
    amigaos*)
1.1.49 by Jo Shields
Import upstream version 0.15.0
9086
      case $host_cpu in
9087
      powerpc)
9088
            # see comment about AmigaOS4 .so support
9089
            lt_prog_compiler_pic='-fPIC'
9090
        ;;
9091
      m68k)
9092
            # FIXME: we need at least 68020 code to build shared libraries, but
9093
            # adding the `-m68020' flag to GCC prevents building anything better,
9094
            # like `-m68040'.
9095
            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9096
        ;;
9097
      esac
1 by Brandon Hale
Import upstream version 0.2.0
9098
      ;;
9099
1.1.30 by Sebastian Dröge
Import upstream version 0.9.1
9100
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
1 by Brandon Hale
Import upstream version 0.2.0
9101
      # PIC is the default for these OSes.
9102
      ;;
9103
1.1.49 by Jo Shields
Import upstream version 0.15.0
9104
    mingw* | cygwin* | pw32* | os2* | cegcc*)
1 by Brandon Hale
Import upstream version 0.2.0
9105
      # This hack is so that the source file can tell whether it is being
9106
      # built for inclusion in a dll (and should export symbols for example).
1.1.30 by Sebastian Dröge
Import upstream version 0.9.1
9107
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
9108
      # (--disable-auto-import) libraries
1 by Brandon Hale
Import upstream version 0.2.0
9109
      lt_prog_compiler_pic='-DDLL_EXPORT'
9110
      ;;
9111
9112
    darwin* | rhapsody*)
9113
      # PIC is the default on this platform
9114
      # Common symbols not allowed in MH_DYLIB files
9115
      lt_prog_compiler_pic='-fno-common'
9116
      ;;
9117
1.1.49 by Jo Shields
Import upstream version 0.15.0
9118
    hpux*)
9119
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9120
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
9121
      # sets the default TLS model and affects inlining.
9122
      case $host_cpu in
9123
      hppa*64*)
9124
	# +Z the default
9125
	;;
9126
      *)
9127
	lt_prog_compiler_pic='-fPIC'
9128
	;;
9129
      esac
9130
      ;;
9131
1.1.30 by Sebastian Dröge
Import upstream version 0.9.1
9132
    interix[3-9]*)
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
9133
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9134
      # Instead, we relocate shared libraries at runtime.
9135
      ;;
9136
1 by Brandon Hale
Import upstream version 0.2.0
9137
    msdosdjgpp*)
9138
      # Just because we use GCC doesn't mean we suddenly get shared libraries
9139
      # on systems that don't support them.
9140
      lt_prog_compiler_can_build_shared=no
9141
      enable_shared=no
9142
      ;;
9143
1.1.49 by Jo Shields
Import upstream version 0.15.0
9144
    *nto* | *qnx*)
9145
      # QNX uses GNU C++, but need to define -shared option too, otherwise
9146
      # it will coredump.
9147
      lt_prog_compiler_pic='-fPIC -shared'
9148
      ;;
9149
1 by Brandon Hale
Import upstream version 0.2.0
9150
    sysv4*MP*)
9151
      if test -d /usr/nec; then
9152
	lt_prog_compiler_pic=-Kconform_pic
9153
      fi
9154
      ;;
9155
9156
    *)
9157
      lt_prog_compiler_pic='-fPIC'
9158
      ;;
9159
    esac
9160
  else
9161
    # PORTME Check for flag to pass linker flags through the system compiler.
9162
    case $host_os in
9163
    aix*)
9164
      lt_prog_compiler_wl='-Wl,'
9165
      if test "$host_cpu" = ia64; then
9166
	# AIX 5 now supports IA64 processor
9167
	lt_prog_compiler_static='-Bstatic'
9168
      else
9169
	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9170
      fi
9171
      ;;
9172
1.1.49 by Jo Shields
Import upstream version 0.15.0
9173
    mingw* | cygwin* | pw32* | os2* | cegcc*)
1 by Brandon Hale
Import upstream version 0.2.0
9174
      # This hack is so that the source file can tell whether it is being
9175
      # built for inclusion in a dll (and should export symbols for example).
9176
      lt_prog_compiler_pic='-DDLL_EXPORT'
9177
      ;;
9178
9179
    hpux9* | hpux10* | hpux11*)
9180
      lt_prog_compiler_wl='-Wl,'
9181
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9182
      # not for PA HP-UX.
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
9183
      case $host_cpu in
1 by Brandon Hale
Import upstream version 0.2.0
9184
      hppa*64*|ia64*)
9185
	# +Z the default
9186
	;;
9187
      *)
9188
	lt_prog_compiler_pic='+Z'
9189
	;;
9190
      esac
9191
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
9192
      lt_prog_compiler_static='${wl}-a ${wl}archive'
9193
      ;;
9194
9195
    irix5* | irix6* | nonstopux*)
9196
      lt_prog_compiler_wl='-Wl,'
9197
      # PIC (with -KPIC) is the default.
9198
      lt_prog_compiler_static='-non_shared'
9199
      ;;
9200
1.3.14 by Ken VanDine
Import upstream version 1.2.2
9201
    linux* | k*bsd*-gnu | kopensolaris*-gnu)
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
9202
      case $cc_basename in
1.1.49 by Jo Shields
Import upstream version 0.15.0
9203
      # old Intel for x86_64 which still supported -KPIC.
9204
      ecc*)
1 by Brandon Hale
Import upstream version 0.2.0
9205
	lt_prog_compiler_wl='-Wl,'
9206
	lt_prog_compiler_pic='-KPIC'
9207
	lt_prog_compiler_static='-static'
9208
        ;;
1.1.49 by Jo Shields
Import upstream version 0.15.0
9209
      # icc used to be incompatible with GCC.
9210
      # ICC 10 doesn't accept -KPIC any more.
9211
      icc* | ifort*)
9212
	lt_prog_compiler_wl='-Wl,'
9213
	lt_prog_compiler_pic='-fPIC'
9214
	lt_prog_compiler_static='-static'
9215
        ;;
9216
      # Lahey Fortran 8.1.
9217
      lf95*)
9218
	lt_prog_compiler_wl='-Wl,'
9219
	lt_prog_compiler_pic='--shared'
9220
	lt_prog_compiler_static='--static'
9221
	;;
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
9222
      pgcc* | pgf77* | pgf90* | pgf95*)
9223
        # Portland Group compilers (*not* the Pentium gcc compiler,
9224
	# which looks to be a dead project)
9225
	lt_prog_compiler_wl='-Wl,'
9226
	lt_prog_compiler_pic='-fpic'
9227
	lt_prog_compiler_static='-Bstatic'
9228
        ;;
1 by Brandon Hale
Import upstream version 0.2.0
9229
      ccc*)
9230
        lt_prog_compiler_wl='-Wl,'
9231
        # All Alpha code is PIC.
9232
        lt_prog_compiler_static='-non_shared'
9233
        ;;
1.1.49 by Jo Shields
Import upstream version 0.15.0
9234
      xl*)
9235
	# IBM XL C 8.0/Fortran 10.1 on PPC
9236
	lt_prog_compiler_wl='-Wl,'
9237
	lt_prog_compiler_pic='-qpic'
9238
	lt_prog_compiler_static='-qstaticlink'
9239
	;;
1.1.30 by Sebastian Dröge
Import upstream version 0.9.1
9240
      *)
1.1.49 by Jo Shields
Import upstream version 0.15.0
9241
	case `$CC -V 2>&1 | sed 5q` in
1.1.30 by Sebastian Dröge
Import upstream version 0.9.1
9242
	*Sun\ C*)
9243
	  # Sun C 5.9
9244
	  lt_prog_compiler_pic='-KPIC'
9245
	  lt_prog_compiler_static='-Bstatic'
9246
	  lt_prog_compiler_wl='-Wl,'
9247
	  ;;
9248
	*Sun\ F*)
9249
	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
9250
	  lt_prog_compiler_pic='-KPIC'
9251
	  lt_prog_compiler_static='-Bstatic'
9252
	  lt_prog_compiler_wl=''
9253
	  ;;
9254
	esac
9255
	;;
1 by Brandon Hale
Import upstream version 0.2.0
9256
      esac
9257
      ;;
9258
1.1.49 by Jo Shields
Import upstream version 0.15.0
9259
    newsos6)
9260
      lt_prog_compiler_pic='-KPIC'
9261
      lt_prog_compiler_static='-Bstatic'
9262
      ;;
9263
9264
    *nto* | *qnx*)
9265
      # QNX uses GNU C++, but need to define -shared option too, otherwise
9266
      # it will coredump.
9267
      lt_prog_compiler_pic='-fPIC -shared'
9268
      ;;
9269
1 by Brandon Hale
Import upstream version 0.2.0
9270
    osf3* | osf4* | osf5*)
9271
      lt_prog_compiler_wl='-Wl,'
9272
      # All OSF/1 code is PIC.
9273
      lt_prog_compiler_static='-non_shared'
9274
      ;;
9275
1.1.30 by Sebastian Dröge
Import upstream version 0.9.1
9276
    rdos*)
9277
      lt_prog_compiler_static='-non_shared'
9278
      ;;
9279
1 by Brandon Hale
Import upstream version 0.2.0
9280
    solaris*)
9281
      lt_prog_compiler_pic='-KPIC'
9282
      lt_prog_compiler_static='-Bstatic'
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
9283
      case $cc_basename in
9284
      f77* | f90* | f95*)
9285
	lt_prog_compiler_wl='-Qoption ld ';;
9286
      *)
9287
	lt_prog_compiler_wl='-Wl,';;
9288
      esac
1 by Brandon Hale
Import upstream version 0.2.0
9289
      ;;
9290
9291
    sunos4*)
9292
      lt_prog_compiler_wl='-Qoption ld '
9293
      lt_prog_compiler_pic='-PIC'
9294
      lt_prog_compiler_static='-Bstatic'
9295
      ;;
9296
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
9297
    sysv4 | sysv4.2uw2* | sysv4.3*)
1 by Brandon Hale
Import upstream version 0.2.0
9298
      lt_prog_compiler_wl='-Wl,'
9299
      lt_prog_compiler_pic='-KPIC'
9300
      lt_prog_compiler_static='-Bstatic'
9301
      ;;
9302
9303
    sysv4*MP*)
9304
      if test -d /usr/nec ;then
9305
	lt_prog_compiler_pic='-Kconform_pic'
9306
	lt_prog_compiler_static='-Bstatic'
9307
      fi
9308
      ;;
9309
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
9310
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9311
      lt_prog_compiler_wl='-Wl,'
9312
      lt_prog_compiler_pic='-KPIC'
9313
      lt_prog_compiler_static='-Bstatic'
9314
      ;;
9315
9316
    unicos*)
9317
      lt_prog_compiler_wl='-Wl,'
9318
      lt_prog_compiler_can_build_shared=no
9319
      ;;
9320
1 by Brandon Hale
Import upstream version 0.2.0
9321
    uts4*)
9322
      lt_prog_compiler_pic='-pic'
9323
      lt_prog_compiler_static='-Bstatic'
9324
      ;;
9325
9326
    *)
9327
      lt_prog_compiler_can_build_shared=no
9328
      ;;
9329
    esac
9330
  fi
9331
1.1.49 by Jo Shields
Import upstream version 0.15.0
9332
case $host_os in
9333
  # For platforms which do not support PIC, -DPIC is meaningless:
9334
  *djgpp*)
9335
    lt_prog_compiler_pic=
9336
    ;;
9337
  *)
9338
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9339
    ;;
9340
esac
1.3.14 by Ken VanDine
Import upstream version 1.2.2
9341
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
9342
$as_echo "$lt_prog_compiler_pic" >&6; }
9343
9344
9345
9346
9347
1 by Brandon Hale
Import upstream version 0.2.0
9348
9349
#
9350
# Check to make sure the PIC flag actually works.
9351
#
9352
if test -n "$lt_prog_compiler_pic"; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
9353
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
9354
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
9355
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
9356
  $as_echo_n "(cached) " >&6
1 by Brandon Hale
Import upstream version 0.2.0
9357
else
1.1.40 by Pedro Fragoso
Import upstream version 0.11.1
9358
  lt_cv_prog_compiler_pic_works=no
1.1.49 by Jo Shields
Import upstream version 0.15.0
9359
   ac_outfile=conftest.$ac_objext
1.1.30 by Sebastian Dröge
Import upstream version 0.9.1
9360
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
1 by Brandon Hale
Import upstream version 0.2.0
9361
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9362
   # Insert the option either (1) after the last *FLAGS variable, or
9363
   # (2) before a word containing "conftest.", or (3) at the end.
9364
   # Note that $ac_compile itself does not contain backslashes and begins
9365
   # with a dollar sign (not a hyphen), so the echo should work correctly.
9366
   # The option is referenced via a variable to avoid confusing sed.
9367
   lt_compile=`echo "$ac_compile" | $SED \
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
9368
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1 by Brandon Hale
Import upstream version 0.2.0
9369
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9370
   -e 's:$: $lt_compiler_flag:'`
1.3.14 by Ken VanDine
Import upstream version 1.2.2
9371
   (eval echo "\"\$as_me:9371: $lt_compile\"" >&5)
1 by Brandon Hale
Import upstream version 0.2.0
9372
   (eval "$lt_compile" 2>conftest.err)
9373
   ac_status=$?
9374
   cat conftest.err >&5
1.3.14 by Ken VanDine
Import upstream version 1.2.2
9375
   echo "$as_me:9375: \$? = $ac_status" >&5
1 by Brandon Hale
Import upstream version 0.2.0
9376
   if (exit $ac_status) && test -s "$ac_outfile"; then
9377
     # The compiler can only warn and ignore the option if not recognized
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
9378
     # So say no if there are warnings other than the usual output.
1.1.49 by Jo Shields
Import upstream version 0.15.0
9379
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
9380
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9381
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
1.1.40 by Pedro Fragoso
Import upstream version 0.11.1
9382
       lt_cv_prog_compiler_pic_works=yes
1 by Brandon Hale
Import upstream version 0.2.0
9383
     fi
9384
   fi
1.1.49 by Jo Shields
Import upstream version 0.15.0
9385
   $RM conftest*
1 by Brandon Hale
Import upstream version 0.2.0
9386
9387
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
9388
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
9389
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
1 by Brandon Hale
Import upstream version 0.2.0
9390
1.1.40 by Pedro Fragoso
Import upstream version 0.11.1
9391
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
1 by Brandon Hale
Import upstream version 0.2.0
9392
    case $lt_prog_compiler_pic in
9393
     "" | " "*) ;;
9394
     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9395
     esac
9396
else
9397
    lt_prog_compiler_pic=
9398
     lt_prog_compiler_can_build_shared=no
9399
fi
9400
9401
fi
1.1.49 by Jo Shields
Import upstream version 0.15.0
9402
9403
9404
9405
9406
1 by Brandon Hale
Import upstream version 0.2.0
9407
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
9408
#
9409
# Check to make sure the static flag actually works.
9410
#
9411
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
1.3.14 by Ken VanDine
Import upstream version 1.2.2
9412
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
9413
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
9414
if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
9415
  $as_echo_n "(cached) " >&6
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
9416
else
1.1.40 by Pedro Fragoso
Import upstream version 0.11.1
9417
  lt_cv_prog_compiler_static_works=no
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
9418
   save_LDFLAGS="$LDFLAGS"
9419
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
1.1.30 by Sebastian Dröge
Import upstream version 0.9.1
9420
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
9421
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9422
     # The linker can only warn and ignore the option if not recognized
9423
     # So say no if there are warnings
9424
     if test -s conftest.err; then
9425
       # Append any errors to the config.log.
9426
       cat conftest.err 1>&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
9427
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
9428
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9429
       if diff conftest.exp conftest.er2 >/dev/null; then
1.1.40 by Pedro Fragoso
Import upstream version 0.11.1
9430
         lt_cv_prog_compiler_static_works=yes
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
9431
       fi
9432
     else
1.1.40 by Pedro Fragoso
Import upstream version 0.11.1
9433
       lt_cv_prog_compiler_static_works=yes
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
9434
     fi
9435
   fi
1.1.49 by Jo Shields
Import upstream version 0.15.0
9436
   $RM -r conftest*
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
9437
   LDFLAGS="$save_LDFLAGS"
9438
9439
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
9440
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
9441
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
9442
1.1.40 by Pedro Fragoso
Import upstream version 0.11.1
9443
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
9444
    :
9445
else
9446
    lt_prog_compiler_static=
9447
fi
9448
9449
1.1.49 by Jo Shields
Import upstream version 0.15.0
9450
9451
9452
9453
9454
1.3.14 by Ken VanDine
Import upstream version 1.2.2
9455
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
9456
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
9457
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
9458
  $as_echo_n "(cached) " >&6
9459
else
9460
  lt_cv_prog_compiler_c_o=no
9461
   $RM -r conftest 2>/dev/null
9462
   mkdir conftest
9463
   cd conftest
9464
   mkdir out
9465
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9466
9467
   lt_compiler_flag="-o out/conftest2.$ac_objext"
9468
   # Insert the option either (1) after the last *FLAGS variable, or
9469
   # (2) before a word containing "conftest.", or (3) at the end.
9470
   # Note that $ac_compile itself does not contain backslashes and begins
9471
   # with a dollar sign (not a hyphen), so the echo should work correctly.
9472
   lt_compile=`echo "$ac_compile" | $SED \
9473
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9474
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9475
   -e 's:$: $lt_compiler_flag:'`
1.3.14 by Ken VanDine
Import upstream version 1.2.2
9476
   (eval echo "\"\$as_me:9476: $lt_compile\"" >&5)
1.1.49 by Jo Shields
Import upstream version 0.15.0
9477
   (eval "$lt_compile" 2>out/conftest.err)
9478
   ac_status=$?
9479
   cat out/conftest.err >&5
1.3.14 by Ken VanDine
Import upstream version 1.2.2
9480
   echo "$as_me:9480: \$? = $ac_status" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
9481
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9482
   then
9483
     # The compiler can only warn and ignore the option if not recognized
9484
     # So say no if there are warnings
9485
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9486
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9487
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9488
       lt_cv_prog_compiler_c_o=yes
9489
     fi
9490
   fi
9491
   chmod u+w . 2>&5
9492
   $RM conftest*
9493
   # SGI C++ compiler will create directory out/ii_files/ for
9494
   # template instantiation
9495
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9496
   $RM out/* && rmdir out
9497
   cd ..
9498
   $RM -r conftest
9499
   $RM conftest*
9500
9501
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
9502
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
9503
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9504
9505
9506
9507
9508
9509
1.3.14 by Ken VanDine
Import upstream version 1.2.2
9510
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
9511
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
9512
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
9513
  $as_echo_n "(cached) " >&6
9514
else
9515
  lt_cv_prog_compiler_c_o=no
9516
   $RM -r conftest 2>/dev/null
9517
   mkdir conftest
9518
   cd conftest
9519
   mkdir out
9520
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9521
9522
   lt_compiler_flag="-o out/conftest2.$ac_objext"
9523
   # Insert the option either (1) after the last *FLAGS variable, or
9524
   # (2) before a word containing "conftest.", or (3) at the end.
9525
   # Note that $ac_compile itself does not contain backslashes and begins
9526
   # with a dollar sign (not a hyphen), so the echo should work correctly.
9527
   lt_compile=`echo "$ac_compile" | $SED \
9528
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9529
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9530
   -e 's:$: $lt_compiler_flag:'`
1.3.14 by Ken VanDine
Import upstream version 1.2.2
9531
   (eval echo "\"\$as_me:9531: $lt_compile\"" >&5)
1.1.49 by Jo Shields
Import upstream version 0.15.0
9532
   (eval "$lt_compile" 2>out/conftest.err)
9533
   ac_status=$?
9534
   cat out/conftest.err >&5
1.3.14 by Ken VanDine
Import upstream version 1.2.2
9535
   echo "$as_me:9535: \$? = $ac_status" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
9536
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9537
   then
9538
     # The compiler can only warn and ignore the option if not recognized
9539
     # So say no if there are warnings
9540
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9541
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9542
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9543
       lt_cv_prog_compiler_c_o=yes
9544
     fi
9545
   fi
9546
   chmod u+w . 2>&5
9547
   $RM conftest*
9548
   # SGI C++ compiler will create directory out/ii_files/ for
9549
   # template instantiation
9550
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9551
   $RM out/* && rmdir out
9552
   cd ..
9553
   $RM -r conftest
9554
   $RM conftest*
9555
9556
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
9557
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
9558
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9559
9560
1 by Brandon Hale
Import upstream version 0.2.0
9561
9562
9563
hard_links="nottested"
9564
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9565
  # do not overwrite the value of need_locks provided by the user
1.3.14 by Ken VanDine
Import upstream version 1.2.2
9566
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
9567
$as_echo_n "checking if we can lock with hard links... " >&6; }
1 by Brandon Hale
Import upstream version 0.2.0
9568
  hard_links=yes
1.1.49 by Jo Shields
Import upstream version 0.15.0
9569
  $RM conftest*
1 by Brandon Hale
Import upstream version 0.2.0
9570
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9571
  touch conftest.a
9572
  ln conftest.a conftest.b 2>&5 || hard_links=no
9573
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
1.3.14 by Ken VanDine
Import upstream version 1.2.2
9574
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
9575
$as_echo "$hard_links" >&6; }
1 by Brandon Hale
Import upstream version 0.2.0
9576
  if test "$hard_links" = no; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
9577
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
9578
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
1 by Brandon Hale
Import upstream version 0.2.0
9579
    need_locks=warn
9580
  fi
9581
else
9582
  need_locks=no
9583
fi
9584
1.1.49 by Jo Shields
Import upstream version 0.15.0
9585
9586
9587
9588
9589
1.3.14 by Ken VanDine
Import upstream version 1.2.2
9590
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
9591
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
1 by Brandon Hale
Import upstream version 0.2.0
9592
9593
  runpath_var=
9594
  allow_undefined_flag=
1.1.49 by Jo Shields
Import upstream version 0.15.0
9595
  always_export_symbols=no
1 by Brandon Hale
Import upstream version 0.2.0
9596
  archive_cmds=
9597
  archive_expsym_cmds=
1.1.49 by Jo Shields
Import upstream version 0.15.0
9598
  compiler_needs_object=no
9599
  enable_shared_with_static_runtimes=no
1 by Brandon Hale
Import upstream version 0.2.0
9600
  export_dynamic_flag_spec=
1.1.49 by Jo Shields
Import upstream version 0.15.0
9601
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9602
  hardcode_automatic=no
9603
  hardcode_direct=no
9604
  hardcode_direct_absolute=no
1 by Brandon Hale
Import upstream version 0.2.0
9605
  hardcode_libdir_flag_spec=
9606
  hardcode_libdir_flag_spec_ld=
9607
  hardcode_libdir_separator=
9608
  hardcode_minus_L=no
9609
  hardcode_shlibpath_var=unsupported
1.1.49 by Jo Shields
Import upstream version 0.15.0
9610
  inherit_rpath=no
1 by Brandon Hale
Import upstream version 0.2.0
9611
  link_all_deplibs=unknown
9612
  module_cmds=
9613
  module_expsym_cmds=
1.1.49 by Jo Shields
Import upstream version 0.15.0
9614
  old_archive_from_new_cmds=
9615
  old_archive_from_expsyms_cmds=
9616
  thread_safe_flag_spec=
9617
  whole_archive_flag_spec=
1 by Brandon Hale
Import upstream version 0.2.0
9618
  # include_expsyms should be a list of space-separated symbols to be *always*
9619
  # included in the symbol list
9620
  include_expsyms=
9621
  # exclude_expsyms can be an extended regexp of symbols to exclude
9622
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
9623
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9624
  # as well as any symbol that contains `d'.
1.1.40 by Pedro Fragoso
Import upstream version 0.11.1
9625
  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
1 by Brandon Hale
Import upstream version 0.2.0
9626
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9627
  # platforms (ab)use it in PIC code, but their linkers get confused if
9628
  # the symbol is explicitly referenced.  Since portable code cannot
9629
  # rely on this symbol name, it's probably fine to never include it in
9630
  # preloaded symbol tables.
1.1.40 by Pedro Fragoso
Import upstream version 0.11.1
9631
  # Exclude shared library initialization/finalization symbols.
1 by Brandon Hale
Import upstream version 0.2.0
9632
  extract_expsyms_cmds=
9633
9634
  case $host_os in
1.1.49 by Jo Shields
Import upstream version 0.15.0
9635
  cygwin* | mingw* | pw32* | cegcc*)
1 by Brandon Hale
Import upstream version 0.2.0
9636
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
9637
    # When not using gcc, we currently assume that we are using
9638
    # Microsoft Visual C++.
9639
    if test "$GCC" != yes; then
9640
      with_gnu_ld=no
9641
    fi
9642
    ;;
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
9643
  interix*)
9644
    # we just hope/assume this is gcc and not c89 (= MSVC++)
9645
    with_gnu_ld=yes
9646
    ;;
1 by Brandon Hale
Import upstream version 0.2.0
9647
  openbsd*)
9648
    with_gnu_ld=no
9649
    ;;
1.3.14 by Ken VanDine
Import upstream version 1.2.2
9650
  linux* | k*bsd*-gnu)
9651
    link_all_deplibs=no
9652
    ;;
1 by Brandon Hale
Import upstream version 0.2.0
9653
  esac
9654
9655
  ld_shlibs=yes
9656
  if test "$with_gnu_ld" = yes; then
9657
    # If archive_cmds runs LD, not CC, wlarc should be empty
9658
    wlarc='${wl}'
9659
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
9660
    # Set some defaults for GNU ld with shared library support. These
9661
    # are reset later if shared libraries are not supported. Putting them
9662
    # here allows them to be overridden if necessary.
9663
    runpath_var=LD_RUN_PATH
1.1.49 by Jo Shields
Import upstream version 0.15.0
9664
    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
9665
    export_dynamic_flag_spec='${wl}--export-dynamic'
9666
    # ancient GNU ld didn't support --whole-archive et. al.
1.1.49 by Jo Shields
Import upstream version 0.15.0
9667
    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9668
      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9669
    else
9670
      whole_archive_flag_spec=
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
9671
    fi
9672
    supports_anon_versioning=no
1.1.49 by Jo Shields
Import upstream version 0.15.0
9673
    case `$LD -v 2>&1` in
1.3.14 by Ken VanDine
Import upstream version 1.2.2
9674
      *GNU\ gold*) supports_anon_versioning=yes ;;
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
9675
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9676
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9677
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9678
      *\ 2.11.*) ;; # other 2.11 versions
9679
      *) supports_anon_versioning=yes ;;
9680
    esac
9681
1 by Brandon Hale
Import upstream version 0.2.0
9682
    # See if GNU ld supports shared libraries.
9683
    case $host_os in
1.1.40 by Pedro Fragoso
Import upstream version 0.11.1
9684
    aix[3-9]*)
1 by Brandon Hale
Import upstream version 0.2.0
9685
      # On AIX/PPC, the GNU linker is very broken
9686
      if test "$host_cpu" != ia64; then
9687
	ld_shlibs=no
1.1.49 by Jo Shields
Import upstream version 0.15.0
9688
	cat <<_LT_EOF 1>&2
1 by Brandon Hale
Import upstream version 0.2.0
9689
9690
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
9691
*** to be unable to reliably create shared libraries on AIX.
9692
*** Therefore, libtool is disabling shared libraries support.  If you
9693
*** really care for shared libraries, you may want to modify your PATH
9694
*** so that a non-GNU linker is found, and then restart.
9695
1.1.49 by Jo Shields
Import upstream version 0.15.0
9696
_LT_EOF
1 by Brandon Hale
Import upstream version 0.2.0
9697
      fi
9698
      ;;
9699
9700
    amigaos*)
1.1.49 by Jo Shields
Import upstream version 0.15.0
9701
      case $host_cpu in
9702
      powerpc)
9703
            # see comment about AmigaOS4 .so support
9704
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9705
            archive_expsym_cmds=''
9706
        ;;
9707
      m68k)
9708
            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)'
9709
            hardcode_libdir_flag_spec='-L$libdir'
9710
            hardcode_minus_L=yes
9711
        ;;
9712
      esac
1 by Brandon Hale
Import upstream version 0.2.0
9713
      ;;
9714
9715
    beos*)
1.1.49 by Jo Shields
Import upstream version 0.15.0
9716
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
1 by Brandon Hale
Import upstream version 0.2.0
9717
	allow_undefined_flag=unsupported
9718
	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9719
	# support --undefined.  This deserves some investigation.  FIXME
9720
	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9721
      else
9722
	ld_shlibs=no
9723
      fi
9724
      ;;
9725
1.1.49 by Jo Shields
Import upstream version 0.15.0
9726
    cygwin* | mingw* | pw32* | cegcc*)
9727
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
1 by Brandon Hale
Import upstream version 0.2.0
9728
      # as there is no search path for DLLs.
9729
      hardcode_libdir_flag_spec='-L$libdir'
9730
      allow_undefined_flag=unsupported
9731
      always_export_symbols=no
9732
      enable_shared_with_static_runtimes=yes
1.1.49 by Jo Shields
Import upstream version 0.15.0
9733
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
1 by Brandon Hale
Import upstream version 0.2.0
9734
1.1.49 by Jo Shields
Import upstream version 0.15.0
9735
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
9736
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
1 by Brandon Hale
Import upstream version 0.2.0
9737
	# If the export-symbols file already is a .def file (1st line
9738
	# is EXPORTS), use it as is; otherwise, prepend...
9739
	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9740
	  cp $export_symbols $output_objdir/$soname.def;
9741
	else
9742
	  echo EXPORTS > $output_objdir/$soname.def;
9743
	  cat $export_symbols >> $output_objdir/$soname.def;
9744
	fi~
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
9745
	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9746
      else
9747
	ld_shlibs=no
9748
      fi
9749
      ;;
9750
1.1.30 by Sebastian Dröge
Import upstream version 0.9.1
9751
    interix[3-9]*)
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
9752
      hardcode_direct=no
9753
      hardcode_shlibpath_var=no
9754
      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9755
      export_dynamic_flag_spec='${wl}-E'
9756
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9757
      # Instead, shared libraries are loaded at an image base (0x10000000 by
9758
      # default) and relocated if they conflict, which is a slow very memory
9759
      # consuming and fragmenting process.  To avoid this, we pick a random,
9760
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9761
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9762
      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9763
      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'
9764
      ;;
9765
1.3.14 by Ken VanDine
Import upstream version 1.2.2
9766
    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
1.1.49 by Jo Shields
Import upstream version 0.15.0
9767
      tmp_diet=no
9768
      if test "$host_os" = linux-dietlibc; then
9769
	case $cc_basename in
9770
	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
9771
	esac
9772
      fi
9773
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9774
	 && test "$tmp_diet" = no
9775
      then
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
9776
	tmp_addflag=
1.1.49 by Jo Shields
Import upstream version 0.15.0
9777
	tmp_sharedflag='-shared'
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
9778
	case $cc_basename,$host_cpu in
1.1.49 by Jo Shields
Import upstream version 0.15.0
9779
        pgcc*)				# Portland Group C compiler
9780
	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
9781
	  tmp_addflag=' $pic_flag'
9782
	  ;;
9783
	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
1.1.49 by Jo Shields
Import upstream version 0.15.0
9784
	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
9785
	  tmp_addflag=' $pic_flag -Mnomain' ;;
1.1.49 by Jo Shields
Import upstream version 0.15.0
9786
	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
9787
	  tmp_addflag=' -i_dynamic' ;;
9788
	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
9789
	  tmp_addflag=' -i_dynamic -nofor_main' ;;
9790
	ifc* | ifort*)			# Intel Fortran compiler
9791
	  tmp_addflag=' -nofor_main' ;;
1.1.49 by Jo Shields
Import upstream version 0.15.0
9792
	lf95*)				# Lahey Fortran 8.1
9793
	  whole_archive_flag_spec=
9794
	  tmp_sharedflag='--shared' ;;
9795
	xl[cC]*)			# IBM XL C 8.0 on PPC (deal with xlf below)
9796
	  tmp_sharedflag='-qmkshrobj'
9797
	  tmp_addflag= ;;
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
9798
	esac
1.1.30 by Sebastian Dröge
Import upstream version 0.9.1
9799
	case `$CC -V 2>&1 | sed 5q` in
9800
	*Sun\ C*)			# Sun C 5.9
1.1.49 by Jo Shields
Import upstream version 0.15.0
9801
	  whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9802
	  compiler_needs_object=yes
1.1.30 by Sebastian Dröge
Import upstream version 0.9.1
9803
	  tmp_sharedflag='-G' ;;
9804
	*Sun\ F*)			# Sun Fortran 8.3
9805
	  tmp_sharedflag='-G' ;;
9806
	esac
9807
	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
9808
1.1.49 by Jo Shields
Import upstream version 0.15.0
9809
        if test "x$supports_anon_versioning" = xyes; then
9810
          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9811
	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9812
	    echo "local: *; };" >> $output_objdir/$libname.ver~
9813
	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9814
        fi
9815
9816
	case $cc_basename in
9817
	xlf*)
9818
	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9819
	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9820
	  hardcode_libdir_flag_spec=
9821
	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
9822
	  archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9823
	  if test "x$supports_anon_versioning" = xyes; then
9824
	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9825
	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9826
	      echo "local: *; };" >> $output_objdir/$libname.ver~
9827
	      $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9828
	  fi
9829
	  ;;
9830
	esac
1 by Brandon Hale
Import upstream version 0.2.0
9831
      else
1.1.49 by Jo Shields
Import upstream version 0.15.0
9832
        ld_shlibs=no
1 by Brandon Hale
Import upstream version 0.2.0
9833
      fi
9834
      ;;
9835
1.3.14 by Ken VanDine
Import upstream version 1.2.2
9836
    netbsd* | netbsdelf*-gnu)
1.1.49 by Jo Shields
Import upstream version 0.15.0
9837
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
1 by Brandon Hale
Import upstream version 0.2.0
9838
	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9839
	wlarc=
9840
      else
9841
	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9842
	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9843
      fi
9844
      ;;
9845
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
9846
    solaris*)
1.1.49 by Jo Shields
Import upstream version 0.15.0
9847
      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
1 by Brandon Hale
Import upstream version 0.2.0
9848
	ld_shlibs=no
1.1.49 by Jo Shields
Import upstream version 0.15.0
9849
	cat <<_LT_EOF 1>&2
1 by Brandon Hale
Import upstream version 0.2.0
9850
9851
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
9852
*** create shared libraries on Solaris systems.  Therefore, libtool
9853
*** is disabling shared libraries support.  We urge you to upgrade GNU
9854
*** binutils to release 2.9.1 or newer.  Another option is to modify
9855
*** your PATH or compiler configuration so that the native linker is
9856
*** used, and then restart.
9857
1.1.49 by Jo Shields
Import upstream version 0.15.0
9858
_LT_EOF
9859
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
1 by Brandon Hale
Import upstream version 0.2.0
9860
	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9861
	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9862
      else
9863
	ld_shlibs=no
9864
      fi
9865
      ;;
9866
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
9867
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9868
      case `$LD -v 2>&1` in
9869
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9870
	ld_shlibs=no
9871
	cat <<_LT_EOF 1>&2
9872
9873
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9874
*** reliably create shared libraries on SCO systems.  Therefore, libtool
9875
*** is disabling shared libraries support.  We urge you to upgrade GNU
9876
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9877
*** your PATH or compiler configuration so that the native linker is
9878
*** used, and then restart.
9879
9880
_LT_EOF
9881
	;;
9882
	*)
1.1.49 by Jo Shields
Import upstream version 0.15.0
9883
	  # For security reasons, it is highly recommended that you always
9884
	  # use absolute paths for naming shared libraries, and exclude the
9885
	  # DT_RUNPATH tag from executables and libraries.  But doing so
9886
	  # requires that you compile everything twice, which is a pain.
9887
	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9888
	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9889
	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9890
	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
9891
	  else
9892
	    ld_shlibs=no
9893
	  fi
9894
	;;
9895
      esac
9896
      ;;
9897
1 by Brandon Hale
Import upstream version 0.2.0
9898
    sunos4*)
9899
      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9900
      wlarc=
9901
      hardcode_direct=yes
9902
      hardcode_shlibpath_var=no
9903
      ;;
9904
9905
    *)
1.1.49 by Jo Shields
Import upstream version 0.15.0
9906
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
1 by Brandon Hale
Import upstream version 0.2.0
9907
	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9908
	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9909
      else
9910
	ld_shlibs=no
9911
      fi
9912
      ;;
9913
    esac
9914
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
9915
    if test "$ld_shlibs" = no; then
9916
      runpath_var=
9917
      hardcode_libdir_flag_spec=
9918
      export_dynamic_flag_spec=
9919
      whole_archive_flag_spec=
1 by Brandon Hale
Import upstream version 0.2.0
9920
    fi
9921
  else
9922
    # PORTME fill in a description of your system's linker (not GNU ld)
9923
    case $host_os in
9924
    aix3*)
9925
      allow_undefined_flag=unsupported
9926
      always_export_symbols=yes
9927
      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'
9928
      # Note: this linker hardcodes the directories in LIBPATH if there
9929
      # are no directories specified by -L.
9930
      hardcode_minus_L=yes
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
9931
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
1 by Brandon Hale
Import upstream version 0.2.0
9932
	# Neither direct hardcoding nor static linking is supported with a
9933
	# broken collect2.
9934
	hardcode_direct=unsupported
9935
      fi
9936
      ;;
9937
1.1.40 by Pedro Fragoso
Import upstream version 0.11.1
9938
    aix[4-9]*)
1 by Brandon Hale
Import upstream version 0.2.0
9939
      if test "$host_cpu" = ia64; then
9940
	# On IA64, the linker does run time linking by default, so we don't
9941
	# have to do anything special.
9942
	aix_use_runtimelinking=no
9943
	exp_sym_flag='-Bexport'
9944
	no_entry_flag=""
9945
      else
9946
	# If we're using GNU nm, then we don't want the "-C" option.
9947
	# -C means demangle to AIX nm, but means don't demangle with GNU nm
1.1.49 by Jo Shields
Import upstream version 0.15.0
9948
	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9949
	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
1 by Brandon Hale
Import upstream version 0.2.0
9950
	else
1.1.49 by Jo Shields
Import upstream version 0.15.0
9951
	  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 by Brandon Hale
Import upstream version 0.2.0
9952
	fi
9953
	aix_use_runtimelinking=no
9954
9955
	# Test if we are trying to use run time linking or normal
9956
	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
9957
	# need to do runtime linking.
1.1.40 by Pedro Fragoso
Import upstream version 0.11.1
9958
	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
1 by Brandon Hale
Import upstream version 0.2.0
9959
	  for ld_flag in $LDFLAGS; do
1.1.49 by Jo Shields
Import upstream version 0.15.0
9960
	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9961
	    aix_use_runtimelinking=yes
9962
	    break
9963
	  fi
1 by Brandon Hale
Import upstream version 0.2.0
9964
	  done
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
9965
	  ;;
1 by Brandon Hale
Import upstream version 0.2.0
9966
	esac
9967
9968
	exp_sym_flag='-bexport'
9969
	no_entry_flag='-bnoentry'
9970
      fi
9971
9972
      # When large executables or shared objects are built, AIX ld can
9973
      # have problems creating the table of contents.  If linking a library
9974
      # or program results in "error TOC overflow" add -mminimal-toc to
9975
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9976
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9977
9978
      archive_cmds=''
9979
      hardcode_direct=yes
1.1.49 by Jo Shields
Import upstream version 0.15.0
9980
      hardcode_direct_absolute=yes
1 by Brandon Hale
Import upstream version 0.2.0
9981
      hardcode_libdir_separator=':'
9982
      link_all_deplibs=yes
1.1.49 by Jo Shields
Import upstream version 0.15.0
9983
      file_list_spec='${wl}-f,'
1 by Brandon Hale
Import upstream version 0.2.0
9984
9985
      if test "$GCC" = yes; then
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
9986
	case $host_os in aix4.[012]|aix4.[012].*)
1 by Brandon Hale
Import upstream version 0.2.0
9987
	# We only want to do this on AIX 4.2 and lower, the check
9988
	# below for broken collect2 doesn't work under 4.3+
9989
	  collect2name=`${CC} -print-prog-name=collect2`
1.1.49 by Jo Shields
Import upstream version 0.15.0
9990
	  if test -f "$collect2name" &&
9991
	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
1 by Brandon Hale
Import upstream version 0.2.0
9992
	  then
1.1.49 by Jo Shields
Import upstream version 0.15.0
9993
	  # We have reworked collect2
9994
	  :
1 by Brandon Hale
Import upstream version 0.2.0
9995
	  else
1.1.49 by Jo Shields
Import upstream version 0.15.0
9996
	  # We have old collect2
9997
	  hardcode_direct=unsupported
9998
	  # It fails to find uninstalled libraries when the uninstalled
9999
	  # path is not listed in the libpath.  Setting hardcode_minus_L
10000
	  # to unsupported forces relinking
10001
	  hardcode_minus_L=yes
10002
	  hardcode_libdir_flag_spec='-L$libdir'
10003
	  hardcode_libdir_separator=
1 by Brandon Hale
Import upstream version 0.2.0
10004
	  fi
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
10005
	  ;;
1 by Brandon Hale
Import upstream version 0.2.0
10006
	esac
10007
	shared_flag='-shared'
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
10008
	if test "$aix_use_runtimelinking" = yes; then
10009
	  shared_flag="$shared_flag "'${wl}-G'
10010
	fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
10011
	link_all_deplibs=no
1 by Brandon Hale
Import upstream version 0.2.0
10012
      else
10013
	# not using gcc
10014
	if test "$host_cpu" = ia64; then
1.1.49 by Jo Shields
Import upstream version 0.15.0
10015
	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10016
	# chokes on -Wl,-G. The following line is correct:
1 by Brandon Hale
Import upstream version 0.2.0
10017
	  shared_flag='-G'
10018
	else
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
10019
	  if test "$aix_use_runtimelinking" = yes; then
1 by Brandon Hale
Import upstream version 0.2.0
10020
	    shared_flag='${wl}-G'
10021
	  else
10022
	    shared_flag='${wl}-bM:SRE'
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
10023
	  fi
1 by Brandon Hale
Import upstream version 0.2.0
10024
	fi
10025
      fi
10026
1.1.49 by Jo Shields
Import upstream version 0.15.0
10027
      export_dynamic_flag_spec='${wl}-bexpall'
1 by Brandon Hale
Import upstream version 0.2.0
10028
      # It seems that -bexpall does not export symbols beginning with
10029
      # underscore (_), so it is better to generate a list of symbols to export.
10030
      always_export_symbols=yes
10031
      if test "$aix_use_runtimelinking" = yes; then
10032
	# Warning - without using the other runtime loading flags (-brtl),
10033
	# -berok will link without error, but may produce a broken library.
10034
	allow_undefined_flag='-berok'
1.1.49 by Jo Shields
Import upstream version 0.15.0
10035
        # Determine the default libpath from the value encoded in an
10036
        # empty executable.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
10037
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1 by Brandon Hale
Import upstream version 0.2.0
10038
/* end confdefs.h.  */
10039
10040
int
10041
main ()
10042
{
10043
10044
  ;
10045
  return 0;
10046
}
10047
_ACEOF
1.3.14 by Ken VanDine
Import upstream version 1.2.2
10048
if ac_fn_c_try_link "$LINENO"; then :
1 by Brandon Hale
Import upstream version 0.2.0
10049
1.1.30 by Sebastian Dröge
Import upstream version 0.9.1
10050
lt_aix_libpath_sed='
10051
    /Import File Strings/,/^$/ {
10052
	/^0/ {
10053
	    s/^0  *\(.*\)$/\1/
10054
	    p
10055
	}
10056
    }'
10057
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
1 by Brandon Hale
Import upstream version 0.2.0
10058
# Check for a 64-bit object if we didn't find anything.
1.1.30 by Sebastian Dröge
Import upstream version 0.9.1
10059
if test -z "$aix_libpath"; then
10060
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10061
fi
1 by Brandon Hale
Import upstream version 0.2.0
10062
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
10063
rm -f core conftest.err conftest.$ac_objext \
10064
    conftest$ac_exeext conftest.$ac_ext
1 by Brandon Hale
Import upstream version 0.2.0
10065
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10066
1.1.49 by Jo Shields
Import upstream version 0.15.0
10067
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10068
        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
10069
      else
1 by Brandon Hale
Import upstream version 0.2.0
10070
	if test "$host_cpu" = ia64; then
10071
	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10072
	  allow_undefined_flag="-z nodefs"
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
10073
	  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 by Brandon Hale
Import upstream version 0.2.0
10074
	else
1.1.49 by Jo Shields
Import upstream version 0.15.0
10075
	 # Determine the default libpath from the value encoded in an
10076
	 # empty executable.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
10077
	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1 by Brandon Hale
Import upstream version 0.2.0
10078
/* end confdefs.h.  */
10079
10080
int
10081
main ()
10082
{
10083
10084
  ;
10085
  return 0;
10086
}
10087
_ACEOF
1.3.14 by Ken VanDine
Import upstream version 1.2.2
10088
if ac_fn_c_try_link "$LINENO"; then :
1 by Brandon Hale
Import upstream version 0.2.0
10089
1.1.30 by Sebastian Dröge
Import upstream version 0.9.1
10090
lt_aix_libpath_sed='
10091
    /Import File Strings/,/^$/ {
10092
	/^0/ {
10093
	    s/^0  *\(.*\)$/\1/
10094
	    p
10095
	}
10096
    }'
10097
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
1 by Brandon Hale
Import upstream version 0.2.0
10098
# Check for a 64-bit object if we didn't find anything.
1.1.30 by Sebastian Dröge
Import upstream version 0.9.1
10099
if test -z "$aix_libpath"; then
10100
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10101
fi
1 by Brandon Hale
Import upstream version 0.2.0
10102
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
10103
rm -f core conftest.err conftest.$ac_objext \
10104
    conftest$ac_exeext conftest.$ac_ext
1 by Brandon Hale
Import upstream version 0.2.0
10105
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10106
10107
	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10108
	  # Warning - without using the other run time loading flags,
10109
	  # -berok will link without error, but may produce a broken library.
10110
	  no_undefined_flag=' ${wl}-bernotok'
10111
	  allow_undefined_flag=' ${wl}-berok'
10112
	  # Exported symbols can be pulled into shared objects from archives
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
10113
	  whole_archive_flag_spec='$convenience'
1 by Brandon Hale
Import upstream version 0.2.0
10114
	  archive_cmds_need_lc=yes
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
10115
	  # This is similar to how AIX traditionally builds its shared libraries.
10116
	  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 by Brandon Hale
Import upstream version 0.2.0
10117
	fi
10118
      fi
10119
      ;;
10120
10121
    amigaos*)
1.1.49 by Jo Shields
Import upstream version 0.15.0
10122
      case $host_cpu in
10123
      powerpc)
10124
            # see comment about AmigaOS4 .so support
10125
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10126
            archive_expsym_cmds=''
10127
        ;;
10128
      m68k)
10129
            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)'
10130
            hardcode_libdir_flag_spec='-L$libdir'
10131
            hardcode_minus_L=yes
10132
        ;;
10133
      esac
1 by Brandon Hale
Import upstream version 0.2.0
10134
      ;;
10135
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
10136
    bsdi[45]*)
1 by Brandon Hale
Import upstream version 0.2.0
10137
      export_dynamic_flag_spec=-rdynamic
10138
      ;;
10139
1.1.49 by Jo Shields
Import upstream version 0.15.0
10140
    cygwin* | mingw* | pw32* | cegcc*)
1 by Brandon Hale
Import upstream version 0.2.0
10141
      # When not using gcc, we currently assume that we are using
10142
      # Microsoft Visual C++.
10143
      # hardcode_libdir_flag_spec is actually meaningless, as there is
10144
      # no search path for DLLs.
10145
      hardcode_libdir_flag_spec=' '
10146
      allow_undefined_flag=unsupported
10147
      # Tell ltmain to make .lib files, not .a files.
10148
      libext=lib
10149
      # Tell ltmain to make .dll files, not .so files.
10150
      shrext_cmds=".dll"
10151
      # FIXME: Setting linknames here is a bad hack.
1.1.49 by Jo Shields
Import upstream version 0.15.0
10152
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
1 by Brandon Hale
Import upstream version 0.2.0
10153
      # The linker will automatically build a .lib file if we build a DLL.
1.1.49 by Jo Shields
Import upstream version 0.15.0
10154
      old_archive_from_new_cmds='true'
1 by Brandon Hale
Import upstream version 0.2.0
10155
      # FIXME: Should let the user specify the lib program.
1.1.30 by Sebastian Dröge
Import upstream version 0.9.1
10156
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
1 by Brandon Hale
Import upstream version 0.2.0
10157
      fix_srcfile_path='`cygpath -w "$srcfile"`'
10158
      enable_shared_with_static_runtimes=yes
10159
      ;;
10160
10161
    darwin* | rhapsody*)
1.1.49 by Jo Shields
Import upstream version 0.15.0
10162
10163
10164
  archive_cmds_need_lc=no
10165
  hardcode_direct=no
10166
  hardcode_automatic=yes
10167
  hardcode_shlibpath_var=unsupported
10168
  whole_archive_flag_spec=''
10169
  link_all_deplibs=yes
10170
  allow_undefined_flag="$_lt_dar_allow_undefined"
10171
  case $cc_basename in
10172
     ifort*) _lt_dar_can_shared=yes ;;
10173
     *) _lt_dar_can_shared=$GCC ;;
10174
  esac
10175
  if test "$_lt_dar_can_shared" = "yes"; then
10176
    output_verbose_link_cmd=echo
10177
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10178
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10179
    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}"
10180
    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}"
10181
10182
  else
10183
  ld_shlibs=no
10184
  fi
10185
1 by Brandon Hale
Import upstream version 0.2.0
10186
      ;;
10187
10188
    dgux*)
10189
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10190
      hardcode_libdir_flag_spec='-L$libdir'
10191
      hardcode_shlibpath_var=no
10192
      ;;
10193
10194
    freebsd1*)
10195
      ld_shlibs=no
10196
      ;;
10197
10198
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10199
    # support.  Future versions do this automatically, but an explicit c++rt0.o
10200
    # does not break anything, and helps significantly (at the cost of a little
10201
    # extra space).
10202
    freebsd2.2*)
10203
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10204
      hardcode_libdir_flag_spec='-R$libdir'
10205
      hardcode_direct=yes
10206
      hardcode_shlibpath_var=no
10207
      ;;
10208
10209
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10210
    freebsd2*)
10211
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10212
      hardcode_direct=yes
10213
      hardcode_minus_L=yes
10214
      hardcode_shlibpath_var=no
10215
      ;;
10216
10217
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
10218
    freebsd* | dragonfly*)
1.1.7 by Sebastian Dröge
Import upstream version 0.5.0
10219
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10220
      hardcode_libdir_flag_spec='-R$libdir'
10221
      hardcode_direct=yes
10222
      hardcode_shlibpath_var=no
1 by Brandon Hale
Import upstream version 0.2.0
10223
      ;;
10224
10225
    hpux9*)
10226
      if test "$GCC" = yes; then
1.1.49 by Jo Shields
Import upstream version 0.15.0
10227
	archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
1 by Brandon Hale
Import upstream version 0.2.0
10228
      else
1.1.49 by Jo Shields
Import upstream version 0.15.0
10229
	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 by Brandon Hale
Import upstream version 0.2.0
10230
      fi
10231
      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10232
      hardcode_libdir_separator=:
10233
      hardcode_direct=yes
10234
10235
      # hardcode_minus_L: Not really in the search PATH,
10236
      # but as the default location of the library.
10237
      hardcode_minus_L=yes
10238
      export_dynamic_flag_spec='${wl}-E'
10239
      ;;
10240
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
10241
    hpux10*)
10242
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
10243
	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10244
      else
10245
	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10246
      fi
10247
      if test "$with_gnu_ld" = no; then
10248
	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
1.1.49 by Jo Shields
Import upstream version 0.15.0
10249
	hardcode_libdir_flag_spec_ld='+b $libdir'
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
10250
	hardcode_libdir_separator=:
10251
	hardcode_direct=yes
1.1.49 by Jo Shields
Import upstream version 0.15.0
10252
	hardcode_direct_absolute=yes
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
10253
	export_dynamic_flag_spec='${wl}-E'
10254
	# hardcode_minus_L: Not really in the search PATH,
10255
	# but as the default location of the library.
10256
	hardcode_minus_L=yes
10257
      fi
10258
      ;;
10259
10260
    hpux11*)
10261
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
10262
	case $host_cpu in
10263
	hppa*64*)
1 by Brandon Hale
Import upstream version 0.2.0
10264
	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10265
	  ;;
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
10266
	ia64*)
1.1.49 by Jo Shields
Import upstream version 0.15.0
10267
	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
10268
	  ;;
1 by Brandon Hale
Import upstream version 0.2.0
10269
	*)
10270
	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10271
	  ;;
10272
	esac
10273
      else
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
10274
	case $host_cpu in
10275
	hppa*64*)
10276
	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10277
	  ;;
10278
	ia64*)
10279
	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
1 by Brandon Hale
Import upstream version 0.2.0
10280
	  ;;
10281
	*)
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
10282
	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
1 by Brandon Hale
Import upstream version 0.2.0
10283
	  ;;
10284
	esac
10285
      fi
10286
      if test "$with_gnu_ld" = no; then
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
10287
	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10288
	hardcode_libdir_separator=:
10289
10290
	case $host_cpu in
10291
	hppa*64*|ia64*)
10292
	  hardcode_direct=no
10293
	  hardcode_shlibpath_var=no
1 by Brandon Hale
Import upstream version 0.2.0
10294
	  ;;
10295
	*)
10296
	  hardcode_direct=yes
1.1.49 by Jo Shields
Import upstream version 0.15.0
10297
	  hardcode_direct_absolute=yes
1 by Brandon Hale
Import upstream version 0.2.0
10298
	  export_dynamic_flag_spec='${wl}-E'
10299
10300
	  # hardcode_minus_L: Not really in the search PATH,
10301
	  # but as the default location of the library.
10302
	  hardcode_minus_L=yes
10303
	  ;;
10304
	esac
10305
      fi
10306
      ;;
10307
10308
    irix5* | irix6* | nonstopux*)
10309
      if test "$GCC" = yes; then
1.1.49 by Jo Shields
Import upstream version 0.15.0
10310
	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10311
	# Try to use the -exported_symbol ld option, if it does not
10312
	# work, assume that -exports_file does not work either and
10313
	# implicitly export all symbols.
10314
        save_LDFLAGS="$LDFLAGS"
10315
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
1.3.14 by Ken VanDine
Import upstream version 1.2.2
10316
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10317
/* end confdefs.h.  */
1.1.49 by Jo Shields
Import upstream version 0.15.0
10318
int foo(void) {}
10319
_ACEOF
1.3.14 by Ken VanDine
Import upstream version 1.2.2
10320
if ac_fn_c_try_link "$LINENO"; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
10321
  archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
10322
10323
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
10324
rm -f core conftest.err conftest.$ac_objext \
10325
    conftest$ac_exeext conftest.$ac_ext
1.1.49 by Jo Shields
Import upstream version 0.15.0
10326
        LDFLAGS="$save_LDFLAGS"
1 by Brandon Hale
Import upstream version 0.2.0
10327
      else
1.1.49 by Jo Shields
Import upstream version 0.15.0
10328
	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
10329
	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
1 by Brandon Hale
Import upstream version 0.2.0
10330
      fi
1.1.49 by Jo Shields
Import upstream version 0.15.0
10331
      archive_cmds_need_lc='no'
1 by Brandon Hale
Import upstream version 0.2.0
10332
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10333
      hardcode_libdir_separator=:
1.1.49 by Jo Shields
Import upstream version 0.15.0
10334
      inherit_rpath=yes
1 by Brandon Hale
Import upstream version 0.2.0
10335
      link_all_deplibs=yes
10336
      ;;
10337
1.3.14 by Ken VanDine
Import upstream version 1.2.2
10338
    netbsd* | netbsdelf*-gnu)
1.1.49 by Jo Shields
Import upstream version 0.15.0
10339
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
1 by Brandon Hale
Import upstream version 0.2.0
10340
	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10341
      else
10342
	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
10343
      fi
10344
      hardcode_libdir_flag_spec='-R$libdir'
10345
      hardcode_direct=yes
10346
      hardcode_shlibpath_var=no
10347
      ;;
10348
10349
    newsos6)
10350
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10351
      hardcode_direct=yes
10352
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10353
      hardcode_libdir_separator=:
10354
      hardcode_shlibpath_var=no
10355
      ;;
10356
1.1.49 by Jo Shields
Import upstream version 0.15.0
10357
    *nto* | *qnx*)
10358
      ;;
10359
1 by Brandon Hale
Import upstream version 0.2.0
10360
    openbsd*)
1.1.30 by Sebastian Dröge
Import upstream version 0.9.1
10361
      if test -f /usr/libexec/ld.so; then
10362
	hardcode_direct=yes
10363
	hardcode_shlibpath_var=no
1.1.49 by Jo Shields
Import upstream version 0.15.0
10364
	hardcode_direct_absolute=yes
10365
	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
1.1.30 by Sebastian Dröge
Import upstream version 0.9.1
10366
	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10367
	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10368
	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10369
	  export_dynamic_flag_spec='${wl}-E'
10370
	else
10371
	  case $host_os in
10372
	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10373
	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10374
	     hardcode_libdir_flag_spec='-R$libdir'
10375
	     ;;
10376
	   *)
10377
	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10378
	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10379
	     ;;
10380
	  esac
1.1.49 by Jo Shields
Import upstream version 0.15.0
10381
	fi
1 by Brandon Hale
Import upstream version 0.2.0
10382
      else
1.1.30 by Sebastian Dröge
Import upstream version 0.9.1
10383
	ld_shlibs=no
1 by Brandon Hale
Import upstream version 0.2.0
10384
      fi
10385
      ;;
10386
10387
    os2*)
10388
      hardcode_libdir_flag_spec='-L$libdir'
10389
      hardcode_minus_L=yes
10390
      allow_undefined_flag=unsupported
1.1.49 by Jo Shields
Import upstream version 0.15.0
10391
      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'
10392
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
1 by Brandon Hale
Import upstream version 0.2.0
10393
      ;;
10394
10395
    osf3*)
10396
      if test "$GCC" = yes; then
10397
	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
1.1.49 by Jo Shields
Import upstream version 0.15.0
10398
	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
1 by Brandon Hale
Import upstream version 0.2.0
10399
      else
10400
	allow_undefined_flag=' -expect_unresolved \*'
1.1.49 by Jo Shields
Import upstream version 0.15.0
10401
	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
1 by Brandon Hale
Import upstream version 0.2.0
10402
      fi
1.1.49 by Jo Shields
Import upstream version 0.15.0
10403
      archive_cmds_need_lc='no'
1 by Brandon Hale
Import upstream version 0.2.0
10404
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10405
      hardcode_libdir_separator=:
10406
      ;;
10407
10408
    osf4* | osf5*)	# as osf3* with the addition of -msym flag
10409
      if test "$GCC" = yes; then
10410
	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
1.1.49 by Jo Shields
Import upstream version 0.15.0
10411
	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
1 by Brandon Hale
Import upstream version 0.2.0
10412
	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10413
      else
10414
	allow_undefined_flag=' -expect_unresolved \*'
1.1.49 by Jo Shields
Import upstream version 0.15.0
10415
	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
10416
	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~
10417
	$CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
1 by Brandon Hale
Import upstream version 0.2.0
10418
10419
	# Both c and cxx compiler support -rpath directly
10420
	hardcode_libdir_flag_spec='-rpath $libdir'
10421
      fi
1.1.49 by Jo Shields
Import upstream version 0.15.0
10422
      archive_cmds_need_lc='no'
1 by Brandon Hale
Import upstream version 0.2.0
10423
      hardcode_libdir_separator=:
10424
      ;;
10425
10426
    solaris*)
1.1.49 by Jo Shields
Import upstream version 0.15.0
10427
      no_undefined_flag=' -z defs'
1 by Brandon Hale
Import upstream version 0.2.0
10428
      if test "$GCC" = yes; then
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
10429
	wlarc='${wl}'
1.1.49 by Jo Shields
Import upstream version 0.15.0
10430
	archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10431
	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10432
	  $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
1 by Brandon Hale
Import upstream version 0.2.0
10433
      else
1.1.49 by Jo Shields
Import upstream version 0.15.0
10434
	case `$CC -V 2>&1` in
10435
	*"Compilers 5.0"*)
10436
	  wlarc=''
10437
	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10438
	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10439
	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10440
	  ;;
10441
	*)
10442
	  wlarc='${wl}'
10443
	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10444
	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10445
	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10446
	  ;;
10447
	esac
1 by Brandon Hale
Import upstream version 0.2.0
10448
      fi
10449
      hardcode_libdir_flag_spec='-R$libdir'
10450
      hardcode_shlibpath_var=no
10451
      case $host_os in
10452
      solaris2.[0-5] | solaris2.[0-5].*) ;;
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
10453
      *)
1.1.30 by Sebastian Dröge
Import upstream version 0.9.1
10454
	# The compiler driver will combine and reorder linker options,
10455
	# but understands `-z linker_flag'.  GCC discards it without `$wl',
10456
	# but is careful enough not to reorder.
1.1.49 by Jo Shields
Import upstream version 0.15.0
10457
	# Supported since Solaris 2.6 (maybe 2.5.1?)
1.1.30 by Sebastian Dröge
Import upstream version 0.9.1
10458
	if test "$GCC" = yes; then
10459
	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10460
	else
10461
	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10462
	fi
10463
	;;
1 by Brandon Hale
Import upstream version 0.2.0
10464
      esac
10465
      link_all_deplibs=yes
10466
      ;;
10467
10468
    sunos4*)
10469
      if test "x$host_vendor" = xsequent; then
10470
	# Use $CC to link under sequent, because it throws in some extra .o
10471
	# files that make .init and .fini sections work.
10472
	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10473
      else
10474
	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10475
      fi
10476
      hardcode_libdir_flag_spec='-L$libdir'
10477
      hardcode_direct=yes
10478
      hardcode_minus_L=yes
10479
      hardcode_shlibpath_var=no
10480
      ;;
10481
10482
    sysv4)
10483
      case $host_vendor in
10484
	sni)
10485
	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10486
	  hardcode_direct=yes # is this really true???
10487
	;;
10488
	siemens)
10489
	  ## LD is ld it makes a PLAMLIB
10490
	  ## CC just makes a GrossModule.
10491
	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10492
	  reload_cmds='$CC -r -o $output$reload_objs'
10493
	  hardcode_direct=no
10494
        ;;
10495
	motorola)
10496
	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10497
	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10498
	;;
10499
      esac
10500
      runpath_var='LD_RUN_PATH'
10501
      hardcode_shlibpath_var=no
10502
      ;;
10503
10504
    sysv4.3*)
10505
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10506
      hardcode_shlibpath_var=no
10507
      export_dynamic_flag_spec='-Bexport'
10508
      ;;
10509
10510
    sysv4*MP*)
10511
      if test -d /usr/nec; then
10512
	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10513
	hardcode_shlibpath_var=no
10514
	runpath_var=LD_RUN_PATH
10515
	hardcode_runpath_var=yes
10516
	ld_shlibs=yes
10517
      fi
10518
      ;;
10519
1.1.30 by Sebastian Dröge
Import upstream version 0.9.1
10520
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
10521
      no_undefined_flag='${wl}-z,text'
10522
      archive_cmds_need_lc=no
10523
      hardcode_shlibpath_var=no
10524
      runpath_var='LD_RUN_PATH'
10525
10526
      if test "$GCC" = yes; then
10527
	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10528
	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10529
      else
10530
	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10531
	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10532
      fi
10533
      ;;
10534
10535
    sysv5* | sco3.2v5* | sco5v6*)
10536
      # Note: We can NOT use -z defs as we might desire, because we do not
10537
      # link with -lc, and that would cause any symbols used from libc to
10538
      # always be unresolved, which means just about no library would
10539
      # ever link correctly.  If we're not using GNU ld we use -z text
10540
      # though, which does catch some bad symbols but isn't as heavy-handed
10541
      # as -z defs.
10542
      no_undefined_flag='${wl}-z,text'
10543
      allow_undefined_flag='${wl}-z,nodefs'
10544
      archive_cmds_need_lc=no
10545
      hardcode_shlibpath_var=no
1.1.49 by Jo Shields
Import upstream version 0.15.0
10546
      hardcode_libdir_flag_spec='${wl}-R,$libdir'
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
10547
      hardcode_libdir_separator=':'
10548
      link_all_deplibs=yes
10549
      export_dynamic_flag_spec='${wl}-Bexport'
10550
      runpath_var='LD_RUN_PATH'
10551
10552
      if test "$GCC" = yes; then
1.1.49 by Jo Shields
Import upstream version 0.15.0
10553
	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10554
	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
10555
      else
1.1.49 by Jo Shields
Import upstream version 0.15.0
10556
	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10557
	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
10558
      fi
1 by Brandon Hale
Import upstream version 0.2.0
10559
      ;;
10560
10561
    uts4*)
10562
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10563
      hardcode_libdir_flag_spec='-L$libdir'
10564
      hardcode_shlibpath_var=no
10565
      ;;
10566
10567
    *)
10568
      ld_shlibs=no
10569
      ;;
10570
    esac
1.1.49 by Jo Shields
Import upstream version 0.15.0
10571
10572
    if test x$host_vendor = xsni; then
10573
      case $host in
10574
      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10575
	export_dynamic_flag_spec='${wl}-Blargedynsym'
10576
	;;
10577
      esac
10578
    fi
1 by Brandon Hale
Import upstream version 0.2.0
10579
  fi
10580
1.3.14 by Ken VanDine
Import upstream version 1.2.2
10581
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
10582
$as_echo "$ld_shlibs" >&6; }
1 by Brandon Hale
Import upstream version 0.2.0
10583
test "$ld_shlibs" = no && can_build_shared=no
10584
1.1.49 by Jo Shields
Import upstream version 0.15.0
10585
with_gnu_ld=$with_gnu_ld
10586
10587
10588
10589
10590
10591
10592
10593
10594
10595
10596
10597
10598
10599
10600
1 by Brandon Hale
Import upstream version 0.2.0
10601
#
10602
# Do we need to explicitly link libc?
10603
#
10604
case "x$archive_cmds_need_lc" in
10605
x|xyes)
10606
  # Assume -lc should be added
10607
  archive_cmds_need_lc=yes
10608
10609
  if test "$enable_shared" = yes && test "$GCC" = yes; then
10610
    case $archive_cmds in
10611
    *'~'*)
10612
      # FIXME: we may have to deal with multi-command sequences.
10613
      ;;
10614
    '$CC '*)
10615
      # Test whether the compiler implicitly links with -lc since on some
10616
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
10617
      # to ld, don't add -lc before -lgcc.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
10618
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
10619
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10620
      $RM conftest*
1.1.30 by Sebastian Dröge
Import upstream version 0.9.1
10621
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
1 by Brandon Hale
Import upstream version 0.2.0
10622
1.3.14 by Ken VanDine
Import upstream version 1.2.2
10623
      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1 by Brandon Hale
Import upstream version 0.2.0
10624
  (eval $ac_compile) 2>&5
10625
  ac_status=$?
1.3.14 by Ken VanDine
Import upstream version 1.2.2
10626
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10627
  test $ac_status = 0; } 2>conftest.err; then
1 by Brandon Hale
Import upstream version 0.2.0
10628
        soname=conftest
10629
        lib=conftest
10630
        libobjs=conftest.$ac_objext
10631
        deplibs=
10632
        wl=$lt_prog_compiler_wl
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
10633
	pic_flag=$lt_prog_compiler_pic
1 by Brandon Hale
Import upstream version 0.2.0
10634
        compiler_flags=-v
10635
        linker_flags=-v
10636
        verstring=
10637
        output_objdir=.
10638
        libname=conftest
10639
        lt_save_allow_undefined_flag=$allow_undefined_flag
10640
        allow_undefined_flag=
1.3.14 by Ken VanDine
Import upstream version 1.2.2
10641
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
10642
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
1 by Brandon Hale
Import upstream version 0.2.0
10643
  ac_status=$?
1.3.14 by Ken VanDine
Import upstream version 1.2.2
10644
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10645
  test $ac_status = 0; }
1 by Brandon Hale
Import upstream version 0.2.0
10646
        then
10647
	  archive_cmds_need_lc=no
10648
        else
10649
	  archive_cmds_need_lc=yes
10650
        fi
10651
        allow_undefined_flag=$lt_save_allow_undefined_flag
10652
      else
10653
        cat conftest.err 1>&5
10654
      fi
1.1.49 by Jo Shields
Import upstream version 0.15.0
10655
      $RM conftest*
1.3.14 by Ken VanDine
Import upstream version 1.2.2
10656
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
10657
$as_echo "$archive_cmds_need_lc" >&6; }
1 by Brandon Hale
Import upstream version 0.2.0
10658
      ;;
10659
    esac
10660
  fi
10661
  ;;
10662
esac
10663
1.1.49 by Jo Shields
Import upstream version 0.15.0
10664
10665
10666
10667
10668
10669
10670
10671
10672
10673
10674
10675
10676
10677
10678
10679
10680
10681
10682
10683
10684
10685
10686
10687
10688
10689
10690
10691
10692
10693
10694
10695
10696
10697
10698
10699
10700
10701
10702
10703
10704
10705
10706
10707
10708
10709
10710
10711
10712
10713
10714
10715
10716
10717
10718
10719
10720
10721
10722
10723
10724
10725
10726
10727
10728
10729
10730
10731
10732
10733
10734
10735
10736
10737
10738
10739
10740
10741
10742
10743
10744
10745
10746
10747
10748
10749
10750
10751
10752
10753
10754
10755
10756
10757
10758
10759
10760
10761
10762
10763
10764
10765
10766
10767
10768
10769
10770
10771
10772
10773
10774
10775
10776
10777
10778
10779
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
1.3.14 by Ken VanDine
Import upstream version 1.2.2
10820
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
10821
$as_echo_n "checking dynamic linker characteristics... " >&6; }
1.1.30 by Sebastian Dröge
Import upstream version 0.9.1
10822
1 by Brandon Hale
Import upstream version 0.2.0
10823
if test "$GCC" = yes; then
1.1.30 by Sebastian Dröge
Import upstream version 0.9.1
10824
  case $host_os in
10825
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10826
    *) lt_awk_arg="/^libraries:/" ;;
10827
  esac
10828
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
1.1.49 by Jo Shields
Import upstream version 0.15.0
10829
  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
1 by Brandon Hale
Import upstream version 0.2.0
10830
    # if the path contains ";" then we assume it to be the separator
10831
    # otherwise default to the standard path separator (i.e. ":") - it is
10832
    # assumed that no part of a normal pathname contains ";" but that should
10833
    # okay in the real world where ";" in dirpaths is itself problematic.
1.1.49 by Jo Shields
Import upstream version 0.15.0
10834
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
1 by Brandon Hale
Import upstream version 0.2.0
10835
  else
1.1.49 by Jo Shields
Import upstream version 0.15.0
10836
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
1 by Brandon Hale
Import upstream version 0.2.0
10837
  fi
1.1.30 by Sebastian Dröge
Import upstream version 0.9.1
10838
  # Ok, now we have the path, separated by spaces, we can step through it
10839
  # and add multilib dir if necessary.
10840
  lt_tmp_lt_search_path_spec=
10841
  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10842
  for lt_sys_path in $lt_search_path_spec; do
10843
    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10844
      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10845
    else
10846
      test -d "$lt_sys_path" && \
10847
	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10848
    fi
10849
  done
1.1.49 by Jo Shields
Import upstream version 0.15.0
10850
  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
1.1.30 by Sebastian Dröge
Import upstream version 0.9.1
10851
BEGIN {RS=" "; FS="/|\n";} {
10852
  lt_foo="";
10853
  lt_count=0;
10854
  for (lt_i = NF; lt_i > 0; lt_i--) {
10855
    if ($lt_i != "" && $lt_i != ".") {
10856
      if ($lt_i == "..") {
10857
        lt_count++;
10858
      } else {
10859
        if (lt_count == 0) {
10860
          lt_foo="/" $lt_i lt_foo;
10861
        } else {
10862
          lt_count--;
10863
        }
10864
      }
10865
    }
10866
  }
10867
  if (lt_foo != "") { lt_freq[lt_foo]++; }
10868
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
10869
}'`
1.1.49 by Jo Shields
Import upstream version 0.15.0
10870
  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
1 by Brandon Hale
Import upstream version 0.2.0
10871
else
10872
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10873
fi
1.1.49 by Jo Shields
Import upstream version 0.15.0
10874
library_names_spec=
10875
libname_spec='lib$name'
10876
soname_spec=
10877
shrext_cmds=".so"
10878
postinstall_cmds=
10879
postuninstall_cmds=
10880
finish_cmds=
10881
finish_eval=
10882
shlibpath_var=
10883
shlibpath_overrides_runpath=unknown
10884
version_type=none
10885
dynamic_linker="$host_os ld.so"
10886
sys_lib_dlsearch_path_spec="/lib /usr/lib"
1 by Brandon Hale
Import upstream version 0.2.0
10887
need_lib_prefix=unknown
10888
hardcode_into_libs=no
10889
10890
# when you set need_version to no, make sure it does not cause -set_version
10891
# flags to be left without arguments
10892
need_version=unknown
10893
10894
case $host_os in
10895
aix3*)
10896
  version_type=linux
10897
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10898
  shlibpath_var=LIBPATH
10899
10900
  # AIX 3 has no versioning support, so we append a major version to the name.
10901
  soname_spec='${libname}${release}${shared_ext}$major'
10902
  ;;
10903
1.1.40 by Pedro Fragoso
Import upstream version 0.11.1
10904
aix[4-9]*)
1 by Brandon Hale
Import upstream version 0.2.0
10905
  version_type=linux
10906
  need_lib_prefix=no
10907
  need_version=no
10908
  hardcode_into_libs=yes
10909
  if test "$host_cpu" = ia64; then
10910
    # AIX 5 supports IA64
10911
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10912
    shlibpath_var=LD_LIBRARY_PATH
10913
  else
10914
    # With GCC up to 2.95.x, collect2 would create an import file
10915
    # for dependence libraries.  The import file would start with
10916
    # the line `#! .'.  This would cause the generated library to
10917
    # depend on `.', always an invalid library.  This was fixed in
10918
    # development snapshots of GCC prior to 3.0.
10919
    case $host_os in
10920
      aix4 | aix4.[01] | aix4.[01].*)
10921
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10922
	   echo ' yes '
1.1.49 by Jo Shields
Import upstream version 0.15.0
10923
	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
1 by Brandon Hale
Import upstream version 0.2.0
10924
	:
10925
      else
10926
	can_build_shared=no
10927
      fi
10928
      ;;
10929
    esac
10930
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10931
    # soname into executable. Probably we can add versioning support to
10932
    # collect2, so additional links can be useful in future.
10933
    if test "$aix_use_runtimelinking" = yes; then
10934
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10935
      # instead of lib<name>.a to let people know that these are not
10936
      # typical AIX shared libraries.
10937
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10938
    else
10939
      # We preserve .a as extension for shared libraries through AIX4.2
10940
      # and later when we are not doing run time linking.
10941
      library_names_spec='${libname}${release}.a $libname.a'
10942
      soname_spec='${libname}${release}${shared_ext}$major'
10943
    fi
10944
    shlibpath_var=LIBPATH
10945
  fi
10946
  ;;
10947
10948
amigaos*)
1.1.49 by Jo Shields
Import upstream version 0.15.0
10949
  case $host_cpu in
10950
  powerpc)
10951
    # Since July 2007 AmigaOS4 officially supports .so libraries.
10952
    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10953
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10954
    ;;
10955
  m68k)
10956
    library_names_spec='$libname.ixlibrary $libname.a'
10957
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
10958
    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''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'
10959
    ;;
10960
  esac
1 by Brandon Hale
Import upstream version 0.2.0
10961
  ;;
10962
10963
beos*)
10964
  library_names_spec='${libname}${shared_ext}'
10965
  dynamic_linker="$host_os ld.so"
10966
  shlibpath_var=LIBRARY_PATH
10967
  ;;
10968
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
10969
bsdi[45]*)
1 by Brandon Hale
Import upstream version 0.2.0
10970
  version_type=linux
10971
  need_version=no
10972
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10973
  soname_spec='${libname}${release}${shared_ext}$major'
10974
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10975
  shlibpath_var=LD_LIBRARY_PATH
10976
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10977
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10978
  # the default ld.so.conf also contains /usr/contrib/lib and
10979
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10980
  # libtool to hard-code these into programs
10981
  ;;
10982
1.1.49 by Jo Shields
Import upstream version 0.15.0
10983
cygwin* | mingw* | pw32* | cegcc*)
1 by Brandon Hale
Import upstream version 0.2.0
10984
  version_type=windows
10985
  shrext_cmds=".dll"
10986
  need_version=no
10987
  need_lib_prefix=no
10988
10989
  case $GCC,$host_os in
1.1.49 by Jo Shields
Import upstream version 0.15.0
10990
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
1 by Brandon Hale
Import upstream version 0.2.0
10991
    library_names_spec='$libname.dll.a'
10992
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10993
    postinstall_cmds='base_file=`basename \${file}`~
1.1.49 by Jo Shields
Import upstream version 0.15.0
10994
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
1 by Brandon Hale
Import upstream version 0.2.0
10995
      dldir=$destdir/`dirname \$dlpath`~
10996
      test -d \$dldir || mkdir -p \$dldir~
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
10997
      $install_prog $dir/$dlname \$dldir/$dlname~
1.1.49 by Jo Shields
Import upstream version 0.15.0
10998
      chmod a+x \$dldir/$dlname~
10999
      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11000
        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11001
      fi'
1 by Brandon Hale
Import upstream version 0.2.0
11002
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11003
      dlpath=$dir/\$dldll~
1.1.49 by Jo Shields
Import upstream version 0.15.0
11004
       $RM \$dlpath'
1 by Brandon Hale
Import upstream version 0.2.0
11005
    shlibpath_overrides_runpath=yes
11006
11007
    case $host_os in
11008
    cygwin*)
11009
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11010
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11011
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
11012
      ;;
1.1.49 by Jo Shields
Import upstream version 0.15.0
11013
    mingw* | cegcc*)
1 by Brandon Hale
Import upstream version 0.2.0
11014
      # MinGW DLLs use traditional 'lib' prefix
11015
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
1.1.49 by Jo Shields
Import upstream version 0.15.0
11016
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11017
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
1 by Brandon Hale
Import upstream version 0.2.0
11018
        # It is most probably a Windows format PATH printed by
11019
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
11020
        # path with ; separators, and with drive letters. We can handle the
11021
        # drive letters (cygwin fileutils understands them), so leave them,
11022
        # especially as we might pass files found there to a mingw objdump,
11023
        # which wouldn't understand a cygwinified path. Ahh.
1.1.49 by Jo Shields
Import upstream version 0.15.0
11024
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
1 by Brandon Hale
Import upstream version 0.2.0
11025
      else
1.1.49 by Jo Shields
Import upstream version 0.15.0
11026
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
1 by Brandon Hale
Import upstream version 0.2.0
11027
      fi
11028
      ;;
11029
    pw32*)
11030
      # pw32 DLLs use 'pw' prefix rather than 'lib'
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
11031
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
1 by Brandon Hale
Import upstream version 0.2.0
11032
      ;;
11033
    esac
11034
    ;;
11035
11036
  *)
11037
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11038
    ;;
11039
  esac
11040
  dynamic_linker='Win32 ld.exe'
11041
  # FIXME: first we should search . and the directory the executable is in
11042
  shlibpath_var=PATH
11043
  ;;
11044
11045
darwin* | rhapsody*)
11046
  dynamic_linker="$host_os dyld"
11047
  version_type=darwin
11048
  need_lib_prefix=no
11049
  need_version=no
1.1.49 by Jo Shields
Import upstream version 0.15.0
11050
  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
1 by Brandon Hale
Import upstream version 0.2.0
11051
  soname_spec='${libname}${release}${major}$shared_ext'
11052
  shlibpath_overrides_runpath=yes
11053
  shlibpath_var=DYLD_LIBRARY_PATH
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
11054
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
1.1.30 by Sebastian Dröge
Import upstream version 0.9.1
11055
11056
  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
1 by Brandon Hale
Import upstream version 0.2.0
11057
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11058
  ;;
11059
11060
dgux*)
11061
  version_type=linux
11062
  need_lib_prefix=no
11063
  need_version=no
11064
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11065
  soname_spec='${libname}${release}${shared_ext}$major'
11066
  shlibpath_var=LD_LIBRARY_PATH
11067
  ;;
11068
11069
freebsd1*)
11070
  dynamic_linker=no
11071
  ;;
11072
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
11073
freebsd* | dragonfly*)
11074
  # DragonFly does not have aout.  When/if they implement a new
11075
  # versioning mechanism, adjust this.
11076
  if test -x /usr/bin/objformat; then
11077
    objformat=`/usr/bin/objformat`
11078
  else
11079
    case $host_os in
11080
    freebsd[123]*) objformat=aout ;;
11081
    *) objformat=elf ;;
11082
    esac
11083
  fi
1 by Brandon Hale
Import upstream version 0.2.0
11084
  version_type=freebsd-$objformat
11085
  case $version_type in
11086
    freebsd-elf*)
11087
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11088
      need_version=no
11089
      need_lib_prefix=no
11090
      ;;
11091
    freebsd-*)
11092
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11093
      need_version=yes
11094
      ;;
11095
  esac
11096
  shlibpath_var=LD_LIBRARY_PATH
11097
  case $host_os in
11098
  freebsd2*)
11099
    shlibpath_overrides_runpath=yes
11100
    ;;
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
11101
  freebsd3.[01]* | freebsdelf3.[01]*)
1 by Brandon Hale
Import upstream version 0.2.0
11102
    shlibpath_overrides_runpath=yes
11103
    hardcode_into_libs=yes
11104
    ;;
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
11105
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11106
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
1 by Brandon Hale
Import upstream version 0.2.0
11107
    shlibpath_overrides_runpath=no
11108
    hardcode_into_libs=yes
11109
    ;;
1.1.30 by Sebastian Dröge
Import upstream version 0.9.1
11110
  *) # from 4.6 on, and DragonFly
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
11111
    shlibpath_overrides_runpath=yes
11112
    hardcode_into_libs=yes
11113
    ;;
1 by Brandon Hale
Import upstream version 0.2.0
11114
  esac
11115
  ;;
11116
11117
gnu*)
11118
  version_type=linux
11119
  need_lib_prefix=no
11120
  need_version=no
11121
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11122
  soname_spec='${libname}${release}${shared_ext}$major'
11123
  shlibpath_var=LD_LIBRARY_PATH
11124
  hardcode_into_libs=yes
11125
  ;;
11126
11127
hpux9* | hpux10* | hpux11*)
11128
  # Give a soname corresponding to the major version so that dld.sl refuses to
11129
  # link against other versions.
11130
  version_type=sunos
11131
  need_lib_prefix=no
11132
  need_version=no
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
11133
  case $host_cpu in
1 by Brandon Hale
Import upstream version 0.2.0
11134
  ia64*)
11135
    shrext_cmds='.so'
11136
    hardcode_into_libs=yes
11137
    dynamic_linker="$host_os dld.so"
11138
    shlibpath_var=LD_LIBRARY_PATH
11139
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11140
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11141
    soname_spec='${libname}${release}${shared_ext}$major'
11142
    if test "X$HPUX_IA64_MODE" = X32; then
11143
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11144
    else
11145
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11146
    fi
11147
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11148
    ;;
1.1.49 by Jo Shields
Import upstream version 0.15.0
11149
  hppa*64*)
11150
    shrext_cmds='.sl'
11151
    hardcode_into_libs=yes
11152
    dynamic_linker="$host_os dld.sl"
11153
    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11154
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11155
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11156
    soname_spec='${libname}${release}${shared_ext}$major'
11157
    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11158
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11159
    ;;
11160
  *)
1 by Brandon Hale
Import upstream version 0.2.0
11161
    shrext_cmds='.sl'
11162
    dynamic_linker="$host_os dld.sl"
11163
    shlibpath_var=SHLIB_PATH
11164
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11165
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11166
    soname_spec='${libname}${release}${shared_ext}$major'
11167
    ;;
11168
  esac
11169
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
11170
  postinstall_cmds='chmod 555 $lib'
11171
  ;;
11172
1.1.30 by Sebastian Dröge
Import upstream version 0.9.1
11173
interix[3-9]*)
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
11174
  version_type=linux
11175
  need_lib_prefix=no
11176
  need_version=no
11177
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11178
  soname_spec='${libname}${release}${shared_ext}$major'
11179
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11180
  shlibpath_var=LD_LIBRARY_PATH
11181
  shlibpath_overrides_runpath=no
11182
  hardcode_into_libs=yes
11183
  ;;
11184
1 by Brandon Hale
Import upstream version 0.2.0
11185
irix5* | irix6* | nonstopux*)
11186
  case $host_os in
11187
    nonstopux*) version_type=nonstopux ;;
11188
    *)
11189
	if test "$lt_cv_prog_gnu_ld" = yes; then
11190
		version_type=linux
11191
	else
11192
		version_type=irix
11193
	fi ;;
11194
  esac
11195
  need_lib_prefix=no
11196
  need_version=no
11197
  soname_spec='${libname}${release}${shared_ext}$major'
11198
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11199
  case $host_os in
11200
  irix5* | nonstopux*)
11201
    libsuff= shlibsuff=
11202
    ;;
11203
  *)
11204
    case $LD in # libtool.m4 will add one of these switches to LD
11205
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11206
      libsuff= shlibsuff= libmagic=32-bit;;
11207
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11208
      libsuff=32 shlibsuff=N32 libmagic=N32;;
11209
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11210
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
11211
    *) libsuff= shlibsuff= libmagic=never-match;;
11212
    esac
11213
    ;;
11214
  esac
11215
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11216
  shlibpath_overrides_runpath=no
11217
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11218
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11219
  hardcode_into_libs=yes
11220
  ;;
11221
11222
# No shared lib support for Linux oldld, aout, or coff.
11223
linux*oldld* | linux*aout* | linux*coff*)
11224
  dynamic_linker=no
11225
  ;;
11226
11227
# This must be Linux ELF.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
11228
linux* | k*bsd*-gnu | kopensolaris*-gnu)
1 by Brandon Hale
Import upstream version 0.2.0
11229
  version_type=linux
11230
  need_lib_prefix=no
11231
  need_version=no
11232
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11233
  soname_spec='${libname}${release}${shared_ext}$major'
11234
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11235
  shlibpath_var=LD_LIBRARY_PATH
11236
  shlibpath_overrides_runpath=no
1.1.49 by Jo Shields
Import upstream version 0.15.0
11237
  # Some binutils ld are patched to set DT_RUNPATH
11238
  save_LDFLAGS=$LDFLAGS
11239
  save_libdir=$libdir
11240
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11241
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
1.3.14 by Ken VanDine
Import upstream version 1.2.2
11242
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1.49 by Jo Shields
Import upstream version 0.15.0
11243
/* end confdefs.h.  */
11244
11245
int
11246
main ()
11247
{
11248
11249
  ;
11250
  return 0;
11251
}
11252
_ACEOF
1.3.14 by Ken VanDine
Import upstream version 1.2.2
11253
if ac_fn_c_try_link "$LINENO"; then :
11254
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
11255
  shlibpath_overrides_runpath=yes
11256
fi
11257
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
11258
rm -f core conftest.err conftest.$ac_objext \
11259
    conftest$ac_exeext conftest.$ac_ext
1.1.49 by Jo Shields
Import upstream version 0.15.0
11260
  LDFLAGS=$save_LDFLAGS
11261
  libdir=$save_libdir
11262
1 by Brandon Hale
Import upstream version 0.2.0
11263
  # This implies no fast_install, which is unacceptable.
11264
  # Some rework will be needed to allow for fast_install
11265
  # before this can be enabled.
11266
  hardcode_into_libs=yes
11267
11268
  # Append ld.so.conf contents to the search path
11269
  if test -f /etc/ld.so.conf; then
1.1.49 by Jo Shields
Import upstream version 0.15.0
11270
    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;/^$/d' | tr '\n' ' '`
1.1.33 by Pedro Fragoso
Import upstream version 0.9.6
11271
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
1 by Brandon Hale
Import upstream version 0.2.0
11272
  fi
11273
11274
  # We used to test for /lib/ld.so.1 and disable shared libraries on
11275
  # powerpc, because MkLinux only supported shared libraries with the
11276
  # GNU dynamic linker.  Since this was broken with cross compilers,
11277
  # most powerpc-linux boxes support dynamic linking these days and
11278
  # people can always --disable-shared, the test was removed, and we
11279
  # assume the GNU/Linux dynamic linker is in use.
11280
  dynamic_linker='GNU/Linux ld.so'
11281
  ;;
11282
1.3.14 by Ken VanDine
Import upstream version 1.2.2
11283
netbsdelf*-gnu)
11284
  version_type=linux
11285
  need_lib_prefix=no
11286
  need_version=no
11287
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11288
  soname_spec='${libname}${release}${shared_ext}$major'
11289
  shlibpath_var=LD_LIBRARY_PATH
11290
  shlibpath_overrides_runpath=no
11291
  hardcode_into_libs=yes
11292
  dynamic_linker='NetBSD ld.elf_so'
11293
  ;;
11294
1 by Brandon Hale
Import upstream version 0.2.0
11295
netbsd*)
11296
  version_type=sunos
11297
  need_lib_prefix=no
11298
  need_version=no
1.1.49 by Jo Shields
Import upstream version 0.15.0
11299
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
1 by Brandon Hale
Import upstream version 0.2.0
11300
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11301
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11302
    dynamic_linker='NetBSD (a.out) ld.so'
11303
  else
11304
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11305
    soname_spec='${libname}${release}${shared_ext}$major'
11306
    dynamic_linker='NetBSD ld.elf_so'
11307
  fi
11308
  shlibpath_var=LD_LIBRARY_PATH
11309
  shlibpath_overrides_runpath=yes
11310
  hardcode_into_libs=yes
11311
  ;;
11312
11313
newsos6)
11314
  version_type=linux
11315
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11316
  shlibpath_var=LD_LIBRARY_PATH
11317
  shlibpath_overrides_runpath=yes
11318
  ;;
11319
1.1.49 by Jo Shields
Import upstream version 0.15.0
11320
*nto* | *qnx*)
11321
  version_type=qnx
1 by Brandon Hale
Import upstream version 0.2.0
11322
  need_lib_prefix=no
11323
  need_version=no
11324
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11325
  soname_spec='${libname}${release}${shared_ext}$major'
11326
  shlibpath_var=LD_LIBRARY_PATH
1.1.49 by Jo Shields
Import upstream version 0.15.0
11327
  shlibpath_overrides_runpath=no
11328
  hardcode_into_libs=yes
11329
  dynamic_linker='ldqnx.so'
1 by Brandon Hale
Import upstream version 0.2.0
11330
  ;;
11331
11332
openbsd*)
11333
  version_type=sunos
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
11334
  sys_lib_dlsearch_path_spec="/usr/lib"
1 by Brandon Hale
Import upstream version 0.2.0
11335
  need_lib_prefix=no
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
11336
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11337
  case $host_os in
1.1.49 by Jo Shields
Import upstream version 0.15.0
11338
    openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
11339
    *)				need_version=no  ;;
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
11340
  esac
1 by Brandon Hale
Import upstream version 0.2.0
11341
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11342
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11343
  shlibpath_var=LD_LIBRARY_PATH
1.1.49 by Jo Shields
Import upstream version 0.15.0
11344
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
1 by Brandon Hale
Import upstream version 0.2.0
11345
    case $host_os in
11346
      openbsd2.[89] | openbsd2.[89].*)
11347
	shlibpath_overrides_runpath=no
11348
	;;
11349
      *)
11350
	shlibpath_overrides_runpath=yes
11351
	;;
11352
      esac
11353
  else
11354
    shlibpath_overrides_runpath=yes
11355
  fi
11356
  ;;
11357
11358
os2*)
11359
  libname_spec='$name'
11360
  shrext_cmds=".dll"
11361
  need_lib_prefix=no
11362
  library_names_spec='$libname${shared_ext} $libname.a'
11363
  dynamic_linker='OS/2 ld.exe'
11364
  shlibpath_var=LIBPATH
11365
  ;;
11366
11367
osf3* | osf4* | osf5*)
11368
  version_type=osf
11369
  need_lib_prefix=no
11370
  need_version=no
11371
  soname_spec='${libname}${release}${shared_ext}$major'
11372
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11373
  shlibpath_var=LD_LIBRARY_PATH
11374
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11375
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11376
  ;;
11377
1.1.30 by Sebastian Dröge
Import upstream version 0.9.1
11378
rdos*)
11379
  dynamic_linker=no
11380
  ;;
11381
1 by Brandon Hale
Import upstream version 0.2.0
11382
solaris*)
11383
  version_type=linux
11384
  need_lib_prefix=no
11385
  need_version=no
11386
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11387
  soname_spec='${libname}${release}${shared_ext}$major'
11388
  shlibpath_var=LD_LIBRARY_PATH
11389
  shlibpath_overrides_runpath=yes
11390
  hardcode_into_libs=yes
11391
  # ldd complains unless libraries are executable
11392
  postinstall_cmds='chmod +x $lib'
11393
  ;;
11394
11395
sunos4*)
11396
  version_type=sunos
11397
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11398
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11399
  shlibpath_var=LD_LIBRARY_PATH
11400
  shlibpath_overrides_runpath=yes
11401
  if test "$with_gnu_ld" = yes; then
11402
    need_lib_prefix=no
11403
  fi
11404
  need_version=yes
11405
  ;;
11406
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
11407
sysv4 | sysv4.3*)
1 by Brandon Hale
Import upstream version 0.2.0
11408
  version_type=linux
11409
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11410
  soname_spec='${libname}${release}${shared_ext}$major'
11411
  shlibpath_var=LD_LIBRARY_PATH
11412
  case $host_vendor in
11413
    sni)
11414
      shlibpath_overrides_runpath=no
11415
      need_lib_prefix=no
11416
      runpath_var=LD_RUN_PATH
11417
      ;;
11418
    siemens)
11419
      need_lib_prefix=no
11420
      ;;
11421
    motorola)
11422
      need_lib_prefix=no
11423
      need_version=no
11424
      shlibpath_overrides_runpath=no
11425
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11426
      ;;
11427
  esac
11428
  ;;
11429
11430
sysv4*MP*)
11431
  if test -d /usr/nec ;then
11432
    version_type=linux
11433
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11434
    soname_spec='$libname${shared_ext}.$major'
11435
    shlibpath_var=LD_LIBRARY_PATH
11436
  fi
11437
  ;;
11438
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
11439
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11440
  version_type=freebsd-elf
11441
  need_lib_prefix=no
11442
  need_version=no
11443
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11444
  soname_spec='${libname}${release}${shared_ext}$major'
11445
  shlibpath_var=LD_LIBRARY_PATH
1.1.49 by Jo Shields
Import upstream version 0.15.0
11446
  shlibpath_overrides_runpath=yes
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
11447
  hardcode_into_libs=yes
11448
  if test "$with_gnu_ld" = yes; then
11449
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11450
  else
11451
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11452
    case $host_os in
11453
      sco3.2v5*)
11454
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11455
	;;
11456
    esac
11457
  fi
11458
  sys_lib_dlsearch_path_spec='/usr/lib'
11459
  ;;
11460
1.1.49 by Jo Shields
Import upstream version 0.15.0
11461
tpf*)
11462
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11463
  version_type=linux
11464
  need_lib_prefix=no
11465
  need_version=no
11466
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11467
  shlibpath_var=LD_LIBRARY_PATH
11468
  shlibpath_overrides_runpath=no
11469
  hardcode_into_libs=yes
11470
  ;;
11471
1 by Brandon Hale
Import upstream version 0.2.0
11472
uts4*)
11473
  version_type=linux
11474
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11475
  soname_spec='${libname}${release}${shared_ext}$major'
11476
  shlibpath_var=LD_LIBRARY_PATH
11477
  ;;
11478
11479
*)
11480
  dynamic_linker=no
11481
  ;;
11482
esac
1.3.14 by Ken VanDine
Import upstream version 1.2.2
11483
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
11484
$as_echo "$dynamic_linker" >&6; }
1 by Brandon Hale
Import upstream version 0.2.0
11485
test "$dynamic_linker" = no && can_build_shared=no
11486
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
11487
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11488
if test "$GCC" = yes; then
11489
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11490
fi
11491
1.1.49 by Jo Shields
Import upstream version 0.15.0
11492
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11493
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11494
fi
11495
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11496
  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11497
fi
11498
11499
11500
11501
11502
11503
11504
11505
11506
11507
11508
11509
11510
11511
11512
11513
11514
11515
11516
11517
11518
11519
11520
11521
11522
11523
11524
11525
11526
11527
11528
11529
11530
11531
11532
11533
11534
11535
11536
11537
11538
11539
11540
11541
11542
11543
11544
11545
11546
11547
11548
11549
11550
11551
11552
11553
11554
11555
11556
11557
11558
11559
11560
11561
11562
11563
11564
11565
11566
11567
11568
11569
11570
11571
11572
11573
11574
11575
11576
11577
11578
11579
11580
11581
11582
11583
11584
1.3.14 by Ken VanDine
Import upstream version 1.2.2
11585
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
11586
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
1 by Brandon Hale
Import upstream version 0.2.0
11587
hardcode_action=
1.1.49 by Jo Shields
Import upstream version 0.15.0
11588
if test -n "$hardcode_libdir_flag_spec" ||
11589
   test -n "$runpath_var" ||
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
11590
   test "X$hardcode_automatic" = "Xyes" ; then
1 by Brandon Hale
Import upstream version 0.2.0
11591
1.1.49 by Jo Shields
Import upstream version 0.15.0
11592
  # We can hardcode non-existent directories.
1 by Brandon Hale
Import upstream version 0.2.0
11593
  if test "$hardcode_direct" != no &&
11594
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
11595
     # have to relink, otherwise we might link with an installed library
11596
     # when we should be linking with a yet-to-be-installed one
1.1.49 by Jo Shields
Import upstream version 0.15.0
11597
     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
1 by Brandon Hale
Import upstream version 0.2.0
11598
     test "$hardcode_minus_L" != no; then
11599
    # Linking always hardcodes the temporary library directory.
11600
    hardcode_action=relink
11601
  else
11602
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
11603
    hardcode_action=immediate
11604
  fi
11605
else
11606
  # We cannot hardcode anything, or else we can only hardcode existing
11607
  # directories.
11608
  hardcode_action=unsupported
11609
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
11610
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
11611
$as_echo "$hardcode_action" >&6; }
1 by Brandon Hale
Import upstream version 0.2.0
11612
1.1.49 by Jo Shields
Import upstream version 0.15.0
11613
if test "$hardcode_action" = relink ||
11614
   test "$inherit_rpath" = yes; then
1 by Brandon Hale
Import upstream version 0.2.0
11615
  # Fast installation is not supported
11616
  enable_fast_install=no
11617
elif test "$shlibpath_overrides_runpath" = yes ||
11618
     test "$enable_shared" = no; then
11619
  # Fast installation is not necessary
11620
  enable_fast_install=needless
11621
fi
11622
1.1.49 by Jo Shields
Import upstream version 0.15.0
11623
11624
11625
11626
11627
11628
  if test "x$enable_dlopen" != xyes; then
1 by Brandon Hale
Import upstream version 0.2.0
11629
  enable_dlopen=unknown
11630
  enable_dlopen_self=unknown
11631
  enable_dlopen_self_static=unknown
11632
else
11633
  lt_cv_dlopen=no
11634
  lt_cv_dlopen_libs=
11635
11636
  case $host_os in
11637
  beos*)
11638
    lt_cv_dlopen="load_add_on"
11639
    lt_cv_dlopen_libs=
11640
    lt_cv_dlopen_self=yes
11641
    ;;
11642
1.1.49 by Jo Shields
Import upstream version 0.15.0
11643
  mingw* | pw32* | cegcc*)
1 by Brandon Hale
Import upstream version 0.2.0
11644
    lt_cv_dlopen="LoadLibrary"
11645
    lt_cv_dlopen_libs=
1.1.49 by Jo Shields
Import upstream version 0.15.0
11646
    ;;
1 by Brandon Hale
Import upstream version 0.2.0
11647
11648
  cygwin*)
11649
    lt_cv_dlopen="dlopen"
11650
    lt_cv_dlopen_libs=
1.1.49 by Jo Shields
Import upstream version 0.15.0
11651
    ;;
1 by Brandon Hale
Import upstream version 0.2.0
11652
11653
  darwin*)
11654
  # if libdl is installed we need to link against it
1.3.14 by Ken VanDine
Import upstream version 1.2.2
11655
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
11656
$as_echo_n "checking for dlopen in -ldl... " >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
11657
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
11658
  $as_echo_n "(cached) " >&6
1 by Brandon Hale
Import upstream version 0.2.0
11659
else
11660
  ac_check_lib_save_LIBS=$LIBS
11661
LIBS="-ldl  $LIBS"
1.3.14 by Ken VanDine
Import upstream version 1.2.2
11662
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1 by Brandon Hale
Import upstream version 0.2.0
11663
/* end confdefs.h.  */
11664
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
11665
/* Override any GCC internal prototype to avoid an error.
11666
   Use char because int might match the return type of a GCC
11667
   builtin and then its argument prototype would still apply.  */
1 by Brandon Hale
Import upstream version 0.2.0
11668
#ifdef __cplusplus
11669
extern "C"
11670
#endif
11671
char dlopen ();
11672
int
11673
main ()
11674
{
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
11675
return dlopen ();
1 by Brandon Hale
Import upstream version 0.2.0
11676
  ;
11677
  return 0;
11678
}
11679
_ACEOF
1.3.14 by Ken VanDine
Import upstream version 1.2.2
11680
if ac_fn_c_try_link "$LINENO"; then :
1 by Brandon Hale
Import upstream version 0.2.0
11681
  ac_cv_lib_dl_dlopen=yes
11682
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
11683
  ac_cv_lib_dl_dlopen=no
1 by Brandon Hale
Import upstream version 0.2.0
11684
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
11685
rm -f core conftest.err conftest.$ac_objext \
11686
    conftest$ac_exeext conftest.$ac_ext
1 by Brandon Hale
Import upstream version 0.2.0
11687
LIBS=$ac_check_lib_save_LIBS
11688
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
11689
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
11690
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
11691
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
1 by Brandon Hale
Import upstream version 0.2.0
11692
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11693
else
11694
11695
    lt_cv_dlopen="dyld"
11696
    lt_cv_dlopen_libs=
11697
    lt_cv_dlopen_self=yes
11698
11699
fi
11700
1.1.49 by Jo Shields
Import upstream version 0.15.0
11701
    ;;
1 by Brandon Hale
Import upstream version 0.2.0
11702
11703
  *)
1.3.14 by Ken VanDine
Import upstream version 1.2.2
11704
    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11705
if test "x$ac_cv_func_shl_load" = x""yes; then :
1 by Brandon Hale
Import upstream version 0.2.0
11706
  lt_cv_dlopen="shl_load"
11707
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
11708
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
11709
$as_echo_n "checking for shl_load in -ldld... " >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
11710
if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
11711
  $as_echo_n "(cached) " >&6
1 by Brandon Hale
Import upstream version 0.2.0
11712
else
11713
  ac_check_lib_save_LIBS=$LIBS
11714
LIBS="-ldld  $LIBS"
1.3.14 by Ken VanDine
Import upstream version 1.2.2
11715
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1 by Brandon Hale
Import upstream version 0.2.0
11716
/* end confdefs.h.  */
11717
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
11718
/* Override any GCC internal prototype to avoid an error.
11719
   Use char because int might match the return type of a GCC
11720
   builtin and then its argument prototype would still apply.  */
1 by Brandon Hale
Import upstream version 0.2.0
11721
#ifdef __cplusplus
11722
extern "C"
11723
#endif
11724
char shl_load ();
11725
int
11726
main ()
11727
{
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
11728
return shl_load ();
1 by Brandon Hale
Import upstream version 0.2.0
11729
  ;
11730
  return 0;
11731
}
11732
_ACEOF
1.3.14 by Ken VanDine
Import upstream version 1.2.2
11733
if ac_fn_c_try_link "$LINENO"; then :
1 by Brandon Hale
Import upstream version 0.2.0
11734
  ac_cv_lib_dld_shl_load=yes
11735
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
11736
  ac_cv_lib_dld_shl_load=no
1 by Brandon Hale
Import upstream version 0.2.0
11737
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
11738
rm -f core conftest.err conftest.$ac_objext \
11739
    conftest$ac_exeext conftest.$ac_ext
1 by Brandon Hale
Import upstream version 0.2.0
11740
LIBS=$ac_check_lib_save_LIBS
11741
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
11742
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
11743
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
11744
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
1.1.40 by Pedro Fragoso
Import upstream version 0.11.1
11745
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
1 by Brandon Hale
Import upstream version 0.2.0
11746
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
11747
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11748
if test "x$ac_cv_func_dlopen" = x""yes; then :
1 by Brandon Hale
Import upstream version 0.2.0
11749
  lt_cv_dlopen="dlopen"
11750
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
11751
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
11752
$as_echo_n "checking for dlopen in -ldl... " >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
11753
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
11754
  $as_echo_n "(cached) " >&6
1 by Brandon Hale
Import upstream version 0.2.0
11755
else
11756
  ac_check_lib_save_LIBS=$LIBS
11757
LIBS="-ldl  $LIBS"
1.3.14 by Ken VanDine
Import upstream version 1.2.2
11758
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1 by Brandon Hale
Import upstream version 0.2.0
11759
/* end confdefs.h.  */
11760
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
11761
/* Override any GCC internal prototype to avoid an error.
11762
   Use char because int might match the return type of a GCC
11763
   builtin and then its argument prototype would still apply.  */
1 by Brandon Hale
Import upstream version 0.2.0
11764
#ifdef __cplusplus
11765
extern "C"
11766
#endif
11767
char dlopen ();
11768
int
11769
main ()
11770
{
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
11771
return dlopen ();
1 by Brandon Hale
Import upstream version 0.2.0
11772
  ;
11773
  return 0;
11774
}
11775
_ACEOF
1.3.14 by Ken VanDine
Import upstream version 1.2.2
11776
if ac_fn_c_try_link "$LINENO"; then :
1 by Brandon Hale
Import upstream version 0.2.0
11777
  ac_cv_lib_dl_dlopen=yes
11778
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
11779
  ac_cv_lib_dl_dlopen=no
1 by Brandon Hale
Import upstream version 0.2.0
11780
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
11781
rm -f core conftest.err conftest.$ac_objext \
11782
    conftest$ac_exeext conftest.$ac_ext
1 by Brandon Hale
Import upstream version 0.2.0
11783
LIBS=$ac_check_lib_save_LIBS
11784
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
11785
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
11786
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
11787
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
1 by Brandon Hale
Import upstream version 0.2.0
11788
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11789
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
11790
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
11791
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
11792
if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
11793
  $as_echo_n "(cached) " >&6
1 by Brandon Hale
Import upstream version 0.2.0
11794
else
11795
  ac_check_lib_save_LIBS=$LIBS
11796
LIBS="-lsvld  $LIBS"
1.3.14 by Ken VanDine
Import upstream version 1.2.2
11797
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1 by Brandon Hale
Import upstream version 0.2.0
11798
/* end confdefs.h.  */
11799
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
11800
/* Override any GCC internal prototype to avoid an error.
11801
   Use char because int might match the return type of a GCC
11802
   builtin and then its argument prototype would still apply.  */
1 by Brandon Hale
Import upstream version 0.2.0
11803
#ifdef __cplusplus
11804
extern "C"
11805
#endif
11806
char dlopen ();
11807
int
11808
main ()
11809
{
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
11810
return dlopen ();
1 by Brandon Hale
Import upstream version 0.2.0
11811
  ;
11812
  return 0;
11813
}
11814
_ACEOF
1.3.14 by Ken VanDine
Import upstream version 1.2.2
11815
if ac_fn_c_try_link "$LINENO"; then :
1 by Brandon Hale
Import upstream version 0.2.0
11816
  ac_cv_lib_svld_dlopen=yes
11817
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
11818
  ac_cv_lib_svld_dlopen=no
1 by Brandon Hale
Import upstream version 0.2.0
11819
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
11820
rm -f core conftest.err conftest.$ac_objext \
11821
    conftest$ac_exeext conftest.$ac_ext
1 by Brandon Hale
Import upstream version 0.2.0
11822
LIBS=$ac_check_lib_save_LIBS
11823
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
11824
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
11825
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
11826
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
1 by Brandon Hale
Import upstream version 0.2.0
11827
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11828
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
11829
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
11830
$as_echo_n "checking for dld_link in -ldld... " >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
11831
if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
11832
  $as_echo_n "(cached) " >&6
1 by Brandon Hale
Import upstream version 0.2.0
11833
else
11834
  ac_check_lib_save_LIBS=$LIBS
11835
LIBS="-ldld  $LIBS"
1.3.14 by Ken VanDine
Import upstream version 1.2.2
11836
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1 by Brandon Hale
Import upstream version 0.2.0
11837
/* end confdefs.h.  */
11838
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
11839
/* Override any GCC internal prototype to avoid an error.
11840
   Use char because int might match the return type of a GCC
11841
   builtin and then its argument prototype would still apply.  */
1 by Brandon Hale
Import upstream version 0.2.0
11842
#ifdef __cplusplus
11843
extern "C"
11844
#endif
11845
char dld_link ();
11846
int
11847
main ()
11848
{
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
11849
return dld_link ();
1 by Brandon Hale
Import upstream version 0.2.0
11850
  ;
11851
  return 0;
11852
}
11853
_ACEOF
1.3.14 by Ken VanDine
Import upstream version 1.2.2
11854
if ac_fn_c_try_link "$LINENO"; then :
1 by Brandon Hale
Import upstream version 0.2.0
11855
  ac_cv_lib_dld_dld_link=yes
11856
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
11857
  ac_cv_lib_dld_dld_link=no
1 by Brandon Hale
Import upstream version 0.2.0
11858
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
11859
rm -f core conftest.err conftest.$ac_objext \
11860
    conftest$ac_exeext conftest.$ac_ext
1 by Brandon Hale
Import upstream version 0.2.0
11861
LIBS=$ac_check_lib_save_LIBS
11862
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
11863
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
11864
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
11865
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
1.1.40 by Pedro Fragoso
Import upstream version 0.11.1
11866
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
1 by Brandon Hale
Import upstream version 0.2.0
11867
fi
11868
11869
11870
fi
11871
11872
11873
fi
11874
11875
11876
fi
11877
11878
11879
fi
11880
11881
11882
fi
11883
11884
    ;;
11885
  esac
11886
11887
  if test "x$lt_cv_dlopen" != xno; then
11888
    enable_dlopen=yes
11889
  else
11890
    enable_dlopen=no
11891
  fi
11892
11893
  case $lt_cv_dlopen in
11894
  dlopen)
11895
    save_CPPFLAGS="$CPPFLAGS"
11896
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11897
11898
    save_LDFLAGS="$LDFLAGS"
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
11899
    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
1 by Brandon Hale
Import upstream version 0.2.0
11900
11901
    save_LIBS="$LIBS"
11902
    LIBS="$lt_cv_dlopen_libs $LIBS"
11903
1.3.14 by Ken VanDine
Import upstream version 1.2.2
11904
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
11905
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
11906
if test "${lt_cv_dlopen_self+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
11907
  $as_echo_n "(cached) " >&6
1 by Brandon Hale
Import upstream version 0.2.0
11908
else
11909
  	  if test "$cross_compiling" = yes; then :
11910
  lt_cv_dlopen_self=cross
11911
else
11912
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11913
  lt_status=$lt_dlunknown
1.1.49 by Jo Shields
Import upstream version 0.15.0
11914
  cat > conftest.$ac_ext <<_LT_EOF
1.3.14 by Ken VanDine
Import upstream version 1.2.2
11915
#line 11915 "configure"
1 by Brandon Hale
Import upstream version 0.2.0
11916
#include "confdefs.h"
11917
11918
#if HAVE_DLFCN_H
11919
#include <dlfcn.h>
11920
#endif
11921
11922
#include <stdio.h>
11923
11924
#ifdef RTLD_GLOBAL
11925
#  define LT_DLGLOBAL		RTLD_GLOBAL
11926
#else
11927
#  ifdef DL_GLOBAL
11928
#    define LT_DLGLOBAL		DL_GLOBAL
11929
#  else
11930
#    define LT_DLGLOBAL		0
11931
#  endif
11932
#endif
11933
11934
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11935
   find out it does not work in some platform. */
11936
#ifndef LT_DLLAZY_OR_NOW
11937
#  ifdef RTLD_LAZY
11938
#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
11939
#  else
11940
#    ifdef DL_LAZY
11941
#      define LT_DLLAZY_OR_NOW		DL_LAZY
11942
#    else
11943
#      ifdef RTLD_NOW
11944
#        define LT_DLLAZY_OR_NOW	RTLD_NOW
11945
#      else
11946
#        ifdef DL_NOW
11947
#          define LT_DLLAZY_OR_NOW	DL_NOW
11948
#        else
11949
#          define LT_DLLAZY_OR_NOW	0
11950
#        endif
11951
#      endif
11952
#    endif
11953
#  endif
11954
#endif
11955
11956
void fnord() { int i=42;}
11957
int main ()
11958
{
11959
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11960
  int status = $lt_dlunknown;
11961
11962
  if (self)
11963
    {
11964
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11965
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11966
      /* dlclose (self); */
11967
    }
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
11968
  else
11969
    puts (dlerror ());
1 by Brandon Hale
Import upstream version 0.2.0
11970
1.1.49 by Jo Shields
Import upstream version 0.15.0
11971
  return status;
1 by Brandon Hale
Import upstream version 0.2.0
11972
}
1.1.49 by Jo Shields
Import upstream version 0.15.0
11973
_LT_EOF
1.3.14 by Ken VanDine
Import upstream version 1.2.2
11974
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
1 by Brandon Hale
Import upstream version 0.2.0
11975
  (eval $ac_link) 2>&5
11976
  ac_status=$?
1.3.14 by Ken VanDine
Import upstream version 1.2.2
11977
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11978
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
11979
    (./conftest; exit; ) >&5 2>/dev/null
1 by Brandon Hale
Import upstream version 0.2.0
11980
    lt_status=$?
11981
    case x$lt_status in
11982
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11983
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
11984
      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
1 by Brandon Hale
Import upstream version 0.2.0
11985
    esac
11986
  else :
11987
    # compilation failed
11988
    lt_cv_dlopen_self=no
11989
  fi
11990
fi
11991
rm -fr conftest*
11992
11993
11994
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
11995
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
11996
$as_echo "$lt_cv_dlopen_self" >&6; }
1 by Brandon Hale
Import upstream version 0.2.0
11997
11998
    if test "x$lt_cv_dlopen_self" = xyes; then
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
11999
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12000
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
12001
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12002
if test "${lt_cv_dlopen_self_static+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
12003
  $as_echo_n "(cached) " >&6
1 by Brandon Hale
Import upstream version 0.2.0
12004
else
12005
  	  if test "$cross_compiling" = yes; then :
12006
  lt_cv_dlopen_self_static=cross
12007
else
12008
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12009
  lt_status=$lt_dlunknown
1.1.49 by Jo Shields
Import upstream version 0.15.0
12010
  cat > conftest.$ac_ext <<_LT_EOF
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12011
#line 12011 "configure"
1 by Brandon Hale
Import upstream version 0.2.0
12012
#include "confdefs.h"
12013
12014
#if HAVE_DLFCN_H
12015
#include <dlfcn.h>
12016
#endif
12017
12018
#include <stdio.h>
12019
12020
#ifdef RTLD_GLOBAL
12021
#  define LT_DLGLOBAL		RTLD_GLOBAL
12022
#else
12023
#  ifdef DL_GLOBAL
12024
#    define LT_DLGLOBAL		DL_GLOBAL
12025
#  else
12026
#    define LT_DLGLOBAL		0
12027
#  endif
12028
#endif
12029
12030
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12031
   find out it does not work in some platform. */
12032
#ifndef LT_DLLAZY_OR_NOW
12033
#  ifdef RTLD_LAZY
12034
#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
12035
#  else
12036
#    ifdef DL_LAZY
12037
#      define LT_DLLAZY_OR_NOW		DL_LAZY
12038
#    else
12039
#      ifdef RTLD_NOW
12040
#        define LT_DLLAZY_OR_NOW	RTLD_NOW
12041
#      else
12042
#        ifdef DL_NOW
12043
#          define LT_DLLAZY_OR_NOW	DL_NOW
12044
#        else
12045
#          define LT_DLLAZY_OR_NOW	0
12046
#        endif
12047
#      endif
12048
#    endif
12049
#  endif
12050
#endif
12051
12052
void fnord() { int i=42;}
12053
int main ()
12054
{
12055
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12056
  int status = $lt_dlunknown;
12057
12058
  if (self)
12059
    {
12060
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12061
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12062
      /* dlclose (self); */
12063
    }
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
12064
  else
12065
    puts (dlerror ());
1 by Brandon Hale
Import upstream version 0.2.0
12066
1.1.49 by Jo Shields
Import upstream version 0.15.0
12067
  return status;
1 by Brandon Hale
Import upstream version 0.2.0
12068
}
1.1.49 by Jo Shields
Import upstream version 0.15.0
12069
_LT_EOF
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12070
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
1 by Brandon Hale
Import upstream version 0.2.0
12071
  (eval $ac_link) 2>&5
12072
  ac_status=$?
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12073
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12074
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
12075
    (./conftest; exit; ) >&5 2>/dev/null
1 by Brandon Hale
Import upstream version 0.2.0
12076
    lt_status=$?
12077
    case x$lt_status in
12078
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12079
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
12080
      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
1 by Brandon Hale
Import upstream version 0.2.0
12081
    esac
12082
  else :
12083
    # compilation failed
12084
    lt_cv_dlopen_self_static=no
12085
  fi
12086
fi
12087
rm -fr conftest*
12088
12089
12090
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12091
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
12092
$as_echo "$lt_cv_dlopen_self_static" >&6; }
1 by Brandon Hale
Import upstream version 0.2.0
12093
    fi
12094
12095
    CPPFLAGS="$save_CPPFLAGS"
12096
    LDFLAGS="$save_LDFLAGS"
12097
    LIBS="$save_LIBS"
12098
    ;;
12099
  esac
12100
12101
  case $lt_cv_dlopen_self in
12102
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12103
  *) enable_dlopen_self=unknown ;;
12104
  esac
12105
12106
  case $lt_cv_dlopen_self_static in
12107
  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12108
  *) enable_dlopen_self_static=unknown ;;
12109
  esac
12110
fi
12111
12112
1.1.49 by Jo Shields
Import upstream version 0.15.0
12113
12114
12115
12116
12117
12118
12119
12120
12121
12122
12123
12124
12125
12126
12127
12128
striplib=
12129
old_striplib=
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12130
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
12131
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
12132
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12133
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12134
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12135
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
12136
$as_echo "yes" >&6; }
12137
else
12138
# FIXME - insert some real tests, host_os isn't really good enough
12139
  case $host_os in
12140
  darwin*)
12141
    if test -n "$STRIP" ; then
12142
      striplib="$STRIP -x"
12143
      old_striplib="$STRIP -S"
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12144
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
12145
$as_echo "yes" >&6; }
12146
    else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12147
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
12148
$as_echo "no" >&6; }
12149
    fi
12150
    ;;
12151
  *)
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12152
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
12153
$as_echo "no" >&6; }
12154
    ;;
12155
  esac
12156
fi
12157
12158
12159
12160
12161
12162
12163
12164
12165
12166
12167
12168
12169
  # Report which library types will actually be built
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12170
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
12171
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12172
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
12173
$as_echo "$can_build_shared" >&6; }
12174
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12175
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
12176
$as_echo_n "checking whether to build shared libraries... " >&6; }
12177
  test "$can_build_shared" = "no" && enable_shared=no
12178
12179
  # On AIX, shared libraries and static libraries use the same namespace, and
12180
  # are all built from PIC.
12181
  case $host_os in
12182
  aix3*)
12183
    test "$enable_shared" = yes && enable_static=no
12184
    if test -n "$RANLIB"; then
12185
      archive_cmds="$archive_cmds~\$RANLIB \$lib"
12186
      postinstall_cmds='$RANLIB $lib'
12187
    fi
12188
    ;;
12189
12190
  aix[4-9]*)
12191
    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12192
      test "$enable_shared" = yes && enable_static=no
12193
    fi
12194
    ;;
12195
  esac
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12196
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
12197
$as_echo "$enable_shared" >&6; }
12198
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12199
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
12200
$as_echo_n "checking whether to build static libraries... " >&6; }
12201
  # Make sure either enable_shared or enable_static is yes.
12202
  test "$enable_shared" = yes || enable_static=yes
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12203
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
12204
$as_echo "$enable_static" >&6; }
12205
12206
12207
12208
12209
fi
12210
ac_ext=c
12211
ac_cpp='$CPP $CPPFLAGS'
12212
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12213
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12214
ac_compiler_gnu=$ac_cv_c_compiler_gnu
12215
12216
CC="$lt_save_CC"
12217
12218
12219
12220
12221
12222
12223
12224
12225
12226
12227
12228
12229
12230
        ac_config_commands="$ac_config_commands libtool"
12231
12232
12233
12234
12235
# Only expand once:
1 by Brandon Hale
Import upstream version 0.2.0
12236
12237
12238
12239
#
12240
# Setup GETTEXT
12241
#
1.1.5 by Sebastian Dröge
Import upstream version 0.4.0
12242
1 by Brandon Hale
Import upstream version 0.2.0
12243
GETTEXT_PACKAGE=tomboy
12244
12245
12246
cat >>confdefs.h <<_ACEOF
12247
#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
12248
_ACEOF
12249
12250
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12251
   for ac_header in locale.h
12252
do :
12253
  ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
12254
if test "x$ac_cv_header_locale_h" = x""yes; then :
1 by Brandon Hale
Import upstream version 0.2.0
12255
  cat >>confdefs.h <<_ACEOF
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12256
#define HAVE_LOCALE_H 1
1 by Brandon Hale
Import upstream version 0.2.0
12257
_ACEOF
12258
12259
fi
12260
12261
done
12262
12263
    if test $ac_cv_header_locale_h = yes; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12264
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
12265
$as_echo_n "checking for LC_MESSAGES... " >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12266
if test "${am_cv_val_LC_MESSAGES+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
12267
  $as_echo_n "(cached) " >&6
1 by Brandon Hale
Import upstream version 0.2.0
12268
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12269
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1 by Brandon Hale
Import upstream version 0.2.0
12270
/* end confdefs.h.  */
12271
#include <locale.h>
12272
int
12273
main ()
12274
{
12275
return LC_MESSAGES
12276
  ;
12277
  return 0;
12278
}
12279
_ACEOF
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12280
if ac_fn_c_try_link "$LINENO"; then :
1 by Brandon Hale
Import upstream version 0.2.0
12281
  am_cv_val_LC_MESSAGES=yes
12282
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12283
  am_cv_val_LC_MESSAGES=no
12284
fi
12285
rm -f core conftest.err conftest.$ac_objext \
12286
    conftest$ac_exeext conftest.$ac_ext
12287
fi
12288
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
12289
$as_echo "$am_cv_val_LC_MESSAGES" >&6; }
1 by Brandon Hale
Import upstream version 0.2.0
12290
    if test $am_cv_val_LC_MESSAGES = yes; then
12291
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12292
$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
1 by Brandon Hale
Import upstream version 0.2.0
12293
12294
    fi
12295
  fi
1.1.40 by Pedro Fragoso
Import upstream version 0.11.1
12296
     USE_NLS=yes
1 by Brandon Hale
Import upstream version 0.2.0
12297
12298
12299
    gt_cv_have_gettext=no
12300
12301
    CATOBJEXT=NONE
12302
    XGETTEXT=:
12303
    INTLLIBS=
12304
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12305
    ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
12306
if test "x$ac_cv_header_libintl_h" = x""yes; then :
1 by Brandon Hale
Import upstream version 0.2.0
12307
  gt_cv_func_dgettext_libintl="no"
12308
      libintl_extra_libs=""
12309
12310
      #
12311
      # First check in libc
12312
      #
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12313
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
12314
$as_echo_n "checking for ngettext in libc... " >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12315
if test "${gt_cv_func_ngettext_libc+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
12316
  $as_echo_n "(cached) " >&6
1.1.2 by Brandon Hale
Import upstream version 0.3.3
12317
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12318
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1.2 by Brandon Hale
Import upstream version 0.3.3
12319
/* end confdefs.h.  */
12320
12321
#include <libintl.h>
12322
12323
int
12324
main ()
12325
{
1.1.3 by Sebastian Dröge
Import upstream version 0.3.5
12326
return !ngettext ("","", 1)
1.1.2 by Brandon Hale
Import upstream version 0.3.3
12327
  ;
12328
  return 0;
12329
}
12330
_ACEOF
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12331
if ac_fn_c_try_link "$LINENO"; then :
1.1.2 by Brandon Hale
Import upstream version 0.3.3
12332
  gt_cv_func_ngettext_libc=yes
12333
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12334
  gt_cv_func_ngettext_libc=no
12335
fi
12336
rm -f core conftest.err conftest.$ac_objext \
12337
    conftest$ac_exeext conftest.$ac_ext
12338
12339
fi
12340
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
12341
$as_echo "$gt_cv_func_ngettext_libc" >&6; }
1.1.2 by Brandon Hale
Import upstream version 0.3.3
12342
12343
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12344
	      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
12345
$as_echo_n "checking for dgettext in libc... " >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12346
if test "${gt_cv_func_dgettext_libc+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
12347
  $as_echo_n "(cached) " >&6
1 by Brandon Hale
Import upstream version 0.2.0
12348
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12349
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1 by Brandon Hale
Import upstream version 0.2.0
12350
/* end confdefs.h.  */
12351
12352
#include <libintl.h>
12353
12354
int
12355
main ()
12356
{
1.1.3 by Sebastian Dröge
Import upstream version 0.3.5
12357
return !dgettext ("","")
1 by Brandon Hale
Import upstream version 0.2.0
12358
  ;
12359
  return 0;
12360
}
12361
_ACEOF
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12362
if ac_fn_c_try_link "$LINENO"; then :
1 by Brandon Hale
Import upstream version 0.2.0
12363
  gt_cv_func_dgettext_libc=yes
12364
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12365
  gt_cv_func_dgettext_libc=no
12366
fi
12367
rm -f core conftest.err conftest.$ac_objext \
12368
    conftest$ac_exeext conftest.$ac_ext
12369
12370
fi
12371
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
12372
$as_echo "$gt_cv_func_dgettext_libc" >&6; }
1.1.2 by Brandon Hale
Import upstream version 0.3.3
12373
      fi
1 by Brandon Hale
Import upstream version 0.2.0
12374
1.1.2 by Brandon Hale
Import upstream version 0.3.3
12375
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12376
        for ac_func in bind_textdomain_codeset
12377
do :
12378
  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
12379
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
1 by Brandon Hale
Import upstream version 0.2.0
12380
  cat >>confdefs.h <<_ACEOF
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12381
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
1 by Brandon Hale
Import upstream version 0.2.0
12382
_ACEOF
12383
12384
fi
12385
done
12386
12387
      fi
12388
12389
      #
12390
      # If we don't have everything we want, check in libintl
12391
      #
12392
      if test "$gt_cv_func_dgettext_libc" != "yes" \
1.1.2 by Brandon Hale
Import upstream version 0.3.3
12393
	 || test "$gt_cv_func_ngettext_libc" != "yes" \
1 by Brandon Hale
Import upstream version 0.2.0
12394
         || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
12395
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12396
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
12397
$as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12398
if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
12399
  $as_echo_n "(cached) " >&6
1 by Brandon Hale
Import upstream version 0.2.0
12400
else
12401
  ac_check_lib_save_LIBS=$LIBS
12402
LIBS="-lintl  $LIBS"
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12403
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1 by Brandon Hale
Import upstream version 0.2.0
12404
/* end confdefs.h.  */
12405
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
12406
/* Override any GCC internal prototype to avoid an error.
12407
   Use char because int might match the return type of a GCC
12408
   builtin and then its argument prototype would still apply.  */
1 by Brandon Hale
Import upstream version 0.2.0
12409
#ifdef __cplusplus
12410
extern "C"
12411
#endif
12412
char bindtextdomain ();
12413
int
12414
main ()
12415
{
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
12416
return bindtextdomain ();
1 by Brandon Hale
Import upstream version 0.2.0
12417
  ;
12418
  return 0;
12419
}
12420
_ACEOF
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12421
if ac_fn_c_try_link "$LINENO"; then :
1 by Brandon Hale
Import upstream version 0.2.0
12422
  ac_cv_lib_intl_bindtextdomain=yes
12423
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12424
  ac_cv_lib_intl_bindtextdomain=no
1 by Brandon Hale
Import upstream version 0.2.0
12425
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12426
rm -f core conftest.err conftest.$ac_objext \
12427
    conftest$ac_exeext conftest.$ac_ext
1 by Brandon Hale
Import upstream version 0.2.0
12428
LIBS=$ac_check_lib_save_LIBS
12429
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12430
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
12431
$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12432
if test "x$ac_cv_lib_intl_bindtextdomain" = x""yes; then :
12433
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
12434
$as_echo_n "checking for ngettext in -lintl... " >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12435
if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
12436
  $as_echo_n "(cached) " >&6
1.1.2 by Brandon Hale
Import upstream version 0.3.3
12437
else
12438
  ac_check_lib_save_LIBS=$LIBS
12439
LIBS="-lintl  $LIBS"
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12440
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1.2 by Brandon Hale
Import upstream version 0.3.3
12441
/* end confdefs.h.  */
12442
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
12443
/* Override any GCC internal prototype to avoid an error.
12444
   Use char because int might match the return type of a GCC
12445
   builtin and then its argument prototype would still apply.  */
1.1.2 by Brandon Hale
Import upstream version 0.3.3
12446
#ifdef __cplusplus
12447
extern "C"
12448
#endif
12449
char ngettext ();
12450
int
12451
main ()
12452
{
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
12453
return ngettext ();
1.1.2 by Brandon Hale
Import upstream version 0.3.3
12454
  ;
12455
  return 0;
12456
}
12457
_ACEOF
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12458
if ac_fn_c_try_link "$LINENO"; then :
1.1.2 by Brandon Hale
Import upstream version 0.3.3
12459
  ac_cv_lib_intl_ngettext=yes
12460
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12461
  ac_cv_lib_intl_ngettext=no
1.1.2 by Brandon Hale
Import upstream version 0.3.3
12462
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12463
rm -f core conftest.err conftest.$ac_objext \
12464
    conftest$ac_exeext conftest.$ac_ext
1.1.2 by Brandon Hale
Import upstream version 0.3.3
12465
LIBS=$ac_check_lib_save_LIBS
12466
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12467
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
12468
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12469
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then :
12470
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
12471
$as_echo_n "checking for dgettext in -lintl... " >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12472
if test "${ac_cv_lib_intl_dgettext+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
12473
  $as_echo_n "(cached) " >&6
1 by Brandon Hale
Import upstream version 0.2.0
12474
else
12475
  ac_check_lib_save_LIBS=$LIBS
12476
LIBS="-lintl  $LIBS"
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12477
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1 by Brandon Hale
Import upstream version 0.2.0
12478
/* end confdefs.h.  */
12479
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
12480
/* Override any GCC internal prototype to avoid an error.
12481
   Use char because int might match the return type of a GCC
12482
   builtin and then its argument prototype would still apply.  */
1 by Brandon Hale
Import upstream version 0.2.0
12483
#ifdef __cplusplus
12484
extern "C"
12485
#endif
12486
char dgettext ();
12487
int
12488
main ()
12489
{
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
12490
return dgettext ();
1 by Brandon Hale
Import upstream version 0.2.0
12491
  ;
12492
  return 0;
12493
}
12494
_ACEOF
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12495
if ac_fn_c_try_link "$LINENO"; then :
1 by Brandon Hale
Import upstream version 0.2.0
12496
  ac_cv_lib_intl_dgettext=yes
12497
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12498
  ac_cv_lib_intl_dgettext=no
1 by Brandon Hale
Import upstream version 0.2.0
12499
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12500
rm -f core conftest.err conftest.$ac_objext \
12501
    conftest$ac_exeext conftest.$ac_ext
1 by Brandon Hale
Import upstream version 0.2.0
12502
LIBS=$ac_check_lib_save_LIBS
12503
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12504
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
12505
$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12506
if test "x$ac_cv_lib_intl_dgettext" = x""yes; then :
1 by Brandon Hale
Import upstream version 0.2.0
12507
  gt_cv_func_dgettext_libintl=yes
12508
fi
12509
12510
fi
12511
1.1.2 by Brandon Hale
Import upstream version 0.3.3
12512
fi
12513
1 by Brandon Hale
Import upstream version 0.2.0
12514
12515
	if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12516
	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
12517
$as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12518
	  { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
12519
$as_echo "" >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12520
  	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
12521
$as_echo_n "checking for ngettext in -lintl... " >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12522
if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
12523
  $as_echo_n "(cached) " >&6
1.1.2 by Brandon Hale
Import upstream version 0.3.3
12524
else
12525
  ac_check_lib_save_LIBS=$LIBS
12526
LIBS="-lintl -liconv $LIBS"
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12527
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1.2 by Brandon Hale
Import upstream version 0.3.3
12528
/* end confdefs.h.  */
12529
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
12530
/* Override any GCC internal prototype to avoid an error.
12531
   Use char because int might match the return type of a GCC
12532
   builtin and then its argument prototype would still apply.  */
1.1.2 by Brandon Hale
Import upstream version 0.3.3
12533
#ifdef __cplusplus
12534
extern "C"
12535
#endif
12536
char ngettext ();
12537
int
12538
main ()
12539
{
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
12540
return ngettext ();
1.1.2 by Brandon Hale
Import upstream version 0.3.3
12541
  ;
12542
  return 0;
12543
}
12544
_ACEOF
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12545
if ac_fn_c_try_link "$LINENO"; then :
1.1.2 by Brandon Hale
Import upstream version 0.3.3
12546
  ac_cv_lib_intl_ngettext=yes
12547
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12548
  ac_cv_lib_intl_ngettext=no
1.1.2 by Brandon Hale
Import upstream version 0.3.3
12549
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12550
rm -f core conftest.err conftest.$ac_objext \
12551
    conftest$ac_exeext conftest.$ac_ext
1.1.2 by Brandon Hale
Import upstream version 0.3.3
12552
LIBS=$ac_check_lib_save_LIBS
12553
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12554
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
12555
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12556
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then :
12557
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
12558
$as_echo_n "checking for dcgettext in -lintl... " >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12559
if test "${ac_cv_lib_intl_dcgettext+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
12560
  $as_echo_n "(cached) " >&6
1 by Brandon Hale
Import upstream version 0.2.0
12561
else
12562
  ac_check_lib_save_LIBS=$LIBS
12563
LIBS="-lintl -liconv $LIBS"
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12564
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1 by Brandon Hale
Import upstream version 0.2.0
12565
/* end confdefs.h.  */
12566
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
12567
/* Override any GCC internal prototype to avoid an error.
12568
   Use char because int might match the return type of a GCC
12569
   builtin and then its argument prototype would still apply.  */
1 by Brandon Hale
Import upstream version 0.2.0
12570
#ifdef __cplusplus
12571
extern "C"
12572
#endif
12573
char dcgettext ();
12574
int
12575
main ()
12576
{
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
12577
return dcgettext ();
1 by Brandon Hale
Import upstream version 0.2.0
12578
  ;
12579
  return 0;
12580
}
12581
_ACEOF
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12582
if ac_fn_c_try_link "$LINENO"; then :
1 by Brandon Hale
Import upstream version 0.2.0
12583
  ac_cv_lib_intl_dcgettext=yes
12584
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12585
  ac_cv_lib_intl_dcgettext=no
1 by Brandon Hale
Import upstream version 0.2.0
12586
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12587
rm -f core conftest.err conftest.$ac_objext \
12588
    conftest$ac_exeext conftest.$ac_ext
1 by Brandon Hale
Import upstream version 0.2.0
12589
LIBS=$ac_check_lib_save_LIBS
12590
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12591
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
12592
$as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12593
if test "x$ac_cv_lib_intl_dcgettext" = x""yes; then :
1 by Brandon Hale
Import upstream version 0.2.0
12594
  gt_cv_func_dgettext_libintl=yes
12595
			libintl_extra_libs=-liconv
12596
else
12597
  :
12598
fi
12599
1.1.2 by Brandon Hale
Import upstream version 0.3.3
12600
else
12601
  :
12602
fi
12603
1 by Brandon Hale
Import upstream version 0.2.0
12604
        fi
12605
12606
        #
12607
        # If we found libintl, then check in it for bind_textdomain_codeset();
12608
        # we'll prefer libc if neither have bind_textdomain_codeset(),
1.1.2 by Brandon Hale
Import upstream version 0.3.3
12609
        # and both have dgettext and ngettext
1 by Brandon Hale
Import upstream version 0.2.0
12610
        #
12611
        if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
12612
          glib_save_LIBS="$LIBS"
12613
          LIBS="$LIBS -lintl $libintl_extra_libs"
12614
          unset ac_cv_func_bind_textdomain_codeset
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12615
          for ac_func in bind_textdomain_codeset
12616
do :
12617
  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
12618
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
1 by Brandon Hale
Import upstream version 0.2.0
12619
  cat >>confdefs.h <<_ACEOF
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12620
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
1 by Brandon Hale
Import upstream version 0.2.0
12621
_ACEOF
12622
12623
fi
12624
done
12625
12626
          LIBS="$glib_save_LIBS"
12627
12628
          if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
12629
            gt_cv_func_dgettext_libc=no
12630
          else
1.1.2 by Brandon Hale
Import upstream version 0.3.3
12631
            if test "$gt_cv_func_dgettext_libc" = "yes" \
12632
		&& test "$gt_cv_func_ngettext_libc" = "yes"; then
1 by Brandon Hale
Import upstream version 0.2.0
12633
              gt_cv_func_dgettext_libintl=no
12634
            fi
12635
          fi
12636
        fi
12637
      fi
12638
12639
      if test "$gt_cv_func_dgettext_libc" = "yes" \
12640
	|| test "$gt_cv_func_dgettext_libintl" = "yes"; then
12641
        gt_cv_have_gettext=yes
12642
      fi
12643
12644
      if test "$gt_cv_func_dgettext_libintl" = "yes"; then
12645
        INTLLIBS="-lintl $libintl_extra_libs"
12646
      fi
12647
12648
      if test "$gt_cv_have_gettext" = "yes"; then
12649
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12650
$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
1 by Brandon Hale
Import upstream version 0.2.0
12651
12652
	# Extract the first word of "msgfmt", so it can be a program name with args.
12653
set dummy msgfmt; ac_word=$2
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12654
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
12655
$as_echo_n "checking for $ac_word... " >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12656
if test "${ac_cv_path_MSGFMT+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
12657
  $as_echo_n "(cached) " >&6
1 by Brandon Hale
Import upstream version 0.2.0
12658
else
12659
  case "$MSGFMT" in
12660
  /*)
12661
  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
12662
  ;;
12663
  *)
12664
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
12665
  for ac_dir in $PATH; do
12666
    test -z "$ac_dir" && ac_dir=.
12667
    if test -f $ac_dir/$ac_word; then
12668
      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
12669
	ac_cv_path_MSGFMT="$ac_dir/$ac_word"
12670
	break
12671
      fi
12672
    fi
12673
  done
12674
  IFS="$ac_save_ifs"
12675
  test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
12676
  ;;
12677
esac
12678
fi
12679
MSGFMT="$ac_cv_path_MSGFMT"
12680
if test "$MSGFMT" != "no"; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12681
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
12682
$as_echo "$MSGFMT" >&6; }
1 by Brandon Hale
Import upstream version 0.2.0
12683
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12684
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
12685
$as_echo "no" >&6; }
1 by Brandon Hale
Import upstream version 0.2.0
12686
fi
12687
	if test "$MSGFMT" != "no"; then
12688
          glib_save_LIBS="$LIBS"
12689
          LIBS="$LIBS $INTLLIBS"
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12690
	  for ac_func in dcgettext
12691
do :
12692
  ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
12693
if test "x$ac_cv_func_dcgettext" = x""yes; then :
1 by Brandon Hale
Import upstream version 0.2.0
12694
  cat >>confdefs.h <<_ACEOF
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12695
#define HAVE_DCGETTEXT 1
1 by Brandon Hale
Import upstream version 0.2.0
12696
_ACEOF
12697
12698
fi
12699
done
12700
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
12701
	  MSGFMT_OPTS=
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12702
	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
12703
$as_echo_n "checking if msgfmt accepts -c... " >&6; }
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
12704
	  cat >conftest.foo <<_ACEOF
12705
12706
msgid ""
12707
msgstr ""
12708
"Content-Type: text/plain; charset=UTF-8\n"
12709
"Project-Id-Version: test 1.0\n"
12710
"PO-Revision-Date: 2007-02-15 12:01+0100\n"
12711
"Last-Translator: test <foo@bar.xx>\n"
12712
"Language-Team: C <LL@li.org>\n"
12713
"MIME-Version: 1.0\n"
12714
"Content-Transfer-Encoding: 8bit\n"
12715
12716
_ACEOF
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12717
if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
1.1.30 by Sebastian Dröge
Import upstream version 0.9.1
12718
  ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
12719
  ac_status=$?
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12720
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12721
  test $ac_status = 0; }; then
12722
  MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
12723
$as_echo "yes" >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12724
else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
12725
$as_echo "no" >&6; }
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
12726
echo "$as_me: failed input was:" >&5
12727
sed 's/^/| /' conftest.foo >&5
12728
fi
12729
1 by Brandon Hale
Import upstream version 0.2.0
12730
	  # Extract the first word of "gmsgfmt", so it can be a program name with args.
12731
set dummy gmsgfmt; ac_word=$2
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12732
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
12733
$as_echo_n "checking for $ac_word... " >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12734
if test "${ac_cv_path_GMSGFMT+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
12735
  $as_echo_n "(cached) " >&6
1 by Brandon Hale
Import upstream version 0.2.0
12736
else
12737
  case $GMSGFMT in
12738
  [\\/]* | ?:[\\/]*)
12739
  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
12740
  ;;
12741
  *)
12742
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12743
for as_dir in $PATH
12744
do
12745
  IFS=$as_save_IFS
12746
  test -z "$as_dir" && as_dir=.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12747
    for ac_exec_ext in '' $ac_executable_extensions; do
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
12748
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1 by Brandon Hale
Import upstream version 0.2.0
12749
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12750
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1 by Brandon Hale
Import upstream version 0.2.0
12751
    break 2
12752
  fi
12753
done
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12754
  done
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
12755
IFS=$as_save_IFS
1 by Brandon Hale
Import upstream version 0.2.0
12756
12757
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
12758
  ;;
12759
esac
12760
fi
12761
GMSGFMT=$ac_cv_path_GMSGFMT
12762
if test -n "$GMSGFMT"; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12763
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
12764
$as_echo "$GMSGFMT" >&6; }
1 by Brandon Hale
Import upstream version 0.2.0
12765
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12766
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
12767
$as_echo "no" >&6; }
1 by Brandon Hale
Import upstream version 0.2.0
12768
fi
12769
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
12770
1 by Brandon Hale
Import upstream version 0.2.0
12771
	  # Extract the first word of "xgettext", so it can be a program name with args.
12772
set dummy xgettext; ac_word=$2
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12773
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
12774
$as_echo_n "checking for $ac_word... " >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12775
if test "${ac_cv_path_XGETTEXT+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
12776
  $as_echo_n "(cached) " >&6
1 by Brandon Hale
Import upstream version 0.2.0
12777
else
12778
  case "$XGETTEXT" in
12779
  /*)
12780
  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
12781
  ;;
12782
  *)
12783
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
12784
  for ac_dir in $PATH; do
12785
    test -z "$ac_dir" && ac_dir=.
12786
    if test -f $ac_dir/$ac_word; then
12787
      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
12788
	ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
12789
	break
12790
      fi
12791
    fi
12792
  done
12793
  IFS="$ac_save_ifs"
12794
  test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
12795
  ;;
12796
esac
12797
fi
12798
XGETTEXT="$ac_cv_path_XGETTEXT"
12799
if test "$XGETTEXT" != ":"; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12800
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
12801
$as_echo "$XGETTEXT" >&6; }
1 by Brandon Hale
Import upstream version 0.2.0
12802
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12803
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
12804
$as_echo "no" >&6; }
1 by Brandon Hale
Import upstream version 0.2.0
12805
fi
12806
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12807
	  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1 by Brandon Hale
Import upstream version 0.2.0
12808
/* end confdefs.h.  */
12809
12810
int
12811
main ()
12812
{
12813
extern int _nl_msg_cat_cntr;
12814
			 return _nl_msg_cat_cntr
12815
  ;
12816
  return 0;
12817
}
12818
_ACEOF
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12819
if ac_fn_c_try_link "$LINENO"; then :
1 by Brandon Hale
Import upstream version 0.2.0
12820
  CATOBJEXT=.gmo
12821
             DATADIRNAME=share
12822
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12823
  case $host in
1 by Brandon Hale
Import upstream version 0.2.0
12824
	    *-*-solaris*)
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12825
	    	                	    	                ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
12826
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
1 by Brandon Hale
Import upstream version 0.2.0
12827
  CATOBJEXT=.gmo
12828
               DATADIRNAME=share
12829
else
12830
  CATOBJEXT=.mo
12831
               DATADIRNAME=lib
12832
fi
12833
12834
	    ;;
12835
	    *)
12836
	    CATOBJEXT=.mo
12837
            DATADIRNAME=lib
12838
	    ;;
12839
	    esac
12840
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12841
rm -f core conftest.err conftest.$ac_objext \
12842
    conftest$ac_exeext conftest.$ac_ext
1 by Brandon Hale
Import upstream version 0.2.0
12843
          LIBS="$glib_save_LIBS"
12844
	  INSTOBJEXT=.mo
12845
	else
12846
	  gt_cv_have_gettext=no
12847
	fi
12848
      fi
12849
12850
fi
12851
12852
12853
12854
    if test "$gt_cv_have_gettext" = "yes" ; then
12855
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12856
$as_echo "#define ENABLE_NLS 1" >>confdefs.h
1 by Brandon Hale
Import upstream version 0.2.0
12857
12858
    fi
12859
12860
        if test "$XGETTEXT" != ":"; then
12861
                  if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
12862
        : ;
12863
      else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12864
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
12865
$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
1 by Brandon Hale
Import upstream version 0.2.0
12866
        XGETTEXT=":"
12867
      fi
12868
    fi
12869
12870
    # We need to process the po/ directory.
12871
    POSUB=po
12872
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
12873
    ac_config_commands="$ac_config_commands default-1"
1 by Brandon Hale
Import upstream version 0.2.0
12874
12875
12876
                for lang in $ALL_LINGUAS; do
12877
      GMOFILES="$GMOFILES $lang.gmo"
12878
      POFILES="$POFILES $lang.po"
12879
    done
12880
12881
12882
12883
12884
12885
12886
12887
12888
12889
12890
12891
12892
12893
   if test "$gt_cv_have_gettext" = "yes"; then
12894
     if test "x$ALL_LINGUAS" = "x"; then
12895
       LINGUAS=
12896
     else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12897
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
12898
$as_echo_n "checking for catalogs to be installed... " >&6; }
1 by Brandon Hale
Import upstream version 0.2.0
12899
       NEW_LINGUAS=
12900
       for presentlang in $ALL_LINGUAS; do
12901
         useit=no
12902
         if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
12903
           desiredlanguages="$LINGUAS"
12904
         else
12905
           desiredlanguages="$ALL_LINGUAS"
12906
         fi
12907
         for desiredlang in $desiredlanguages; do
12908
 	   # Use the presentlang catalog if desiredlang is
12909
           #   a. equal to presentlang, or
12910
           #   b. a variant of presentlang (because in this case,
12911
           #      presentlang can be used as a fallback for messages
12912
           #      which are not translated in the desiredlang catalog).
12913
           case "$desiredlang" in
12914
             "$presentlang"*) useit=yes;;
12915
           esac
12916
         done
12917
         if test $useit = yes; then
12918
           NEW_LINGUAS="$NEW_LINGUAS $presentlang"
12919
         fi
12920
       done
12921
       LINGUAS=$NEW_LINGUAS
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12922
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
12923
$as_echo "$LINGUAS" >&6; }
1 by Brandon Hale
Import upstream version 0.2.0
12924
     fi
12925
12926
          if test -n "$LINGUAS"; then
12927
       for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
12928
     fi
12929
   fi
12930
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12931
            MKINSTALLDIRS=
12932
   if test -n "$ac_aux_dir"; then
12933
     MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
12934
   fi
12935
   if test -z "$MKINSTALLDIRS"; then
12936
     MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
12937
   fi
12938
12939
1 by Brandon Hale
Import upstream version 0.2.0
12940
         test -d po || mkdir po
12941
   if test "x$srcdir" != "x."; then
12942
     if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
12943
       posrcprefix="$srcdir/"
12944
     else
12945
       posrcprefix="../$srcdir/"
12946
     fi
12947
   else
12948
     posrcprefix="../"
12949
   fi
12950
   rm -f po/POTFILES
12951
   sed -e "/^#/d" -e "/^\$/d" -e "s,.*,	$posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
12952
	< $srcdir/po/POTFILES.in > po/POTFILES
12953
12954
12955
#
1.1.1 by Daniel Holbach
Import upstream version 0.3.1
12956
# Find gconftool-2
12957
#
12958
# Extract the first word of "gconftool-2", so it can be a program name with args.
12959
set dummy gconftool-2; ac_word=$2
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12960
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
12961
$as_echo_n "checking for $ac_word... " >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12962
if test "${ac_cv_path_GCONFTOOL+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
12963
  $as_echo_n "(cached) " >&6
1.1.1 by Daniel Holbach
Import upstream version 0.3.1
12964
else
12965
  case $GCONFTOOL in
12966
  [\\/]* | ?:[\\/]*)
12967
  ac_cv_path_GCONFTOOL="$GCONFTOOL" # Let the user override the test with a path.
12968
  ;;
12969
  *)
12970
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12971
for as_dir in $PATH
12972
do
12973
  IFS=$as_save_IFS
12974
  test -z "$as_dir" && as_dir=.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12975
    for ac_exec_ext in '' $ac_executable_extensions; do
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
12976
  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 0.3.1
12977
    ac_cv_path_GCONFTOOL="$as_dir/$ac_word$ac_exec_ext"
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12978
    $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 0.3.1
12979
    break 2
12980
  fi
12981
done
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12982
  done
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
12983
IFS=$as_save_IFS
1.1.1 by Daniel Holbach
Import upstream version 0.3.1
12984
12985
  ;;
12986
esac
12987
fi
12988
GCONFTOOL=$ac_cv_path_GCONFTOOL
12989
if test -n "$GCONFTOOL"; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12990
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCONFTOOL" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
12991
$as_echo "$GCONFTOOL" >&6; }
1.1.1 by Daniel Holbach
Import upstream version 0.3.1
12992
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
12993
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
12994
$as_echo "no" >&6; }
1.1.1 by Daniel Holbach
Import upstream version 0.3.1
12995
fi
12996
12997
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
12998
1.1.1 by Daniel Holbach
Import upstream version 0.3.1
12999
  if test "x$GCONF_SCHEMA_INSTALL_SOURCE" = "x"; then
13000
    GCONF_SCHEMA_CONFIG_SOURCE=`gconftool-2 --get-default-source`
13001
  else
13002
    GCONF_SCHEMA_CONFIG_SOURCE=$GCONF_SCHEMA_INSTALL_SOURCE
13003
  fi
13004
13005
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
13006
# Check whether --with-gconf-source was given.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13007
if test "${with_gconf_source+set}" = set; then :
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
13008
  withval=$with_gconf_source; GCONF_SCHEMA_CONFIG_SOURCE="$withval"
13009
fi
13010
13011
13012
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13013
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
13014
$as_echo "Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&6; }
1.1.1 by Daniel Holbach
Import upstream version 0.3.1
13015
13016
  if test "x$GCONF_SCHEMA_FILE_DIR" = "x"; then
1.1.2 by Brandon Hale
Import upstream version 0.3.3
13017
    GCONF_SCHEMA_FILE_DIR='$(sysconfdir)/gconf/schemas'
1.1.1 by Daniel Holbach
Import upstream version 0.3.1
13018
  fi
13019
13020
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
13021
# Check whether --with-gconf-schema-file-dir was given.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13022
if test "${with_gconf_schema_file_dir+set}" = set; then :
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
13023
  withval=$with_gconf_schema_file_dir; GCONF_SCHEMA_FILE_DIR="$withval"
13024
fi
13025
13026
13027
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13028
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
13029
$as_echo "Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&6; }
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
13030
13031
  # Check whether --enable-schemas-install was given.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13032
if test "${enable_schemas_install+set}" = set; then :
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
13033
  enableval=$enable_schemas_install; case ${enableval} in
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
13034
       yes|no) ;;
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13035
       *) as_fn_error "bad value ${enableval} for --enable-schemas-install" "$LINENO" 5 ;;
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
13036
      esac
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
13037
fi
13038
1.1.30 by Sebastian Dröge
Import upstream version 0.9.1
13039
   if test "$enable_schemas_install" != no; then
1.1.1 by Daniel Holbach
Import upstream version 0.3.1
13040
  GCONF_SCHEMAS_INSTALL_TRUE=
13041
  GCONF_SCHEMAS_INSTALL_FALSE='#'
13042
else
13043
  GCONF_SCHEMAS_INSTALL_TRUE='#'
13044
  GCONF_SCHEMAS_INSTALL_FALSE=
13045
fi
13046
13047
13048
13049
#
1 by Brandon Hale
Import upstream version 0.2.0
13050
# Find mcs
13051
#
1.1.8 by Sebastian Dröge
Import upstream version 0.5.1
13052
# Extract the first word of "gmcs", so it can be a program name with args.
13053
set dummy gmcs; ac_word=$2
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13054
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
13055
$as_echo_n "checking for $ac_word... " >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13056
if test "${ac_cv_path_GMCS+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
13057
  $as_echo_n "(cached) " >&6
1 by Brandon Hale
Import upstream version 0.2.0
13058
else
1.1.8 by Sebastian Dröge
Import upstream version 0.5.1
13059
  case $GMCS in
1 by Brandon Hale
Import upstream version 0.2.0
13060
  [\\/]* | ?:[\\/]*)
1.1.8 by Sebastian Dröge
Import upstream version 0.5.1
13061
  ac_cv_path_GMCS="$GMCS" # Let the user override the test with a path.
1 by Brandon Hale
Import upstream version 0.2.0
13062
  ;;
13063
  *)
13064
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13065
for as_dir in $PATH
13066
do
13067
  IFS=$as_save_IFS
13068
  test -z "$as_dir" && as_dir=.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13069
    for ac_exec_ext in '' $ac_executable_extensions; do
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
13070
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.1.8 by Sebastian Dröge
Import upstream version 0.5.1
13071
    ac_cv_path_GMCS="$as_dir/$ac_word$ac_exec_ext"
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13072
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1 by Brandon Hale
Import upstream version 0.2.0
13073
    break 2
13074
  fi
13075
done
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13076
  done
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
13077
IFS=$as_save_IFS
1 by Brandon Hale
Import upstream version 0.2.0
13078
13079
  ;;
13080
esac
13081
fi
1.1.8 by Sebastian Dröge
Import upstream version 0.5.1
13082
GMCS=$ac_cv_path_GMCS
13083
if test -n "$GMCS"; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13084
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMCS" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
13085
$as_echo "$GMCS" >&6; }
1 by Brandon Hale
Import upstream version 0.2.0
13086
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13087
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
13088
$as_echo "no" >&6; }
1 by Brandon Hale
Import upstream version 0.2.0
13089
fi
13090
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
13091
1.1.8 by Sebastian Dröge
Import upstream version 0.5.1
13092
if test "x$GMCS" = "x" ; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13093
	as_fn_error "Can't find \"gmcs\" in your PATH" "$LINENO" 5
1 by Brandon Hale
Import upstream version 0.2.0
13094
fi
13095
13096
#
1.2.4 by Iain Lane
Import upstream version 0.15.2
13097
# Check Mono version
13098
#
13099
MONO_MINIMUM_VERSION=1.9.1
13100
13101
pkg_failed=no
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13102
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for MONO" >&5
1.2.4 by Iain Lane
Import upstream version 0.15.2
13103
$as_echo_n "checking for MONO... " >&6; }
13104
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13105
if test -n "$PKG_CONFIG"; then
13106
    if test -n "$MONO_CFLAGS"; then
13107
        pkg_cv_MONO_CFLAGS="$MONO_CFLAGS"
13108
    else
13109
        if test -n "$PKG_CONFIG" && \
13110
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mono >= \$MONO_MINIMUM_VERSION\""; } >&5
1.2.4 by Iain Lane
Import upstream version 0.15.2
13111
  ($PKG_CONFIG --exists --print-errors "mono >= $MONO_MINIMUM_VERSION") 2>&5
13112
  ac_status=$?
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13113
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13114
  test $ac_status = 0; }; then
1.2.4 by Iain Lane
Import upstream version 0.15.2
13115
  pkg_cv_MONO_CFLAGS=`$PKG_CONFIG --cflags "mono >= $MONO_MINIMUM_VERSION" 2>/dev/null`
13116
else
13117
  pkg_failed=yes
13118
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13119
    fi
13120
else
13121
	pkg_failed=untried
1.2.4 by Iain Lane
Import upstream version 0.15.2
13122
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13123
if test -n "$PKG_CONFIG"; then
13124
    if test -n "$MONO_LIBS"; then
13125
        pkg_cv_MONO_LIBS="$MONO_LIBS"
13126
    else
13127
        if test -n "$PKG_CONFIG" && \
13128
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mono >= \$MONO_MINIMUM_VERSION\""; } >&5
1.2.4 by Iain Lane
Import upstream version 0.15.2
13129
  ($PKG_CONFIG --exists --print-errors "mono >= $MONO_MINIMUM_VERSION") 2>&5
13130
  ac_status=$?
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13131
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13132
  test $ac_status = 0; }; then
1.2.4 by Iain Lane
Import upstream version 0.15.2
13133
  pkg_cv_MONO_LIBS=`$PKG_CONFIG --libs "mono >= $MONO_MINIMUM_VERSION" 2>/dev/null`
13134
else
13135
  pkg_failed=yes
13136
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13137
    fi
13138
else
13139
	pkg_failed=untried
1.2.4 by Iain Lane
Import upstream version 0.15.2
13140
fi
13141
13142
13143
13144
if test $pkg_failed = yes; then
13145
13146
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13147
        _pkg_short_errors_supported=yes
13148
else
13149
        _pkg_short_errors_supported=no
13150
fi
13151
        if test $_pkg_short_errors_supported = yes; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13152
	        MONO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "mono >= $MONO_MINIMUM_VERSION"`
1.2.4 by Iain Lane
Import upstream version 0.15.2
13153
        else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13154
	        MONO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "mono >= $MONO_MINIMUM_VERSION"`
1.2.4 by Iain Lane
Import upstream version 0.15.2
13155
        fi
13156
	# Put the nasty error message in config.log where it belongs
13157
	echo "$MONO_PKG_ERRORS" >&5
13158
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13159
	as_fn_error "Package requirements (mono >= $MONO_MINIMUM_VERSION) were not met:
13160
13161
$MONO_PKG_ERRORS
13162
13163
Consider adjusting the PKG_CONFIG_PATH environment variable if you
13164
installed software in a non-standard prefix.
13165
13166
Alternatively, you may set the environment variables MONO_CFLAGS
13167
and MONO_LIBS to avoid the need to call pkg-config.
13168
See the pkg-config man page for more details.
13169
" "$LINENO" 5
1.2.4 by Iain Lane
Import upstream version 0.15.2
13170
elif test $pkg_failed = untried; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13171
	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1.2.4 by Iain Lane
Import upstream version 0.15.2
13172
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13173
as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
13174
is in your PATH or set the PKG_CONFIG environment variable to the full
13175
path to pkg-config.
13176
13177
Alternatively, you may set the environment variables MONO_CFLAGS
13178
and MONO_LIBS to avoid the need to call pkg-config.
13179
See the pkg-config man page for more details.
13180
13181
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13182
See \`config.log' for more details." "$LINENO" 5; }
1.2.4 by Iain Lane
Import upstream version 0.15.2
13183
else
13184
	MONO_CFLAGS=$pkg_cv_MONO_CFLAGS
13185
	MONO_LIBS=$pkg_cv_MONO_LIBS
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13186
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.2.4 by Iain Lane
Import upstream version 0.15.2
13187
$as_echo "yes" >&6; }
13188
	:
13189
fi
13190
13191
#
1 by Brandon Hale
Import upstream version 0.2.0
13192
# Gdk and Atk are needed for libtrayicon
13193
#
1.1.15 by Sebastian Dröge
Import upstream version 0.5.9
13194
GDK20_MINIMUM_VERSION=2.6.0
1.3.2 by Robert Ancell
Import upstream version 0.15.4
13195
GTK20_MINIMUM_VERSION=2.14.0
1 by Brandon Hale
Import upstream version 0.2.0
13196
ATK_MINIMUM_VERSION=1.2.4
13197
13198
1.1.3 by Sebastian Dröge
Import upstream version 0.3.5
13199
pkg_failed=no
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13200
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBTOMBOY" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
13201
$as_echo_n "checking for LIBTOMBOY... " >&6; }
1.1.3 by Sebastian Dröge
Import upstream version 0.3.5
13202
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13203
if test -n "$PKG_CONFIG"; then
13204
    if test -n "$LIBTOMBOY_CFLAGS"; then
13205
        pkg_cv_LIBTOMBOY_CFLAGS="$LIBTOMBOY_CFLAGS"
13206
    else
13207
        if test -n "$PKG_CONFIG" && \
13208
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gdk-2.0 >= \$GDK20_MINIMUM_VERSION
1.1.3 by Sebastian Dröge
Import upstream version 0.3.5
13209
		  gtk+-2.0 >= \$GTK20_MINIMUM_VERSION
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13210
		  atk >= \$ATK_MINIMUM_VERSION\""; } >&5
1.1.46 by Pedro Fragoso
Import upstream version 0.13.5
13211
  ($PKG_CONFIG --exists --print-errors "gdk-2.0 >= $GDK20_MINIMUM_VERSION
1.1.3 by Sebastian Dröge
Import upstream version 0.3.5
13212
		  gtk+-2.0 >= $GTK20_MINIMUM_VERSION
13213
		  atk >= $ATK_MINIMUM_VERSION") 2>&5
13214
  ac_status=$?
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13215
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13216
  test $ac_status = 0; }; then
1.1.46 by Pedro Fragoso
Import upstream version 0.13.5
13217
  pkg_cv_LIBTOMBOY_CFLAGS=`$PKG_CONFIG --cflags "gdk-2.0 >= $GDK20_MINIMUM_VERSION
1.1.3 by Sebastian Dröge
Import upstream version 0.3.5
13218
		  gtk+-2.0 >= $GTK20_MINIMUM_VERSION
13219
		  atk >= $ATK_MINIMUM_VERSION" 2>/dev/null`
13220
else
13221
  pkg_failed=yes
13222
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13223
    fi
13224
else
13225
	pkg_failed=untried
1.1.3 by Sebastian Dröge
Import upstream version 0.3.5
13226
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13227
if test -n "$PKG_CONFIG"; then
13228
    if test -n "$LIBTOMBOY_LIBS"; then
13229
        pkg_cv_LIBTOMBOY_LIBS="$LIBTOMBOY_LIBS"
13230
    else
13231
        if test -n "$PKG_CONFIG" && \
13232
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gdk-2.0 >= \$GDK20_MINIMUM_VERSION
1.1.3 by Sebastian Dröge
Import upstream version 0.3.5
13233
		  gtk+-2.0 >= \$GTK20_MINIMUM_VERSION
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13234
		  atk >= \$ATK_MINIMUM_VERSION\""; } >&5
1.1.46 by Pedro Fragoso
Import upstream version 0.13.5
13235
  ($PKG_CONFIG --exists --print-errors "gdk-2.0 >= $GDK20_MINIMUM_VERSION
1.1.3 by Sebastian Dröge
Import upstream version 0.3.5
13236
		  gtk+-2.0 >= $GTK20_MINIMUM_VERSION
13237
		  atk >= $ATK_MINIMUM_VERSION") 2>&5
13238
  ac_status=$?
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13239
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13240
  test $ac_status = 0; }; then
1.1.46 by Pedro Fragoso
Import upstream version 0.13.5
13241
  pkg_cv_LIBTOMBOY_LIBS=`$PKG_CONFIG --libs "gdk-2.0 >= $GDK20_MINIMUM_VERSION
1.1.3 by Sebastian Dröge
Import upstream version 0.3.5
13242
		  gtk+-2.0 >= $GTK20_MINIMUM_VERSION
13243
		  atk >= $ATK_MINIMUM_VERSION" 2>/dev/null`
13244
else
13245
  pkg_failed=yes
13246
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13247
    fi
13248
else
13249
	pkg_failed=untried
1.1.3 by Sebastian Dröge
Import upstream version 0.3.5
13250
fi
13251
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
13252
13253
1.1.3 by Sebastian Dröge
Import upstream version 0.3.5
13254
if test $pkg_failed = yes; then
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
13255
13256
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13257
        _pkg_short_errors_supported=yes
13258
else
13259
        _pkg_short_errors_supported=no
13260
fi
13261
        if test $_pkg_short_errors_supported = yes; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13262
	        LIBTOMBOY_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gdk-2.0 >= $GDK20_MINIMUM_VERSION
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
13263
		  gtk+-2.0 >= $GTK20_MINIMUM_VERSION
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13264
		  atk >= $ATK_MINIMUM_VERSION"`
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
13265
        else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13266
	        LIBTOMBOY_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gdk-2.0 >= $GDK20_MINIMUM_VERSION
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
13267
		  gtk+-2.0 >= $GTK20_MINIMUM_VERSION
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13268
		  atk >= $ATK_MINIMUM_VERSION"`
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
13269
        fi
1.1.3 by Sebastian Dröge
Import upstream version 0.3.5
13270
	# Put the nasty error message in config.log where it belongs
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
13271
	echo "$LIBTOMBOY_PKG_ERRORS" >&5
1.1.3 by Sebastian Dröge
Import upstream version 0.3.5
13272
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13273
	as_fn_error "Package requirements (gdk-2.0 >= $GDK20_MINIMUM_VERSION
13274
		  gtk+-2.0 >= $GTK20_MINIMUM_VERSION
13275
		  atk >= $ATK_MINIMUM_VERSION) were not met:
13276
13277
$LIBTOMBOY_PKG_ERRORS
13278
13279
Consider adjusting the PKG_CONFIG_PATH environment variable if you
13280
installed software in a non-standard prefix.
13281
13282
Alternatively, you may set the environment variables LIBTOMBOY_CFLAGS
13283
and LIBTOMBOY_LIBS to avoid the need to call pkg-config.
13284
See the pkg-config man page for more details.
13285
" "$LINENO" 5
1.1.3 by Sebastian Dröge
Import upstream version 0.3.5
13286
elif test $pkg_failed = untried; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13287
	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
13288
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13289
as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
13290
is in your PATH or set the PKG_CONFIG environment variable to the full
13291
path to pkg-config.
13292
13293
Alternatively, you may set the environment variables LIBTOMBOY_CFLAGS
13294
and LIBTOMBOY_LIBS to avoid the need to call pkg-config.
13295
See the pkg-config man page for more details.
13296
13297
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13298
See \`config.log' for more details." "$LINENO" 5; }
1.1.3 by Sebastian Dröge
Import upstream version 0.3.5
13299
else
13300
	LIBTOMBOY_CFLAGS=$pkg_cv_LIBTOMBOY_CFLAGS
13301
	LIBTOMBOY_LIBS=$pkg_cv_LIBTOMBOY_LIBS
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13302
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
13303
$as_echo "yes" >&6; }
1.1.3 by Sebastian Dröge
Import upstream version 0.3.5
13304
	:
13305
fi
1 by Brandon Hale
Import upstream version 0.2.0
13306
13307
13308
1.3.7 by Sebastien Bacher
Import upstream version 1.1.0
13309
if pkg-config --atleast-version=2.16 gtk+-2.0; then
13310
	HAS_GTK_2_16=yes
13311
fi
13312
 if test "x$HAS_GTK_2_16" = "xyes"; then
13313
  HAS_GTK_2_16_TRUE=
13314
  HAS_GTK_2_16_FALSE='#'
13315
else
13316
  HAS_GTK_2_16_TRUE='#'
13317
  HAS_GTK_2_16_FALSE=
13318
fi
13319
13320
1.3.12 by Sebastien Bacher
Import upstream version 1.2.0
13321
if pkg-config --atleast-version=2.19.7 gtk+-2.0; then
13322
	HAS_GTK_2_20=yes
13323
fi
13324
 if test "x$HAS_GTK_2_20" = "xyes"; then
13325
  HAS_GTK_2_20_TRUE=
13326
  HAS_GTK_2_20_FALSE='#'
13327
else
13328
  HAS_GTK_2_20_TRUE='#'
13329
  HAS_GTK_2_20_FALSE=
13330
fi
13331
13332
1 by Brandon Hale
Import upstream version 0.2.0
13333
#
1.1.10 by Sebastian Dröge
Import upstream version 0.5.3
13334
# Use pkg-config to check for the panel applet server directory if
13335
# specified by --enable-panelapplet-srvdir-check.
13336
#
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
13337
# Check whether --enable-panelapplet-srvdir-check was given.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13338
if test "${enable_panelapplet_srvdir_check+set}" = set; then :
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
13339
  enableval=$enable_panelapplet_srvdir_check; case "$enableval" in
1.1.10 by Sebastian Dröge
Import upstream version 0.5.3
13340
	      	yes) ENABLE_PANELAPPLET_SRVDIR_CHECK=yes ;;
13341
	      	no)  ENABLE_PANELAPPLET_SRVDIR_CHECK=no ;;
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13342
	      	*)   as_fn_error "bad value ${enableval} for --enable-panelapplet-srvdir-check" "$LINENO" 5 ;;
1.1.10 by Sebastian Dröge
Import upstream version 0.5.3
13343
	      esac
13344
else
13345
  ENABLE_PANELAPPLET_SRVDIR_CHECK=yes
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
13346
fi
13347
1.1.30 by Sebastian Dröge
Import upstream version 0.9.1
13348
 if test "$ENABLE_PANELAPPLET_SRVDIR_CHECK" = "yes"; then
1.1.10 by Sebastian Dröge
Import upstream version 0.5.3
13349
  ENABLE_PANELAPPLET_SRVDIR_CHECK_TRUE=
13350
  ENABLE_PANELAPPLET_SRVDIR_CHECK_FALSE='#'
13351
else
13352
  ENABLE_PANELAPPLET_SRVDIR_CHECK_TRUE='#'
13353
  ENABLE_PANELAPPLET_SRVDIR_CHECK_FALSE=
13354
fi
13355
13356
13357
if test "$ENABLE_PANELAPPLET_SRVDIR_CHECK" = "yes" ; then
13358
#
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
13359
# If libpanelapplet available, use it to find .server install location.
1.1.1 by Daniel Holbach
Import upstream version 0.3.1
13360
#
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
13361
if test "x$prefix" = "x$ac_default_prefix"; then
13362
   PANELAPPLET_LIBDIR=`$PKG_CONFIG --variable=libdir libpanelapplet-2.0`
13363
fi
1.1.10 by Sebastian Dröge
Import upstream version 0.5.3
13364
if test "x$PANELAPPLET_LIBDIR" != "x"; then
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
13365
   PANELAPPLET_SERVER_DIR="$PANELAPPLET_LIBDIR/bonobo/servers"
1.1.3 by Sebastian Dröge
Import upstream version 0.3.5
13366
fi
1.1.10 by Sebastian Dröge
Import upstream version 0.5.3
13367
fi
13368
# Set PANELAPPLET_SERVER_DIR default if it's not already set
13369
if test "x$PANELAPPLET_SERVER_DIR" = "x" ; then
13370
	PANELAPPLET_SERVER_DIR="$libdir/bonobo/servers"
13371
fi
1.1.1 by Daniel Holbach
Import upstream version 0.3.1
13372
13373
13374
#
1.1.7 by Sebastian Dröge
Import upstream version 0.5.0
13375
# Check for recent GtkSpell here.  Prior versions require bug workarounds.
1 by Brandon Hale
Import upstream version 0.2.0
13376
# http://gtkspell.sourceforge.net/
13377
#
13378
1.1.3 by Sebastian Dröge
Import upstream version 0.3.5
13379
pkg_failed=no
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13380
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKSPELL" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
13381
$as_echo_n "checking for GTKSPELL... " >&6; }
1.1.7 by Sebastian Dröge
Import upstream version 0.5.0
13382
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13383
if test -n "$PKG_CONFIG"; then
13384
    if test -n "$GTKSPELL_CFLAGS"; then
13385
        pkg_cv_GTKSPELL_CFLAGS="$GTKSPELL_CFLAGS"
13386
    else
13387
        if test -n "$PKG_CONFIG" && \
13388
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtkspell-2.0 >= 2.0.9\""; } >&5
1.1.7 by Sebastian Dröge
Import upstream version 0.5.0
13389
  ($PKG_CONFIG --exists --print-errors "gtkspell-2.0 >= 2.0.9") 2>&5
13390
  ac_status=$?
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13391
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13392
  test $ac_status = 0; }; then
1.1.7 by Sebastian Dröge
Import upstream version 0.5.0
13393
  pkg_cv_GTKSPELL_CFLAGS=`$PKG_CONFIG --cflags "gtkspell-2.0 >= 2.0.9" 2>/dev/null`
13394
else
13395
  pkg_failed=yes
13396
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13397
    fi
13398
else
13399
	pkg_failed=untried
1.1.7 by Sebastian Dröge
Import upstream version 0.5.0
13400
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13401
if test -n "$PKG_CONFIG"; then
13402
    if test -n "$GTKSPELL_LIBS"; then
13403
        pkg_cv_GTKSPELL_LIBS="$GTKSPELL_LIBS"
13404
    else
13405
        if test -n "$PKG_CONFIG" && \
13406
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtkspell-2.0 >= 2.0.9\""; } >&5
1.1.7 by Sebastian Dröge
Import upstream version 0.5.0
13407
  ($PKG_CONFIG --exists --print-errors "gtkspell-2.0 >= 2.0.9") 2>&5
13408
  ac_status=$?
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13409
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13410
  test $ac_status = 0; }; then
1.1.7 by Sebastian Dröge
Import upstream version 0.5.0
13411
  pkg_cv_GTKSPELL_LIBS=`$PKG_CONFIG --libs "gtkspell-2.0 >= 2.0.9" 2>/dev/null`
13412
else
13413
  pkg_failed=yes
13414
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13415
    fi
13416
else
13417
	pkg_failed=untried
1.1.7 by Sebastian Dröge
Import upstream version 0.5.0
13418
fi
13419
13420
13421
13422
if test $pkg_failed = yes; then
13423
13424
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13425
        _pkg_short_errors_supported=yes
13426
else
13427
        _pkg_short_errors_supported=no
13428
fi
13429
        if test $_pkg_short_errors_supported = yes; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13430
	        GTKSPELL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtkspell-2.0 >= 2.0.9"`
1.1.7 by Sebastian Dröge
Import upstream version 0.5.0
13431
        else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13432
	        GTKSPELL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtkspell-2.0 >= 2.0.9"`
1.1.7 by Sebastian Dröge
Import upstream version 0.5.0
13433
        fi
13434
	# Put the nasty error message in config.log where it belongs
13435
	echo "$GTKSPELL_PKG_ERRORS" >&5
13436
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13437
	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
13438
$as_echo "no" >&6; }
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
13439
                FIXED_GTKSPELL="no"
1.1.7 by Sebastian Dröge
Import upstream version 0.5.0
13440
elif test $pkg_failed = untried; then
13441
	FIXED_GTKSPELL="no"
13442
else
13443
	GTKSPELL_CFLAGS=$pkg_cv_GTKSPELL_CFLAGS
13444
	GTKSPELL_LIBS=$pkg_cv_GTKSPELL_LIBS
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13445
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
13446
$as_echo "yes" >&6; }
1.1.3 by Sebastian Dröge
Import upstream version 0.3.5
13447
	FIXED_GTKSPELL="yes"
13448
fi
1.1.30 by Sebastian Dröge
Import upstream version 0.9.1
13449
 if test "$FIXED_GTKSPELL" = "yes"; then
1.1.1 by Daniel Holbach
Import upstream version 0.3.1
13450
  FIXED_GTKSPELL_TRUE=
13451
  FIXED_GTKSPELL_FALSE='#'
13452
else
13453
  FIXED_GTKSPELL_TRUE='#'
13454
  FIXED_GTKSPELL_FALSE=
13455
fi
13456
13457
1 by Brandon Hale
Import upstream version 0.2.0
13458
#
1.3.12 by Sebastien Bacher
Import upstream version 1.2.0
13459
# Check if we should update the mime database
13460
#
13461
13462
# Extract the first word of "update-mime-database", so it can be a program name with args.
13463
set dummy update-mime-database; ac_word=$2
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13464
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.3.12 by Sebastien Bacher
Import upstream version 1.2.0
13465
$as_echo_n "checking for $ac_word... " >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13466
if test "${ac_cv_path_UPDATE_MIME_DATABASE+set}" = set; then :
1.3.12 by Sebastien Bacher
Import upstream version 1.2.0
13467
  $as_echo_n "(cached) " >&6
13468
else
13469
  case $UPDATE_MIME_DATABASE in
13470
  [\\/]* | ?:[\\/]*)
13471
  ac_cv_path_UPDATE_MIME_DATABASE="$UPDATE_MIME_DATABASE" # Let the user override the test with a path.
13472
  ;;
13473
  *)
13474
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13475
for as_dir in $PATH
13476
do
13477
  IFS=$as_save_IFS
13478
  test -z "$as_dir" && as_dir=.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13479
    for ac_exec_ext in '' $ac_executable_extensions; do
1.3.12 by Sebastien Bacher
Import upstream version 1.2.0
13480
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13481
    ac_cv_path_UPDATE_MIME_DATABASE="$as_dir/$ac_word$ac_exec_ext"
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13482
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.3.12 by Sebastien Bacher
Import upstream version 1.2.0
13483
    break 2
13484
  fi
13485
done
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13486
  done
1.3.12 by Sebastien Bacher
Import upstream version 1.2.0
13487
IFS=$as_save_IFS
13488
13489
  test -z "$ac_cv_path_UPDATE_MIME_DATABASE" && ac_cv_path_UPDATE_MIME_DATABASE="no"
13490
  ;;
13491
esac
13492
fi
13493
UPDATE_MIME_DATABASE=$ac_cv_path_UPDATE_MIME_DATABASE
13494
if test -n "$UPDATE_MIME_DATABASE"; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13495
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UPDATE_MIME_DATABASE" >&5
1.3.12 by Sebastien Bacher
Import upstream version 1.2.0
13496
$as_echo "$UPDATE_MIME_DATABASE" >&6; }
13497
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13498
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.3.12 by Sebastien Bacher
Import upstream version 1.2.0
13499
$as_echo "no" >&6; }
13500
fi
13501
13502
13503
13504
# Check whether --enable-update-mimedb was given.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13505
if test "${enable_update_mimedb+set}" = set; then :
1.3.12 by Sebastien Bacher
Import upstream version 1.2.0
13506
  enableval=$enable_update_mimedb;
13507
else
13508
  enable_update_mimedb=yes
13509
fi
13510
13511
 if (test x$enable_update_mimedb = xyes) && (test x$UPDATE_MIME_DATABASE != xno); then
13512
  ENABLE_UPDATE_MIMEDB_TRUE=
13513
  ENABLE_UPDATE_MIMEDB_FALSE='#'
13514
else
13515
  ENABLE_UPDATE_MIMEDB_TRUE='#'
13516
  ENABLE_UPDATE_MIMEDB_FALSE=
13517
fi
13518
13519
13520
#
1.1.44 by Pedro Fragoso
Import upstream version 0.13.1
13521
# Check for Mac/Windows/GNOME Support
13522
#
13523
# Check whether --enable-windows was given.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13524
if test "${enable_windows+set}" = set; then :
1.1.44 by Pedro Fragoso
Import upstream version 0.13.1
13525
  enableval=$enable_windows; ENABLE_WIN="$enableval"
13526
else
13527
  ENABLE_WIN="no"
13528
fi
13529
13530
 if test "x$ENABLE_WIN" = "xyes"; then
13531
  ENABLE_WIN_TRUE=
13532
  ENABLE_WIN_FALSE='#'
13533
else
13534
  ENABLE_WIN_TRUE='#'
13535
  ENABLE_WIN_FALSE=
13536
fi
13537
13538
13539
# Check whether --enable-osx was given.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13540
if test "${enable_osx+set}" = set; then :
1.1.44 by Pedro Fragoso
Import upstream version 0.13.1
13541
  enableval=$enable_osx; ENABLE_OSX="$enableval"
13542
else
13543
  ENABLE_OSX="no"
13544
fi
13545
13546
 if test "x$ENABLE_OSX" = "xyes"; then
13547
  ENABLE_OSX_TRUE=
13548
  ENABLE_OSX_FALSE='#'
13549
else
13550
  ENABLE_OSX_TRUE='#'
13551
  ENABLE_OSX_FALSE=
13552
fi
13553
13554
13555
# Check whether --enable-gnome was given.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13556
if test "${enable_gnome+set}" = set; then :
1.1.44 by Pedro Fragoso
Import upstream version 0.13.1
13557
  enableval=$enable_gnome; ENABLE_GNOME="$enableval"
13558
fi
13559
13560
13561
if ((test "x$ENABLE_GNOME" = "xyes") && (test "x$ENABLE_WIN" = "xyes")) || ((test "x$ENABLE_GNOME" = "xyes") && (test "x$ENABLE_OSX" = "xyes")) || ((test "x$ENABLE_OSX" = "xyes") && (test "x$ENABLE_WIN" = "xyes")) ; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13562
	as_fn_error "--enable-gnome, --enable-windows, and --enable-osx are mutually exclusive" "$LINENO" 5
1.1.44 by Pedro Fragoso
Import upstream version 0.13.1
13563
fi
13564
13565
if (test "x$ENABLE_WIN" = "xno") && (test "x$ENABLE_OSX" = "xno") ; then
13566
	ENABLE_GNOME="yes"
13567
else
13568
	ENABLE_GNOME="no"
13569
fi
13570
 if test "x$ENABLE_GNOME" != "xno"; then
13571
  ENABLE_GNOME_TRUE=
13572
  ENABLE_GNOME_FALSE='#'
13573
else
13574
  ENABLE_GNOME_TRUE='#'
13575
  ENABLE_GNOME_FALSE=
13576
fi
13577
13578
13579
13580
13581
#
1.1.5 by Sebastian Dröge
Import upstream version 0.4.0
13582
# Use DBus to export our remote control if available.
1 by Brandon Hale
Import upstream version 0.2.0
13583
#
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
13584
# Check whether --enable-dbus was given.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13585
if test "${enable_dbus+set}" = set; then :
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
13586
  enableval=$enable_dbus; ENABLE_DBUS="$enableval"
1.1.44 by Pedro Fragoso
Import upstream version 0.13.1
13587
else
13588
  ENABLE_DBUS="yes"
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
13589
fi
13590
1.1.30 by Sebastian Dröge
Import upstream version 0.9.1
13591
 if test "x$ENABLE_DBUS" != "xno"; then
1 by Brandon Hale
Import upstream version 0.2.0
13592
  ENABLE_DBUS_TRUE=
13593
  ENABLE_DBUS_FALSE='#'
13594
else
13595
  ENABLE_DBUS_TRUE='#'
13596
  ENABLE_DBUS_FALSE=
13597
fi
13598
13599
1.1.19 by Sebastian Dröge
Import upstream version 0.7.0
13600
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
13601
# Check whether --with-dbus_service_dir was given.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13602
if test "${with_dbus_service_dir+set}" = set; then :
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
13603
  withval=$with_dbus_service_dir;
13604
fi
1.1.24 by Sebastian Dröge
Import upstream version 0.7.5
13605
1.1.30 by Sebastian Dröge
Import upstream version 0.9.1
13606
 if test "x$with_dbus_service_dir" != "x"; then
1.1.19 by Sebastian Dröge
Import upstream version 0.7.0
13607
  WITH_DBUS_SERVICE_DIR_TRUE=
13608
  WITH_DBUS_SERVICE_DIR_FALSE='#'
13609
else
13610
  WITH_DBUS_SERVICE_DIR_TRUE='#'
13611
  WITH_DBUS_SERVICE_DIR_FALSE=
13612
fi
13613
13614
if test "x$with_dbus_service_dir" != "x"; then
13615
	DBUS_SERVICE_DIR=$with_dbus_service_dir
13616
else
13617
	DBUS_SERVICE_DIR=${datadir}/dbus-1/services
1.1.5 by Sebastian Dröge
Import upstream version 0.4.0
13618
fi
13619
13620
1 by Brandon Hale
Import upstream version 0.2.0
13621
#
1.1.14 by Sebastian Dröge
Import upstream version 0.5.8
13622
# Check for external NDesk DBus
13623
#
1.1.16 by Sebastian Dröge
Import upstream version 0.6.0
13624
DBUS_LIBS=
1.1.14 by Sebastian Dröge
Import upstream version 0.5.8
13625
if test "x$ENABLE_DBUS" != "xno" ; then
13626
13627
pkg_failed=no
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13628
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUS" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
13629
$as_echo_n "checking for DBUS... " >&6; }
1.1.14 by Sebastian Dröge
Import upstream version 0.5.8
13630
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13631
if test -n "$PKG_CONFIG"; then
13632
    if test -n "$DBUS_CFLAGS"; then
13633
        pkg_cv_DBUS_CFLAGS="$DBUS_CFLAGS"
13634
    else
13635
        if test -n "$PKG_CONFIG" && \
13636
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ndesk-dbus-1.0 >= 0.4 ndesk-dbus-glib-1.0 >= 0.3\""; } >&5
1.1.34 by Pedro Fragoso
Import upstream version 0.9.7
13637
  ($PKG_CONFIG --exists --print-errors "ndesk-dbus-1.0 >= 0.4 ndesk-dbus-glib-1.0 >= 0.3") 2>&5
1.1.14 by Sebastian Dröge
Import upstream version 0.5.8
13638
  ac_status=$?
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13639
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13640
  test $ac_status = 0; }; then
1.1.34 by Pedro Fragoso
Import upstream version 0.9.7
13641
  pkg_cv_DBUS_CFLAGS=`$PKG_CONFIG --cflags "ndesk-dbus-1.0 >= 0.4 ndesk-dbus-glib-1.0 >= 0.3" 2>/dev/null`
1.1.14 by Sebastian Dröge
Import upstream version 0.5.8
13642
else
13643
  pkg_failed=yes
13644
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13645
    fi
13646
else
13647
	pkg_failed=untried
1.1.14 by Sebastian Dröge
Import upstream version 0.5.8
13648
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13649
if test -n "$PKG_CONFIG"; then
13650
    if test -n "$DBUS_LIBS"; then
13651
        pkg_cv_DBUS_LIBS="$DBUS_LIBS"
13652
    else
13653
        if test -n "$PKG_CONFIG" && \
13654
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ndesk-dbus-1.0 >= 0.4 ndesk-dbus-glib-1.0 >= 0.3\""; } >&5
1.1.34 by Pedro Fragoso
Import upstream version 0.9.7
13655
  ($PKG_CONFIG --exists --print-errors "ndesk-dbus-1.0 >= 0.4 ndesk-dbus-glib-1.0 >= 0.3") 2>&5
1.1.14 by Sebastian Dröge
Import upstream version 0.5.8
13656
  ac_status=$?
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13657
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13658
  test $ac_status = 0; }; then
1.1.34 by Pedro Fragoso
Import upstream version 0.9.7
13659
  pkg_cv_DBUS_LIBS=`$PKG_CONFIG --libs "ndesk-dbus-1.0 >= 0.4 ndesk-dbus-glib-1.0 >= 0.3" 2>/dev/null`
1.1.14 by Sebastian Dröge
Import upstream version 0.5.8
13660
else
13661
  pkg_failed=yes
13662
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13663
    fi
13664
else
13665
	pkg_failed=untried
1.1.14 by Sebastian Dröge
Import upstream version 0.5.8
13666
fi
13667
13668
13669
13670
if test $pkg_failed = yes; then
13671
13672
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13673
        _pkg_short_errors_supported=yes
13674
else
13675
        _pkg_short_errors_supported=no
13676
fi
13677
        if test $_pkg_short_errors_supported = yes; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13678
	        DBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "ndesk-dbus-1.0 >= 0.4 ndesk-dbus-glib-1.0 >= 0.3"`
1.1.14 by Sebastian Dröge
Import upstream version 0.5.8
13679
        else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13680
	        DBUS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "ndesk-dbus-1.0 >= 0.4 ndesk-dbus-glib-1.0 >= 0.3"`
1.1.14 by Sebastian Dröge
Import upstream version 0.5.8
13681
        fi
13682
	# Put the nasty error message in config.log where it belongs
13683
	echo "$DBUS_PKG_ERRORS" >&5
13684
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13685
	as_fn_error "Package requirements (ndesk-dbus-1.0 >= 0.4 ndesk-dbus-glib-1.0 >= 0.3) were not met:
13686
13687
$DBUS_PKG_ERRORS
13688
13689
Consider adjusting the PKG_CONFIG_PATH environment variable if you
13690
installed software in a non-standard prefix.
13691
13692
Alternatively, you may set the environment variables DBUS_CFLAGS
13693
and DBUS_LIBS to avoid the need to call pkg-config.
13694
See the pkg-config man page for more details.
13695
" "$LINENO" 5
1.1.14 by Sebastian Dröge
Import upstream version 0.5.8
13696
elif test $pkg_failed = untried; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13697
	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
13698
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13699
as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
13700
is in your PATH or set the PKG_CONFIG environment variable to the full
13701
path to pkg-config.
13702
13703
Alternatively, you may set the environment variables DBUS_CFLAGS
13704
and DBUS_LIBS to avoid the need to call pkg-config.
13705
See the pkg-config man page for more details.
13706
13707
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13708
See \`config.log' for more details." "$LINENO" 5; }
1.1.14 by Sebastian Dröge
Import upstream version 0.5.8
13709
else
13710
	DBUS_CFLAGS=$pkg_cv_DBUS_CFLAGS
13711
	DBUS_LIBS=$pkg_cv_DBUS_LIBS
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13712
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
13713
$as_echo "yes" >&6; }
1.1.34 by Pedro Fragoso
Import upstream version 0.9.7
13714
	:
13715
fi
13716
fi
1.1.14 by Sebastian Dröge
Import upstream version 0.5.8
13717
13718
13719
#
1.1.46 by Pedro Fragoso
Import upstream version 0.13.5
13720
# Check for Mono.Addins
1.1.30 by Sebastian Dröge
Import upstream version 0.9.1
13721
#
13722
13723
pkg_failed=no
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13724
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for MONO_ADDINS" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
13725
$as_echo_n "checking for MONO_ADDINS... " >&6; }
1.1.30 by Sebastian Dröge
Import upstream version 0.9.1
13726
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13727
if test -n "$PKG_CONFIG"; then
13728
    if test -n "$MONO_ADDINS_CFLAGS"; then
13729
        pkg_cv_MONO_ADDINS_CFLAGS="$MONO_ADDINS_CFLAGS"
13730
    else
13731
        if test -n "$PKG_CONFIG" && \
13732
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mono-addins >= 0.3 \\
1.1.37 by Sebastian Dröge
Import upstream version 0.10.1
13733
	mono-addins-gui >= 0.3 \\
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13734
	mono-addins-setup >= 0.3\""; } >&5
1.1.37 by Sebastian Dröge
Import upstream version 0.10.1
13735
  ($PKG_CONFIG --exists --print-errors "mono-addins >= 0.3 \
13736
	mono-addins-gui >= 0.3 \
13737
	mono-addins-setup >= 0.3") 2>&5
1.1.30 by Sebastian Dröge
Import upstream version 0.9.1
13738
  ac_status=$?
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13739
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13740
  test $ac_status = 0; }; then
1.1.37 by Sebastian Dröge
Import upstream version 0.10.1
13741
  pkg_cv_MONO_ADDINS_CFLAGS=`$PKG_CONFIG --cflags "mono-addins >= 0.3 \
13742
	mono-addins-gui >= 0.3 \
13743
	mono-addins-setup >= 0.3" 2>/dev/null`
1.1.30 by Sebastian Dröge
Import upstream version 0.9.1
13744
else
13745
  pkg_failed=yes
13746
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13747
    fi
13748
else
13749
	pkg_failed=untried
1.1.30 by Sebastian Dröge
Import upstream version 0.9.1
13750
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13751
if test -n "$PKG_CONFIG"; then
13752
    if test -n "$MONO_ADDINS_LIBS"; then
13753
        pkg_cv_MONO_ADDINS_LIBS="$MONO_ADDINS_LIBS"
13754
    else
13755
        if test -n "$PKG_CONFIG" && \
13756
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mono-addins >= 0.3 \\
1.1.37 by Sebastian Dröge
Import upstream version 0.10.1
13757
	mono-addins-gui >= 0.3 \\
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13758
	mono-addins-setup >= 0.3\""; } >&5
1.1.37 by Sebastian Dröge
Import upstream version 0.10.1
13759
  ($PKG_CONFIG --exists --print-errors "mono-addins >= 0.3 \
13760
	mono-addins-gui >= 0.3 \
13761
	mono-addins-setup >= 0.3") 2>&5
1.1.30 by Sebastian Dröge
Import upstream version 0.9.1
13762
  ac_status=$?
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13763
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13764
  test $ac_status = 0; }; then
1.1.37 by Sebastian Dröge
Import upstream version 0.10.1
13765
  pkg_cv_MONO_ADDINS_LIBS=`$PKG_CONFIG --libs "mono-addins >= 0.3 \
13766
	mono-addins-gui >= 0.3 \
13767
	mono-addins-setup >= 0.3" 2>/dev/null`
1.1.30 by Sebastian Dröge
Import upstream version 0.9.1
13768
else
13769
  pkg_failed=yes
13770
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13771
    fi
13772
else
13773
	pkg_failed=untried
1.1.30 by Sebastian Dröge
Import upstream version 0.9.1
13774
fi
13775
13776
13777
13778
if test $pkg_failed = yes; then
13779
13780
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13781
        _pkg_short_errors_supported=yes
13782
else
13783
        _pkg_short_errors_supported=no
13784
fi
13785
        if test $_pkg_short_errors_supported = yes; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13786
	        MONO_ADDINS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "mono-addins >= 0.3 \
1.1.37 by Sebastian Dröge
Import upstream version 0.10.1
13787
	mono-addins-gui >= 0.3 \
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13788
	mono-addins-setup >= 0.3"`
1.1.30 by Sebastian Dröge
Import upstream version 0.9.1
13789
        else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13790
	        MONO_ADDINS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "mono-addins >= 0.3 \
1.1.37 by Sebastian Dröge
Import upstream version 0.10.1
13791
	mono-addins-gui >= 0.3 \
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13792
	mono-addins-setup >= 0.3"`
1.1.30 by Sebastian Dröge
Import upstream version 0.9.1
13793
        fi
13794
	# Put the nasty error message in config.log where it belongs
13795
	echo "$MONO_ADDINS_PKG_ERRORS" >&5
13796
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13797
	as_fn_error "Package requirements (mono-addins >= 0.3 \
13798
	mono-addins-gui >= 0.3 \
13799
	mono-addins-setup >= 0.3) were not met:
13800
13801
$MONO_ADDINS_PKG_ERRORS
13802
13803
Consider adjusting the PKG_CONFIG_PATH environment variable if you
13804
installed software in a non-standard prefix.
13805
13806
Alternatively, you may set the environment variables MONO_ADDINS_CFLAGS
13807
and MONO_ADDINS_LIBS to avoid the need to call pkg-config.
13808
See the pkg-config man page for more details.
13809
" "$LINENO" 5
1.1.30 by Sebastian Dröge
Import upstream version 0.9.1
13810
elif test $pkg_failed = untried; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13811
	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
13812
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13813
as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
13814
is in your PATH or set the PKG_CONFIG environment variable to the full
13815
path to pkg-config.
13816
13817
Alternatively, you may set the environment variables MONO_ADDINS_CFLAGS
13818
and MONO_ADDINS_LIBS to avoid the need to call pkg-config.
13819
See the pkg-config man page for more details.
13820
13821
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13822
See \`config.log' for more details." "$LINENO" 5; }
1.1.30 by Sebastian Dröge
Import upstream version 0.9.1
13823
else
13824
	MONO_ADDINS_CFLAGS=$pkg_cv_MONO_ADDINS_CFLAGS
13825
	MONO_ADDINS_LIBS=$pkg_cv_MONO_ADDINS_LIBS
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13826
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
13827
$as_echo "yes" >&6; }
1.1.46 by Pedro Fragoso
Import upstream version 0.13.5
13828
	:
13829
fi
1.1.30 by Sebastian Dröge
Import upstream version 0.9.1
13830
13831
#
1 by Brandon Hale
Import upstream version 0.2.0
13832
# Tomboy.exe needs Gtk# Gnome# GConf#
13833
#
1.1.47 by Pedro Fragoso
Import upstream version 0.13.6
13834
GTKSHARP2_MINIMUM_VERSION=2.10.1
1.1.42 by Pedro Fragoso
Import upstream version 0.11.3
13835
GNOMESHARP_MINIMUM_VERSION=2.15
1.1.44 by Pedro Fragoso
Import upstream version 0.13.1
13836
if test "x$ENABLE_GNOME" != "xno"; then
13837
	if pkg-config --atleast-version=2.23.90 gnome-sharp-2.0; then
13838
13839
pkg_failed=no
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13840
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNOME" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
13841
$as_echo_n "checking for GNOME... " >&6; }
1.1.44 by Pedro Fragoso
Import upstream version 0.13.1
13842
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13843
if test -n "$PKG_CONFIG"; then
13844
    if test -n "$GNOME_CFLAGS"; then
13845
        pkg_cv_GNOME_CFLAGS="$GNOME_CFLAGS"
13846
    else
13847
        if test -n "$PKG_CONFIG" && \
13848
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-sharp-2.0
1.1.44 by Pedro Fragoso
Import upstream version 0.13.1
13849
			          gconf-sharp-2.0
13850
			          gconf-sharp-peditors-2.0
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13851
			          gnome-panel-sharp-2.24\""; } >&5
1.1.44 by Pedro Fragoso
Import upstream version 0.13.1
13852
  ($PKG_CONFIG --exists --print-errors "gnome-sharp-2.0
13853
			          gconf-sharp-2.0
13854
			          gconf-sharp-peditors-2.0
13855
			          gnome-panel-sharp-2.24") 2>&5
13856
  ac_status=$?
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13857
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13858
  test $ac_status = 0; }; then
1.1.44 by Pedro Fragoso
Import upstream version 0.13.1
13859
  pkg_cv_GNOME_CFLAGS=`$PKG_CONFIG --cflags "gnome-sharp-2.0
13860
			          gconf-sharp-2.0
13861
			          gconf-sharp-peditors-2.0
13862
			          gnome-panel-sharp-2.24" 2>/dev/null`
13863
else
13864
  pkg_failed=yes
13865
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13866
    fi
13867
else
13868
	pkg_failed=untried
1.1.44 by Pedro Fragoso
Import upstream version 0.13.1
13869
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13870
if test -n "$PKG_CONFIG"; then
13871
    if test -n "$GNOME_LIBS"; then
13872
        pkg_cv_GNOME_LIBS="$GNOME_LIBS"
13873
    else
13874
        if test -n "$PKG_CONFIG" && \
13875
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-sharp-2.0
1.1.44 by Pedro Fragoso
Import upstream version 0.13.1
13876
			          gconf-sharp-2.0
13877
			          gconf-sharp-peditors-2.0
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13878
			          gnome-panel-sharp-2.24\""; } >&5
1.1.44 by Pedro Fragoso
Import upstream version 0.13.1
13879
  ($PKG_CONFIG --exists --print-errors "gnome-sharp-2.0
13880
			          gconf-sharp-2.0
13881
			          gconf-sharp-peditors-2.0
13882
			          gnome-panel-sharp-2.24") 2>&5
13883
  ac_status=$?
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13884
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13885
  test $ac_status = 0; }; then
1.1.44 by Pedro Fragoso
Import upstream version 0.13.1
13886
  pkg_cv_GNOME_LIBS=`$PKG_CONFIG --libs "gnome-sharp-2.0
13887
			          gconf-sharp-2.0
13888
			          gconf-sharp-peditors-2.0
13889
			          gnome-panel-sharp-2.24" 2>/dev/null`
13890
else
13891
  pkg_failed=yes
13892
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13893
    fi
13894
else
13895
	pkg_failed=untried
1.1.44 by Pedro Fragoso
Import upstream version 0.13.1
13896
fi
13897
13898
13899
13900
if test $pkg_failed = yes; then
13901
13902
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13903
        _pkg_short_errors_supported=yes
13904
else
13905
        _pkg_short_errors_supported=no
13906
fi
13907
        if test $_pkg_short_errors_supported = yes; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13908
	        GNOME_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-sharp-2.0
1.1.44 by Pedro Fragoso
Import upstream version 0.13.1
13909
			          gconf-sharp-2.0
13910
			          gconf-sharp-peditors-2.0
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13911
			          gnome-panel-sharp-2.24"`
1.1.44 by Pedro Fragoso
Import upstream version 0.13.1
13912
        else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13913
	        GNOME_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-sharp-2.0
1.1.44 by Pedro Fragoso
Import upstream version 0.13.1
13914
			          gconf-sharp-2.0
13915
			          gconf-sharp-peditors-2.0
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13916
			          gnome-panel-sharp-2.24"`
1.1.44 by Pedro Fragoso
Import upstream version 0.13.1
13917
        fi
13918
	# Put the nasty error message in config.log where it belongs
13919
	echo "$GNOME_PKG_ERRORS" >&5
13920
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13921
	as_fn_error "Package requirements (gnome-sharp-2.0
13922
			          gconf-sharp-2.0
13923
			          gconf-sharp-peditors-2.0
13924
			          gnome-panel-sharp-2.24) were not met:
13925
13926
$GNOME_PKG_ERRORS
13927
13928
Consider adjusting the PKG_CONFIG_PATH environment variable if you
13929
installed software in a non-standard prefix.
13930
13931
Alternatively, you may set the environment variables GNOME_CFLAGS
13932
and GNOME_LIBS to avoid the need to call pkg-config.
13933
See the pkg-config man page for more details.
13934
" "$LINENO" 5
1.1.44 by Pedro Fragoso
Import upstream version 0.13.1
13935
elif test $pkg_failed = untried; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13936
	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
13937
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13938
as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
13939
is in your PATH or set the PKG_CONFIG environment variable to the full
13940
path to pkg-config.
13941
13942
Alternatively, you may set the environment variables GNOME_CFLAGS
13943
and GNOME_LIBS to avoid the need to call pkg-config.
13944
See the pkg-config man page for more details.
13945
13946
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13947
See \`config.log' for more details." "$LINENO" 5; }
1.1.44 by Pedro Fragoso
Import upstream version 0.13.1
13948
else
13949
	GNOME_CFLAGS=$pkg_cv_GNOME_CFLAGS
13950
	GNOME_LIBS=$pkg_cv_GNOME_LIBS
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13951
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
13952
$as_echo "yes" >&6; }
1.1.44 by Pedro Fragoso
Import upstream version 0.13.1
13953
	:
13954
fi
13955
		has_fixed_panelapplet="yes"
13956
1.1.42 by Pedro Fragoso
Import upstream version 0.11.3
13957
	else
1.1.44 by Pedro Fragoso
Import upstream version 0.13.1
13958
		if pkg-config --atleast-version=2.16.1 gconf-sharp-2.0; then
13959
13960
pkg_failed=no
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13961
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNOME" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
13962
$as_echo_n "checking for GNOME... " >&6; }
1.1.44 by Pedro Fragoso
Import upstream version 0.13.1
13963
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13964
if test -n "$PKG_CONFIG"; then
13965
    if test -n "$GNOME_CFLAGS"; then
13966
        pkg_cv_GNOME_CFLAGS="$GNOME_CFLAGS"
13967
    else
13968
        if test -n "$PKG_CONFIG" && \
13969
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-sharp-2.0 > \$GNOMESHARP_MINIMUM_VERSION
1.1.44 by Pedro Fragoso
Import upstream version 0.13.1
13970
					  gconf-sharp-2.0
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13971
					  gconf-sharp-peditors-2.0\""; } >&5
1.1.44 by Pedro Fragoso
Import upstream version 0.13.1
13972
  ($PKG_CONFIG --exists --print-errors "gnome-sharp-2.0 > $GNOMESHARP_MINIMUM_VERSION
13973
					  gconf-sharp-2.0
13974
					  gconf-sharp-peditors-2.0") 2>&5
13975
  ac_status=$?
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13976
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13977
  test $ac_status = 0; }; then
1.1.44 by Pedro Fragoso
Import upstream version 0.13.1
13978
  pkg_cv_GNOME_CFLAGS=`$PKG_CONFIG --cflags "gnome-sharp-2.0 > $GNOMESHARP_MINIMUM_VERSION
13979
					  gconf-sharp-2.0
13980
					  gconf-sharp-peditors-2.0" 2>/dev/null`
13981
else
13982
  pkg_failed=yes
13983
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13984
    fi
13985
else
13986
	pkg_failed=untried
1.1.44 by Pedro Fragoso
Import upstream version 0.13.1
13987
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13988
if test -n "$PKG_CONFIG"; then
13989
    if test -n "$GNOME_LIBS"; then
13990
        pkg_cv_GNOME_LIBS="$GNOME_LIBS"
13991
    else
13992
        if test -n "$PKG_CONFIG" && \
13993
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-sharp-2.0 > \$GNOMESHARP_MINIMUM_VERSION
1.1.44 by Pedro Fragoso
Import upstream version 0.13.1
13994
					  gconf-sharp-2.0
1.3.14 by Ken VanDine
Import upstream version 1.2.2
13995
					  gconf-sharp-peditors-2.0\""; } >&5
1.1.44 by Pedro Fragoso
Import upstream version 0.13.1
13996
  ($PKG_CONFIG --exists --print-errors "gnome-sharp-2.0 > $GNOMESHARP_MINIMUM_VERSION
13997
					  gconf-sharp-2.0
13998
					  gconf-sharp-peditors-2.0") 2>&5
13999
  ac_status=$?
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14000
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14001
  test $ac_status = 0; }; then
1.1.44 by Pedro Fragoso
Import upstream version 0.13.1
14002
  pkg_cv_GNOME_LIBS=`$PKG_CONFIG --libs "gnome-sharp-2.0 > $GNOMESHARP_MINIMUM_VERSION
14003
					  gconf-sharp-2.0
14004
					  gconf-sharp-peditors-2.0" 2>/dev/null`
14005
else
14006
  pkg_failed=yes
14007
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14008
    fi
14009
else
14010
	pkg_failed=untried
1.1.44 by Pedro Fragoso
Import upstream version 0.13.1
14011
fi
14012
14013
14014
14015
if test $pkg_failed = yes; then
14016
14017
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14018
        _pkg_short_errors_supported=yes
14019
else
14020
        _pkg_short_errors_supported=no
14021
fi
14022
        if test $_pkg_short_errors_supported = yes; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14023
	        GNOME_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-sharp-2.0 > $GNOMESHARP_MINIMUM_VERSION
1.1.44 by Pedro Fragoso
Import upstream version 0.13.1
14024
					  gconf-sharp-2.0
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14025
					  gconf-sharp-peditors-2.0"`
1.1.44 by Pedro Fragoso
Import upstream version 0.13.1
14026
        else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14027
	        GNOME_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-sharp-2.0 > $GNOMESHARP_MINIMUM_VERSION
1.1.44 by Pedro Fragoso
Import upstream version 0.13.1
14028
					  gconf-sharp-2.0
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14029
					  gconf-sharp-peditors-2.0"`
1.1.44 by Pedro Fragoso
Import upstream version 0.13.1
14030
        fi
14031
	# Put the nasty error message in config.log where it belongs
14032
	echo "$GNOME_PKG_ERRORS" >&5
14033
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14034
	as_fn_error "Package requirements (gnome-sharp-2.0 > $GNOMESHARP_MINIMUM_VERSION
14035
					  gconf-sharp-2.0
14036
					  gconf-sharp-peditors-2.0) were not met:
14037
14038
$GNOME_PKG_ERRORS
14039
14040
Consider adjusting the PKG_CONFIG_PATH environment variable if you
14041
installed software in a non-standard prefix.
14042
14043
Alternatively, you may set the environment variables GNOME_CFLAGS
14044
and GNOME_LIBS to avoid the need to call pkg-config.
14045
See the pkg-config man page for more details.
14046
" "$LINENO" 5
1.1.44 by Pedro Fragoso
Import upstream version 0.13.1
14047
elif test $pkg_failed = untried; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14048
	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
14049
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14050
as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
14051
is in your PATH or set the PKG_CONFIG environment variable to the full
14052
path to pkg-config.
14053
14054
Alternatively, you may set the environment variables GNOME_CFLAGS
14055
and GNOME_LIBS to avoid the need to call pkg-config.
14056
See the pkg-config man page for more details.
14057
14058
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14059
See \`config.log' for more details." "$LINENO" 5; }
1.1.44 by Pedro Fragoso
Import upstream version 0.13.1
14060
else
14061
	GNOME_CFLAGS=$pkg_cv_GNOME_CFLAGS
14062
	GNOME_LIBS=$pkg_cv_GNOME_LIBS
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14063
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
14064
$as_echo "yes" >&6; }
1.1.44 by Pedro Fragoso
Import upstream version 0.13.1
14065
	:
14066
fi
14067
		else
14068
14069
pkg_failed=no
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14070
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNOME" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
14071
$as_echo_n "checking for GNOME... " >&6; }
1.1.44 by Pedro Fragoso
Import upstream version 0.13.1
14072
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14073
if test -n "$PKG_CONFIG"; then
14074
    if test -n "$GNOME_CFLAGS"; then
14075
        pkg_cv_GNOME_CFLAGS="$GNOME_CFLAGS"
14076
    else
14077
        if test -n "$PKG_CONFIG" && \
14078
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-sharp-2.0 > \$GNOMESHARP_MINIMUM_VERSION
14079
					  gconf-sharp-2.0\""; } >&5
1.1.44 by Pedro Fragoso
Import upstream version 0.13.1
14080
  ($PKG_CONFIG --exists --print-errors "gnome-sharp-2.0 > $GNOMESHARP_MINIMUM_VERSION
14081
					  gconf-sharp-2.0") 2>&5
14082
  ac_status=$?
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14083
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14084
  test $ac_status = 0; }; then
1.1.44 by Pedro Fragoso
Import upstream version 0.13.1
14085
  pkg_cv_GNOME_CFLAGS=`$PKG_CONFIG --cflags "gnome-sharp-2.0 > $GNOMESHARP_MINIMUM_VERSION
14086
					  gconf-sharp-2.0" 2>/dev/null`
14087
else
14088
  pkg_failed=yes
14089
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14090
    fi
14091
else
14092
	pkg_failed=untried
1.1.44 by Pedro Fragoso
Import upstream version 0.13.1
14093
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14094
if test -n "$PKG_CONFIG"; then
14095
    if test -n "$GNOME_LIBS"; then
14096
        pkg_cv_GNOME_LIBS="$GNOME_LIBS"
14097
    else
14098
        if test -n "$PKG_CONFIG" && \
14099
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-sharp-2.0 > \$GNOMESHARP_MINIMUM_VERSION
14100
					  gconf-sharp-2.0\""; } >&5
1.1.44 by Pedro Fragoso
Import upstream version 0.13.1
14101
  ($PKG_CONFIG --exists --print-errors "gnome-sharp-2.0 > $GNOMESHARP_MINIMUM_VERSION
14102
					  gconf-sharp-2.0") 2>&5
14103
  ac_status=$?
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14104
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14105
  test $ac_status = 0; }; then
1.1.44 by Pedro Fragoso
Import upstream version 0.13.1
14106
  pkg_cv_GNOME_LIBS=`$PKG_CONFIG --libs "gnome-sharp-2.0 > $GNOMESHARP_MINIMUM_VERSION
14107
					  gconf-sharp-2.0" 2>/dev/null`
14108
else
14109
  pkg_failed=yes
14110
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14111
    fi
14112
else
14113
	pkg_failed=untried
1.1.44 by Pedro Fragoso
Import upstream version 0.13.1
14114
fi
14115
14116
14117
14118
if test $pkg_failed = yes; then
14119
14120
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14121
        _pkg_short_errors_supported=yes
14122
else
14123
        _pkg_short_errors_supported=no
14124
fi
14125
        if test $_pkg_short_errors_supported = yes; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14126
	        GNOME_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-sharp-2.0 > $GNOMESHARP_MINIMUM_VERSION
14127
					  gconf-sharp-2.0"`
1.1.44 by Pedro Fragoso
Import upstream version 0.13.1
14128
        else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14129
	        GNOME_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-sharp-2.0 > $GNOMESHARP_MINIMUM_VERSION
14130
					  gconf-sharp-2.0"`
1.1.44 by Pedro Fragoso
Import upstream version 0.13.1
14131
        fi
14132
	# Put the nasty error message in config.log where it belongs
14133
	echo "$GNOME_PKG_ERRORS" >&5
14134
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14135
	as_fn_error "Package requirements (gnome-sharp-2.0 > $GNOMESHARP_MINIMUM_VERSION
14136
					  gconf-sharp-2.0) were not met:
14137
14138
$GNOME_PKG_ERRORS
14139
14140
Consider adjusting the PKG_CONFIG_PATH environment variable if you
14141
installed software in a non-standard prefix.
14142
14143
Alternatively, you may set the environment variables GNOME_CFLAGS
14144
and GNOME_LIBS to avoid the need to call pkg-config.
14145
See the pkg-config man page for more details.
14146
" "$LINENO" 5
1.1.44 by Pedro Fragoso
Import upstream version 0.13.1
14147
elif test $pkg_failed = untried; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14148
	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
14149
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14150
as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
14151
is in your PATH or set the PKG_CONFIG environment variable to the full
14152
path to pkg-config.
14153
14154
Alternatively, you may set the environment variables GNOME_CFLAGS
14155
and GNOME_LIBS to avoid the need to call pkg-config.
14156
See the pkg-config man page for more details.
14157
14158
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14159
See \`config.log' for more details." "$LINENO" 5; }
1.1.44 by Pedro Fragoso
Import upstream version 0.13.1
14160
else
14161
	GNOME_CFLAGS=$pkg_cv_GNOME_CFLAGS
14162
	GNOME_LIBS=$pkg_cv_GNOME_LIBS
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14163
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
14164
$as_echo "yes" >&6; }
1.1.44 by Pedro Fragoso
Import upstream version 0.13.1
14165
	:
14166
fi
14167
		fi
1.1.42 by Pedro Fragoso
Import upstream version 0.11.3
14168
	fi
1.2.1 by Sebastian Dröge
Import upstream version 0.12.2
14169
fi
1.1.44 by Pedro Fragoso
Import upstream version 0.13.1
14170
 if test "x$has_fixed_panelapplet" = "xyes"; then
14171
  FIXED_PANELAPPLET_TRUE=
14172
  FIXED_PANELAPPLET_FALSE='#'
14173
else
14174
  FIXED_PANELAPPLET_TRUE='#'
14175
  FIXED_PANELAPPLET_FALSE=
14176
fi
14177
14178
14179
14180
14181
pkg_failed=no
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14182
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKSHARP" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
14183
$as_echo_n "checking for GTKSHARP... " >&6; }
1.1.44 by Pedro Fragoso
Import upstream version 0.13.1
14184
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14185
if test -n "$PKG_CONFIG"; then
14186
    if test -n "$GTKSHARP_CFLAGS"; then
14187
        pkg_cv_GTKSHARP_CFLAGS="$GTKSHARP_CFLAGS"
14188
    else
14189
        if test -n "$PKG_CONFIG" && \
14190
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-sharp-2.0 >= \$GTKSHARP2_MINIMUM_VERSION\""; } >&5
1.1.44 by Pedro Fragoso
Import upstream version 0.13.1
14191
  ($PKG_CONFIG --exists --print-errors "gtk-sharp-2.0 >= $GTKSHARP2_MINIMUM_VERSION") 2>&5
14192
  ac_status=$?
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14193
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14194
  test $ac_status = 0; }; then
1.1.44 by Pedro Fragoso
Import upstream version 0.13.1
14195
  pkg_cv_GTKSHARP_CFLAGS=`$PKG_CONFIG --cflags "gtk-sharp-2.0 >= $GTKSHARP2_MINIMUM_VERSION" 2>/dev/null`
14196
else
14197
  pkg_failed=yes
14198
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14199
    fi
14200
else
14201
	pkg_failed=untried
1.1.44 by Pedro Fragoso
Import upstream version 0.13.1
14202
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14203
if test -n "$PKG_CONFIG"; then
14204
    if test -n "$GTKSHARP_LIBS"; then
14205
        pkg_cv_GTKSHARP_LIBS="$GTKSHARP_LIBS"
14206
    else
14207
        if test -n "$PKG_CONFIG" && \
14208
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-sharp-2.0 >= \$GTKSHARP2_MINIMUM_VERSION\""; } >&5
1.1.44 by Pedro Fragoso
Import upstream version 0.13.1
14209
  ($PKG_CONFIG --exists --print-errors "gtk-sharp-2.0 >= $GTKSHARP2_MINIMUM_VERSION") 2>&5
14210
  ac_status=$?
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14211
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14212
  test $ac_status = 0; }; then
1.1.44 by Pedro Fragoso
Import upstream version 0.13.1
14213
  pkg_cv_GTKSHARP_LIBS=`$PKG_CONFIG --libs "gtk-sharp-2.0 >= $GTKSHARP2_MINIMUM_VERSION" 2>/dev/null`
14214
else
14215
  pkg_failed=yes
14216
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14217
    fi
14218
else
14219
	pkg_failed=untried
1.1.44 by Pedro Fragoso
Import upstream version 0.13.1
14220
fi
14221
14222
14223
14224
if test $pkg_failed = yes; then
14225
14226
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14227
        _pkg_short_errors_supported=yes
14228
else
14229
        _pkg_short_errors_supported=no
14230
fi
14231
        if test $_pkg_short_errors_supported = yes; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14232
	        GTKSHARP_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk-sharp-2.0 >= $GTKSHARP2_MINIMUM_VERSION"`
1.1.44 by Pedro Fragoso
Import upstream version 0.13.1
14233
        else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14234
	        GTKSHARP_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk-sharp-2.0 >= $GTKSHARP2_MINIMUM_VERSION"`
1.1.44 by Pedro Fragoso
Import upstream version 0.13.1
14235
        fi
14236
	# Put the nasty error message in config.log where it belongs
14237
	echo "$GTKSHARP_PKG_ERRORS" >&5
14238
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14239
	as_fn_error "Package requirements (gtk-sharp-2.0 >= $GTKSHARP2_MINIMUM_VERSION) were not met:
14240
14241
$GTKSHARP_PKG_ERRORS
14242
14243
Consider adjusting the PKG_CONFIG_PATH environment variable if you
14244
installed software in a non-standard prefix.
14245
14246
Alternatively, you may set the environment variables GTKSHARP_CFLAGS
14247
and GTKSHARP_LIBS to avoid the need to call pkg-config.
14248
See the pkg-config man page for more details.
14249
" "$LINENO" 5
1.1.44 by Pedro Fragoso
Import upstream version 0.13.1
14250
elif test $pkg_failed = untried; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14251
	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
14252
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14253
as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
14254
is in your PATH or set the PKG_CONFIG environment variable to the full
14255
path to pkg-config.
14256
14257
Alternatively, you may set the environment variables GTKSHARP_CFLAGS
14258
and GTKSHARP_LIBS to avoid the need to call pkg-config.
14259
See the pkg-config man page for more details.
14260
14261
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14262
See \`config.log' for more details." "$LINENO" 5; }
1.1.44 by Pedro Fragoso
Import upstream version 0.13.1
14263
else
14264
	GTKSHARP_CFLAGS=$pkg_cv_GTKSHARP_CFLAGS
14265
	GTKSHARP_LIBS=$pkg_cv_GTKSHARP_LIBS
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14266
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
14267
$as_echo "yes" >&6; }
1.1.44 by Pedro Fragoso
Import upstream version 0.13.1
14268
	:
14269
fi
1.2.2 by Sebastian Dröge
Import upstream version 0.14.2
14270
14271
1.2.1 by Sebastian Dröge
Import upstream version 0.12.2
14272
#
1.1.39 by Pedro Fragoso
Import upstream version 0.11.0
14273
# Printing at least needs Mono.Cairo
14274
#
14275
required_assemblies="Mono.Cairo"
14276
14277
#
14278
# This check stolen from banshee/build/m4/shamrock/mono.m4, because pkg-config
14279
# seems to find the wrong Mono.Cairo (1.0).
14280
#
14281
for asm in $required_assemblies
14282
do
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14283
	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Mono 2.0 GAC for $asm.dll" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
14284
$as_echo_n "checking for Mono 2.0 GAC for $asm.dll... " >&6; }
1.1.39 by Pedro Fragoso
Import upstream version 0.11.0
14285
	if test \
14286
		-e "$($PKG_CONFIG --variable=libdir mono)/mono/2.0/$asm.dll" -o \
14287
		-e "$($PKG_CONFIG --variable=prefix mono)/lib/mono/2.0/$asm.dll"; \
14288
		then \
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14289
		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
14290
$as_echo "found" >&6; }
1.1.39 by Pedro Fragoso
Import upstream version 0.11.0
14291
	else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14292
		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
14293
$as_echo "not found" >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14294
		as_fn_error "missing reqired Mono 2.0 assembly: $asm.dll" "$LINENO" 5
1.1.39 by Pedro Fragoso
Import upstream version 0.11.0
14295
	fi
14296
done
14297
14298
14299
#
1.1.49 by Jo Shields
Import upstream version 0.15.0
14300
# Evolution.dll needs GMime#
1.1.3 by Sebastian Dröge
Import upstream version 0.3.5
14301
#
1.1.49 by Jo Shields
Import upstream version 0.15.0
14302
if test "x$ENABLE_GNOME" != "xno"; then
14303
	if pkg-config --exists gmime-sharp-2.4; then
14304
14305
pkg_failed=no
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14306
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVOLUTION" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
14307
$as_echo_n "checking for EVOLUTION... " >&6; }
14308
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14309
if test -n "$PKG_CONFIG"; then
14310
    if test -n "$EVOLUTION_CFLAGS"; then
14311
        pkg_cv_EVOLUTION_CFLAGS="$EVOLUTION_CFLAGS"
14312
    else
14313
        if test -n "$PKG_CONFIG" && \
14314
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmime-sharp-2.4\""; } >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
14315
  ($PKG_CONFIG --exists --print-errors "gmime-sharp-2.4") 2>&5
14316
  ac_status=$?
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14317
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14318
  test $ac_status = 0; }; then
1.1.49 by Jo Shields
Import upstream version 0.15.0
14319
  pkg_cv_EVOLUTION_CFLAGS=`$PKG_CONFIG --cflags "gmime-sharp-2.4" 2>/dev/null`
14320
else
14321
  pkg_failed=yes
14322
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14323
    fi
14324
else
14325
	pkg_failed=untried
1.1.49 by Jo Shields
Import upstream version 0.15.0
14326
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14327
if test -n "$PKG_CONFIG"; then
14328
    if test -n "$EVOLUTION_LIBS"; then
14329
        pkg_cv_EVOLUTION_LIBS="$EVOLUTION_LIBS"
14330
    else
14331
        if test -n "$PKG_CONFIG" && \
14332
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmime-sharp-2.4\""; } >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
14333
  ($PKG_CONFIG --exists --print-errors "gmime-sharp-2.4") 2>&5
14334
  ac_status=$?
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14335
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14336
  test $ac_status = 0; }; then
1.1.49 by Jo Shields
Import upstream version 0.15.0
14337
  pkg_cv_EVOLUTION_LIBS=`$PKG_CONFIG --libs "gmime-sharp-2.4" 2>/dev/null`
14338
else
14339
  pkg_failed=yes
14340
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14341
    fi
14342
else
14343
	pkg_failed=untried
1.1.49 by Jo Shields
Import upstream version 0.15.0
14344
fi
14345
14346
14347
14348
if test $pkg_failed = yes; then
14349
14350
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14351
        _pkg_short_errors_supported=yes
14352
else
14353
        _pkg_short_errors_supported=no
14354
fi
14355
        if test $_pkg_short_errors_supported = yes; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14356
	        EVOLUTION_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gmime-sharp-2.4"`
1.1.49 by Jo Shields
Import upstream version 0.15.0
14357
        else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14358
	        EVOLUTION_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gmime-sharp-2.4"`
1.1.49 by Jo Shields
Import upstream version 0.15.0
14359
        fi
14360
	# Put the nasty error message in config.log where it belongs
14361
	echo "$EVOLUTION_PKG_ERRORS" >&5
14362
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14363
	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
14364
$as_echo "no" >&6; }
14365
                ENABLE_EVOLUTION="no"
14366
elif test $pkg_failed = untried; then
14367
	ENABLE_EVOLUTION="no"
14368
else
14369
	EVOLUTION_CFLAGS=$pkg_cv_EVOLUTION_CFLAGS
14370
	EVOLUTION_LIBS=$pkg_cv_EVOLUTION_LIBS
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14371
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
14372
$as_echo "yes" >&6; }
14373
	ENABLE_EVOLUTION="yes"
14374
fi
14375
	else
14376
14377
pkg_failed=no
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14378
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVOLUTION" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
14379
$as_echo_n "checking for EVOLUTION... " >&6; }
14380
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14381
if test -n "$PKG_CONFIG"; then
14382
    if test -n "$EVOLUTION_CFLAGS"; then
14383
        pkg_cv_EVOLUTION_CFLAGS="$EVOLUTION_CFLAGS"
14384
    else
14385
        if test -n "$PKG_CONFIG" && \
14386
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmime-sharp >= 2.2.7\""; } >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
14387
  ($PKG_CONFIG --exists --print-errors "gmime-sharp >= 2.2.7") 2>&5
14388
  ac_status=$?
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14389
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14390
  test $ac_status = 0; }; then
1.1.49 by Jo Shields
Import upstream version 0.15.0
14391
  pkg_cv_EVOLUTION_CFLAGS=`$PKG_CONFIG --cflags "gmime-sharp >= 2.2.7" 2>/dev/null`
14392
else
14393
  pkg_failed=yes
14394
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14395
    fi
14396
else
14397
	pkg_failed=untried
1.1.49 by Jo Shields
Import upstream version 0.15.0
14398
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14399
if test -n "$PKG_CONFIG"; then
14400
    if test -n "$EVOLUTION_LIBS"; then
14401
        pkg_cv_EVOLUTION_LIBS="$EVOLUTION_LIBS"
14402
    else
14403
        if test -n "$PKG_CONFIG" && \
14404
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmime-sharp >= 2.2.7\""; } >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
14405
  ($PKG_CONFIG --exists --print-errors "gmime-sharp >= 2.2.7") 2>&5
14406
  ac_status=$?
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14407
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14408
  test $ac_status = 0; }; then
1.1.49 by Jo Shields
Import upstream version 0.15.0
14409
  pkg_cv_EVOLUTION_LIBS=`$PKG_CONFIG --libs "gmime-sharp >= 2.2.7" 2>/dev/null`
14410
else
14411
  pkg_failed=yes
14412
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14413
    fi
14414
else
14415
	pkg_failed=untried
1.1.49 by Jo Shields
Import upstream version 0.15.0
14416
fi
14417
14418
14419
14420
if test $pkg_failed = yes; then
14421
14422
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14423
        _pkg_short_errors_supported=yes
14424
else
14425
        _pkg_short_errors_supported=no
14426
fi
14427
        if test $_pkg_short_errors_supported = yes; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14428
	        EVOLUTION_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gmime-sharp >= 2.2.7"`
1.1.49 by Jo Shields
Import upstream version 0.15.0
14429
        else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14430
	        EVOLUTION_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gmime-sharp >= 2.2.7"`
1.1.49 by Jo Shields
Import upstream version 0.15.0
14431
        fi
14432
	# Put the nasty error message in config.log where it belongs
14433
	echo "$EVOLUTION_PKG_ERRORS" >&5
14434
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14435
	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
14436
$as_echo "no" >&6; }
14437
                ENABLE_EVOLUTION="no"
14438
elif test $pkg_failed = untried; then
14439
	ENABLE_EVOLUTION="no"
14440
else
14441
	EVOLUTION_CFLAGS=$pkg_cv_EVOLUTION_CFLAGS
14442
	EVOLUTION_LIBS=$pkg_cv_EVOLUTION_LIBS
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14443
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
14444
$as_echo "yes" >&6; }
14445
	ENABLE_EVOLUTION="yes"
14446
fi
14447
	fi
14448
else
1.1.44 by Pedro Fragoso
Import upstream version 0.13.1
14449
	ENABLE_EVOLUTION=no
14450
fi
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
14451
# Check whether --enable-evolution was given.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14452
if test "${enable_evolution+set}" = set; then :
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
14453
  enableval=$enable_evolution; ENABLE_EVOLUTION="$enableval"
14454
fi
14455
1.1.30 by Sebastian Dröge
Import upstream version 0.9.1
14456
 if test "$ENABLE_EVOLUTION" = "yes"; then
1.1.3 by Sebastian Dröge
Import upstream version 0.3.5
14457
  ENABLE_EVOLUTION_TRUE=
14458
  ENABLE_EVOLUTION_FALSE='#'
14459
else
14460
  ENABLE_EVOLUTION_TRUE='#'
14461
  ENABLE_EVOLUTION_FALSE=
14462
fi
14463
14464
14465
14466
#
1.1.31 by Pedro Fragoso
Import upstream version 0.9.4
14467
# Sketching.dll is very sketchy; for now disable by default
14468
#
1.1.39 by Pedro Fragoso
Import upstream version 0.11.0
14469
# Check whether --enable-sketching was given.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14470
if test "${enable_sketching+set}" = set; then :
1.1.31 by Pedro Fragoso
Import upstream version 0.9.4
14471
  enableval=$enable_sketching; ENABLE_SKETCHING="$enableval"
1.1.44 by Pedro Fragoso
Import upstream version 0.13.1
14472
else
14473
  ENABLE_SKETCHING="no"
1.1.31 by Pedro Fragoso
Import upstream version 0.9.4
14474
fi
14475
14476
 if test "$ENABLE_SKETCHING" = "yes"; then
14477
  ENABLE_SKETCHING_TRUE=
14478
  ENABLE_SKETCHING_FALSE='#'
14479
else
14480
  ENABLE_SKETCHING_TRUE='#'
14481
  ENABLE_SKETCHING_FALSE=
14482
fi
14483
14484
14485
#
1.1.3 by Sebastian Dröge
Import upstream version 0.3.5
14486
# GalagoPresence.dll needs Galago#
14487
#
14488
14489
pkg_failed=no
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14490
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GALAGO" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
14491
$as_echo_n "checking for GALAGO... " >&6; }
1.1.3 by Sebastian Dröge
Import upstream version 0.3.5
14492
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14493
if test -n "$PKG_CONFIG"; then
14494
    if test -n "$GALAGO_CFLAGS"; then
14495
        pkg_cv_GALAGO_CFLAGS="$GALAGO_CFLAGS"
14496
    else
14497
        if test -n "$PKG_CONFIG" && \
14498
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"galago-sharp >= 0.5.0\""; } >&5
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
14499
  ($PKG_CONFIG --exists --print-errors "galago-sharp >= 0.5.0") 2>&5
1.1.3 by Sebastian Dröge
Import upstream version 0.3.5
14500
  ac_status=$?
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14501
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14502
  test $ac_status = 0; }; then
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
14503
  pkg_cv_GALAGO_CFLAGS=`$PKG_CONFIG --cflags "galago-sharp >= 0.5.0" 2>/dev/null`
1.1.3 by Sebastian Dröge
Import upstream version 0.3.5
14504
else
14505
  pkg_failed=yes
14506
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14507
    fi
14508
else
14509
	pkg_failed=untried
1.1.3 by Sebastian Dröge
Import upstream version 0.3.5
14510
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14511
if test -n "$PKG_CONFIG"; then
14512
    if test -n "$GALAGO_LIBS"; then
14513
        pkg_cv_GALAGO_LIBS="$GALAGO_LIBS"
14514
    else
14515
        if test -n "$PKG_CONFIG" && \
14516
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"galago-sharp >= 0.5.0\""; } >&5
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
14517
  ($PKG_CONFIG --exists --print-errors "galago-sharp >= 0.5.0") 2>&5
1.1.3 by Sebastian Dröge
Import upstream version 0.3.5
14518
  ac_status=$?
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14519
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14520
  test $ac_status = 0; }; then
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
14521
  pkg_cv_GALAGO_LIBS=`$PKG_CONFIG --libs "galago-sharp >= 0.5.0" 2>/dev/null`
1.1.3 by Sebastian Dröge
Import upstream version 0.3.5
14522
else
14523
  pkg_failed=yes
14524
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14525
    fi
14526
else
14527
	pkg_failed=untried
1.1.3 by Sebastian Dröge
Import upstream version 0.3.5
14528
fi
14529
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
14530
14531
1.1.3 by Sebastian Dröge
Import upstream version 0.3.5
14532
if test $pkg_failed = yes; then
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
14533
14534
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14535
        _pkg_short_errors_supported=yes
14536
else
14537
        _pkg_short_errors_supported=no
14538
fi
14539
        if test $_pkg_short_errors_supported = yes; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14540
	        GALAGO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "galago-sharp >= 0.5.0"`
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
14541
        else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14542
	        GALAGO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "galago-sharp >= 0.5.0"`
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
14543
        fi
1.1.3 by Sebastian Dröge
Import upstream version 0.3.5
14544
	# Put the nasty error message in config.log where it belongs
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
14545
	echo "$GALAGO_PKG_ERRORS" >&5
1.1.3 by Sebastian Dröge
Import upstream version 0.3.5
14546
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14547
	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
14548
$as_echo "no" >&6; }
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
14549
                ENABLE_GALAGO="no"
1.1.3 by Sebastian Dröge
Import upstream version 0.3.5
14550
elif test $pkg_failed = untried; then
14551
	ENABLE_GALAGO="no"
14552
else
14553
	GALAGO_CFLAGS=$pkg_cv_GALAGO_CFLAGS
14554
	GALAGO_LIBS=$pkg_cv_GALAGO_LIBS
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14555
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
14556
$as_echo "yes" >&6; }
1.1.3 by Sebastian Dröge
Import upstream version 0.3.5
14557
	ENABLE_GALAGO="yes"
14558
fi
1.1.44 by Pedro Fragoso
Import upstream version 0.13.1
14559
if test "x$ENABLE_GNOME" = "xno" ; then
14560
	ENABLE_GALAGO=no
14561
fi
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
14562
# Check whether --enable-galago was given.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14563
if test "${enable_galago+set}" = set; then :
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
14564
  enableval=$enable_galago; ENABLE_GALAGO="$enableval"
14565
fi
14566
1.1.30 by Sebastian Dröge
Import upstream version 0.9.1
14567
 if test "$ENABLE_GALAGO" = "yes"; then
1.1.3 by Sebastian Dröge
Import upstream version 0.3.5
14568
  ENABLE_GALAGO_TRUE=
14569
  ENABLE_GALAGO_FALSE='#'
14570
else
14571
  ENABLE_GALAGO_TRUE='#'
14572
  ENABLE_GALAGO_FALSE=
14573
fi
1 by Brandon Hale
Import upstream version 0.2.0
14574
14575
14576
14577
#
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
14578
# NUnit required for (optional) unit tests
14579
#
14580
14581
pkg_failed=no
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14582
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for NUNIT" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
14583
$as_echo_n "checking for NUNIT... " >&6; }
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
14584
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14585
if test -n "$PKG_CONFIG"; then
14586
    if test -n "$NUNIT_CFLAGS"; then
14587
        pkg_cv_NUNIT_CFLAGS="$NUNIT_CFLAGS"
14588
    else
14589
        if test -n "$PKG_CONFIG" && \
14590
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mono-nunit\""; } >&5
1.2.4 by Iain Lane
Import upstream version 0.15.2
14591
  ($PKG_CONFIG --exists --print-errors "mono-nunit") 2>&5
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
14592
  ac_status=$?
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14593
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14594
  test $ac_status = 0; }; then
1.2.4 by Iain Lane
Import upstream version 0.15.2
14595
  pkg_cv_NUNIT_CFLAGS=`$PKG_CONFIG --cflags "mono-nunit" 2>/dev/null`
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
14596
else
14597
  pkg_failed=yes
14598
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14599
    fi
14600
else
14601
	pkg_failed=untried
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
14602
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14603
if test -n "$PKG_CONFIG"; then
14604
    if test -n "$NUNIT_LIBS"; then
14605
        pkg_cv_NUNIT_LIBS="$NUNIT_LIBS"
14606
    else
14607
        if test -n "$PKG_CONFIG" && \
14608
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mono-nunit\""; } >&5
1.2.4 by Iain Lane
Import upstream version 0.15.2
14609
  ($PKG_CONFIG --exists --print-errors "mono-nunit") 2>&5
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
14610
  ac_status=$?
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14611
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14612
  test $ac_status = 0; }; then
1.2.4 by Iain Lane
Import upstream version 0.15.2
14613
  pkg_cv_NUNIT_LIBS=`$PKG_CONFIG --libs "mono-nunit" 2>/dev/null`
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
14614
else
14615
  pkg_failed=yes
14616
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14617
    fi
14618
else
14619
	pkg_failed=untried
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
14620
fi
14621
14622
14623
14624
if test $pkg_failed = yes; then
14625
14626
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14627
        _pkg_short_errors_supported=yes
14628
else
14629
        _pkg_short_errors_supported=no
14630
fi
14631
        if test $_pkg_short_errors_supported = yes; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14632
	        NUNIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "mono-nunit"`
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
14633
        else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14634
	        NUNIT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "mono-nunit"`
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
14635
        fi
14636
	# Put the nasty error message in config.log where it belongs
14637
	echo "$NUNIT_PKG_ERRORS" >&5
14638
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14639
	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
14640
$as_echo "no" >&6; }
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
14641
                HAVE_NUNIT="no"
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
14642
elif test $pkg_failed = untried; then
14643
	HAVE_NUNIT="no"
14644
else
14645
	NUNIT_CFLAGS=$pkg_cv_NUNIT_CFLAGS
14646
	NUNIT_LIBS=$pkg_cv_NUNIT_LIBS
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14647
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
14648
$as_echo "yes" >&6; }
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
14649
	HAVE_NUNIT="yes"
14650
fi
1.1.30 by Sebastian Dröge
Import upstream version 0.9.1
14651
 if test "$HAVE_NUNIT" = "yes"; then
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
14652
  HAVE_NUNIT_TRUE=
14653
  HAVE_NUNIT_FALSE='#'
14654
else
14655
  HAVE_NUNIT_TRUE='#'
14656
  HAVE_NUNIT_FALSE=
14657
fi
14658
14659
14660
# Extract the first word of "nunit-console", so it can be a program name with args.
14661
set dummy nunit-console; ac_word=$2
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14662
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
14663
$as_echo_n "checking for $ac_word... " >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14664
if test "${ac_cv_path_NUNIT+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
14665
  $as_echo_n "(cached) " >&6
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
14666
else
14667
  case $NUNIT in
14668
  [\\/]* | ?:[\\/]*)
14669
  ac_cv_path_NUNIT="$NUNIT" # Let the user override the test with a path.
14670
  ;;
14671
  *)
14672
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14673
for as_dir in $PATH
14674
do
14675
  IFS=$as_save_IFS
14676
  test -z "$as_dir" && as_dir=.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14677
    for ac_exec_ext in '' $ac_executable_extensions; do
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
14678
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
14679
    ac_cv_path_NUNIT="$as_dir/$ac_word$ac_exec_ext"
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14680
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
14681
    break 2
14682
  fi
14683
done
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14684
  done
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
14685
IFS=$as_save_IFS
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
14686
14687
  ;;
14688
esac
14689
fi
14690
NUNIT=$ac_cv_path_NUNIT
14691
if test -n "$NUNIT"; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14692
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NUNIT" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
14693
$as_echo "$NUNIT" >&6; }
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
14694
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14695
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
14696
$as_echo "no" >&6; }
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
14697
fi
14698
14699
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
14700
1.1.13 by Sebastian Dröge
Import upstream version 0.5.6
14701
#
1.1.35 by Sebastian Dröge
Import upstream version 0.9.8
14702
# Check for X11 libraries
14703
#
14704
14705
ac_cflags_save="$CFLAGS"
14706
ac_cppflags_save="$CPPFLAGS"
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14707
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
14708
$as_echo_n "checking for X... " >&6; }
1.1.35 by Sebastian Dröge
Import upstream version 0.9.8
14709
14710
14711
# Check whether --with-x was given.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14712
if test "${with_x+set}" = set; then :
1.1.35 by Sebastian Dröge
Import upstream version 0.9.8
14713
  withval=$with_x;
14714
fi
14715
14716
# $have_x is `yes', `no', `disabled', or empty when we do not yet know.
14717
if test "x$with_x" = xno; then
14718
  # The user explicitly disabled X.
14719
  have_x=disabled
14720
else
14721
  case $x_includes,$x_libraries in #(
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14722
    *\'*) as_fn_error "cannot use X directory names containing '" "$LINENO" 5;; #(
14723
    *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
14724
  $as_echo_n "(cached) " >&6
1.1.35 by Sebastian Dröge
Import upstream version 0.9.8
14725
else
14726
  # One or both of the vars are not set, and there is no cached value.
14727
ac_x_includes=no ac_x_libraries=no
14728
rm -f -r conftest.dir
14729
if mkdir conftest.dir; then
14730
  cd conftest.dir
14731
  cat >Imakefile <<'_ACEOF'
14732
incroot:
14733
	@echo incroot='${INCROOT}'
14734
usrlibdir:
14735
	@echo usrlibdir='${USRLIBDIR}'
14736
libdir:
14737
	@echo libdir='${LIBDIR}'
14738
_ACEOF
14739
  if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
14740
    # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
14741
    for ac_var in incroot usrlibdir libdir; do
14742
      eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
14743
    done
14744
    # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
1.1.49 by Jo Shields
Import upstream version 0.15.0
14745
    for ac_extension in a so sl dylib la dll; do
1.1.35 by Sebastian Dröge
Import upstream version 0.9.8
14746
      if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
14747
	 test -f "$ac_im_libdir/libX11.$ac_extension"; then
14748
	ac_im_usrlibdir=$ac_im_libdir; break
14749
      fi
14750
    done
14751
    # Screen out bogus values from the imake configuration.  They are
14752
    # bogus both because they are the default anyway, and because
14753
    # using them would break gcc on systems where it needs fixed includes.
14754
    case $ac_im_incroot in
14755
	/usr/include) ac_x_includes= ;;
14756
	*) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
14757
    esac
14758
    case $ac_im_usrlibdir in
1.1.49 by Jo Shields
Import upstream version 0.15.0
14759
	/usr/lib | /usr/lib64 | /lib | /lib64) ;;
1.1.35 by Sebastian Dröge
Import upstream version 0.9.8
14760
	*) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
14761
    esac
14762
  fi
14763
  cd ..
14764
  rm -f -r conftest.dir
14765
fi
14766
14767
# Standard set of common directories for X headers.
14768
# Check X11 before X11Rn because it is often a symlink to the current release.
14769
ac_x_header_dirs='
14770
/usr/X11/include
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14771
/usr/X11R7/include
1.1.35 by Sebastian Dröge
Import upstream version 0.9.8
14772
/usr/X11R6/include
14773
/usr/X11R5/include
14774
/usr/X11R4/include
14775
14776
/usr/include/X11
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14777
/usr/include/X11R7
1.1.35 by Sebastian Dröge
Import upstream version 0.9.8
14778
/usr/include/X11R6
14779
/usr/include/X11R5
14780
/usr/include/X11R4
14781
14782
/usr/local/X11/include
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14783
/usr/local/X11R7/include
1.1.35 by Sebastian Dröge
Import upstream version 0.9.8
14784
/usr/local/X11R6/include
14785
/usr/local/X11R5/include
14786
/usr/local/X11R4/include
14787
14788
/usr/local/include/X11
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14789
/usr/local/include/X11R7
1.1.35 by Sebastian Dröge
Import upstream version 0.9.8
14790
/usr/local/include/X11R6
14791
/usr/local/include/X11R5
14792
/usr/local/include/X11R4
14793
14794
/usr/X386/include
14795
/usr/x386/include
14796
/usr/XFree86/include/X11
14797
14798
/usr/include
14799
/usr/local/include
14800
/usr/unsupported/include
14801
/usr/athena/include
14802
/usr/local/x11r5/include
14803
/usr/lpp/Xamples/include
14804
14805
/usr/openwin/include
14806
/usr/openwin/share/include'
14807
14808
if test "$ac_x_includes" = no; then
14809
  # Guess where to find include files, by looking for Xlib.h.
14810
  # First, try using that file with no special directory specified.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14811
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1.35 by Sebastian Dröge
Import upstream version 0.9.8
14812
/* end confdefs.h.  */
14813
#include <X11/Xlib.h>
14814
_ACEOF
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14815
if ac_fn_c_try_cpp "$LINENO"; then :
1.1.35 by Sebastian Dröge
Import upstream version 0.9.8
14816
  # We can compile using X headers with no special include directory.
14817
ac_x_includes=
14818
else
14819
  for ac_dir in $ac_x_header_dirs; do
14820
  if test -r "$ac_dir/X11/Xlib.h"; then
14821
    ac_x_includes=$ac_dir
14822
    break
14823
  fi
14824
done
14825
fi
14826
rm -f conftest.err conftest.$ac_ext
14827
fi # $ac_x_includes = no
14828
14829
if test "$ac_x_libraries" = no; then
14830
  # Check for the libraries.
14831
  # See if we find them without any special options.
14832
  # Don't add to $LIBS permanently.
14833
  ac_save_LIBS=$LIBS
14834
  LIBS="-lX11 $LIBS"
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14835
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1.35 by Sebastian Dröge
Import upstream version 0.9.8
14836
/* end confdefs.h.  */
14837
#include <X11/Xlib.h>
14838
int
14839
main ()
14840
{
14841
XrmInitialize ()
14842
  ;
14843
  return 0;
14844
}
14845
_ACEOF
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14846
if ac_fn_c_try_link "$LINENO"; then :
1.1.35 by Sebastian Dröge
Import upstream version 0.9.8
14847
  LIBS=$ac_save_LIBS
14848
# We can link X programs with no special library path.
14849
ac_x_libraries=
14850
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14851
  LIBS=$ac_save_LIBS
1.1.49 by Jo Shields
Import upstream version 0.15.0
14852
for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
1.1.35 by Sebastian Dröge
Import upstream version 0.9.8
14853
do
14854
  # Don't even attempt the hair of trying to link an X program!
1.1.49 by Jo Shields
Import upstream version 0.15.0
14855
  for ac_extension in a so sl dylib la dll; do
1.1.35 by Sebastian Dröge
Import upstream version 0.9.8
14856
    if test -r "$ac_dir/libX11.$ac_extension"; then
14857
      ac_x_libraries=$ac_dir
14858
      break 2
14859
    fi
14860
  done
14861
done
14862
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14863
rm -f core conftest.err conftest.$ac_objext \
14864
    conftest$ac_exeext conftest.$ac_ext
1.1.35 by Sebastian Dröge
Import upstream version 0.9.8
14865
fi # $ac_x_libraries = no
14866
14867
case $ac_x_includes,$ac_x_libraries in #(
14868
  no,* | *,no | *\'*)
14869
    # Didn't find X, or a directory has "'" in its name.
14870
    ac_cv_have_x="have_x=no";; #(
14871
  *)
14872
    # Record where we found X for the cache.
14873
    ac_cv_have_x="have_x=yes\
14874
	ac_x_includes='$ac_x_includes'\
14875
	ac_x_libraries='$ac_x_libraries'"
14876
esac
14877
fi
14878
;; #(
14879
    *) have_x=yes;;
14880
  esac
14881
  eval "$ac_cv_have_x"
14882
fi # $with_x != no
14883
14884
if test "$have_x" != yes; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14885
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
14886
$as_echo "$have_x" >&6; }
1.1.35 by Sebastian Dröge
Import upstream version 0.9.8
14887
  no_x=yes
14888
else
14889
  # If each of the values was on the command line, it overrides each guess.
14890
  test "x$x_includes" = xNONE && x_includes=$ac_x_includes
14891
  test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
14892
  # Update the cache value to reflect the command line values.
14893
  ac_cv_have_x="have_x=yes\
14894
	ac_x_includes='$x_includes'\
14895
	ac_x_libraries='$x_libraries'"
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14896
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
14897
$as_echo "libraries $x_libraries, headers $x_includes" >&6; }
1.1.35 by Sebastian Dröge
Import upstream version 0.9.8
14898
fi
14899
14900
if test "$no_x" = yes; then
14901
  # Not all programs may use this symbol, but it does not hurt to define it.
14902
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14903
$as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
1.1.35 by Sebastian Dröge
Import upstream version 0.9.8
14904
14905
  X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
14906
else
14907
  if test -n "$x_includes"; then
14908
    X_CFLAGS="$X_CFLAGS -I$x_includes"
14909
  fi
14910
14911
  # It would also be nice to do this for all -L options, not just this one.
14912
  if test -n "$x_libraries"; then
14913
    X_LIBS="$X_LIBS -L$x_libraries"
14914
    # For Solaris; some versions of Sun CC require a space after -R and
14915
    # others require no space.  Words are not sufficient . . . .
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14916
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
14917
$as_echo_n "checking whether -R must be followed by a space... " >&6; }
1.1.35 by Sebastian Dröge
Import upstream version 0.9.8
14918
    ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
14919
    ac_xsave_c_werror_flag=$ac_c_werror_flag
14920
    ac_c_werror_flag=yes
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14921
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1.35 by Sebastian Dröge
Import upstream version 0.9.8
14922
/* end confdefs.h.  */
14923
14924
int
14925
main ()
14926
{
14927
14928
  ;
14929
  return 0;
14930
}
14931
_ACEOF
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14932
if ac_fn_c_try_link "$LINENO"; then :
14933
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
14934
$as_echo "no" >&6; }
1.1.35 by Sebastian Dröge
Import upstream version 0.9.8
14935
       X_LIBS="$X_LIBS -R$x_libraries"
14936
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14937
  LIBS="$ac_xsave_LIBS -R $x_libraries"
14938
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1.35 by Sebastian Dröge
Import upstream version 0.9.8
14939
/* end confdefs.h.  */
14940
14941
int
14942
main ()
14943
{
14944
14945
  ;
14946
  return 0;
14947
}
14948
_ACEOF
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14949
if ac_fn_c_try_link "$LINENO"; then :
14950
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
14951
$as_echo "yes" >&6; }
1.1.35 by Sebastian Dröge
Import upstream version 0.9.8
14952
	  X_LIBS="$X_LIBS -R $x_libraries"
14953
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14954
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
14955
$as_echo "neither works" >&6; }
1.1.35 by Sebastian Dröge
Import upstream version 0.9.8
14956
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14957
rm -f core conftest.err conftest.$ac_objext \
14958
    conftest$ac_exeext conftest.$ac_ext
1.1.35 by Sebastian Dröge
Import upstream version 0.9.8
14959
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14960
rm -f core conftest.err conftest.$ac_objext \
14961
    conftest$ac_exeext conftest.$ac_ext
1.1.35 by Sebastian Dröge
Import upstream version 0.9.8
14962
    ac_c_werror_flag=$ac_xsave_c_werror_flag
14963
    LIBS=$ac_xsave_LIBS
14964
  fi
14965
14966
  # Check for system-dependent libraries X programs must link with.
14967
  # Do this before checking for the system-independent R6 libraries
14968
  # (-lICE), since we may need -lsocket or whatever for X linking.
14969
14970
  if test "$ISC" = yes; then
14971
    X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
14972
  else
14973
    # Martyn Johnson says this is needed for Ultrix, if the X
14974
    # libraries were built with DECnet support.  And Karl Berry says
14975
    # the Alpha needs dnet_stub (dnet does not exist).
14976
    ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14977
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1.35 by Sebastian Dröge
Import upstream version 0.9.8
14978
/* end confdefs.h.  */
14979
14980
/* Override any GCC internal prototype to avoid an error.
14981
   Use char because int might match the return type of a GCC
14982
   builtin and then its argument prototype would still apply.  */
14983
#ifdef __cplusplus
14984
extern "C"
14985
#endif
14986
char XOpenDisplay ();
14987
int
14988
main ()
14989
{
14990
return XOpenDisplay ();
14991
  ;
14992
  return 0;
14993
}
14994
_ACEOF
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14995
if ac_fn_c_try_link "$LINENO"; then :
14996
1.1.35 by Sebastian Dröge
Import upstream version 0.9.8
14997
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
14998
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
14999
$as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15000
if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
15001
  $as_echo_n "(cached) " >&6
1.1.35 by Sebastian Dröge
Import upstream version 0.9.8
15002
else
15003
  ac_check_lib_save_LIBS=$LIBS
15004
LIBS="-ldnet  $LIBS"
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15005
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1.35 by Sebastian Dröge
Import upstream version 0.9.8
15006
/* end confdefs.h.  */
15007
15008
/* Override any GCC internal prototype to avoid an error.
15009
   Use char because int might match the return type of a GCC
15010
   builtin and then its argument prototype would still apply.  */
15011
#ifdef __cplusplus
15012
extern "C"
15013
#endif
15014
char dnet_ntoa ();
15015
int
15016
main ()
15017
{
15018
return dnet_ntoa ();
15019
  ;
15020
  return 0;
15021
}
15022
_ACEOF
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15023
if ac_fn_c_try_link "$LINENO"; then :
1.1.35 by Sebastian Dröge
Import upstream version 0.9.8
15024
  ac_cv_lib_dnet_dnet_ntoa=yes
15025
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15026
  ac_cv_lib_dnet_dnet_ntoa=no
1.1.35 by Sebastian Dröge
Import upstream version 0.9.8
15027
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15028
rm -f core conftest.err conftest.$ac_objext \
15029
    conftest$ac_exeext conftest.$ac_ext
1.1.35 by Sebastian Dröge
Import upstream version 0.9.8
15030
LIBS=$ac_check_lib_save_LIBS
15031
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15032
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
15033
$as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15034
if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then :
1.1.35 by Sebastian Dröge
Import upstream version 0.9.8
15035
  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
15036
fi
15037
15038
    if test $ac_cv_lib_dnet_dnet_ntoa = no; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15039
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
15040
$as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15041
if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
15042
  $as_echo_n "(cached) " >&6
1.1.35 by Sebastian Dröge
Import upstream version 0.9.8
15043
else
15044
  ac_check_lib_save_LIBS=$LIBS
15045
LIBS="-ldnet_stub  $LIBS"
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15046
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1.35 by Sebastian Dröge
Import upstream version 0.9.8
15047
/* end confdefs.h.  */
15048
15049
/* Override any GCC internal prototype to avoid an error.
15050
   Use char because int might match the return type of a GCC
15051
   builtin and then its argument prototype would still apply.  */
15052
#ifdef __cplusplus
15053
extern "C"
15054
#endif
15055
char dnet_ntoa ();
15056
int
15057
main ()
15058
{
15059
return dnet_ntoa ();
15060
  ;
15061
  return 0;
15062
}
15063
_ACEOF
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15064
if ac_fn_c_try_link "$LINENO"; then :
1.1.35 by Sebastian Dröge
Import upstream version 0.9.8
15065
  ac_cv_lib_dnet_stub_dnet_ntoa=yes
15066
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15067
  ac_cv_lib_dnet_stub_dnet_ntoa=no
1.1.35 by Sebastian Dröge
Import upstream version 0.9.8
15068
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15069
rm -f core conftest.err conftest.$ac_objext \
15070
    conftest$ac_exeext conftest.$ac_ext
1.1.35 by Sebastian Dröge
Import upstream version 0.9.8
15071
LIBS=$ac_check_lib_save_LIBS
15072
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15073
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
15074
$as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15075
if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x""yes; then :
1.1.35 by Sebastian Dröge
Import upstream version 0.9.8
15076
  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
15077
fi
15078
15079
    fi
15080
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15081
rm -f core conftest.err conftest.$ac_objext \
15082
    conftest$ac_exeext conftest.$ac_ext
1.1.35 by Sebastian Dröge
Import upstream version 0.9.8
15083
    LIBS="$ac_xsave_LIBS"
15084
15085
    # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
15086
    # to get the SysV transport functions.
15087
    # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
15088
    # needs -lnsl.
15089
    # The nsl library prevents programs from opening the X display
15090
    # on Irix 5.2, according to T.E. Dickey.
15091
    # The functions gethostbyname, getservbyname, and inet_addr are
15092
    # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15093
    ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
15094
if test "x$ac_cv_func_gethostbyname" = x""yes; then :
15095
15096
fi
1.1.35 by Sebastian Dröge
Import upstream version 0.9.8
15097
15098
    if test $ac_cv_func_gethostbyname = no; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15099
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
15100
$as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15101
if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
15102
  $as_echo_n "(cached) " >&6
1.1.35 by Sebastian Dröge
Import upstream version 0.9.8
15103
else
15104
  ac_check_lib_save_LIBS=$LIBS
15105
LIBS="-lnsl  $LIBS"
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15106
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1.35 by Sebastian Dröge
Import upstream version 0.9.8
15107
/* end confdefs.h.  */
15108
15109
/* Override any GCC internal prototype to avoid an error.
15110
   Use char because int might match the return type of a GCC
15111
   builtin and then its argument prototype would still apply.  */
15112
#ifdef __cplusplus
15113
extern "C"
15114
#endif
15115
char gethostbyname ();
15116
int
15117
main ()
15118
{
15119
return gethostbyname ();
15120
  ;
15121
  return 0;
15122
}
15123
_ACEOF
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15124
if ac_fn_c_try_link "$LINENO"; then :
1.1.35 by Sebastian Dröge
Import upstream version 0.9.8
15125
  ac_cv_lib_nsl_gethostbyname=yes
15126
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15127
  ac_cv_lib_nsl_gethostbyname=no
1.1.35 by Sebastian Dröge
Import upstream version 0.9.8
15128
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15129
rm -f core conftest.err conftest.$ac_objext \
15130
    conftest$ac_exeext conftest.$ac_ext
1.1.35 by Sebastian Dröge
Import upstream version 0.9.8
15131
LIBS=$ac_check_lib_save_LIBS
15132
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15133
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
15134
$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15135
if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then :
1.1.35 by Sebastian Dröge
Import upstream version 0.9.8
15136
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
15137
fi
15138
15139
      if test $ac_cv_lib_nsl_gethostbyname = no; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15140
	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
15141
$as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15142
if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
15143
  $as_echo_n "(cached) " >&6
1.1.35 by Sebastian Dröge
Import upstream version 0.9.8
15144
else
15145
  ac_check_lib_save_LIBS=$LIBS
15146
LIBS="-lbsd  $LIBS"
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15147
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1.35 by Sebastian Dröge
Import upstream version 0.9.8
15148
/* end confdefs.h.  */
15149
15150
/* Override any GCC internal prototype to avoid an error.
15151
   Use char because int might match the return type of a GCC
15152
   builtin and then its argument prototype would still apply.  */
15153
#ifdef __cplusplus
15154
extern "C"
15155
#endif
15156
char gethostbyname ();
15157
int
15158
main ()
15159
{
15160
return gethostbyname ();
15161
  ;
15162
  return 0;
15163
}
15164
_ACEOF
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15165
if ac_fn_c_try_link "$LINENO"; then :
1.1.35 by Sebastian Dröge
Import upstream version 0.9.8
15166
  ac_cv_lib_bsd_gethostbyname=yes
15167
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15168
  ac_cv_lib_bsd_gethostbyname=no
1.1.35 by Sebastian Dröge
Import upstream version 0.9.8
15169
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15170
rm -f core conftest.err conftest.$ac_objext \
15171
    conftest$ac_exeext conftest.$ac_ext
1.1.35 by Sebastian Dröge
Import upstream version 0.9.8
15172
LIBS=$ac_check_lib_save_LIBS
15173
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15174
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
15175
$as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15176
if test "x$ac_cv_lib_bsd_gethostbyname" = x""yes; then :
1.1.35 by Sebastian Dröge
Import upstream version 0.9.8
15177
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
15178
fi
15179
15180
      fi
15181
    fi
15182
15183
    # lieder@skyler.mavd.honeywell.com says without -lsocket,
15184
    # socket/setsockopt and other routines are undefined under SCO ODT
15185
    # 2.0.  But -lsocket is broken on IRIX 5.2 (and is not necessary
15186
    # on later versions), says Simon Leinen: it contains gethostby*
15187
    # variants that don't use the name server (or something).  -lsocket
15188
    # must be given before -lnsl if both are needed.  We assume that
15189
    # if connect needs -lnsl, so does gethostbyname.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15190
    ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
15191
if test "x$ac_cv_func_connect" = x""yes; then :
15192
15193
fi
1.1.35 by Sebastian Dröge
Import upstream version 0.9.8
15194
15195
    if test $ac_cv_func_connect = no; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15196
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
15197
$as_echo_n "checking for connect in -lsocket... " >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15198
if test "${ac_cv_lib_socket_connect+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
15199
  $as_echo_n "(cached) " >&6
1.1.35 by Sebastian Dröge
Import upstream version 0.9.8
15200
else
15201
  ac_check_lib_save_LIBS=$LIBS
15202
LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15203
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1.35 by Sebastian Dröge
Import upstream version 0.9.8
15204
/* end confdefs.h.  */
15205
15206
/* Override any GCC internal prototype to avoid an error.
15207
   Use char because int might match the return type of a GCC
15208
   builtin and then its argument prototype would still apply.  */
15209
#ifdef __cplusplus
15210
extern "C"
15211
#endif
15212
char connect ();
15213
int
15214
main ()
15215
{
15216
return connect ();
15217
  ;
15218
  return 0;
15219
}
15220
_ACEOF
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15221
if ac_fn_c_try_link "$LINENO"; then :
1.1.35 by Sebastian Dröge
Import upstream version 0.9.8
15222
  ac_cv_lib_socket_connect=yes
15223
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15224
  ac_cv_lib_socket_connect=no
1.1.35 by Sebastian Dröge
Import upstream version 0.9.8
15225
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15226
rm -f core conftest.err conftest.$ac_objext \
15227
    conftest$ac_exeext conftest.$ac_ext
1.1.35 by Sebastian Dröge
Import upstream version 0.9.8
15228
LIBS=$ac_check_lib_save_LIBS
15229
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15230
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
15231
$as_echo "$ac_cv_lib_socket_connect" >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15232
if test "x$ac_cv_lib_socket_connect" = x""yes; then :
1.1.35 by Sebastian Dröge
Import upstream version 0.9.8
15233
  X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
15234
fi
15235
15236
    fi
15237
15238
    # Guillermo Gomez says -lposix is necessary on A/UX.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15239
    ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
15240
if test "x$ac_cv_func_remove" = x""yes; then :
15241
15242
fi
1.1.35 by Sebastian Dröge
Import upstream version 0.9.8
15243
15244
    if test $ac_cv_func_remove = no; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15245
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
15246
$as_echo_n "checking for remove in -lposix... " >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15247
if test "${ac_cv_lib_posix_remove+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
15248
  $as_echo_n "(cached) " >&6
1.1.35 by Sebastian Dröge
Import upstream version 0.9.8
15249
else
15250
  ac_check_lib_save_LIBS=$LIBS
15251
LIBS="-lposix  $LIBS"
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15252
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1.35 by Sebastian Dröge
Import upstream version 0.9.8
15253
/* end confdefs.h.  */
15254
15255
/* Override any GCC internal prototype to avoid an error.
15256
   Use char because int might match the return type of a GCC
15257
   builtin and then its argument prototype would still apply.  */
15258
#ifdef __cplusplus
15259
extern "C"
15260
#endif
15261
char remove ();
15262
int
15263
main ()
15264
{
15265
return remove ();
15266
  ;
15267
  return 0;
15268
}
15269
_ACEOF
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15270
if ac_fn_c_try_link "$LINENO"; then :
1.1.35 by Sebastian Dröge
Import upstream version 0.9.8
15271
  ac_cv_lib_posix_remove=yes
15272
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15273
  ac_cv_lib_posix_remove=no
1.1.35 by Sebastian Dröge
Import upstream version 0.9.8
15274
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15275
rm -f core conftest.err conftest.$ac_objext \
15276
    conftest$ac_exeext conftest.$ac_ext
1.1.35 by Sebastian Dröge
Import upstream version 0.9.8
15277
LIBS=$ac_check_lib_save_LIBS
15278
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15279
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
15280
$as_echo "$ac_cv_lib_posix_remove" >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15281
if test "x$ac_cv_lib_posix_remove" = x""yes; then :
1.1.35 by Sebastian Dröge
Import upstream version 0.9.8
15282
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
15283
fi
15284
15285
    fi
15286
15287
    # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15288
    ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
15289
if test "x$ac_cv_func_shmat" = x""yes; then :
15290
15291
fi
1.1.35 by Sebastian Dröge
Import upstream version 0.9.8
15292
15293
    if test $ac_cv_func_shmat = no; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15294
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
15295
$as_echo_n "checking for shmat in -lipc... " >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15296
if test "${ac_cv_lib_ipc_shmat+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
15297
  $as_echo_n "(cached) " >&6
1.1.35 by Sebastian Dröge
Import upstream version 0.9.8
15298
else
15299
  ac_check_lib_save_LIBS=$LIBS
15300
LIBS="-lipc  $LIBS"
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15301
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1.35 by Sebastian Dröge
Import upstream version 0.9.8
15302
/* end confdefs.h.  */
15303
15304
/* Override any GCC internal prototype to avoid an error.
15305
   Use char because int might match the return type of a GCC
15306
   builtin and then its argument prototype would still apply.  */
15307
#ifdef __cplusplus
15308
extern "C"
15309
#endif
15310
char shmat ();
15311
int
15312
main ()
15313
{
15314
return shmat ();
15315
  ;
15316
  return 0;
15317
}
15318
_ACEOF
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15319
if ac_fn_c_try_link "$LINENO"; then :
1.1.35 by Sebastian Dröge
Import upstream version 0.9.8
15320
  ac_cv_lib_ipc_shmat=yes
15321
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15322
  ac_cv_lib_ipc_shmat=no
1.1.35 by Sebastian Dröge
Import upstream version 0.9.8
15323
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15324
rm -f core conftest.err conftest.$ac_objext \
15325
    conftest$ac_exeext conftest.$ac_ext
1.1.35 by Sebastian Dröge
Import upstream version 0.9.8
15326
LIBS=$ac_check_lib_save_LIBS
15327
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15328
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
15329
$as_echo "$ac_cv_lib_ipc_shmat" >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15330
if test "x$ac_cv_lib_ipc_shmat" = x""yes; then :
1.1.35 by Sebastian Dröge
Import upstream version 0.9.8
15331
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
15332
fi
15333
15334
    fi
15335
  fi
15336
15337
  # Check for libraries that X11R6 Xt/Xaw programs need.
15338
  ac_save_LDFLAGS=$LDFLAGS
15339
  test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
15340
  # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
15341
  # check for ICE first), but we must link in the order -lSM -lICE or
15342
  # we get undefined symbols.  So assume we have SM if we have ICE.
15343
  # These have to be linked with before -lX11, unlike the other
15344
  # libraries we check for below, so use a different variable.
15345
  # John Interrante, Karl Berry
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15346
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
15347
$as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15348
if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then :
1.1.49 by Jo Shields
Import upstream version 0.15.0
15349
  $as_echo_n "(cached) " >&6
1.1.35 by Sebastian Dröge
Import upstream version 0.9.8
15350
else
15351
  ac_check_lib_save_LIBS=$LIBS
15352
LIBS="-lICE $X_EXTRA_LIBS $LIBS"
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15353
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1.35 by Sebastian Dröge
Import upstream version 0.9.8
15354
/* end confdefs.h.  */
15355
15356
/* Override any GCC internal prototype to avoid an error.
15357
   Use char because int might match the return type of a GCC
15358
   builtin and then its argument prototype would still apply.  */
15359
#ifdef __cplusplus
15360
extern "C"
15361
#endif
15362
char IceConnectionNumber ();
15363
int
15364
main ()
15365
{
15366
return IceConnectionNumber ();
15367
  ;
15368
  return 0;
15369
}
15370
_ACEOF
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15371
if ac_fn_c_try_link "$LINENO"; then :
1.1.35 by Sebastian Dröge
Import upstream version 0.9.8
15372
  ac_cv_lib_ICE_IceConnectionNumber=yes
15373
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15374
  ac_cv_lib_ICE_IceConnectionNumber=no
1.1.35 by Sebastian Dröge
Import upstream version 0.9.8
15375
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15376
rm -f core conftest.err conftest.$ac_objext \
15377
    conftest$ac_exeext conftest.$ac_ext
1.1.35 by Sebastian Dröge
Import upstream version 0.9.8
15378
LIBS=$ac_check_lib_save_LIBS
15379
fi
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15380
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
15381
$as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15382
if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x""yes; then :
1.1.35 by Sebastian Dröge
Import upstream version 0.9.8
15383
  X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
15384
fi
15385
15386
  LDFLAGS=$ac_save_LDFLAGS
15387
15388
fi
15389
15390
CFLAGS="$CFLAGS $X_CFLAGS"
15391
CPPFLAGS="$CPPFLAGS $X_CFLAGS"
15392
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15393
ac_fn_c_check_header_mongrel "$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "$ac_includes_default"
15394
if test "x$ac_cv_header_X11_Xlib_h" = x""yes; then :
1.1.35 by Sebastian Dröge
Import upstream version 0.9.8
15395
  HAVE_X="yes"
15396
else
15397
  HAVE_X="no"
15398
fi
15399
15400
15401
15402
if test "x$HAVE_X" = "xno"
15403
then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15404
  as_fn_error "cannot find X11 development files" "$LINENO" 5
1.1.35 by Sebastian Dröge
Import upstream version 0.9.8
15405
else
15406
    X_LIBS="$X_LIBS $X_PRE_LIBS $X_EXTRA_LIBS"
15407
      X_LIBS="$X_LIBS -lX11"
15408
15409
15410
fi
15411
15412
15413
CFLAGS="$ac_cflags_save"
15414
CPPFLAGS="$ac_cppflags_save"
15415
15416
#
1.1.13 by Sebastian Dröge
Import upstream version 0.5.6
15417
# Replace xgettext by our PluginInfo aware wrapper script
15418
#
15419
XGETTEXT_XCOMMENT=`echo 'Test("1")' |\
15420
       xgettext -L C\# -k'Test:1,"XCOMMENT"' -o- - |\
15421
       grep XCOMMENT`
15422
15423
# Test to see if comments are supported in xgettext
15424
# (known to work in 0.15 but not in 0.14.5)
15425
if test "x#. XCOMMENT" = "x${XGETTEXT_XCOMMENT}"; then
15426
       XGETTEXT_PLUGIN_NAME=',"Plugin Name"'
15427
       XGETTEXT_PLUGIN_DESC=',"Plugin Description"'
15428
else
15429
       XGETTEXT_PLUGIN_NAME=
15430
       XGETTEXT_PLUGIN_DESC=
15431
fi
15432
15433
15434
15435
15436
INTLTOOL_UPDATE="XGETTEXT=\$(top_builddir)/pot-update $INTLTOOL_UPDATE"
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
15437
ac_config_files="$ac_config_files pot-update"
15438
15439
1.3.1 by Robert Ancell
Import upstream version 0.15.3
15440
ac_config_files="$ac_config_files Makefile tomboy.spec data/Makefile data/tomboy-addins.pc data/icons/Makefile help/Makefile libtomboy/Makefile Tomboy/Makefile Tomboy/Addins/Makefile Tomboy/Addins/Backlinks/Makefile Tomboy/Addins/Bugzilla/Makefile Tomboy/Addins/Evolution/Makefile Tomboy/Addins/ExportToHtml/Makefile Tomboy/Addins/FileSystemSyncService/Makefile Tomboy/Addins/FixedWidth/Makefile Tomboy/Addins/GalagoPresence/Makefile Tomboy/Addins/InsertTimestamp/Makefile Tomboy/Addins/NoteOfTheDay/Makefile Tomboy/Addins/PrintNotes/Makefile Tomboy/Addins/Sketching/Makefile Tomboy/Addins/SshSyncService/Makefile Tomboy/Addins/StickyNoteImport/Makefile Tomboy/Addins/Tasque/Makefile Tomboy/Addins/Underline/Makefile Tomboy/Addins/WebDavSyncService/Makefile Tomboy/Addins/WebSyncService/Makefile Tomboy/Addins/NoteDirectoryWatcher/Makefile test/Makefile po/Makefile.in"
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
15441
1 by Brandon Hale
Import upstream version 0.2.0
15442
cat >confcache <<\_ACEOF
15443
# This file is a shell script that caches the results of configure
15444
# tests run on this system so they can be shared between configure
15445
# scripts and configure runs, see configure's option --config-cache.
15446
# It is not useful on other systems.  If it contains results you don't
15447
# want to keep, you may remove or edit it.
15448
#
15449
# config.status only pays attention to the cache file if you give it
15450
# the --recheck option to rerun configure.
15451
#
15452
# `ac_cv_env_foo' variables (set or unset) will be overridden when
15453
# loading this file, other *unset* `ac_cv_foo' will be assigned the
15454
# following values.
15455
15456
_ACEOF
15457
15458
# The following way of writing the cache mishandles newlines in values,
15459
# but we know of no workaround that is simple, portable, and efficient.
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
15460
# So, we kill variables containing newlines.
1 by Brandon Hale
Import upstream version 0.2.0
15461
# Ultrix sh set writes to stderr and can't be redirected directly,
15462
# and sets the high bit in the cache file unless we assign to the vars.
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
15463
(
15464
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15465
    eval ac_val=\$$ac_var
15466
    case $ac_val in #(
15467
    *${as_nl}*)
15468
      case $ac_var in #(
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15469
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
15470
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
15471
      esac
15472
      case $ac_var in #(
15473
      _ | IFS | as_nl) ;; #(
1.1.49 by Jo Shields
Import upstream version 0.15.0
15474
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15475
      *) { eval $ac_var=; unset $ac_var;} ;;
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
15476
      esac ;;
15477
    esac
15478
  done
15479
1 by Brandon Hale
Import upstream version 0.2.0
15480
  (set) 2>&1 |
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
15481
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
15482
    *${as_nl}ac_space=\ *)
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15483
      # `set' does not quote correctly, so add quotes: double-quote
15484
      # substitution turns \\\\ into \\, and sed turns \\ into \.
1 by Brandon Hale
Import upstream version 0.2.0
15485
      sed -n \
15486
	"s/'/'\\\\''/g;
15487
	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
15488
      ;; #(
1 by Brandon Hale
Import upstream version 0.2.0
15489
    *)
15490
      # `set' quotes correctly as required by POSIX, so do not add quotes.
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
15491
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1 by Brandon Hale
Import upstream version 0.2.0
15492
      ;;
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
15493
    esac |
15494
    sort
15495
) |
1 by Brandon Hale
Import upstream version 0.2.0
15496
  sed '
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
15497
     /^ac_cv_env_/b end
1 by Brandon Hale
Import upstream version 0.2.0
15498
     t clear
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
15499
     :clear
1 by Brandon Hale
Import upstream version 0.2.0
15500
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15501
     t end
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
15502
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15503
     :end' >>confcache
15504
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15505
  if test -w "$cache_file"; then
15506
    test "x$cache_file" != "x/dev/null" &&
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15507
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
15508
$as_echo "$as_me: updating cache $cache_file" >&6;}
1 by Brandon Hale
Import upstream version 0.2.0
15509
    cat confcache >$cache_file
15510
  else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15511
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
15512
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
1 by Brandon Hale
Import upstream version 0.2.0
15513
  fi
15514
fi
15515
rm -f confcache
15516
15517
test "x$prefix" = xNONE && prefix=$ac_default_prefix
15518
# Let make expand exec_prefix.
15519
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15520
15521
DEFS=-DHAVE_CONFIG_H
15522
15523
ac_libobjs=
15524
ac_ltlibobjs=
15525
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15526
  # 1. Remove the extension, and $U if already installed.
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
15527
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
1.1.49 by Jo Shields
Import upstream version 0.15.0
15528
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
15529
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
15530
  #    will be set to the directory where LIBOBJS objects are built.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15531
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15532
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
1 by Brandon Hale
Import upstream version 0.2.0
15533
done
15534
LIBOBJS=$ac_libobjs
15535
15536
LTLIBOBJS=$ac_ltlibobjs
15537
15538
1.3.7 by Sebastien Bacher
Import upstream version 1.1.0
15539
 if test -n "$EXEEXT"; then
15540
  am__EXEEXT_TRUE=
15541
  am__EXEEXT_FALSE='#'
15542
else
15543
  am__EXEEXT_TRUE='#'
15544
  am__EXEEXT_FALSE=
15545
fi
15546
1 by Brandon Hale
Import upstream version 0.2.0
15547
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15548
  as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
15549
Usually this means the macro was only invoked conditionally." "$LINENO" 5
1 by Brandon Hale
Import upstream version 0.2.0
15550
fi
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
15551
if test -z "${ENABLE_SK_TRUE}" && test -z "${ENABLE_SK_FALSE}"; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15552
  as_fn_error "conditional \"ENABLE_SK\" was never defined.
15553
Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
15554
fi
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
15555
if test -z "${HAVE_GNOME_DOC_UTILS_TRUE}" && test -z "${HAVE_GNOME_DOC_UTILS_FALSE}"; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15556
  as_fn_error "conditional \"HAVE_GNOME_DOC_UTILS\" was never defined.
15557
Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
15558
fi
1 by Brandon Hale
Import upstream version 0.2.0
15559
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15560
  as_fn_error "conditional \"AMDEP\" was never defined.
15561
Usually this means the macro was only invoked conditionally." "$LINENO" 5
1 by Brandon Hale
Import upstream version 0.2.0
15562
fi
15563
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15564
  as_fn_error "conditional \"am__fastdepCC\" was never defined.
15565
Usually this means the macro was only invoked conditionally." "$LINENO" 5
1 by Brandon Hale
Import upstream version 0.2.0
15566
fi
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
15567
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
15568
  ac_config_commands="$ac_config_commands po/stamp-it"
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
15569
15570
15571
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15572
  as_fn_error "conditional \"am__fastdepCC\" was never defined.
15573
Usually this means the macro was only invoked conditionally." "$LINENO" 5
1 by Brandon Hale
Import upstream version 0.2.0
15574
fi
15575
if test -z "${GCONF_SCHEMAS_INSTALL_TRUE}" && test -z "${GCONF_SCHEMAS_INSTALL_FALSE}"; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15576
  as_fn_error "conditional \"GCONF_SCHEMAS_INSTALL\" was never defined.
15577
Usually this means the macro was only invoked conditionally." "$LINENO" 5
1 by Brandon Hale
Import upstream version 0.2.0
15578
fi
1.3.7 by Sebastien Bacher
Import upstream version 1.1.0
15579
if test -z "${HAS_GTK_2_16_TRUE}" && test -z "${HAS_GTK_2_16_FALSE}"; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15580
  as_fn_error "conditional \"HAS_GTK_2_16\" was never defined.
15581
Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.3.7 by Sebastien Bacher
Import upstream version 1.1.0
15582
fi
1.3.12 by Sebastien Bacher
Import upstream version 1.2.0
15583
if test -z "${HAS_GTK_2_20_TRUE}" && test -z "${HAS_GTK_2_20_FALSE}"; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15584
  as_fn_error "conditional \"HAS_GTK_2_20\" was never defined.
15585
Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.3.12 by Sebastien Bacher
Import upstream version 1.2.0
15586
fi
1.1.10 by Sebastian Dröge
Import upstream version 0.5.3
15587
if test -z "${ENABLE_PANELAPPLET_SRVDIR_CHECK_TRUE}" && test -z "${ENABLE_PANELAPPLET_SRVDIR_CHECK_FALSE}"; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15588
  as_fn_error "conditional \"ENABLE_PANELAPPLET_SRVDIR_CHECK\" was never defined.
15589
Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.1.10 by Sebastian Dröge
Import upstream version 0.5.3
15590
fi
1.1.1 by Daniel Holbach
Import upstream version 0.3.1
15591
if test -z "${FIXED_GTKSPELL_TRUE}" && test -z "${FIXED_GTKSPELL_FALSE}"; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15592
  as_fn_error "conditional \"FIXED_GTKSPELL\" was never defined.
15593
Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.2.2 by Sebastian Dröge
Import upstream version 0.14.2
15594
fi
1.3.12 by Sebastien Bacher
Import upstream version 1.2.0
15595
if test -z "${ENABLE_UPDATE_MIMEDB_TRUE}" && test -z "${ENABLE_UPDATE_MIMEDB_FALSE}"; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15596
  as_fn_error "conditional \"ENABLE_UPDATE_MIMEDB\" was never defined.
15597
Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.3.12 by Sebastien Bacher
Import upstream version 1.2.0
15598
fi
1.1.44 by Pedro Fragoso
Import upstream version 0.13.1
15599
if test -z "${ENABLE_WIN_TRUE}" && test -z "${ENABLE_WIN_FALSE}"; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15600
  as_fn_error "conditional \"ENABLE_WIN\" was never defined.
15601
Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.1.44 by Pedro Fragoso
Import upstream version 0.13.1
15602
fi
15603
if test -z "${ENABLE_OSX_TRUE}" && test -z "${ENABLE_OSX_FALSE}"; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15604
  as_fn_error "conditional \"ENABLE_OSX\" was never defined.
15605
Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.1.44 by Pedro Fragoso
Import upstream version 0.13.1
15606
fi
15607
if test -z "${ENABLE_GNOME_TRUE}" && test -z "${ENABLE_GNOME_FALSE}"; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15608
  as_fn_error "conditional \"ENABLE_GNOME\" was never defined.
15609
Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.1.44 by Pedro Fragoso
Import upstream version 0.13.1
15610
fi
1 by Brandon Hale
Import upstream version 0.2.0
15611
if test -z "${ENABLE_DBUS_TRUE}" && test -z "${ENABLE_DBUS_FALSE}"; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15612
  as_fn_error "conditional \"ENABLE_DBUS\" was never defined.
15613
Usually this means the macro was only invoked conditionally." "$LINENO" 5
1 by Brandon Hale
Import upstream version 0.2.0
15614
fi
1.1.19 by Sebastian Dröge
Import upstream version 0.7.0
15615
if test -z "${WITH_DBUS_SERVICE_DIR_TRUE}" && test -z "${WITH_DBUS_SERVICE_DIR_FALSE}"; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15616
  as_fn_error "conditional \"WITH_DBUS_SERVICE_DIR\" was never defined.
15617
Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.1.30 by Sebastian Dröge
Import upstream version 0.9.1
15618
fi
1.1.44 by Pedro Fragoso
Import upstream version 0.13.1
15619
if test -z "${FIXED_PANELAPPLET_TRUE}" && test -z "${FIXED_PANELAPPLET_FALSE}"; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15620
  as_fn_error "conditional \"FIXED_PANELAPPLET\" was never defined.
15621
Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.1.44 by Pedro Fragoso
Import upstream version 0.13.1
15622
fi
1.1.3 by Sebastian Dröge
Import upstream version 0.3.5
15623
if test -z "${ENABLE_EVOLUTION_TRUE}" && test -z "${ENABLE_EVOLUTION_FALSE}"; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15624
  as_fn_error "conditional \"ENABLE_EVOLUTION\" was never defined.
15625
Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.1.3 by Sebastian Dröge
Import upstream version 0.3.5
15626
fi
1.1.31 by Pedro Fragoso
Import upstream version 0.9.4
15627
if test -z "${ENABLE_SKETCHING_TRUE}" && test -z "${ENABLE_SKETCHING_FALSE}"; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15628
  as_fn_error "conditional \"ENABLE_SKETCHING\" was never defined.
15629
Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.1.31 by Pedro Fragoso
Import upstream version 0.9.4
15630
fi
1.1.3 by Sebastian Dröge
Import upstream version 0.3.5
15631
if test -z "${ENABLE_GALAGO_TRUE}" && test -z "${ENABLE_GALAGO_FALSE}"; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15632
  as_fn_error "conditional \"ENABLE_GALAGO\" was never defined.
15633
Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.1.3 by Sebastian Dröge
Import upstream version 0.3.5
15634
fi
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
15635
if test -z "${HAVE_NUNIT_TRUE}" && test -z "${HAVE_NUNIT_FALSE}"; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15636
  as_fn_error "conditional \"HAVE_NUNIT\" was never defined.
15637
Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.1.4 by Andrew Mitchell
Import upstream version 0.3.9+dfsg
15638
fi
1 by Brandon Hale
Import upstream version 0.2.0
15639
15640
: ${CONFIG_STATUS=./config.status}
1.1.49 by Jo Shields
Import upstream version 0.15.0
15641
ac_write_fail=0
1 by Brandon Hale
Import upstream version 0.2.0
15642
ac_clean_files_save=$ac_clean_files
15643
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15644
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
15645
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15646
as_write_fail=0
15647
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
1 by Brandon Hale
Import upstream version 0.2.0
15648
#! $SHELL
15649
# Generated by $as_me.
15650
# Run this file to recreate the current configuration.
15651
# Compiler output produced by configure, useful for debugging
15652
# configure, is in config.log if it exists.
15653
15654
debug=false
15655
ac_cs_recheck=false
15656
ac_cs_silent=false
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15657
1 by Brandon Hale
Import upstream version 0.2.0
15658
SHELL=\${CONFIG_SHELL-$SHELL}
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15659
export SHELL
15660
_ASEOF
15661
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15662
## -------------------- ##
15663
## M4sh Initialization. ##
15664
## -------------------- ##
1 by Brandon Hale
Import upstream version 0.2.0
15665
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
15666
# Be more Bourne compatible
15667
DUALCASE=1; export DUALCASE # for MKS sh
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15668
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
1 by Brandon Hale
Import upstream version 0.2.0
15669
  emulate sh
15670
  NULLCMD=:
1.1.49 by Jo Shields
Import upstream version 0.15.0
15671
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
1 by Brandon Hale
Import upstream version 0.2.0
15672
  # is contrary to our usage.  Disable this feature.
15673
  alias -g '${1+"$@"}'='"$@"'
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
15674
  setopt NO_GLOB_SUBST
15675
else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15676
  case `(set -o) 2>/dev/null` in #(
15677
  *posix*) :
15678
    set -o posix ;; #(
15679
  *) :
15680
     ;;
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
15681
esac
15682
fi
15683
15684
1.1.49 by Jo Shields
Import upstream version 0.15.0
15685
as_nl='
15686
'
15687
export as_nl
15688
# Printing a long string crashes Solaris 7 /usr/bin/printf.
15689
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15690
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15691
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15692
# Prefer a ksh shell builtin over an external printf program on Solaris,
15693
# but without wasting forks for bash or zsh.
15694
if test -z "$BASH_VERSION$ZSH_VERSION" \
15695
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15696
  as_echo='print -r --'
15697
  as_echo_n='print -rn --'
15698
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
1.1.49 by Jo Shields
Import upstream version 0.15.0
15699
  as_echo='printf %s\n'
15700
  as_echo_n='printf %s'
15701
else
15702
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15703
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15704
    as_echo_n='/usr/ucb/echo -n'
15705
  else
15706
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15707
    as_echo_n_body='eval
15708
      arg=$1;
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15709
      case $arg in #(
1.1.49 by Jo Shields
Import upstream version 0.15.0
15710
      *"$as_nl"*)
15711
	expr "X$arg" : "X\\(.*\\)$as_nl";
15712
	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15713
      esac;
15714
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15715
    '
15716
    export as_echo_n_body
15717
    as_echo_n='sh -c $as_echo_n_body as_echo'
15718
  fi
15719
  export as_echo_body
15720
  as_echo='sh -c $as_echo_body as_echo'
15721
fi
15722
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
15723
# The user is always right.
15724
if test "${PATH_SEPARATOR+set}" != set; then
1.1.49 by Jo Shields
Import upstream version 0.15.0
15725
  PATH_SEPARATOR=:
15726
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15727
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15728
      PATH_SEPARATOR=';'
15729
  }
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
15730
fi
1.1.18 by Sebastian Dröge
Import upstream version 0.6.3
15731
1 by Brandon Hale
Import upstream version 0.2.0
15732
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
15733
# IFS
15734
# We need space, tab and new line, in precisely that order.  Quoting is
15735
# there to prevent editors from complaining about space-tab.
15736
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
15737
# splitting by setting IFS to empty value.)
15738
IFS=" ""	$as_nl"
15739
15740
# Find who we are.  Look in the path if we contain no directory separator.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15741
case $0 in #((
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
15742
  *[\\/]* ) as_myself=$0 ;;
15743
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15744
for as_dir in $PATH
15745
do
15746
  IFS=$as_save_IFS
15747
  test -z "$as_dir" && as_dir=.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15748
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15749
  done
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
15750
IFS=$as_save_IFS
15751
15752
     ;;
15753
esac
15754
# We did not find ourselves, most probably we were run as `sh COMMAND'
15755
# in which case we are not to be found in the path.
15756
if test "x$as_myself" = x; then
15757
  as_myself=$0
15758
fi
15759
if test ! -f "$as_myself"; then
1.1.49 by Jo Shields
Import upstream version 0.15.0
15760
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15761
  exit 1
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
15762
fi
15763
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15764
# Unset variables that we do not need and which cause bugs (e.g. in
15765
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
15766
# suppresses any "Segmentation fault" message there.  '((' could
15767
# trigger a bug in pdksh 5.2.14.
15768
for as_var in BASH_ENV ENV MAIL MAILPATH
15769
do eval test x\${$as_var+set} = xset \
15770
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
15771
done
1 by Brandon Hale
Import upstream version 0.2.0
15772
PS1='$ '
15773
PS2='> '
15774
PS4='+ '
15775
15776
# NLS nuisances.
1.1.49 by Jo Shields
Import upstream version 0.15.0
15777
LC_ALL=C
15778
export LC_ALL
15779
LANGUAGE=C
15780
export LANGUAGE
1 by Brandon Hale
Import upstream version 0.2.0
15781
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15782
# CDPATH.
15783
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15784
15785
15786
# as_fn_error ERROR [LINENO LOG_FD]
15787
# ---------------------------------
15788
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15789
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15790
# script with status $?, using 1 if that was 0.
15791
as_fn_error ()
15792
{
15793
  as_status=$?; test $as_status -eq 0 && as_status=1
15794
  if test "$3"; then
15795
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15796
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
15797
  fi
15798
  $as_echo "$as_me: error: $1" >&2
15799
  as_fn_exit $as_status
15800
} # as_fn_error
15801
15802
15803
# as_fn_set_status STATUS
15804
# -----------------------
15805
# Set $? to STATUS, without forking.
15806
as_fn_set_status ()
15807
{
15808
  return $1
15809
} # as_fn_set_status
15810
15811
# as_fn_exit STATUS
15812
# -----------------
15813
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15814
as_fn_exit ()
15815
{
15816
  set +e
15817
  as_fn_set_status $1
15818
  exit $1
15819
} # as_fn_exit
15820
15821
# as_fn_unset VAR
15822
# ---------------
15823
# Portably unset VAR.
15824
as_fn_unset ()
15825
{
15826
  { eval $1=; unset $1;}
15827
}
15828
as_unset=as_fn_unset
15829
# as_fn_append VAR VALUE
15830
# ----------------------
15831
# Append the text in VALUE to the end of the definition contained in VAR. Take
15832
# advantage of any shell optimizations that allow amortized linear growth over
15833
# repeated appends, instead of the typical quadratic growth present in naive
15834
# implementations.
15835
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15836
  eval 'as_fn_append ()
15837
  {
15838
    eval $1+=\$2
15839
  }'
15840
else
15841
  as_fn_append ()
15842
  {
15843
    eval $1=\$$1\$2
15844
  }
15845
fi # as_fn_append
15846
15847
# as_fn_arith ARG...
15848
# ------------------
15849
# Perform arithmetic evaluation on the ARGs, and store the result in the
15850
# global $as_val. Take advantage of shells that can avoid forks. The arguments
15851
# must be portable across $(()) and expr.
15852
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15853
  eval 'as_fn_arith ()
15854
  {
15855
    as_val=$(( $* ))
15856
  }'
15857
else
15858
  as_fn_arith ()
15859
  {
15860
    as_val=`expr "$@" || test $? -eq 1`
15861
  }
15862
fi # as_fn_arith
15863
15864
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
15865
if expr a : '\(a\)' >/dev/null 2>&1 &&
15866
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
1 by Brandon Hale
Import upstream version 0.2.0
15867
  as_expr=expr
15868
else
15869
  as_expr=false
15870
fi
15871
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
15872
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
1 by Brandon Hale
Import upstream version 0.2.0
15873
  as_basename=basename
15874
else
15875
  as_basename=false
15876
fi
15877
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15878
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15879
  as_dirname=dirname
15880
else
15881
  as_dirname=false
15882
fi
1 by Brandon Hale
Import upstream version 0.2.0
15883
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
15884
as_me=`$as_basename -- "$0" ||
1 by Brandon Hale
Import upstream version 0.2.0
15885
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15886
	 X"$0" : 'X\(//\)$' \| \
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
15887
	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1.1.49 by Jo Shields
Import upstream version 0.15.0
15888
$as_echo X/"$0" |
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
15889
    sed '/^.*\/\([^/][^/]*\)\/*$/{
15890
	    s//\1/
15891
	    q
15892
	  }
15893
	  /^X\/\(\/\/\)$/{
15894
	    s//\1/
15895
	    q
15896
	  }
15897
	  /^X\/\(\/\).*/{
15898
	    s//\1/
15899
	    q
15900
	  }
15901
	  s/.*/./; q'`
15902
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15903
# Avoid depending upon Character Ranges.
15904
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15905
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15906
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15907
as_cr_digits='0123456789'
15908
as_cr_alnum=$as_cr_Letters$as_cr_digits
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
15909
15910
ECHO_C= ECHO_N= ECHO_T=
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15911
case `echo -n x` in #(((((
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
15912
-n*)
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15913
  case `echo 'xy\c'` in
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
15914
  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15915
  xy)  ECHO_C='\c';;
15916
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
15917
       ECHO_T='	';;
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
15918
  esac;;
15919
*)
15920
  ECHO_N='-n';;
1 by Brandon Hale
Import upstream version 0.2.0
15921
esac
15922
15923
rm -f conf$$ conf$$.exe conf$$.file
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
15924
if test -d conf$$.dir; then
15925
  rm -f conf$$.dir/conf$$.file
15926
else
15927
  rm -f conf$$.dir
1.1.49 by Jo Shields
Import upstream version 0.15.0
15928
  mkdir conf$$.dir 2>/dev/null
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
15929
fi
1.1.49 by Jo Shields
Import upstream version 0.15.0
15930
if (echo >conf$$.file) 2>/dev/null; then
15931
  if ln -s conf$$.file conf$$ 2>/dev/null; then
15932
    as_ln_s='ln -s'
15933
    # ... but there are two gotchas:
15934
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15935
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15936
    # In both cases, we have to default to `cp -p'.
15937
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15938
      as_ln_s='cp -p'
15939
  elif ln conf$$.file conf$$ 2>/dev/null; then
15940
    as_ln_s=ln
15941
  else
1 by Brandon Hale
Import upstream version 0.2.0
15942
    as_ln_s='cp -p'
1.1.49 by Jo Shields
Import upstream version 0.15.0
15943
  fi
1 by Brandon Hale
Import upstream version 0.2.0
15944
else
15945
  as_ln_s='cp -p'
15946
fi
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
15947
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15948
rmdir conf$$.dir 2>/dev/null
1 by Brandon Hale
Import upstream version 0.2.0
15949
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15950
15951
# as_fn_mkdir_p
15952
# -------------
15953
# Create "$as_dir" as a directory, including parents if necessary.
15954
as_fn_mkdir_p ()
15955
{
15956
15957
  case $as_dir in #(
15958
  -*) as_dir=./$as_dir;;
15959
  esac
15960
  test -d "$as_dir" || eval $as_mkdir_p || {
15961
    as_dirs=
15962
    while :; do
15963
      case $as_dir in #(
15964
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15965
      *) as_qdir=$as_dir;;
15966
      esac
15967
      as_dirs="'$as_qdir' $as_dirs"
15968
      as_dir=`$as_dirname -- "$as_dir" ||
15969
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15970
	 X"$as_dir" : 'X\(//\)[^/]' \| \
15971
	 X"$as_dir" : 'X\(//\)$' \| \
15972
	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15973
$as_echo X"$as_dir" |
15974
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15975
	    s//\1/
15976
	    q
15977
	  }
15978
	  /^X\(\/\/\)[^/].*/{
15979
	    s//\1/
15980
	    q
15981
	  }
15982
	  /^X\(\/\/\)$/{
15983
	    s//\1/
15984
	    q
15985
	  }
15986
	  /^X\(\/\).*/{
15987
	    s//\1/
15988
	    q
15989
	  }
15990
	  s/.*/./; q'`
15991
      test -d "$as_dir" && break
15992
    done
15993
    test -z "$as_dirs" || eval "mkdir $as_dirs"
15994
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
15995
15996
15997
} # as_fn_mkdir_p
1 by Brandon Hale
Import upstream version 0.2.0
15998
if mkdir -p . 2>/dev/null; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
15999
  as_mkdir_p='mkdir -p "$as_dir"'
1 by Brandon Hale
Import upstream version 0.2.0
16000
else
16001
  test -d ./-p && rmdir ./-p
16002
  as_mkdir_p=false
16003
fi
16004
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
16005
if test -x / >/dev/null 2>&1; then
16006
  as_test_x='test -x'
16007
else
16008
  if ls -dL / >/dev/null 2>&1; then
16009
    as_ls_L_option=L
16010
  else
16011
    as_ls_L_option=
16012
  fi
16013
  as_test_x='
16014
    eval sh -c '\''
16015
      if test -d "$1"; then
1.1.49 by Jo Shields
Import upstream version 0.15.0
16016
	test -d "$1/.";
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
16017
      else
1.3.14 by Ken VanDine
Import upstream version 1.2.2
16018
	case $1 in #(
1.1.49 by Jo Shields
Import upstream version 0.15.0
16019
	-*)set "./$1";;
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
16020
	esac;
1.3.14 by Ken VanDine
Import upstream version 1.2.2
16021
	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
16022
	???[sx]*):;;*)false;;esac;fi
16023
    '\'' sh
16024
  '
16025
fi
16026
as_executable_p=$as_test_x
1 by Brandon Hale
Import upstream version 0.2.0
16027
16028
# Sed expression to map a string onto a valid CPP name.
16029
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16030
16031
# Sed expression to map a string onto a valid variable name.
16032
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16033
16034
16035
exec 6>&1
1.3.14 by Ken VanDine
Import upstream version 1.2.2
16036
## ----------------------------------- ##
16037
## Main body of $CONFIG_STATUS script. ##
16038
## ----------------------------------- ##
16039
_ASEOF
16040
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
1 by Brandon Hale
Import upstream version 0.2.0
16041
1.3.14 by Ken VanDine
Import upstream version 1.2.2
16042
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16043
# Save the log message, to keep $0 and so on meaningful, and to
1 by Brandon Hale
Import upstream version 0.2.0
16044
# report actual input values of CONFIG_FILES etc. instead of their
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
16045
# values after options handling.
16046
ac_log="
1.3.14 by Ken VanDine
Import upstream version 1.2.2
16047
This file was extended by tomboy $as_me 1.2.2, which was
16048
generated by GNU Autoconf 2.65.  Invocation command line was
1 by Brandon Hale
Import upstream version 0.2.0
16049
16050
  CONFIG_FILES    = $CONFIG_FILES
16051
  CONFIG_HEADERS  = $CONFIG_HEADERS
16052
  CONFIG_LINKS    = $CONFIG_LINKS
16053
  CONFIG_COMMANDS = $CONFIG_COMMANDS
16054
  $ $0 $@
16055
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
16056
on `(hostname || uname -n) 2>/dev/null | sed 1q`
16057
"
16058
1 by Brandon Hale
Import upstream version 0.2.0
16059
_ACEOF
16060
1.1.49 by Jo Shields
Import upstream version 0.15.0
16061
case $ac_config_files in *"
16062
"*) set x $ac_config_files; shift; ac_config_files=$*;;
16063
esac
16064
16065
case $ac_config_headers in *"
16066
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
16067
esac
16068
16069
16070
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1 by Brandon Hale
Import upstream version 0.2.0
16071
# Files that config.status was made for.
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
16072
config_files="$ac_config_files"
16073
config_headers="$ac_config_headers"
16074
config_commands="$ac_config_commands"
16075
16076
_ACEOF
1 by Brandon Hale
Import upstream version 0.2.0
16077
1.1.49 by Jo Shields
Import upstream version 0.15.0
16078
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1 by Brandon Hale
Import upstream version 0.2.0
16079
ac_cs_usage="\
1.3.14 by Ken VanDine
Import upstream version 1.2.2
16080
\`$as_me' instantiates files and other configuration actions
16081
from templates according to the current configuration.  Unless the files
16082
and actions are specified as TAGs, all are instantiated by default.
1 by Brandon Hale
Import upstream version 0.2.0
16083
1.3.14 by Ken VanDine
Import upstream version 1.2.2
16084
Usage: $0 [OPTION]... [TAG]...
1 by Brandon Hale
Import upstream version 0.2.0
16085
16086
  -h, --help       print this help, then exit
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
16087
  -V, --version    print version number and configuration settings, then exit
1.3.14 by Ken VanDine
Import upstream version 1.2.2
16088
      --config     print configuration, then exit
1.1.49 by Jo Shields
Import upstream version 0.15.0
16089
  -q, --quiet, --silent
16090
                   do not print progress messages
1 by Brandon Hale
Import upstream version 0.2.0
16091
  -d, --debug      don't remove temporary files
16092
      --recheck    update $as_me by reconfiguring in the same conditions
1.1.49 by Jo Shields
Import upstream version 0.15.0
16093
      --file=FILE[:TEMPLATE]
16094
                   instantiate the configuration file FILE
16095
      --header=FILE[:TEMPLATE]
16096
                   instantiate the configuration header FILE
1 by Brandon Hale
Import upstream version 0.2.0
16097
16098
Configuration files:
16099
$config_files
16100
16101
Configuration headers:
16102
$config_headers
16103
16104
Configuration commands:
16105
$config_commands
16106
1.3.14 by Ken VanDine
Import upstream version 1.2.2
16107
Report bugs to the package provider."
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
16108
1.1.24 by Sebastian Dröge
Import upstream version 0.7.5
16109
_ACEOF
1.1.49 by Jo Shields
Import upstream version 0.15.0
16110
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1.3.14 by Ken VanDine
Import upstream version 1.2.2
16111
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
1 by Brandon Hale
Import upstream version 0.2.0
16112
ac_cs_version="\\
1.3.14 by Ken VanDine
Import upstream version 1.2.2
16113
tomboy config.status 1.2.2
16114
configured by $0, generated by GNU Autoconf 2.65,
16115
  with options \\"\$ac_cs_config\\"
1 by Brandon Hale
Import upstream version 0.2.0
16116
1.3.14 by Ken VanDine
Import upstream version 1.2.2
16117
Copyright (C) 2009 Free Software Foundation, Inc.
1 by Brandon Hale
Import upstream version 0.2.0
16118
This config.status script is free software; the Free Software Foundation
16119
gives unlimited permission to copy, distribute and modify it."
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
16120
16121
ac_pwd='$ac_pwd'
16122
srcdir='$srcdir'
16123
INSTALL='$INSTALL'
1.1.30 by Sebastian Dröge
Import upstream version 0.9.1
16124
MKDIR_P='$MKDIR_P'
1.1.49 by Jo Shields
Import upstream version 0.15.0
16125
AWK='$AWK'
16126
test -n "\$AWK" || AWK=awk
1 by Brandon Hale
Import upstream version 0.2.0
16127
_ACEOF
16128
1.1.49 by Jo Shields
Import upstream version 0.15.0
16129
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16130
# The default lists apply if the user does not specify any file.
1 by Brandon Hale
Import upstream version 0.2.0
16131
ac_need_defaults=:
16132
while test $# != 0
16133
do
16134
  case $1 in
16135
  --*=*)
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
16136
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
16137
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
1 by Brandon Hale
Import upstream version 0.2.0
16138
    ac_shift=:
16139
    ;;
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
16140
  *)
1 by Brandon Hale
Import upstream version 0.2.0
16141
    ac_option=$1
16142
    ac_optarg=$2
16143
    ac_shift=shift
16144
    ;;
16145
  esac
16146
16147
  case $ac_option in
16148
  # Handling of the options.
16149
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16150
    ac_cs_recheck=: ;;
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
16151
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
1.1.49 by Jo Shields
Import upstream version 0.15.0
16152
    $as_echo "$ac_cs_version"; exit ;;
1.3.14 by Ken VanDine
Import upstream version 1.2.2
16153
  --config | --confi | --conf | --con | --co | --c )
16154
    $as_echo "$ac_cs_config"; exit ;;
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
16155
  --debug | --debu | --deb | --de | --d | -d )
1 by Brandon Hale
Import upstream version 0.2.0
16156
    debug=: ;;
16157
  --file | --fil | --fi | --f )
16158
    $ac_shift
1.1.49 by Jo Shields
Import upstream version 0.15.0
16159
    case $ac_optarg in
16160
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16161
    esac
1.3.14 by Ken VanDine
Import upstream version 1.2.2
16162
    as_fn_append CONFIG_FILES " '$ac_optarg'"
1 by Brandon Hale
Import upstream version 0.2.0
16163
    ac_need_defaults=false;;
16164
  --header | --heade | --head | --hea )
16165
    $ac_shift
1.1.49 by Jo Shields
Import upstream version 0.15.0
16166
    case $ac_optarg in
16167
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16168
    esac
1.3.14 by Ken VanDine
Import upstream version 1.2.2
16169
    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
1 by Brandon Hale
Import upstream version 0.2.0
16170
    ac_need_defaults=false;;
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
16171
  --he | --h)
16172
    # Conflict between --help and --header
1.3.14 by Ken VanDine
Import upstream version 1.2.2
16173
    as_fn_error "ambiguous option: \`$1'
16174
Try \`$0 --help' for more information.";;
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
16175
  --help | --hel | -h )
1.1.49 by Jo Shields
Import upstream version 0.15.0
16176
    $as_echo "$ac_cs_usage"; exit ;;
1 by Brandon Hale
Import upstream version 0.2.0
16177
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16178
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
16179
    ac_cs_silent=: ;;
16180
16181
  # This is an error.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
16182
  -*) as_fn_error "unrecognized option: \`$1'
16183
Try \`$0 --help' for more information." ;;
1 by Brandon Hale
Import upstream version 0.2.0
16184
1.3.14 by Ken VanDine
Import upstream version 1.2.2
16185
  *) as_fn_append ac_config_targets " $1"
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
16186
     ac_need_defaults=false ;;
1 by Brandon Hale
Import upstream version 0.2.0
16187
16188
  esac
16189
  shift
16190
done
16191
16192
ac_configure_extra_args=
16193
16194
if $ac_cs_silent; then
16195
  exec 6>/dev/null
16196
  ac_configure_extra_args="$ac_configure_extra_args --silent"
16197
fi
16198
16199
_ACEOF
1.1.49 by Jo Shields
Import upstream version 0.15.0
16200
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1 by Brandon Hale
Import upstream version 0.2.0
16201
if \$ac_cs_recheck; then
1.1.49 by Jo Shields
Import upstream version 0.15.0
16202
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16203
  shift
16204
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16205
  CONFIG_SHELL='$SHELL'
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
16206
  export CONFIG_SHELL
1.1.49 by Jo Shields
Import upstream version 0.15.0
16207
  exec "\$@"
1 by Brandon Hale
Import upstream version 0.2.0
16208
fi
16209
16210
_ACEOF
1.1.49 by Jo Shields
Import upstream version 0.15.0
16211
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
16212
exec 5>>config.log
16213
{
16214
  echo
16215
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16216
## Running $as_me. ##
16217
_ASBOX
1.1.49 by Jo Shields
Import upstream version 0.15.0
16218
  $as_echo "$ac_log"
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
16219
} >&5
1 by Brandon Hale
Import upstream version 0.2.0
16220
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
16221
_ACEOF
1.1.49 by Jo Shields
Import upstream version 0.15.0
16222
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1 by Brandon Hale
Import upstream version 0.2.0
16223
#
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
16224
# INIT-COMMANDS
1 by Brandon Hale
Import upstream version 0.2.0
16225
#
1.1.21 by Sebastian Dröge
Import upstream version 0.7.2
16226
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
1 by Brandon Hale
Import upstream version 0.2.0
16227
16228
1.1.49 by Jo Shields
Import upstream version 0.15.0
16229
# The HP-UX ksh and POSIX shell print the target directory to stdout
16230
# if CDPATH is set.
16231
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16232
16233
sed_quote_subst='$sed_quote_subst'
16234
double_quote_subst='$double_quote_subst'
16235
delay_variable_subst='$delay_variable_subst'
16236
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
16237
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
16238
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
16239
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
16240
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
16241
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
16242
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
16243
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
16244
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
16245
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
16246
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
16247
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
16248
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
16249
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
16250
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
16251
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
16252
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
16253
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
16254
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
16255
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
16256
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
16257
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
16258
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
16259
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
16260
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
16261
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
16262
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
16263
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16264
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
16265
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
16266
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
16267
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
16268
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
16269
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
16270
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
16271
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16272
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16273
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16274
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
16275
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
16276
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
16277
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
16278
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
16279
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
16280
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
16281
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
16282
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
16283
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
16284
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
16285
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
16286
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
16287
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
16288
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
16289
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
16290
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
16291
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
16292
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
16293
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
16294
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
16295
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
16296
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
16297
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
16298
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16299
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16300
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
16301
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
16302
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16303
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16304
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
16305
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16306
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16307
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16308
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16309
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16310
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16311
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
16312
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
16313
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
16314
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16315
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
16316
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
16317
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
16318
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
16319
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
16320
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16321
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
16322
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
16323
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
16324
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
16325
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
16326
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16327
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
16328
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
16329
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16330
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
16331
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
16332
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
16333
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
16334
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
16335
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16336
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16337
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
16338
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
16339
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
16340
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
16341
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16342
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16343
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16344
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
16345
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
16346
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
16347
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
16348
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
16349
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
16350
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
16351
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
16352
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
16353
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
16354
16355
LTCC='$LTCC'
16356
LTCFLAGS='$LTCFLAGS'
16357
compiler='$compiler_DEFAULT'
16358
16359
# Quote evaled strings.
16360
for var in SED \
16361
GREP \
16362
EGREP \
16363
FGREP \
16364
LD \
16365
NM \
16366
LN_S \
16367
lt_SP2NL \
16368
lt_NL2SP \
16369
reload_flag \
16370
OBJDUMP \
16371
deplibs_check_method \
16372
file_magic_cmd \
16373
AR \
16374
AR_FLAGS \
16375
STRIP \
16376
RANLIB \
16377
CC \
16378
CFLAGS \
16379
compiler \
16380
lt_cv_sys_global_symbol_pipe \
16381
lt_cv_sys_global_symbol_to_cdecl \
16382
lt_cv_sys_global_symbol_to_c_name_address \
16383
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16384
SHELL \
16385
ECHO \
16386
lt_prog_compiler_no_builtin_flag \
16387
lt_prog_compiler_wl \
16388
lt_prog_compiler_pic \
16389
lt_prog_compiler_static \
16390
lt_cv_prog_compiler_c_o \
16391
need_locks \
16392
DSYMUTIL \
16393
NMEDIT \
16394
LIPO \
16395
OTOOL \
16396
OTOOL64 \
16397
shrext_cmds \
16398
export_dynamic_flag_spec \
16399
whole_archive_flag_spec \
16400
compiler_needs_object \
16401
with_gnu_ld \
16402
allow_undefined_flag \
16403
no_undefined_flag \
16404
hardcode_libdir_flag_spec \
16405
hardcode_libdir_flag_spec_ld \
16406
hardcode_libdir_separator \
16407
fix_srcfile_path \
16408
exclude_expsyms \
16409
include_expsyms \
16410
file_list_spec \
16411
variables_saved_for_relink \
16412
libname_spec \
16413
library_names_spec \
16414
soname_spec \
16415
finish_eval \
16416
old_striplib \
16417
striplib; do
16418
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
16419
    *[\\\\\\\`\\"\\\$]*)
16420
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16421
      ;;
16422
    *)
16423
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16424
      ;;
16425
    esac
16426
done
16427
16428
# Double-quote double-evaled strings.
16429
for var in reload_cmds \
16430
old_postinstall_cmds \
16431
old_postuninstall_cmds \
16432
old_archive_cmds \
16433
extract_expsyms_cmds \
16434
old_archive_from_new_cmds \
16435
old_archive_from_expsyms_cmds \
16436
archive_cmds \
16437
archive_expsym_cmds \
16438
module_cmds \
16439
module_expsym_cmds \
16440
export_symbols_cmds \
16441
prelink_cmds \
16442
postinstall_cmds \
16443
postuninstall_cmds \
16444
finish_cmds \
16445
sys_lib_search_path_spec \
16446
sys_lib_dlsearch_path_spec; do
16447
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
16448
    *[\\\\\\\`\\"\\\$]*)
16449
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16450
      ;;
16451
    *)
16452
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16453
      ;;
16454
    esac
16455
done
16456
16457
# Fix-up fallback echo if it was mangled by the above quoting rules.
16458
case \$lt_ECHO in
16459
*'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
16460
  ;;
16461
esac
16462
16463
ac_aux_dir='$ac_aux_dir'
16464
xsi_shell='$xsi_shell'
16465
lt_shell_append='$lt_shell_append'
16466
16467
# See if we are running on zsh, and set the options which allow our
16468
# commands through without removal of \ escapes INIT.
16469
if test -n "\${ZSH_VERSION+set}" ; then
16470
   setopt NO_GLOB_SUBST
16471
fi
16472
16473
16474
    PACKAGE='$PACKAGE'
16475
    VERSION='$VERSION'
16476
    TIMESTAMP='$TIMESTAMP'
16477
    RM='$RM'
16478
    ofile='$ofile'
16479
16480
16481
16482
16483
1 by Brandon Hale
Import upstream version 0.2.0
16484
_ACEOF
16485
1.1.49 by Jo Shields
Import upstream version 0.15.0
16486
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
16487
16488
# Handling of arguments.
1 by Brandon Hale
Import upstream version 0.2.0
16489
for ac_config_target in $ac_config_targets
16490
do
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
16491
  case $ac_config_target in
16492
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
16493
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
1.1.49 by Jo Shields
Import upstream version 0.15.0
16494
    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
16495
    "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
16496
    "pot-update") CONFIG_FILES="$CONFIG_FILES pot-update" ;;
16497
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16498
    "tomboy.spec") CONFIG_FILES="$CONFIG_FILES tomboy.spec" ;;
16499
    "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
16500
    "data/tomboy-addins.pc") CONFIG_FILES="$CONFIG_FILES data/tomboy-addins.pc" ;;
1.1.33 by Pedro Fragoso
Import upstream version 0.9.6
16501
    "data/icons/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/Makefile" ;;
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
16502
    "help/Makefile") CONFIG_FILES="$CONFIG_FILES help/Makefile" ;;
16503
    "libtomboy/Makefile") CONFIG_FILES="$CONFIG_FILES libtomboy/Makefile" ;;
16504
    "Tomboy/Makefile") CONFIG_FILES="$CONFIG_FILES Tomboy/Makefile" ;;
16505
    "Tomboy/Addins/Makefile") CONFIG_FILES="$CONFIG_FILES Tomboy/Addins/Makefile" ;;
16506
    "Tomboy/Addins/Backlinks/Makefile") CONFIG_FILES="$CONFIG_FILES Tomboy/Addins/Backlinks/Makefile" ;;
16507
    "Tomboy/Addins/Bugzilla/Makefile") CONFIG_FILES="$CONFIG_FILES Tomboy/Addins/Bugzilla/Makefile" ;;
1.1.39 by Pedro Fragoso
Import upstream version 0.11.0
16508
    "Tomboy/Addins/Evolution/Makefile") CONFIG_FILES="$CONFIG_FILES Tomboy/Addins/Evolution/Makefile" ;;
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
16509
    "Tomboy/Addins/ExportToHtml/Makefile") CONFIG_FILES="$CONFIG_FILES Tomboy/Addins/ExportToHtml/Makefile" ;;
1.1.39 by Pedro Fragoso
Import upstream version 0.11.0
16510
    "Tomboy/Addins/FileSystemSyncService/Makefile") CONFIG_FILES="$CONFIG_FILES Tomboy/Addins/FileSystemSyncService/Makefile" ;;
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
16511
    "Tomboy/Addins/FixedWidth/Makefile") CONFIG_FILES="$CONFIG_FILES Tomboy/Addins/FixedWidth/Makefile" ;;
16512
    "Tomboy/Addins/GalagoPresence/Makefile") CONFIG_FILES="$CONFIG_FILES Tomboy/Addins/GalagoPresence/Makefile" ;;
1.1.30 by Sebastian Dröge
Import upstream version 0.9.1
16513
    "Tomboy/Addins/InsertTimestamp/Makefile") CONFIG_FILES="$CONFIG_FILES Tomboy/Addins/InsertTimestamp/Makefile" ;;
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
16514
    "Tomboy/Addins/NoteOfTheDay/Makefile") CONFIG_FILES="$CONFIG_FILES Tomboy/Addins/NoteOfTheDay/Makefile" ;;
16515
    "Tomboy/Addins/PrintNotes/Makefile") CONFIG_FILES="$CONFIG_FILES Tomboy/Addins/PrintNotes/Makefile" ;;
1.1.39 by Pedro Fragoso
Import upstream version 0.11.0
16516
    "Tomboy/Addins/Sketching/Makefile") CONFIG_FILES="$CONFIG_FILES Tomboy/Addins/Sketching/Makefile" ;;
16517
    "Tomboy/Addins/SshSyncService/Makefile") CONFIG_FILES="$CONFIG_FILES Tomboy/Addins/SshSyncService/Makefile" ;;
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
16518
    "Tomboy/Addins/StickyNoteImport/Makefile") CONFIG_FILES="$CONFIG_FILES Tomboy/Addins/StickyNoteImport/Makefile" ;;
1.1.39 by Pedro Fragoso
Import upstream version 0.11.0
16519
    "Tomboy/Addins/Tasque/Makefile") CONFIG_FILES="$CONFIG_FILES Tomboy/Addins/Tasque/Makefile" ;;
1.3.1 by Robert Ancell
Import upstream version 0.15.3
16520
    "Tomboy/Addins/Underline/Makefile") CONFIG_FILES="$CONFIG_FILES Tomboy/Addins/Underline/Makefile" ;;
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
16521
    "Tomboy/Addins/WebDavSyncService/Makefile") CONFIG_FILES="$CONFIG_FILES Tomboy/Addins/WebDavSyncService/Makefile" ;;
1.2.4 by Iain Lane
Import upstream version 0.15.2
16522
    "Tomboy/Addins/WebSyncService/Makefile") CONFIG_FILES="$CONFIG_FILES Tomboy/Addins/WebSyncService/Makefile" ;;
1.1.49 by Jo Shields
Import upstream version 0.15.0
16523
    "Tomboy/Addins/NoteDirectoryWatcher/Makefile") CONFIG_FILES="$CONFIG_FILES Tomboy/Addins/NoteDirectoryWatcher/Makefile" ;;
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
16524
    "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
16525
    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
16526
    "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
16527
1.3.14 by Ken VanDine
Import upstream version 1.2.2
16528
  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
1 by Brandon Hale
Import upstream version 0.2.0
16529
  esac
16530
done
16531
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
16532
1 by Brandon Hale
Import upstream version 0.2.0
16533
# If the user did not use the arguments to specify the items to instantiate,
16534
# then the envvar interface is used.  Set only those that are not.
16535
# We use the long form for the default assignment because of an extremely
16536
# bizarre bug on SunOS 4.1.3.
16537
if $ac_need_defaults; then
16538
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16539
  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16540
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16541
fi
16542
16543
# Have a temporary directory for convenience.  Make it in the build tree
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
16544
# simply because there is no reason against having it here, and in addition,
1 by Brandon Hale
Import upstream version 0.2.0
16545
# creating and moving files from /tmp can sometimes cause problems.
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
16546
# Hook for its removal unless debugging.
16547
# Note that there is a small window in which the directory will not be cleaned:
16548
# after its creation but before its name has been assigned to `$tmp'.
1 by Brandon Hale
Import upstream version 0.2.0
16549
$debug ||
16550
{
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
16551
  tmp=
16552
  trap 'exit_status=$?
16553
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
16554
' 0
1.3.14 by Ken VanDine
Import upstream version 1.2.2
16555
  trap 'as_fn_exit 1' 1 2 13 15
1 by Brandon Hale
Import upstream version 0.2.0
16556
}
16557
# Create a (secure) tmp directory for tmp files.
16558
16559
{
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
16560
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
1 by Brandon Hale
Import upstream version 0.2.0
16561
  test -n "$tmp" && test -d "$tmp"
16562
}  ||
16563
{
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
16564
  tmp=./conf$$-$RANDOM
16565
  (umask 077 && mkdir "$tmp")
1.3.14 by Ken VanDine
Import upstream version 1.2.2
16566
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
1 by Brandon Hale
Import upstream version 0.2.0
16567
1.1.49 by Jo Shields
Import upstream version 0.15.0
16568
# Set up the scripts for CONFIG_FILES section.
16569
# No need to generate them if there are no CONFIG_FILES.
16570
# This happens for instance with `./config.status config.h'.
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
16571
if test -n "$CONFIG_FILES"; then
16572
1.1.49 by Jo Shields
Import upstream version 0.15.0
16573
1.3.14 by Ken VanDine
Import upstream version 1.2.2
16574
ac_cr=`echo X | tr X '\015'`
16575
# On cygwin, bash can eat \r inside `` if the user requested igncr.
16576
# But we know of no other shell where ac_cr would be empty at this
16577
# point, so we can use a bashism as a fallback.
16578
if test "x$ac_cr" = x; then
16579
  eval ac_cr=\$\'\\r\'
16580
fi
1.1.49 by Jo Shields
Import upstream version 0.15.0
16581
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16582
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
16583
  ac_cs_awk_cr='\r'
1.1.49 by Jo Shields
Import upstream version 0.15.0
16584
else
16585
  ac_cs_awk_cr=$ac_cr
16586
fi
16587
16588
echo 'BEGIN {' >"$tmp/subs1.awk" &&
16589
_ACEOF
16590
16591
16592
{
16593
  echo "cat >conf$$subs.awk <<_ACEOF" &&
16594
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16595
  echo "_ACEOF"
16596
} >conf$$subs.sh ||
1.3.14 by Ken VanDine
Import upstream version 1.2.2
16597
  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
1.1.49 by Jo Shields
Import upstream version 0.15.0
16598
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
16599
ac_delim='%!_!# '
16600
for ac_last_try in false false false false false :; do
16601
  . ./conf$$subs.sh ||
1.3.14 by Ken VanDine
Import upstream version 1.2.2
16602
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
1.1.49 by Jo Shields
Import upstream version 0.15.0
16603
16604
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16605
  if test $ac_delim_n = $ac_delim_num; then
16606
    break
16607
  elif $ac_last_try; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
16608
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
1.1.49 by Jo Shields
Import upstream version 0.15.0
16609
  else
16610
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16611
  fi
16612
done
16613
rm -f conf$$subs.sh
16614
16615
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16616
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
16617
_ACEOF
16618
sed -n '
16619
h
16620
s/^/S["/; s/!.*/"]=/
16621
p
16622
g
16623
s/^[^!]*!//
16624
:repl
16625
t repl
16626
s/'"$ac_delim"'$//
16627
t delim
16628
:nl
16629
h
1.3.14 by Ken VanDine
Import upstream version 1.2.2
16630
s/\(.\{148\}\)..*/\1/
1.1.49 by Jo Shields
Import upstream version 0.15.0
16631
t more1
16632
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16633
p
16634
n
16635
b repl
16636
:more1
16637
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16638
p
16639
g
16640
s/.\{148\}//
16641
t nl
16642
:delim
16643
h
1.3.14 by Ken VanDine
Import upstream version 1.2.2
16644
s/\(.\{148\}\)..*/\1/
1.1.49 by Jo Shields
Import upstream version 0.15.0
16645
t more2
16646
s/["\\]/\\&/g; s/^/"/; s/$/"/
16647
p
16648
b
16649
:more2
16650
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16651
p
16652
g
16653
s/.\{148\}//
16654
t delim
16655
' <conf$$subs.awk | sed '
16656
/^[^""]/{
16657
  N
16658
  s/\n//
16659
}
16660
' >>$CONFIG_STATUS || ac_write_fail=1
16661
rm -f conf$$subs.awk
16662
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16663
_ACAWK
16664
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
16665
  for (key in S) S_is_set[key] = 1
16666
  FS = ""
16667
16668
}
16669
{
16670
  line = $ 0
16671
  nfields = split(line, field, "@")
16672
  substed = 0
16673
  len = length(field[1])
16674
  for (i = 2; i < nfields; i++) {
16675
    key = field[i]
16676
    keylen = length(key)
16677
    if (S_is_set[key]) {
16678
      value = S[key]
16679
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16680
      len += length(value) + length(field[++i])
16681
      substed = 1
16682
    } else
16683
      len += 1 + keylen
16684
  }
16685
16686
  print line
16687
}
16688
16689
_ACAWK
16690
_ACEOF
16691
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16692
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16693
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16694
else
16695
  cat
16696
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
1.3.14 by Ken VanDine
Import upstream version 1.2.2
16697
  || as_fn_error "could not setup config files machinery" "$LINENO" 5
1.1.49 by Jo Shields
Import upstream version 0.15.0
16698
_ACEOF
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
16699
16700
# VPATH may cause trouble with some makes, so we remove $(srcdir),
16701
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
16702
# trailing colons and then remove the whole line if VPATH becomes empty
16703
# (actually we leave an empty line to preserve line numbers).
16704
if test "x$srcdir" = x.; then
16705
  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
16706
s/:*\$(srcdir):*/:/
16707
s/:*\${srcdir}:*/:/
16708
s/:*@srcdir@:*/:/
16709
s/^\([^=]*=[	 ]*\):*/\1/
16710
s/:*$//
16711
s/^[^=]*=[	 ]*$//
16712
}'
16713
fi
16714
1.1.49 by Jo Shields
Import upstream version 0.15.0
16715
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1 by Brandon Hale
Import upstream version 0.2.0
16716
fi # test -n "$CONFIG_FILES"
16717
1.1.49 by Jo Shields
Import upstream version 0.15.0
16718
# Set up the scripts for CONFIG_HEADERS section.
16719
# No need to generate them if there are no CONFIG_HEADERS.
16720
# This happens for instance with `./config.status Makefile'.
16721
if test -n "$CONFIG_HEADERS"; then
16722
cat >"$tmp/defines.awk" <<\_ACAWK ||
16723
BEGIN {
16724
_ACEOF
16725
16726
# Transform confdefs.h into an awk script `defines.awk', embedded as
16727
# here-document in config.status, that substitutes the proper values into
16728
# config.h.in to produce config.h.
16729
16730
# Create a delimiter string that does not exist in confdefs.h, to ease
16731
# handling of long lines.
16732
ac_delim='%!_!# '
16733
for ac_last_try in false false :; do
16734
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
16735
  if test -z "$ac_t"; then
16736
    break
16737
  elif $ac_last_try; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
16738
    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
1.1.49 by Jo Shields
Import upstream version 0.15.0
16739
  else
16740
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16741
  fi
16742
done
16743
16744
# For the awk script, D is an array of macro values keyed by name,
16745
# likewise P contains macro parameters if any.  Preserve backslash
16746
# newline sequences.
16747
16748
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16749
sed -n '
16750
s/.\{148\}/&'"$ac_delim"'/g
16751
t rset
16752
:rset
16753
s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
16754
t def
16755
d
16756
:def
16757
s/\\$//
16758
t bsnl
16759
s/["\\]/\\&/g
16760
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
16761
D["\1"]=" \3"/p
16762
s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
16763
d
16764
:bsnl
16765
s/["\\]/\\&/g
16766
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
16767
D["\1"]=" \3\\\\\\n"\\/p
16768
t cont
16769
s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16770
t cont
16771
d
16772
:cont
16773
n
16774
s/.\{148\}/&'"$ac_delim"'/g
16775
t clear
16776
:clear
16777
s/\\$//
16778
t bsnlc
16779
s/["\\]/\\&/g; s/^/"/; s/$/"/p
16780
d
16781
:bsnlc
16782
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16783
b cont
16784
' <confdefs.h | sed '
16785
s/'"$ac_delim"'/"\\\
16786
"/g' >>$CONFIG_STATUS || ac_write_fail=1
16787
16788
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16789
  for (key in D) D_is_set[key] = 1
16790
  FS = ""
16791
}
16792
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16793
  line = \$ 0
16794
  split(line, arg, " ")
16795
  if (arg[1] == "#") {
16796
    defundef = arg[2]
16797
    mac1 = arg[3]
16798
  } else {
16799
    defundef = substr(arg[1], 2)
16800
    mac1 = arg[2]
16801
  }
16802
  split(mac1, mac2, "(") #)
16803
  macro = mac2[1]
16804
  prefix = substr(line, 1, index(line, defundef) - 1)
16805
  if (D_is_set[macro]) {
16806
    # Preserve the white space surrounding the "#".
16807
    print prefix "define", macro P[macro] D[macro]
16808
    next
16809
  } else {
16810
    # Replace #undef with comments.  This is necessary, for example,
16811
    # in the case of _POSIX_SOURCE, which is predefined and required
16812
    # on some systems where configure will not decide to define it.
16813
    if (defundef == "undef") {
16814
      print "/*", prefix defundef, macro, "*/"
16815
      next
16816
    }
16817
  }
16818
}
16819
{ print }
16820
_ACAWK
16821
_ACEOF
16822
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.3.14 by Ken VanDine
Import upstream version 1.2.2
16823
  as_fn_error "could not setup config headers machinery" "$LINENO" 5
1.1.49 by Jo Shields
Import upstream version 0.15.0
16824
fi # test -n "$CONFIG_HEADERS"
16825
16826
16827
eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
16828
shift
16829
for ac_tag
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
16830
do
16831
  case $ac_tag in
16832
  :[FHLC]) ac_mode=$ac_tag; continue;;
16833
  esac
16834
  case $ac_mode$ac_tag in
16835
  :[FHL]*:*);;
1.3.14 by Ken VanDine
Import upstream version 1.2.2
16836
  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
16837
  :[FH]-) ac_tag=-:-;;
16838
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16839
  esac
16840
  ac_save_IFS=$IFS
16841
  IFS=:
16842
  set x $ac_tag
16843
  IFS=$ac_save_IFS
16844
  shift
16845
  ac_file=$1
16846
  shift
16847
16848
  case $ac_mode in
16849
  :L) ac_source=$1;;
16850
  :[FH])
16851
    ac_file_inputs=
16852
    for ac_f
16853
    do
16854
      case $ac_f in
16855
      -) ac_f="$tmp/stdin";;
16856
      *) # Look for the file first in the build tree, then in the source tree
16857
	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
16858
	 # because $ac_f cannot contain `:'.
16859
	 test -f "$ac_f" ||
16860
	   case $ac_f in
16861
	   [\\/$]*) false;;
16862
	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16863
	   esac ||
1.3.14 by Ken VanDine
Import upstream version 1.2.2
16864
	   as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
16865
      esac
1.1.49 by Jo Shields
Import upstream version 0.15.0
16866
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
1.3.14 by Ken VanDine
Import upstream version 1.2.2
16867
      as_fn_append ac_file_inputs " '$ac_f'"
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
16868
    done
16869
16870
    # Let's still pretend it is `configure' which instantiates (i.e., don't
16871
    # use $as_me), people would be surprised to read:
16872
    #    /* config.h.  Generated by config.status.  */
1.1.49 by Jo Shields
Import upstream version 0.15.0
16873
    configure_input='Generated from '`
16874
	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16875
	`' by configure.'
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
16876
    if test x"$ac_file" != x-; then
16877
      configure_input="$ac_file.  $configure_input"
1.3.14 by Ken VanDine
Import upstream version 1.2.2
16878
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
16879
$as_echo "$as_me: creating $ac_file" >&6;}
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
16880
    fi
1.1.49 by Jo Shields
Import upstream version 0.15.0
16881
    # Neutralize special characters interpreted by sed in replacement strings.
16882
    case $configure_input in #(
16883
    *\&* | *\|* | *\\* )
16884
       ac_sed_conf_input=`$as_echo "$configure_input" |
16885
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
16886
    *) ac_sed_conf_input=$configure_input;;
16887
    esac
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
16888
16889
    case $ac_tag in
1.1.49 by Jo Shields
Import upstream version 0.15.0
16890
    *:-:* | *:-) cat >"$tmp/stdin" \
1.3.14 by Ken VanDine
Import upstream version 1.2.2
16891
      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
16892
    esac
16893
    ;;
16894
  esac
16895
16896
  ac_dir=`$as_dirname -- "$ac_file" ||
1 by Brandon Hale
Import upstream version 0.2.0
16897
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16898
	 X"$ac_file" : 'X\(//\)[^/]' \| \
16899
	 X"$ac_file" : 'X\(//\)$' \| \
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
16900
	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
1.1.49 by Jo Shields
Import upstream version 0.15.0
16901
$as_echo X"$ac_file" |
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
16902
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16903
	    s//\1/
16904
	    q
16905
	  }
16906
	  /^X\(\/\/\)[^/].*/{
16907
	    s//\1/
16908
	    q
16909
	  }
16910
	  /^X\(\/\/\)$/{
16911
	    s//\1/
16912
	    q
16913
	  }
16914
	  /^X\(\/\).*/{
16915
	    s//\1/
16916
	    q
16917
	  }
16918
	  s/.*/./; q'`
1.3.14 by Ken VanDine
Import upstream version 1.2.2
16919
  as_dir="$ac_dir"; as_fn_mkdir_p
1 by Brandon Hale
Import upstream version 0.2.0
16920
  ac_builddir=.
16921
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
16922
case "$ac_dir" in
16923
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16924
*)
1.1.49 by Jo Shields
Import upstream version 0.15.0
16925
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
16926
  # A ".." for each directory in $ac_dir_suffix.
1.1.49 by Jo Shields
Import upstream version 0.15.0
16927
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
16928
  case $ac_top_builddir_sub in
16929
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16930
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16931
  esac ;;
16932
esac
16933
ac_abs_top_builddir=$ac_pwd
16934
ac_abs_builddir=$ac_pwd$ac_dir_suffix
16935
# for backward compatibility:
16936
ac_top_builddir=$ac_top_build_prefix
1 by Brandon Hale
Import upstream version 0.2.0
16937
16938
case $srcdir in
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
16939
  .)  # We are building in place.
1 by Brandon Hale
Import upstream version 0.2.0
16940
    ac_srcdir=.
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
16941
    ac_top_srcdir=$ac_top_builddir_sub
16942
    ac_abs_top_srcdir=$ac_pwd ;;
16943
  [\\/]* | ?:[\\/]* )  # Absolute name.
1 by Brandon Hale
Import upstream version 0.2.0
16944
    ac_srcdir=$srcdir$ac_dir_suffix;
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
16945
    ac_top_srcdir=$srcdir
16946
    ac_abs_top_srcdir=$srcdir ;;
16947
  *) # Relative name.
16948
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16949
    ac_top_srcdir=$ac_top_build_prefix$srcdir
16950
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16951
esac
16952
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16953
16954
16955
  case $ac_mode in
16956
  :F)
16957
  #
16958
  # CONFIG_FILE
16959
  #
1 by Brandon Hale
Import upstream version 0.2.0
16960
16961
  case $INSTALL in
16962
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
16963
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
1.1.24 by Sebastian Dröge
Import upstream version 0.7.5
16964
  esac
1.1.30 by Sebastian Dröge
Import upstream version 0.9.1
16965
  ac_MKDIR_P=$MKDIR_P
16966
  case $MKDIR_P in
16967
  [\\/$]* | ?:[\\/]* ) ;;
16968
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16969
  esac
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
16970
_ACEOF
16971
1.1.49 by Jo Shields
Import upstream version 0.15.0
16972
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
16973
# If the template does not know about datarootdir, expand it.
16974
# FIXME: This hack should be removed a few years after 2.60.
16975
ac_datarootdir_hack=; ac_datarootdir_seen=
1.1.49 by Jo Shields
Import upstream version 0.15.0
16976
ac_sed_dataroot='
16977
/datarootdir/ {
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
16978
  p
16979
  q
16980
}
16981
/@datadir@/p
16982
/@docdir@/p
16983
/@infodir@/p
16984
/@localedir@/p
1.3.14 by Ken VanDine
Import upstream version 1.2.2
16985
/@mandir@/p'
1.1.49 by Jo Shields
Import upstream version 0.15.0
16986
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
16987
*datarootdir*) ac_datarootdir_seen=yes;;
16988
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
1.3.14 by Ken VanDine
Import upstream version 1.2.2
16989
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
16990
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
16991
_ACEOF
1.1.49 by Jo Shields
Import upstream version 0.15.0
16992
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
16993
  ac_datarootdir_hack='
16994
  s&@datadir@&$datadir&g
16995
  s&@docdir@&$docdir&g
16996
  s&@infodir@&$infodir&g
16997
  s&@localedir@&$localedir&g
16998
  s&@mandir@&$mandir&g
1.3.14 by Ken VanDine
Import upstream version 1.2.2
16999
  s&\\\${datarootdir}&$datarootdir&g' ;;
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
17000
esac
17001
_ACEOF
17002
17003
# Neutralize VPATH when `$srcdir' = `.'.
17004
# Shell code in configure.ac might set extrasub.
17005
# FIXME: do we really want to maintain this feature?
1.1.49 by Jo Shields
Import upstream version 0.15.0
17006
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17007
ac_sed_extra="$ac_vpsub
1 by Brandon Hale
Import upstream version 0.2.0
17008
$extrasub
17009
_ACEOF
1.1.49 by Jo Shields
Import upstream version 0.15.0
17010
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1 by Brandon Hale
Import upstream version 0.2.0
17011
:t
17012
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
1.1.49 by Jo Shields
Import upstream version 0.15.0
17013
s|@configure_input@|$ac_sed_conf_input|;t t
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
17014
s&@top_builddir@&$ac_top_builddir_sub&;t t
1.1.49 by Jo Shields
Import upstream version 0.15.0
17015
s&@top_build_prefix@&$ac_top_build_prefix&;t t
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
17016
s&@srcdir@&$ac_srcdir&;t t
17017
s&@abs_srcdir@&$ac_abs_srcdir&;t t
17018
s&@top_srcdir@&$ac_top_srcdir&;t t
17019
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
17020
s&@builddir@&$ac_builddir&;t t
17021
s&@abs_builddir@&$ac_abs_builddir&;t t
17022
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
17023
s&@INSTALL@&$ac_INSTALL&;t t
1.1.30 by Sebastian Dröge
Import upstream version 0.9.1
17024
s&@MKDIR_P@&$ac_MKDIR_P&;t t
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
17025
$ac_datarootdir_hack
1.1.49 by Jo Shields
Import upstream version 0.15.0
17026
"
17027
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
1.3.14 by Ken VanDine
Import upstream version 1.2.2
17028
  || as_fn_error "could not create $ac_file" "$LINENO" 5
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
17029
17030
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17031
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
17032
  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
1.3.14 by Ken VanDine
Import upstream version 1.2.2
17033
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
17034
which seems to be undefined.  Please make sure it is defined." >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
17035
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
17036
which seems to be undefined.  Please make sure it is defined." >&2;}
17037
17038
  rm -f "$tmp/stdin"
1.1.13 by Sebastian Dröge
Import upstream version 0.5.6
17039
  case $ac_file in
1.1.49 by Jo Shields
Import upstream version 0.15.0
17040
  -) cat "$tmp/out" && rm -f "$tmp/out";;
17041
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
17042
  esac \
1.3.14 by Ken VanDine
Import upstream version 1.2.2
17043
  || as_fn_error "could not create $ac_file" "$LINENO" 5
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
17044
 ;;
17045
  :H)
17046
  #
17047
  # CONFIG_HEADER
17048
  #
1 by Brandon Hale
Import upstream version 0.2.0
17049
  if test x"$ac_file" != x-; then
1.1.49 by Jo Shields
Import upstream version 0.15.0
17050
    {
17051
      $as_echo "/* $configure_input  */" \
17052
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
17053
    } >"$tmp/config.h" \
1.3.14 by Ken VanDine
Import upstream version 1.2.2
17054
      || as_fn_error "could not create $ac_file" "$LINENO" 5
1.1.49 by Jo Shields
Import upstream version 0.15.0
17055
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
17056
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
17057
$as_echo "$as_me: $ac_file is unchanged" >&6;}
1 by Brandon Hale
Import upstream version 0.2.0
17058
    else
1.1.49 by Jo Shields
Import upstream version 0.15.0
17059
      rm -f "$ac_file"
17060
      mv "$tmp/config.h" "$ac_file" \
1.3.14 by Ken VanDine
Import upstream version 1.2.2
17061
	|| as_fn_error "could not create $ac_file" "$LINENO" 5
1 by Brandon Hale
Import upstream version 0.2.0
17062
    fi
17063
  else
1.1.49 by Jo Shields
Import upstream version 0.15.0
17064
    $as_echo "/* $configure_input  */" \
17065
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
1.3.14 by Ken VanDine
Import upstream version 1.2.2
17066
      || as_fn_error "could not create -" "$LINENO" 5
1 by Brandon Hale
Import upstream version 0.2.0
17067
  fi
1.1.49 by Jo Shields
Import upstream version 0.15.0
17068
# Compute "$ac_file"'s index in $config_headers.
17069
_am_arg="$ac_file"
1 by Brandon Hale
Import upstream version 0.2.0
17070
_am_stamp_count=1
17071
for _am_header in $config_headers :; do
17072
  case $_am_header in
1.1.40 by Pedro Fragoso
Import upstream version 0.11.1
17073
    $_am_arg | $_am_arg:* )
1 by Brandon Hale
Import upstream version 0.2.0
17074
      break ;;
17075
    * )
17076
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
17077
  esac
17078
done
1.1.40 by Pedro Fragoso
Import upstream version 0.11.1
17079
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17080
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17081
	 X"$_am_arg" : 'X\(//\)[^/]' \| \
17082
	 X"$_am_arg" : 'X\(//\)$' \| \
17083
	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
1.1.49 by Jo Shields
Import upstream version 0.15.0
17084
$as_echo X"$_am_arg" |
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
17085
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17086
	    s//\1/
17087
	    q
17088
	  }
17089
	  /^X\(\/\/\)[^/].*/{
17090
	    s//\1/
17091
	    q
17092
	  }
17093
	  /^X\(\/\/\)$/{
17094
	    s//\1/
17095
	    q
17096
	  }
17097
	  /^X\(\/\).*/{
17098
	    s//\1/
17099
	    q
17100
	  }
17101
	  s/.*/./; q'`/stamp-h$_am_stamp_count
17102
 ;;
17103
1.3.14 by Ken VanDine
Import upstream version 1.2.2
17104
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
17105
$as_echo "$as_me: executing $ac_file commands" >&6;}
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
17106
 ;;
17107
  esac
17108
17109
17110
  case $ac_file$ac_mode in
1.3.7 by Sebastien Bacher
Import upstream version 1.1.0
17111
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17112
  # Autoconf 2.62 quotes --file arguments for eval, but not when files
17113
  # are listed without --file.  Let's play safe and only enable the eval
17114
  # if we detect the quoting.
17115
  case $CONFIG_FILES in
17116
  *\'*) eval set x "$CONFIG_FILES" ;;
17117
  *)   set x $CONFIG_FILES ;;
17118
  esac
17119
  shift
17120
  for mf
17121
  do
17122
    # Strip MF so we end up with the name of the file.
17123
    mf=`echo "$mf" | sed -e 's/:.*$//'`
17124
    # Check whether this is an Automake generated Makefile or not.
17125
    # We used to match only the files named `Makefile.in', but
17126
    # some people rename them; so instead we look at the file content.
17127
    # Grep'ing the first line is not enough: some people post-process
17128
    # each Makefile.in and add a new line on top of each file to say so.
17129
    # Grep'ing the whole file is not good either: AIX grep has a line
17130
    # limit of 2048, but all sed's we know have understand at least 4000.
17131
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
17132
      dirpart=`$as_dirname -- "$mf" ||
1 by Brandon Hale
Import upstream version 0.2.0
17133
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17134
	 X"$mf" : 'X\(//\)[^/]' \| \
17135
	 X"$mf" : 'X\(//\)$' \| \
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
17136
	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
1.1.49 by Jo Shields
Import upstream version 0.15.0
17137
$as_echo X"$mf" |
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
17138
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17139
	    s//\1/
17140
	    q
17141
	  }
17142
	  /^X\(\/\/\)[^/].*/{
17143
	    s//\1/
17144
	    q
17145
	  }
17146
	  /^X\(\/\/\)$/{
17147
	    s//\1/
17148
	    q
17149
	  }
17150
	  /^X\(\/\).*/{
17151
	    s//\1/
17152
	    q
17153
	  }
17154
	  s/.*/./; q'`
1.3.7 by Sebastien Bacher
Import upstream version 1.1.0
17155
    else
17156
      continue
17157
    fi
17158
    # Extract the definition of DEPDIR, am__include, and am__quote
17159
    # from the Makefile without running `make'.
17160
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17161
    test -z "$DEPDIR" && continue
17162
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
17163
    test -z "am__include" && continue
17164
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
17165
    # When using ansi2knr, U may be empty or an underscore; expand it
17166
    U=`sed -n 's/^U = //p' < "$mf"`
17167
    # Find all dependency output files, they are included files with
17168
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
17169
    # simplest approach to changing $(DEPDIR) to its actual value in the
17170
    # expansion.
17171
    for file in `sed -n "
17172
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17173
	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17174
      # Make sure the directory exists.
17175
      test -f "$dirpart/$file" && continue
17176
      fdir=`$as_dirname -- "$file" ||
1 by Brandon Hale
Import upstream version 0.2.0
17177
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17178
	 X"$file" : 'X\(//\)[^/]' \| \
17179
	 X"$file" : 'X\(//\)$' \| \
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
17180
	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
1.1.49 by Jo Shields
Import upstream version 0.15.0
17181
$as_echo X"$file" |
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
17182
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17183
	    s//\1/
17184
	    q
17185
	  }
17186
	  /^X\(\/\/\)[^/].*/{
17187
	    s//\1/
17188
	    q
17189
	  }
17190
	  /^X\(\/\/\)$/{
17191
	    s//\1/
17192
	    q
17193
	  }
17194
	  /^X\(\/\).*/{
17195
	    s//\1/
17196
	    q
17197
	  }
17198
	  s/.*/./; q'`
1.3.14 by Ken VanDine
Import upstream version 1.2.2
17199
      as_dir=$dirpart/$fdir; as_fn_mkdir_p
1.3.7 by Sebastien Bacher
Import upstream version 1.1.0
17200
      # echo "creating $dirpart/$file"
17201
      echo '# dummy' > "$dirpart/$file"
17202
    done
1 by Brandon Hale
Import upstream version 0.2.0
17203
  done
1.3.7 by Sebastien Bacher
Import upstream version 1.1.0
17204
}
1 by Brandon Hale
Import upstream version 0.2.0
17205
 ;;
1.1.49 by Jo Shields
Import upstream version 0.15.0
17206
    "libtool":C)
17207
17208
    # See if we are running on zsh, and set the options which allow our
17209
    # commands through without removal of \ escapes.
17210
    if test -n "${ZSH_VERSION+set}" ; then
17211
      setopt NO_GLOB_SUBST
17212
    fi
17213
17214
    cfgfile="${ofile}T"
17215
    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17216
    $RM "$cfgfile"
17217
17218
    cat <<_LT_EOF >> "$cfgfile"
17219
#! $SHELL
17220
17221
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17222
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17223
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17224
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
17225
#
17226
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17227
#                 2006, 2007, 2008 Free Software Foundation, Inc.
17228
#   Written by Gordon Matzigkeit, 1996
17229
#
17230
#   This file is part of GNU Libtool.
17231
#
17232
# GNU Libtool is free software; you can redistribute it and/or
17233
# modify it under the terms of the GNU General Public License as
17234
# published by the Free Software Foundation; either version 2 of
17235
# the License, or (at your option) any later version.
17236
#
17237
# As a special exception to the GNU General Public License,
17238
# if you distribute this file as part of a program or library that
17239
# is built using GNU Libtool, you may include this file under the
17240
# same distribution terms that you use for the rest of that program.
17241
#
17242
# GNU Libtool is distributed in the hope that it will be useful,
17243
# but WITHOUT ANY WARRANTY; without even the implied warranty of
17244
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17245
# GNU General Public License for more details.
17246
#
17247
# You should have received a copy of the GNU General Public License
17248
# along with GNU Libtool; see the file COPYING.  If not, a copy
17249
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17250
# obtained by writing to the Free Software Foundation, Inc.,
17251
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17252
17253
17254
# The names of the tagged configurations supported by this script.
17255
available_tags=""
17256
17257
# ### BEGIN LIBTOOL CONFIG
17258
17259
# Whether or not to build static libraries.
17260
build_old_libs=$enable_static
17261
17262
# Which release of libtool.m4 was used?
17263
macro_version=$macro_version
17264
macro_revision=$macro_revision
17265
17266
# Whether or not to build shared libraries.
17267
build_libtool_libs=$enable_shared
17268
17269
# What type of objects to build.
17270
pic_mode=$pic_mode
17271
17272
# Whether or not to optimize for fast installation.
17273
fast_install=$enable_fast_install
17274
17275
# The host system.
17276
host_alias=$host_alias
17277
host=$host
17278
host_os=$host_os
17279
17280
# The build system.
17281
build_alias=$build_alias
17282
build=$build
17283
build_os=$build_os
17284
17285
# A sed program that does not truncate output.
17286
SED=$lt_SED
17287
17288
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
17289
Xsed="\$SED -e 1s/^X//"
17290
17291
# A grep program that handles long lines.
17292
GREP=$lt_GREP
17293
17294
# An ERE matcher.
17295
EGREP=$lt_EGREP
17296
17297
# A literal string matcher.
17298
FGREP=$lt_FGREP
17299
17300
# A BSD- or MS-compatible name lister.
17301
NM=$lt_NM
17302
17303
# Whether we need soft or hard links.
17304
LN_S=$lt_LN_S
17305
17306
# What is the maximum length of a command?
17307
max_cmd_len=$max_cmd_len
17308
17309
# Object file suffix (normally "o").
17310
objext=$ac_objext
17311
17312
# Executable file suffix (normally "").
17313
exeext=$exeext
17314
17315
# whether the shell understands "unset".
17316
lt_unset=$lt_unset
17317
17318
# turn spaces into newlines.
17319
SP2NL=$lt_lt_SP2NL
17320
17321
# turn newlines into spaces.
17322
NL2SP=$lt_lt_NL2SP
17323
17324
# How to create reloadable object files.
17325
reload_flag=$lt_reload_flag
17326
reload_cmds=$lt_reload_cmds
17327
17328
# An object symbol dumper.
17329
OBJDUMP=$lt_OBJDUMP
17330
17331
# Method to check whether dependent libraries are shared objects.
17332
deplibs_check_method=$lt_deplibs_check_method
17333
17334
# Command to use when deplibs_check_method == "file_magic".
17335
file_magic_cmd=$lt_file_magic_cmd
17336
17337
# The archiver.
17338
AR=$lt_AR
17339
AR_FLAGS=$lt_AR_FLAGS
17340
17341
# A symbol stripping program.
17342
STRIP=$lt_STRIP
17343
17344
# Commands used to install an old-style archive.
17345
RANLIB=$lt_RANLIB
17346
old_postinstall_cmds=$lt_old_postinstall_cmds
17347
old_postuninstall_cmds=$lt_old_postuninstall_cmds
17348
17349
# A C compiler.
17350
LTCC=$lt_CC
17351
17352
# LTCC compiler flags.
17353
LTCFLAGS=$lt_CFLAGS
17354
17355
# Take the output of nm and produce a listing of raw symbols and C names.
17356
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17357
17358
# Transform the output of nm in a proper C declaration.
17359
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17360
17361
# Transform the output of nm in a C name address pair.
17362
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17363
17364
# Transform the output of nm in a C name address pair when lib prefix is needed.
17365
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17366
17367
# The name of the directory that contains temporary libtool files.
17368
objdir=$objdir
17369
17370
# Shell to use when invoking shell scripts.
17371
SHELL=$lt_SHELL
17372
17373
# An echo program that does not interpret backslashes.
17374
ECHO=$lt_ECHO
17375
17376
# Used to examine libraries when file_magic_cmd begins with "file".
17377
MAGIC_CMD=$MAGIC_CMD
17378
17379
# Must we lock files when doing compilation?
17380
need_locks=$lt_need_locks
17381
17382
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17383
DSYMUTIL=$lt_DSYMUTIL
17384
17385
# Tool to change global to local symbols on Mac OS X.
17386
NMEDIT=$lt_NMEDIT
17387
17388
# Tool to manipulate fat objects and archives on Mac OS X.
17389
LIPO=$lt_LIPO
17390
17391
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
17392
OTOOL=$lt_OTOOL
17393
17394
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17395
OTOOL64=$lt_OTOOL64
17396
17397
# Old archive suffix (normally "a").
17398
libext=$libext
17399
17400
# Shared library suffix (normally ".so").
17401
shrext_cmds=$lt_shrext_cmds
17402
17403
# The commands to extract the exported symbol list from a shared archive.
17404
extract_expsyms_cmds=$lt_extract_expsyms_cmds
17405
17406
# Variables whose values should be saved in libtool wrapper scripts and
17407
# restored at link time.
17408
variables_saved_for_relink=$lt_variables_saved_for_relink
17409
17410
# Do we need the "lib" prefix for modules?
17411
need_lib_prefix=$need_lib_prefix
17412
17413
# Do we need a version for libraries?
17414
need_version=$need_version
17415
17416
# Library versioning type.
17417
version_type=$version_type
17418
17419
# Shared library runtime path variable.
17420
runpath_var=$runpath_var
17421
17422
# Shared library path variable.
17423
shlibpath_var=$shlibpath_var
17424
17425
# Is shlibpath searched before the hard-coded library search path?
17426
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17427
17428
# Format of library name prefix.
17429
libname_spec=$lt_libname_spec
17430
17431
# List of archive names.  First name is the real one, the rest are links.
17432
# The last name is the one that the linker finds with -lNAME
17433
library_names_spec=$lt_library_names_spec
17434
17435
# The coded name of the library, if different from the real name.
17436
soname_spec=$lt_soname_spec
17437
17438
# Command to use after installation of a shared archive.
17439
postinstall_cmds=$lt_postinstall_cmds
17440
17441
# Command to use after uninstallation of a shared archive.
17442
postuninstall_cmds=$lt_postuninstall_cmds
17443
17444
# Commands used to finish a libtool library installation in a directory.
17445
finish_cmds=$lt_finish_cmds
17446
17447
# As "finish_cmds", except a single script fragment to be evaled but
17448
# not shown.
17449
finish_eval=$lt_finish_eval
17450
17451
# Whether we should hardcode library paths into libraries.
17452
hardcode_into_libs=$hardcode_into_libs
17453
17454
# Compile-time system search path for libraries.
17455
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17456
17457
# Run-time system search path for libraries.
17458
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17459
17460
# Whether dlopen is supported.
17461
dlopen_support=$enable_dlopen
17462
17463
# Whether dlopen of programs is supported.
17464
dlopen_self=$enable_dlopen_self
17465
17466
# Whether dlopen of statically linked programs is supported.
17467
dlopen_self_static=$enable_dlopen_self_static
17468
17469
# Commands to strip libraries.
17470
old_striplib=$lt_old_striplib
17471
striplib=$lt_striplib
17472
17473
17474
# The linker used to build libraries.
17475
LD=$lt_LD
17476
17477
# Commands used to build an old-style archive.
17478
old_archive_cmds=$lt_old_archive_cmds
17479
17480
# A language specific compiler.
17481
CC=$lt_compiler
17482
17483
# Is the compiler the GNU compiler?
17484
with_gcc=$GCC
17485
17486
# Compiler flag to turn off builtin functions.
17487
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17488
17489
# How to pass a linker flag through the compiler.
17490
wl=$lt_lt_prog_compiler_wl
17491
17492
# Additional compiler flags for building library objects.
17493
pic_flag=$lt_lt_prog_compiler_pic
17494
17495
# Compiler flag to prevent dynamic linking.
17496
link_static_flag=$lt_lt_prog_compiler_static
17497
17498
# Does compiler simultaneously support -c and -o options?
17499
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17500
17501
# Whether or not to add -lc for building shared libraries.
17502
build_libtool_need_lc=$archive_cmds_need_lc
17503
17504
# Whether or not to disallow shared libs when runtime libs are static.
17505
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17506
17507
# Compiler flag to allow reflexive dlopens.
17508
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17509
17510
# Compiler flag to generate shared objects directly from archives.
17511
whole_archive_flag_spec=$lt_whole_archive_flag_spec
17512
17513
# Whether the compiler copes with passing no objects directly.
17514
compiler_needs_object=$lt_compiler_needs_object
17515
17516
# Create an old-style archive from a shared archive.
17517
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17518
17519
# Create a temporary old-style archive to link instead of a shared archive.
17520
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17521
17522
# Commands used to build a shared archive.
17523
archive_cmds=$lt_archive_cmds
17524
archive_expsym_cmds=$lt_archive_expsym_cmds
17525
17526
# Commands used to build a loadable module if different from building
17527
# a shared archive.
17528
module_cmds=$lt_module_cmds
17529
module_expsym_cmds=$lt_module_expsym_cmds
17530
17531
# Whether we are building with GNU ld or not.
17532
with_gnu_ld=$lt_with_gnu_ld
17533
17534
# Flag that allows shared libraries with undefined symbols to be built.
17535
allow_undefined_flag=$lt_allow_undefined_flag
17536
17537
# Flag that enforces no undefined symbols.
17538
no_undefined_flag=$lt_no_undefined_flag
17539
17540
# Flag to hardcode \$libdir into a binary during linking.
17541
# This must work even if \$libdir does not exist
17542
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17543
17544
# If ld is used when linking, flag to hardcode \$libdir into a binary
17545
# during linking.  This must work even if \$libdir does not exist.
17546
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
17547
17548
# Whether we need a single "-rpath" flag with a separated argument.
17549
hardcode_libdir_separator=$lt_hardcode_libdir_separator
17550
17551
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17552
# DIR into the resulting binary.
17553
hardcode_direct=$hardcode_direct
17554
17555
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17556
# DIR into the resulting binary and the resulting library dependency is
17557
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17558
# library is relocated.
17559
hardcode_direct_absolute=$hardcode_direct_absolute
17560
17561
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17562
# into the resulting binary.
17563
hardcode_minus_L=$hardcode_minus_L
17564
17565
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17566
# into the resulting binary.
17567
hardcode_shlibpath_var=$hardcode_shlibpath_var
17568
17569
# Set to "yes" if building a shared library automatically hardcodes DIR
17570
# into the library and all subsequent libraries and executables linked
17571
# against it.
17572
hardcode_automatic=$hardcode_automatic
17573
17574
# Set to yes if linker adds runtime paths of dependent libraries
17575
# to runtime path list.
17576
inherit_rpath=$inherit_rpath
17577
17578
# Whether libtool must link a program against all its dependency libraries.
17579
link_all_deplibs=$link_all_deplibs
17580
17581
# Fix the shell variable \$srcfile for the compiler.
17582
fix_srcfile_path=$lt_fix_srcfile_path
17583
17584
# Set to "yes" if exported symbols are required.
17585
always_export_symbols=$always_export_symbols
17586
17587
# The commands to list exported symbols.
17588
export_symbols_cmds=$lt_export_symbols_cmds
17589
17590
# Symbols that should not be listed in the preloaded symbols.
17591
exclude_expsyms=$lt_exclude_expsyms
17592
17593
# Symbols that must always be exported.
17594
include_expsyms=$lt_include_expsyms
17595
17596
# Commands necessary for linking programs (against libraries) with templates.
17597
prelink_cmds=$lt_prelink_cmds
17598
17599
# Specify filename containing input files.
17600
file_list_spec=$lt_file_list_spec
17601
17602
# How to hardcode a shared library path into an executable.
17603
hardcode_action=$hardcode_action
17604
17605
# ### END LIBTOOL CONFIG
17606
17607
_LT_EOF
17608
17609
  case $host_os in
17610
  aix3*)
17611
    cat <<\_LT_EOF >> "$cfgfile"
17612
# AIX sometimes has problems with the GCC collect2 program.  For some
17613
# reason, if we set the COLLECT_NAMES environment variable, the problems
17614
# vanish in a puff of smoke.
17615
if test "X${COLLECT_NAMES+set}" != Xset; then
17616
  COLLECT_NAMES=
17617
  export COLLECT_NAMES
17618
fi
17619
_LT_EOF
17620
    ;;
17621
  esac
17622
17623
17624
ltmain="$ac_aux_dir/ltmain.sh"
17625
17626
17627
  # We use sed instead of cat because bash on DJGPP gets confused if
17628
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
17629
  # text mode, it properly converts lines to CR/LF.  This bash problem
17630
  # is reportedly fixed, but why not run on old versions too?
17631
  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
17632
    || (rm -f "$cfgfile"; exit 1)
17633
17634
  case $xsi_shell in
17635
  yes)
17636
    cat << \_LT_EOF >> "$cfgfile"
17637
17638
# func_dirname file append nondir_replacement
17639
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
17640
# otherwise set result to NONDIR_REPLACEMENT.
17641
func_dirname ()
17642
{
17643
  case ${1} in
17644
    */*) func_dirname_result="${1%/*}${2}" ;;
17645
    *  ) func_dirname_result="${3}" ;;
17646
  esac
17647
}
17648
17649
# func_basename file
17650
func_basename ()
17651
{
17652
  func_basename_result="${1##*/}"
17653
}
17654
17655
# func_dirname_and_basename file append nondir_replacement
17656
# perform func_basename and func_dirname in a single function
17657
# call:
17658
#   dirname:  Compute the dirname of FILE.  If nonempty,
17659
#             add APPEND to the result, otherwise set result
17660
#             to NONDIR_REPLACEMENT.
17661
#             value returned in "$func_dirname_result"
17662
#   basename: Compute filename of FILE.
17663
#             value retuned in "$func_basename_result"
17664
# Implementation must be kept synchronized with func_dirname
17665
# and func_basename. For efficiency, we do not delegate to
17666
# those functions but instead duplicate the functionality here.
17667
func_dirname_and_basename ()
17668
{
17669
  case ${1} in
17670
    */*) func_dirname_result="${1%/*}${2}" ;;
17671
    *  ) func_dirname_result="${3}" ;;
17672
  esac
17673
  func_basename_result="${1##*/}"
17674
}
17675
17676
# func_stripname prefix suffix name
17677
# strip PREFIX and SUFFIX off of NAME.
17678
# PREFIX and SUFFIX must not contain globbing or regex special
17679
# characters, hashes, percent signs, but SUFFIX may contain a leading
17680
# dot (in which case that matches only a dot).
17681
func_stripname ()
17682
{
17683
  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
17684
  # positional parameters, so assign one to ordinary parameter first.
17685
  func_stripname_result=${3}
17686
  func_stripname_result=${func_stripname_result#"${1}"}
17687
  func_stripname_result=${func_stripname_result%"${2}"}
17688
}
17689
17690
# func_opt_split
17691
func_opt_split ()
17692
{
17693
  func_opt_split_opt=${1%%=*}
17694
  func_opt_split_arg=${1#*=}
17695
}
17696
17697
# func_lo2o object
17698
func_lo2o ()
17699
{
17700
  case ${1} in
17701
    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
17702
    *)    func_lo2o_result=${1} ;;
17703
  esac
17704
}
17705
17706
# func_xform libobj-or-source
17707
func_xform ()
17708
{
17709
  func_xform_result=${1%.*}.lo
17710
}
17711
17712
# func_arith arithmetic-term...
17713
func_arith ()
17714
{
17715
  func_arith_result=$(( $* ))
17716
}
17717
17718
# func_len string
17719
# STRING may not start with a hyphen.
17720
func_len ()
17721
{
17722
  func_len_result=${#1}
17723
}
17724
17725
_LT_EOF
17726
    ;;
17727
  *) # Bourne compatible functions.
17728
    cat << \_LT_EOF >> "$cfgfile"
17729
17730
# func_dirname file append nondir_replacement
17731
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
17732
# otherwise set result to NONDIR_REPLACEMENT.
17733
func_dirname ()
17734
{
17735
  # Extract subdirectory from the argument.
17736
  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
17737
  if test "X$func_dirname_result" = "X${1}"; then
17738
    func_dirname_result="${3}"
17739
  else
17740
    func_dirname_result="$func_dirname_result${2}"
17741
  fi
17742
}
17743
17744
# func_basename file
17745
func_basename ()
17746
{
17747
  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
17748
}
17749
17750
17751
# func_stripname prefix suffix name
17752
# strip PREFIX and SUFFIX off of NAME.
17753
# PREFIX and SUFFIX must not contain globbing or regex special
17754
# characters, hashes, percent signs, but SUFFIX may contain a leading
17755
# dot (in which case that matches only a dot).
17756
# func_strip_suffix prefix name
17757
func_stripname ()
17758
{
17759
  case ${2} in
17760
    .*) func_stripname_result=`$ECHO "X${3}" \
17761
           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
17762
    *)  func_stripname_result=`$ECHO "X${3}" \
17763
           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
17764
  esac
17765
}
17766
17767
# sed scripts:
17768
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
17769
my_sed_long_arg='1s/^-[^=]*=//'
17770
17771
# func_opt_split
17772
func_opt_split ()
17773
{
17774
  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
17775
  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
17776
}
17777
17778
# func_lo2o object
17779
func_lo2o ()
17780
{
17781
  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
17782
}
17783
17784
# func_xform libobj-or-source
17785
func_xform ()
17786
{
17787
  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
17788
}
17789
17790
# func_arith arithmetic-term...
17791
func_arith ()
17792
{
17793
  func_arith_result=`expr "$@"`
17794
}
17795
17796
# func_len string
17797
# STRING may not start with a hyphen.
17798
func_len ()
17799
{
17800
  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
17801
}
17802
17803
_LT_EOF
17804
esac
17805
17806
case $lt_shell_append in
17807
  yes)
17808
    cat << \_LT_EOF >> "$cfgfile"
17809
17810
# func_append var value
17811
# Append VALUE to the end of shell variable VAR.
17812
func_append ()
17813
{
17814
  eval "$1+=\$2"
17815
}
17816
_LT_EOF
17817
    ;;
17818
  *)
17819
    cat << \_LT_EOF >> "$cfgfile"
17820
17821
# func_append var value
17822
# Append VALUE to the end of shell variable VAR.
17823
func_append ()
17824
{
17825
  eval "$1=\$$1\$2"
17826
}
17827
17828
_LT_EOF
17829
    ;;
17830
  esac
17831
17832
17833
  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
17834
    || (rm -f "$cfgfile"; exit 1)
17835
17836
  mv -f "$cfgfile" "$ofile" ||
17837
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17838
  chmod +x "$ofile"
17839
17840
 ;;
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
17841
    "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
1 by Brandon Hale
Import upstream version 0.2.0
17842
        sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
17843
      esac ;;
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
17844
    "pot-update":F) chmod +x pot-update ;;
17845
    "po/stamp-it":C)
1.3.7 by Sebastien Bacher
Import upstream version 1.1.0
17846
    if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
17847
       as_fn_error "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
1.1.49 by Jo Shields
Import upstream version 0.15.0
17848
    fi
1.1.9 by Sebastian Dröge
Import upstream version 0.5.2
17849
    rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
17850
    >"po/stamp-it.tmp"
17851
    sed '/^#/d
17852
	 s/^[[].*] *//
17853
	 /^[ 	]*$/d
17854
	'"s|^|	$ac_top_srcdir/|" \
17855
      "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
17856
17857
    sed '/^POTFILES =/,/[^\\]$/ {
17858
		/^POTFILES =/!d
17859
		r po/POTFILES
17860
	  }
1.1.49 by Jo Shields
Import upstream version 0.15.0
17861
	 ' "po/Makefile.in" >"po/Makefile"
1.1.9 by Sebastian Dröge
Import upstream version 0.5.2
17862
    rm -f "po/Makefile.tmp"
17863
    mv "po/stamp-it.tmp" "po/stamp-it"
17864
   ;;
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
17865
1 by Brandon Hale
Import upstream version 0.2.0
17866
  esac
1.1.28 by Sebastian Dröge
Import upstream version 0.8.0
17867
done # for ac_tag
1 by Brandon Hale
Import upstream version 0.2.0
17868
17869
1.3.14 by Ken VanDine
Import upstream version 1.2.2
17870
as_fn_exit 0
1 by Brandon Hale
Import upstream version 0.2.0
17871
_ACEOF
17872
ac_clean_files=$ac_clean_files_save
17873
1.1.49 by Jo Shields
Import upstream version 0.15.0
17874
test $ac_write_fail = 0 ||
1.3.14 by Ken VanDine
Import upstream version 1.2.2
17875
  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
1.1.49 by Jo Shields
Import upstream version 0.15.0
17876
1 by Brandon Hale
Import upstream version 0.2.0
17877
17878
# configure is writing to config.log, and then calls config.status.
17879
# config.status does its own redirection, appending to config.log.
17880
# Unfortunately, on DOS this fails, as config.log is still kept open
17881
# by configure, so config.status won't be able to write to it; its
17882
# output is simply discarded.  So we exec the FD to /dev/null,
17883
# effectively closing config.log, so it can be properly (re)opened and
17884
# appended to by config.status.  When coming back to configure, we
17885
# need to make the FD available again.
17886
if test "$no_create" != yes; then
17887
  ac_cs_success=:
17888
  ac_config_status_args=
17889
  test "$silent" = yes &&
17890
    ac_config_status_args="$ac_config_status_args --quiet"
17891
  exec 5>/dev/null
17892
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17893
  exec 5>>config.log
17894
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17895
  # would make configure fail if this is the last instruction.
1.3.14 by Ken VanDine
Import upstream version 1.2.2
17896
  $ac_cs_success || as_fn_exit $?
1 by Brandon Hale
Import upstream version 0.2.0
17897
fi
1.1.49 by Jo Shields
Import upstream version 0.15.0
17898
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
1.3.14 by Ken VanDine
Import upstream version 1.2.2
17899
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
1.1.49 by Jo Shields
Import upstream version 0.15.0
17900
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17901
fi
1.2.2 by Sebastian Dröge
Import upstream version 0.14.2
17902
17903
1.1.44 by Pedro Fragoso
Import upstream version 0.13.1
17904
echo "
17905
${PACKAGE}-${VERSION}
17906
17907
    Install Prefix:    ${prefix}
17908
17909
    GNOME Support:     ${ENABLE_GNOME}
17910
    Mac OS X Support:  ${ENABLE_OSX}
17911
    Windows Support:   ${ENABLE_WIN}
17912
17913
    D-Bus Support:     ${ENABLE_DBUS}
17914
17915
    Evolution Add-in:  ${ENABLE_EVOLUTION}
17916
    Galago Add-in:     ${ENABLE_GALAGO}
17917
    Sketching Add-in:  ${ENABLE_SKETCHING}
17918
"
17919
17920