~ubuntu-branches/ubuntu/precise/gnome-do/precise-proposed

1 by Christopher James Halse Rogers
Import upstream version 0.3.2.1
1
#! /bin/sh
2
# Guess values for system-dependent variables and create Makefiles.
1.1.5 by Christopher James Halse Rogers
Import upstream version 0.8.0
3
# Generated by GNU Autoconf 2.61 for gnome-do 0.8.0.
1 by Christopher James Halse Rogers
Import upstream version 0.3.2.1
4
#
5
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
7
# This configure script is free software; the Free Software Foundation
8
# gives unlimited permission to copy, distribute and modify it.
9
## --------------------- ##
10
## M4sh Initialization.  ##
11
## --------------------- ##
12
13
# Be more Bourne compatible
14
DUALCASE=1; export DUALCASE # for MKS sh
15
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16
  emulate sh
17
  NULLCMD=:
18
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19
  # is contrary to our usage.  Disable this feature.
20
  alias -g '${1+"$@"}'='"$@"'
21
  setopt NO_GLOB_SUBST
22
else
23
  case `(set -o) 2>/dev/null` in
24
  *posix*) set -o posix ;;
25
esac
26
27
fi
28
29
30
31
32
# PATH needs CR
33
# Avoid depending upon Character Ranges.
34
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37
as_cr_digits='0123456789'
38
as_cr_alnum=$as_cr_Letters$as_cr_digits
39
40
# The user is always right.
41
if test "${PATH_SEPARATOR+set}" != set; then
42
  echo "#! /bin/sh" >conf$$.sh
43
  echo  "exit 0"   >>conf$$.sh
44
  chmod +x conf$$.sh
45
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
46
    PATH_SEPARATOR=';'
47
  else
48
    PATH_SEPARATOR=:
49
  fi
50
  rm -f conf$$.sh
51
fi
52
53
# Support unset when possible.
54
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
55
  as_unset=unset
56
else
57
  as_unset=false
58
fi
59
60
61
# IFS
62
# We need space, tab and new line, in precisely that order.  Quoting is
63
# there to prevent editors from complaining about space-tab.
64
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
65
# splitting by setting IFS to empty value.)
66
as_nl='
67
'
68
IFS=" ""	$as_nl"
69
70
# Find who we are.  Look in the path if we contain no directory separator.
71
case $0 in
72
  *[\\/]* ) as_myself=$0 ;;
73
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
74
for as_dir in $PATH
75
do
76
  IFS=$as_save_IFS
77
  test -z "$as_dir" && as_dir=.
78
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
79
done
80
IFS=$as_save_IFS
81
82
     ;;
83
esac
84
# We did not find ourselves, most probably we were run as `sh COMMAND'
85
# in which case we are not to be found in the path.
86
if test "x$as_myself" = x; then
87
  as_myself=$0
88
fi
89
if test ! -f "$as_myself"; then
90
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
91
  { (exit 1); exit 1; }
92
fi
93
94
# Work around bugs in pre-3.0 UWIN ksh.
95
for as_var in ENV MAIL MAILPATH
96
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
97
done
98
PS1='$ '
99
PS2='> '
100
PS4='+ '
101
102
# NLS nuisances.
103
for as_var in \
104
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
106
  LC_TELEPHONE LC_TIME
107
do
108
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109
    eval $as_var=C; export $as_var
110
  else
111
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
112
  fi
113
done
114
115
# Required to use basename.
116
if expr a : '\(a\)' >/dev/null 2>&1 &&
117
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
118
  as_expr=expr
119
else
120
  as_expr=false
121
fi
122
123
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
124
  as_basename=basename
125
else
126
  as_basename=false
127
fi
128
129
130
# Name of the executable.
131
as_me=`$as_basename -- "$0" ||
132
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133
	 X"$0" : 'X\(//\)$' \| \
134
	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
135
echo X/"$0" |
136
    sed '/^.*\/\([^/][^/]*\)\/*$/{
137
	    s//\1/
138
	    q
139
	  }
140
	  /^X\/\(\/\/\)$/{
141
	    s//\1/
142
	    q
143
	  }
144
	  /^X\/\(\/\).*/{
145
	    s//\1/
146
	    q
147
	  }
148
	  s/.*/./; q'`
149
150
# CDPATH.
151
$as_unset CDPATH
152
153
154
if test "x$CONFIG_SHELL" = x; then
155
  if (eval ":") 2>/dev/null; then
156
  as_have_required=yes
157
else
158
  as_have_required=no
159
fi
160
161
  if test $as_have_required = yes && 	 (eval ":
162
(as_func_return () {
163
  (exit \$1)
164
}
165
as_func_success () {
166
  as_func_return 0
167
}
168
as_func_failure () {
169
  as_func_return 1
170
}
171
as_func_ret_success () {
172
  return 0
173
}
174
as_func_ret_failure () {
175
  return 1
176
}
177
178
exitcode=0
179
if as_func_success; then
180
  :
181
else
182
  exitcode=1
183
  echo as_func_success failed.
184
fi
185
186
if as_func_failure; then
187
  exitcode=1
188
  echo as_func_failure succeeded.
189
fi
190
191
if as_func_ret_success; then
192
  :
193
else
194
  exitcode=1
195
  echo as_func_ret_success failed.
196
fi
197
198
if as_func_ret_failure; then
199
  exitcode=1
200
  echo as_func_ret_failure succeeded.
201
fi
202
203
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
204
  :
205
else
206
  exitcode=1
207
  echo positional parameters were not saved.
208
fi
209
210
test \$exitcode = 0) || { (exit 1); exit 1; }
211
212
(
213
  as_lineno_1=\$LINENO
214
  as_lineno_2=\$LINENO
215
  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216
  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217
") 2> /dev/null; then
218
  :
219
else
220
  as_candidate_shells=
221
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
222
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
223
do
224
  IFS=$as_save_IFS
225
  test -z "$as_dir" && as_dir=.
226
  case $as_dir in
227
	 /*)
228
	   for as_base in sh bash ksh sh5; do
229
	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
230
	   done;;
231
       esac
232
done
233
IFS=$as_save_IFS
234
235
236
      for as_shell in $as_candidate_shells $SHELL; do
237
	 # Try only shells that exist, to save several forks.
238
	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
239
		{ ("$as_shell") 2> /dev/null <<\_ASEOF
240
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
241
  emulate sh
242
  NULLCMD=:
243
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244
  # is contrary to our usage.  Disable this feature.
245
  alias -g '${1+"$@"}'='"$@"'
246
  setopt NO_GLOB_SUBST
247
else
248
  case `(set -o) 2>/dev/null` in
249
  *posix*) set -o posix ;;
250
esac
251
252
fi
253
254
255
:
256
_ASEOF
257
}; then
258
  CONFIG_SHELL=$as_shell
259
	       as_have_required=yes
260
	       if { "$as_shell" 2> /dev/null <<\_ASEOF
261
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262
  emulate sh
263
  NULLCMD=:
264
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
265
  # is contrary to our usage.  Disable this feature.
266
  alias -g '${1+"$@"}'='"$@"'
267
  setopt NO_GLOB_SUBST
268
else
269
  case `(set -o) 2>/dev/null` in
270
  *posix*) set -o posix ;;
271
esac
272
273
fi
274
275
276
:
277
(as_func_return () {
278
  (exit $1)
279
}
280
as_func_success () {
281
  as_func_return 0
282
}
283
as_func_failure () {
284
  as_func_return 1
285
}
286
as_func_ret_success () {
287
  return 0
288
}
289
as_func_ret_failure () {
290
  return 1
291
}
292
293
exitcode=0
294
if as_func_success; then
295
  :
296
else
297
  exitcode=1
298
  echo as_func_success failed.
299
fi
300
301
if as_func_failure; then
302
  exitcode=1
303
  echo as_func_failure succeeded.
304
fi
305
306
if as_func_ret_success; then
307
  :
308
else
309
  exitcode=1
310
  echo as_func_ret_success failed.
311
fi
312
313
if as_func_ret_failure; then
314
  exitcode=1
315
  echo as_func_ret_failure succeeded.
316
fi
317
318
if ( set x; as_func_ret_success y && test x = "$1" ); then
319
  :
320
else
321
  exitcode=1
322
  echo positional parameters were not saved.
323
fi
324
325
test $exitcode = 0) || { (exit 1); exit 1; }
326
327
(
328
  as_lineno_1=$LINENO
329
  as_lineno_2=$LINENO
330
  test "x$as_lineno_1" != "x$as_lineno_2" &&
331
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
332
333
_ASEOF
334
}; then
335
  break
336
fi
337
338
fi
339
340
      done
341
342
      if test "x$CONFIG_SHELL" != x; then
343
  for as_var in BASH_ENV ENV
344
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
345
        done
346
        export CONFIG_SHELL
347
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
348
fi
349
350
351
    if test $as_have_required = no; then
352
  echo This script requires a shell more modern than all the
353
      echo shells that I found on your system.  Please install a
354
      echo modern shell, or manually run the script under such a
355
      echo shell if you do have one.
356
      { (exit 1); exit 1; }
357
fi
358
359
360
fi
361
362
fi
363
364
365
366
(eval "as_func_return () {
367
  (exit \$1)
368
}
369
as_func_success () {
370
  as_func_return 0
371
}
372
as_func_failure () {
373
  as_func_return 1
374
}
375
as_func_ret_success () {
376
  return 0
377
}
378
as_func_ret_failure () {
379
  return 1
380
}
381
382
exitcode=0
383
if as_func_success; then
384
  :
385
else
386
  exitcode=1
387
  echo as_func_success failed.
388
fi
389
390
if as_func_failure; then
391
  exitcode=1
392
  echo as_func_failure succeeded.
393
fi
394
395
if as_func_ret_success; then
396
  :
397
else
398
  exitcode=1
399
  echo as_func_ret_success failed.
400
fi
401
402
if as_func_ret_failure; then
403
  exitcode=1
404
  echo as_func_ret_failure succeeded.
405
fi
406
407
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
408
  :
409
else
410
  exitcode=1
411
  echo positional parameters were not saved.
412
fi
413
414
test \$exitcode = 0") || {
415
  echo No shell found that supports shell functions.
416
  echo Please tell autoconf@gnu.org about your system,
417
  echo including any error possibly output before this
418
  echo message
419
}
420
421
422
423
  as_lineno_1=$LINENO
424
  as_lineno_2=$LINENO
425
  test "x$as_lineno_1" != "x$as_lineno_2" &&
426
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
427
428
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
429
  # uniformly replaced by the line number.  The first 'sed' inserts a
430
  # line-number line after each line using $LINENO; the second 'sed'
431
  # does the real work.  The second script uses 'N' to pair each
432
  # line-number line with the line containing $LINENO, and appends
433
  # trailing '-' during substitution so that $LINENO is not a special
434
  # case at line end.
435
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
436
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
437
  # E. McMahon (1931-1989) for sed's syntax.  :-)
438
  sed -n '
439
    p
440
    /[$]LINENO/=
441
  ' <$as_myself |
442
    sed '
443
      s/[$]LINENO.*/&-/
444
      t lineno
445
      b
446
      :lineno
447
      N
448
      :loop
449
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
450
      t loop
451
      s/-\n.*//
452
    ' >$as_me.lineno &&
453
  chmod +x "$as_me.lineno" ||
454
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455
   { (exit 1); exit 1; }; }
456
457
  # Don't try to exec as it changes $[0], causing all sort of problems
458
  # (the dirname of $[0] is not the place where we might find the
459
  # original and so on.  Autoconf is especially sensitive to this).
460
  . "./$as_me.lineno"
461
  # Exit status is that of the last command.
462
  exit
463
}
464
465
466
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
467
  as_dirname=dirname
468
else
469
  as_dirname=false
470
fi
471
472
ECHO_C= ECHO_N= ECHO_T=
473
case `echo -n x` in
474
-n*)
475
  case `echo 'x\c'` in
476
  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
477
  *)   ECHO_C='\c';;
478
  esac;;
479
*)
480
  ECHO_N='-n';;
481
esac
482
483
if expr a : '\(a\)' >/dev/null 2>&1 &&
484
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
485
  as_expr=expr
486
else
487
  as_expr=false
488
fi
489
490
rm -f conf$$ conf$$.exe conf$$.file
491
if test -d conf$$.dir; then
492
  rm -f conf$$.dir/conf$$.file
493
else
494
  rm -f conf$$.dir
495
  mkdir conf$$.dir
496
fi
497
echo >conf$$.file
498
if ln -s conf$$.file conf$$ 2>/dev/null; then
499
  as_ln_s='ln -s'
500
  # ... but there are two gotchas:
501
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503
  # In both cases, we have to default to `cp -p'.
504
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
505
    as_ln_s='cp -p'
506
elif ln conf$$.file conf$$ 2>/dev/null; then
507
  as_ln_s=ln
508
else
509
  as_ln_s='cp -p'
510
fi
511
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
512
rmdir conf$$.dir 2>/dev/null
513
514
if mkdir -p . 2>/dev/null; then
515
  as_mkdir_p=:
516
else
517
  test -d ./-p && rmdir ./-p
518
  as_mkdir_p=false
519
fi
520
521
if test -x / >/dev/null 2>&1; then
522
  as_test_x='test -x'
523
else
524
  if ls -dL / >/dev/null 2>&1; then
525
    as_ls_L_option=L
526
  else
527
    as_ls_L_option=
528
  fi
529
  as_test_x='
530
    eval sh -c '\''
531
      if test -d "$1"; then
532
        test -d "$1/.";
533
      else
534
	case $1 in
535
        -*)set "./$1";;
536
	esac;
537
	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538
	???[sx]*):;;*)false;;esac;fi
539
    '\'' sh
540
  '
541
fi
542
as_executable_p=$as_test_x
543
544
# Sed expression to map a string onto a valid CPP name.
545
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
546
547
# Sed expression to map a string onto a valid variable name.
548
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
549
550
551
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
552
553
# Check that we are running under the correct shell.
554
SHELL=${CONFIG_SHELL-/bin/sh}
555
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
556
case X$lt_ECHO in
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
557
X*--fallback-echo)
558
  # Remove one level of quotation (which was required for Make).
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
559
  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
560
  ;;
561
esac
562
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
563
ECHO=${lt_ECHO-echo}
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
564
if test "X$1" = X--no-reexec; then
565
  # Discard the --no-reexec flag, and continue.
566
  shift
567
elif test "X$1" = X--fallback-echo; then
568
  # Avoid inline document here, it may be left over
569
  :
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
570
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
571
  # Yippee, $ECHO works!
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
572
  :
573
else
574
  # Restart under the correct shell.
575
  exec $SHELL "$0" --no-reexec ${1+"$@"}
576
fi
577
578
if test "X$1" = X--fallback-echo; then
579
  # used as fallback echo
580
  shift
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
581
  cat <<_LT_EOF
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
582
$*
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
583
_LT_EOF
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
584
  exit 0
585
fi
586
587
# The HP-UX ksh and POSIX shell print the target directory to stdout
588
# if CDPATH is set.
589
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
590
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
591
if test -z "$lt_ECHO"; then
592
  if test "X${echo_test_string+set}" != Xset; then
593
    # find a string as large as possible, as long as the shell can cope with it
594
    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
595
      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
596
      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
597
	 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
598
      then
599
        break
600
      fi
601
    done
602
  fi
603
604
  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
605
     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
606
     test "X$echo_testing_string" = "X$echo_test_string"; then
607
    :
608
  else
609
    # The Solaris, AIX, and Digital Unix default echo programs unquote
610
    # backslashes.  This makes it impossible to quote backslashes using
611
    #   echo "$something" | sed 's/\\/\\\\/g'
612
    #
613
    # So, first we look for a working echo in the user's PATH.
614
615
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
616
    for dir in $PATH /usr/ucb; do
617
      IFS="$lt_save_ifs"
618
      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
619
         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
620
         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
621
         test "X$echo_testing_string" = "X$echo_test_string"; then
622
        ECHO="$dir/echo"
623
        break
624
      fi
625
    done
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
626
    IFS="$lt_save_ifs"
627
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
628
    if test "X$ECHO" = Xecho; then
629
      # We didn't find a better echo, so look for alternatives.
630
      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
631
         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
632
         test "X$echo_testing_string" = "X$echo_test_string"; then
633
        # This shell has a builtin print -r that does the trick.
634
        ECHO='print -r'
635
      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
636
	   test "X$CONFIG_SHELL" != X/bin/ksh; then
637
        # If we have ksh, try running configure again with it.
638
        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
639
        export ORIGINAL_CONFIG_SHELL
640
        CONFIG_SHELL=/bin/ksh
641
        export CONFIG_SHELL
642
        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
643
      else
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
644
        # Try using printf.
645
        ECHO='printf %s\n'
646
        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
647
	   echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
648
	   test "X$echo_testing_string" = "X$echo_test_string"; then
649
	  # Cool, printf works
650
	  :
651
        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
652
	     test "X$echo_testing_string" = 'X\t' &&
653
	     echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
654
	     test "X$echo_testing_string" = "X$echo_test_string"; then
655
	  CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
656
	  export CONFIG_SHELL
657
	  SHELL="$CONFIG_SHELL"
658
	  export SHELL
659
	  ECHO="$CONFIG_SHELL $0 --fallback-echo"
660
        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
661
	     test "X$echo_testing_string" = 'X\t' &&
662
	     echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
663
	     test "X$echo_testing_string" = "X$echo_test_string"; then
664
	  ECHO="$CONFIG_SHELL $0 --fallback-echo"
665
        else
666
	  # maybe with a smaller string...
667
	  prev=:
668
669
	  for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
670
	    if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
671
	    then
672
	      break
673
	    fi
674
	    prev="$cmd"
675
	  done
676
677
	  if test "$prev" != 'sed 50q "$0"'; then
678
	    echo_test_string=`eval $prev`
679
	    export echo_test_string
680
	    exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
681
	  else
682
	    # Oops.  We lost completely, so just stick with echo.
683
	    ECHO=echo
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
684
	  fi
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
685
        fi
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
686
      fi
687
    fi
688
  fi
689
fi
690
691
# Copy echo and quote the copy suitably for passing to libtool from
692
# the Makefile, instead of quoting the original, which is used later.
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
693
lt_ECHO=$ECHO
694
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
695
   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
696
fi
697
698
699
700
1 by Christopher James Halse Rogers
Import upstream version 0.3.2.1
701
exec 7<&0 </dev/null 6>&1
702
703
# Name of the host.
704
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
705
# so uname gets run too.
706
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
707
708
#
709
# Initializations.
710
#
711
ac_default_prefix=/usr/local
712
ac_clean_files=
713
ac_config_libobj_dir=.
714
LIBOBJS=
715
cross_compiling=no
716
subdirs=
717
MFLAGS=
718
MAKEFLAGS=
719
SHELL=${CONFIG_SHELL-/bin/sh}
720
721
# Identity of this package.
722
PACKAGE_NAME='gnome-do'
723
PACKAGE_TARNAME='gnome-do'
1.1.5 by Christopher James Halse Rogers
Import upstream version 0.8.0
724
PACKAGE_VERSION='0.8.0'
725
PACKAGE_STRING='gnome-do 0.8.0'
1 by Christopher James Halse Rogers
Import upstream version 0.3.2.1
726
PACKAGE_BUGREPORT=''
727
728
# Factoring default headers for most tests.
729
ac_includes_default="\
730
#include <stdio.h>
731
#ifdef HAVE_SYS_TYPES_H
732
# include <sys/types.h>
733
#endif
734
#ifdef HAVE_SYS_STAT_H
735
# include <sys/stat.h>
736
#endif
737
#ifdef STDC_HEADERS
738
# include <stdlib.h>
739
# include <stddef.h>
740
#else
741
# ifdef HAVE_STDLIB_H
742
#  include <stdlib.h>
743
# endif
744
#endif
745
#ifdef HAVE_STRING_H
746
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
747
#  include <memory.h>
748
# endif
749
# include <string.h>
750
#endif
751
#ifdef HAVE_STRINGS_H
752
# include <strings.h>
753
#endif
754
#ifdef HAVE_INTTYPES_H
755
# include <inttypes.h>
756
#endif
757
#ifdef HAVE_STDINT_H
758
# include <stdint.h>
759
#endif
760
#ifdef HAVE_UNISTD_H
761
# include <unistd.h>
762
#endif"
763
764
ac_subst_vars='SHELL
765
PATH_SEPARATOR
766
PACKAGE_NAME
767
PACKAGE_TARNAME
768
PACKAGE_VERSION
769
PACKAGE_STRING
770
PACKAGE_BUGREPORT
771
exec_prefix
772
prefix
773
program_transform_name
774
bindir
775
sbindir
776
libexecdir
777
datarootdir
778
datadir
779
sysconfdir
780
sharedstatedir
781
localstatedir
782
includedir
783
oldincludedir
784
docdir
785
infodir
786
htmldir
787
dvidir
788
pdfdir
789
psdir
790
libdir
791
localedir
792
mandir
793
DEFS
794
ECHO_C
795
ECHO_N
796
ECHO_T
797
LIBS
798
build_alias
799
host_alias
800
target_alias
801
INSTALL_PROGRAM
802
INSTALL_SCRIPT
803
INSTALL_DATA
804
am__isrc
805
CYGPATH_W
806
PACKAGE
807
VERSION
808
ACLOCAL
809
AUTOCONF
810
AUTOMAKE
811
AUTOHEADER
812
MAKEINFO
813
install_sh
814
STRIP
815
INSTALL_STRIP_PROGRAM
816
mkdir_p
817
AWK
818
SET_MAKE
819
am__leading_dot
820
AMTAR
821
am__tar
822
am__untar
1.1.4 by Christopher James Halse Rogers
Import upstream version 0.6.1.0
823
USE_NLS
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
824
INTLTOOL_UPDATE
825
INTLTOOL_MERGE
826
INTLTOOL_EXTRACT
1 by Christopher James Halse Rogers
Import upstream version 0.3.2.1
827
INTLTOOL_DESKTOP_RULE
828
INTLTOOL_DIRECTORY_RULE
829
INTLTOOL_KEYS_RULE
830
INTLTOOL_PROP_RULE
831
INTLTOOL_OAF_RULE
832
INTLTOOL_PONG_RULE
833
INTLTOOL_SERVER_RULE
834
INTLTOOL_SHEET_RULE
835
INTLTOOL_SOUNDLIST_RULE
836
INTLTOOL_UI_RULE
837
INTLTOOL_XAM_RULE
838
INTLTOOL_KBD_RULE
839
INTLTOOL_XML_RULE
840
INTLTOOL_XML_NOMERGE_RULE
841
INTLTOOL_CAVES_RULE
842
INTLTOOL_SCHEMAS_RULE
843
INTLTOOL_THEME_RULE
844
INTLTOOL_SERVICE_RULE
845
INTLTOOL_POLICY_RULE
846
XGETTEXT
847
MSGMERGE
848
MSGFMT
1.1.4 by Christopher James Halse Rogers
Import upstream version 0.6.1.0
849
GMSGFMT
1 by Christopher James Halse Rogers
Import upstream version 0.3.2.1
850
INTLTOOL_PERL
851
ALL_LINGUAS
852
CC
853
CFLAGS
854
LDFLAGS
855
CPPFLAGS
856
ac_ct_CC
857
EXEEXT
858
OBJEXT
859
DEPDIR
860
am__include
861
am__quote
862
AMDEP_TRUE
863
AMDEP_FALSE
864
AMDEPBACKSLASH
865
CCDEPMODE
866
am__fastdepCC_TRUE
867
am__fastdepCC_FALSE
868
DATADIRNAME
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
869
GETTEXT_PACKAGE
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
870
CPP
871
GREP
872
EGREP
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
873
MSGFMT_OPTS
874
CATALOGS
875
CATOBJEXT
876
GMOFILES
877
INSTOBJEXT
878
INTLLIBS
879
PO_IN_DATADIR_TRUE
880
PO_IN_DATADIR_FALSE
881
POFILES
882
POSUB
883
MKINSTALLDIRS
884
CONFIG_STATUS_DEPENDENCIES
1.1.4 by Christopher James Halse Rogers
Import upstream version 0.6.1.0
885
ABI_VERSION
886
VERSION_INFO
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
887
PKG_CONFIG
888
MCS
889
MCS_LINQ_FLAG
1.1.4 by Christopher James Halse Rogers
Import upstream version 0.6.1.0
890
GCONFTOOL
891
GCONF_SCHEMA_CONFIG_SOURCE
892
GCONF_SCHEMA_FILE_DIR
893
GCONF_SCHEMAS_INSTALL_TRUE
894
GCONF_SCHEMAS_INSTALL_FALSE
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
895
LIBTOOL
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
896
build
897
build_cpu
898
build_vendor
899
build_os
900
host
901
host_cpu
902
host_vendor
903
host_os
904
SED
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
905
FGREP
906
LD
907
DUMPBIN
908
ac_ct_DUMPBIN
909
NM
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
910
LN_S
1.1.5 by Christopher James Halse Rogers
Import upstream version 0.8.0
911
OBJDUMP
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
912
AR
913
RANLIB
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
914
lt_ECHO
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
915
DSYMUTIL
916
NMEDIT
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
917
LIPO
918
OTOOL
919
OTOOL64
920
expanded_libdir
921
expanded_bindir
922
expanded_datadir
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
923
LIBDO_CFLAGS
924
LIBDO_LIBS
1 by Christopher James Halse Rogers
Import upstream version 0.3.2.1
925
GCONF_SHARP_20_CFLAGS
926
GCONF_SHARP_20_LIBS
927
GLADE_SHARP_20_CFLAGS
928
GLADE_SHARP_20_LIBS
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
929
GLIB_SHARP_20_CFLAGS
930
GLIB_SHARP_20_LIBS
931
GNOME_DESKTOP_SHARP_20_CFLAGS
932
GNOME_DESKTOP_SHARP_20_LIBS
933
GNOME_KEYRING_SHARP_CFLAGS
934
GNOME_KEYRING_SHARP_LIBS
935
GNOME_SHARP_20_CFLAGS
936
GNOME_SHARP_20_LIBS
937
GNOME_VFS_SHARP_20_CFLAGS
938
GNOME_VFS_SHARP_20_LIBS
939
GTK_SHARP_20_CFLAGS
940
GTK_SHARP_20_LIBS
941
MONO_ADDINS_CFLAGS
942
MONO_ADDINS_LIBS
943
MONO_ADDINS_GUI_CFLAGS
944
MONO_ADDINS_GUI_LIBS
945
MONO_ADDINS_SETUP_CFLAGS
946
MONO_ADDINS_SETUP_LIBS
1 by Christopher James Halse Rogers
Import upstream version 0.3.2.1
947
NDESK_DBUS_10_CFLAGS
948
NDESK_DBUS_10_LIBS
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
949
NDESK_DBUS_GLIB_10_CFLAGS
950
NDESK_DBUS_GLIB_10_LIBS
951
NOTIFY_SHARP_CFLAGS
952
NOTIFY_SHARP_LIBS
1.1.5 by Christopher James Halse Rogers
Import upstream version 0.8.0
953
WNCK_SHARP_10_CFLAGS
954
WNCK_SHARP_10_LIBS
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
955
NUNIT_CFLAGS
956
NUNIT_LIBS
957
HAVE_NUNIT_TRUE
958
HAVE_NUNIT_FALSE
1 by Christopher James Halse Rogers
Import upstream version 0.3.2.1
959
ENABLE_DEBUG_TRUE
960
ENABLE_DEBUG_FALSE
961
ENABLE_RELEASE_TRUE
962
ENABLE_RELEASE_FALSE
963
LIBOBJS
964
LTLIBOBJS'
965
ac_subst_files=''
966
      ac_precious_vars='build_alias
967
host_alias
968
target_alias
969
CC
970
CFLAGS
971
LDFLAGS
972
LIBS
973
CPPFLAGS
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
974
CPP
1 by Christopher James Halse Rogers
Import upstream version 0.3.2.1
975
PKG_CONFIG
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
976
LIBDO_CFLAGS
977
LIBDO_LIBS
1 by Christopher James Halse Rogers
Import upstream version 0.3.2.1
978
GCONF_SHARP_20_CFLAGS
979
GCONF_SHARP_20_LIBS
980
GLADE_SHARP_20_CFLAGS
981
GLADE_SHARP_20_LIBS
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
982
GLIB_SHARP_20_CFLAGS
983
GLIB_SHARP_20_LIBS
984
GNOME_DESKTOP_SHARP_20_CFLAGS
985
GNOME_DESKTOP_SHARP_20_LIBS
986
GNOME_KEYRING_SHARP_CFLAGS
987
GNOME_KEYRING_SHARP_LIBS
988
GNOME_SHARP_20_CFLAGS
989
GNOME_SHARP_20_LIBS
990
GNOME_VFS_SHARP_20_CFLAGS
991
GNOME_VFS_SHARP_20_LIBS
992
GTK_SHARP_20_CFLAGS
993
GTK_SHARP_20_LIBS
994
MONO_ADDINS_CFLAGS
995
MONO_ADDINS_LIBS
996
MONO_ADDINS_GUI_CFLAGS
997
MONO_ADDINS_GUI_LIBS
998
MONO_ADDINS_SETUP_CFLAGS
999
MONO_ADDINS_SETUP_LIBS
1 by Christopher James Halse Rogers
Import upstream version 0.3.2.1
1000
NDESK_DBUS_10_CFLAGS
1001
NDESK_DBUS_10_LIBS
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
1002
NDESK_DBUS_GLIB_10_CFLAGS
1003
NDESK_DBUS_GLIB_10_LIBS
1004
NOTIFY_SHARP_CFLAGS
1005
NOTIFY_SHARP_LIBS
1.1.5 by Christopher James Halse Rogers
Import upstream version 0.8.0
1006
WNCK_SHARP_10_CFLAGS
1007
WNCK_SHARP_10_LIBS
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
1008
NUNIT_CFLAGS
1009
NUNIT_LIBS'
1 by Christopher James Halse Rogers
Import upstream version 0.3.2.1
1010
1011
1012
# Initialize some variables set by options.
1013
ac_init_help=
1014
ac_init_version=false
1015
# The variables have the same names as the options, with
1016
# dashes changed to underlines.
1017
cache_file=/dev/null
1018
exec_prefix=NONE
1019
no_create=
1020
no_recursion=
1021
prefix=NONE
1022
program_prefix=NONE
1023
program_suffix=NONE
1024
program_transform_name=s,x,x,
1025
silent=
1026
site=
1027
srcdir=
1028
verbose=
1029
x_includes=NONE
1030
x_libraries=NONE
1031
1032
# Installation directory options.
1033
# These are left unexpanded so users can "make install exec_prefix=/foo"
1034
# and all the variables that are supposed to be based on exec_prefix
1035
# by default will actually change.
1036
# Use braces instead of parens because sh, perl, etc. also accept them.
1037
# (The list follows the same order as the GNU Coding Standards.)
1038
bindir='${exec_prefix}/bin'
1039
sbindir='${exec_prefix}/sbin'
1040
libexecdir='${exec_prefix}/libexec'
1041
datarootdir='${prefix}/share'
1042
datadir='${datarootdir}'
1043
sysconfdir='${prefix}/etc'
1044
sharedstatedir='${prefix}/com'
1045
localstatedir='${prefix}/var'
1046
includedir='${prefix}/include'
1047
oldincludedir='/usr/include'
1048
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1049
infodir='${datarootdir}/info'
1050
htmldir='${docdir}'
1051
dvidir='${docdir}'
1052
pdfdir='${docdir}'
1053
psdir='${docdir}'
1054
libdir='${exec_prefix}/lib'
1055
localedir='${datarootdir}/locale'
1056
mandir='${datarootdir}/man'
1057
1058
ac_prev=
1059
ac_dashdash=
1060
for ac_option
1061
do
1062
  # If the previous option needs an argument, assign it.
1063
  if test -n "$ac_prev"; then
1064
    eval $ac_prev=\$ac_option
1065
    ac_prev=
1066
    continue
1067
  fi
1068
1069
  case $ac_option in
1070
  *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1071
  *)	ac_optarg=yes ;;
1072
  esac
1073
1074
  # Accept the important Cygnus configure options, so we can diagnose typos.
1075
1076
  case $ac_dashdash$ac_option in
1077
  --)
1078
    ac_dashdash=yes ;;
1079
1080
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
1081
    ac_prev=bindir ;;
1082
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1083
    bindir=$ac_optarg ;;
1084
1085
  -build | --build | --buil | --bui | --bu)
1086
    ac_prev=build_alias ;;
1087
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1088
    build_alias=$ac_optarg ;;
1089
1090
  -cache-file | --cache-file | --cache-fil | --cache-fi \
1091
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1092
    ac_prev=cache_file ;;
1093
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1094
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1095
    cache_file=$ac_optarg ;;
1096
1097
  --config-cache | -C)
1098
    cache_file=config.cache ;;
1099
1100
  -datadir | --datadir | --datadi | --datad)
1101
    ac_prev=datadir ;;
1102
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
1103
    datadir=$ac_optarg ;;
1104
1105
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1106
  | --dataroo | --dataro | --datar)
1107
    ac_prev=datarootdir ;;
1108
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1109
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1110
    datarootdir=$ac_optarg ;;
1111
1112
  -disable-* | --disable-*)
1113
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1114
    # Reject names that are not valid shell variable names.
1115
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1116
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1117
   { (exit 1); exit 1; }; }
1118
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1119
    eval enable_$ac_feature=no ;;
1120
1121
  -docdir | --docdir | --docdi | --doc | --do)
1122
    ac_prev=docdir ;;
1123
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1124
    docdir=$ac_optarg ;;
1125
1126
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1127
    ac_prev=dvidir ;;
1128
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1129
    dvidir=$ac_optarg ;;
1130
1131
  -enable-* | --enable-*)
1132
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1133
    # Reject names that are not valid shell variable names.
1134
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1135
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1136
   { (exit 1); exit 1; }; }
1137
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1138
    eval enable_$ac_feature=\$ac_optarg ;;
1139
1140
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1141
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1142
  | --exec | --exe | --ex)
1143
    ac_prev=exec_prefix ;;
1144
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1145
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1146
  | --exec=* | --exe=* | --ex=*)
1147
    exec_prefix=$ac_optarg ;;
1148
1149
  -gas | --gas | --ga | --g)
1150
    # Obsolete; use --with-gas.
1151
    with_gas=yes ;;
1152
1153
  -help | --help | --hel | --he | -h)
1154
    ac_init_help=long ;;
1155
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1156
    ac_init_help=recursive ;;
1157
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1158
    ac_init_help=short ;;
1159
1160
  -host | --host | --hos | --ho)
1161
    ac_prev=host_alias ;;
1162
  -host=* | --host=* | --hos=* | --ho=*)
1163
    host_alias=$ac_optarg ;;
1164
1165
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1166
    ac_prev=htmldir ;;
1167
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1168
  | --ht=*)
1169
    htmldir=$ac_optarg ;;
1170
1171
  -includedir | --includedir | --includedi | --included | --include \
1172
  | --includ | --inclu | --incl | --inc)
1173
    ac_prev=includedir ;;
1174
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1175
  | --includ=* | --inclu=* | --incl=* | --inc=*)
1176
    includedir=$ac_optarg ;;
1177
1178
  -infodir | --infodir | --infodi | --infod | --info | --inf)
1179
    ac_prev=infodir ;;
1180
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1181
    infodir=$ac_optarg ;;
1182
1183
  -libdir | --libdir | --libdi | --libd)
1184
    ac_prev=libdir ;;
1185
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1186
    libdir=$ac_optarg ;;
1187
1188
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1189
  | --libexe | --libex | --libe)
1190
    ac_prev=libexecdir ;;
1191
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1192
  | --libexe=* | --libex=* | --libe=*)
1193
    libexecdir=$ac_optarg ;;
1194
1195
  -localedir | --localedir | --localedi | --localed | --locale)
1196
    ac_prev=localedir ;;
1197
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1198
    localedir=$ac_optarg ;;
1199
1200
  -localstatedir | --localstatedir | --localstatedi | --localstated \
1201
  | --localstate | --localstat | --localsta | --localst | --locals)
1202
    ac_prev=localstatedir ;;
1203
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1204
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1205
    localstatedir=$ac_optarg ;;
1206
1207
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1208
    ac_prev=mandir ;;
1209
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1210
    mandir=$ac_optarg ;;
1211
1212
  -nfp | --nfp | --nf)
1213
    # Obsolete; use --without-fp.
1214
    with_fp=no ;;
1215
1216
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1217
  | --no-cr | --no-c | -n)
1218
    no_create=yes ;;
1219
1220
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1221
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1222
    no_recursion=yes ;;
1223
1224
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1225
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1226
  | --oldin | --oldi | --old | --ol | --o)
1227
    ac_prev=oldincludedir ;;
1228
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1229
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1230
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1231
    oldincludedir=$ac_optarg ;;
1232
1233
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1234
    ac_prev=prefix ;;
1235
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1236
    prefix=$ac_optarg ;;
1237
1238
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1239
  | --program-pre | --program-pr | --program-p)
1240
    ac_prev=program_prefix ;;
1241
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1242
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1243
    program_prefix=$ac_optarg ;;
1244
1245
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1246
  | --program-suf | --program-su | --program-s)
1247
    ac_prev=program_suffix ;;
1248
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1249
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1250
    program_suffix=$ac_optarg ;;
1251
1252
  -program-transform-name | --program-transform-name \
1253
  | --program-transform-nam | --program-transform-na \
1254
  | --program-transform-n | --program-transform- \
1255
  | --program-transform | --program-transfor \
1256
  | --program-transfo | --program-transf \
1257
  | --program-trans | --program-tran \
1258
  | --progr-tra | --program-tr | --program-t)
1259
    ac_prev=program_transform_name ;;
1260
  -program-transform-name=* | --program-transform-name=* \
1261
  | --program-transform-nam=* | --program-transform-na=* \
1262
  | --program-transform-n=* | --program-transform-=* \
1263
  | --program-transform=* | --program-transfor=* \
1264
  | --program-transfo=* | --program-transf=* \
1265
  | --program-trans=* | --program-tran=* \
1266
  | --progr-tra=* | --program-tr=* | --program-t=*)
1267
    program_transform_name=$ac_optarg ;;
1268
1269
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1270
    ac_prev=pdfdir ;;
1271
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1272
    pdfdir=$ac_optarg ;;
1273
1274
  -psdir | --psdir | --psdi | --psd | --ps)
1275
    ac_prev=psdir ;;
1276
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1277
    psdir=$ac_optarg ;;
1278
1279
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1280
  | -silent | --silent | --silen | --sile | --sil)
1281
    silent=yes ;;
1282
1283
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1284
    ac_prev=sbindir ;;
1285
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1286
  | --sbi=* | --sb=*)
1287
    sbindir=$ac_optarg ;;
1288
1289
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1290
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1291
  | --sharedst | --shareds | --shared | --share | --shar \
1292
  | --sha | --sh)
1293
    ac_prev=sharedstatedir ;;
1294
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1295
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1296
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1297
  | --sha=* | --sh=*)
1298
    sharedstatedir=$ac_optarg ;;
1299
1300
  -site | --site | --sit)
1301
    ac_prev=site ;;
1302
  -site=* | --site=* | --sit=*)
1303
    site=$ac_optarg ;;
1304
1305
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1306
    ac_prev=srcdir ;;
1307
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1308
    srcdir=$ac_optarg ;;
1309
1310
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1311
  | --syscon | --sysco | --sysc | --sys | --sy)
1312
    ac_prev=sysconfdir ;;
1313
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1314
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1315
    sysconfdir=$ac_optarg ;;
1316
1317
  -target | --target | --targe | --targ | --tar | --ta | --t)
1318
    ac_prev=target_alias ;;
1319
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1320
    target_alias=$ac_optarg ;;
1321
1322
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1323
    verbose=yes ;;
1324
1325
  -version | --version | --versio | --versi | --vers | -V)
1326
    ac_init_version=: ;;
1327
1328
  -with-* | --with-*)
1329
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1330
    # Reject names that are not valid shell variable names.
1331
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1332
      { echo "$as_me: error: invalid package name: $ac_package" >&2
1333
   { (exit 1); exit 1; }; }
1334
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1335
    eval with_$ac_package=\$ac_optarg ;;
1336
1337
  -without-* | --without-*)
1338
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1339
    # Reject names that are not valid shell variable names.
1340
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1341
      { echo "$as_me: error: invalid package name: $ac_package" >&2
1342
   { (exit 1); exit 1; }; }
1343
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1344
    eval with_$ac_package=no ;;
1345
1346
  --x)
1347
    # Obsolete; use --with-x.
1348
    with_x=yes ;;
1349
1350
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1351
  | --x-incl | --x-inc | --x-in | --x-i)
1352
    ac_prev=x_includes ;;
1353
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1354
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1355
    x_includes=$ac_optarg ;;
1356
1357
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1358
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1359
    ac_prev=x_libraries ;;
1360
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1361
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1362
    x_libraries=$ac_optarg ;;
1363
1364
  -*) { echo "$as_me: error: unrecognized option: $ac_option
1365
Try \`$0 --help' for more information." >&2
1366
   { (exit 1); exit 1; }; }
1367
    ;;
1368
1369
  *=*)
1370
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1371
    # Reject names that are not valid shell variable names.
1372
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1373
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1374
   { (exit 1); exit 1; }; }
1375
    eval $ac_envvar=\$ac_optarg
1376
    export $ac_envvar ;;
1377
1378
  *)
1379
    # FIXME: should be removed in autoconf 3.0.
1380
    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1381
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1382
      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1383
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1384
    ;;
1385
1386
  esac
1387
done
1388
1389
if test -n "$ac_prev"; then
1390
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1391
  { echo "$as_me: error: missing argument to $ac_option" >&2
1392
   { (exit 1); exit 1; }; }
1393
fi
1394
1395
# Be sure to have absolute directory names.
1396
for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1397
		datadir sysconfdir sharedstatedir localstatedir includedir \
1398
		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1399
		libdir localedir mandir
1400
do
1401
  eval ac_val=\$$ac_var
1402
  case $ac_val in
1403
    [\\/$]* | ?:[\\/]* )  continue;;
1404
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1405
  esac
1406
  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1407
   { (exit 1); exit 1; }; }
1408
done
1409
1410
# There might be people who depend on the old broken behavior: `$host'
1411
# used to hold the argument of --host etc.
1412
# FIXME: To remove some day.
1413
build=$build_alias
1414
host=$host_alias
1415
target=$target_alias
1416
1417
# FIXME: To remove some day.
1418
if test "x$host_alias" != x; then
1419
  if test "x$build_alias" = x; then
1420
    cross_compiling=maybe
1421
    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1422
    If a cross compiler is detected then cross compile mode will be used." >&2
1423
  elif test "x$build_alias" != "x$host_alias"; then
1424
    cross_compiling=yes
1425
  fi
1426
fi
1427
1428
ac_tool_prefix=
1429
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1430
1431
test "$silent" = yes && exec 6>/dev/null
1432
1433
1434
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1435
ac_ls_di=`ls -di .` &&
1436
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1437
  { echo "$as_me: error: Working directory cannot be determined" >&2
1438
   { (exit 1); exit 1; }; }
1439
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1440
  { echo "$as_me: error: pwd does not report name of working directory" >&2
1441
   { (exit 1); exit 1; }; }
1442
1443
1444
# Find the source files, if location was not specified.
1445
if test -z "$srcdir"; then
1446
  ac_srcdir_defaulted=yes
1447
  # Try the directory containing this script, then the parent directory.
1448
  ac_confdir=`$as_dirname -- "$0" ||
1449
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1450
	 X"$0" : 'X\(//\)[^/]' \| \
1451
	 X"$0" : 'X\(//\)$' \| \
1452
	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1453
echo X"$0" |
1454
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1455
	    s//\1/
1456
	    q
1457
	  }
1458
	  /^X\(\/\/\)[^/].*/{
1459
	    s//\1/
1460
	    q
1461
	  }
1462
	  /^X\(\/\/\)$/{
1463
	    s//\1/
1464
	    q
1465
	  }
1466
	  /^X\(\/\).*/{
1467
	    s//\1/
1468
	    q
1469
	  }
1470
	  s/.*/./; q'`
1471
  srcdir=$ac_confdir
1472
  if test ! -r "$srcdir/$ac_unique_file"; then
1473
    srcdir=..
1474
  fi
1475
else
1476
  ac_srcdir_defaulted=no
1477
fi
1478
if test ! -r "$srcdir/$ac_unique_file"; then
1479
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1480
  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1481
   { (exit 1); exit 1; }; }
1482
fi
1483
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1484
ac_abs_confdir=`(
1485
	cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1486
   { (exit 1); exit 1; }; }
1487
	pwd)`
1488
# When building in place, set srcdir=.
1489
if test "$ac_abs_confdir" = "$ac_pwd"; then
1490
  srcdir=.
1491
fi
1492
# Remove unnecessary trailing slashes from srcdir.
1493
# Double slashes in file names in object file debugging info
1494
# mess up M-x gdb in Emacs.
1495
case $srcdir in
1496
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1497
esac
1498
for ac_var in $ac_precious_vars; do
1499
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1500
  eval ac_env_${ac_var}_value=\$${ac_var}
1501
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1502
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1503
done
1504
1505
#
1506
# Report the --help message.
1507
#
1508
if test "$ac_init_help" = "long"; then
1509
  # Omit some internal or obsolete options to make the list less imposing.
1510
  # This message is too long to be a string in the A/UX 3.1 sh.
1511
  cat <<_ACEOF
1.1.5 by Christopher James Halse Rogers
Import upstream version 0.8.0
1512
\`configure' configures gnome-do 0.8.0 to adapt to many kinds of systems.
1 by Christopher James Halse Rogers
Import upstream version 0.3.2.1
1513
1514
Usage: $0 [OPTION]... [VAR=VALUE]...
1515
1516
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1517
VAR=VALUE.  See below for descriptions of some of the useful variables.
1518
1519
Defaults for the options are specified in brackets.
1520
1521
Configuration:
1522
  -h, --help              display this help and exit
1523
      --help=short        display options specific to this package
1524
      --help=recursive    display the short help of all the included packages
1525
  -V, --version           display version information and exit
1526
  -q, --quiet, --silent   do not print \`checking...' messages
1527
      --cache-file=FILE   cache test results in FILE [disabled]
1528
  -C, --config-cache      alias for \`--cache-file=config.cache'
1529
  -n, --no-create         do not create output files
1530
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1531
1532
Installation directories:
1533
  --prefix=PREFIX         install architecture-independent files in PREFIX
1534
			  [$ac_default_prefix]
1535
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1536
			  [PREFIX]
1537
1538
By default, \`make install' will install all the files in
1539
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1540
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1541
for instance \`--prefix=\$HOME'.
1542
1543
For better control, use the options below.
1544
1545
Fine tuning of the installation directories:
1546
  --bindir=DIR           user executables [EPREFIX/bin]
1547
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
1548
  --libexecdir=DIR       program executables [EPREFIX/libexec]
1549
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1550
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1551
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1552
  --libdir=DIR           object code libraries [EPREFIX/lib]
1553
  --includedir=DIR       C header files [PREFIX/include]
1554
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1555
  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
1556
  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
1557
  --infodir=DIR          info documentation [DATAROOTDIR/info]
1558
  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
1559
  --mandir=DIR           man documentation [DATAROOTDIR/man]
1560
  --docdir=DIR           documentation root [DATAROOTDIR/doc/gnome-do]
1561
  --htmldir=DIR          html documentation [DOCDIR]
1562
  --dvidir=DIR           dvi documentation [DOCDIR]
1563
  --pdfdir=DIR           pdf documentation [DOCDIR]
1564
  --psdir=DIR            ps documentation [DOCDIR]
1565
_ACEOF
1566
1567
  cat <<\_ACEOF
1568
1569
Program names:
1570
  --program-prefix=PREFIX            prepend PREFIX to installed program names
1571
  --program-suffix=SUFFIX            append SUFFIX to installed program names
1572
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
1573
1574
System types:
1575
  --build=BUILD     configure for building on BUILD [guessed]
1576
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1 by Christopher James Halse Rogers
Import upstream version 0.3.2.1
1577
_ACEOF
1578
fi
1579
1580
if test -n "$ac_init_help"; then
1581
  case $ac_init_help in
1.1.5 by Christopher James Halse Rogers
Import upstream version 0.8.0
1582
     short | recursive ) echo "Configuration of gnome-do 0.8.0:";;
1 by Christopher James Halse Rogers
Import upstream version 0.3.2.1
1583
   esac
1584
  cat <<\_ACEOF
1585
1586
Optional Features:
1587
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1588
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1.1.4 by Christopher James Halse Rogers
Import upstream version 0.6.1.0
1589
  --disable-nls           do not use Native Language Support
1 by Christopher James Halse Rogers
Import upstream version 0.3.2.1
1590
  --disable-dependency-tracking  speeds up one-time build
1591
  --enable-dependency-tracking   do not reject slow dependency extractors
1.1.4 by Christopher James Halse Rogers
Import upstream version 0.6.1.0
1592
  --disable-schemas-install	Disable the schemas installation
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
1593
  --enable-static[=PKGS]  build static libraries [default=no]
1594
  --enable-shared[=PKGS]  build shared libraries [default=yes]
1595
  --enable-fast-install[=PKGS]
1596
                          optimize for fast installation [default=yes]
1597
  --disable-libtool-lock  avoid locking (might break parallel builds)
1 by Christopher James Halse Rogers
Import upstream version 0.3.2.1
1598
  --enable-debug          Use 'DEBUG' Configuration default=YES
1599
  --enable-release        Use 'RELEASE' Configuration default=NO
1600
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
1601
Optional Packages:
1602
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1603
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1.1.4 by Christopher James Halse Rogers
Import upstream version 0.6.1.0
1604
  --with-gconf-source=sourceaddress
1605
                          Config database for installing schema files.
1606
  --with-gconf-schema-file-dir=dir
1607
                          Directory for installing schema files.
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
1608
  --with-pic              try to use only PIC/non-PIC objects [default=use
1609
                          both]
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
1610
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
1611
1 by Christopher James Halse Rogers
Import upstream version 0.3.2.1
1612
Some influential environment variables:
1613
  CC          C compiler command
1614
  CFLAGS      C compiler flags
1615
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1616
              nonstandard directory <lib dir>
1617
  LIBS        libraries to pass to the linker, e.g. -l<library>
1618
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1619
              you have headers in a nonstandard directory <include dir>
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
1620
  CPP         C preprocessor
1 by Christopher James Halse Rogers
Import upstream version 0.3.2.1
1621
  PKG_CONFIG  path to pkg-config utility
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
1622
  LIBDO_CFLAGS
1623
              C compiler flags for LIBDO, overriding pkg-config
1624
  LIBDO_LIBS  linker flags for LIBDO, overriding pkg-config
1 by Christopher James Halse Rogers
Import upstream version 0.3.2.1
1625
  GCONF_SHARP_20_CFLAGS
1626
              C compiler flags for GCONF_SHARP_20, overriding pkg-config
1627
  GCONF_SHARP_20_LIBS
1628
              linker flags for GCONF_SHARP_20, overriding pkg-config
1629
  GLADE_SHARP_20_CFLAGS
1630
              C compiler flags for GLADE_SHARP_20, overriding pkg-config
1631
  GLADE_SHARP_20_LIBS
1632
              linker flags for GLADE_SHARP_20, overriding pkg-config
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
1633
  GLIB_SHARP_20_CFLAGS
1634
              C compiler flags for GLIB_SHARP_20, overriding pkg-config
1635
  GLIB_SHARP_20_LIBS
1636
              linker flags for GLIB_SHARP_20, overriding pkg-config
1637
  GNOME_DESKTOP_SHARP_20_CFLAGS
1638
              C compiler flags for GNOME_DESKTOP_SHARP_20, overriding
1639
              pkg-config
1640
  GNOME_DESKTOP_SHARP_20_LIBS
1641
              linker flags for GNOME_DESKTOP_SHARP_20, overriding pkg-config
1642
  GNOME_KEYRING_SHARP_CFLAGS
1643
              C compiler flags for GNOME_KEYRING_SHARP, overriding pkg-config
1644
  GNOME_KEYRING_SHARP_LIBS
1645
              linker flags for GNOME_KEYRING_SHARP, overriding pkg-config
1646
  GNOME_SHARP_20_CFLAGS
1647
              C compiler flags for GNOME_SHARP_20, overriding pkg-config
1648
  GNOME_SHARP_20_LIBS
1649
              linker flags for GNOME_SHARP_20, overriding pkg-config
1650
  GNOME_VFS_SHARP_20_CFLAGS
1651
              C compiler flags for GNOME_VFS_SHARP_20, overriding pkg-config
1652
  GNOME_VFS_SHARP_20_LIBS
1653
              linker flags for GNOME_VFS_SHARP_20, overriding pkg-config
1654
  GTK_SHARP_20_CFLAGS
1655
              C compiler flags for GTK_SHARP_20, overriding pkg-config
1656
  GTK_SHARP_20_LIBS
1657
              linker flags for GTK_SHARP_20, overriding pkg-config
1658
  MONO_ADDINS_CFLAGS
1659
              C compiler flags for MONO_ADDINS, overriding pkg-config
1660
  MONO_ADDINS_LIBS
1661
              linker flags for MONO_ADDINS, overriding pkg-config
1662
  MONO_ADDINS_GUI_CFLAGS
1663
              C compiler flags for MONO_ADDINS_GUI, overriding pkg-config
1664
  MONO_ADDINS_GUI_LIBS
1665
              linker flags for MONO_ADDINS_GUI, overriding pkg-config
1666
  MONO_ADDINS_SETUP_CFLAGS
1667
              C compiler flags for MONO_ADDINS_SETUP, overriding pkg-config
1668
  MONO_ADDINS_SETUP_LIBS
1669
              linker flags for MONO_ADDINS_SETUP, overriding pkg-config
1 by Christopher James Halse Rogers
Import upstream version 0.3.2.1
1670
  NDESK_DBUS_10_CFLAGS
1671
              C compiler flags for NDESK_DBUS_10, overriding pkg-config
1672
  NDESK_DBUS_10_LIBS
1673
              linker flags for NDESK_DBUS_10, overriding pkg-config
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
1674
  NDESK_DBUS_GLIB_10_CFLAGS
1675
              C compiler flags for NDESK_DBUS_GLIB_10, overriding pkg-config
1676
  NDESK_DBUS_GLIB_10_LIBS
1677
              linker flags for NDESK_DBUS_GLIB_10, overriding pkg-config
1678
  NOTIFY_SHARP_CFLAGS
1679
              C compiler flags for NOTIFY_SHARP, overriding pkg-config
1680
  NOTIFY_SHARP_LIBS
1681
              linker flags for NOTIFY_SHARP, overriding pkg-config
1.1.5 by Christopher James Halse Rogers
Import upstream version 0.8.0
1682
  WNCK_SHARP_10_CFLAGS
1683
              C compiler flags for WNCK_SHARP_10, overriding pkg-config
1684
  WNCK_SHARP_10_LIBS
1685
              linker flags for WNCK_SHARP_10, overriding pkg-config
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
1686
  NUNIT_CFLAGS
1687
              C compiler flags for NUNIT, overriding pkg-config
1688
  NUNIT_LIBS  linker flags for NUNIT, overriding pkg-config
1 by Christopher James Halse Rogers
Import upstream version 0.3.2.1
1689
1690
Use these variables to override the choices made by `configure' or to help
1691
it to find libraries and programs with nonstandard names/locations.
1692
1693
_ACEOF
1694
ac_status=$?
1695
fi
1696
1697
if test "$ac_init_help" = "recursive"; then
1698
  # If there are subdirs, report their specific --help.
1699
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1700
    test -d "$ac_dir" || continue
1701
    ac_builddir=.
1702
1703
case "$ac_dir" in
1704
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1705
*)
1706
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1707
  # A ".." for each directory in $ac_dir_suffix.
1708
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1709
  case $ac_top_builddir_sub in
1710
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1711
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1712
  esac ;;
1713
esac
1714
ac_abs_top_builddir=$ac_pwd
1715
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1716
# for backward compatibility:
1717
ac_top_builddir=$ac_top_build_prefix
1718
1719
case $srcdir in
1720
  .)  # We are building in place.
1721
    ac_srcdir=.
1722
    ac_top_srcdir=$ac_top_builddir_sub
1723
    ac_abs_top_srcdir=$ac_pwd ;;
1724
  [\\/]* | ?:[\\/]* )  # Absolute name.
1725
    ac_srcdir=$srcdir$ac_dir_suffix;
1726
    ac_top_srcdir=$srcdir
1727
    ac_abs_top_srcdir=$srcdir ;;
1728
  *) # Relative name.
1729
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1730
    ac_top_srcdir=$ac_top_build_prefix$srcdir
1731
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1732
esac
1733
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1734
1735
    cd "$ac_dir" || { ac_status=$?; continue; }
1736
    # Check for guested configure.
1737
    if test -f "$ac_srcdir/configure.gnu"; then
1738
      echo &&
1739
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1740
    elif test -f "$ac_srcdir/configure"; then
1741
      echo &&
1742
      $SHELL "$ac_srcdir/configure" --help=recursive
1743
    else
1744
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1745
    fi || ac_status=$?
1746
    cd "$ac_pwd" || { ac_status=$?; break; }
1747
  done
1748
fi
1749
1750
test -n "$ac_init_help" && exit $ac_status
1751
if $ac_init_version; then
1752
  cat <<\_ACEOF
1.1.5 by Christopher James Halse Rogers
Import upstream version 0.8.0
1753
gnome-do configure 0.8.0
1 by Christopher James Halse Rogers
Import upstream version 0.3.2.1
1754
generated by GNU Autoconf 2.61
1755
1756
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1757
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1758
This configure script is free software; the Free Software Foundation
1759
gives unlimited permission to copy, distribute and modify it.
1760
_ACEOF
1761
  exit
1762
fi
1763
cat >config.log <<_ACEOF
1764
This file contains any messages produced by compilers while
1765
running configure, to aid debugging if configure makes a mistake.
1766
1.1.5 by Christopher James Halse Rogers
Import upstream version 0.8.0
1767
It was created by gnome-do $as_me 0.8.0, which was
1 by Christopher James Halse Rogers
Import upstream version 0.3.2.1
1768
generated by GNU Autoconf 2.61.  Invocation command line was
1769
1770
  $ $0 $@
1771
1772
_ACEOF
1773
exec 5>>config.log
1774
{
1775
cat <<_ASUNAME
1776
## --------- ##
1777
## Platform. ##
1778
## --------- ##
1779
1780
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1781
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1782
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1783
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1784
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1785
1786
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1787
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1788
1789
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1790
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1791
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1792
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1793
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1794
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1795
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1796
1797
_ASUNAME
1798
1799
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1800
for as_dir in $PATH
1801
do
1802
  IFS=$as_save_IFS
1803
  test -z "$as_dir" && as_dir=.
1804
  echo "PATH: $as_dir"
1805
done
1806
IFS=$as_save_IFS
1807
1808
} >&5
1809
1810
cat >&5 <<_ACEOF
1811
1812
1813
## ----------- ##
1814
## Core tests. ##
1815
## ----------- ##
1816
1817
_ACEOF
1818
1819
1820
# Keep a trace of the command line.
1821
# Strip out --no-create and --no-recursion so they do not pile up.
1822
# Strip out --silent because we don't want to record it for future runs.
1823
# Also quote any args containing shell meta-characters.
1824
# Make two passes to allow for proper duplicate-argument suppression.
1825
ac_configure_args=
1826
ac_configure_args0=
1827
ac_configure_args1=
1828
ac_must_keep_next=false
1829
for ac_pass in 1 2
1830
do
1831
  for ac_arg
1832
  do
1833
    case $ac_arg in
1834
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1835
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1836
    | -silent | --silent | --silen | --sile | --sil)
1837
      continue ;;
1838
    *\'*)
1839
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1840
    esac
1841
    case $ac_pass in
1842
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1843
    2)
1844
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1845
      if test $ac_must_keep_next = true; then
1846
	ac_must_keep_next=false # Got value, back to normal.
1847
      else
1848
	case $ac_arg in
1849
	  *=* | --config-cache | -C | -disable-* | --disable-* \
1850
	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1851
	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1852
	  | -with-* | --with-* | -without-* | --without-* | --x)
1853
	    case "$ac_configure_args0 " in
1854
	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1855
	    esac
1856
	    ;;
1857
	  -* ) ac_must_keep_next=true ;;
1858
	esac
1859
      fi
1860
      ac_configure_args="$ac_configure_args '$ac_arg'"
1861
      ;;
1862
    esac
1863
  done
1864
done
1865
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1866
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1867
1868
# When interrupted or exit'd, cleanup temporary files, and complete
1869
# config.log.  We remove comments because anyway the quotes in there
1870
# would cause problems or look ugly.
1871
# WARNING: Use '\'' to represent an apostrophe within the trap.
1872
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1873
trap 'exit_status=$?
1874
  # Save into config.log some information that might help in debugging.
1875
  {
1876
    echo
1877
1878
    cat <<\_ASBOX
1879
## ---------------- ##
1880
## Cache variables. ##
1881
## ---------------- ##
1882
_ASBOX
1883
    echo
1884
    # The following way of writing the cache mishandles newlines in values,
1885
(
1886
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1887
    eval ac_val=\$$ac_var
1888
    case $ac_val in #(
1889
    *${as_nl}*)
1890
      case $ac_var in #(
1891
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1892
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1893
      esac
1894
      case $ac_var in #(
1895
      _ | IFS | as_nl) ;; #(
1896
      *) $as_unset $ac_var ;;
1897
      esac ;;
1898
    esac
1899
  done
1900
  (set) 2>&1 |
1901
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1902
    *${as_nl}ac_space=\ *)
1903
      sed -n \
1904
	"s/'\''/'\''\\\\'\'''\''/g;
1905
	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1906
      ;; #(
1907
    *)
1908
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1909
      ;;
1910
    esac |
1911
    sort
1912
)
1913
    echo
1914
1915
    cat <<\_ASBOX
1916
## ----------------- ##
1917
## Output variables. ##
1918
## ----------------- ##
1919
_ASBOX
1920
    echo
1921
    for ac_var in $ac_subst_vars
1922
    do
1923
      eval ac_val=\$$ac_var
1924
      case $ac_val in
1925
      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1926
      esac
1927
      echo "$ac_var='\''$ac_val'\''"
1928
    done | sort
1929
    echo
1930
1931
    if test -n "$ac_subst_files"; then
1932
      cat <<\_ASBOX
1933
## ------------------- ##
1934
## File substitutions. ##
1935
## ------------------- ##
1936
_ASBOX
1937
      echo
1938
      for ac_var in $ac_subst_files
1939
      do
1940
	eval ac_val=\$$ac_var
1941
	case $ac_val in
1942
	*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1943
	esac
1944
	echo "$ac_var='\''$ac_val'\''"
1945
      done | sort
1946
      echo
1947
    fi
1948
1949
    if test -s confdefs.h; then
1950
      cat <<\_ASBOX
1951
## ----------- ##
1952
## confdefs.h. ##
1953
## ----------- ##
1954
_ASBOX
1955
      echo
1956
      cat confdefs.h
1957
      echo
1958
    fi
1959
    test "$ac_signal" != 0 &&
1960
      echo "$as_me: caught signal $ac_signal"
1961
    echo "$as_me: exit $exit_status"
1962
  } >&5
1963
  rm -f core *.core core.conftest.* &&
1964
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1965
    exit $exit_status
1966
' 0
1967
for ac_signal in 1 2 13 15; do
1968
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1969
done
1970
ac_signal=0
1971
1972
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1973
rm -f -r conftest* confdefs.h
1974
1975
# Predefined preprocessor variables.
1976
1977
cat >>confdefs.h <<_ACEOF
1978
#define PACKAGE_NAME "$PACKAGE_NAME"
1979
_ACEOF
1980
1981
1982
cat >>confdefs.h <<_ACEOF
1983
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1984
_ACEOF
1985
1986
1987
cat >>confdefs.h <<_ACEOF
1988
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1989
_ACEOF
1990
1991
1992
cat >>confdefs.h <<_ACEOF
1993
#define PACKAGE_STRING "$PACKAGE_STRING"
1994
_ACEOF
1995
1996
1997
cat >>confdefs.h <<_ACEOF
1998
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1999
_ACEOF
2000
2001
2002
# Let the site file select an alternate cache file if it wants to.
2003
# Prefer explicitly selected file to automatically selected ones.
2004
if test -n "$CONFIG_SITE"; then
2005
  set x "$CONFIG_SITE"
2006
elif test "x$prefix" != xNONE; then
2007
  set x "$prefix/share/config.site" "$prefix/etc/config.site"
2008
else
2009
  set x "$ac_default_prefix/share/config.site" \
2010
	"$ac_default_prefix/etc/config.site"
2011
fi
2012
shift
2013
for ac_site_file
2014
do
2015
  if test -r "$ac_site_file"; then
2016
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2017
echo "$as_me: loading site script $ac_site_file" >&6;}
2018
    sed 's/^/| /' "$ac_site_file" >&5
2019
    . "$ac_site_file"
2020
  fi
2021
done
2022
2023
if test -r "$cache_file"; then
2024
  # Some versions of bash will fail to source /dev/null (special
2025
  # files actually), so we avoid doing that.
2026
  if test -f "$cache_file"; then
2027
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2028
echo "$as_me: loading cache $cache_file" >&6;}
2029
    case $cache_file in
2030
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2031
      *)                      . "./$cache_file";;
2032
    esac
2033
  fi
2034
else
2035
  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2036
echo "$as_me: creating cache $cache_file" >&6;}
2037
  >$cache_file
2038
fi
2039
2040
# Check that the precious variables saved in the cache have kept the same
2041
# value.
2042
ac_cache_corrupted=false
2043
for ac_var in $ac_precious_vars; do
2044
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2045
  eval ac_new_set=\$ac_env_${ac_var}_set
2046
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2047
  eval ac_new_val=\$ac_env_${ac_var}_value
2048
  case $ac_old_set,$ac_new_set in
2049
    set,)
2050
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2051
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2052
      ac_cache_corrupted=: ;;
2053
    ,set)
2054
      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2055
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2056
      ac_cache_corrupted=: ;;
2057
    ,);;
2058
    *)
2059
      if test "x$ac_old_val" != "x$ac_new_val"; then
2060
	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2061
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2062
	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
2063
echo "$as_me:   former value:  $ac_old_val" >&2;}
2064
	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
2065
echo "$as_me:   current value: $ac_new_val" >&2;}
2066
	ac_cache_corrupted=:
2067
      fi;;
2068
  esac
2069
  # Pass precious variables to config.status.
2070
  if test "$ac_new_set" = set; then
2071
    case $ac_new_val in
2072
    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2073
    *) ac_arg=$ac_var=$ac_new_val ;;
2074
    esac
2075
    case " $ac_configure_args " in
2076
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2077
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2078
    esac
2079
  fi
2080
done
2081
if $ac_cache_corrupted; then
2082
  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2083
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2084
  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2085
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2086
   { (exit 1); exit 1; }; }
2087
fi
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
ac_ext=c
2114
ac_cpp='$CPP $CPPFLAGS'
2115
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2116
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2117
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2118
2119
2120
am__api_version='1.10'
2121
2122
ac_aux_dir=
2123
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2124
  if test -f "$ac_dir/install-sh"; then
2125
    ac_aux_dir=$ac_dir
2126
    ac_install_sh="$ac_aux_dir/install-sh -c"
2127
    break
2128
  elif test -f "$ac_dir/install.sh"; then
2129
    ac_aux_dir=$ac_dir
2130
    ac_install_sh="$ac_aux_dir/install.sh -c"
2131
    break
2132
  elif test -f "$ac_dir/shtool"; then
2133
    ac_aux_dir=$ac_dir
2134
    ac_install_sh="$ac_aux_dir/shtool install -c"
2135
    break
2136
  fi
2137
done
2138
if test -z "$ac_aux_dir"; then
2139
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2140
echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2141
   { (exit 1); exit 1; }; }
2142
fi
2143
2144
# These three variables are undocumented and unsupported,
2145
# and are intended to be withdrawn in a future Autoconf release.
2146
# They can cause serious problems if a builder's source tree is in a directory
2147
# whose full name contains unusual characters.
2148
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2149
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2150
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2151
2152
2153
# Find a good install program.  We prefer a C program (faster),
2154
# so one script is as good as another.  But avoid the broken or
2155
# incompatible versions:
2156
# SysV /etc/install, /usr/sbin/install
2157
# SunOS /usr/etc/install
2158
# IRIX /sbin/install
2159
# AIX /bin/install
2160
# AmigaOS /C/install, which installs bootblocks on floppy discs
2161
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2162
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2163
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2164
# OS/2's system install, which has a completely different semantic
2165
# ./install, which can be erroneously created by make from ./install.sh.
2166
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2167
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2168
if test -z "$INSTALL"; then
2169
if test "${ac_cv_path_install+set}" = set; then
2170
  echo $ECHO_N "(cached) $ECHO_C" >&6
2171
else
2172
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2173
for as_dir in $PATH
2174
do
2175
  IFS=$as_save_IFS
2176
  test -z "$as_dir" && as_dir=.
2177
  # Account for people who put trailing slashes in PATH elements.
2178
case $as_dir/ in
2179
  ./ | .// | /cC/* | \
2180
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2181
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2182
  /usr/ucb/* ) ;;
2183
  *)
2184
    # OSF1 and SCO ODT 3.0 have their own names for install.
2185
    # Don't use installbsd from OSF since it installs stuff as root
2186
    # by default.
2187
    for ac_prog in ginstall scoinst install; do
2188
      for ac_exec_ext in '' $ac_executable_extensions; do
2189
	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2190
	  if test $ac_prog = install &&
2191
	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2192
	    # AIX install.  It has an incompatible calling convention.
2193
	    :
2194
	  elif test $ac_prog = install &&
2195
	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2196
	    # program-specific install script used by HP pwplus--don't use.
2197
	    :
2198
	  else
2199
	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2200
	    break 3
2201
	  fi
2202
	fi
2203
      done
2204
    done
2205
    ;;
2206
esac
2207
done
2208
IFS=$as_save_IFS
2209
2210
2211
fi
2212
  if test "${ac_cv_path_install+set}" = set; then
2213
    INSTALL=$ac_cv_path_install
2214
  else
2215
    # As a last resort, use the slow shell script.  Don't cache a
2216
    # value for INSTALL within a source directory, because that will
2217
    # break other packages using the cache if that directory is
2218
    # removed, or if the value is a relative name.
2219
    INSTALL=$ac_install_sh
2220
  fi
2221
fi
2222
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
2223
echo "${ECHO_T}$INSTALL" >&6; }
2224
2225
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2226
# It thinks the first close brace ends the variable substitution.
2227
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2228
2229
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2230
2231
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2232
2233
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2234
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2235
# Just in case
2236
sleep 1
2237
echo timestamp > conftest.file
2238
# Do `set' in a subshell so we don't clobber the current shell's
2239
# arguments.  Must try -L first in case configure is actually a
2240
# symlink; some systems play weird games with the mod time of symlinks
2241
# (eg FreeBSD returns the mod time of the symlink's containing
2242
# directory).
2243
if (
2244
   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2245
   if test "$*" = "X"; then
2246
      # -L didn't work.
2247
      set X `ls -t $srcdir/configure conftest.file`
2248
   fi
2249
   rm -f conftest.file
2250
   if test "$*" != "X $srcdir/configure conftest.file" \
2251
      && test "$*" != "X conftest.file $srcdir/configure"; then
2252
2253
      # If neither matched, then we have a broken ls.  This can happen
2254
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2255
      # broken ls alias from the environment.  This has actually
2256
      # happened.  Such a system could not be considered "sane".
2257
      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
2258
alias in your environment" >&5
2259
echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
2260
alias in your environment" >&2;}
2261
   { (exit 1); exit 1; }; }
2262
   fi
2263
2264
   test "$2" = conftest.file
2265
   )
2266
then
2267
   # Ok.
2268
   :
2269
else
2270
   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2271
Check your system clock" >&5
2272
echo "$as_me: error: newly created file is older than distributed files!
2273
Check your system clock" >&2;}
2274
   { (exit 1); exit 1; }; }
2275
fi
2276
{ echo "$as_me:$LINENO: result: yes" >&5
2277
echo "${ECHO_T}yes" >&6; }
2278
test "$program_prefix" != NONE &&
2279
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2280
# Use a double $ so make ignores it.
2281
test "$program_suffix" != NONE &&
2282
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2283
# Double any \ or $.  echo might interpret backslashes.
2284
# By default was `s,x,x', remove it if useless.
2285
cat <<\_ACEOF >conftest.sed
2286
s/[\\$]/&&/g;s/;s,x,x,$//
2287
_ACEOF
2288
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2289
rm -f conftest.sed
2290
2291
# expand $ac_aux_dir to an absolute path
2292
am_aux_dir=`cd $ac_aux_dir && pwd`
2293
2294
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2295
# Use eval to expand $SHELL
2296
if eval "$MISSING --run true"; then
2297
  am_missing_run="$MISSING --run "
2298
else
2299
  am_missing_run=
2300
  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2301
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2302
fi
2303
2304
{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2305
echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2306
if test -z "$MKDIR_P"; then
2307
  if test "${ac_cv_path_mkdir+set}" = set; then
2308
  echo $ECHO_N "(cached) $ECHO_C" >&6
2309
else
2310
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2311
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2312
do
2313
  IFS=$as_save_IFS
2314
  test -z "$as_dir" && as_dir=.
2315
  for ac_prog in mkdir gmkdir; do
2316
	 for ac_exec_ext in '' $ac_executable_extensions; do
2317
	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2318
	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2319
	     'mkdir (GNU coreutils) '* | \
2320
	     'mkdir (coreutils) '* | \
2321
	     'mkdir (fileutils) '4.1*)
2322
	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2323
	       break 3;;
2324
	   esac
2325
	 done
2326
       done
2327
done
2328
IFS=$as_save_IFS
2329
2330
fi
2331
2332
  if test "${ac_cv_path_mkdir+set}" = set; then
2333
    MKDIR_P="$ac_cv_path_mkdir -p"
2334
  else
2335
    # As a last resort, use the slow shell script.  Don't cache a
2336
    # value for MKDIR_P within a source directory, because that will
2337
    # break other packages using the cache if that directory is
2338
    # removed, or if the value is a relative name.
2339
    test -d ./--version && rmdir ./--version
2340
    MKDIR_P="$ac_install_sh -d"
2341
  fi
2342
fi
2343
{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2344
echo "${ECHO_T}$MKDIR_P" >&6; }
2345
2346
mkdir_p="$MKDIR_P"
2347
case $mkdir_p in
2348
  [\\/$]* | ?:[\\/]*) ;;
2349
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2350
esac
2351
2352
for ac_prog in gawk mawk nawk awk
2353
do
2354
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2355
set dummy $ac_prog; ac_word=$2
2356
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2357
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2358
if test "${ac_cv_prog_AWK+set}" = set; then
2359
  echo $ECHO_N "(cached) $ECHO_C" >&6
2360
else
2361
  if test -n "$AWK"; then
2362
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2363
else
2364
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2365
for as_dir in $PATH
2366
do
2367
  IFS=$as_save_IFS
2368
  test -z "$as_dir" && as_dir=.
2369
  for ac_exec_ext in '' $ac_executable_extensions; do
2370
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2371
    ac_cv_prog_AWK="$ac_prog"
2372
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2373
    break 2
2374
  fi
2375
done
2376
done
2377
IFS=$as_save_IFS
2378
2379
fi
2380
fi
2381
AWK=$ac_cv_prog_AWK
2382
if test -n "$AWK"; then
2383
  { echo "$as_me:$LINENO: result: $AWK" >&5
2384
echo "${ECHO_T}$AWK" >&6; }
2385
else
2386
  { echo "$as_me:$LINENO: result: no" >&5
2387
echo "${ECHO_T}no" >&6; }
2388
fi
2389
2390
2391
  test -n "$AWK" && break
2392
done
2393
2394
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2395
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2396
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2397
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2398
  echo $ECHO_N "(cached) $ECHO_C" >&6
2399
else
2400
  cat >conftest.make <<\_ACEOF
2401
SHELL = /bin/sh
2402
all:
2403
	@echo '@@@%%%=$(MAKE)=@@@%%%'
2404
_ACEOF
2405
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2406
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2407
  *@@@%%%=?*=@@@%%%*)
2408
    eval ac_cv_prog_make_${ac_make}_set=yes;;
2409
  *)
2410
    eval ac_cv_prog_make_${ac_make}_set=no;;
2411
esac
2412
rm -f conftest.make
2413
fi
2414
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2415
  { echo "$as_me:$LINENO: result: yes" >&5
2416
echo "${ECHO_T}yes" >&6; }
2417
  SET_MAKE=
2418
else
2419
  { echo "$as_me:$LINENO: result: no" >&5
2420
echo "${ECHO_T}no" >&6; }
2421
  SET_MAKE="MAKE=${MAKE-make}"
2422
fi
2423
2424
rm -rf .tst 2>/dev/null
2425
mkdir .tst 2>/dev/null
2426
if test -d .tst; then
2427
  am__leading_dot=.
2428
else
2429
  am__leading_dot=_
2430
fi
2431
rmdir .tst 2>/dev/null
2432
2433
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2434
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2435
  # is not polluted with repeated "-I."
2436
  am__isrc=' -I$(srcdir)'
2437
  # test to see if srcdir already configured
2438
  if test -f $srcdir/config.status; then
2439
    { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2440
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2441
   { (exit 1); exit 1; }; }
2442
  fi
2443
fi
2444
2445
# test whether we have cygpath
2446
if test -z "$CYGPATH_W"; then
2447
  if (cygpath --version) >/dev/null 2>/dev/null; then
2448
    CYGPATH_W='cygpath -w'
2449
  else
2450
    CYGPATH_W=echo
2451
  fi
2452
fi
2453
2454
2455
# Define the identity of the package.
2456
 PACKAGE='gnome-do'
1.1.5 by Christopher James Halse Rogers
Import upstream version 0.8.0
2457
 VERSION='0.8.0'
1 by Christopher James Halse Rogers
Import upstream version 0.3.2.1
2458
2459
2460
cat >>confdefs.h <<_ACEOF
2461
#define PACKAGE "$PACKAGE"
2462
_ACEOF
2463
2464
2465
cat >>confdefs.h <<_ACEOF
2466
#define VERSION "$VERSION"
2467
_ACEOF
2468
2469
# Some tools Automake needs.
2470
2471
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2472
2473
2474
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2475
2476
2477
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2478
2479
2480
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2481
2482
2483
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2484
2485
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2486
2487
# Installed binaries are usually stripped using `strip' when the user
2488
# run `make install-strip'.  However `strip' might not be the right
2489
# tool to use in cross-compilation environments, therefore Automake
2490
# will honor the `STRIP' environment variable to overrule this program.
2491
if test "$cross_compiling" != no; then
2492
  if test -n "$ac_tool_prefix"; then
2493
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2494
set dummy ${ac_tool_prefix}strip; ac_word=$2
2495
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2496
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2497
if test "${ac_cv_prog_STRIP+set}" = set; then
2498
  echo $ECHO_N "(cached) $ECHO_C" >&6
2499
else
2500
  if test -n "$STRIP"; then
2501
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2502
else
2503
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2504
for as_dir in $PATH
2505
do
2506
  IFS=$as_save_IFS
2507
  test -z "$as_dir" && as_dir=.
2508
  for ac_exec_ext in '' $ac_executable_extensions; do
2509
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2510
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2511
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2512
    break 2
2513
  fi
2514
done
2515
done
2516
IFS=$as_save_IFS
2517
2518
fi
2519
fi
2520
STRIP=$ac_cv_prog_STRIP
2521
if test -n "$STRIP"; then
2522
  { echo "$as_me:$LINENO: result: $STRIP" >&5
2523
echo "${ECHO_T}$STRIP" >&6; }
2524
else
2525
  { echo "$as_me:$LINENO: result: no" >&5
2526
echo "${ECHO_T}no" >&6; }
2527
fi
2528
2529
2530
fi
2531
if test -z "$ac_cv_prog_STRIP"; then
2532
  ac_ct_STRIP=$STRIP
2533
  # Extract the first word of "strip", so it can be a program name with args.
2534
set dummy strip; ac_word=$2
2535
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2536
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2537
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2538
  echo $ECHO_N "(cached) $ECHO_C" >&6
2539
else
2540
  if test -n "$ac_ct_STRIP"; then
2541
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2542
else
2543
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2544
for as_dir in $PATH
2545
do
2546
  IFS=$as_save_IFS
2547
  test -z "$as_dir" && as_dir=.
2548
  for ac_exec_ext in '' $ac_executable_extensions; do
2549
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2550
    ac_cv_prog_ac_ct_STRIP="strip"
2551
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2552
    break 2
2553
  fi
2554
done
2555
done
2556
IFS=$as_save_IFS
2557
2558
fi
2559
fi
2560
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2561
if test -n "$ac_ct_STRIP"; then
2562
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2563
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2564
else
2565
  { echo "$as_me:$LINENO: result: no" >&5
2566
echo "${ECHO_T}no" >&6; }
2567
fi
2568
2569
  if test "x$ac_ct_STRIP" = x; then
2570
    STRIP=":"
2571
  else
2572
    case $cross_compiling:$ac_tool_warned in
2573
yes:)
2574
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2575
whose name does not start with the host triplet.  If you think this
2576
configuration is useful to you, please write to autoconf@gnu.org." >&5
2577
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2578
whose name does not start with the host triplet.  If you think this
2579
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2580
ac_tool_warned=yes ;;
2581
esac
2582
    STRIP=$ac_ct_STRIP
2583
  fi
2584
else
2585
  STRIP="$ac_cv_prog_STRIP"
2586
fi
2587
2588
fi
2589
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2590
2591
# We need awk for the "check" target.  The system "awk" is bad on
2592
# some platforms.
2593
# Always define AMTAR for backward compatibility.
2594
2595
AMTAR=${AMTAR-"${am_missing_run}tar"}
2596
1.1.5 by Christopher James Halse Rogers
Import upstream version 0.8.0
2597
2598
{ echo "$as_me:$LINENO: checking how to create a pax tar archive" >&5
2599
echo $ECHO_N "checking how to create a pax tar archive... $ECHO_C" >&6; }
2600
# Loop over all known methods to create a tar archive until one works.
2601
_am_tools='gnutar  pax cpio none'
2602
_am_tools=${am_cv_prog_tar_pax-$_am_tools}
2603
# Do not fold the above two line into one, because Tru64 sh and
2604
# Solaris sh will not grok spaces in the rhs of `-'.
2605
for _am_tool in $_am_tools
2606
do
2607
  case $_am_tool in
2608
  gnutar)
2609
    for _am_tar in tar gnutar gtar;
2610
    do
2611
      { echo "$as_me:$LINENO: $_am_tar --version" >&5
2612
   ($_am_tar --version) >&5 2>&5
2613
   ac_status=$?
2614
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2615
   (exit $ac_status); } && break
2616
    done
2617
    am__tar="$_am_tar --format=posix -chf - "'"$$tardir"'
2618
    am__tar_="$_am_tar --format=posix -chf - "'"$tardir"'
2619
    am__untar="$_am_tar -xf -"
2620
    ;;
2621
  plaintar)
2622
    # Must skip GNU tar: if it does not support --format= it doesn't create
2623
    # ustar tarball either.
2624
    (tar --version) >/dev/null 2>&1 && continue
2625
    am__tar='tar chf - "$$tardir"'
2626
    am__tar_='tar chf - "$tardir"'
2627
    am__untar='tar xf -'
2628
    ;;
2629
  pax)
2630
    am__tar='pax -L -x pax -w "$$tardir"'
2631
    am__tar_='pax -L -x pax -w "$tardir"'
2632
    am__untar='pax -r'
2633
    ;;
2634
  cpio)
2635
    am__tar='find "$$tardir" -print | cpio -o -H pax -L'
2636
    am__tar_='find "$tardir" -print | cpio -o -H pax -L'
2637
    am__untar='cpio -i -H pax -d'
2638
    ;;
2639
  none)
2640
    am__tar=false
2641
    am__tar_=false
2642
    am__untar=false
2643
    ;;
2644
  esac
2645
2646
  # If the value was cached, stop now.  We just wanted to have am__tar
2647
  # and am__untar set.
2648
  test -n "${am_cv_prog_tar_pax}" && break
2649
2650
  # tar/untar a dummy directory, and stop if the command works
2651
  rm -rf conftest.dir
2652
  mkdir conftest.dir
2653
  echo GrepMe > conftest.dir/file
2654
  { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
2655
   (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
2656
   ac_status=$?
2657
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2658
   (exit $ac_status); }
2659
  rm -rf conftest.dir
2660
  if test -s conftest.tar; then
2661
    { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
2662
   ($am__untar <conftest.tar) >&5 2>&5
2663
   ac_status=$?
2664
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2665
   (exit $ac_status); }
2666
    grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
2667
  fi
2668
done
2669
rm -rf conftest.dir
2670
2671
if test "${am_cv_prog_tar_pax+set}" = set; then
2672
  echo $ECHO_N "(cached) $ECHO_C" >&6
2673
else
2674
  am_cv_prog_tar_pax=$_am_tool
2675
fi
2676
2677
{ echo "$as_me:$LINENO: result: $am_cv_prog_tar_pax" >&5
2678
echo "${ECHO_T}$am_cv_prog_tar_pax" >&6; }
1 by Christopher James Halse Rogers
Import upstream version 0.3.2.1
2679
2680
2681
2682
2683
2684
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
2685
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
2686
2687
1.1.4 by Christopher James Halse Rogers
Import upstream version 0.6.1.0
2688
2689
  { echo "$as_me:$LINENO: checking whether NLS is requested" >&5
2690
echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6; }
2691
    # Check whether --enable-nls was given.
2692
if test "${enable_nls+set}" = set; then
2693
  enableval=$enable_nls; USE_NLS=$enableval
2694
else
2695
  USE_NLS=yes
2696
fi
2697
2698
  { echo "$as_me:$LINENO: result: $USE_NLS" >&5
2699
echo "${ECHO_T}$USE_NLS" >&6; }
2700
2701
1 by Christopher James Halse Rogers
Import upstream version 0.3.2.1
2702
DEPDIR="${am__leading_dot}deps"
2703
2704
ac_config_commands="$ac_config_commands depfiles"
2705
2706
2707
am_make=${MAKE-make}
2708
cat > confinc << 'END'
2709
am__doit:
2710
	@echo done
2711
.PHONY: am__doit
2712
END
2713
# If we don't find an include directive, just comment out the code.
2714
{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2715
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
2716
am__include="#"
2717
am__quote=
2718
_am_result=none
2719
# First try GNU make style include.
2720
echo "include confinc" > confmf
2721
# We grep out `Entering directory' and `Leaving directory'
2722
# messages which can occur if `w' ends up in MAKEFLAGS.
2723
# In particular we don't look at `^make:' because GNU make might
2724
# be invoked under some other name (usually "gmake"), in which
2725
# case it prints its new name instead of `make'.
2726
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2727
   am__include=include
2728
   am__quote=
2729
   _am_result=GNU
2730
fi
2731
# Now try BSD make style include.
2732
if test "$am__include" = "#"; then
2733
   echo '.include "confinc"' > confmf
2734
   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2735
      am__include=.include
2736
      am__quote="\""
2737
      _am_result=BSD
2738
   fi
2739
fi
2740
2741
2742
{ echo "$as_me:$LINENO: result: $_am_result" >&5
2743
echo "${ECHO_T}$_am_result" >&6; }
2744
rm -f confinc confmf
2745
2746
# Check whether --enable-dependency-tracking was given.
2747
if test "${enable_dependency_tracking+set}" = set; then
2748
  enableval=$enable_dependency_tracking;
2749
fi
2750
2751
if test "x$enable_dependency_tracking" != xno; then
2752
  am_depcomp="$ac_aux_dir/depcomp"
2753
  AMDEPBACKSLASH='\'
2754
fi
2755
 if test "x$enable_dependency_tracking" != xno; then
2756
  AMDEP_TRUE=
2757
  AMDEP_FALSE='#'
2758
else
2759
  AMDEP_TRUE='#'
2760
  AMDEP_FALSE=
2761
fi
2762
2763
2764
ac_ext=c
2765
ac_cpp='$CPP $CPPFLAGS'
2766
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2767
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2768
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2769
if test -n "$ac_tool_prefix"; then
2770
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2771
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2772
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2773
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2774
if test "${ac_cv_prog_CC+set}" = set; then
2775
  echo $ECHO_N "(cached) $ECHO_C" >&6
2776
else
2777
  if test -n "$CC"; then
2778
  ac_cv_prog_CC="$CC" # Let the user override the test.
2779
else
2780
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2781
for as_dir in $PATH
2782
do
2783
  IFS=$as_save_IFS
2784
  test -z "$as_dir" && as_dir=.
2785
  for ac_exec_ext in '' $ac_executable_extensions; do
2786
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2787
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2788
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2789
    break 2
2790
  fi
2791
done
2792
done
2793
IFS=$as_save_IFS
2794
2795
fi
2796
fi
2797
CC=$ac_cv_prog_CC
2798
if test -n "$CC"; then
2799
  { echo "$as_me:$LINENO: result: $CC" >&5
2800
echo "${ECHO_T}$CC" >&6; }
2801
else
2802
  { echo "$as_me:$LINENO: result: no" >&5
2803
echo "${ECHO_T}no" >&6; }
2804
fi
2805
2806
2807
fi
2808
if test -z "$ac_cv_prog_CC"; then
2809
  ac_ct_CC=$CC
2810
  # Extract the first word of "gcc", so it can be a program name with args.
2811
set dummy gcc; ac_word=$2
2812
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2813
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2814
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2815
  echo $ECHO_N "(cached) $ECHO_C" >&6
2816
else
2817
  if test -n "$ac_ct_CC"; then
2818
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2819
else
2820
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2821
for as_dir in $PATH
2822
do
2823
  IFS=$as_save_IFS
2824
  test -z "$as_dir" && as_dir=.
2825
  for ac_exec_ext in '' $ac_executable_extensions; do
2826
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2827
    ac_cv_prog_ac_ct_CC="gcc"
2828
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2829
    break 2
2830
  fi
2831
done
2832
done
2833
IFS=$as_save_IFS
2834
2835
fi
2836
fi
2837
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2838
if test -n "$ac_ct_CC"; then
2839
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2840
echo "${ECHO_T}$ac_ct_CC" >&6; }
2841
else
2842
  { echo "$as_me:$LINENO: result: no" >&5
2843
echo "${ECHO_T}no" >&6; }
2844
fi
2845
2846
  if test "x$ac_ct_CC" = x; then
2847
    CC=""
2848
  else
2849
    case $cross_compiling:$ac_tool_warned in
2850
yes:)
2851
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2852
whose name does not start with the host triplet.  If you think this
2853
configuration is useful to you, please write to autoconf@gnu.org." >&5
2854
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2855
whose name does not start with the host triplet.  If you think this
2856
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2857
ac_tool_warned=yes ;;
2858
esac
2859
    CC=$ac_ct_CC
2860
  fi
2861
else
2862
  CC="$ac_cv_prog_CC"
2863
fi
2864
2865
if test -z "$CC"; then
2866
          if test -n "$ac_tool_prefix"; then
2867
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2868
set dummy ${ac_tool_prefix}cc; ac_word=$2
2869
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2870
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2871
if test "${ac_cv_prog_CC+set}" = set; then
2872
  echo $ECHO_N "(cached) $ECHO_C" >&6
2873
else
2874
  if test -n "$CC"; then
2875
  ac_cv_prog_CC="$CC" # Let the user override the test.
2876
else
2877
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2878
for as_dir in $PATH
2879
do
2880
  IFS=$as_save_IFS
2881
  test -z "$as_dir" && as_dir=.
2882
  for ac_exec_ext in '' $ac_executable_extensions; do
2883
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2884
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2885
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2886
    break 2
2887
  fi
2888
done
2889
done
2890
IFS=$as_save_IFS
2891
2892
fi
2893
fi
2894
CC=$ac_cv_prog_CC
2895
if test -n "$CC"; then
2896
  { echo "$as_me:$LINENO: result: $CC" >&5
2897
echo "${ECHO_T}$CC" >&6; }
2898
else
2899
  { echo "$as_me:$LINENO: result: no" >&5
2900
echo "${ECHO_T}no" >&6; }
2901
fi
2902
2903
2904
  fi
2905
fi
2906
if test -z "$CC"; then
2907
  # Extract the first word of "cc", so it can be a program name with args.
2908
set dummy cc; ac_word=$2
2909
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2910
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2911
if test "${ac_cv_prog_CC+set}" = set; then
2912
  echo $ECHO_N "(cached) $ECHO_C" >&6
2913
else
2914
  if test -n "$CC"; then
2915
  ac_cv_prog_CC="$CC" # Let the user override the test.
2916
else
2917
  ac_prog_rejected=no
2918
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2919
for as_dir in $PATH
2920
do
2921
  IFS=$as_save_IFS
2922
  test -z "$as_dir" && as_dir=.
2923
  for ac_exec_ext in '' $ac_executable_extensions; do
2924
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2925
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2926
       ac_prog_rejected=yes
2927
       continue
2928
     fi
2929
    ac_cv_prog_CC="cc"
2930
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2931
    break 2
2932
  fi
2933
done
2934
done
2935
IFS=$as_save_IFS
2936
2937
if test $ac_prog_rejected = yes; then
2938
  # We found a bogon in the path, so make sure we never use it.
2939
  set dummy $ac_cv_prog_CC
2940
  shift
2941
  if test $# != 0; then
2942
    # We chose a different compiler from the bogus one.
2943
    # However, it has the same basename, so the bogon will be chosen
2944
    # first if we set CC to just the basename; use the full file name.
2945
    shift
2946
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2947
  fi
2948
fi
2949
fi
2950
fi
2951
CC=$ac_cv_prog_CC
2952
if test -n "$CC"; then
2953
  { echo "$as_me:$LINENO: result: $CC" >&5
2954
echo "${ECHO_T}$CC" >&6; }
2955
else
2956
  { echo "$as_me:$LINENO: result: no" >&5
2957
echo "${ECHO_T}no" >&6; }
2958
fi
2959
2960
2961
fi
2962
if test -z "$CC"; then
2963
  if test -n "$ac_tool_prefix"; then
2964
  for ac_prog in cl.exe
2965
  do
2966
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2967
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2968
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2969
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2970
if test "${ac_cv_prog_CC+set}" = set; then
2971
  echo $ECHO_N "(cached) $ECHO_C" >&6
2972
else
2973
  if test -n "$CC"; then
2974
  ac_cv_prog_CC="$CC" # Let the user override the test.
2975
else
2976
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2977
for as_dir in $PATH
2978
do
2979
  IFS=$as_save_IFS
2980
  test -z "$as_dir" && as_dir=.
2981
  for ac_exec_ext in '' $ac_executable_extensions; do
2982
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2983
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2984
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2985
    break 2
2986
  fi
2987
done
2988
done
2989
IFS=$as_save_IFS
2990
2991
fi
2992
fi
2993
CC=$ac_cv_prog_CC
2994
if test -n "$CC"; then
2995
  { echo "$as_me:$LINENO: result: $CC" >&5
2996
echo "${ECHO_T}$CC" >&6; }
2997
else
2998
  { echo "$as_me:$LINENO: result: no" >&5
2999
echo "${ECHO_T}no" >&6; }
3000
fi
3001
3002
3003
    test -n "$CC" && break
3004
  done
3005
fi
3006
if test -z "$CC"; then
3007
  ac_ct_CC=$CC
3008
  for ac_prog in cl.exe
3009
do
3010
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3011
set dummy $ac_prog; ac_word=$2
3012
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3013
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3014
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3015
  echo $ECHO_N "(cached) $ECHO_C" >&6
3016
else
3017
  if test -n "$ac_ct_CC"; then
3018
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3019
else
3020
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3021
for as_dir in $PATH
3022
do
3023
  IFS=$as_save_IFS
3024
  test -z "$as_dir" && as_dir=.
3025
  for ac_exec_ext in '' $ac_executable_extensions; do
3026
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3027
    ac_cv_prog_ac_ct_CC="$ac_prog"
3028
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3029
    break 2
3030
  fi
3031
done
3032
done
3033
IFS=$as_save_IFS
3034
3035
fi
3036
fi
3037
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3038
if test -n "$ac_ct_CC"; then
3039
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3040
echo "${ECHO_T}$ac_ct_CC" >&6; }
3041
else
3042
  { echo "$as_me:$LINENO: result: no" >&5
3043
echo "${ECHO_T}no" >&6; }
3044
fi
3045
3046
3047
  test -n "$ac_ct_CC" && break
3048
done
3049
3050
  if test "x$ac_ct_CC" = x; then
3051
    CC=""
3052
  else
3053
    case $cross_compiling:$ac_tool_warned in
3054
yes:)
3055
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3056
whose name does not start with the host triplet.  If you think this
3057
configuration is useful to you, please write to autoconf@gnu.org." >&5
3058
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3059
whose name does not start with the host triplet.  If you think this
3060
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3061
ac_tool_warned=yes ;;
3062
esac
3063
    CC=$ac_ct_CC
3064
  fi
3065
fi
3066
3067
fi
3068
3069
3070
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3071
See \`config.log' for more details." >&5
3072
echo "$as_me: error: no acceptable C compiler found in \$PATH
3073
See \`config.log' for more details." >&2;}
3074
   { (exit 1); exit 1; }; }
3075
3076
# Provide some information about the compiler.
3077
echo "$as_me:$LINENO: checking for C compiler version" >&5
3078
ac_compiler=`set X $ac_compile; echo $2`
3079
{ (ac_try="$ac_compiler --version >&5"
3080
case "(($ac_try" in
3081
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3082
  *) ac_try_echo=$ac_try;;
3083
esac
3084
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3085
  (eval "$ac_compiler --version >&5") 2>&5
3086
  ac_status=$?
3087
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3088
  (exit $ac_status); }
3089
{ (ac_try="$ac_compiler -v >&5"
3090
case "(($ac_try" in
3091
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3092
  *) ac_try_echo=$ac_try;;
3093
esac
3094
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3095
  (eval "$ac_compiler -v >&5") 2>&5
3096
  ac_status=$?
3097
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3098
  (exit $ac_status); }
3099
{ (ac_try="$ac_compiler -V >&5"
3100
case "(($ac_try" in
3101
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3102
  *) ac_try_echo=$ac_try;;
3103
esac
3104
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3105
  (eval "$ac_compiler -V >&5") 2>&5
3106
  ac_status=$?
3107
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3108
  (exit $ac_status); }
3109
3110
cat >conftest.$ac_ext <<_ACEOF
3111
/* confdefs.h.  */
3112
_ACEOF
3113
cat confdefs.h >>conftest.$ac_ext
3114
cat >>conftest.$ac_ext <<_ACEOF
3115
/* end confdefs.h.  */
3116
3117
int
3118
main ()
3119
{
3120
3121
  ;
3122
  return 0;
3123
}
3124
_ACEOF
3125
ac_clean_files_save=$ac_clean_files
3126
ac_clean_files="$ac_clean_files a.out a.exe b.out"
3127
# Try to create an executable without -o first, disregard a.out.
3128
# It will help us diagnose broken compilers, and finding out an intuition
3129
# of exeext.
3130
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3131
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
3132
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3133
#
3134
# List of possible output files, starting from the most likely.
3135
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
3136
# only as a last resort.  b.out is created by i960 compilers.
3137
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
3138
#
3139
# The IRIX 6 linker writes into existing files which may not be
3140
# executable, retaining their permissions.  Remove them first so a
3141
# subsequent execution test works.
3142
ac_rmfiles=
3143
for ac_file in $ac_files
3144
do
3145
  case $ac_file in
3146
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3147
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3148
  esac
3149
done
3150
rm -f $ac_rmfiles
3151
3152
if { (ac_try="$ac_link_default"
3153
case "(($ac_try" in
3154
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3155
  *) ac_try_echo=$ac_try;;
3156
esac
3157
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3158
  (eval "$ac_link_default") 2>&5
3159
  ac_status=$?
3160
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3161
  (exit $ac_status); }; then
3162
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3163
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3164
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3165
# so that the user can short-circuit this test for compilers unknown to
3166
# Autoconf.
3167
for ac_file in $ac_files ''
3168
do
3169
  test -f "$ac_file" || continue
3170
  case $ac_file in
3171
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
3172
	;;
3173
    [ab].out )
3174
	# We found the default executable, but exeext='' is most
3175
	# certainly right.
3176
	break;;
3177
    *.* )
3178
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3179
	then :; else
3180
	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3181
	fi
3182
	# We set ac_cv_exeext here because the later test for it is not
3183
	# safe: cross compilers may not add the suffix if given an `-o'
3184
	# argument, so we may need to know it at that point already.
3185
	# Even if this section looks crufty: it has the advantage of
3186
	# actually working.
3187
	break;;
3188
    * )
3189
	break;;
3190
  esac
3191
done
3192
test "$ac_cv_exeext" = no && ac_cv_exeext=
3193
3194
else
3195
  ac_file=''
3196
fi
3197
3198
{ echo "$as_me:$LINENO: result: $ac_file" >&5
3199
echo "${ECHO_T}$ac_file" >&6; }
3200
if test -z "$ac_file"; then
3201
  echo "$as_me: failed program was:" >&5
3202
sed 's/^/| /' conftest.$ac_ext >&5
3203
3204
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
3205
See \`config.log' for more details." >&5
3206
echo "$as_me: error: C compiler cannot create executables
3207
See \`config.log' for more details." >&2;}
3208
   { (exit 77); exit 77; }; }
3209
fi
3210
3211
ac_exeext=$ac_cv_exeext
3212
3213
# Check that the compiler produces executables we can run.  If not, either
3214
# the compiler is broken, or we cross compile.
3215
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3216
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
3217
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3218
# If not cross compiling, check that we can run a simple program.
3219
if test "$cross_compiling" != yes; then
3220
  if { ac_try='./$ac_file'
3221
  { (case "(($ac_try" in
3222
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3223
  *) ac_try_echo=$ac_try;;
3224
esac
3225
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3226
  (eval "$ac_try") 2>&5
3227
  ac_status=$?
3228
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3229
  (exit $ac_status); }; }; then
3230
    cross_compiling=no
3231
  else
3232
    if test "$cross_compiling" = maybe; then
3233
	cross_compiling=yes
3234
    else
3235
	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3236
If you meant to cross compile, use \`--host'.
3237
See \`config.log' for more details." >&5
3238
echo "$as_me: error: cannot run C compiled programs.
3239
If you meant to cross compile, use \`--host'.
3240
See \`config.log' for more details." >&2;}
3241
   { (exit 1); exit 1; }; }
3242
    fi
3243
  fi
3244
fi
3245
{ echo "$as_me:$LINENO: result: yes" >&5
3246
echo "${ECHO_T}yes" >&6; }
3247
3248
rm -f a.out a.exe conftest$ac_cv_exeext b.out
3249
ac_clean_files=$ac_clean_files_save
3250
# Check that the compiler produces executables we can run.  If not, either
3251
# the compiler is broken, or we cross compile.
3252
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3253
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3254
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
3255
echo "${ECHO_T}$cross_compiling" >&6; }
3256
3257
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
3258
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3259
if { (ac_try="$ac_link"
3260
case "(($ac_try" in
3261
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3262
  *) ac_try_echo=$ac_try;;
3263
esac
3264
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3265
  (eval "$ac_link") 2>&5
3266
  ac_status=$?
3267
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3268
  (exit $ac_status); }; then
3269
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3270
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3271
# work properly (i.e., refer to `conftest.exe'), while it won't with
3272
# `rm'.
3273
for ac_file in conftest.exe conftest conftest.*; do
3274
  test -f "$ac_file" || continue
3275
  case $ac_file in
3276
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3277
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3278
	  break;;
3279
    * ) break;;
3280
  esac
3281
done
3282
else
3283
  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3284
See \`config.log' for more details." >&5
3285
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3286
See \`config.log' for more details." >&2;}
3287
   { (exit 1); exit 1; }; }
3288
fi
3289
3290
rm -f conftest$ac_cv_exeext
3291
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3292
echo "${ECHO_T}$ac_cv_exeext" >&6; }
3293
3294
rm -f conftest.$ac_ext
3295
EXEEXT=$ac_cv_exeext
3296
ac_exeext=$EXEEXT
3297
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
3298
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3299
if test "${ac_cv_objext+set}" = set; then
3300
  echo $ECHO_N "(cached) $ECHO_C" >&6
3301
else
3302
  cat >conftest.$ac_ext <<_ACEOF
3303
/* confdefs.h.  */
3304
_ACEOF
3305
cat confdefs.h >>conftest.$ac_ext
3306
cat >>conftest.$ac_ext <<_ACEOF
3307
/* end confdefs.h.  */
3308
3309
int
3310
main ()
3311
{
3312
3313
  ;
3314
  return 0;
3315
}
3316
_ACEOF
3317
rm -f conftest.o conftest.obj
3318
if { (ac_try="$ac_compile"
3319
case "(($ac_try" in
3320
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3321
  *) ac_try_echo=$ac_try;;
3322
esac
3323
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3324
  (eval "$ac_compile") 2>&5
3325
  ac_status=$?
3326
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3327
  (exit $ac_status); }; then
3328
  for ac_file in conftest.o conftest.obj conftest.*; do
3329
  test -f "$ac_file" || continue;
3330
  case $ac_file in
3331
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3332
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3333
       break;;
3334
  esac
3335
done
3336
else
3337
  echo "$as_me: failed program was:" >&5
3338
sed 's/^/| /' conftest.$ac_ext >&5
3339
3340
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3341
See \`config.log' for more details." >&5
3342
echo "$as_me: error: cannot compute suffix of object files: cannot compile
3343
See \`config.log' for more details." >&2;}
3344
   { (exit 1); exit 1; }; }
3345
fi
3346
3347
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3348
fi
3349
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3350
echo "${ECHO_T}$ac_cv_objext" >&6; }
3351
OBJEXT=$ac_cv_objext
3352
ac_objext=$OBJEXT
3353
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3354
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3355
if test "${ac_cv_c_compiler_gnu+set}" = set; then
3356
  echo $ECHO_N "(cached) $ECHO_C" >&6
3357
else
3358
  cat >conftest.$ac_ext <<_ACEOF
3359
/* confdefs.h.  */
3360
_ACEOF
3361
cat confdefs.h >>conftest.$ac_ext
3362
cat >>conftest.$ac_ext <<_ACEOF
3363
/* end confdefs.h.  */
3364
3365
int
3366
main ()
3367
{
3368
#ifndef __GNUC__
3369
       choke me
3370
#endif
3371
3372
  ;
3373
  return 0;
3374
}
3375
_ACEOF
3376
rm -f conftest.$ac_objext
3377
if { (ac_try="$ac_compile"
3378
case "(($ac_try" in
3379
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3380
  *) ac_try_echo=$ac_try;;
3381
esac
3382
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3383
  (eval "$ac_compile") 2>conftest.er1
3384
  ac_status=$?
3385
  grep -v '^ *+' conftest.er1 >conftest.err
3386
  rm -f conftest.er1
3387
  cat conftest.err >&5
3388
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3389
  (exit $ac_status); } && {
3390
	 test -z "$ac_c_werror_flag" ||
3391
	 test ! -s conftest.err
3392
       } && test -s conftest.$ac_objext; then
3393
  ac_compiler_gnu=yes
3394
else
3395
  echo "$as_me: failed program was:" >&5
3396
sed 's/^/| /' conftest.$ac_ext >&5
3397
3398
	ac_compiler_gnu=no
3399
fi
3400
3401
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3402
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3403
3404
fi
3405
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3406
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3407
GCC=`test $ac_compiler_gnu = yes && echo yes`
3408
ac_test_CFLAGS=${CFLAGS+set}
3409
ac_save_CFLAGS=$CFLAGS
3410
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3411
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3412
if test "${ac_cv_prog_cc_g+set}" = set; then
3413
  echo $ECHO_N "(cached) $ECHO_C" >&6
3414
else
3415
  ac_save_c_werror_flag=$ac_c_werror_flag
3416
   ac_c_werror_flag=yes
3417
   ac_cv_prog_cc_g=no
3418
   CFLAGS="-g"
3419
   cat >conftest.$ac_ext <<_ACEOF
3420
/* confdefs.h.  */
3421
_ACEOF
3422
cat confdefs.h >>conftest.$ac_ext
3423
cat >>conftest.$ac_ext <<_ACEOF
3424
/* end confdefs.h.  */
3425
3426
int
3427
main ()
3428
{
3429
3430
  ;
3431
  return 0;
3432
}
3433
_ACEOF
3434
rm -f conftest.$ac_objext
3435
if { (ac_try="$ac_compile"
3436
case "(($ac_try" in
3437
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3438
  *) ac_try_echo=$ac_try;;
3439
esac
3440
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3441
  (eval "$ac_compile") 2>conftest.er1
3442
  ac_status=$?
3443
  grep -v '^ *+' conftest.er1 >conftest.err
3444
  rm -f conftest.er1
3445
  cat conftest.err >&5
3446
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3447
  (exit $ac_status); } && {
3448
	 test -z "$ac_c_werror_flag" ||
3449
	 test ! -s conftest.err
3450
       } && test -s conftest.$ac_objext; then
3451
  ac_cv_prog_cc_g=yes
3452
else
3453
  echo "$as_me: failed program was:" >&5
3454
sed 's/^/| /' conftest.$ac_ext >&5
3455
3456
	CFLAGS=""
3457
      cat >conftest.$ac_ext <<_ACEOF
3458
/* confdefs.h.  */
3459
_ACEOF
3460
cat confdefs.h >>conftest.$ac_ext
3461
cat >>conftest.$ac_ext <<_ACEOF
3462
/* end confdefs.h.  */
3463
3464
int
3465
main ()
3466
{
3467
3468
  ;
3469
  return 0;
3470
}
3471
_ACEOF
3472
rm -f conftest.$ac_objext
3473
if { (ac_try="$ac_compile"
3474
case "(($ac_try" in
3475
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3476
  *) ac_try_echo=$ac_try;;
3477
esac
3478
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3479
  (eval "$ac_compile") 2>conftest.er1
3480
  ac_status=$?
3481
  grep -v '^ *+' conftest.er1 >conftest.err
3482
  rm -f conftest.er1
3483
  cat conftest.err >&5
3484
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3485
  (exit $ac_status); } && {
3486
	 test -z "$ac_c_werror_flag" ||
3487
	 test ! -s conftest.err
3488
       } && test -s conftest.$ac_objext; then
3489
  :
3490
else
3491
  echo "$as_me: failed program was:" >&5
3492
sed 's/^/| /' conftest.$ac_ext >&5
3493
3494
	ac_c_werror_flag=$ac_save_c_werror_flag
3495
	 CFLAGS="-g"
3496
	 cat >conftest.$ac_ext <<_ACEOF
3497
/* confdefs.h.  */
3498
_ACEOF
3499
cat confdefs.h >>conftest.$ac_ext
3500
cat >>conftest.$ac_ext <<_ACEOF
3501
/* end confdefs.h.  */
3502
3503
int
3504
main ()
3505
{
3506
3507
  ;
3508
  return 0;
3509
}
3510
_ACEOF
3511
rm -f conftest.$ac_objext
3512
if { (ac_try="$ac_compile"
3513
case "(($ac_try" in
3514
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3515
  *) ac_try_echo=$ac_try;;
3516
esac
3517
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3518
  (eval "$ac_compile") 2>conftest.er1
3519
  ac_status=$?
3520
  grep -v '^ *+' conftest.er1 >conftest.err
3521
  rm -f conftest.er1
3522
  cat conftest.err >&5
3523
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3524
  (exit $ac_status); } && {
3525
	 test -z "$ac_c_werror_flag" ||
3526
	 test ! -s conftest.err
3527
       } && test -s conftest.$ac_objext; then
3528
  ac_cv_prog_cc_g=yes
3529
else
3530
  echo "$as_me: failed program was:" >&5
3531
sed 's/^/| /' conftest.$ac_ext >&5
3532
3533
3534
fi
3535
3536
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3537
fi
3538
3539
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3540
fi
3541
3542
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3543
   ac_c_werror_flag=$ac_save_c_werror_flag
3544
fi
3545
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3546
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3547
if test "$ac_test_CFLAGS" = set; then
3548
  CFLAGS=$ac_save_CFLAGS
3549
elif test $ac_cv_prog_cc_g = yes; then
3550
  if test "$GCC" = yes; then
3551
    CFLAGS="-g -O2"
3552
  else
3553
    CFLAGS="-g"
3554
  fi
3555
else
3556
  if test "$GCC" = yes; then
3557
    CFLAGS="-O2"
3558
  else
3559
    CFLAGS=
3560
  fi
3561
fi
3562
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3563
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3564
if test "${ac_cv_prog_cc_c89+set}" = set; then
3565
  echo $ECHO_N "(cached) $ECHO_C" >&6
3566
else
3567
  ac_cv_prog_cc_c89=no
3568
ac_save_CC=$CC
3569
cat >conftest.$ac_ext <<_ACEOF
3570
/* confdefs.h.  */
3571
_ACEOF
3572
cat confdefs.h >>conftest.$ac_ext
3573
cat >>conftest.$ac_ext <<_ACEOF
3574
/* end confdefs.h.  */
3575
#include <stdarg.h>
3576
#include <stdio.h>
3577
#include <sys/types.h>
3578
#include <sys/stat.h>
3579
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3580
struct buf { int x; };
3581
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3582
static char *e (p, i)
3583
     char **p;
3584
     int i;
3585
{
3586
  return p[i];
3587
}
3588
static char *f (char * (*g) (char **, int), char **p, ...)
3589
{
3590
  char *s;
3591
  va_list v;
3592
  va_start (v,p);
3593
  s = g (p, va_arg (v,int));
3594
  va_end (v);
3595
  return s;
3596
}
3597
3598
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3599
   function prototypes and stuff, but not '\xHH' hex character constants.
3600
   These don't provoke an error unfortunately, instead are silently treated
3601
   as 'x'.  The following induces an error, until -std is added to get
3602
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3603
   array size at least.  It's necessary to write '\x00'==0 to get something
3604
   that's true only with -std.  */
3605
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3606
3607
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3608
   inside strings and character constants.  */
3609
#define FOO(x) 'x'
3610
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3611
3612
int test (int i, double x);
3613
struct s1 {int (*f) (int a);};
3614
struct s2 {int (*f) (double a);};
3615
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3616
int argc;
3617
char **argv;
3618
int
3619
main ()
3620
{
3621
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3622
  ;
3623
  return 0;
3624
}
3625
_ACEOF
3626
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3627
	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3628
do
3629
  CC="$ac_save_CC $ac_arg"
3630
  rm -f conftest.$ac_objext
3631
if { (ac_try="$ac_compile"
3632
case "(($ac_try" in
3633
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3634
  *) ac_try_echo=$ac_try;;
3635
esac
3636
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3637
  (eval "$ac_compile") 2>conftest.er1
3638
  ac_status=$?
3639
  grep -v '^ *+' conftest.er1 >conftest.err
3640
  rm -f conftest.er1
3641
  cat conftest.err >&5
3642
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3643
  (exit $ac_status); } && {
3644
	 test -z "$ac_c_werror_flag" ||
3645
	 test ! -s conftest.err
3646
       } && test -s conftest.$ac_objext; then
3647
  ac_cv_prog_cc_c89=$ac_arg
3648
else
3649
  echo "$as_me: failed program was:" >&5
3650
sed 's/^/| /' conftest.$ac_ext >&5
3651
3652
3653
fi
3654
3655
rm -f core conftest.err conftest.$ac_objext
3656
  test "x$ac_cv_prog_cc_c89" != "xno" && break
3657
done
3658
rm -f conftest.$ac_ext
3659
CC=$ac_save_CC
3660
3661
fi
3662
# AC_CACHE_VAL
3663
case "x$ac_cv_prog_cc_c89" in
3664
  x)
3665
    { echo "$as_me:$LINENO: result: none needed" >&5
3666
echo "${ECHO_T}none needed" >&6; } ;;
3667
  xno)
3668
    { echo "$as_me:$LINENO: result: unsupported" >&5
3669
echo "${ECHO_T}unsupported" >&6; } ;;
3670
  *)
3671
    CC="$CC $ac_cv_prog_cc_c89"
3672
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3673
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3674
esac
3675
3676
3677
ac_ext=c
3678
ac_cpp='$CPP $CPPFLAGS'
3679
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3680
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3681
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3682
3683
depcc="$CC"   am_compiler_list=
3684
3685
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3686
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3687
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3688
  echo $ECHO_N "(cached) $ECHO_C" >&6
3689
else
3690
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3691
  # We make a subdir and do the tests there.  Otherwise we can end up
3692
  # making bogus files that we don't know about and never remove.  For
3693
  # instance it was reported that on HP-UX the gcc test will end up
3694
  # making a dummy file named `D' -- because `-MD' means `put the output
3695
  # in D'.
3696
  mkdir conftest.dir
3697
  # Copy depcomp to subdir because otherwise we won't find it if we're
3698
  # using a relative directory.
3699
  cp "$am_depcomp" conftest.dir
3700
  cd conftest.dir
3701
  # We will build objects and dependencies in a subdirectory because
3702
  # it helps to detect inapplicable dependency modes.  For instance
3703
  # both Tru64's cc and ICC support -MD to output dependencies as a
3704
  # side effect of compilation, but ICC will put the dependencies in
3705
  # the current directory while Tru64 will put them in the object
3706
  # directory.
3707
  mkdir sub
3708
3709
  am_cv_CC_dependencies_compiler_type=none
3710
  if test "$am_compiler_list" = ""; then
3711
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3712
  fi
3713
  for depmode in $am_compiler_list; do
3714
    # Setup a source with many dependencies, because some compilers
3715
    # like to wrap large dependency lists on column 80 (with \), and
3716
    # we should not choose a depcomp mode which is confused by this.
3717
    #
3718
    # We need to recreate these files for each test, as the compiler may
3719
    # overwrite some of them when testing with obscure command lines.
3720
    # This happens at least with the AIX C compiler.
3721
    : > sub/conftest.c
3722
    for i in 1 2 3 4 5 6; do
3723
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3724
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3725
      # Solaris 8's {/usr,}/bin/sh.
3726
      touch sub/conftst$i.h
3727
    done
3728
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3729
3730
    case $depmode in
3731
    nosideeffect)
3732
      # after this tag, mechanisms are not by side-effect, so they'll
3733
      # only be used when explicitly requested
3734
      if test "x$enable_dependency_tracking" = xyes; then
3735
	continue
3736
      else
3737
	break
3738
      fi
3739
      ;;
3740
    none) break ;;
3741
    esac
3742
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3743
    # mode.  It turns out that the SunPro C++ compiler does not properly
3744
    # handle `-M -o', and we need to detect this.
3745
    if depmode=$depmode \
3746
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3747
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3748
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3749
         >/dev/null 2>conftest.err &&
3750
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3751
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3752
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3753
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3754
      # icc doesn't choke on unknown options, it will just issue warnings
3755
      # or remarks (even with -Werror).  So we grep stderr for any message
3756
      # that says an option was ignored or not supported.
3757
      # When given -MP, icc 7.0 and 7.1 complain thusly:
3758
      #   icc: Command line warning: ignoring option '-M'; no argument required
3759
      # The diagnosis changed in icc 8.0:
3760
      #   icc: Command line remark: option '-MP' not supported
3761
      if (grep 'ignoring option' conftest.err ||
3762
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3763
        am_cv_CC_dependencies_compiler_type=$depmode
3764
        break
3765
      fi
3766
    fi
3767
  done
3768
3769
  cd ..
3770
  rm -rf conftest.dir
3771
else
3772
  am_cv_CC_dependencies_compiler_type=none
3773
fi
3774
3775
fi
3776
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3777
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3778
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3779
3780
 if
3781
  test "x$enable_dependency_tracking" != xno \
3782
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3783
  am__fastdepCC_TRUE=
3784
  am__fastdepCC_FALSE='#'
3785
else
3786
  am__fastdepCC_TRUE='#'
3787
  am__fastdepCC_FALSE=
3788
fi
3789
3790
3791
3792
1.1.4 by Christopher James Halse Rogers
Import upstream version 0.6.1.0
3793
1 by Christopher James Halse Rogers
Import upstream version 0.3.2.1
3794
case "$am__api_version" in
3795
    1.01234)
3796
	{ { echo "$as_me:$LINENO: error: Automake 1.5 or newer is required to use intltool" >&5
3797
echo "$as_me: error: Automake 1.5 or newer is required to use intltool" >&2;}
3798
   { (exit 1); exit 1; }; }
3799
    ;;
3800
    *)
3801
    ;;
3802
esac
3803
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
3804
if test -n "0.35.0"; then
3805
    { echo "$as_me:$LINENO: checking for intltool >= 0.35.0" >&5
3806
echo $ECHO_N "checking for intltool >= 0.35.0... $ECHO_C" >&6; }
1 by Christopher James Halse Rogers
Import upstream version 0.3.2.1
3807
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
3808
    INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.35.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
3809
    INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
3810
    INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
1 by Christopher James Halse Rogers
Import upstream version 0.3.2.1
3811
3812
    { echo "$as_me:$LINENO: result: $INTLTOOL_APPLIED_VERSION found" >&5
3813
echo "${ECHO_T}$INTLTOOL_APPLIED_VERSION found" >&6; }
3814
    test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
3815
	{ { echo "$as_me:$LINENO: error: Your intltool is too old.  You need intltool 0.35.0 or later." >&5
3816
echo "$as_me: error: Your intltool is too old.  You need intltool 0.35.0 or later." >&2;}
3817
   { (exit 1); exit 1; }; }
3818
fi
3819
3820
# Extract the first word of "intltool-update", so it can be a program name with args.
3821
set dummy intltool-update; ac_word=$2
3822
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3823
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3824
if test "${ac_cv_path_INTLTOOL_UPDATE+set}" = set; then
3825
  echo $ECHO_N "(cached) $ECHO_C" >&6
3826
else
3827
  case $INTLTOOL_UPDATE in
3828
  [\\/]* | ?:[\\/]*)
3829
  ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
3830
  ;;
3831
  *)
3832
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3833
for as_dir in $PATH
3834
do
3835
  IFS=$as_save_IFS
3836
  test -z "$as_dir" && as_dir=.
3837
  for ac_exec_ext in '' $ac_executable_extensions; do
3838
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3839
    ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
3840
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3841
    break 2
3842
  fi
3843
done
3844
done
3845
IFS=$as_save_IFS
3846
3847
  ;;
3848
esac
3849
fi
3850
INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
3851
if test -n "$INTLTOOL_UPDATE"; then
3852
  { echo "$as_me:$LINENO: result: $INTLTOOL_UPDATE" >&5
3853
echo "${ECHO_T}$INTLTOOL_UPDATE" >&6; }
3854
else
3855
  { echo "$as_me:$LINENO: result: no" >&5
3856
echo "${ECHO_T}no" >&6; }
3857
fi
3858
3859
3860
# Extract the first word of "intltool-merge", so it can be a program name with args.
3861
set dummy intltool-merge; ac_word=$2
3862
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3863
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3864
if test "${ac_cv_path_INTLTOOL_MERGE+set}" = set; then
3865
  echo $ECHO_N "(cached) $ECHO_C" >&6
3866
else
3867
  case $INTLTOOL_MERGE in
3868
  [\\/]* | ?:[\\/]*)
3869
  ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
3870
  ;;
3871
  *)
3872
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3873
for as_dir in $PATH
3874
do
3875
  IFS=$as_save_IFS
3876
  test -z "$as_dir" && as_dir=.
3877
  for ac_exec_ext in '' $ac_executable_extensions; do
3878
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3879
    ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
3880
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3881
    break 2
3882
  fi
3883
done
3884
done
3885
IFS=$as_save_IFS
3886
3887
  ;;
3888
esac
3889
fi
3890
INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
3891
if test -n "$INTLTOOL_MERGE"; then
3892
  { echo "$as_me:$LINENO: result: $INTLTOOL_MERGE" >&5
3893
echo "${ECHO_T}$INTLTOOL_MERGE" >&6; }
3894
else
3895
  { echo "$as_me:$LINENO: result: no" >&5
3896
echo "${ECHO_T}no" >&6; }
3897
fi
3898
3899
3900
# Extract the first word of "intltool-extract", so it can be a program name with args.
3901
set dummy intltool-extract; ac_word=$2
3902
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3903
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3904
if test "${ac_cv_path_INTLTOOL_EXTRACT+set}" = set; then
3905
  echo $ECHO_N "(cached) $ECHO_C" >&6
3906
else
3907
  case $INTLTOOL_EXTRACT in
3908
  [\\/]* | ?:[\\/]*)
3909
  ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
3910
  ;;
3911
  *)
3912
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3913
for as_dir in $PATH
3914
do
3915
  IFS=$as_save_IFS
3916
  test -z "$as_dir" && as_dir=.
3917
  for ac_exec_ext in '' $ac_executable_extensions; do
3918
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3919
    ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
3920
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3921
    break 2
3922
  fi
3923
done
3924
done
3925
IFS=$as_save_IFS
3926
3927
  ;;
3928
esac
3929
fi
3930
INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
3931
if test -n "$INTLTOOL_EXTRACT"; then
3932
  { echo "$as_me:$LINENO: result: $INTLTOOL_EXTRACT" >&5
3933
echo "${ECHO_T}$INTLTOOL_EXTRACT" >&6; }
3934
else
3935
  { echo "$as_me:$LINENO: result: no" >&5
3936
echo "${ECHO_T}no" >&6; }
3937
fi
3938
3939
3940
if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
3941
    { { echo "$as_me:$LINENO: error: The intltool scripts were not found. Please install intltool." >&5
3942
echo "$as_me: error: The intltool scripts were not found. Please install intltool." >&2;}
1 by Christopher James Halse Rogers
Import upstream version 0.3.2.1
3943
   { (exit 1); exit 1; }; }
3944
fi
3945
3946
  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 $< $@'
3947
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 $< $@'
3948
     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 $< $@'
3949
     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 $< $@'
3950
      INTLTOOL_OAF_RULE='%.oaf:       %.oaf.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
3951
     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 $< $@'
3952
   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 $< $@'
3953
    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 $< $@'
3954
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 $< $@'
3955
       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 $< $@'
3956
      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 $< $@'
3957
      INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@'
3958
      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 $< $@'
3959
      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 $< $@'
3960
    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 $< $@'
3961
  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 $< $@'
3962
    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 $< $@'
3963
    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 $< $@'
3964
   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 $< $@'
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
# Check the gettext tools to make sure they are GNU
3987
# Extract the first word of "xgettext", so it can be a program name with args.
3988
set dummy xgettext; ac_word=$2
3989
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3990
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3991
if test "${ac_cv_path_XGETTEXT+set}" = set; then
3992
  echo $ECHO_N "(cached) $ECHO_C" >&6
3993
else
3994
  case $XGETTEXT in
3995
  [\\/]* | ?:[\\/]*)
3996
  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
3997
  ;;
3998
  *)
3999
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4000
for as_dir in $PATH
4001
do
4002
  IFS=$as_save_IFS
4003
  test -z "$as_dir" && as_dir=.
4004
  for ac_exec_ext in '' $ac_executable_extensions; do
4005
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4006
    ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
4007
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4008
    break 2
4009
  fi
4010
done
4011
done
4012
IFS=$as_save_IFS
4013
4014
  ;;
4015
esac
4016
fi
4017
XGETTEXT=$ac_cv_path_XGETTEXT
4018
if test -n "$XGETTEXT"; then
4019
  { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
4020
echo "${ECHO_T}$XGETTEXT" >&6; }
4021
else
4022
  { echo "$as_me:$LINENO: result: no" >&5
4023
echo "${ECHO_T}no" >&6; }
4024
fi
4025
4026
4027
# Extract the first word of "msgmerge", so it can be a program name with args.
4028
set dummy msgmerge; ac_word=$2
4029
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4030
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4031
if test "${ac_cv_path_MSGMERGE+set}" = set; then
4032
  echo $ECHO_N "(cached) $ECHO_C" >&6
4033
else
4034
  case $MSGMERGE in
4035
  [\\/]* | ?:[\\/]*)
4036
  ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
4037
  ;;
4038
  *)
4039
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4040
for as_dir in $PATH
4041
do
4042
  IFS=$as_save_IFS
4043
  test -z "$as_dir" && as_dir=.
4044
  for ac_exec_ext in '' $ac_executable_extensions; do
4045
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4046
    ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
4047
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4048
    break 2
4049
  fi
4050
done
4051
done
4052
IFS=$as_save_IFS
4053
4054
  ;;
4055
esac
4056
fi
4057
MSGMERGE=$ac_cv_path_MSGMERGE
4058
if test -n "$MSGMERGE"; then
4059
  { echo "$as_me:$LINENO: result: $MSGMERGE" >&5
4060
echo "${ECHO_T}$MSGMERGE" >&6; }
4061
else
4062
  { echo "$as_me:$LINENO: result: no" >&5
4063
echo "${ECHO_T}no" >&6; }
4064
fi
4065
4066
4067
# Extract the first word of "msgfmt", so it can be a program name with args.
4068
set dummy msgfmt; ac_word=$2
4069
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4070
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4071
if test "${ac_cv_path_MSGFMT+set}" = set; then
4072
  echo $ECHO_N "(cached) $ECHO_C" >&6
4073
else
4074
  case $MSGFMT in
4075
  [\\/]* | ?:[\\/]*)
4076
  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
4077
  ;;
4078
  *)
4079
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4080
for as_dir in $PATH
4081
do
4082
  IFS=$as_save_IFS
4083
  test -z "$as_dir" && as_dir=.
4084
  for ac_exec_ext in '' $ac_executable_extensions; do
4085
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4086
    ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
4087
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4088
    break 2
4089
  fi
4090
done
4091
done
4092
IFS=$as_save_IFS
4093
4094
  ;;
4095
esac
4096
fi
4097
MSGFMT=$ac_cv_path_MSGFMT
4098
if test -n "$MSGFMT"; then
4099
  { echo "$as_me:$LINENO: result: $MSGFMT" >&5
4100
echo "${ECHO_T}$MSGFMT" >&6; }
4101
else
4102
  { echo "$as_me:$LINENO: result: no" >&5
4103
echo "${ECHO_T}no" >&6; }
4104
fi
4105
4106
1.1.4 by Christopher James Halse Rogers
Import upstream version 0.6.1.0
4107
# Extract the first word of "gmsgfmt", so it can be a program name with args.
4108
set dummy gmsgfmt; ac_word=$2
4109
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4110
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4111
if test "${ac_cv_path_GMSGFMT+set}" = set; then
4112
  echo $ECHO_N "(cached) $ECHO_C" >&6
4113
else
4114
  case $GMSGFMT in
4115
  [\\/]* | ?:[\\/]*)
4116
  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
4117
  ;;
4118
  *)
4119
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4120
for as_dir in $PATH
4121
do
4122
  IFS=$as_save_IFS
4123
  test -z "$as_dir" && as_dir=.
4124
  for ac_exec_ext in '' $ac_executable_extensions; do
4125
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4126
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
4127
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4128
    break 2
4129
  fi
4130
done
4131
done
4132
IFS=$as_save_IFS
4133
4134
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
4135
  ;;
4136
esac
4137
fi
4138
GMSGFMT=$ac_cv_path_GMSGFMT
4139
if test -n "$GMSGFMT"; then
4140
  { echo "$as_me:$LINENO: result: $GMSGFMT" >&5
4141
echo "${ECHO_T}$GMSGFMT" >&6; }
4142
else
4143
  { echo "$as_me:$LINENO: result: no" >&5
4144
echo "${ECHO_T}no" >&6; }
4145
fi
4146
4147
1 by Christopher James Halse Rogers
Import upstream version 0.3.2.1
4148
if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
4149
    { { echo "$as_me:$LINENO: error: GNU gettext tools not found; required for intltool" >&5
4150
echo "$as_me: error: GNU gettext tools not found; required for intltool" >&2;}
4151
   { (exit 1); exit 1; }; }
4152
fi
4153
xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
4154
mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
4155
mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
4156
if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
4157
    { { echo "$as_me:$LINENO: error: GNU gettext tools not found; required for intltool" >&5
4158
echo "$as_me: error: GNU gettext tools not found; required for intltool" >&2;}
4159
   { (exit 1); exit 1; }; }
4160
fi
4161
4162
# Extract the first word of "perl", so it can be a program name with args.
4163
set dummy perl; ac_word=$2
4164
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4165
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4166
if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then
4167
  echo $ECHO_N "(cached) $ECHO_C" >&6
4168
else
4169
  case $INTLTOOL_PERL in
4170
  [\\/]* | ?:[\\/]*)
4171
  ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
4172
  ;;
4173
  *)
4174
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4175
for as_dir in $PATH
4176
do
4177
  IFS=$as_save_IFS
4178
  test -z "$as_dir" && as_dir=.
4179
  for ac_exec_ext in '' $ac_executable_extensions; do
4180
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4181
    ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
4182
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4183
    break 2
4184
  fi
4185
done
4186
done
4187
IFS=$as_save_IFS
4188
4189
  ;;
4190
esac
4191
fi
4192
INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
4193
if test -n "$INTLTOOL_PERL"; then
4194
  { echo "$as_me:$LINENO: result: $INTLTOOL_PERL" >&5
4195
echo "${ECHO_T}$INTLTOOL_PERL" >&6; }
4196
else
4197
  { echo "$as_me:$LINENO: result: no" >&5
4198
echo "${ECHO_T}no" >&6; }
4199
fi
4200
4201
4202
if test -z "$INTLTOOL_PERL"; then
4203
   { { echo "$as_me:$LINENO: error: perl not found; required for intltool" >&5
4204
echo "$as_me: error: perl not found; required for intltool" >&2;}
4205
   { (exit 1); exit 1; }; }
4206
fi
4207
if test -z "`$INTLTOOL_PERL -v | fgrep '5.' 2> /dev/null`"; then
4208
   { { echo "$as_me:$LINENO: error: perl 5.x required for intltool" >&5
4209
echo "$as_me: error: perl 5.x required for intltool" >&2;}
4210
   { (exit 1); exit 1; }; }
4211
fi
4212
if test "x" != "xno-xml"; then
4213
   { echo "$as_me:$LINENO: checking for XML::Parser" >&5
4214
echo $ECHO_N "checking for XML::Parser... $ECHO_C" >&6; }
4215
   if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
4216
       { echo "$as_me:$LINENO: result: ok" >&5
4217
echo "${ECHO_T}ok" >&6; }
4218
   else
4219
       { { echo "$as_me:$LINENO: error: XML::Parser perl module is required for intltool" >&5
4220
echo "$as_me: error: XML::Parser perl module is required for intltool" >&2;}
4221
   { (exit 1); exit 1; }; }
4222
   fi
4223
fi
4224
4225
# Substitute ALL_LINGUAS so we can use it in po/Makefile
4226
4227
4228
# Set DATADIRNAME correctly if it is not set yet
4229
# (copied from glib-gettext.m4)
4230
if test -z "$DATADIRNAME"; then
4231
  cat >conftest.$ac_ext <<_ACEOF
4232
/* confdefs.h.  */
4233
_ACEOF
4234
cat confdefs.h >>conftest.$ac_ext
4235
cat >>conftest.$ac_ext <<_ACEOF
4236
/* end confdefs.h.  */
4237
4238
int
4239
main ()
4240
{
4241
extern int _nl_msg_cat_cntr;
4242
                       return _nl_msg_cat_cntr
4243
  ;
4244
  return 0;
4245
}
4246
_ACEOF
4247
rm -f conftest.$ac_objext conftest$ac_exeext
4248
if { (ac_try="$ac_link"
4249
case "(($ac_try" in
4250
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4251
  *) ac_try_echo=$ac_try;;
4252
esac
4253
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4254
  (eval "$ac_link") 2>conftest.er1
4255
  ac_status=$?
4256
  grep -v '^ *+' conftest.er1 >conftest.err
4257
  rm -f conftest.er1
4258
  cat conftest.err >&5
4259
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4260
  (exit $ac_status); } && {
4261
	 test -z "$ac_c_werror_flag" ||
4262
	 test ! -s conftest.err
4263
       } && test -s conftest$ac_exeext &&
4264
       $as_test_x conftest$ac_exeext; then
4265
  DATADIRNAME=share
4266
else
4267
  echo "$as_me: failed program was:" >&5
4268
sed 's/^/| /' conftest.$ac_ext >&5
4269
4270
	case $host in
4271
    *-*-solaris*)
4272
                        { echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
4273
echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6; }
4274
if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
4275
  echo $ECHO_N "(cached) $ECHO_C" >&6
4276
else
4277
  cat >conftest.$ac_ext <<_ACEOF
4278
/* confdefs.h.  */
4279
_ACEOF
4280
cat confdefs.h >>conftest.$ac_ext
4281
cat >>conftest.$ac_ext <<_ACEOF
4282
/* end confdefs.h.  */
4283
/* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
4284
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
4285
#define bind_textdomain_codeset innocuous_bind_textdomain_codeset
4286
4287
/* System header to define __stub macros and hopefully few prototypes,
4288
    which can conflict with char bind_textdomain_codeset (); below.
4289
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4290
    <limits.h> exists even on freestanding compilers.  */
4291
4292
#ifdef __STDC__
4293
# include <limits.h>
4294
#else
4295
# include <assert.h>
4296
#endif
4297
4298
#undef bind_textdomain_codeset
4299
4300
/* Override any GCC internal prototype to avoid an error.
4301
   Use char because int might match the return type of a GCC
4302
   builtin and then its argument prototype would still apply.  */
4303
#ifdef __cplusplus
4304
extern "C"
4305
#endif
4306
char bind_textdomain_codeset ();
4307
/* The GNU C library defines this for functions which it implements
4308
    to always fail with ENOSYS.  Some functions are actually named
4309
    something starting with __ and the normal name is an alias.  */
4310
#if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
4311
choke me
4312
#endif
4313
4314
int
4315
main ()
4316
{
4317
return bind_textdomain_codeset ();
4318
  ;
4319
  return 0;
4320
}
4321
_ACEOF
4322
rm -f conftest.$ac_objext conftest$ac_exeext
4323
if { (ac_try="$ac_link"
4324
case "(($ac_try" in
4325
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4326
  *) ac_try_echo=$ac_try;;
4327
esac
4328
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4329
  (eval "$ac_link") 2>conftest.er1
4330
  ac_status=$?
4331
  grep -v '^ *+' conftest.er1 >conftest.err
4332
  rm -f conftest.er1
4333
  cat conftest.err >&5
4334
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4335
  (exit $ac_status); } && {
4336
	 test -z "$ac_c_werror_flag" ||
4337
	 test ! -s conftest.err
4338
       } && test -s conftest$ac_exeext &&
4339
       $as_test_x conftest$ac_exeext; then
4340
  ac_cv_func_bind_textdomain_codeset=yes
4341
else
4342
  echo "$as_me: failed program was:" >&5
4343
sed 's/^/| /' conftest.$ac_ext >&5
4344
4345
	ac_cv_func_bind_textdomain_codeset=no
4346
fi
4347
4348
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4349
      conftest$ac_exeext conftest.$ac_ext
4350
fi
4351
{ echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
4352
echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6; }
4353
if test $ac_cv_func_bind_textdomain_codeset = yes; then
4354
  DATADIRNAME=share
4355
else
4356
  DATADIRNAME=lib
4357
fi
4358
4359
    ;;
4360
    *)
4361
    DATADIRNAME=lib
4362
    ;;
4363
    esac
4364
fi
4365
4366
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4367
      conftest$ac_exeext conftest.$ac_ext
4368
fi
4369
4370
4371
4372
4373
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
4374
ac_ext=c
4375
ac_cpp='$CPP $CPPFLAGS'
4376
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4377
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4378
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4379
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4380
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4381
# On Suns, sometimes $CPP names a directory.
4382
if test -n "$CPP" && test -d "$CPP"; then
4383
  CPP=
4384
fi
4385
if test -z "$CPP"; then
4386
  if test "${ac_cv_prog_CPP+set}" = set; then
4387
  echo $ECHO_N "(cached) $ECHO_C" >&6
4388
else
4389
      # Double quotes because CPP needs to be expanded
4390
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4391
    do
4392
      ac_preproc_ok=false
4393
for ac_c_preproc_warn_flag in '' yes
4394
do
4395
  # Use a header file that comes with gcc, so configuring glibc
4396
  # with a fresh cross-compiler works.
4397
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4398
  # <limits.h> exists even on freestanding compilers.
4399
  # On the NeXT, cc -E runs the code through the compiler's parser,
4400
  # not just through cpp. "Syntax error" is here to catch this case.
4401
  cat >conftest.$ac_ext <<_ACEOF
4402
/* confdefs.h.  */
4403
_ACEOF
4404
cat confdefs.h >>conftest.$ac_ext
4405
cat >>conftest.$ac_ext <<_ACEOF
4406
/* end confdefs.h.  */
4407
#ifdef __STDC__
4408
# include <limits.h>
4409
#else
4410
# include <assert.h>
4411
#endif
4412
		     Syntax error
4413
_ACEOF
4414
if { (ac_try="$ac_cpp conftest.$ac_ext"
4415
case "(($ac_try" in
4416
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4417
  *) ac_try_echo=$ac_try;;
4418
esac
4419
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4420
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4421
  ac_status=$?
4422
  grep -v '^ *+' conftest.er1 >conftest.err
4423
  rm -f conftest.er1
4424
  cat conftest.err >&5
4425
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4426
  (exit $ac_status); } >/dev/null && {
4427
	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4428
	 test ! -s conftest.err
4429
       }; then
4430
  :
4431
else
4432
  echo "$as_me: failed program was:" >&5
4433
sed 's/^/| /' conftest.$ac_ext >&5
4434
4435
  # Broken: fails on valid input.
4436
continue
4437
fi
4438
4439
rm -f conftest.err conftest.$ac_ext
4440
4441
  # OK, works on sane cases.  Now check whether nonexistent headers
4442
  # can be detected and how.
4443
  cat >conftest.$ac_ext <<_ACEOF
4444
/* confdefs.h.  */
4445
_ACEOF
4446
cat confdefs.h >>conftest.$ac_ext
4447
cat >>conftest.$ac_ext <<_ACEOF
4448
/* end confdefs.h.  */
4449
#include <ac_nonexistent.h>
4450
_ACEOF
4451
if { (ac_try="$ac_cpp conftest.$ac_ext"
4452
case "(($ac_try" in
4453
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4454
  *) ac_try_echo=$ac_try;;
4455
esac
4456
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4457
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4458
  ac_status=$?
4459
  grep -v '^ *+' conftest.er1 >conftest.err
4460
  rm -f conftest.er1
4461
  cat conftest.err >&5
4462
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4463
  (exit $ac_status); } >/dev/null && {
4464
	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4465
	 test ! -s conftest.err
4466
       }; then
4467
  # Broken: success on invalid input.
4468
continue
4469
else
4470
  echo "$as_me: failed program was:" >&5
4471
sed 's/^/| /' conftest.$ac_ext >&5
4472
4473
  # Passes both tests.
4474
ac_preproc_ok=:
4475
break
4476
fi
4477
4478
rm -f conftest.err conftest.$ac_ext
4479
4480
done
4481
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4482
rm -f conftest.err conftest.$ac_ext
4483
if $ac_preproc_ok; then
4484
  break
4485
fi
4486
4487
    done
4488
    ac_cv_prog_CPP=$CPP
4489
4490
fi
4491
  CPP=$ac_cv_prog_CPP
4492
else
4493
  ac_cv_prog_CPP=$CPP
4494
fi
4495
{ echo "$as_me:$LINENO: result: $CPP" >&5
4496
echo "${ECHO_T}$CPP" >&6; }
4497
ac_preproc_ok=false
4498
for ac_c_preproc_warn_flag in '' yes
4499
do
4500
  # Use a header file that comes with gcc, so configuring glibc
4501
  # with a fresh cross-compiler works.
4502
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4503
  # <limits.h> exists even on freestanding compilers.
4504
  # On the NeXT, cc -E runs the code through the compiler's parser,
4505
  # not just through cpp. "Syntax error" is here to catch this case.
4506
  cat >conftest.$ac_ext <<_ACEOF
4507
/* confdefs.h.  */
4508
_ACEOF
4509
cat confdefs.h >>conftest.$ac_ext
4510
cat >>conftest.$ac_ext <<_ACEOF
4511
/* end confdefs.h.  */
4512
#ifdef __STDC__
4513
# include <limits.h>
4514
#else
4515
# include <assert.h>
4516
#endif
4517
		     Syntax error
4518
_ACEOF
4519
if { (ac_try="$ac_cpp conftest.$ac_ext"
4520
case "(($ac_try" in
4521
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4522
  *) ac_try_echo=$ac_try;;
4523
esac
4524
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4525
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4526
  ac_status=$?
4527
  grep -v '^ *+' conftest.er1 >conftest.err
4528
  rm -f conftest.er1
4529
  cat conftest.err >&5
4530
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4531
  (exit $ac_status); } >/dev/null && {
4532
	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4533
	 test ! -s conftest.err
4534
       }; then
4535
  :
4536
else
4537
  echo "$as_me: failed program was:" >&5
4538
sed 's/^/| /' conftest.$ac_ext >&5
4539
4540
  # Broken: fails on valid input.
4541
continue
4542
fi
4543
4544
rm -f conftest.err conftest.$ac_ext
4545
4546
  # OK, works on sane cases.  Now check whether nonexistent headers
4547
  # can be detected and how.
4548
  cat >conftest.$ac_ext <<_ACEOF
4549
/* confdefs.h.  */
4550
_ACEOF
4551
cat confdefs.h >>conftest.$ac_ext
4552
cat >>conftest.$ac_ext <<_ACEOF
4553
/* end confdefs.h.  */
4554
#include <ac_nonexistent.h>
4555
_ACEOF
4556
if { (ac_try="$ac_cpp conftest.$ac_ext"
4557
case "(($ac_try" in
4558
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4559
  *) ac_try_echo=$ac_try;;
4560
esac
4561
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4562
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4563
  ac_status=$?
4564
  grep -v '^ *+' conftest.er1 >conftest.err
4565
  rm -f conftest.er1
4566
  cat conftest.err >&5
4567
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4568
  (exit $ac_status); } >/dev/null && {
4569
	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4570
	 test ! -s conftest.err
4571
       }; then
4572
  # Broken: success on invalid input.
4573
continue
4574
else
4575
  echo "$as_me: failed program was:" >&5
4576
sed 's/^/| /' conftest.$ac_ext >&5
4577
4578
  # Passes both tests.
4579
ac_preproc_ok=:
4580
break
4581
fi
4582
4583
rm -f conftest.err conftest.$ac_ext
4584
4585
done
4586
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4587
rm -f conftest.err conftest.$ac_ext
4588
if $ac_preproc_ok; then
4589
  :
4590
else
4591
  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4592
See \`config.log' for more details." >&5
4593
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4594
See \`config.log' for more details." >&2;}
4595
   { (exit 1); exit 1; }; }
4596
fi
4597
4598
ac_ext=c
4599
ac_cpp='$CPP $CPPFLAGS'
4600
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4601
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4602
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4603
4604
4605
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4606
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4607
if test "${ac_cv_path_GREP+set}" = set; then
4608
  echo $ECHO_N "(cached) $ECHO_C" >&6
4609
else
4610
  # Extract the first word of "grep ggrep" to use in msg output
4611
if test -z "$GREP"; then
4612
set dummy grep ggrep; ac_prog_name=$2
4613
if test "${ac_cv_path_GREP+set}" = set; then
4614
  echo $ECHO_N "(cached) $ECHO_C" >&6
4615
else
4616
  ac_path_GREP_found=false
4617
# Loop through the user's path and test for each of PROGNAME-LIST
4618
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4619
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4620
do
4621
  IFS=$as_save_IFS
4622
  test -z "$as_dir" && as_dir=.
4623
  for ac_prog in grep ggrep; do
4624
  for ac_exec_ext in '' $ac_executable_extensions; do
4625
    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4626
    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4627
    # Check for GNU ac_path_GREP and select it if it is found.
4628
  # Check for GNU $ac_path_GREP
4629
case `"$ac_path_GREP" --version 2>&1` in
4630
*GNU*)
4631
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4632
*)
4633
  ac_count=0
4634
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4635
  while :
4636
  do
4637
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4638
    mv "conftest.tmp" "conftest.in"
4639
    cp "conftest.in" "conftest.nl"
4640
    echo 'GREP' >> "conftest.nl"
4641
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4642
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4643
    ac_count=`expr $ac_count + 1`
4644
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4645
      # Best one so far, save it but keep looking for a better one
4646
      ac_cv_path_GREP="$ac_path_GREP"
4647
      ac_path_GREP_max=$ac_count
4648
    fi
4649
    # 10*(2^10) chars as input seems more than enough
4650
    test $ac_count -gt 10 && break
4651
  done
4652
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4653
esac
4654
4655
4656
    $ac_path_GREP_found && break 3
4657
  done
4658
done
4659
4660
done
4661
IFS=$as_save_IFS
4662
4663
4664
fi
4665
4666
GREP="$ac_cv_path_GREP"
4667
if test -z "$GREP"; then
4668
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4669
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4670
   { (exit 1); exit 1; }; }
4671
fi
4672
4673
else
4674
  ac_cv_path_GREP=$GREP
4675
fi
4676
4677
4678
fi
4679
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4680
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4681
 GREP="$ac_cv_path_GREP"
4682
4683
4684
{ echo "$as_me:$LINENO: checking for egrep" >&5
4685
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4686
if test "${ac_cv_path_EGREP+set}" = set; then
4687
  echo $ECHO_N "(cached) $ECHO_C" >&6
4688
else
4689
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4690
   then ac_cv_path_EGREP="$GREP -E"
4691
   else
4692
     # Extract the first word of "egrep" to use in msg output
4693
if test -z "$EGREP"; then
4694
set dummy egrep; ac_prog_name=$2
4695
if test "${ac_cv_path_EGREP+set}" = set; then
4696
  echo $ECHO_N "(cached) $ECHO_C" >&6
4697
else
4698
  ac_path_EGREP_found=false
4699
# Loop through the user's path and test for each of PROGNAME-LIST
4700
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4701
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4702
do
4703
  IFS=$as_save_IFS
4704
  test -z "$as_dir" && as_dir=.
4705
  for ac_prog in egrep; do
4706
  for ac_exec_ext in '' $ac_executable_extensions; do
4707
    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4708
    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4709
    # Check for GNU ac_path_EGREP and select it if it is found.
4710
  # Check for GNU $ac_path_EGREP
4711
case `"$ac_path_EGREP" --version 2>&1` in
4712
*GNU*)
4713
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4714
*)
4715
  ac_count=0
4716
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4717
  while :
4718
  do
4719
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4720
    mv "conftest.tmp" "conftest.in"
4721
    cp "conftest.in" "conftest.nl"
4722
    echo 'EGREP' >> "conftest.nl"
4723
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4724
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4725
    ac_count=`expr $ac_count + 1`
4726
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4727
      # Best one so far, save it but keep looking for a better one
4728
      ac_cv_path_EGREP="$ac_path_EGREP"
4729
      ac_path_EGREP_max=$ac_count
4730
    fi
4731
    # 10*(2^10) chars as input seems more than enough
4732
    test $ac_count -gt 10 && break
4733
  done
4734
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4735
esac
4736
4737
4738
    $ac_path_EGREP_found && break 3
4739
  done
4740
done
4741
4742
done
4743
IFS=$as_save_IFS
4744
4745
4746
fi
4747
4748
EGREP="$ac_cv_path_EGREP"
4749
if test -z "$EGREP"; then
4750
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4751
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4752
   { (exit 1); exit 1; }; }
4753
fi
4754
4755
else
4756
  ac_cv_path_EGREP=$EGREP
4757
fi
4758
4759
4760
   fi
4761
fi
4762
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4763
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4764
 EGREP="$ac_cv_path_EGREP"
4765
4766
4767
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4768
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4769
if test "${ac_cv_header_stdc+set}" = set; then
4770
  echo $ECHO_N "(cached) $ECHO_C" >&6
4771
else
4772
  cat >conftest.$ac_ext <<_ACEOF
4773
/* confdefs.h.  */
4774
_ACEOF
4775
cat confdefs.h >>conftest.$ac_ext
4776
cat >>conftest.$ac_ext <<_ACEOF
4777
/* end confdefs.h.  */
4778
#include <stdlib.h>
4779
#include <stdarg.h>
4780
#include <string.h>
4781
#include <float.h>
4782
4783
int
4784
main ()
4785
{
4786
4787
  ;
4788
  return 0;
4789
}
4790
_ACEOF
4791
rm -f conftest.$ac_objext
4792
if { (ac_try="$ac_compile"
4793
case "(($ac_try" in
4794
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4795
  *) ac_try_echo=$ac_try;;
4796
esac
4797
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4798
  (eval "$ac_compile") 2>conftest.er1
4799
  ac_status=$?
4800
  grep -v '^ *+' conftest.er1 >conftest.err
4801
  rm -f conftest.er1
4802
  cat conftest.err >&5
4803
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4804
  (exit $ac_status); } && {
4805
	 test -z "$ac_c_werror_flag" ||
4806
	 test ! -s conftest.err
4807
       } && test -s conftest.$ac_objext; then
4808
  ac_cv_header_stdc=yes
4809
else
4810
  echo "$as_me: failed program was:" >&5
4811
sed 's/^/| /' conftest.$ac_ext >&5
4812
4813
	ac_cv_header_stdc=no
4814
fi
4815
4816
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4817
4818
if test $ac_cv_header_stdc = yes; then
4819
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4820
  cat >conftest.$ac_ext <<_ACEOF
4821
/* confdefs.h.  */
4822
_ACEOF
4823
cat confdefs.h >>conftest.$ac_ext
4824
cat >>conftest.$ac_ext <<_ACEOF
4825
/* end confdefs.h.  */
4826
#include <string.h>
4827
4828
_ACEOF
4829
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4830
  $EGREP "memchr" >/dev/null 2>&1; then
4831
  :
4832
else
4833
  ac_cv_header_stdc=no
4834
fi
4835
rm -f conftest*
4836
4837
fi
4838
4839
if test $ac_cv_header_stdc = yes; then
4840
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4841
  cat >conftest.$ac_ext <<_ACEOF
4842
/* confdefs.h.  */
4843
_ACEOF
4844
cat confdefs.h >>conftest.$ac_ext
4845
cat >>conftest.$ac_ext <<_ACEOF
4846
/* end confdefs.h.  */
4847
#include <stdlib.h>
4848
4849
_ACEOF
4850
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4851
  $EGREP "free" >/dev/null 2>&1; then
4852
  :
4853
else
4854
  ac_cv_header_stdc=no
4855
fi
4856
rm -f conftest*
4857
4858
fi
4859
4860
if test $ac_cv_header_stdc = yes; then
4861
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4862
  if test "$cross_compiling" = yes; then
4863
  :
4864
else
4865
  cat >conftest.$ac_ext <<_ACEOF
4866
/* confdefs.h.  */
4867
_ACEOF
4868
cat confdefs.h >>conftest.$ac_ext
4869
cat >>conftest.$ac_ext <<_ACEOF
4870
/* end confdefs.h.  */
4871
#include <ctype.h>
4872
#include <stdlib.h>
4873
#if ((' ' & 0x0FF) == 0x020)
4874
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4875
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4876
#else
4877
# define ISLOWER(c) \
4878
		   (('a' <= (c) && (c) <= 'i') \
4879
		     || ('j' <= (c) && (c) <= 'r') \
4880
		     || ('s' <= (c) && (c) <= 'z'))
4881
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4882
#endif
4883
4884
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4885
int
4886
main ()
4887
{
4888
  int i;
4889
  for (i = 0; i < 256; i++)
4890
    if (XOR (islower (i), ISLOWER (i))
4891
	|| toupper (i) != TOUPPER (i))
4892
      return 2;
4893
  return 0;
4894
}
4895
_ACEOF
4896
rm -f conftest$ac_exeext
4897
if { (ac_try="$ac_link"
4898
case "(($ac_try" in
4899
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4900
  *) ac_try_echo=$ac_try;;
4901
esac
4902
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4903
  (eval "$ac_link") 2>&5
4904
  ac_status=$?
4905
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4906
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4907
  { (case "(($ac_try" in
4908
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4909
  *) ac_try_echo=$ac_try;;
4910
esac
4911
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4912
  (eval "$ac_try") 2>&5
4913
  ac_status=$?
4914
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4915
  (exit $ac_status); }; }; then
4916
  :
4917
else
4918
  echo "$as_me: program exited with status $ac_status" >&5
4919
echo "$as_me: failed program was:" >&5
4920
sed 's/^/| /' conftest.$ac_ext >&5
4921
4922
( exit $ac_status )
4923
ac_cv_header_stdc=no
4924
fi
4925
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4926
fi
4927
4928
4929
fi
4930
fi
4931
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4932
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4933
if test $ac_cv_header_stdc = yes; then
4934
4935
cat >>confdefs.h <<\_ACEOF
4936
#define STDC_HEADERS 1
4937
_ACEOF
4938
4939
fi
4940
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
4941
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4952
		  inttypes.h stdint.h unistd.h
4953
do
4954
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4955
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4956
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4957
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4958
  echo $ECHO_N "(cached) $ECHO_C" >&6
4959
else
4960
  cat >conftest.$ac_ext <<_ACEOF
4961
/* confdefs.h.  */
4962
_ACEOF
4963
cat confdefs.h >>conftest.$ac_ext
4964
cat >>conftest.$ac_ext <<_ACEOF
4965
/* end confdefs.h.  */
4966
$ac_includes_default
4967
4968
#include <$ac_header>
4969
_ACEOF
4970
rm -f conftest.$ac_objext
4971
if { (ac_try="$ac_compile"
4972
case "(($ac_try" in
4973
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4974
  *) ac_try_echo=$ac_try;;
4975
esac
4976
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4977
  (eval "$ac_compile") 2>conftest.er1
4978
  ac_status=$?
4979
  grep -v '^ *+' conftest.er1 >conftest.err
4980
  rm -f conftest.er1
4981
  cat conftest.err >&5
4982
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4983
  (exit $ac_status); } && {
4984
	 test -z "$ac_c_werror_flag" ||
4985
	 test ! -s conftest.err
4986
       } && test -s conftest.$ac_objext; then
4987
  eval "$as_ac_Header=yes"
4988
else
4989
  echo "$as_me: failed program was:" >&5
4990
sed 's/^/| /' conftest.$ac_ext >&5
4991
4992
	eval "$as_ac_Header=no"
4993
fi
4994
4995
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4996
fi
4997
ac_res=`eval echo '${'$as_ac_Header'}'`
4998
	       { echo "$as_me:$LINENO: result: $ac_res" >&5
4999
echo "${ECHO_T}$ac_res" >&6; }
5000
if test `eval echo '${'$as_ac_Header'}'` = yes; then
5001
  cat >>confdefs.h <<_ACEOF
5002
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5003
_ACEOF
5004
5005
fi
5006
5007
done
5008
5009
5010
5011
	#IT_PROG_INTLTOOL([0.35.0])
5012
	#AC_PROG_INTLTOOL([0.21])
5013
5014
	ALL_LINGUAS=`grep -v '^#' $srcdir/po/LINGUAS | sed -r ':a;N;$!ba;s/\n/ /g; s/[ ]+/ /g'`
5015
	GETTEXT_PACKAGE=gnome-do
5016
5017
5018
cat >>confdefs.h <<_ACEOF
5019
#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
5020
_ACEOF
5021
5022
5023
5024
for ac_header in locale.h
5025
do
5026
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5027
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5028
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
5029
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5030
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5031
  echo $ECHO_N "(cached) $ECHO_C" >&6
5032
fi
5033
ac_res=`eval echo '${'$as_ac_Header'}'`
5034
	       { echo "$as_me:$LINENO: result: $ac_res" >&5
5035
echo "${ECHO_T}$ac_res" >&6; }
5036
else
5037
  # Is the header compilable?
5038
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
5039
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5040
cat >conftest.$ac_ext <<_ACEOF
5041
/* confdefs.h.  */
5042
_ACEOF
5043
cat confdefs.h >>conftest.$ac_ext
5044
cat >>conftest.$ac_ext <<_ACEOF
5045
/* end confdefs.h.  */
5046
$ac_includes_default
5047
#include <$ac_header>
5048
_ACEOF
5049
rm -f conftest.$ac_objext
5050
if { (ac_try="$ac_compile"
5051
case "(($ac_try" in
5052
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5053
  *) ac_try_echo=$ac_try;;
5054
esac
5055
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5056
  (eval "$ac_compile") 2>conftest.er1
5057
  ac_status=$?
5058
  grep -v '^ *+' conftest.er1 >conftest.err
5059
  rm -f conftest.er1
5060
  cat conftest.err >&5
5061
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5062
  (exit $ac_status); } && {
5063
	 test -z "$ac_c_werror_flag" ||
5064
	 test ! -s conftest.err
5065
       } && test -s conftest.$ac_objext; then
5066
  ac_header_compiler=yes
5067
else
5068
  echo "$as_me: failed program was:" >&5
5069
sed 's/^/| /' conftest.$ac_ext >&5
5070
5071
	ac_header_compiler=no
5072
fi
5073
5074
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5075
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5076
echo "${ECHO_T}$ac_header_compiler" >&6; }
5077
5078
# Is the header present?
5079
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
5080
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5081
cat >conftest.$ac_ext <<_ACEOF
5082
/* confdefs.h.  */
5083
_ACEOF
5084
cat confdefs.h >>conftest.$ac_ext
5085
cat >>conftest.$ac_ext <<_ACEOF
5086
/* end confdefs.h.  */
5087
#include <$ac_header>
5088
_ACEOF
5089
if { (ac_try="$ac_cpp conftest.$ac_ext"
5090
case "(($ac_try" in
5091
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5092
  *) ac_try_echo=$ac_try;;
5093
esac
5094
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5095
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5096
  ac_status=$?
5097
  grep -v '^ *+' conftest.er1 >conftest.err
5098
  rm -f conftest.er1
5099
  cat conftest.err >&5
5100
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5101
  (exit $ac_status); } >/dev/null && {
5102
	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5103
	 test ! -s conftest.err
5104
       }; then
5105
  ac_header_preproc=yes
5106
else
5107
  echo "$as_me: failed program was:" >&5
5108
sed 's/^/| /' conftest.$ac_ext >&5
5109
5110
  ac_header_preproc=no
5111
fi
5112
5113
rm -f conftest.err conftest.$ac_ext
5114
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5115
echo "${ECHO_T}$ac_header_preproc" >&6; }
5116
5117
# So?  What about this header?
5118
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5119
  yes:no: )
5120
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5121
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5122
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5123
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5124
    ac_header_preproc=yes
5125
    ;;
5126
  no:yes:* )
5127
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5128
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5129
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5130
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5131
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5132
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5133
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5134
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5135
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5136
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5137
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5138
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5139
5140
    ;;
5141
esac
5142
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
5143
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5144
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5145
  echo $ECHO_N "(cached) $ECHO_C" >&6
5146
else
5147
  eval "$as_ac_Header=\$ac_header_preproc"
5148
fi
5149
ac_res=`eval echo '${'$as_ac_Header'}'`
5150
	       { echo "$as_me:$LINENO: result: $ac_res" >&5
5151
echo "${ECHO_T}$ac_res" >&6; }
5152
5153
fi
5154
if test `eval echo '${'$as_ac_Header'}'` = yes; then
5155
  cat >>confdefs.h <<_ACEOF
5156
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5157
_ACEOF
5158
5159
fi
5160
5161
done
5162
5163
    if test $ac_cv_header_locale_h = yes; then
5164
    { echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
5165
echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6; }
5166
if test "${am_cv_val_LC_MESSAGES+set}" = set; then
5167
  echo $ECHO_N "(cached) $ECHO_C" >&6
5168
else
5169
  cat >conftest.$ac_ext <<_ACEOF
5170
/* confdefs.h.  */
5171
_ACEOF
5172
cat confdefs.h >>conftest.$ac_ext
5173
cat >>conftest.$ac_ext <<_ACEOF
5174
/* end confdefs.h.  */
5175
#include <locale.h>
5176
int
5177
main ()
5178
{
5179
return LC_MESSAGES
5180
  ;
5181
  return 0;
5182
}
5183
_ACEOF
5184
rm -f conftest.$ac_objext conftest$ac_exeext
5185
if { (ac_try="$ac_link"
5186
case "(($ac_try" in
5187
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5188
  *) ac_try_echo=$ac_try;;
5189
esac
5190
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5191
  (eval "$ac_link") 2>conftest.er1
5192
  ac_status=$?
5193
  grep -v '^ *+' conftest.er1 >conftest.err
5194
  rm -f conftest.er1
5195
  cat conftest.err >&5
5196
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5197
  (exit $ac_status); } && {
5198
	 test -z "$ac_c_werror_flag" ||
5199
	 test ! -s conftest.err
5200
       } && test -s conftest$ac_exeext &&
5201
       $as_test_x conftest$ac_exeext; then
5202
  am_cv_val_LC_MESSAGES=yes
5203
else
5204
  echo "$as_me: failed program was:" >&5
5205
sed 's/^/| /' conftest.$ac_ext >&5
5206
5207
	am_cv_val_LC_MESSAGES=no
5208
fi
5209
5210
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5211
      conftest$ac_exeext conftest.$ac_ext
5212
fi
5213
{ echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
5214
echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6; }
5215
    if test $am_cv_val_LC_MESSAGES = yes; then
5216
5217
cat >>confdefs.h <<\_ACEOF
5218
#define HAVE_LC_MESSAGES 1
5219
_ACEOF
5220
5221
    fi
5222
  fi
5223
     USE_NLS=yes
5224
5225
5226
    gt_cv_have_gettext=no
5227
5228
    CATOBJEXT=NONE
5229
    XGETTEXT=:
5230
    INTLLIBS=
5231
5232
    if test "${ac_cv_header_libintl_h+set}" = set; then
5233
  { echo "$as_me:$LINENO: checking for libintl.h" >&5
5234
echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
5235
if test "${ac_cv_header_libintl_h+set}" = set; then
5236
  echo $ECHO_N "(cached) $ECHO_C" >&6
5237
fi
5238
{ echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
5239
echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
5240
else
5241
  # Is the header compilable?
5242
{ echo "$as_me:$LINENO: checking libintl.h usability" >&5
5243
echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6; }
5244
cat >conftest.$ac_ext <<_ACEOF
5245
/* confdefs.h.  */
5246
_ACEOF
5247
cat confdefs.h >>conftest.$ac_ext
5248
cat >>conftest.$ac_ext <<_ACEOF
5249
/* end confdefs.h.  */
5250
$ac_includes_default
5251
#include <libintl.h>
5252
_ACEOF
5253
rm -f conftest.$ac_objext
5254
if { (ac_try="$ac_compile"
5255
case "(($ac_try" in
5256
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5257
  *) ac_try_echo=$ac_try;;
5258
esac
5259
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5260
  (eval "$ac_compile") 2>conftest.er1
5261
  ac_status=$?
5262
  grep -v '^ *+' conftest.er1 >conftest.err
5263
  rm -f conftest.er1
5264
  cat conftest.err >&5
5265
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5266
  (exit $ac_status); } && {
5267
	 test -z "$ac_c_werror_flag" ||
5268
	 test ! -s conftest.err
5269
       } && test -s conftest.$ac_objext; then
5270
  ac_header_compiler=yes
5271
else
5272
  echo "$as_me: failed program was:" >&5
5273
sed 's/^/| /' conftest.$ac_ext >&5
5274
5275
	ac_header_compiler=no
5276
fi
5277
5278
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5279
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5280
echo "${ECHO_T}$ac_header_compiler" >&6; }
5281
5282
# Is the header present?
5283
{ echo "$as_me:$LINENO: checking libintl.h presence" >&5
5284
echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6; }
5285
cat >conftest.$ac_ext <<_ACEOF
5286
/* confdefs.h.  */
5287
_ACEOF
5288
cat confdefs.h >>conftest.$ac_ext
5289
cat >>conftest.$ac_ext <<_ACEOF
5290
/* end confdefs.h.  */
5291
#include <libintl.h>
5292
_ACEOF
5293
if { (ac_try="$ac_cpp conftest.$ac_ext"
5294
case "(($ac_try" in
5295
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5296
  *) ac_try_echo=$ac_try;;
5297
esac
5298
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5299
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5300
  ac_status=$?
5301
  grep -v '^ *+' conftest.er1 >conftest.err
5302
  rm -f conftest.er1
5303
  cat conftest.err >&5
5304
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5305
  (exit $ac_status); } >/dev/null && {
5306
	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5307
	 test ! -s conftest.err
5308
       }; then
5309
  ac_header_preproc=yes
5310
else
5311
  echo "$as_me: failed program was:" >&5
5312
sed 's/^/| /' conftest.$ac_ext >&5
5313
5314
  ac_header_preproc=no
5315
fi
5316
5317
rm -f conftest.err conftest.$ac_ext
5318
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5319
echo "${ECHO_T}$ac_header_preproc" >&6; }
5320
5321
# So?  What about this header?
5322
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5323
  yes:no: )
5324
    { echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
5325
echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
5326
    { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
5327
echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
5328
    ac_header_preproc=yes
5329
    ;;
5330
  no:yes:* )
5331
    { echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
5332
echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
5333
    { echo "$as_me:$LINENO: WARNING: libintl.h:     check for missing prerequisite headers?" >&5
5334
echo "$as_me: WARNING: libintl.h:     check for missing prerequisite headers?" >&2;}
5335
    { echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
5336
echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
5337
    { echo "$as_me:$LINENO: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&5
5338
echo "$as_me: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&2;}
5339
    { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
5340
echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
5341
    { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
5342
echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
5343
5344
    ;;
5345
esac
5346
{ echo "$as_me:$LINENO: checking for libintl.h" >&5
5347
echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
5348
if test "${ac_cv_header_libintl_h+set}" = set; then
5349
  echo $ECHO_N "(cached) $ECHO_C" >&6
5350
else
5351
  ac_cv_header_libintl_h=$ac_header_preproc
5352
fi
5353
{ echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
5354
echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
5355
5356
fi
5357
if test $ac_cv_header_libintl_h = yes; then
5358
  gt_cv_func_dgettext_libintl="no"
5359
      libintl_extra_libs=""
5360
5361
      #
5362
      # First check in libc
5363
      #
5364
      { echo "$as_me:$LINENO: checking for ngettext in libc" >&5
5365
echo $ECHO_N "checking for ngettext in libc... $ECHO_C" >&6; }
5366
if test "${gt_cv_func_ngettext_libc+set}" = set; then
5367
  echo $ECHO_N "(cached) $ECHO_C" >&6
5368
else
5369
  cat >conftest.$ac_ext <<_ACEOF
5370
/* confdefs.h.  */
5371
_ACEOF
5372
cat confdefs.h >>conftest.$ac_ext
5373
cat >>conftest.$ac_ext <<_ACEOF
5374
/* end confdefs.h.  */
5375
5376
#include <libintl.h>
5377
5378
int
5379
main ()
5380
{
5381
return !ngettext ("","", 1)
5382
  ;
5383
  return 0;
5384
}
5385
_ACEOF
5386
rm -f conftest.$ac_objext conftest$ac_exeext
5387
if { (ac_try="$ac_link"
5388
case "(($ac_try" in
5389
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5390
  *) ac_try_echo=$ac_try;;
5391
esac
5392
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5393
  (eval "$ac_link") 2>conftest.er1
5394
  ac_status=$?
5395
  grep -v '^ *+' conftest.er1 >conftest.err
5396
  rm -f conftest.er1
5397
  cat conftest.err >&5
5398
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5399
  (exit $ac_status); } && {
5400
	 test -z "$ac_c_werror_flag" ||
5401
	 test ! -s conftest.err
5402
       } && test -s conftest$ac_exeext &&
5403
       $as_test_x conftest$ac_exeext; then
5404
  gt_cv_func_ngettext_libc=yes
5405
else
5406
  echo "$as_me: failed program was:" >&5
5407
sed 's/^/| /' conftest.$ac_ext >&5
5408
5409
	gt_cv_func_ngettext_libc=no
5410
fi
5411
5412
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5413
      conftest$ac_exeext conftest.$ac_ext
5414
5415
fi
5416
{ echo "$as_me:$LINENO: result: $gt_cv_func_ngettext_libc" >&5
5417
echo "${ECHO_T}$gt_cv_func_ngettext_libc" >&6; }
5418
5419
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
5420
	      { echo "$as_me:$LINENO: checking for dgettext in libc" >&5
5421
echo $ECHO_N "checking for dgettext in libc... $ECHO_C" >&6; }
5422
if test "${gt_cv_func_dgettext_libc+set}" = set; then
5423
  echo $ECHO_N "(cached) $ECHO_C" >&6
5424
else
5425
  cat >conftest.$ac_ext <<_ACEOF
5426
/* confdefs.h.  */
5427
_ACEOF
5428
cat confdefs.h >>conftest.$ac_ext
5429
cat >>conftest.$ac_ext <<_ACEOF
5430
/* end confdefs.h.  */
5431
5432
#include <libintl.h>
5433
5434
int
5435
main ()
5436
{
5437
return !dgettext ("","")
5438
  ;
5439
  return 0;
5440
}
5441
_ACEOF
5442
rm -f conftest.$ac_objext conftest$ac_exeext
5443
if { (ac_try="$ac_link"
5444
case "(($ac_try" in
5445
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5446
  *) ac_try_echo=$ac_try;;
5447
esac
5448
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5449
  (eval "$ac_link") 2>conftest.er1
5450
  ac_status=$?
5451
  grep -v '^ *+' conftest.er1 >conftest.err
5452
  rm -f conftest.er1
5453
  cat conftest.err >&5
5454
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5455
  (exit $ac_status); } && {
5456
	 test -z "$ac_c_werror_flag" ||
5457
	 test ! -s conftest.err
5458
       } && test -s conftest$ac_exeext &&
5459
       $as_test_x conftest$ac_exeext; then
5460
  gt_cv_func_dgettext_libc=yes
5461
else
5462
  echo "$as_me: failed program was:" >&5
5463
sed 's/^/| /' conftest.$ac_ext >&5
5464
5465
	gt_cv_func_dgettext_libc=no
5466
fi
5467
5468
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5469
      conftest$ac_exeext conftest.$ac_ext
5470
5471
fi
5472
{ echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
5473
echo "${ECHO_T}$gt_cv_func_dgettext_libc" >&6; }
5474
      fi
5475
5476
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
5477
5478
for ac_func in bind_textdomain_codeset
5479
do
5480
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5481
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
5482
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
5483
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5484
  echo $ECHO_N "(cached) $ECHO_C" >&6
5485
else
5486
  cat >conftest.$ac_ext <<_ACEOF
5487
/* confdefs.h.  */
5488
_ACEOF
5489
cat confdefs.h >>conftest.$ac_ext
5490
cat >>conftest.$ac_ext <<_ACEOF
5491
/* end confdefs.h.  */
5492
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5493
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
5494
#define $ac_func innocuous_$ac_func
5495
5496
/* System header to define __stub macros and hopefully few prototypes,
5497
    which can conflict with char $ac_func (); below.
5498
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5499
    <limits.h> exists even on freestanding compilers.  */
5500
5501
#ifdef __STDC__
5502
# include <limits.h>
5503
#else
5504
# include <assert.h>
5505
#endif
5506
5507
#undef $ac_func
5508
5509
/* Override any GCC internal prototype to avoid an error.
5510
   Use char because int might match the return type of a GCC
5511
   builtin and then its argument prototype would still apply.  */
5512
#ifdef __cplusplus
5513
extern "C"
5514
#endif
5515
char $ac_func ();
5516
/* The GNU C library defines this for functions which it implements
5517
    to always fail with ENOSYS.  Some functions are actually named
5518
    something starting with __ and the normal name is an alias.  */
5519
#if defined __stub_$ac_func || defined __stub___$ac_func
5520
choke me
5521
#endif
5522
5523
int
5524
main ()
5525
{
5526
return $ac_func ();
5527
  ;
5528
  return 0;
5529
}
5530
_ACEOF
5531
rm -f conftest.$ac_objext conftest$ac_exeext
5532
if { (ac_try="$ac_link"
5533
case "(($ac_try" in
5534
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5535
  *) ac_try_echo=$ac_try;;
5536
esac
5537
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5538
  (eval "$ac_link") 2>conftest.er1
5539
  ac_status=$?
5540
  grep -v '^ *+' conftest.er1 >conftest.err
5541
  rm -f conftest.er1
5542
  cat conftest.err >&5
5543
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5544
  (exit $ac_status); } && {
5545
	 test -z "$ac_c_werror_flag" ||
5546
	 test ! -s conftest.err
5547
       } && test -s conftest$ac_exeext &&
5548
       $as_test_x conftest$ac_exeext; then
5549
  eval "$as_ac_var=yes"
5550
else
5551
  echo "$as_me: failed program was:" >&5
5552
sed 's/^/| /' conftest.$ac_ext >&5
5553
5554
	eval "$as_ac_var=no"
5555
fi
5556
5557
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5558
      conftest$ac_exeext conftest.$ac_ext
5559
fi
5560
ac_res=`eval echo '${'$as_ac_var'}'`
5561
	       { echo "$as_me:$LINENO: result: $ac_res" >&5
5562
echo "${ECHO_T}$ac_res" >&6; }
5563
if test `eval echo '${'$as_ac_var'}'` = yes; then
5564
  cat >>confdefs.h <<_ACEOF
5565
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5566
_ACEOF
5567
5568
fi
5569
done
5570
5571
      fi
5572
5573
      #
5574
      # If we don't have everything we want, check in libintl
5575
      #
5576
      if test "$gt_cv_func_dgettext_libc" != "yes" \
5577
	 || test "$gt_cv_func_ngettext_libc" != "yes" \
5578
         || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
5579
5580
        { echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
5581
echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6; }
5582
if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
5583
  echo $ECHO_N "(cached) $ECHO_C" >&6
5584
else
5585
  ac_check_lib_save_LIBS=$LIBS
5586
LIBS="-lintl  $LIBS"
5587
cat >conftest.$ac_ext <<_ACEOF
5588
/* confdefs.h.  */
5589
_ACEOF
5590
cat confdefs.h >>conftest.$ac_ext
5591
cat >>conftest.$ac_ext <<_ACEOF
5592
/* end confdefs.h.  */
5593
5594
/* Override any GCC internal prototype to avoid an error.
5595
   Use char because int might match the return type of a GCC
5596
   builtin and then its argument prototype would still apply.  */
5597
#ifdef __cplusplus
5598
extern "C"
5599
#endif
5600
char bindtextdomain ();
5601
int
5602
main ()
5603
{
5604
return bindtextdomain ();
5605
  ;
5606
  return 0;
5607
}
5608
_ACEOF
5609
rm -f conftest.$ac_objext conftest$ac_exeext
5610
if { (ac_try="$ac_link"
5611
case "(($ac_try" in
5612
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5613
  *) ac_try_echo=$ac_try;;
5614
esac
5615
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5616
  (eval "$ac_link") 2>conftest.er1
5617
  ac_status=$?
5618
  grep -v '^ *+' conftest.er1 >conftest.err
5619
  rm -f conftest.er1
5620
  cat conftest.err >&5
5621
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5622
  (exit $ac_status); } && {
5623
	 test -z "$ac_c_werror_flag" ||
5624
	 test ! -s conftest.err
5625
       } && test -s conftest$ac_exeext &&
5626
       $as_test_x conftest$ac_exeext; then
5627
  ac_cv_lib_intl_bindtextdomain=yes
5628
else
5629
  echo "$as_me: failed program was:" >&5
5630
sed 's/^/| /' conftest.$ac_ext >&5
5631
5632
	ac_cv_lib_intl_bindtextdomain=no
5633
fi
5634
5635
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5636
      conftest$ac_exeext conftest.$ac_ext
5637
LIBS=$ac_check_lib_save_LIBS
5638
fi
5639
{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
5640
echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6; }
5641
if test $ac_cv_lib_intl_bindtextdomain = yes; then
5642
  { echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
5643
echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6; }
5644
if test "${ac_cv_lib_intl_ngettext+set}" = set; then
5645
  echo $ECHO_N "(cached) $ECHO_C" >&6
5646
else
5647
  ac_check_lib_save_LIBS=$LIBS
5648
LIBS="-lintl  $LIBS"
5649
cat >conftest.$ac_ext <<_ACEOF
5650
/* confdefs.h.  */
5651
_ACEOF
5652
cat confdefs.h >>conftest.$ac_ext
5653
cat >>conftest.$ac_ext <<_ACEOF
5654
/* end confdefs.h.  */
5655
5656
/* Override any GCC internal prototype to avoid an error.
5657
   Use char because int might match the return type of a GCC
5658
   builtin and then its argument prototype would still apply.  */
5659
#ifdef __cplusplus
5660
extern "C"
5661
#endif
5662
char ngettext ();
5663
int
5664
main ()
5665
{
5666
return ngettext ();
5667
  ;
5668
  return 0;
5669
}
5670
_ACEOF
5671
rm -f conftest.$ac_objext conftest$ac_exeext
5672
if { (ac_try="$ac_link"
5673
case "(($ac_try" in
5674
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5675
  *) ac_try_echo=$ac_try;;
5676
esac
5677
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5678
  (eval "$ac_link") 2>conftest.er1
5679
  ac_status=$?
5680
  grep -v '^ *+' conftest.er1 >conftest.err
5681
  rm -f conftest.er1
5682
  cat conftest.err >&5
5683
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5684
  (exit $ac_status); } && {
5685
	 test -z "$ac_c_werror_flag" ||
5686
	 test ! -s conftest.err
5687
       } && test -s conftest$ac_exeext &&
5688
       $as_test_x conftest$ac_exeext; then
5689
  ac_cv_lib_intl_ngettext=yes
5690
else
5691
  echo "$as_me: failed program was:" >&5
5692
sed 's/^/| /' conftest.$ac_ext >&5
5693
5694
	ac_cv_lib_intl_ngettext=no
5695
fi
5696
5697
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5698
      conftest$ac_exeext conftest.$ac_ext
5699
LIBS=$ac_check_lib_save_LIBS
5700
fi
5701
{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
5702
echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6; }
5703
if test $ac_cv_lib_intl_ngettext = yes; then
5704
  { echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
5705
echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6; }
5706
if test "${ac_cv_lib_intl_dgettext+set}" = set; then
5707
  echo $ECHO_N "(cached) $ECHO_C" >&6
5708
else
5709
  ac_check_lib_save_LIBS=$LIBS
5710
LIBS="-lintl  $LIBS"
5711
cat >conftest.$ac_ext <<_ACEOF
5712
/* confdefs.h.  */
5713
_ACEOF
5714
cat confdefs.h >>conftest.$ac_ext
5715
cat >>conftest.$ac_ext <<_ACEOF
5716
/* end confdefs.h.  */
5717
5718
/* Override any GCC internal prototype to avoid an error.
5719
   Use char because int might match the return type of a GCC
5720
   builtin and then its argument prototype would still apply.  */
5721
#ifdef __cplusplus
5722
extern "C"
5723
#endif
5724
char dgettext ();
5725
int
5726
main ()
5727
{
5728
return dgettext ();
5729
  ;
5730
  return 0;
5731
}
5732
_ACEOF
5733
rm -f conftest.$ac_objext conftest$ac_exeext
5734
if { (ac_try="$ac_link"
5735
case "(($ac_try" in
5736
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5737
  *) ac_try_echo=$ac_try;;
5738
esac
5739
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5740
  (eval "$ac_link") 2>conftest.er1
5741
  ac_status=$?
5742
  grep -v '^ *+' conftest.er1 >conftest.err
5743
  rm -f conftest.er1
5744
  cat conftest.err >&5
5745
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5746
  (exit $ac_status); } && {
5747
	 test -z "$ac_c_werror_flag" ||
5748
	 test ! -s conftest.err
5749
       } && test -s conftest$ac_exeext &&
5750
       $as_test_x conftest$ac_exeext; then
5751
  ac_cv_lib_intl_dgettext=yes
5752
else
5753
  echo "$as_me: failed program was:" >&5
5754
sed 's/^/| /' conftest.$ac_ext >&5
5755
5756
	ac_cv_lib_intl_dgettext=no
5757
fi
5758
5759
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5760
      conftest$ac_exeext conftest.$ac_ext
5761
LIBS=$ac_check_lib_save_LIBS
5762
fi
5763
{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
5764
echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6; }
5765
if test $ac_cv_lib_intl_dgettext = yes; then
5766
  gt_cv_func_dgettext_libintl=yes
5767
fi
5768
5769
fi
5770
5771
fi
5772
5773
5774
	if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
5775
	  { echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5
5776
echo $ECHO_N "checking if -liconv is needed to use gettext... $ECHO_C" >&6; }
5777
	  { echo "$as_me:$LINENO: result: " >&5
5778
echo "${ECHO_T}" >&6; }
5779
  	  { echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
5780
echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6; }
5781
if test "${ac_cv_lib_intl_ngettext+set}" = set; then
5782
  echo $ECHO_N "(cached) $ECHO_C" >&6
5783
else
5784
  ac_check_lib_save_LIBS=$LIBS
5785
LIBS="-lintl -liconv $LIBS"
5786
cat >conftest.$ac_ext <<_ACEOF
5787
/* confdefs.h.  */
5788
_ACEOF
5789
cat confdefs.h >>conftest.$ac_ext
5790
cat >>conftest.$ac_ext <<_ACEOF
5791
/* end confdefs.h.  */
5792
5793
/* Override any GCC internal prototype to avoid an error.
5794
   Use char because int might match the return type of a GCC
5795
   builtin and then its argument prototype would still apply.  */
5796
#ifdef __cplusplus
5797
extern "C"
5798
#endif
5799
char ngettext ();
5800
int
5801
main ()
5802
{
5803
return ngettext ();
5804
  ;
5805
  return 0;
5806
}
5807
_ACEOF
5808
rm -f conftest.$ac_objext conftest$ac_exeext
5809
if { (ac_try="$ac_link"
5810
case "(($ac_try" in
5811
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5812
  *) ac_try_echo=$ac_try;;
5813
esac
5814
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5815
  (eval "$ac_link") 2>conftest.er1
5816
  ac_status=$?
5817
  grep -v '^ *+' conftest.er1 >conftest.err
5818
  rm -f conftest.er1
5819
  cat conftest.err >&5
5820
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5821
  (exit $ac_status); } && {
5822
	 test -z "$ac_c_werror_flag" ||
5823
	 test ! -s conftest.err
5824
       } && test -s conftest$ac_exeext &&
5825
       $as_test_x conftest$ac_exeext; then
5826
  ac_cv_lib_intl_ngettext=yes
5827
else
5828
  echo "$as_me: failed program was:" >&5
5829
sed 's/^/| /' conftest.$ac_ext >&5
5830
5831
	ac_cv_lib_intl_ngettext=no
5832
fi
5833
5834
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5835
      conftest$ac_exeext conftest.$ac_ext
5836
LIBS=$ac_check_lib_save_LIBS
5837
fi
5838
{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
5839
echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6; }
5840
if test $ac_cv_lib_intl_ngettext = yes; then
5841
  { echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5
5842
echo $ECHO_N "checking for dcgettext in -lintl... $ECHO_C" >&6; }
5843
if test "${ac_cv_lib_intl_dcgettext+set}" = set; then
5844
  echo $ECHO_N "(cached) $ECHO_C" >&6
5845
else
5846
  ac_check_lib_save_LIBS=$LIBS
5847
LIBS="-lintl -liconv $LIBS"
5848
cat >conftest.$ac_ext <<_ACEOF
5849
/* confdefs.h.  */
5850
_ACEOF
5851
cat confdefs.h >>conftest.$ac_ext
5852
cat >>conftest.$ac_ext <<_ACEOF
5853
/* end confdefs.h.  */
5854
5855
/* Override any GCC internal prototype to avoid an error.
5856
   Use char because int might match the return type of a GCC
5857
   builtin and then its argument prototype would still apply.  */
5858
#ifdef __cplusplus
5859
extern "C"
5860
#endif
5861
char dcgettext ();
5862
int
5863
main ()
5864
{
5865
return dcgettext ();
5866
  ;
5867
  return 0;
5868
}
5869
_ACEOF
5870
rm -f conftest.$ac_objext conftest$ac_exeext
5871
if { (ac_try="$ac_link"
5872
case "(($ac_try" in
5873
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5874
  *) ac_try_echo=$ac_try;;
5875
esac
5876
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5877
  (eval "$ac_link") 2>conftest.er1
5878
  ac_status=$?
5879
  grep -v '^ *+' conftest.er1 >conftest.err
5880
  rm -f conftest.er1
5881
  cat conftest.err >&5
5882
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5883
  (exit $ac_status); } && {
5884
	 test -z "$ac_c_werror_flag" ||
5885
	 test ! -s conftest.err
5886
       } && test -s conftest$ac_exeext &&
5887
       $as_test_x conftest$ac_exeext; then
5888
  ac_cv_lib_intl_dcgettext=yes
5889
else
5890
  echo "$as_me: failed program was:" >&5
5891
sed 's/^/| /' conftest.$ac_ext >&5
5892
5893
	ac_cv_lib_intl_dcgettext=no
5894
fi
5895
5896
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5897
      conftest$ac_exeext conftest.$ac_ext
5898
LIBS=$ac_check_lib_save_LIBS
5899
fi
5900
{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5
5901
echo "${ECHO_T}$ac_cv_lib_intl_dcgettext" >&6; }
5902
if test $ac_cv_lib_intl_dcgettext = yes; then
5903
  gt_cv_func_dgettext_libintl=yes
5904
			libintl_extra_libs=-liconv
5905
else
5906
  :
5907
fi
5908
5909
else
5910
  :
5911
fi
5912
5913
        fi
5914
5915
        #
5916
        # If we found libintl, then check in it for bind_textdomain_codeset();
5917
        # we'll prefer libc if neither have bind_textdomain_codeset(),
5918
        # and both have dgettext and ngettext
5919
        #
5920
        if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
5921
          glib_save_LIBS="$LIBS"
5922
          LIBS="$LIBS -lintl $libintl_extra_libs"
5923
          unset ac_cv_func_bind_textdomain_codeset
5924
5925
for ac_func in bind_textdomain_codeset
5926
do
5927
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5928
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
5929
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
5930
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5931
  echo $ECHO_N "(cached) $ECHO_C" >&6
5932
else
5933
  cat >conftest.$ac_ext <<_ACEOF
5934
/* confdefs.h.  */
5935
_ACEOF
5936
cat confdefs.h >>conftest.$ac_ext
5937
cat >>conftest.$ac_ext <<_ACEOF
5938
/* end confdefs.h.  */
5939
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5940
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
5941
#define $ac_func innocuous_$ac_func
5942
5943
/* System header to define __stub macros and hopefully few prototypes,
5944
    which can conflict with char $ac_func (); below.
5945
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5946
    <limits.h> exists even on freestanding compilers.  */
5947
5948
#ifdef __STDC__
5949
# include <limits.h>
5950
#else
5951
# include <assert.h>
5952
#endif
5953
5954
#undef $ac_func
5955
5956
/* Override any GCC internal prototype to avoid an error.
5957
   Use char because int might match the return type of a GCC
5958
   builtin and then its argument prototype would still apply.  */
5959
#ifdef __cplusplus
5960
extern "C"
5961
#endif
5962
char $ac_func ();
5963
/* The GNU C library defines this for functions which it implements
5964
    to always fail with ENOSYS.  Some functions are actually named
5965
    something starting with __ and the normal name is an alias.  */
5966
#if defined __stub_$ac_func || defined __stub___$ac_func
5967
choke me
5968
#endif
5969
5970
int
5971
main ()
5972
{
5973
return $ac_func ();
5974
  ;
5975
  return 0;
5976
}
5977
_ACEOF
5978
rm -f conftest.$ac_objext conftest$ac_exeext
5979
if { (ac_try="$ac_link"
5980
case "(($ac_try" in
5981
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5982
  *) ac_try_echo=$ac_try;;
5983
esac
5984
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5985
  (eval "$ac_link") 2>conftest.er1
5986
  ac_status=$?
5987
  grep -v '^ *+' conftest.er1 >conftest.err
5988
  rm -f conftest.er1
5989
  cat conftest.err >&5
5990
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5991
  (exit $ac_status); } && {
5992
	 test -z "$ac_c_werror_flag" ||
5993
	 test ! -s conftest.err
5994
       } && test -s conftest$ac_exeext &&
5995
       $as_test_x conftest$ac_exeext; then
5996
  eval "$as_ac_var=yes"
5997
else
5998
  echo "$as_me: failed program was:" >&5
5999
sed 's/^/| /' conftest.$ac_ext >&5
6000
6001
	eval "$as_ac_var=no"
6002
fi
6003
6004
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6005
      conftest$ac_exeext conftest.$ac_ext
6006
fi
6007
ac_res=`eval echo '${'$as_ac_var'}'`
6008
	       { echo "$as_me:$LINENO: result: $ac_res" >&5
6009
echo "${ECHO_T}$ac_res" >&6; }
6010
if test `eval echo '${'$as_ac_var'}'` = yes; then
6011
  cat >>confdefs.h <<_ACEOF
6012
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6013
_ACEOF
6014
6015
fi
6016
done
6017
6018
          LIBS="$glib_save_LIBS"
6019
6020
          if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
6021
            gt_cv_func_dgettext_libc=no
6022
          else
6023
            if test "$gt_cv_func_dgettext_libc" = "yes" \
6024
		&& test "$gt_cv_func_ngettext_libc" = "yes"; then
6025
              gt_cv_func_dgettext_libintl=no
6026
            fi
6027
          fi
6028
        fi
6029
      fi
6030
6031
      if test "$gt_cv_func_dgettext_libc" = "yes" \
6032
	|| test "$gt_cv_func_dgettext_libintl" = "yes"; then
6033
        gt_cv_have_gettext=yes
6034
      fi
6035
6036
      if test "$gt_cv_func_dgettext_libintl" = "yes"; then
6037
        INTLLIBS="-lintl $libintl_extra_libs"
6038
      fi
6039
6040
      if test "$gt_cv_have_gettext" = "yes"; then
6041
6042
cat >>confdefs.h <<\_ACEOF
6043
#define HAVE_GETTEXT 1
6044
_ACEOF
6045
6046
	# Extract the first word of "msgfmt", so it can be a program name with args.
6047
set dummy msgfmt; ac_word=$2
6048
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6049
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6050
if test "${ac_cv_path_MSGFMT+set}" = set; then
6051
  echo $ECHO_N "(cached) $ECHO_C" >&6
6052
else
6053
  case "$MSGFMT" in
6054
  /*)
6055
  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
6056
  ;;
6057
  *)
6058
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
6059
  for ac_dir in $PATH; do
6060
    test -z "$ac_dir" && ac_dir=.
6061
    if test -f $ac_dir/$ac_word; then
6062
      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
6063
	ac_cv_path_MSGFMT="$ac_dir/$ac_word"
6064
	break
6065
      fi
6066
    fi
6067
  done
6068
  IFS="$ac_save_ifs"
6069
  test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
6070
  ;;
6071
esac
6072
fi
6073
MSGFMT="$ac_cv_path_MSGFMT"
6074
if test "$MSGFMT" != "no"; then
6075
  { echo "$as_me:$LINENO: result: $MSGFMT" >&5
6076
echo "${ECHO_T}$MSGFMT" >&6; }
6077
else
6078
  { echo "$as_me:$LINENO: result: no" >&5
6079
echo "${ECHO_T}no" >&6; }
6080
fi
6081
	if test "$MSGFMT" != "no"; then
6082
          glib_save_LIBS="$LIBS"
6083
          LIBS="$LIBS $INTLLIBS"
6084
6085
for ac_func in dcgettext
6086
do
6087
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6088
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
6089
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6090
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6091
  echo $ECHO_N "(cached) $ECHO_C" >&6
6092
else
6093
  cat >conftest.$ac_ext <<_ACEOF
6094
/* confdefs.h.  */
6095
_ACEOF
6096
cat confdefs.h >>conftest.$ac_ext
6097
cat >>conftest.$ac_ext <<_ACEOF
6098
/* end confdefs.h.  */
6099
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6100
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
6101
#define $ac_func innocuous_$ac_func
6102
6103
/* System header to define __stub macros and hopefully few prototypes,
6104
    which can conflict with char $ac_func (); below.
6105
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6106
    <limits.h> exists even on freestanding compilers.  */
6107
6108
#ifdef __STDC__
6109
# include <limits.h>
6110
#else
6111
# include <assert.h>
6112
#endif
6113
6114
#undef $ac_func
6115
6116
/* Override any GCC internal prototype to avoid an error.
6117
   Use char because int might match the return type of a GCC
6118
   builtin and then its argument prototype would still apply.  */
6119
#ifdef __cplusplus
6120
extern "C"
6121
#endif
6122
char $ac_func ();
6123
/* The GNU C library defines this for functions which it implements
6124
    to always fail with ENOSYS.  Some functions are actually named
6125
    something starting with __ and the normal name is an alias.  */
6126
#if defined __stub_$ac_func || defined __stub___$ac_func
6127
choke me
6128
#endif
6129
6130
int
6131
main ()
6132
{
6133
return $ac_func ();
6134
  ;
6135
  return 0;
6136
}
6137
_ACEOF
6138
rm -f conftest.$ac_objext conftest$ac_exeext
6139
if { (ac_try="$ac_link"
6140
case "(($ac_try" in
6141
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6142
  *) ac_try_echo=$ac_try;;
6143
esac
6144
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6145
  (eval "$ac_link") 2>conftest.er1
6146
  ac_status=$?
6147
  grep -v '^ *+' conftest.er1 >conftest.err
6148
  rm -f conftest.er1
6149
  cat conftest.err >&5
6150
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6151
  (exit $ac_status); } && {
6152
	 test -z "$ac_c_werror_flag" ||
6153
	 test ! -s conftest.err
6154
       } && test -s conftest$ac_exeext &&
6155
       $as_test_x conftest$ac_exeext; then
6156
  eval "$as_ac_var=yes"
6157
else
6158
  echo "$as_me: failed program was:" >&5
6159
sed 's/^/| /' conftest.$ac_ext >&5
6160
6161
	eval "$as_ac_var=no"
6162
fi
6163
6164
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6165
      conftest$ac_exeext conftest.$ac_ext
6166
fi
6167
ac_res=`eval echo '${'$as_ac_var'}'`
6168
	       { echo "$as_me:$LINENO: result: $ac_res" >&5
6169
echo "${ECHO_T}$ac_res" >&6; }
6170
if test `eval echo '${'$as_ac_var'}'` = yes; then
6171
  cat >>confdefs.h <<_ACEOF
6172
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6173
_ACEOF
6174
6175
fi
6176
done
6177
6178
	  MSGFMT_OPTS=
6179
	  { echo "$as_me:$LINENO: checking if msgfmt accepts -c" >&5
6180
echo $ECHO_N "checking if msgfmt accepts -c... $ECHO_C" >&6; }
6181
	  cat >conftest.foo <<_ACEOF
6182
6183
msgid ""
6184
msgstr ""
6185
"Content-Type: text/plain; charset=UTF-8\n"
6186
"Project-Id-Version: test 1.0\n"
6187
"PO-Revision-Date: 2007-02-15 12:01+0100\n"
6188
"Last-Translator: test <foo@bar.xx>\n"
6189
"Language-Team: C <LL@li.org>\n"
6190
"MIME-Version: 1.0\n"
6191
"Content-Transfer-Encoding: 8bit\n"
6192
6193
_ACEOF
6194
if { (echo "$as_me:$LINENO: \$MSGFMT -c -o /dev/null conftest.foo") >&5
6195
  ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
6196
  ac_status=$?
6197
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6198
  (exit $ac_status); }; then
6199
  MSGFMT_OPTS=-c; { echo "$as_me:$LINENO: result: yes" >&5
6200
echo "${ECHO_T}yes" >&6; }
6201
else { echo "$as_me:$LINENO: result: no" >&5
6202
echo "${ECHO_T}no" >&6; }
6203
echo "$as_me: failed input was:" >&5
6204
sed 's/^/| /' conftest.foo >&5
6205
fi
6206
6207
	  # Extract the first word of "gmsgfmt", so it can be a program name with args.
6208
set dummy gmsgfmt; ac_word=$2
6209
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6210
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6211
if test "${ac_cv_path_GMSGFMT+set}" = set; then
6212
  echo $ECHO_N "(cached) $ECHO_C" >&6
6213
else
6214
  case $GMSGFMT in
6215
  [\\/]* | ?:[\\/]*)
6216
  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
6217
  ;;
6218
  *)
6219
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6220
for as_dir in $PATH
6221
do
6222
  IFS=$as_save_IFS
6223
  test -z "$as_dir" && as_dir=.
6224
  for ac_exec_ext in '' $ac_executable_extensions; do
6225
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6226
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
6227
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6228
    break 2
6229
  fi
6230
done
6231
done
6232
IFS=$as_save_IFS
6233
6234
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
6235
  ;;
6236
esac
6237
fi
6238
GMSGFMT=$ac_cv_path_GMSGFMT
6239
if test -n "$GMSGFMT"; then
6240
  { echo "$as_me:$LINENO: result: $GMSGFMT" >&5
6241
echo "${ECHO_T}$GMSGFMT" >&6; }
6242
else
6243
  { echo "$as_me:$LINENO: result: no" >&5
6244
echo "${ECHO_T}no" >&6; }
6245
fi
6246
6247
6248
	  # Extract the first word of "xgettext", so it can be a program name with args.
6249
set dummy xgettext; ac_word=$2
6250
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6251
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6252
if test "${ac_cv_path_XGETTEXT+set}" = set; then
6253
  echo $ECHO_N "(cached) $ECHO_C" >&6
6254
else
6255
  case "$XGETTEXT" in
6256
  /*)
6257
  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
6258
  ;;
6259
  *)
6260
  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
6261
  for ac_dir in $PATH; do
6262
    test -z "$ac_dir" && ac_dir=.
6263
    if test -f $ac_dir/$ac_word; then
6264
      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
6265
	ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
6266
	break
6267
      fi
6268
    fi
6269
  done
6270
  IFS="$ac_save_ifs"
6271
  test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
6272
  ;;
6273
esac
6274
fi
6275
XGETTEXT="$ac_cv_path_XGETTEXT"
6276
if test "$XGETTEXT" != ":"; then
6277
  { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
6278
echo "${ECHO_T}$XGETTEXT" >&6; }
6279
else
6280
  { echo "$as_me:$LINENO: result: no" >&5
6281
echo "${ECHO_T}no" >&6; }
6282
fi
6283
6284
	  cat >conftest.$ac_ext <<_ACEOF
6285
/* confdefs.h.  */
6286
_ACEOF
6287
cat confdefs.h >>conftest.$ac_ext
6288
cat >>conftest.$ac_ext <<_ACEOF
6289
/* end confdefs.h.  */
6290
6291
int
6292
main ()
6293
{
6294
extern int _nl_msg_cat_cntr;
6295
			 return _nl_msg_cat_cntr
6296
  ;
6297
  return 0;
6298
}
6299
_ACEOF
6300
rm -f conftest.$ac_objext conftest$ac_exeext
6301
if { (ac_try="$ac_link"
6302
case "(($ac_try" in
6303
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6304
  *) ac_try_echo=$ac_try;;
6305
esac
6306
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6307
  (eval "$ac_link") 2>conftest.er1
6308
  ac_status=$?
6309
  grep -v '^ *+' conftest.er1 >conftest.err
6310
  rm -f conftest.er1
6311
  cat conftest.err >&5
6312
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6313
  (exit $ac_status); } && {
6314
	 test -z "$ac_c_werror_flag" ||
6315
	 test ! -s conftest.err
6316
       } && test -s conftest$ac_exeext &&
6317
       $as_test_x conftest$ac_exeext; then
6318
  CATOBJEXT=.gmo
6319
             DATADIRNAME=share
6320
else
6321
  echo "$as_me: failed program was:" >&5
6322
sed 's/^/| /' conftest.$ac_ext >&5
6323
6324
	case $host in
6325
	    *-*-solaris*)
6326
	    	                	    	                { echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
6327
echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6; }
6328
if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
6329
  echo $ECHO_N "(cached) $ECHO_C" >&6
6330
else
6331
  cat >conftest.$ac_ext <<_ACEOF
6332
/* confdefs.h.  */
6333
_ACEOF
6334
cat confdefs.h >>conftest.$ac_ext
6335
cat >>conftest.$ac_ext <<_ACEOF
6336
/* end confdefs.h.  */
6337
/* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
6338
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
6339
#define bind_textdomain_codeset innocuous_bind_textdomain_codeset
6340
6341
/* System header to define __stub macros and hopefully few prototypes,
6342
    which can conflict with char bind_textdomain_codeset (); below.
6343
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6344
    <limits.h> exists even on freestanding compilers.  */
6345
6346
#ifdef __STDC__
6347
# include <limits.h>
6348
#else
6349
# include <assert.h>
6350
#endif
6351
6352
#undef bind_textdomain_codeset
6353
6354
/* Override any GCC internal prototype to avoid an error.
6355
   Use char because int might match the return type of a GCC
6356
   builtin and then its argument prototype would still apply.  */
6357
#ifdef __cplusplus
6358
extern "C"
6359
#endif
6360
char bind_textdomain_codeset ();
6361
/* The GNU C library defines this for functions which it implements
6362
    to always fail with ENOSYS.  Some functions are actually named
6363
    something starting with __ and the normal name is an alias.  */
6364
#if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
6365
choke me
6366
#endif
6367
6368
int
6369
main ()
6370
{
6371
return bind_textdomain_codeset ();
6372
  ;
6373
  return 0;
6374
}
6375
_ACEOF
6376
rm -f conftest.$ac_objext conftest$ac_exeext
6377
if { (ac_try="$ac_link"
6378
case "(($ac_try" in
6379
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6380
  *) ac_try_echo=$ac_try;;
6381
esac
6382
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6383
  (eval "$ac_link") 2>conftest.er1
6384
  ac_status=$?
6385
  grep -v '^ *+' conftest.er1 >conftest.err
6386
  rm -f conftest.er1
6387
  cat conftest.err >&5
6388
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6389
  (exit $ac_status); } && {
6390
	 test -z "$ac_c_werror_flag" ||
6391
	 test ! -s conftest.err
6392
       } && test -s conftest$ac_exeext &&
6393
       $as_test_x conftest$ac_exeext; then
6394
  ac_cv_func_bind_textdomain_codeset=yes
6395
else
6396
  echo "$as_me: failed program was:" >&5
6397
sed 's/^/| /' conftest.$ac_ext >&5
6398
6399
	ac_cv_func_bind_textdomain_codeset=no
6400
fi
6401
6402
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6403
      conftest$ac_exeext conftest.$ac_ext
6404
fi
6405
{ echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
6406
echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6; }
6407
if test $ac_cv_func_bind_textdomain_codeset = yes; then
6408
  CATOBJEXT=.gmo
6409
               DATADIRNAME=share
6410
else
6411
  CATOBJEXT=.mo
6412
               DATADIRNAME=lib
6413
fi
6414
6415
	    ;;
6416
	    *)
6417
	    CATOBJEXT=.mo
6418
            DATADIRNAME=lib
6419
	    ;;
6420
	    esac
6421
fi
6422
6423
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6424
      conftest$ac_exeext conftest.$ac_ext
6425
          LIBS="$glib_save_LIBS"
6426
	  INSTOBJEXT=.mo
6427
	else
6428
	  gt_cv_have_gettext=no
6429
	fi
6430
      fi
6431
6432
fi
6433
6434
6435
6436
    if test "$gt_cv_have_gettext" = "yes" ; then
6437
6438
cat >>confdefs.h <<\_ACEOF
6439
#define ENABLE_NLS 1
6440
_ACEOF
6441
6442
    fi
6443
6444
        if test "$XGETTEXT" != ":"; then
6445
                  if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
6446
        : ;
6447
      else
6448
        { echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
6449
echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6; }
6450
        XGETTEXT=":"
6451
      fi
6452
    fi
6453
6454
    # We need to process the po/ directory.
6455
    POSUB=po
6456
6457
    ac_config_commands="$ac_config_commands default-1"
6458
6459
6460
                for lang in $ALL_LINGUAS; do
6461
      GMOFILES="$GMOFILES $lang.gmo"
6462
      POFILES="$POFILES $lang.po"
6463
    done
6464
6465
6466
6467
6468
6469
6470
6471
6472
6473
6474
6475
6476
6477
   if test "$gt_cv_have_gettext" = "yes"; then
6478
     if test "x$ALL_LINGUAS" = "x"; then
6479
       LINGUAS=
6480
     else
6481
       { echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
6482
echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6; }
6483
       NEW_LINGUAS=
6484
       for presentlang in $ALL_LINGUAS; do
6485
         useit=no
6486
         if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
6487
           desiredlanguages="$LINGUAS"
6488
         else
6489
           desiredlanguages="$ALL_LINGUAS"
6490
         fi
6491
         for desiredlang in $desiredlanguages; do
6492
 	   # Use the presentlang catalog if desiredlang is
6493
           #   a. equal to presentlang, or
6494
           #   b. a variant of presentlang (because in this case,
6495
           #      presentlang can be used as a fallback for messages
6496
           #      which are not translated in the desiredlang catalog).
6497
           case "$desiredlang" in
6498
             "$presentlang"*) useit=yes;;
6499
           esac
6500
         done
6501
         if test $useit = yes; then
6502
           NEW_LINGUAS="$NEW_LINGUAS $presentlang"
6503
         fi
6504
       done
6505
       LINGUAS=$NEW_LINGUAS
6506
       { echo "$as_me:$LINENO: result: $LINGUAS" >&5
6507
echo "${ECHO_T}$LINGUAS" >&6; }
6508
     fi
6509
6510
          if test -n "$LINGUAS"; then
6511
       for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
6512
     fi
6513
   fi
6514
6515
            MKINSTALLDIRS=
6516
   if test -n "$ac_aux_dir"; then
6517
     MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
6518
   fi
6519
   if test -z "$MKINSTALLDIRS"; then
6520
     MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
6521
   fi
6522
6523
6524
         test -d po || mkdir po
6525
   if test "x$srcdir" != "x."; then
6526
     if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
6527
       posrcprefix="$srcdir/"
6528
     else
6529
       posrcprefix="../$srcdir/"
6530
     fi
6531
   else
6532
     posrcprefix="../"
6533
   fi
6534
   rm -f po/POTFILES
6535
   sed -e "/^#/d" -e "/^\$/d" -e "s,.*,	$posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
6536
	< $srcdir/po/POTFILES.in > po/POTFILES
6537
6538
	CONFIG_STATUS_DEPENDENCIES='$(top_srcdir)/po/LINGUAS'
6539
6540
6541
1.1.5 by Christopher James Halse Rogers
Import upstream version 0.8.0
6542
ABI_VERSION=0.9
1.1.4 by Christopher James Halse Rogers
Import upstream version 0.6.1.0
6543
6544
6545
RELEASE="true"
6546
if  $RELEASE = "true"  ; then
6547
   VERSION_INFO="Release"
6548
else
6549
   VERSION_INFO=`bzr version-info --custom \
6550
   --template="bzr {branch_nick} r{revno}"`
6551
fi
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
6552
6553
6554
# Extract the first word of "pkg-config", so it can be a program name with args.
6555
set dummy pkg-config; ac_word=$2
6556
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6557
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6558
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
6559
  echo $ECHO_N "(cached) $ECHO_C" >&6
6560
else
6561
  case $PKG_CONFIG in
6562
  [\\/]* | ?:[\\/]*)
6563
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
6564
  ;;
6565
  *)
6566
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6567
for as_dir in $PATH
6568
do
6569
  IFS=$as_save_IFS
6570
  test -z "$as_dir" && as_dir=.
6571
  for ac_exec_ext in '' $ac_executable_extensions; do
6572
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6573
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
6574
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6575
    break 2
6576
  fi
6577
done
6578
done
6579
IFS=$as_save_IFS
6580
6581
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
6582
  ;;
6583
esac
6584
fi
6585
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
6586
if test -n "$PKG_CONFIG"; then
6587
  { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6588
echo "${ECHO_T}$PKG_CONFIG" >&6; }
6589
else
6590
  { echo "$as_me:$LINENO: result: no" >&5
6591
echo "${ECHO_T}no" >&6; }
6592
fi
6593
6594
6595
if test "x$PKG_CONFIG" = "xno"; then
6596
        { { echo "$as_me:$LINENO: error: You need to install pkg-config" >&5
6597
echo "$as_me: error: You need to install pkg-config" >&2;}
6598
   { (exit 1); exit 1; }; }
6599
fi
6600
6601
# Find a good install program.  We prefer a C program (faster),
6602
# so one script is as good as another.  But avoid the broken or
6603
# incompatible versions:
6604
# SysV /etc/install, /usr/sbin/install
6605
# SunOS /usr/etc/install
6606
# IRIX /sbin/install
6607
# AIX /bin/install
6608
# AmigaOS /C/install, which installs bootblocks on floppy discs
6609
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6610
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
6611
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6612
# OS/2's system install, which has a completely different semantic
6613
# ./install, which can be erroneously created by make from ./install.sh.
6614
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6615
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
6616
if test -z "$INSTALL"; then
6617
if test "${ac_cv_path_install+set}" = set; then
6618
  echo $ECHO_N "(cached) $ECHO_C" >&6
6619
else
6620
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6621
for as_dir in $PATH
6622
do
6623
  IFS=$as_save_IFS
6624
  test -z "$as_dir" && as_dir=.
6625
  # Account for people who put trailing slashes in PATH elements.
6626
case $as_dir/ in
6627
  ./ | .// | /cC/* | \
6628
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
6629
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
6630
  /usr/ucb/* ) ;;
6631
  *)
6632
    # OSF1 and SCO ODT 3.0 have their own names for install.
6633
    # Don't use installbsd from OSF since it installs stuff as root
6634
    # by default.
6635
    for ac_prog in ginstall scoinst install; do
6636
      for ac_exec_ext in '' $ac_executable_extensions; do
6637
	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
6638
	  if test $ac_prog = install &&
6639
	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6640
	    # AIX install.  It has an incompatible calling convention.
6641
	    :
6642
	  elif test $ac_prog = install &&
6643
	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6644
	    # program-specific install script used by HP pwplus--don't use.
6645
	    :
6646
	  else
6647
	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
6648
	    break 3
6649
	  fi
6650
	fi
6651
      done
6652
    done
6653
    ;;
6654
esac
6655
done
6656
IFS=$as_save_IFS
6657
6658
6659
fi
6660
  if test "${ac_cv_path_install+set}" = set; then
6661
    INSTALL=$ac_cv_path_install
6662
  else
6663
    # As a last resort, use the slow shell script.  Don't cache a
6664
    # value for INSTALL within a source directory, because that will
6665
    # break other packages using the cache if that directory is
6666
    # removed, or if the value is a relative name.
6667
    INSTALL=$ac_install_sh
6668
  fi
6669
fi
6670
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
6671
echo "${ECHO_T}$INSTALL" >&6; }
6672
6673
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6674
# It thinks the first close brace ends the variable substitution.
6675
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
6676
6677
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
6678
6679
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
6680
6681
ac_ext=c
6682
ac_cpp='$CPP $CPPFLAGS'
6683
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6684
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6685
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6686
if test -n "$ac_tool_prefix"; then
6687
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
6688
set dummy ${ac_tool_prefix}gcc; ac_word=$2
6689
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6690
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6691
if test "${ac_cv_prog_CC+set}" = set; then
6692
  echo $ECHO_N "(cached) $ECHO_C" >&6
6693
else
6694
  if test -n "$CC"; then
6695
  ac_cv_prog_CC="$CC" # Let the user override the test.
6696
else
6697
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6698
for as_dir in $PATH
6699
do
6700
  IFS=$as_save_IFS
6701
  test -z "$as_dir" && as_dir=.
6702
  for ac_exec_ext in '' $ac_executable_extensions; do
6703
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6704
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
6705
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6706
    break 2
6707
  fi
6708
done
6709
done
6710
IFS=$as_save_IFS
6711
6712
fi
6713
fi
6714
CC=$ac_cv_prog_CC
6715
if test -n "$CC"; then
6716
  { echo "$as_me:$LINENO: result: $CC" >&5
6717
echo "${ECHO_T}$CC" >&6; }
6718
else
6719
  { echo "$as_me:$LINENO: result: no" >&5
6720
echo "${ECHO_T}no" >&6; }
6721
fi
6722
6723
6724
fi
6725
if test -z "$ac_cv_prog_CC"; then
6726
  ac_ct_CC=$CC
6727
  # Extract the first word of "gcc", so it can be a program name with args.
6728
set dummy gcc; ac_word=$2
6729
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6730
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6731
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
6732
  echo $ECHO_N "(cached) $ECHO_C" >&6
6733
else
6734
  if test -n "$ac_ct_CC"; then
6735
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
6736
else
6737
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6738
for as_dir in $PATH
6739
do
6740
  IFS=$as_save_IFS
6741
  test -z "$as_dir" && as_dir=.
6742
  for ac_exec_ext in '' $ac_executable_extensions; do
6743
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6744
    ac_cv_prog_ac_ct_CC="gcc"
6745
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6746
    break 2
6747
  fi
6748
done
6749
done
6750
IFS=$as_save_IFS
6751
6752
fi
6753
fi
6754
ac_ct_CC=$ac_cv_prog_ac_ct_CC
6755
if test -n "$ac_ct_CC"; then
6756
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
6757
echo "${ECHO_T}$ac_ct_CC" >&6; }
6758
else
6759
  { echo "$as_me:$LINENO: result: no" >&5
6760
echo "${ECHO_T}no" >&6; }
6761
fi
6762
6763
  if test "x$ac_ct_CC" = x; then
6764
    CC=""
6765
  else
6766
    case $cross_compiling:$ac_tool_warned in
6767
yes:)
6768
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6769
whose name does not start with the host triplet.  If you think this
6770
configuration is useful to you, please write to autoconf@gnu.org." >&5
6771
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6772
whose name does not start with the host triplet.  If you think this
6773
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6774
ac_tool_warned=yes ;;
6775
esac
6776
    CC=$ac_ct_CC
6777
  fi
6778
else
6779
  CC="$ac_cv_prog_CC"
6780
fi
6781
6782
if test -z "$CC"; then
6783
          if test -n "$ac_tool_prefix"; then
6784
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
6785
set dummy ${ac_tool_prefix}cc; ac_word=$2
6786
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6787
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6788
if test "${ac_cv_prog_CC+set}" = set; then
6789
  echo $ECHO_N "(cached) $ECHO_C" >&6
6790
else
6791
  if test -n "$CC"; then
6792
  ac_cv_prog_CC="$CC" # Let the user override the test.
6793
else
6794
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6795
for as_dir in $PATH
6796
do
6797
  IFS=$as_save_IFS
6798
  test -z "$as_dir" && as_dir=.
6799
  for ac_exec_ext in '' $ac_executable_extensions; do
6800
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6801
    ac_cv_prog_CC="${ac_tool_prefix}cc"
6802
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6803
    break 2
6804
  fi
6805
done
6806
done
6807
IFS=$as_save_IFS
6808
6809
fi
6810
fi
6811
CC=$ac_cv_prog_CC
6812
if test -n "$CC"; then
6813
  { echo "$as_me:$LINENO: result: $CC" >&5
6814
echo "${ECHO_T}$CC" >&6; }
6815
else
6816
  { echo "$as_me:$LINENO: result: no" >&5
6817
echo "${ECHO_T}no" >&6; }
6818
fi
6819
6820
6821
  fi
6822
fi
6823
if test -z "$CC"; then
6824
  # Extract the first word of "cc", so it can be a program name with args.
6825
set dummy cc; ac_word=$2
6826
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6827
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6828
if test "${ac_cv_prog_CC+set}" = set; then
6829
  echo $ECHO_N "(cached) $ECHO_C" >&6
6830
else
6831
  if test -n "$CC"; then
6832
  ac_cv_prog_CC="$CC" # Let the user override the test.
6833
else
6834
  ac_prog_rejected=no
6835
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6836
for as_dir in $PATH
6837
do
6838
  IFS=$as_save_IFS
6839
  test -z "$as_dir" && as_dir=.
6840
  for ac_exec_ext in '' $ac_executable_extensions; do
6841
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6842
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
6843
       ac_prog_rejected=yes
6844
       continue
6845
     fi
6846
    ac_cv_prog_CC="cc"
6847
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6848
    break 2
6849
  fi
6850
done
6851
done
6852
IFS=$as_save_IFS
6853
6854
if test $ac_prog_rejected = yes; then
6855
  # We found a bogon in the path, so make sure we never use it.
6856
  set dummy $ac_cv_prog_CC
6857
  shift
6858
  if test $# != 0; then
6859
    # We chose a different compiler from the bogus one.
6860
    # However, it has the same basename, so the bogon will be chosen
6861
    # first if we set CC to just the basename; use the full file name.
6862
    shift
6863
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
6864
  fi
6865
fi
6866
fi
6867
fi
6868
CC=$ac_cv_prog_CC
6869
if test -n "$CC"; then
6870
  { echo "$as_me:$LINENO: result: $CC" >&5
6871
echo "${ECHO_T}$CC" >&6; }
6872
else
6873
  { echo "$as_me:$LINENO: result: no" >&5
6874
echo "${ECHO_T}no" >&6; }
6875
fi
6876
6877
6878
fi
6879
if test -z "$CC"; then
6880
  if test -n "$ac_tool_prefix"; then
6881
  for ac_prog in cl.exe
6882
  do
6883
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6884
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6885
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6886
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6887
if test "${ac_cv_prog_CC+set}" = set; then
6888
  echo $ECHO_N "(cached) $ECHO_C" >&6
6889
else
6890
  if test -n "$CC"; then
6891
  ac_cv_prog_CC="$CC" # Let the user override the test.
6892
else
6893
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6894
for as_dir in $PATH
6895
do
6896
  IFS=$as_save_IFS
6897
  test -z "$as_dir" && as_dir=.
6898
  for ac_exec_ext in '' $ac_executable_extensions; do
6899
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6900
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
6901
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6902
    break 2
6903
  fi
6904
done
6905
done
6906
IFS=$as_save_IFS
6907
6908
fi
6909
fi
6910
CC=$ac_cv_prog_CC
6911
if test -n "$CC"; then
6912
  { echo "$as_me:$LINENO: result: $CC" >&5
6913
echo "${ECHO_T}$CC" >&6; }
6914
else
6915
  { echo "$as_me:$LINENO: result: no" >&5
6916
echo "${ECHO_T}no" >&6; }
6917
fi
6918
6919
6920
    test -n "$CC" && break
6921
  done
6922
fi
6923
if test -z "$CC"; then
6924
  ac_ct_CC=$CC
6925
  for ac_prog in cl.exe
6926
do
6927
  # Extract the first word of "$ac_prog", so it can be a program name with args.
6928
set dummy $ac_prog; ac_word=$2
6929
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6930
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6931
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
6932
  echo $ECHO_N "(cached) $ECHO_C" >&6
6933
else
6934
  if test -n "$ac_ct_CC"; then
6935
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
6936
else
6937
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6938
for as_dir in $PATH
6939
do
6940
  IFS=$as_save_IFS
6941
  test -z "$as_dir" && as_dir=.
6942
  for ac_exec_ext in '' $ac_executable_extensions; do
6943
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6944
    ac_cv_prog_ac_ct_CC="$ac_prog"
6945
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6946
    break 2
6947
  fi
6948
done
6949
done
6950
IFS=$as_save_IFS
6951
6952
fi
6953
fi
6954
ac_ct_CC=$ac_cv_prog_ac_ct_CC
6955
if test -n "$ac_ct_CC"; then
6956
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
6957
echo "${ECHO_T}$ac_ct_CC" >&6; }
6958
else
6959
  { echo "$as_me:$LINENO: result: no" >&5
6960
echo "${ECHO_T}no" >&6; }
6961
fi
6962
6963
6964
  test -n "$ac_ct_CC" && break
6965
done
6966
6967
  if test "x$ac_ct_CC" = x; then
6968
    CC=""
6969
  else
6970
    case $cross_compiling:$ac_tool_warned in
6971
yes:)
6972
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6973
whose name does not start with the host triplet.  If you think this
6974
configuration is useful to you, please write to autoconf@gnu.org." >&5
6975
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6976
whose name does not start with the host triplet.  If you think this
6977
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6978
ac_tool_warned=yes ;;
6979
esac
6980
    CC=$ac_ct_CC
6981
  fi
6982
fi
6983
6984
fi
6985
6986
6987
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
6988
See \`config.log' for more details." >&5
6989
echo "$as_me: error: no acceptable C compiler found in \$PATH
6990
See \`config.log' for more details." >&2;}
6991
   { (exit 1); exit 1; }; }
6992
6993
# Provide some information about the compiler.
6994
echo "$as_me:$LINENO: checking for C compiler version" >&5
6995
ac_compiler=`set X $ac_compile; echo $2`
6996
{ (ac_try="$ac_compiler --version >&5"
6997
case "(($ac_try" in
6998
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6999
  *) ac_try_echo=$ac_try;;
7000
esac
7001
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7002
  (eval "$ac_compiler --version >&5") 2>&5
7003
  ac_status=$?
7004
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7005
  (exit $ac_status); }
7006
{ (ac_try="$ac_compiler -v >&5"
7007
case "(($ac_try" in
7008
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7009
  *) ac_try_echo=$ac_try;;
7010
esac
7011
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7012
  (eval "$ac_compiler -v >&5") 2>&5
7013
  ac_status=$?
7014
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7015
  (exit $ac_status); }
7016
{ (ac_try="$ac_compiler -V >&5"
7017
case "(($ac_try" in
7018
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7019
  *) ac_try_echo=$ac_try;;
7020
esac
7021
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7022
  (eval "$ac_compiler -V >&5") 2>&5
7023
  ac_status=$?
7024
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7025
  (exit $ac_status); }
7026
7027
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
7028
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
7029
if test "${ac_cv_c_compiler_gnu+set}" = set; then
7030
  echo $ECHO_N "(cached) $ECHO_C" >&6
7031
else
7032
  cat >conftest.$ac_ext <<_ACEOF
7033
/* confdefs.h.  */
7034
_ACEOF
7035
cat confdefs.h >>conftest.$ac_ext
7036
cat >>conftest.$ac_ext <<_ACEOF
7037
/* end confdefs.h.  */
7038
7039
int
7040
main ()
7041
{
7042
#ifndef __GNUC__
7043
       choke me
7044
#endif
7045
7046
  ;
7047
  return 0;
7048
}
7049
_ACEOF
7050
rm -f conftest.$ac_objext
7051
if { (ac_try="$ac_compile"
7052
case "(($ac_try" in
7053
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7054
  *) ac_try_echo=$ac_try;;
7055
esac
7056
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7057
  (eval "$ac_compile") 2>conftest.er1
7058
  ac_status=$?
7059
  grep -v '^ *+' conftest.er1 >conftest.err
7060
  rm -f conftest.er1
7061
  cat conftest.err >&5
7062
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7063
  (exit $ac_status); } && {
7064
	 test -z "$ac_c_werror_flag" ||
7065
	 test ! -s conftest.err
7066
       } && test -s conftest.$ac_objext; then
7067
  ac_compiler_gnu=yes
7068
else
7069
  echo "$as_me: failed program was:" >&5
7070
sed 's/^/| /' conftest.$ac_ext >&5
7071
7072
	ac_compiler_gnu=no
7073
fi
7074
7075
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7076
ac_cv_c_compiler_gnu=$ac_compiler_gnu
7077
7078
fi
7079
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
7080
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
7081
GCC=`test $ac_compiler_gnu = yes && echo yes`
7082
ac_test_CFLAGS=${CFLAGS+set}
7083
ac_save_CFLAGS=$CFLAGS
7084
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
7085
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
7086
if test "${ac_cv_prog_cc_g+set}" = set; then
7087
  echo $ECHO_N "(cached) $ECHO_C" >&6
7088
else
7089
  ac_save_c_werror_flag=$ac_c_werror_flag
7090
   ac_c_werror_flag=yes
7091
   ac_cv_prog_cc_g=no
7092
   CFLAGS="-g"
7093
   cat >conftest.$ac_ext <<_ACEOF
7094
/* confdefs.h.  */
7095
_ACEOF
7096
cat confdefs.h >>conftest.$ac_ext
7097
cat >>conftest.$ac_ext <<_ACEOF
7098
/* end confdefs.h.  */
7099
7100
int
7101
main ()
7102
{
7103
7104
  ;
7105
  return 0;
7106
}
7107
_ACEOF
7108
rm -f conftest.$ac_objext
7109
if { (ac_try="$ac_compile"
7110
case "(($ac_try" in
7111
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7112
  *) ac_try_echo=$ac_try;;
7113
esac
7114
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7115
  (eval "$ac_compile") 2>conftest.er1
7116
  ac_status=$?
7117
  grep -v '^ *+' conftest.er1 >conftest.err
7118
  rm -f conftest.er1
7119
  cat conftest.err >&5
7120
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7121
  (exit $ac_status); } && {
7122
	 test -z "$ac_c_werror_flag" ||
7123
	 test ! -s conftest.err
7124
       } && test -s conftest.$ac_objext; then
7125
  ac_cv_prog_cc_g=yes
7126
else
7127
  echo "$as_me: failed program was:" >&5
7128
sed 's/^/| /' conftest.$ac_ext >&5
7129
7130
	CFLAGS=""
7131
      cat >conftest.$ac_ext <<_ACEOF
7132
/* confdefs.h.  */
7133
_ACEOF
7134
cat confdefs.h >>conftest.$ac_ext
7135
cat >>conftest.$ac_ext <<_ACEOF
7136
/* end confdefs.h.  */
7137
7138
int
7139
main ()
7140
{
7141
7142
  ;
7143
  return 0;
7144
}
7145
_ACEOF
7146
rm -f conftest.$ac_objext
7147
if { (ac_try="$ac_compile"
7148
case "(($ac_try" in
7149
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7150
  *) ac_try_echo=$ac_try;;
7151
esac
7152
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7153
  (eval "$ac_compile") 2>conftest.er1
7154
  ac_status=$?
7155
  grep -v '^ *+' conftest.er1 >conftest.err
7156
  rm -f conftest.er1
7157
  cat conftest.err >&5
7158
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7159
  (exit $ac_status); } && {
7160
	 test -z "$ac_c_werror_flag" ||
7161
	 test ! -s conftest.err
7162
       } && test -s conftest.$ac_objext; then
7163
  :
7164
else
7165
  echo "$as_me: failed program was:" >&5
7166
sed 's/^/| /' conftest.$ac_ext >&5
7167
7168
	ac_c_werror_flag=$ac_save_c_werror_flag
7169
	 CFLAGS="-g"
7170
	 cat >conftest.$ac_ext <<_ACEOF
7171
/* confdefs.h.  */
7172
_ACEOF
7173
cat confdefs.h >>conftest.$ac_ext
7174
cat >>conftest.$ac_ext <<_ACEOF
7175
/* end confdefs.h.  */
7176
7177
int
7178
main ()
7179
{
7180
7181
  ;
7182
  return 0;
7183
}
7184
_ACEOF
7185
rm -f conftest.$ac_objext
7186
if { (ac_try="$ac_compile"
7187
case "(($ac_try" in
7188
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7189
  *) ac_try_echo=$ac_try;;
7190
esac
7191
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7192
  (eval "$ac_compile") 2>conftest.er1
7193
  ac_status=$?
7194
  grep -v '^ *+' conftest.er1 >conftest.err
7195
  rm -f conftest.er1
7196
  cat conftest.err >&5
7197
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7198
  (exit $ac_status); } && {
7199
	 test -z "$ac_c_werror_flag" ||
7200
	 test ! -s conftest.err
7201
       } && test -s conftest.$ac_objext; then
7202
  ac_cv_prog_cc_g=yes
7203
else
7204
  echo "$as_me: failed program was:" >&5
7205
sed 's/^/| /' conftest.$ac_ext >&5
7206
7207
7208
fi
7209
7210
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7211
fi
7212
7213
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7214
fi
7215
7216
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7217
   ac_c_werror_flag=$ac_save_c_werror_flag
7218
fi
7219
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
7220
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
7221
if test "$ac_test_CFLAGS" = set; then
7222
  CFLAGS=$ac_save_CFLAGS
7223
elif test $ac_cv_prog_cc_g = yes; then
7224
  if test "$GCC" = yes; then
7225
    CFLAGS="-g -O2"
7226
  else
7227
    CFLAGS="-g"
7228
  fi
7229
else
7230
  if test "$GCC" = yes; then
7231
    CFLAGS="-O2"
7232
  else
7233
    CFLAGS=
7234
  fi
7235
fi
7236
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
7237
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
7238
if test "${ac_cv_prog_cc_c89+set}" = set; then
7239
  echo $ECHO_N "(cached) $ECHO_C" >&6
7240
else
7241
  ac_cv_prog_cc_c89=no
7242
ac_save_CC=$CC
7243
cat >conftest.$ac_ext <<_ACEOF
7244
/* confdefs.h.  */
7245
_ACEOF
7246
cat confdefs.h >>conftest.$ac_ext
7247
cat >>conftest.$ac_ext <<_ACEOF
7248
/* end confdefs.h.  */
7249
#include <stdarg.h>
7250
#include <stdio.h>
7251
#include <sys/types.h>
7252
#include <sys/stat.h>
7253
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
7254
struct buf { int x; };
7255
FILE * (*rcsopen) (struct buf *, struct stat *, int);
7256
static char *e (p, i)
7257
     char **p;
7258
     int i;
7259
{
7260
  return p[i];
7261
}
7262
static char *f (char * (*g) (char **, int), char **p, ...)
7263
{
7264
  char *s;
7265
  va_list v;
7266
  va_start (v,p);
7267
  s = g (p, va_arg (v,int));
7268
  va_end (v);
7269
  return s;
7270
}
7271
7272
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
7273
   function prototypes and stuff, but not '\xHH' hex character constants.
7274
   These don't provoke an error unfortunately, instead are silently treated
7275
   as 'x'.  The following induces an error, until -std is added to get
7276
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
7277
   array size at least.  It's necessary to write '\x00'==0 to get something
7278
   that's true only with -std.  */
7279
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
7280
7281
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
7282
   inside strings and character constants.  */
7283
#define FOO(x) 'x'
7284
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
7285
7286
int test (int i, double x);
7287
struct s1 {int (*f) (int a);};
7288
struct s2 {int (*f) (double a);};
7289
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
7290
int argc;
7291
char **argv;
7292
int
7293
main ()
7294
{
7295
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
7296
  ;
7297
  return 0;
7298
}
7299
_ACEOF
7300
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
7301
	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
7302
do
7303
  CC="$ac_save_CC $ac_arg"
7304
  rm -f conftest.$ac_objext
7305
if { (ac_try="$ac_compile"
7306
case "(($ac_try" in
7307
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7308
  *) ac_try_echo=$ac_try;;
7309
esac
7310
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7311
  (eval "$ac_compile") 2>conftest.er1
7312
  ac_status=$?
7313
  grep -v '^ *+' conftest.er1 >conftest.err
7314
  rm -f conftest.er1
7315
  cat conftest.err >&5
7316
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7317
  (exit $ac_status); } && {
7318
	 test -z "$ac_c_werror_flag" ||
7319
	 test ! -s conftest.err
7320
       } && test -s conftest.$ac_objext; then
7321
  ac_cv_prog_cc_c89=$ac_arg
7322
else
7323
  echo "$as_me: failed program was:" >&5
7324
sed 's/^/| /' conftest.$ac_ext >&5
7325
7326
7327
fi
7328
7329
rm -f core conftest.err conftest.$ac_objext
7330
  test "x$ac_cv_prog_cc_c89" != "xno" && break
7331
done
7332
rm -f conftest.$ac_ext
7333
CC=$ac_save_CC
7334
7335
fi
7336
# AC_CACHE_VAL
7337
case "x$ac_cv_prog_cc_c89" in
7338
  x)
7339
    { echo "$as_me:$LINENO: result: none needed" >&5
7340
echo "${ECHO_T}none needed" >&6; } ;;
7341
  xno)
7342
    { echo "$as_me:$LINENO: result: unsupported" >&5
7343
echo "${ECHO_T}unsupported" >&6; } ;;
7344
  *)
7345
    CC="$CC $ac_cv_prog_cc_c89"
7346
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
7347
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
7348
esac
7349
7350
7351
ac_ext=c
7352
ac_cpp='$CPP $CPPFLAGS'
7353
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7354
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7355
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7356
7357
depcc="$CC"   am_compiler_list=
7358
7359
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
7360
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
7361
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
7362
  echo $ECHO_N "(cached) $ECHO_C" >&6
7363
else
7364
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
7365
  # We make a subdir and do the tests there.  Otherwise we can end up
7366
  # making bogus files that we don't know about and never remove.  For
7367
  # instance it was reported that on HP-UX the gcc test will end up
7368
  # making a dummy file named `D' -- because `-MD' means `put the output
7369
  # in D'.
7370
  mkdir conftest.dir
7371
  # Copy depcomp to subdir because otherwise we won't find it if we're
7372
  # using a relative directory.
7373
  cp "$am_depcomp" conftest.dir
7374
  cd conftest.dir
7375
  # We will build objects and dependencies in a subdirectory because
7376
  # it helps to detect inapplicable dependency modes.  For instance
7377
  # both Tru64's cc and ICC support -MD to output dependencies as a
7378
  # side effect of compilation, but ICC will put the dependencies in
7379
  # the current directory while Tru64 will put them in the object
7380
  # directory.
7381
  mkdir sub
7382
7383
  am_cv_CC_dependencies_compiler_type=none
7384
  if test "$am_compiler_list" = ""; then
7385
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
7386
  fi
7387
  for depmode in $am_compiler_list; do
7388
    # Setup a source with many dependencies, because some compilers
7389
    # like to wrap large dependency lists on column 80 (with \), and
7390
    # we should not choose a depcomp mode which is confused by this.
7391
    #
7392
    # We need to recreate these files for each test, as the compiler may
7393
    # overwrite some of them when testing with obscure command lines.
7394
    # This happens at least with the AIX C compiler.
7395
    : > sub/conftest.c
7396
    for i in 1 2 3 4 5 6; do
7397
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
7398
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
7399
      # Solaris 8's {/usr,}/bin/sh.
7400
      touch sub/conftst$i.h
7401
    done
7402
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
7403
7404
    case $depmode in
7405
    nosideeffect)
7406
      # after this tag, mechanisms are not by side-effect, so they'll
7407
      # only be used when explicitly requested
7408
      if test "x$enable_dependency_tracking" = xyes; then
7409
	continue
7410
      else
7411
	break
7412
      fi
7413
      ;;
7414
    none) break ;;
7415
    esac
7416
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
7417
    # mode.  It turns out that the SunPro C++ compiler does not properly
7418
    # handle `-M -o', and we need to detect this.
7419
    if depmode=$depmode \
7420
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
7421
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
7422
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
7423
         >/dev/null 2>conftest.err &&
7424
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
7425
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
7426
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
7427
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
7428
      # icc doesn't choke on unknown options, it will just issue warnings
7429
      # or remarks (even with -Werror).  So we grep stderr for any message
7430
      # that says an option was ignored or not supported.
7431
      # When given -MP, icc 7.0 and 7.1 complain thusly:
7432
      #   icc: Command line warning: ignoring option '-M'; no argument required
7433
      # The diagnosis changed in icc 8.0:
7434
      #   icc: Command line remark: option '-MP' not supported
7435
      if (grep 'ignoring option' conftest.err ||
7436
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
7437
        am_cv_CC_dependencies_compiler_type=$depmode
7438
        break
7439
      fi
7440
    fi
7441
  done
7442
7443
  cd ..
7444
  rm -rf conftest.dir
7445
else
7446
  am_cv_CC_dependencies_compiler_type=none
7447
fi
7448
7449
fi
7450
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
7451
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
7452
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
7453
7454
 if
7455
  test "x$enable_dependency_tracking" != xno \
7456
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
7457
  am__fastdepCC_TRUE=
7458
  am__fastdepCC_FALSE='#'
7459
else
7460
  am__fastdepCC_TRUE='#'
7461
  am__fastdepCC_FALSE=
7462
fi
7463
7464
7465
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7466
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
7467
if test "${ac_cv_header_stdc+set}" = set; then
7468
  echo $ECHO_N "(cached) $ECHO_C" >&6
7469
else
7470
  cat >conftest.$ac_ext <<_ACEOF
7471
/* confdefs.h.  */
7472
_ACEOF
7473
cat confdefs.h >>conftest.$ac_ext
7474
cat >>conftest.$ac_ext <<_ACEOF
7475
/* end confdefs.h.  */
7476
#include <stdlib.h>
7477
#include <stdarg.h>
7478
#include <string.h>
7479
#include <float.h>
7480
7481
int
7482
main ()
7483
{
7484
7485
  ;
7486
  return 0;
7487
}
7488
_ACEOF
7489
rm -f conftest.$ac_objext
7490
if { (ac_try="$ac_compile"
7491
case "(($ac_try" in
7492
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7493
  *) ac_try_echo=$ac_try;;
7494
esac
7495
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7496
  (eval "$ac_compile") 2>conftest.er1
7497
  ac_status=$?
7498
  grep -v '^ *+' conftest.er1 >conftest.err
7499
  rm -f conftest.er1
7500
  cat conftest.err >&5
7501
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7502
  (exit $ac_status); } && {
7503
	 test -z "$ac_c_werror_flag" ||
7504
	 test ! -s conftest.err
7505
       } && test -s conftest.$ac_objext; then
7506
  ac_cv_header_stdc=yes
7507
else
7508
  echo "$as_me: failed program was:" >&5
7509
sed 's/^/| /' conftest.$ac_ext >&5
7510
7511
	ac_cv_header_stdc=no
7512
fi
7513
7514
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7515
7516
if test $ac_cv_header_stdc = yes; then
7517
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7518
  cat >conftest.$ac_ext <<_ACEOF
7519
/* confdefs.h.  */
7520
_ACEOF
7521
cat confdefs.h >>conftest.$ac_ext
7522
cat >>conftest.$ac_ext <<_ACEOF
7523
/* end confdefs.h.  */
7524
#include <string.h>
7525
7526
_ACEOF
7527
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7528
  $EGREP "memchr" >/dev/null 2>&1; then
7529
  :
7530
else
7531
  ac_cv_header_stdc=no
7532
fi
7533
rm -f conftest*
7534
7535
fi
7536
7537
if test $ac_cv_header_stdc = yes; then
7538
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7539
  cat >conftest.$ac_ext <<_ACEOF
7540
/* confdefs.h.  */
7541
_ACEOF
7542
cat confdefs.h >>conftest.$ac_ext
7543
cat >>conftest.$ac_ext <<_ACEOF
7544
/* end confdefs.h.  */
7545
#include <stdlib.h>
7546
7547
_ACEOF
7548
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7549
  $EGREP "free" >/dev/null 2>&1; then
7550
  :
7551
else
7552
  ac_cv_header_stdc=no
7553
fi
7554
rm -f conftest*
7555
7556
fi
7557
7558
if test $ac_cv_header_stdc = yes; then
7559
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7560
  if test "$cross_compiling" = yes; then
7561
  :
7562
else
7563
  cat >conftest.$ac_ext <<_ACEOF
7564
/* confdefs.h.  */
7565
_ACEOF
7566
cat confdefs.h >>conftest.$ac_ext
7567
cat >>conftest.$ac_ext <<_ACEOF
7568
/* end confdefs.h.  */
7569
#include <ctype.h>
7570
#include <stdlib.h>
7571
#if ((' ' & 0x0FF) == 0x020)
7572
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7573
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7574
#else
7575
# define ISLOWER(c) \
7576
		   (('a' <= (c) && (c) <= 'i') \
7577
		     || ('j' <= (c) && (c) <= 'r') \
7578
		     || ('s' <= (c) && (c) <= 'z'))
7579
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7580
#endif
7581
7582
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7583
int
7584
main ()
7585
{
7586
  int i;
7587
  for (i = 0; i < 256; i++)
7588
    if (XOR (islower (i), ISLOWER (i))
7589
	|| toupper (i) != TOUPPER (i))
7590
      return 2;
7591
  return 0;
7592
}
7593
_ACEOF
7594
rm -f conftest$ac_exeext
7595
if { (ac_try="$ac_link"
7596
case "(($ac_try" in
7597
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7598
  *) ac_try_echo=$ac_try;;
7599
esac
7600
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7601
  (eval "$ac_link") 2>&5
7602
  ac_status=$?
7603
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7604
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7605
  { (case "(($ac_try" in
7606
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7607
  *) ac_try_echo=$ac_try;;
7608
esac
7609
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7610
  (eval "$ac_try") 2>&5
7611
  ac_status=$?
7612
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7613
  (exit $ac_status); }; }; then
7614
  :
7615
else
7616
  echo "$as_me: program exited with status $ac_status" >&5
7617
echo "$as_me: failed program was:" >&5
7618
sed 's/^/| /' conftest.$ac_ext >&5
7619
7620
( exit $ac_status )
7621
ac_cv_header_stdc=no
7622
fi
7623
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7624
fi
7625
7626
7627
fi
7628
fi
7629
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7630
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
7631
if test $ac_cv_header_stdc = yes; then
7632
7633
cat >>confdefs.h <<\_ACEOF
7634
#define STDC_HEADERS 1
7635
_ACEOF
7636
7637
fi
7638
7639
7640
7641
7642
7643
	# Extract the first word of "gmcs", so it can be a program name with args.
1 by Christopher James Halse Rogers
Import upstream version 0.3.2.1
7644
set dummy gmcs; ac_word=$2
7645
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7646
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
7647
if test "${ac_cv_path_MCS+set}" = set; then
1 by Christopher James Halse Rogers
Import upstream version 0.3.2.1
7648
  echo $ECHO_N "(cached) $ECHO_C" >&6
7649
else
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
7650
  case $MCS in
1 by Christopher James Halse Rogers
Import upstream version 0.3.2.1
7651
  [\\/]* | ?:[\\/]*)
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
7652
  ac_cv_path_MCS="$MCS" # Let the user override the test with a path.
1 by Christopher James Halse Rogers
Import upstream version 0.3.2.1
7653
  ;;
7654
  *)
7655
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7656
for as_dir in $PATH
7657
do
7658
  IFS=$as_save_IFS
7659
  test -z "$as_dir" && as_dir=.
7660
  for ac_exec_ext in '' $ac_executable_extensions; do
7661
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
7662
    ac_cv_path_MCS="$as_dir/$ac_word$ac_exec_ext"
1 by Christopher James Halse Rogers
Import upstream version 0.3.2.1
7663
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7664
    break 2
7665
  fi
7666
done
7667
done
7668
IFS=$as_save_IFS
7669
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
7670
  test -z "$ac_cv_path_MCS" && ac_cv_path_MCS="no"
1 by Christopher James Halse Rogers
Import upstream version 0.3.2.1
7671
  ;;
7672
esac
7673
fi
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
7674
MCS=$ac_cv_path_MCS
7675
if test -n "$MCS"; then
7676
  { echo "$as_me:$LINENO: result: $MCS" >&5
7677
echo "${ECHO_T}$MCS" >&6; }
1 by Christopher James Halse Rogers
Import upstream version 0.3.2.1
7678
else
7679
  { echo "$as_me:$LINENO: result: no" >&5
7680
echo "${ECHO_T}no" >&6; }
7681
fi
7682
7683
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
7684
7685
1.1.5 by Christopher James Halse Rogers
Import upstream version 0.8.0
7686
	if test "x$MCS" = "xno"; then
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
7687
		{ { echo "$as_me:$LINENO: error: You need to install 'gmcs'" >&5
7688
echo "$as_me: error: You need to install 'gmcs'" >&2;}
1 by Christopher James Halse Rogers
Import upstream version 0.3.2.1
7689
   { (exit 1); exit 1; }; }
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
7690
	fi
7691
7692
7693
7694
	{ echo "$as_me:$LINENO: checking for LINQ flag for mcs" >&5
7695
echo $ECHO_N "checking for LINQ flag for mcs... $ECHO_C" >&6; }
7696
	if $PKG_CONFIG --atleast-version=1.9 mono ; then
7697
	   { echo "$as_me:$LINENO: result: none needed" >&5
7698
echo "${ECHO_T}none needed" >&6; }
7699
	   MCS_LINQ_FLAG=
7700
	else
7701
	   { echo "$as_me:$LINENO: result: -langversion:linq" >&5
7702
echo "${ECHO_T}-langversion:linq" >&6; }
7703
	   MCS_LINQ_FLAG=-langversion:linq
7704
	fi
7705
7706
1 by Christopher James Halse Rogers
Import upstream version 0.3.2.1
7707
1.1.4 by Christopher James Halse Rogers
Import upstream version 0.6.1.0
7708
7709
# Extract the first word of "gconftool-2", so it can be a program name with args.
7710
set dummy gconftool-2; ac_word=$2
7711
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7712
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7713
if test "${ac_cv_path_GCONFTOOL+set}" = set; then
7714
  echo $ECHO_N "(cached) $ECHO_C" >&6
7715
else
7716
  case $GCONFTOOL in
7717
  [\\/]* | ?:[\\/]*)
7718
  ac_cv_path_GCONFTOOL="$GCONFTOOL" # Let the user override the test with a path.
7719
  ;;
7720
  *)
7721
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7722
for as_dir in $PATH
7723
do
7724
  IFS=$as_save_IFS
7725
  test -z "$as_dir" && as_dir=.
7726
  for ac_exec_ext in '' $ac_executable_extensions; do
7727
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7728
    ac_cv_path_GCONFTOOL="$as_dir/$ac_word$ac_exec_ext"
7729
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7730
    break 2
7731
  fi
7732
done
7733
done
7734
IFS=$as_save_IFS
7735
7736
  ;;
7737
esac
7738
fi
7739
GCONFTOOL=$ac_cv_path_GCONFTOOL
7740
if test -n "$GCONFTOOL"; then
7741
  { echo "$as_me:$LINENO: result: $GCONFTOOL" >&5
7742
echo "${ECHO_T}$GCONFTOOL" >&6; }
7743
else
7744
  { echo "$as_me:$LINENO: result: no" >&5
7745
echo "${ECHO_T}no" >&6; }
7746
fi
7747
7748
7749
7750
  if test "x$GCONF_SCHEMA_INSTALL_SOURCE" = "x"; then
7751
    GCONF_SCHEMA_CONFIG_SOURCE=`gconftool-2 --get-default-source`
7752
  else
7753
    GCONF_SCHEMA_CONFIG_SOURCE=$GCONF_SCHEMA_INSTALL_SOURCE
7754
  fi
7755
7756
7757
# Check whether --with-gconf-source was given.
7758
if test "${with_gconf_source+set}" = set; then
7759
  withval=$with_gconf_source; GCONF_SCHEMA_CONFIG_SOURCE="$withval"
7760
fi
7761
7762
7763
7764
  { echo "$as_me:$LINENO: result: Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&5
7765
echo "${ECHO_T}Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&6; }
7766
7767
  if test "x$GCONF_SCHEMA_FILE_DIR" = "x"; then
7768
    GCONF_SCHEMA_FILE_DIR='$(sysconfdir)/gconf/schemas'
7769
  fi
7770
7771
7772
# Check whether --with-gconf-schema-file-dir was given.
7773
if test "${with_gconf_schema_file_dir+set}" = set; then
7774
  withval=$with_gconf_schema_file_dir; GCONF_SCHEMA_FILE_DIR="$withval"
7775
fi
7776
7777
7778
7779
  { echo "$as_me:$LINENO: result: Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&5
7780
echo "${ECHO_T}Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&6; }
7781
7782
  # Check whether --enable-schemas-install was given.
7783
if test "${enable_schemas_install+set}" = set; then
7784
  enableval=$enable_schemas_install; case ${enableval} in
7785
       yes|no) ;;
7786
       *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-schemas-install" >&5
7787
echo "$as_me: error: bad value ${enableval} for --enable-schemas-install" >&2;}
7788
   { (exit 1); exit 1; }; } ;;
7789
      esac
7790
fi
7791
7792
   if test "$enable_schemas_install" != no; then
7793
  GCONF_SCHEMAS_INSTALL_TRUE=
7794
  GCONF_SCHEMAS_INSTALL_FALSE='#'
7795
else
7796
  GCONF_SCHEMAS_INSTALL_TRUE='#'
7797
  GCONF_SCHEMAS_INSTALL_FALSE=
7798
fi
7799
7800
7801
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
7802
# Check whether --enable-static was given.
7803
if test "${enable_static+set}" = set; then
7804
  enableval=$enable_static; p=${PACKAGE-default}
7805
    case $enableval in
7806
    yes) enable_static=yes ;;
7807
    no) enable_static=no ;;
7808
    *)
7809
     enable_static=no
7810
      # Look at the argument we got.  We use all the common list separators.
7811
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7812
      for pkg in $enableval; do
7813
	IFS="$lt_save_ifs"
7814
	if test "X$pkg" = "X$p"; then
7815
	  enable_static=yes
7816
	fi
7817
      done
7818
      IFS="$lt_save_ifs"
7819
      ;;
7820
    esac
7821
else
7822
  enable_static=no
7823
fi
7824
7825
7826
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
7827
7828
7829
7830
7831
7832
7833
case `pwd` in
7834
  *\ * | *\	*)
7835
    { echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
7836
echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
7837
esac
7838
7839
7840
1.1.5 by Christopher James Halse Rogers
Import upstream version 0.8.0
7841
macro_version='2.2.6'
7842
macro_revision='1.3012'
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
7843
7844
7845
7846
7847
7848
7849
7850
7851
7852
7853
7854
7855
7856
ltmain="$ac_aux_dir/ltmain.sh"
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
7857
7858
# Make sure we can run config.sub.
7859
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
7860
  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
7861
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
7862
   { (exit 1); exit 1; }; }
7863
7864
{ echo "$as_me:$LINENO: checking build system type" >&5
7865
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
7866
if test "${ac_cv_build+set}" = set; then
7867
  echo $ECHO_N "(cached) $ECHO_C" >&6
7868
else
7869
  ac_build_alias=$build_alias
7870
test "x$ac_build_alias" = x &&
7871
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
7872
test "x$ac_build_alias" = x &&
7873
  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
7874
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
7875
   { (exit 1); exit 1; }; }
7876
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
7877
  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
7878
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
7879
   { (exit 1); exit 1; }; }
7880
7881
fi
7882
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
7883
echo "${ECHO_T}$ac_cv_build" >&6; }
7884
case $ac_cv_build in
7885
*-*-*) ;;
7886
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
7887
echo "$as_me: error: invalid value of canonical build" >&2;}
7888
   { (exit 1); exit 1; }; };;
7889
esac
7890
build=$ac_cv_build
7891
ac_save_IFS=$IFS; IFS='-'
7892
set x $ac_cv_build
7893
shift
7894
build_cpu=$1
7895
build_vendor=$2
7896
shift; shift
7897
# Remember, the first character of IFS is used to create $*,
7898
# except with old shells:
7899
build_os=$*
7900
IFS=$ac_save_IFS
7901
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
7902
7903
7904
{ echo "$as_me:$LINENO: checking host system type" >&5
7905
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
7906
if test "${ac_cv_host+set}" = set; then
7907
  echo $ECHO_N "(cached) $ECHO_C" >&6
7908
else
7909
  if test "x$host_alias" = x; then
7910
  ac_cv_host=$ac_cv_build
7911
else
7912
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
7913
    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
7914
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
7915
   { (exit 1); exit 1; }; }
7916
fi
7917
7918
fi
7919
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
7920
echo "${ECHO_T}$ac_cv_host" >&6; }
7921
case $ac_cv_host in
7922
*-*-*) ;;
7923
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
7924
echo "$as_me: error: invalid value of canonical host" >&2;}
7925
   { (exit 1); exit 1; }; };;
7926
esac
7927
host=$ac_cv_host
7928
ac_save_IFS=$IFS; IFS='-'
7929
set x $ac_cv_host
7930
shift
7931
host_cpu=$1
7932
host_vendor=$2
7933
shift; shift
7934
# Remember, the first character of IFS is used to create $*,
7935
# except with old shells:
7936
host_os=$*
7937
IFS=$ac_save_IFS
7938
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
7939
7940
7941
{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
7942
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
7943
if test "${ac_cv_path_SED+set}" = set; then
7944
  echo $ECHO_N "(cached) $ECHO_C" >&6
7945
else
7946
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
7947
     for ac_i in 1 2 3 4 5 6 7; do
7948
       ac_script="$ac_script$as_nl$ac_script"
7949
     done
7950
     echo "$ac_script" | sed 99q >conftest.sed
7951
     $as_unset ac_script || ac_script=
7952
     # Extract the first word of "sed gsed" to use in msg output
7953
if test -z "$SED"; then
7954
set dummy sed gsed; ac_prog_name=$2
7955
if test "${ac_cv_path_SED+set}" = set; then
7956
  echo $ECHO_N "(cached) $ECHO_C" >&6
7957
else
7958
  ac_path_SED_found=false
7959
# Loop through the user's path and test for each of PROGNAME-LIST
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
7960
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7961
for as_dir in $PATH
7962
do
7963
  IFS=$as_save_IFS
7964
  test -z "$as_dir" && as_dir=.
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
7965
  for ac_prog in sed gsed; do
7966
  for ac_exec_ext in '' $ac_executable_extensions; do
7967
    ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
7968
    { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
7969
    # Check for GNU ac_path_SED and select it if it is found.
7970
  # Check for GNU $ac_path_SED
7971
case `"$ac_path_SED" --version 2>&1` in
7972
*GNU*)
7973
  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
7974
*)
7975
  ac_count=0
7976
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
7977
  while :
7978
  do
7979
    cat "conftest.in" "conftest.in" >"conftest.tmp"
7980
    mv "conftest.tmp" "conftest.in"
7981
    cp "conftest.in" "conftest.nl"
7982
    echo '' >> "conftest.nl"
7983
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
7984
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7985
    ac_count=`expr $ac_count + 1`
7986
    if test $ac_count -gt ${ac_path_SED_max-0}; then
7987
      # Best one so far, save it but keep looking for a better one
7988
      ac_cv_path_SED="$ac_path_SED"
7989
      ac_path_SED_max=$ac_count
7990
    fi
7991
    # 10*(2^10) chars as input seems more than enough
7992
    test $ac_count -gt 10 && break
7993
  done
7994
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7995
esac
7996
7997
7998
    $ac_path_SED_found && break 3
7999
  done
8000
done
8001
8002
done
8003
IFS=$as_save_IFS
8004
8005
8006
fi
8007
8008
SED="$ac_cv_path_SED"
8009
if test -z "$SED"; then
8010
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in \$PATH" >&5
8011
echo "$as_me: error: no acceptable $ac_prog_name could be found in \$PATH" >&2;}
8012
   { (exit 1); exit 1; }; }
8013
fi
8014
8015
else
8016
  ac_cv_path_SED=$SED
8017
fi
8018
8019
fi
8020
{ echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
8021
echo "${ECHO_T}$ac_cv_path_SED" >&6; }
8022
 SED="$ac_cv_path_SED"
8023
  rm -f conftest.sed
8024
8025
test -z "$SED" && SED=sed
8026
Xsed="$SED -e 1s/^X//"
8027
8028
8029
8030
8031
8032
8033
8034
8035
8036
8037
8038
{ echo "$as_me:$LINENO: checking for fgrep" >&5
8039
echo $ECHO_N "checking for fgrep... $ECHO_C" >&6; }
8040
if test "${ac_cv_path_FGREP+set}" = set; then
8041
  echo $ECHO_N "(cached) $ECHO_C" >&6
8042
else
8043
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
8044
   then ac_cv_path_FGREP="$GREP -F"
8045
   else
8046
     # Extract the first word of "fgrep" to use in msg output
8047
if test -z "$FGREP"; then
8048
set dummy fgrep; ac_prog_name=$2
8049
if test "${ac_cv_path_FGREP+set}" = set; then
8050
  echo $ECHO_N "(cached) $ECHO_C" >&6
8051
else
8052
  ac_path_FGREP_found=false
8053
# Loop through the user's path and test for each of PROGNAME-LIST
8054
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8055
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
8056
do
8057
  IFS=$as_save_IFS
8058
  test -z "$as_dir" && as_dir=.
8059
  for ac_prog in fgrep; do
8060
  for ac_exec_ext in '' $ac_executable_extensions; do
8061
    ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
8062
    { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
8063
    # Check for GNU ac_path_FGREP and select it if it is found.
8064
  # Check for GNU $ac_path_FGREP
8065
case `"$ac_path_FGREP" --version 2>&1` in
8066
*GNU*)
8067
  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
8068
*)
8069
  ac_count=0
8070
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
8071
  while :
8072
  do
8073
    cat "conftest.in" "conftest.in" >"conftest.tmp"
8074
    mv "conftest.tmp" "conftest.in"
8075
    cp "conftest.in" "conftest.nl"
8076
    echo 'FGREP' >> "conftest.nl"
8077
    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
8078
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
8079
    ac_count=`expr $ac_count + 1`
8080
    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
8081
      # Best one so far, save it but keep looking for a better one
8082
      ac_cv_path_FGREP="$ac_path_FGREP"
8083
      ac_path_FGREP_max=$ac_count
8084
    fi
8085
    # 10*(2^10) chars as input seems more than enough
8086
    test $ac_count -gt 10 && break
8087
  done
8088
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
8089
esac
8090
8091
8092
    $ac_path_FGREP_found && break 3
8093
  done
8094
done
8095
8096
done
8097
IFS=$as_save_IFS
8098
8099
8100
fi
8101
8102
FGREP="$ac_cv_path_FGREP"
8103
if test -z "$FGREP"; then
8104
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
8105
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
8106
   { (exit 1); exit 1; }; }
8107
fi
8108
8109
else
8110
  ac_cv_path_FGREP=$FGREP
8111
fi
8112
8113
8114
   fi
8115
fi
8116
{ echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
8117
echo "${ECHO_T}$ac_cv_path_FGREP" >&6; }
8118
 FGREP="$ac_cv_path_FGREP"
8119
8120
8121
test -z "$GREP" && GREP=grep
8122
8123
8124
8125
8126
8127
8128
8129
8130
8131
8132
8133
8134
8135
8136
8137
8138
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
8139
8140
8141
# Check whether --with-gnu-ld was given.
8142
if test "${with_gnu_ld+set}" = set; then
8143
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
8144
else
8145
  with_gnu_ld=no
8146
fi
8147
8148
ac_prog=ld
8149
if test "$GCC" = yes; then
8150
  # Check if gcc -print-prog-name=ld gives a path.
8151
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
8152
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
8153
  case $host in
8154
  *-*-mingw*)
8155
    # gcc leaves a trailing carriage return which upsets mingw
8156
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
8157
  *)
8158
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
8159
  esac
8160
  case $ac_prog in
8161
    # Accept absolute paths.
8162
    [\\/]* | ?:[\\/]*)
8163
      re_direlt='/[^/][^/]*/\.\./'
8164
      # Canonicalize the pathname of ld
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
8165
      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
8166
      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
8167
	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
8168
      done
8169
      test -z "$LD" && LD="$ac_prog"
8170
      ;;
8171
  "")
8172
    # If it fails, then pretend we aren't using GCC.
8173
    ac_prog=ld
8174
    ;;
8175
  *)
8176
    # If it is relative, then search for the first ld in PATH.
8177
    with_gnu_ld=unknown
8178
    ;;
8179
  esac
8180
elif test "$with_gnu_ld" = yes; then
8181
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
8182
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
8183
else
8184
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
8185
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
8186
fi
8187
if test "${lt_cv_path_LD+set}" = set; then
8188
  echo $ECHO_N "(cached) $ECHO_C" >&6
8189
else
8190
  if test -z "$LD"; then
8191
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8192
  for ac_dir in $PATH; do
8193
    IFS="$lt_save_ifs"
8194
    test -z "$ac_dir" && ac_dir=.
8195
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
8196
      lt_cv_path_LD="$ac_dir/$ac_prog"
8197
      # Check to see if the program is GNU ld.  I'd rather use --version,
8198
      # but apparently some variants of GNU ld only accept -v.
8199
      # Break only if it was the GNU/non-GNU ld that we prefer.
8200
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
8201
      *GNU* | *'with BFD'*)
8202
	test "$with_gnu_ld" != no && break
8203
	;;
8204
      *)
8205
	test "$with_gnu_ld" != yes && break
8206
	;;
8207
      esac
8208
    fi
8209
  done
8210
  IFS="$lt_save_ifs"
8211
else
8212
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
8213
fi
8214
fi
8215
8216
LD="$lt_cv_path_LD"
8217
if test -n "$LD"; then
8218
  { echo "$as_me:$LINENO: result: $LD" >&5
8219
echo "${ECHO_T}$LD" >&6; }
8220
else
8221
  { echo "$as_me:$LINENO: result: no" >&5
8222
echo "${ECHO_T}no" >&6; }
8223
fi
8224
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
8225
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
8226
   { (exit 1); exit 1; }; }
8227
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
8228
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
8229
if test "${lt_cv_prog_gnu_ld+set}" = set; then
8230
  echo $ECHO_N "(cached) $ECHO_C" >&6
8231
else
8232
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
8233
case `$LD -v 2>&1 </dev/null` in
8234
*GNU* | *'with BFD'*)
8235
  lt_cv_prog_gnu_ld=yes
8236
  ;;
8237
*)
8238
  lt_cv_prog_gnu_ld=no
8239
  ;;
8240
esac
8241
fi
8242
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
8243
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
8244
with_gnu_ld=$lt_cv_prog_gnu_ld
8245
8246
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
8247
8248
8249
8250
8251
8252
8253
8254
{ echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
8255
echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6; }
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
8256
if test "${lt_cv_path_NM+set}" = set; then
8257
  echo $ECHO_N "(cached) $ECHO_C" >&6
8258
else
8259
  if test -n "$NM"; then
8260
  # Let the user override the test.
8261
  lt_cv_path_NM="$NM"
8262
else
8263
  lt_nm_to_check="${ac_tool_prefix}nm"
8264
  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
8265
    lt_nm_to_check="$lt_nm_to_check nm"
8266
  fi
8267
  for lt_tmp_nm in $lt_nm_to_check; do
8268
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8269
    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
8270
      IFS="$lt_save_ifs"
8271
      test -z "$ac_dir" && ac_dir=.
8272
      tmp_nm="$ac_dir/$lt_tmp_nm"
8273
      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
8274
	# Check to see if the nm accepts a BSD-compat flag.
8275
	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
8276
	#   nm: unknown option "B" ignored
8277
	# Tru64's nm complains that /dev/null is an invalid object file
8278
	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
8279
	*/dev/null* | *'Invalid file or object type'*)
8280
	  lt_cv_path_NM="$tmp_nm -B"
8281
	  break
8282
	  ;;
8283
	*)
8284
	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
8285
	  */dev/null*)
8286
	    lt_cv_path_NM="$tmp_nm -p"
8287
	    break
8288
	    ;;
8289
	  *)
8290
	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
8291
	    continue # so that we can try to find one that supports BSD flags
8292
	    ;;
8293
	  esac
8294
	  ;;
8295
	esac
8296
      fi
8297
    done
8298
    IFS="$lt_save_ifs"
8299
  done
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
8300
  : ${lt_cv_path_NM=no}
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
8301
fi
8302
fi
8303
{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
8304
echo "${ECHO_T}$lt_cv_path_NM" >&6; }
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
8305
if test "$lt_cv_path_NM" != "no"; then
8306
  NM="$lt_cv_path_NM"
8307
else
8308
  # Didn't find any BSD compatible name lister, look for dumpbin.
8309
  if test -n "$ac_tool_prefix"; then
8310
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
8311
  do
8312
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8313
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8314
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8315
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8316
if test "${ac_cv_prog_DUMPBIN+set}" = set; then
8317
  echo $ECHO_N "(cached) $ECHO_C" >&6
8318
else
8319
  if test -n "$DUMPBIN"; then
8320
  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
8321
else
8322
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8323
for as_dir in $PATH
8324
do
8325
  IFS=$as_save_IFS
8326
  test -z "$as_dir" && as_dir=.
8327
  for ac_exec_ext in '' $ac_executable_extensions; do
8328
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8329
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
8330
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8331
    break 2
8332
  fi
8333
done
8334
done
8335
IFS=$as_save_IFS
8336
8337
fi
8338
fi
8339
DUMPBIN=$ac_cv_prog_DUMPBIN
8340
if test -n "$DUMPBIN"; then
8341
  { echo "$as_me:$LINENO: result: $DUMPBIN" >&5
8342
echo "${ECHO_T}$DUMPBIN" >&6; }
8343
else
8344
  { echo "$as_me:$LINENO: result: no" >&5
8345
echo "${ECHO_T}no" >&6; }
8346
fi
8347
8348
8349
    test -n "$DUMPBIN" && break
8350
  done
8351
fi
8352
if test -z "$DUMPBIN"; then
8353
  ac_ct_DUMPBIN=$DUMPBIN
8354
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
8355
do
8356
  # Extract the first word of "$ac_prog", so it can be a program name with args.
8357
set dummy $ac_prog; ac_word=$2
8358
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8359
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8360
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
8361
  echo $ECHO_N "(cached) $ECHO_C" >&6
8362
else
8363
  if test -n "$ac_ct_DUMPBIN"; then
8364
  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
8365
else
8366
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8367
for as_dir in $PATH
8368
do
8369
  IFS=$as_save_IFS
8370
  test -z "$as_dir" && as_dir=.
8371
  for ac_exec_ext in '' $ac_executable_extensions; do
8372
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8373
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
8374
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8375
    break 2
8376
  fi
8377
done
8378
done
8379
IFS=$as_save_IFS
8380
8381
fi
8382
fi
8383
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
8384
if test -n "$ac_ct_DUMPBIN"; then
8385
  { echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
8386
echo "${ECHO_T}$ac_ct_DUMPBIN" >&6; }
8387
else
8388
  { echo "$as_me:$LINENO: result: no" >&5
8389
echo "${ECHO_T}no" >&6; }
8390
fi
8391
8392
8393
  test -n "$ac_ct_DUMPBIN" && break
8394
done
8395
8396
  if test "x$ac_ct_DUMPBIN" = x; then
8397
    DUMPBIN=":"
8398
  else
8399
    case $cross_compiling:$ac_tool_warned in
8400
yes:)
8401
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8402
whose name does not start with the host triplet.  If you think this
8403
configuration is useful to you, please write to autoconf@gnu.org." >&5
8404
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8405
whose name does not start with the host triplet.  If you think this
8406
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8407
ac_tool_warned=yes ;;
8408
esac
8409
    DUMPBIN=$ac_ct_DUMPBIN
8410
  fi
8411
fi
8412
8413
8414
  if test "$DUMPBIN" != ":"; then
8415
    NM="$DUMPBIN"
8416
  fi
8417
fi
8418
test -z "$NM" && NM=nm
8419
8420
8421
8422
8423
8424
8425
{ echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
8426
echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6; }
8427
if test "${lt_cv_nm_interface+set}" = set; then
8428
  echo $ECHO_N "(cached) $ECHO_C" >&6
8429
else
8430
  lt_cv_nm_interface="BSD nm"
8431
  echo "int some_variable = 0;" > conftest.$ac_ext
1.1.5 by Christopher James Halse Rogers
Import upstream version 0.8.0
8432
  (eval echo "\"\$as_me:8432: $ac_compile\"" >&5)
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
8433
  (eval "$ac_compile" 2>conftest.err)
8434
  cat conftest.err >&5
1.1.5 by Christopher James Halse Rogers
Import upstream version 0.8.0
8435
  (eval echo "\"\$as_me:8435: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
8436
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
8437
  cat conftest.err >&5
1.1.5 by Christopher James Halse Rogers
Import upstream version 0.8.0
8438
  (eval echo "\"\$as_me:8438: output\"" >&5)
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
8439
  cat conftest.out >&5
8440
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
8441
    lt_cv_nm_interface="MS dumpbin"
8442
  fi
8443
  rm -f conftest*
8444
fi
8445
{ echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
8446
echo "${ECHO_T}$lt_cv_nm_interface" >&6; }
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
8447
8448
{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
8449
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
8450
LN_S=$as_ln_s
8451
if test "$LN_S" = "ln -s"; then
8452
  { echo "$as_me:$LINENO: result: yes" >&5
8453
echo "${ECHO_T}yes" >&6; }
8454
else
8455
  { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
8456
echo "${ECHO_T}no, using $LN_S" >&6; }
8457
fi
8458
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
8459
# find the maximum length of command line arguments
8460
{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
8461
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
8462
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
8463
  echo $ECHO_N "(cached) $ECHO_C" >&6
8464
else
8465
    i=0
8466
  teststring="ABCD"
8467
8468
  case $build_os in
8469
  msdosdjgpp*)
8470
    # On DJGPP, this test can blow up pretty badly due to problems in libc
8471
    # (any single argument exceeding 2000 bytes causes a buffer overrun
8472
    # during glob expansion).  Even if it were fixed, the result of this
8473
    # check would be larger than it should be.
8474
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
8475
    ;;
8476
8477
  gnu*)
8478
    # Under GNU Hurd, this test is not required because there is
8479
    # no limit to the length of command line arguments.
8480
    # Libtool will interpret -1 as no limit whatsoever
8481
    lt_cv_sys_max_cmd_len=-1;
8482
    ;;
8483
1.1.5 by Christopher James Halse Rogers
Import upstream version 0.8.0
8484
  cygwin* | mingw* | cegcc*)
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
8485
    # On Win9x/ME, this test blows up -- it succeeds, but takes
8486
    # about 5 minutes as the teststring grows exponentially.
8487
    # Worse, since 9x/ME are not pre-emptively multitasking,
8488
    # you end up with a "frozen" computer, even though with patience
8489
    # the test eventually succeeds (with a max line length of 256k).
8490
    # Instead, let's just punt: use the minimum linelength reported by
8491
    # all of the supported platforms: 8192 (on NT/2K/XP).
8492
    lt_cv_sys_max_cmd_len=8192;
8493
    ;;
8494
8495
  amigaos*)
8496
    # On AmigaOS with pdksh, this test takes hours, literally.
8497
    # So we just punt and use a minimum line length of 8192.
8498
    lt_cv_sys_max_cmd_len=8192;
8499
    ;;
8500
8501
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
8502
    # This has been around since 386BSD, at least.  Likely further.
8503
    if test -x /sbin/sysctl; then
8504
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
8505
    elif test -x /usr/sbin/sysctl; then
8506
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
8507
    else
8508
      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
8509
    fi
8510
    # And add a safety zone
8511
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
8512
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
8513
    ;;
8514
8515
  interix*)
8516
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
8517
    lt_cv_sys_max_cmd_len=196608
8518
    ;;
8519
8520
  osf*)
8521
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
8522
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
8523
    # nice to cause kernel panics so lets avoid the loop below.
8524
    # First set a reasonable default.
8525
    lt_cv_sys_max_cmd_len=16384
8526
    #
8527
    if test -x /sbin/sysconfig; then
8528
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
8529
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
8530
      esac
8531
    fi
8532
    ;;
8533
  sco3.2v5*)
8534
    lt_cv_sys_max_cmd_len=102400
8535
    ;;
8536
  sysv5* | sco5v6* | sysv4.2uw2*)
8537
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
8538
    if test -n "$kargmax"; then
8539
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
8540
    else
8541
      lt_cv_sys_max_cmd_len=32768
8542
    fi
8543
    ;;
8544
  *)
8545
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
8546
    if test -n "$lt_cv_sys_max_cmd_len"; then
8547
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
8548
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
8549
    else
8550
      # Make teststring a little bigger before we do anything with it.
8551
      # a 1K string should be a reasonable start.
8552
      for i in 1 2 3 4 5 6 7 8 ; do
8553
        teststring=$teststring$teststring
8554
      done
8555
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
8556
      # If test is not a shell built-in, we'll probably end up computing a
8557
      # maximum length that is only half of the actual maximum length, but
8558
      # we can't tell.
8559
      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
8560
	         = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
8561
	      test $i != 17 # 1/2 MB should be enough
8562
      do
8563
        i=`expr $i + 1`
8564
        teststring=$teststring$teststring
8565
      done
8566
      # Only check the string length outside the loop.
8567
      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
8568
      teststring=
8569
      # Add a significant safety factor because C++ compilers can tack on
8570
      # massive amounts of additional arguments before passing them to the
8571
      # linker.  It appears as though 1/2 is a usable value.
8572
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
8573
    fi
8574
    ;;
8575
  esac
8576
8577
fi
8578
8579
if test -n $lt_cv_sys_max_cmd_len ; then
8580
  { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
8581
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
8582
else
8583
  { echo "$as_me:$LINENO: result: none" >&5
8584
echo "${ECHO_T}none" >&6; }
8585
fi
8586
max_cmd_len=$lt_cv_sys_max_cmd_len
8587
8588
8589
8590
8591
8592
8593
: ${CP="cp -f"}
8594
: ${MV="mv -f"}
8595
: ${RM="rm -f"}
8596
8597
{ echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
8598
echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6; }
8599
# Try some XSI features
8600
xsi_shell=no
8601
( _lt_dummy="a/b/c"
8602
  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
8603
      = c,a/b,, \
8604
    && eval 'test $(( 1 + 1 )) -eq 2 \
8605
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
8606
  && xsi_shell=yes
8607
{ echo "$as_me:$LINENO: result: $xsi_shell" >&5
8608
echo "${ECHO_T}$xsi_shell" >&6; }
8609
8610
8611
{ echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
8612
echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6; }
8613
lt_shell_append=no
8614
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
8615
    >/dev/null 2>&1 \
8616
  && lt_shell_append=yes
8617
{ echo "$as_me:$LINENO: result: $lt_shell_append" >&5
8618
echo "${ECHO_T}$lt_shell_append" >&6; }
8619
8620
8621
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
8622
  lt_unset=unset
8623
else
8624
  lt_unset=false
8625
fi
8626
8627
8628
8629
8630
8631
# test EBCDIC or ASCII
8632
case `echo X|tr X '\101'` in
8633
 A) # ASCII based system
8634
    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
8635
  lt_SP2NL='tr \040 \012'
8636
  lt_NL2SP='tr \015\012 \040\040'
8637
  ;;
8638
 *) # EBCDIC based system
8639
  lt_SP2NL='tr \100 \n'
8640
  lt_NL2SP='tr \r\n \100\100'
8641
  ;;
8642
esac
8643
8644
8645
8646
8647
8648
8649
8650
8651
8652
{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
8653
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
8654
if test "${lt_cv_ld_reload_flag+set}" = set; then
8655
  echo $ECHO_N "(cached) $ECHO_C" >&6
8656
else
8657
  lt_cv_ld_reload_flag='-r'
8658
fi
8659
{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
8660
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
8661
reload_flag=$lt_cv_ld_reload_flag
8662
case $reload_flag in
8663
"" | " "*) ;;
8664
*) reload_flag=" $reload_flag" ;;
8665
esac
8666
reload_cmds='$LD$reload_flag -o $output$reload_objs'
8667
case $host_os in
8668
  darwin*)
8669
    if test "$GCC" = yes; then
8670
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
8671
    else
8672
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
8673
    fi
8674
    ;;
8675
esac
8676
8677
8678
8679
8680
8681
8682
8683
8684
1.1.5 by Christopher James Halse Rogers
Import upstream version 0.8.0
8685
if test -n "$ac_tool_prefix"; then
8686
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
8687
set dummy ${ac_tool_prefix}objdump; ac_word=$2
8688
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8689
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8690
if test "${ac_cv_prog_OBJDUMP+set}" = set; then
8691
  echo $ECHO_N "(cached) $ECHO_C" >&6
8692
else
8693
  if test -n "$OBJDUMP"; then
8694
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
8695
else
8696
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8697
for as_dir in $PATH
8698
do
8699
  IFS=$as_save_IFS
8700
  test -z "$as_dir" && as_dir=.
8701
  for ac_exec_ext in '' $ac_executable_extensions; do
8702
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8703
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
8704
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8705
    break 2
8706
  fi
8707
done
8708
done
8709
IFS=$as_save_IFS
8710
8711
fi
8712
fi
8713
OBJDUMP=$ac_cv_prog_OBJDUMP
8714
if test -n "$OBJDUMP"; then
8715
  { echo "$as_me:$LINENO: result: $OBJDUMP" >&5
8716
echo "${ECHO_T}$OBJDUMP" >&6; }
8717
else
8718
  { echo "$as_me:$LINENO: result: no" >&5
8719
echo "${ECHO_T}no" >&6; }
8720
fi
8721
8722
8723
fi
8724
if test -z "$ac_cv_prog_OBJDUMP"; then
8725
  ac_ct_OBJDUMP=$OBJDUMP
8726
  # Extract the first word of "objdump", so it can be a program name with args.
8727
set dummy objdump; ac_word=$2
8728
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8729
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8730
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
8731
  echo $ECHO_N "(cached) $ECHO_C" >&6
8732
else
8733
  if test -n "$ac_ct_OBJDUMP"; then
8734
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
8735
else
8736
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8737
for as_dir in $PATH
8738
do
8739
  IFS=$as_save_IFS
8740
  test -z "$as_dir" && as_dir=.
8741
  for ac_exec_ext in '' $ac_executable_extensions; do
8742
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8743
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
8744
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8745
    break 2
8746
  fi
8747
done
8748
done
8749
IFS=$as_save_IFS
8750
8751
fi
8752
fi
8753
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
8754
if test -n "$ac_ct_OBJDUMP"; then
8755
  { echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
8756
echo "${ECHO_T}$ac_ct_OBJDUMP" >&6; }
8757
else
8758
  { echo "$as_me:$LINENO: result: no" >&5
8759
echo "${ECHO_T}no" >&6; }
8760
fi
8761
8762
  if test "x$ac_ct_OBJDUMP" = x; then
8763
    OBJDUMP="false"
8764
  else
8765
    case $cross_compiling:$ac_tool_warned in
8766
yes:)
8767
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8768
whose name does not start with the host triplet.  If you think this
8769
configuration is useful to you, please write to autoconf@gnu.org." >&5
8770
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8771
whose name does not start with the host triplet.  If you think this
8772
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8773
ac_tool_warned=yes ;;
8774
esac
8775
    OBJDUMP=$ac_ct_OBJDUMP
8776
  fi
8777
else
8778
  OBJDUMP="$ac_cv_prog_OBJDUMP"
8779
fi
8780
8781
test -z "$OBJDUMP" && OBJDUMP=objdump
8782
8783
8784
8785
8786
8787
8788
8789
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
8790
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
8791
{ echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
8792
echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
8793
if test "${lt_cv_deplibs_check_method+set}" = set; then
8794
  echo $ECHO_N "(cached) $ECHO_C" >&6
8795
else
8796
  lt_cv_file_magic_cmd='$MAGIC_CMD'
8797
lt_cv_file_magic_test_file=
8798
lt_cv_deplibs_check_method='unknown'
8799
# Need to set the preceding variable on all platforms that support
8800
# interlibrary dependencies.
8801
# 'none' -- dependencies not supported.
8802
# `unknown' -- same as none, but documents that we really don't know.
8803
# 'pass_all' -- all dependencies passed with no checks.
8804
# 'test_compile' -- check by making test program.
8805
# 'file_magic [[regex]]' -- check by looking for files in library path
8806
# which responds to the $file_magic_cmd with a given extended regex.
8807
# If you have `file' or equivalent on your system and you're not sure
8808
# whether `pass_all' will *always* work, you probably want this one.
8809
8810
case $host_os in
8811
aix[4-9]*)
8812
  lt_cv_deplibs_check_method=pass_all
8813
  ;;
8814
8815
beos*)
8816
  lt_cv_deplibs_check_method=pass_all
8817
  ;;
8818
8819
bsdi[45]*)
8820
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
8821
  lt_cv_file_magic_cmd='/usr/bin/file -L'
8822
  lt_cv_file_magic_test_file=/shlib/libc.so
8823
  ;;
8824
8825
cygwin*)
8826
  # func_win32_libid is a shell function defined in ltmain.sh
8827
  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
8828
  lt_cv_file_magic_cmd='func_win32_libid'
8829
  ;;
8830
8831
mingw* | pw32*)
8832
  # Base MSYS/MinGW do not provide the 'file' command needed by
8833
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
8834
  # unless we find 'file', for example because we are cross-compiling.
8835
  if ( file / ) >/dev/null 2>&1; then
8836
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
8837
    lt_cv_file_magic_cmd='func_win32_libid'
8838
  else
8839
    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
8840
    lt_cv_file_magic_cmd='$OBJDUMP -f'
8841
  fi
8842
  ;;
8843
1.1.5 by Christopher James Halse Rogers
Import upstream version 0.8.0
8844
cegcc)
8845
  # use the weaker test based on 'objdump'. See mingw*.
8846
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
8847
  lt_cv_file_magic_cmd='$OBJDUMP -f'
8848
  ;;
8849
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
8850
darwin* | rhapsody*)
8851
  lt_cv_deplibs_check_method=pass_all
8852
  ;;
8853
8854
freebsd* | dragonfly*)
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
8855
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
8856
    case $host_cpu in
8857
    i*86 )
8858
      # Not sure whether the presence of OpenBSD here was a mistake.
8859
      # Let's accept both of them until this is cleared up.
8860
      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
8861
      lt_cv_file_magic_cmd=/usr/bin/file
8862
      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
8863
      ;;
8864
    esac
8865
  else
8866
    lt_cv_deplibs_check_method=pass_all
8867
  fi
8868
  ;;
8869
8870
gnu*)
8871
  lt_cv_deplibs_check_method=pass_all
8872
  ;;
8873
8874
hpux10.20* | hpux11*)
8875
  lt_cv_file_magic_cmd=/usr/bin/file
8876
  case $host_cpu in
8877
  ia64*)
8878
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
8879
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
8880
    ;;
8881
  hppa*64*)
8882
    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]'
8883
    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
8884
    ;;
8885
  *)
8886
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
8887
    lt_cv_file_magic_test_file=/usr/lib/libc.sl
8888
    ;;
8889
  esac
8890
  ;;
8891
8892
interix[3-9]*)
8893
  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
8894
  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
8895
  ;;
8896
8897
irix5* | irix6* | nonstopux*)
8898
  case $LD in
8899
  *-32|*"-32 ") libmagic=32-bit;;
8900
  *-n32|*"-n32 ") libmagic=N32;;
8901
  *-64|*"-64 ") libmagic=64-bit;;
8902
  *) libmagic=never-match;;
8903
  esac
8904
  lt_cv_deplibs_check_method=pass_all
8905
  ;;
8906
8907
# This must be Linux ELF.
8908
linux* | k*bsd*-gnu)
8909
  lt_cv_deplibs_check_method=pass_all
8910
  ;;
8911
8912
netbsd* | netbsdelf*-gnu)
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
8913
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
8914
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
8915
  else
8916
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
8917
  fi
8918
  ;;
8919
8920
newos6*)
8921
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
8922
  lt_cv_file_magic_cmd=/usr/bin/file
8923
  lt_cv_file_magic_test_file=/usr/lib/libnls.so
8924
  ;;
8925
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
8926
*nto* | *qnx*)
8927
  lt_cv_deplibs_check_method=pass_all
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
8928
  ;;
8929
8930
openbsd*)
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
8931
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
8932
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
8933
  else
8934
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
8935
  fi
8936
  ;;
8937
8938
osf3* | osf4* | osf5*)
8939
  lt_cv_deplibs_check_method=pass_all
8940
  ;;
8941
8942
rdos*)
8943
  lt_cv_deplibs_check_method=pass_all
8944
  ;;
8945
8946
solaris*)
8947
  lt_cv_deplibs_check_method=pass_all
8948
  ;;
8949
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
8950
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
8951
  lt_cv_deplibs_check_method=pass_all
8952
  ;;
8953
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
8954
sysv4 | sysv4.3*)
8955
  case $host_vendor in
8956
  motorola)
8957
    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]'
8958
    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
8959
    ;;
8960
  ncr)
8961
    lt_cv_deplibs_check_method=pass_all
8962
    ;;
8963
  sequent)
8964
    lt_cv_file_magic_cmd='/bin/file'
8965
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
8966
    ;;
8967
  sni)
8968
    lt_cv_file_magic_cmd='/bin/file'
8969
    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
8970
    lt_cv_file_magic_test_file=/lib/libc.so
8971
    ;;
8972
  siemens)
8973
    lt_cv_deplibs_check_method=pass_all
8974
    ;;
8975
  pc)
8976
    lt_cv_deplibs_check_method=pass_all
8977
    ;;
8978
  esac
8979
  ;;
8980
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
8981
tpf*)
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
8982
  lt_cv_deplibs_check_method=pass_all
8983
  ;;
8984
esac
8985
8986
fi
8987
{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
8988
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
8989
file_magic_cmd=$lt_cv_file_magic_cmd
8990
deplibs_check_method=$lt_cv_deplibs_check_method
8991
test -z "$deplibs_check_method" && deplibs_check_method=unknown
8992
8993
8994
8995
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
8996
8997
8998
8999
9000
9001
9002
9003
9004
if test -n "$ac_tool_prefix"; then
9005
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
9006
set dummy ${ac_tool_prefix}ar; ac_word=$2
9007
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
9008
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9009
if test "${ac_cv_prog_AR+set}" = set; then
9010
  echo $ECHO_N "(cached) $ECHO_C" >&6
9011
else
9012
  if test -n "$AR"; then
9013
  ac_cv_prog_AR="$AR" # Let the user override the test.
9014
else
9015
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9016
for as_dir in $PATH
9017
do
9018
  IFS=$as_save_IFS
9019
  test -z "$as_dir" && as_dir=.
9020
  for ac_exec_ext in '' $ac_executable_extensions; do
9021
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9022
    ac_cv_prog_AR="${ac_tool_prefix}ar"
9023
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9024
    break 2
9025
  fi
9026
done
9027
done
9028
IFS=$as_save_IFS
9029
9030
fi
9031
fi
9032
AR=$ac_cv_prog_AR
9033
if test -n "$AR"; then
9034
  { echo "$as_me:$LINENO: result: $AR" >&5
9035
echo "${ECHO_T}$AR" >&6; }
9036
else
9037
  { echo "$as_me:$LINENO: result: no" >&5
9038
echo "${ECHO_T}no" >&6; }
9039
fi
9040
9041
9042
fi
9043
if test -z "$ac_cv_prog_AR"; then
9044
  ac_ct_AR=$AR
9045
  # Extract the first word of "ar", so it can be a program name with args.
9046
set dummy ar; ac_word=$2
9047
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
9048
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9049
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
9050
  echo $ECHO_N "(cached) $ECHO_C" >&6
9051
else
9052
  if test -n "$ac_ct_AR"; then
9053
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
9054
else
9055
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9056
for as_dir in $PATH
9057
do
9058
  IFS=$as_save_IFS
9059
  test -z "$as_dir" && as_dir=.
9060
  for ac_exec_ext in '' $ac_executable_extensions; do
9061
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9062
    ac_cv_prog_ac_ct_AR="ar"
9063
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9064
    break 2
9065
  fi
9066
done
9067
done
9068
IFS=$as_save_IFS
9069
9070
fi
9071
fi
9072
ac_ct_AR=$ac_cv_prog_ac_ct_AR
9073
if test -n "$ac_ct_AR"; then
9074
  { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
9075
echo "${ECHO_T}$ac_ct_AR" >&6; }
9076
else
9077
  { echo "$as_me:$LINENO: result: no" >&5
9078
echo "${ECHO_T}no" >&6; }
9079
fi
9080
9081
  if test "x$ac_ct_AR" = x; then
9082
    AR="false"
9083
  else
9084
    case $cross_compiling:$ac_tool_warned in
9085
yes:)
9086
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
9087
whose name does not start with the host triplet.  If you think this
9088
configuration is useful to you, please write to autoconf@gnu.org." >&5
9089
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
9090
whose name does not start with the host triplet.  If you think this
9091
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
9092
ac_tool_warned=yes ;;
9093
esac
9094
    AR=$ac_ct_AR
9095
  fi
9096
else
9097
  AR="$ac_cv_prog_AR"
9098
fi
9099
9100
test -z "$AR" && AR=ar
9101
test -z "$AR_FLAGS" && AR_FLAGS=cru
9102
9103
9104
9105
9106
9107
9108
9109
9110
9111
9112
9113
if test -n "$ac_tool_prefix"; then
9114
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
9115
set dummy ${ac_tool_prefix}strip; ac_word=$2
9116
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
9117
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9118
if test "${ac_cv_prog_STRIP+set}" = set; then
9119
  echo $ECHO_N "(cached) $ECHO_C" >&6
9120
else
9121
  if test -n "$STRIP"; then
9122
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9123
else
9124
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9125
for as_dir in $PATH
9126
do
9127
  IFS=$as_save_IFS
9128
  test -z "$as_dir" && as_dir=.
9129
  for ac_exec_ext in '' $ac_executable_extensions; do
9130
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9131
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
9132
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9133
    break 2
9134
  fi
9135
done
9136
done
9137
IFS=$as_save_IFS
9138
9139
fi
9140
fi
9141
STRIP=$ac_cv_prog_STRIP
9142
if test -n "$STRIP"; then
9143
  { echo "$as_me:$LINENO: result: $STRIP" >&5
9144
echo "${ECHO_T}$STRIP" >&6; }
9145
else
9146
  { echo "$as_me:$LINENO: result: no" >&5
9147
echo "${ECHO_T}no" >&6; }
9148
fi
9149
9150
9151
fi
9152
if test -z "$ac_cv_prog_STRIP"; then
9153
  ac_ct_STRIP=$STRIP
9154
  # Extract the first word of "strip", so it can be a program name with args.
9155
set dummy strip; ac_word=$2
9156
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
9157
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9158
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
9159
  echo $ECHO_N "(cached) $ECHO_C" >&6
9160
else
9161
  if test -n "$ac_ct_STRIP"; then
9162
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
9163
else
9164
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9165
for as_dir in $PATH
9166
do
9167
  IFS=$as_save_IFS
9168
  test -z "$as_dir" && as_dir=.
9169
  for ac_exec_ext in '' $ac_executable_extensions; do
9170
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9171
    ac_cv_prog_ac_ct_STRIP="strip"
9172
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9173
    break 2
9174
  fi
9175
done
9176
done
9177
IFS=$as_save_IFS
9178
9179
fi
9180
fi
9181
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
9182
if test -n "$ac_ct_STRIP"; then
9183
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
9184
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
9185
else
9186
  { echo "$as_me:$LINENO: result: no" >&5
9187
echo "${ECHO_T}no" >&6; }
9188
fi
9189
9190
  if test "x$ac_ct_STRIP" = x; then
9191
    STRIP=":"
9192
  else
9193
    case $cross_compiling:$ac_tool_warned in
9194
yes:)
9195
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
9196
whose name does not start with the host triplet.  If you think this
9197
configuration is useful to you, please write to autoconf@gnu.org." >&5
9198
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
9199
whose name does not start with the host triplet.  If you think this
9200
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
9201
ac_tool_warned=yes ;;
9202
esac
9203
    STRIP=$ac_ct_STRIP
9204
  fi
9205
else
9206
  STRIP="$ac_cv_prog_STRIP"
9207
fi
9208
9209
test -z "$STRIP" && STRIP=:
9210
9211
9212
9213
9214
9215
9216
if test -n "$ac_tool_prefix"; then
9217
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
9218
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
9219
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
9220
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9221
if test "${ac_cv_prog_RANLIB+set}" = set; then
9222
  echo $ECHO_N "(cached) $ECHO_C" >&6
9223
else
9224
  if test -n "$RANLIB"; then
9225
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9226
else
9227
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9228
for as_dir in $PATH
9229
do
9230
  IFS=$as_save_IFS
9231
  test -z "$as_dir" && as_dir=.
9232
  for ac_exec_ext in '' $ac_executable_extensions; do
9233
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9234
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
9235
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9236
    break 2
9237
  fi
9238
done
9239
done
9240
IFS=$as_save_IFS
9241
9242
fi
9243
fi
9244
RANLIB=$ac_cv_prog_RANLIB
9245
if test -n "$RANLIB"; then
9246
  { echo "$as_me:$LINENO: result: $RANLIB" >&5
9247
echo "${ECHO_T}$RANLIB" >&6; }
9248
else
9249
  { echo "$as_me:$LINENO: result: no" >&5
9250
echo "${ECHO_T}no" >&6; }
9251
fi
9252
9253
9254
fi
9255
if test -z "$ac_cv_prog_RANLIB"; then
9256
  ac_ct_RANLIB=$RANLIB
9257
  # Extract the first word of "ranlib", so it can be a program name with args.
9258
set dummy ranlib; ac_word=$2
9259
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
9260
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9261
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
9262
  echo $ECHO_N "(cached) $ECHO_C" >&6
9263
else
9264
  if test -n "$ac_ct_RANLIB"; then
9265
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
9266
else
9267
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9268
for as_dir in $PATH
9269
do
9270
  IFS=$as_save_IFS
9271
  test -z "$as_dir" && as_dir=.
9272
  for ac_exec_ext in '' $ac_executable_extensions; do
9273
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9274
    ac_cv_prog_ac_ct_RANLIB="ranlib"
9275
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9276
    break 2
9277
  fi
9278
done
9279
done
9280
IFS=$as_save_IFS
9281
9282
fi
9283
fi
9284
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
9285
if test -n "$ac_ct_RANLIB"; then
9286
  { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
9287
echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
9288
else
9289
  { echo "$as_me:$LINENO: result: no" >&5
9290
echo "${ECHO_T}no" >&6; }
9291
fi
9292
9293
  if test "x$ac_ct_RANLIB" = x; then
9294
    RANLIB=":"
9295
  else
9296
    case $cross_compiling:$ac_tool_warned in
9297
yes:)
9298
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
9299
whose name does not start with the host triplet.  If you think this
9300
configuration is useful to you, please write to autoconf@gnu.org." >&5
9301
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
9302
whose name does not start with the host triplet.  If you think this
9303
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
9304
ac_tool_warned=yes ;;
9305
esac
9306
    RANLIB=$ac_ct_RANLIB
9307
  fi
9308
else
9309
  RANLIB="$ac_cv_prog_RANLIB"
9310
fi
9311
9312
test -z "$RANLIB" && RANLIB=:
9313
9314
9315
9316
9317
9318
9319
# Determine commands to create old-style static archives.
9320
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
9321
old_postinstall_cmds='chmod 644 $oldlib'
9322
old_postuninstall_cmds=
9323
9324
if test -n "$RANLIB"; then
9325
  case $host_os in
9326
  openbsd*)
9327
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
9328
    ;;
9329
  *)
9330
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
9331
    ;;
9332
  esac
9333
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
9334
fi
9335
9336
9337
9338
9339
9340
9341
9342
9343
9344
9345
9346
9347
9348
9349
9350
9351
9352
9353
9354
9355
9356
9357
9358
9359
9360
9361
9362
9363
9364
9365
9366
9367
9368
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
9369
# If no C compiler was specified, use CC.
9370
LTCC=${LTCC-"$CC"}
9371
9372
# If no C compiler flags were specified, use CFLAGS.
9373
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9374
9375
# Allow CC to be a program name with arguments.
9376
compiler=$CC
9377
9378
9379
# Check for command to grab the raw symbol name followed by C symbol from nm.
9380
{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
9381
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
9382
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
9383
  echo $ECHO_N "(cached) $ECHO_C" >&6
9384
else
9385
9386
# These are sane defaults that work on at least a few old systems.
9387
# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
9388
9389
# Character class describing NM global symbol codes.
9390
symcode='[BCDEGRST]'
9391
9392
# Regexp to match symbols that can be accessed directly from C.
9393
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
9394
9395
# Define system-specific variables.
9396
case $host_os in
9397
aix*)
9398
  symcode='[BCDT]'
9399
  ;;
1.1.5 by Christopher James Halse Rogers
Import upstream version 0.8.0
9400
cygwin* | mingw* | pw32* | cegcc*)
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
9401
  symcode='[ABCDGISTW]'
9402
  ;;
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
9403
hpux*)
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
9404
  if test "$host_cpu" = ia64; then
9405
    symcode='[ABCDEGRST]'
9406
  fi
9407
  ;;
9408
irix* | nonstopux*)
9409
  symcode='[BCDEGRST]'
9410
  ;;
9411
osf*)
9412
  symcode='[BCDEGQRST]'
9413
  ;;
9414
solaris*)
9415
  symcode='[BDRT]'
9416
  ;;
9417
sco3.2v5*)
9418
  symcode='[DT]'
9419
  ;;
9420
sysv4.2uw2*)
9421
  symcode='[DT]'
9422
  ;;
9423
sysv5* | sco5v6* | unixware* | OpenUNIX*)
9424
  symcode='[ABDT]'
9425
  ;;
9426
sysv4)
9427
  symcode='[DFNSTU]'
9428
  ;;
9429
esac
9430
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
9431
# If we're using GNU nm, then use its standard symbol codes.
9432
case `$NM -V 2>&1` in
9433
*GNU* | *'with BFD'*)
9434
  symcode='[ABCDGIRSTW]' ;;
9435
esac
9436
9437
# Transform an extracted symbol line into a proper C declaration.
9438
# Some systems (esp. on ia64) link data and code symbols differently,
9439
# so use this general approach.
9440
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
9441
9442
# Transform an extracted symbol line into symbol name and symbol address
9443
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
9444
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'"
9445
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
9446
# Handle CRLF in mingw tool chain
9447
opt_cr=
9448
case $build_os in
9449
mingw*)
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
9450
  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
9451
  ;;
9452
esac
9453
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
9454
# Try without a prefix underscore, then with it.
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
9455
for ac_symprfx in "" "_"; do
9456
9457
  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
9458
  symxfrm="\\1 $ac_symprfx\\2 \\2"
9459
9460
  # Write the raw and C identifiers.
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
9461
  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
9462
    # Fake it for dumpbin and say T for any non-static function
9463
    # and D for any global variable.
9464
    # Also find C++ and __fastcall symbols from MSVC++,
9465
    # which start with @ or ?.
9466
    lt_cv_sys_global_symbol_pipe="$AWK '"\
9467
"     {last_section=section; section=\$ 3};"\
9468
"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
9469
"     \$ 0!~/External *\|/{next};"\
9470
"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
9471
"     {if(hide[section]) next};"\
9472
"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
9473
"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
9474
"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
9475
"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
9476
"     ' prfx=^$ac_symprfx"
9477
  else
9478
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
9479
  fi
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
9480
9481
  # Check to see that the pipe works correctly.
9482
  pipe_works=no
9483
9484
  rm -f conftest*
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
9485
  cat > conftest.$ac_ext <<_LT_EOF
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
9486
#ifdef __cplusplus
9487
extern "C" {
9488
#endif
9489
char nm_test_var;
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
9490
void nm_test_func(void);
9491
void nm_test_func(void){}
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
9492
#ifdef __cplusplus
9493
}
9494
#endif
9495
int main(){nm_test_var='a';nm_test_func();return(0);}
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
9496
_LT_EOF
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
9497
9498
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9499
  (eval $ac_compile) 2>&5
9500
  ac_status=$?
9501
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9502
  (exit $ac_status); }; then
9503
    # Now try to grab the symbols.
9504
    nlist=conftest.nm
9505
    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
9506
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
9507
  ac_status=$?
9508
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9509
  (exit $ac_status); } && test -s "$nlist"; then
9510
      # Try sorting and uniquifying the output.
9511
      if sort "$nlist" | uniq > "$nlist"T; then
9512
	mv -f "$nlist"T "$nlist"
9513
      else
9514
	rm -f "$nlist"T
9515
      fi
9516
9517
      # Make sure that we snagged all the symbols we need.
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
9518
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
9519
	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
9520
	  cat <<_LT_EOF > conftest.$ac_ext
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
9521
#ifdef __cplusplus
9522
extern "C" {
9523
#endif
9524
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
9525
_LT_EOF
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
9526
	  # Now generate the symbol file.
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
9527
	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
9528
9529
	  cat <<_LT_EOF >> conftest.$ac_ext
9530
9531
/* The mapping between symbol names and symbols.  */
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
9532
const struct {
9533
  const char *name;
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
9534
  void       *address;
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
9535
}
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
9536
lt__PROGRAM__LTX_preloaded_symbols[] =
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
9537
{
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
9538
  { "@PROGRAM@", (void *) 0 },
9539
_LT_EOF
9540
	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
9541
	  cat <<\_LT_EOF >> conftest.$ac_ext
9542
  {0, (void *) 0}
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
9543
};
9544
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
9545
/* This works around a problem in FreeBSD linker */
9546
#ifdef FREEBSD_WORKAROUND
9547
static const void *lt_preloaded_setup() {
9548
  return lt__PROGRAM__LTX_preloaded_symbols;
9549
}
9550
#endif
9551
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
9552
#ifdef __cplusplus
9553
}
9554
#endif
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
9555
_LT_EOF
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
9556
	  # Now try linking the two files.
9557
	  mv conftest.$ac_objext conftstm.$ac_objext
9558
	  lt_save_LIBS="$LIBS"
9559
	  lt_save_CFLAGS="$CFLAGS"
9560
	  LIBS="conftstm.$ac_objext"
9561
	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
9562
	  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9563
  (eval $ac_link) 2>&5
9564
  ac_status=$?
9565
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9566
  (exit $ac_status); } && test -s conftest${ac_exeext}; then
9567
	    pipe_works=yes
9568
	  fi
9569
	  LIBS="$lt_save_LIBS"
9570
	  CFLAGS="$lt_save_CFLAGS"
9571
	else
9572
	  echo "cannot find nm_test_func in $nlist" >&5
9573
	fi
9574
      else
9575
	echo "cannot find nm_test_var in $nlist" >&5
9576
      fi
9577
    else
9578
      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
9579
    fi
9580
  else
9581
    echo "$progname: failed program was:" >&5
9582
    cat conftest.$ac_ext >&5
9583
  fi
9584
  rm -rf conftest* conftst*
9585
9586
  # Do not use the global_symbol_pipe unless it works.
9587
  if test "$pipe_works" = yes; then
9588
    break
9589
  else
9590
    lt_cv_sys_global_symbol_pipe=
9591
  fi
9592
done
9593
9594
fi
9595
9596
if test -z "$lt_cv_sys_global_symbol_pipe"; then
9597
  lt_cv_sys_global_symbol_to_cdecl=
9598
fi
9599
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
9600
  { echo "$as_me:$LINENO: result: failed" >&5
9601
echo "${ECHO_T}failed" >&6; }
9602
else
9603
  { echo "$as_me:$LINENO: result: ok" >&5
9604
echo "${ECHO_T}ok" >&6; }
9605
fi
9606
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
9607
9608
9609
9610
9611
9612
9613
9614
9615
9616
9617
9618
9619
9620
9621
9622
9623
9624
9625
9626
9627
9628
# Check whether --enable-libtool-lock was given.
9629
if test "${enable_libtool_lock+set}" = set; then
9630
  enableval=$enable_libtool_lock;
9631
fi
9632
9633
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
9634
9635
# Some flags need to be propagated to the compiler or linker for good
9636
# libtool support.
9637
case $host in
9638
ia64-*-hpux*)
9639
  # Find out which ABI we are using.
9640
  echo 'int i;' > conftest.$ac_ext
9641
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9642
  (eval $ac_compile) 2>&5
9643
  ac_status=$?
9644
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9645
  (exit $ac_status); }; then
9646
    case `/usr/bin/file conftest.$ac_objext` in
9647
      *ELF-32*)
9648
	HPUX_IA64_MODE="32"
9649
	;;
9650
      *ELF-64*)
9651
	HPUX_IA64_MODE="64"
9652
	;;
9653
    esac
9654
  fi
9655
  rm -rf conftest*
9656
  ;;
9657
*-*-irix6*)
9658
  # Find out which ABI we are using.
1.1.5 by Christopher James Halse Rogers
Import upstream version 0.8.0
9659
  echo '#line 9659 "configure"' > conftest.$ac_ext
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
9660
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9661
  (eval $ac_compile) 2>&5
9662
  ac_status=$?
9663
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9664
  (exit $ac_status); }; then
9665
    if test "$lt_cv_prog_gnu_ld" = yes; then
9666
      case `/usr/bin/file conftest.$ac_objext` in
9667
	*32-bit*)
9668
	  LD="${LD-ld} -melf32bsmip"
9669
	  ;;
9670
	*N32*)
9671
	  LD="${LD-ld} -melf32bmipn32"
9672
	  ;;
9673
	*64-bit*)
9674
	  LD="${LD-ld} -melf64bmip"
9675
	;;
9676
      esac
9677
    else
9678
      case `/usr/bin/file conftest.$ac_objext` in
9679
	*32-bit*)
9680
	  LD="${LD-ld} -32"
9681
	  ;;
9682
	*N32*)
9683
	  LD="${LD-ld} -n32"
9684
	  ;;
9685
	*64-bit*)
9686
	  LD="${LD-ld} -64"
9687
	  ;;
9688
      esac
9689
    fi
9690
  fi
9691
  rm -rf conftest*
9692
  ;;
9693
9694
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
9695
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
9696
  # Find out which ABI we are using.
9697
  echo 'int i;' > conftest.$ac_ext
9698
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9699
  (eval $ac_compile) 2>&5
9700
  ac_status=$?
9701
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9702
  (exit $ac_status); }; then
9703
    case `/usr/bin/file conftest.o` in
9704
      *32-bit*)
9705
	case $host in
9706
	  x86_64-*kfreebsd*-gnu)
9707
	    LD="${LD-ld} -m elf_i386_fbsd"
9708
	    ;;
9709
	  x86_64-*linux*)
9710
	    LD="${LD-ld} -m elf_i386"
9711
	    ;;
9712
	  ppc64-*linux*|powerpc64-*linux*)
9713
	    LD="${LD-ld} -m elf32ppclinux"
9714
	    ;;
9715
	  s390x-*linux*)
9716
	    LD="${LD-ld} -m elf_s390"
9717
	    ;;
9718
	  sparc64-*linux*)
9719
	    LD="${LD-ld} -m elf32_sparc"
9720
	    ;;
9721
	esac
9722
	;;
9723
      *64-bit*)
9724
	case $host in
9725
	  x86_64-*kfreebsd*-gnu)
9726
	    LD="${LD-ld} -m elf_x86_64_fbsd"
9727
	    ;;
9728
	  x86_64-*linux*)
9729
	    LD="${LD-ld} -m elf_x86_64"
9730
	    ;;
9731
	  ppc*-*linux*|powerpc*-*linux*)
9732
	    LD="${LD-ld} -m elf64ppc"
9733
	    ;;
9734
	  s390*-*linux*|s390*-*tpf*)
9735
	    LD="${LD-ld} -m elf64_s390"
9736
	    ;;
9737
	  sparc*-*linux*)
9738
	    LD="${LD-ld} -m elf64_sparc"
9739
	    ;;
9740
	esac
9741
	;;
9742
    esac
9743
  fi
9744
  rm -rf conftest*
9745
  ;;
9746
9747
*-*-sco3.2v5*)
9748
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
9749
  SAVE_CFLAGS="$CFLAGS"
9750
  CFLAGS="$CFLAGS -belf"
9751
  { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
9752
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
9753
if test "${lt_cv_cc_needs_belf+set}" = set; then
9754
  echo $ECHO_N "(cached) $ECHO_C" >&6
9755
else
9756
  ac_ext=c
9757
ac_cpp='$CPP $CPPFLAGS'
9758
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9759
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9760
ac_compiler_gnu=$ac_cv_c_compiler_gnu
9761
9762
     cat >conftest.$ac_ext <<_ACEOF
9763
/* confdefs.h.  */
9764
_ACEOF
9765
cat confdefs.h >>conftest.$ac_ext
9766
cat >>conftest.$ac_ext <<_ACEOF
9767
/* end confdefs.h.  */
9768
9769
int
9770
main ()
9771
{
9772
9773
  ;
9774
  return 0;
9775
}
9776
_ACEOF
9777
rm -f conftest.$ac_objext conftest$ac_exeext
9778
if { (ac_try="$ac_link"
9779
case "(($ac_try" in
9780
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9781
  *) ac_try_echo=$ac_try;;
9782
esac
9783
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9784
  (eval "$ac_link") 2>conftest.er1
9785
  ac_status=$?
9786
  grep -v '^ *+' conftest.er1 >conftest.err
9787
  rm -f conftest.er1
9788
  cat conftest.err >&5
9789
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9790
  (exit $ac_status); } && {
9791
	 test -z "$ac_c_werror_flag" ||
9792
	 test ! -s conftest.err
9793
       } && test -s conftest$ac_exeext &&
9794
       $as_test_x conftest$ac_exeext; then
9795
  lt_cv_cc_needs_belf=yes
9796
else
9797
  echo "$as_me: failed program was:" >&5
9798
sed 's/^/| /' conftest.$ac_ext >&5
9799
9800
	lt_cv_cc_needs_belf=no
9801
fi
9802
9803
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9804
      conftest$ac_exeext conftest.$ac_ext
9805
     ac_ext=c
9806
ac_cpp='$CPP $CPPFLAGS'
9807
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9808
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9809
ac_compiler_gnu=$ac_cv_c_compiler_gnu
9810
9811
fi
9812
{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
9813
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
9814
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
9815
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
9816
    CFLAGS="$SAVE_CFLAGS"
9817
  fi
9818
  ;;
9819
sparc*-*solaris*)
9820
  # Find out which ABI we are using.
9821
  echo 'int i;' > conftest.$ac_ext
9822
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9823
  (eval $ac_compile) 2>&5
9824
  ac_status=$?
9825
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9826
  (exit $ac_status); }; then
9827
    case `/usr/bin/file conftest.o` in
9828
    *64-bit*)
9829
      case $lt_cv_prog_gnu_ld in
9830
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
9831
      *)
9832
	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
9833
	  LD="${LD-ld} -64"
9834
	fi
9835
	;;
9836
      esac
9837
      ;;
9838
    esac
9839
  fi
9840
  rm -rf conftest*
9841
  ;;
9842
esac
9843
9844
need_locks="$enable_libtool_lock"
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
9845
9846
9847
  case $host_os in
9848
    rhapsody* | darwin*)
9849
    if test -n "$ac_tool_prefix"; then
9850
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
9851
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
9852
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
9853
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9854
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
9855
  echo $ECHO_N "(cached) $ECHO_C" >&6
9856
else
9857
  if test -n "$DSYMUTIL"; then
9858
  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
9859
else
9860
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9861
for as_dir in $PATH
9862
do
9863
  IFS=$as_save_IFS
9864
  test -z "$as_dir" && as_dir=.
9865
  for ac_exec_ext in '' $ac_executable_extensions; do
9866
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9867
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
9868
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9869
    break 2
9870
  fi
9871
done
9872
done
9873
IFS=$as_save_IFS
9874
9875
fi
9876
fi
9877
DSYMUTIL=$ac_cv_prog_DSYMUTIL
9878
if test -n "$DSYMUTIL"; then
9879
  { echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
9880
echo "${ECHO_T}$DSYMUTIL" >&6; }
9881
else
9882
  { echo "$as_me:$LINENO: result: no" >&5
9883
echo "${ECHO_T}no" >&6; }
9884
fi
9885
9886
9887
fi
9888
if test -z "$ac_cv_prog_DSYMUTIL"; then
9889
  ac_ct_DSYMUTIL=$DSYMUTIL
9890
  # Extract the first word of "dsymutil", so it can be a program name with args.
9891
set dummy dsymutil; ac_word=$2
9892
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
9893
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9894
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
9895
  echo $ECHO_N "(cached) $ECHO_C" >&6
9896
else
9897
  if test -n "$ac_ct_DSYMUTIL"; then
9898
  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
9899
else
9900
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9901
for as_dir in $PATH
9902
do
9903
  IFS=$as_save_IFS
9904
  test -z "$as_dir" && as_dir=.
9905
  for ac_exec_ext in '' $ac_executable_extensions; do
9906
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9907
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
9908
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9909
    break 2
9910
  fi
9911
done
9912
done
9913
IFS=$as_save_IFS
9914
9915
fi
9916
fi
9917
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
9918
if test -n "$ac_ct_DSYMUTIL"; then
9919
  { echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
9920
echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6; }
9921
else
9922
  { echo "$as_me:$LINENO: result: no" >&5
9923
echo "${ECHO_T}no" >&6; }
9924
fi
9925
9926
  if test "x$ac_ct_DSYMUTIL" = x; then
9927
    DSYMUTIL=":"
9928
  else
9929
    case $cross_compiling:$ac_tool_warned in
9930
yes:)
9931
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
9932
whose name does not start with the host triplet.  If you think this
9933
configuration is useful to you, please write to autoconf@gnu.org." >&5
9934
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
9935
whose name does not start with the host triplet.  If you think this
9936
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
9937
ac_tool_warned=yes ;;
9938
esac
9939
    DSYMUTIL=$ac_ct_DSYMUTIL
9940
  fi
9941
else
9942
  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
9943
fi
9944
9945
    if test -n "$ac_tool_prefix"; then
9946
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
9947
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
9948
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
9949
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9950
if test "${ac_cv_prog_NMEDIT+set}" = set; then
9951
  echo $ECHO_N "(cached) $ECHO_C" >&6
9952
else
9953
  if test -n "$NMEDIT"; then
9954
  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
9955
else
9956
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9957
for as_dir in $PATH
9958
do
9959
  IFS=$as_save_IFS
9960
  test -z "$as_dir" && as_dir=.
9961
  for ac_exec_ext in '' $ac_executable_extensions; do
9962
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9963
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
9964
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9965
    break 2
9966
  fi
9967
done
9968
done
9969
IFS=$as_save_IFS
9970
9971
fi
9972
fi
9973
NMEDIT=$ac_cv_prog_NMEDIT
9974
if test -n "$NMEDIT"; then
9975
  { echo "$as_me:$LINENO: result: $NMEDIT" >&5
9976
echo "${ECHO_T}$NMEDIT" >&6; }
9977
else
9978
  { echo "$as_me:$LINENO: result: no" >&5
9979
echo "${ECHO_T}no" >&6; }
9980
fi
9981
9982
9983
fi
9984
if test -z "$ac_cv_prog_NMEDIT"; then
9985
  ac_ct_NMEDIT=$NMEDIT
9986
  # Extract the first word of "nmedit", so it can be a program name with args.
9987
set dummy nmedit; ac_word=$2
9988
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
9989
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9990
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
9991
  echo $ECHO_N "(cached) $ECHO_C" >&6
9992
else
9993
  if test -n "$ac_ct_NMEDIT"; then
9994
  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
9995
else
9996
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9997
for as_dir in $PATH
9998
do
9999
  IFS=$as_save_IFS
10000
  test -z "$as_dir" && as_dir=.
10001
  for ac_exec_ext in '' $ac_executable_extensions; do
10002
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10003
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
10004
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10005
    break 2
10006
  fi
10007
done
10008
done
10009
IFS=$as_save_IFS
10010
10011
fi
10012
fi
10013
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
10014
if test -n "$ac_ct_NMEDIT"; then
10015
  { echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
10016
echo "${ECHO_T}$ac_ct_NMEDIT" >&6; }
10017
else
10018
  { echo "$as_me:$LINENO: result: no" >&5
10019
echo "${ECHO_T}no" >&6; }
10020
fi
10021
10022
  if test "x$ac_ct_NMEDIT" = x; then
10023
    NMEDIT=":"
10024
  else
10025
    case $cross_compiling:$ac_tool_warned in
10026
yes:)
10027
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
10028
whose name does not start with the host triplet.  If you think this
10029
configuration is useful to you, please write to autoconf@gnu.org." >&5
10030
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
10031
whose name does not start with the host triplet.  If you think this
10032
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
10033
ac_tool_warned=yes ;;
10034
esac
10035
    NMEDIT=$ac_ct_NMEDIT
10036
  fi
10037
else
10038
  NMEDIT="$ac_cv_prog_NMEDIT"
10039
fi
10040
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
10041
    if test -n "$ac_tool_prefix"; then
10042
  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
10043
set dummy ${ac_tool_prefix}lipo; ac_word=$2
10044
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
10045
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10046
if test "${ac_cv_prog_LIPO+set}" = set; then
10047
  echo $ECHO_N "(cached) $ECHO_C" >&6
10048
else
10049
  if test -n "$LIPO"; then
10050
  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
10051
else
10052
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10053
for as_dir in $PATH
10054
do
10055
  IFS=$as_save_IFS
10056
  test -z "$as_dir" && as_dir=.
10057
  for ac_exec_ext in '' $ac_executable_extensions; do
10058
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10059
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
10060
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10061
    break 2
10062
  fi
10063
done
10064
done
10065
IFS=$as_save_IFS
10066
10067
fi
10068
fi
10069
LIPO=$ac_cv_prog_LIPO
10070
if test -n "$LIPO"; then
10071
  { echo "$as_me:$LINENO: result: $LIPO" >&5
10072
echo "${ECHO_T}$LIPO" >&6; }
10073
else
10074
  { echo "$as_me:$LINENO: result: no" >&5
10075
echo "${ECHO_T}no" >&6; }
10076
fi
10077
10078
10079
fi
10080
if test -z "$ac_cv_prog_LIPO"; then
10081
  ac_ct_LIPO=$LIPO
10082
  # Extract the first word of "lipo", so it can be a program name with args.
10083
set dummy lipo; ac_word=$2
10084
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
10085
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10086
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
10087
  echo $ECHO_N "(cached) $ECHO_C" >&6
10088
else
10089
  if test -n "$ac_ct_LIPO"; then
10090
  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
10091
else
10092
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10093
for as_dir in $PATH
10094
do
10095
  IFS=$as_save_IFS
10096
  test -z "$as_dir" && as_dir=.
10097
  for ac_exec_ext in '' $ac_executable_extensions; do
10098
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10099
    ac_cv_prog_ac_ct_LIPO="lipo"
10100
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10101
    break 2
10102
  fi
10103
done
10104
done
10105
IFS=$as_save_IFS
10106
10107
fi
10108
fi
10109
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
10110
if test -n "$ac_ct_LIPO"; then
10111
  { echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
10112
echo "${ECHO_T}$ac_ct_LIPO" >&6; }
10113
else
10114
  { echo "$as_me:$LINENO: result: no" >&5
10115
echo "${ECHO_T}no" >&6; }
10116
fi
10117
10118
  if test "x$ac_ct_LIPO" = x; then
10119
    LIPO=":"
10120
  else
10121
    case $cross_compiling:$ac_tool_warned in
10122
yes:)
10123
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
10124
whose name does not start with the host triplet.  If you think this
10125
configuration is useful to you, please write to autoconf@gnu.org." >&5
10126
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
10127
whose name does not start with the host triplet.  If you think this
10128
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
10129
ac_tool_warned=yes ;;
10130
esac
10131
    LIPO=$ac_ct_LIPO
10132
  fi
10133
else
10134
  LIPO="$ac_cv_prog_LIPO"
10135
fi
10136
10137
    if test -n "$ac_tool_prefix"; then
10138
  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
10139
set dummy ${ac_tool_prefix}otool; ac_word=$2
10140
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
10141
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10142
if test "${ac_cv_prog_OTOOL+set}" = set; then
10143
  echo $ECHO_N "(cached) $ECHO_C" >&6
10144
else
10145
  if test -n "$OTOOL"; then
10146
  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
10147
else
10148
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10149
for as_dir in $PATH
10150
do
10151
  IFS=$as_save_IFS
10152
  test -z "$as_dir" && as_dir=.
10153
  for ac_exec_ext in '' $ac_executable_extensions; do
10154
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10155
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
10156
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10157
    break 2
10158
  fi
10159
done
10160
done
10161
IFS=$as_save_IFS
10162
10163
fi
10164
fi
10165
OTOOL=$ac_cv_prog_OTOOL
10166
if test -n "$OTOOL"; then
10167
  { echo "$as_me:$LINENO: result: $OTOOL" >&5
10168
echo "${ECHO_T}$OTOOL" >&6; }
10169
else
10170
  { echo "$as_me:$LINENO: result: no" >&5
10171
echo "${ECHO_T}no" >&6; }
10172
fi
10173
10174
10175
fi
10176
if test -z "$ac_cv_prog_OTOOL"; then
10177
  ac_ct_OTOOL=$OTOOL
10178
  # Extract the first word of "otool", so it can be a program name with args.
10179
set dummy otool; ac_word=$2
10180
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
10181
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10182
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
10183
  echo $ECHO_N "(cached) $ECHO_C" >&6
10184
else
10185
  if test -n "$ac_ct_OTOOL"; then
10186
  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
10187
else
10188
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10189
for as_dir in $PATH
10190
do
10191
  IFS=$as_save_IFS
10192
  test -z "$as_dir" && as_dir=.
10193
  for ac_exec_ext in '' $ac_executable_extensions; do
10194
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10195
    ac_cv_prog_ac_ct_OTOOL="otool"
10196
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10197
    break 2
10198
  fi
10199
done
10200
done
10201
IFS=$as_save_IFS
10202
10203
fi
10204
fi
10205
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
10206
if test -n "$ac_ct_OTOOL"; then
10207
  { echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
10208
echo "${ECHO_T}$ac_ct_OTOOL" >&6; }
10209
else
10210
  { echo "$as_me:$LINENO: result: no" >&5
10211
echo "${ECHO_T}no" >&6; }
10212
fi
10213
10214
  if test "x$ac_ct_OTOOL" = x; then
10215
    OTOOL=":"
10216
  else
10217
    case $cross_compiling:$ac_tool_warned in
10218
yes:)
10219
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
10220
whose name does not start with the host triplet.  If you think this
10221
configuration is useful to you, please write to autoconf@gnu.org." >&5
10222
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
10223
whose name does not start with the host triplet.  If you think this
10224
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
10225
ac_tool_warned=yes ;;
10226
esac
10227
    OTOOL=$ac_ct_OTOOL
10228
  fi
10229
else
10230
  OTOOL="$ac_cv_prog_OTOOL"
10231
fi
10232
10233
    if test -n "$ac_tool_prefix"; then
10234
  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
10235
set dummy ${ac_tool_prefix}otool64; ac_word=$2
10236
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
10237
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10238
if test "${ac_cv_prog_OTOOL64+set}" = set; then
10239
  echo $ECHO_N "(cached) $ECHO_C" >&6
10240
else
10241
  if test -n "$OTOOL64"; then
10242
  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
10243
else
10244
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10245
for as_dir in $PATH
10246
do
10247
  IFS=$as_save_IFS
10248
  test -z "$as_dir" && as_dir=.
10249
  for ac_exec_ext in '' $ac_executable_extensions; do
10250
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10251
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
10252
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10253
    break 2
10254
  fi
10255
done
10256
done
10257
IFS=$as_save_IFS
10258
10259
fi
10260
fi
10261
OTOOL64=$ac_cv_prog_OTOOL64
10262
if test -n "$OTOOL64"; then
10263
  { echo "$as_me:$LINENO: result: $OTOOL64" >&5
10264
echo "${ECHO_T}$OTOOL64" >&6; }
10265
else
10266
  { echo "$as_me:$LINENO: result: no" >&5
10267
echo "${ECHO_T}no" >&6; }
10268
fi
10269
10270
10271
fi
10272
if test -z "$ac_cv_prog_OTOOL64"; then
10273
  ac_ct_OTOOL64=$OTOOL64
10274
  # Extract the first word of "otool64", so it can be a program name with args.
10275
set dummy otool64; ac_word=$2
10276
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
10277
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10278
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
10279
  echo $ECHO_N "(cached) $ECHO_C" >&6
10280
else
10281
  if test -n "$ac_ct_OTOOL64"; then
10282
  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
10283
else
10284
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10285
for as_dir in $PATH
10286
do
10287
  IFS=$as_save_IFS
10288
  test -z "$as_dir" && as_dir=.
10289
  for ac_exec_ext in '' $ac_executable_extensions; do
10290
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10291
    ac_cv_prog_ac_ct_OTOOL64="otool64"
10292
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10293
    break 2
10294
  fi
10295
done
10296
done
10297
IFS=$as_save_IFS
10298
10299
fi
10300
fi
10301
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
10302
if test -n "$ac_ct_OTOOL64"; then
10303
  { echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
10304
echo "${ECHO_T}$ac_ct_OTOOL64" >&6; }
10305
else
10306
  { echo "$as_me:$LINENO: result: no" >&5
10307
echo "${ECHO_T}no" >&6; }
10308
fi
10309
10310
  if test "x$ac_ct_OTOOL64" = x; then
10311
    OTOOL64=":"
10312
  else
10313
    case $cross_compiling:$ac_tool_warned in
10314
yes:)
10315
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
10316
whose name does not start with the host triplet.  If you think this
10317
configuration is useful to you, please write to autoconf@gnu.org." >&5
10318
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
10319
whose name does not start with the host triplet.  If you think this
10320
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
10321
ac_tool_warned=yes ;;
10322
esac
10323
    OTOOL64=$ac_ct_OTOOL64
10324
  fi
10325
else
10326
  OTOOL64="$ac_cv_prog_OTOOL64"
10327
fi
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
10354
10355
    { echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
10356
echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6; }
10357
if test "${lt_cv_apple_cc_single_mod+set}" = set; then
10358
  echo $ECHO_N "(cached) $ECHO_C" >&6
10359
else
10360
  lt_cv_apple_cc_single_mod=no
10361
      if test -z "${LT_MULTI_MODULE}"; then
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
10362
	# By default we will add the -single_module flag. You can override
10363
	# by either setting the environment variable LT_MULTI_MODULE
10364
	# non-empty at configure time, or by adding -multi_module to the
10365
	# link flags.
10366
	rm -rf libconftest.dylib*
10367
	echo "int foo(void){return 1;}" > conftest.c
10368
	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
10369
-dynamiclib -Wl,-single_module conftest.c" >&5
10370
	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
10371
	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
10372
        _lt_result=$?
10373
	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
10374
	  lt_cv_apple_cc_single_mod=yes
10375
	else
10376
	  cat conftest.err >&5
10377
	fi
10378
	rm -rf libconftest.dylib*
10379
	rm -f conftest.*
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
10380
      fi
10381
fi
10382
{ echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
10383
echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6; }
10384
    { echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
10385
echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6; }
10386
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
10387
  echo $ECHO_N "(cached) $ECHO_C" >&6
10388
else
10389
  lt_cv_ld_exported_symbols_list=no
10390
      save_LDFLAGS=$LDFLAGS
10391
      echo "_main" > conftest.sym
10392
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
10393
      cat >conftest.$ac_ext <<_ACEOF
10394
/* confdefs.h.  */
10395
_ACEOF
10396
cat confdefs.h >>conftest.$ac_ext
10397
cat >>conftest.$ac_ext <<_ACEOF
10398
/* end confdefs.h.  */
10399
10400
int
10401
main ()
10402
{
10403
10404
  ;
10405
  return 0;
10406
}
10407
_ACEOF
10408
rm -f conftest.$ac_objext conftest$ac_exeext
10409
if { (ac_try="$ac_link"
10410
case "(($ac_try" in
10411
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10412
  *) ac_try_echo=$ac_try;;
10413
esac
10414
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10415
  (eval "$ac_link") 2>conftest.er1
10416
  ac_status=$?
10417
  grep -v '^ *+' conftest.er1 >conftest.err
10418
  rm -f conftest.er1
10419
  cat conftest.err >&5
10420
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10421
  (exit $ac_status); } && {
10422
	 test -z "$ac_c_werror_flag" ||
10423
	 test ! -s conftest.err
10424
       } && test -s conftest$ac_exeext &&
10425
       $as_test_x conftest$ac_exeext; then
10426
  lt_cv_ld_exported_symbols_list=yes
10427
else
10428
  echo "$as_me: failed program was:" >&5
10429
sed 's/^/| /' conftest.$ac_ext >&5
10430
10431
	lt_cv_ld_exported_symbols_list=no
10432
fi
10433
10434
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10435
      conftest$ac_exeext conftest.$ac_ext
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
10436
	LDFLAGS="$save_LDFLAGS"
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
10437
10438
fi
10439
{ echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
10440
echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6; }
10441
    case $host_os in
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
10442
    rhapsody* | darwin1.[012])
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
10443
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
10444
    darwin1.*)
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
10445
      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
10446
    darwin*) # darwin 5.x on
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
10447
      # if running on 10.5 or later, the deployment target defaults
10448
      # to the OS version, if on x86, and 10.4, the deployment
10449
      # target defaults to 10.4. Don't you love it?
10450
      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
10451
	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
10452
	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
10453
	10.[012]*)
10454
	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
10455
	10.*)
10456
	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
10457
      esac
10458
    ;;
10459
  esac
10460
    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
10461
      _lt_dar_single_mod='$single_module'
10462
    fi
10463
    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
10464
      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
10465
    else
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
10466
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
10467
    fi
10468
    if test "$DSYMUTIL" != ":"; then
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
10469
      _lt_dsymutil='~$DSYMUTIL $lib || :'
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
10470
    else
10471
      _lt_dsymutil=
10472
    fi
10473
    ;;
10474
  esac
10475
10476
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
10477
for ac_header in dlfcn.h
10478
do
10479
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10480
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
10481
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10482
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10483
  echo $ECHO_N "(cached) $ECHO_C" >&6
10484
else
10485
  cat >conftest.$ac_ext <<_ACEOF
10486
/* confdefs.h.  */
10487
_ACEOF
10488
cat confdefs.h >>conftest.$ac_ext
10489
cat >>conftest.$ac_ext <<_ACEOF
10490
/* end confdefs.h.  */
10491
$ac_includes_default
10492
10493
#include <$ac_header>
10494
_ACEOF
10495
rm -f conftest.$ac_objext
10496
if { (ac_try="$ac_compile"
10497
case "(($ac_try" in
10498
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10499
  *) ac_try_echo=$ac_try;;
10500
esac
10501
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10502
  (eval "$ac_compile") 2>conftest.er1
10503
  ac_status=$?
10504
  grep -v '^ *+' conftest.er1 >conftest.err
10505
  rm -f conftest.er1
10506
  cat conftest.err >&5
10507
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10508
  (exit $ac_status); } && {
10509
	 test -z "$ac_c_werror_flag" ||
10510
	 test ! -s conftest.err
10511
       } && test -s conftest.$ac_objext; then
10512
  eval "$as_ac_Header=yes"
10513
else
10514
  echo "$as_me: failed program was:" >&5
10515
sed 's/^/| /' conftest.$ac_ext >&5
10516
10517
	eval "$as_ac_Header=no"
10518
fi
10519
10520
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10521
fi
10522
ac_res=`eval echo '${'$as_ac_Header'}'`
10523
	       { echo "$as_me:$LINENO: result: $ac_res" >&5
10524
echo "${ECHO_T}$ac_res" >&6; }
10525
if test `eval echo '${'$as_ac_Header'}'` = yes; then
10526
  cat >>confdefs.h <<_ACEOF
10527
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10528
_ACEOF
10529
10530
fi
10531
10532
done
10533
10534
10535
10536
# Set options
10537
10538
10539
10540
        enable_dlopen=no
10541
10542
10543
  enable_win32_dll=no
10544
10545
10546
            # Check whether --enable-shared was given.
10547
if test "${enable_shared+set}" = set; then
10548
  enableval=$enable_shared; p=${PACKAGE-default}
10549
    case $enableval in
10550
    yes) enable_shared=yes ;;
10551
    no) enable_shared=no ;;
10552
    *)
10553
      enable_shared=no
10554
      # Look at the argument we got.  We use all the common list separators.
10555
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10556
      for pkg in $enableval; do
10557
	IFS="$lt_save_ifs"
10558
	if test "X$pkg" = "X$p"; then
10559
	  enable_shared=yes
10560
	fi
10561
      done
10562
      IFS="$lt_save_ifs"
10563
      ;;
10564
    esac
10565
else
10566
  enable_shared=yes
10567
fi
10568
10569
10570
10571
10572
10573
10574
10575
10576
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
10577
10578
10579
# Check whether --with-pic was given.
10580
if test "${with_pic+set}" = set; then
10581
  withval=$with_pic; pic_mode="$withval"
10582
else
10583
  pic_mode=default
10584
fi
10585
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
10586
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
10587
test -z "$pic_mode" && pic_mode=default
10588
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
10589
10590
10591
10592
10593
10594
10595
  # Check whether --enable-fast-install was given.
10596
if test "${enable_fast_install+set}" = set; then
10597
  enableval=$enable_fast_install; p=${PACKAGE-default}
10598
    case $enableval in
10599
    yes) enable_fast_install=yes ;;
10600
    no) enable_fast_install=no ;;
10601
    *)
10602
      enable_fast_install=no
10603
      # Look at the argument we got.  We use all the common list separators.
10604
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10605
      for pkg in $enableval; do
10606
	IFS="$lt_save_ifs"
10607
	if test "X$pkg" = "X$p"; then
10608
	  enable_fast_install=yes
10609
	fi
10610
      done
10611
      IFS="$lt_save_ifs"
10612
      ;;
10613
    esac
10614
else
10615
  enable_fast_install=yes
10616
fi
10617
10618
10619
10620
10621
10622
10623
10624
10625
10626
10627
10628
# This can be used to rebuild libtool when needed
10629
LIBTOOL_DEPS="$ltmain"
10630
10631
# Always use our own libtool.
10632
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
10633
10634
10635
10636
10637
10638
10639
10640
10641
10642
10643
10644
10645
10646
10647
10648
10649
10650
10651
10652
10653
10654
10655
10656
10657
10658
test -z "$LN_S" && LN_S="ln -s"
10659
10660
10661
10662
10663
10664
10665
10666
10667
10668
10669
10670
10671
10672
10673
if test -n "${ZSH_VERSION+set}" ; then
10674
   setopt NO_GLOB_SUBST
10675
fi
10676
10677
{ echo "$as_me:$LINENO: checking for objdir" >&5
10678
echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
10679
if test "${lt_cv_objdir+set}" = set; then
10680
  echo $ECHO_N "(cached) $ECHO_C" >&6
10681
else
10682
  rm -f .libs 2>/dev/null
10683
mkdir .libs 2>/dev/null
10684
if test -d .libs; then
10685
  lt_cv_objdir=.libs
10686
else
10687
  # MS-DOS does not allow filenames that begin with a dot.
10688
  lt_cv_objdir=_libs
10689
fi
10690
rmdir .libs 2>/dev/null
10691
fi
10692
{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
10693
echo "${ECHO_T}$lt_cv_objdir" >&6; }
10694
objdir=$lt_cv_objdir
10695
10696
10697
10698
10699
10700
cat >>confdefs.h <<_ACEOF
10701
#define LT_OBJDIR "$lt_cv_objdir/"
10702
_ACEOF
10703
10704
10705
10706
10707
10708
10709
10710
10711
10712
10713
10714
10715
10716
10717
10718
10719
10720
case $host_os in
10721
aix3*)
10722
  # AIX sometimes has problems with the GCC collect2 program.  For some
10723
  # reason, if we set the COLLECT_NAMES environment variable, the problems
10724
  # vanish in a puff of smoke.
10725
  if test "X${COLLECT_NAMES+set}" != Xset; then
10726
    COLLECT_NAMES=
10727
    export COLLECT_NAMES
10728
  fi
10729
  ;;
10730
esac
10731
10732
# Sed substitution that helps us do robust quoting.  It backslashifies
10733
# metacharacters that are still active within double-quoted strings.
10734
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
10735
10736
# Same as above, but do not quote variable references.
10737
double_quote_subst='s/\(["`\\]\)/\\\1/g'
10738
10739
# Sed substitution to delay expansion of an escaped shell variable in a
10740
# double_quote_subst'ed string.
10741
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
10742
10743
# Sed substitution to delay expansion of an escaped single quote.
10744
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
10745
10746
# Sed substitution to avoid accidental globbing in evaled expressions
10747
no_glob_subst='s/\*/\\\*/g'
10748
10749
# Global variables:
10750
ofile=libtool
10751
can_build_shared=yes
10752
10753
# All known linkers require a `.a' archive for static linking (except MSVC,
10754
# which needs '.lib').
10755
libext=a
10756
10757
with_gnu_ld="$lt_cv_prog_gnu_ld"
10758
10759
old_CC="$CC"
10760
old_CFLAGS="$CFLAGS"
10761
10762
# Set sane defaults for various variables
10763
test -z "$CC" && CC=cc
10764
test -z "$LTCC" && LTCC=$CC
10765
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
10766
test -z "$LD" && LD=ld
10767
test -z "$ac_objext" && ac_objext=o
10768
10769
for cc_temp in $compiler""; do
10770
  case $cc_temp in
10771
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
10772
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
10773
    \-*) ;;
10774
    *) break;;
10775
  esac
10776
done
10777
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
10778
10779
10780
# Only perform the check for file, if the check method requires it
10781
test -z "$MAGIC_CMD" && MAGIC_CMD=file
10782
case $deplibs_check_method in
10783
file_magic*)
10784
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
10785
    { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
10786
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
10787
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
10788
  echo $ECHO_N "(cached) $ECHO_C" >&6
10789
else
10790
  case $MAGIC_CMD in
10791
[\\/*] |  ?:[\\/]*)
10792
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
10793
  ;;
10794
*)
10795
  lt_save_MAGIC_CMD="$MAGIC_CMD"
10796
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10797
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
10798
  for ac_dir in $ac_dummy; do
10799
    IFS="$lt_save_ifs"
10800
    test -z "$ac_dir" && ac_dir=.
10801
    if test -f $ac_dir/${ac_tool_prefix}file; then
10802
      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
10803
      if test -n "$file_magic_test_file"; then
10804
	case $deplibs_check_method in
10805
	"file_magic "*)
10806
	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10807
	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
10808
	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
10809
	    $EGREP "$file_magic_regex" > /dev/null; then
10810
	    :
10811
	  else
10812
	    cat <<_LT_EOF 1>&2
10813
10814
*** Warning: the command libtool uses to detect shared libraries,
10815
*** $file_magic_cmd, produces output that libtool cannot recognize.
10816
*** The result is that libtool may fail to recognize shared libraries
10817
*** as such.  This will affect the creation of libtool libraries that
10818
*** depend on shared libraries, but programs linked with such libtool
10819
*** libraries will work regardless of this problem.  Nevertheless, you
10820
*** may want to report the problem to your system manager and/or to
10821
*** bug-libtool@gnu.org
10822
10823
_LT_EOF
10824
	  fi ;;
10825
	esac
10826
      fi
10827
      break
10828
    fi
10829
  done
10830
  IFS="$lt_save_ifs"
10831
  MAGIC_CMD="$lt_save_MAGIC_CMD"
10832
  ;;
10833
esac
10834
fi
10835
10836
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
10837
if test -n "$MAGIC_CMD"; then
10838
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
10839
echo "${ECHO_T}$MAGIC_CMD" >&6; }
10840
else
10841
  { echo "$as_me:$LINENO: result: no" >&5
10842
echo "${ECHO_T}no" >&6; }
10843
fi
10844
10845
10846
10847
10848
10849
if test -z "$lt_cv_path_MAGIC_CMD"; then
10850
  if test -n "$ac_tool_prefix"; then
10851
    { echo "$as_me:$LINENO: checking for file" >&5
10852
echo $ECHO_N "checking for file... $ECHO_C" >&6; }
10853
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
10854
  echo $ECHO_N "(cached) $ECHO_C" >&6
10855
else
10856
  case $MAGIC_CMD in
10857
[\\/*] |  ?:[\\/]*)
10858
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
10859
  ;;
10860
*)
10861
  lt_save_MAGIC_CMD="$MAGIC_CMD"
10862
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10863
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
10864
  for ac_dir in $ac_dummy; do
10865
    IFS="$lt_save_ifs"
10866
    test -z "$ac_dir" && ac_dir=.
10867
    if test -f $ac_dir/file; then
10868
      lt_cv_path_MAGIC_CMD="$ac_dir/file"
10869
      if test -n "$file_magic_test_file"; then
10870
	case $deplibs_check_method in
10871
	"file_magic "*)
10872
	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10873
	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
10874
	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
10875
	    $EGREP "$file_magic_regex" > /dev/null; then
10876
	    :
10877
	  else
10878
	    cat <<_LT_EOF 1>&2
10879
10880
*** Warning: the command libtool uses to detect shared libraries,
10881
*** $file_magic_cmd, produces output that libtool cannot recognize.
10882
*** The result is that libtool may fail to recognize shared libraries
10883
*** as such.  This will affect the creation of libtool libraries that
10884
*** depend on shared libraries, but programs linked with such libtool
10885
*** libraries will work regardless of this problem.  Nevertheless, you
10886
*** may want to report the problem to your system manager and/or to
10887
*** bug-libtool@gnu.org
10888
10889
_LT_EOF
10890
	  fi ;;
10891
	esac
10892
      fi
10893
      break
10894
    fi
10895
  done
10896
  IFS="$lt_save_ifs"
10897
  MAGIC_CMD="$lt_save_MAGIC_CMD"
10898
  ;;
10899
esac
10900
fi
10901
10902
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
10903
if test -n "$MAGIC_CMD"; then
10904
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
10905
echo "${ECHO_T}$MAGIC_CMD" >&6; }
10906
else
10907
  { echo "$as_me:$LINENO: result: no" >&5
10908
echo "${ECHO_T}no" >&6; }
10909
fi
10910
10911
10912
  else
10913
    MAGIC_CMD=:
10914
  fi
10915
fi
10916
10917
  fi
10918
  ;;
10919
esac
10920
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
10921
# Use C for the default configuration in the libtool script
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
10922
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
10923
lt_save_CC="$CC"
10924
ac_ext=c
10925
ac_cpp='$CPP $CPPFLAGS'
10926
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10927
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10928
ac_compiler_gnu=$ac_cv_c_compiler_gnu
10929
10930
10931
# Source file extension for C test sources.
10932
ac_ext=c
10933
10934
# Object file extension for compiled C test sources.
10935
objext=o
10936
objext=$objext
10937
10938
# Code to be used in simple compile tests
10939
lt_simple_compile_test_code="int some_variable = 0;"
10940
10941
# Code to be used in simple link tests
10942
lt_simple_link_test_code='int main(){return(0);}'
10943
10944
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
10945
10946
10947
10948
10949
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
10950
# If no C compiler was specified, use CC.
10951
LTCC=${LTCC-"$CC"}
10952
10953
# If no C compiler flags were specified, use CFLAGS.
10954
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10955
10956
# Allow CC to be a program name with arguments.
10957
compiler=$CC
10958
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
10959
# Save the default compiler, since it gets overwritten when the other
10960
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
10961
compiler_DEFAULT=$CC
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
10962
10963
# save warnings/boilerplate of simple test code
10964
ac_outfile=conftest.$ac_objext
10965
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
10966
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10967
_lt_compiler_boilerplate=`cat conftest.err`
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
10968
$RM conftest*
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
10969
10970
ac_outfile=conftest.$ac_objext
10971
echo "$lt_simple_link_test_code" >conftest.$ac_ext
10972
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10973
_lt_linker_boilerplate=`cat conftest.err`
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
10974
$RM -r conftest*
10975
10976
10977
if test -n "$compiler"; then
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
10978
10979
lt_prog_compiler_no_builtin_flag=
10980
10981
if test "$GCC" = yes; then
10982
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
10983
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
10984
  { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
10985
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
10986
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
10987
  echo $ECHO_N "(cached) $ECHO_C" >&6
10988
else
10989
  lt_cv_prog_compiler_rtti_exceptions=no
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
10990
   ac_outfile=conftest.$ac_objext
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
10991
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10992
   lt_compiler_flag="-fno-rtti -fno-exceptions"
10993
   # Insert the option either (1) after the last *FLAGS variable, or
10994
   # (2) before a word containing "conftest.", or (3) at the end.
10995
   # Note that $ac_compile itself does not contain backslashes and begins
10996
   # with a dollar sign (not a hyphen), so the echo should work correctly.
10997
   # The option is referenced via a variable to avoid confusing sed.
10998
   lt_compile=`echo "$ac_compile" | $SED \
10999
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11000
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11001
   -e 's:$: $lt_compiler_flag:'`
1.1.5 by Christopher James Halse Rogers
Import upstream version 0.8.0
11002
   (eval echo "\"\$as_me:11002: $lt_compile\"" >&5)
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
11003
   (eval "$lt_compile" 2>conftest.err)
11004
   ac_status=$?
11005
   cat conftest.err >&5
1.1.5 by Christopher James Halse Rogers
Import upstream version 0.8.0
11006
   echo "$as_me:11006: \$? = $ac_status" >&5
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
11007
   if (exit $ac_status) && test -s "$ac_outfile"; then
11008
     # The compiler can only warn and ignore the option if not recognized
11009
     # So say no if there are warnings other than the usual output.
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
11010
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
11011
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11012
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
11013
       lt_cv_prog_compiler_rtti_exceptions=yes
11014
     fi
11015
   fi
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
11016
   $RM conftest*
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
11017
11018
fi
11019
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
11020
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
11021
11022
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
11023
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
11024
else
11025
    :
11026
fi
11027
11028
fi
11029
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
11030
11031
11032
11033
11034
11035
  lt_prog_compiler_wl=
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
11036
lt_prog_compiler_pic=
11037
lt_prog_compiler_static=
11038
11039
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
11040
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
11041
11042
  if test "$GCC" = yes; then
11043
    lt_prog_compiler_wl='-Wl,'
11044
    lt_prog_compiler_static='-static'
11045
11046
    case $host_os in
11047
      aix*)
11048
      # All AIX code is PIC.
11049
      if test "$host_cpu" = ia64; then
11050
	# AIX 5 now supports IA64 processor
11051
	lt_prog_compiler_static='-Bstatic'
11052
      fi
11053
      ;;
11054
11055
    amigaos*)
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
11056
      case $host_cpu in
11057
      powerpc)
11058
            # see comment about AmigaOS4 .so support
11059
            lt_prog_compiler_pic='-fPIC'
11060
        ;;
11061
      m68k)
11062
            # FIXME: we need at least 68020 code to build shared libraries, but
11063
            # adding the `-m68020' flag to GCC prevents building anything better,
11064
            # like `-m68040'.
11065
            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
11066
        ;;
11067
      esac
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
11068
      ;;
11069
11070
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
11071
      # PIC is the default for these OSes.
11072
      ;;
11073
1.1.5 by Christopher James Halse Rogers
Import upstream version 0.8.0
11074
    mingw* | cygwin* | pw32* | os2* | cegcc*)
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
11075
      # This hack is so that the source file can tell whether it is being
11076
      # built for inclusion in a dll (and should export symbols for example).
11077
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
11078
      # (--disable-auto-import) libraries
11079
      lt_prog_compiler_pic='-DDLL_EXPORT'
11080
      ;;
11081
11082
    darwin* | rhapsody*)
11083
      # PIC is the default on this platform
11084
      # Common symbols not allowed in MH_DYLIB files
11085
      lt_prog_compiler_pic='-fno-common'
11086
      ;;
11087
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
11088
    hpux*)
1.1.5 by Christopher James Halse Rogers
Import upstream version 0.8.0
11089
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
11090
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
11091
      # sets the default TLS model and affects inlining.
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
11092
      case $host_cpu in
1.1.5 by Christopher James Halse Rogers
Import upstream version 0.8.0
11093
      hppa*64*)
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
11094
	# +Z the default
11095
	;;
11096
      *)
11097
	lt_prog_compiler_pic='-fPIC'
11098
	;;
11099
      esac
11100
      ;;
11101
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
11102
    interix[3-9]*)
11103
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
11104
      # Instead, we relocate shared libraries at runtime.
11105
      ;;
11106
11107
    msdosdjgpp*)
11108
      # Just because we use GCC doesn't mean we suddenly get shared libraries
11109
      # on systems that don't support them.
11110
      lt_prog_compiler_can_build_shared=no
11111
      enable_shared=no
11112
      ;;
11113
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
11114
    *nto* | *qnx*)
11115
      # QNX uses GNU C++, but need to define -shared option too, otherwise
11116
      # it will coredump.
11117
      lt_prog_compiler_pic='-fPIC -shared'
11118
      ;;
11119
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
11120
    sysv4*MP*)
11121
      if test -d /usr/nec; then
11122
	lt_prog_compiler_pic=-Kconform_pic
11123
      fi
11124
      ;;
11125
11126
    *)
11127
      lt_prog_compiler_pic='-fPIC'
11128
      ;;
11129
    esac
11130
  else
11131
    # PORTME Check for flag to pass linker flags through the system compiler.
11132
    case $host_os in
11133
    aix*)
11134
      lt_prog_compiler_wl='-Wl,'
11135
      if test "$host_cpu" = ia64; then
11136
	# AIX 5 now supports IA64 processor
11137
	lt_prog_compiler_static='-Bstatic'
11138
      else
11139
	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
11140
      fi
11141
      ;;
11142
1.1.5 by Christopher James Halse Rogers
Import upstream version 0.8.0
11143
    mingw* | cygwin* | pw32* | os2* | cegcc*)
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
11144
      # This hack is so that the source file can tell whether it is being
11145
      # built for inclusion in a dll (and should export symbols for example).
11146
      lt_prog_compiler_pic='-DDLL_EXPORT'
11147
      ;;
11148
11149
    hpux9* | hpux10* | hpux11*)
11150
      lt_prog_compiler_wl='-Wl,'
11151
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11152
      # not for PA HP-UX.
11153
      case $host_cpu in
11154
      hppa*64*|ia64*)
11155
	# +Z the default
11156
	;;
11157
      *)
11158
	lt_prog_compiler_pic='+Z'
11159
	;;
11160
      esac
11161
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
11162
      lt_prog_compiler_static='${wl}-a ${wl}archive'
11163
      ;;
11164
11165
    irix5* | irix6* | nonstopux*)
11166
      lt_prog_compiler_wl='-Wl,'
11167
      # PIC (with -KPIC) is the default.
11168
      lt_prog_compiler_static='-non_shared'
11169
      ;;
11170
11171
    linux* | k*bsd*-gnu)
11172
      case $cc_basename in
1.1.5 by Christopher James Halse Rogers
Import upstream version 0.8.0
11173
      # old Intel for x86_64 which still supported -KPIC.
11174
      ecc*)
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
11175
	lt_prog_compiler_wl='-Wl,'
11176
	lt_prog_compiler_pic='-KPIC'
11177
	lt_prog_compiler_static='-static'
11178
        ;;
1.1.5 by Christopher James Halse Rogers
Import upstream version 0.8.0
11179
      # icc used to be incompatible with GCC.
11180
      # ICC 10 doesn't accept -KPIC any more.
11181
      icc* | ifort*)
11182
	lt_prog_compiler_wl='-Wl,'
11183
	lt_prog_compiler_pic='-fPIC'
11184
	lt_prog_compiler_static='-static'
11185
        ;;
11186
      # Lahey Fortran 8.1.
11187
      lf95*)
11188
	lt_prog_compiler_wl='-Wl,'
11189
	lt_prog_compiler_pic='--shared'
11190
	lt_prog_compiler_static='--static'
11191
	;;
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
11192
      pgcc* | pgf77* | pgf90* | pgf95*)
11193
        # Portland Group compilers (*not* the Pentium gcc compiler,
11194
	# which looks to be a dead project)
11195
	lt_prog_compiler_wl='-Wl,'
11196
	lt_prog_compiler_pic='-fpic'
11197
	lt_prog_compiler_static='-Bstatic'
11198
        ;;
11199
      ccc*)
11200
        lt_prog_compiler_wl='-Wl,'
11201
        # All Alpha code is PIC.
11202
        lt_prog_compiler_static='-non_shared'
11203
        ;;
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
11204
      xl*)
11205
	# IBM XL C 8.0/Fortran 10.1 on PPC
11206
	lt_prog_compiler_wl='-Wl,'
11207
	lt_prog_compiler_pic='-qpic'
11208
	lt_prog_compiler_static='-qstaticlink'
11209
	;;
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
11210
      *)
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
11211
	case `$CC -V 2>&1 | sed 5q` in
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
11212
	*Sun\ C*)
11213
	  # Sun C 5.9
11214
	  lt_prog_compiler_pic='-KPIC'
11215
	  lt_prog_compiler_static='-Bstatic'
11216
	  lt_prog_compiler_wl='-Wl,'
11217
	  ;;
11218
	*Sun\ F*)
11219
	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
11220
	  lt_prog_compiler_pic='-KPIC'
11221
	  lt_prog_compiler_static='-Bstatic'
11222
	  lt_prog_compiler_wl=''
11223
	  ;;
11224
	esac
11225
	;;
11226
      esac
11227
      ;;
11228
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
11229
    newsos6)
11230
      lt_prog_compiler_pic='-KPIC'
11231
      lt_prog_compiler_static='-Bstatic'
11232
      ;;
11233
11234
    *nto* | *qnx*)
11235
      # QNX uses GNU C++, but need to define -shared option too, otherwise
11236
      # it will coredump.
11237
      lt_prog_compiler_pic='-fPIC -shared'
11238
      ;;
11239
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
11240
    osf3* | osf4* | osf5*)
11241
      lt_prog_compiler_wl='-Wl,'
11242
      # All OSF/1 code is PIC.
11243
      lt_prog_compiler_static='-non_shared'
11244
      ;;
11245
11246
    rdos*)
11247
      lt_prog_compiler_static='-non_shared'
11248
      ;;
11249
11250
    solaris*)
11251
      lt_prog_compiler_pic='-KPIC'
11252
      lt_prog_compiler_static='-Bstatic'
11253
      case $cc_basename in
11254
      f77* | f90* | f95*)
11255
	lt_prog_compiler_wl='-Qoption ld ';;
11256
      *)
11257
	lt_prog_compiler_wl='-Wl,';;
11258
      esac
11259
      ;;
11260
11261
    sunos4*)
11262
      lt_prog_compiler_wl='-Qoption ld '
11263
      lt_prog_compiler_pic='-PIC'
11264
      lt_prog_compiler_static='-Bstatic'
11265
      ;;
11266
11267
    sysv4 | sysv4.2uw2* | sysv4.3*)
11268
      lt_prog_compiler_wl='-Wl,'
11269
      lt_prog_compiler_pic='-KPIC'
11270
      lt_prog_compiler_static='-Bstatic'
11271
      ;;
11272
11273
    sysv4*MP*)
11274
      if test -d /usr/nec ;then
11275
	lt_prog_compiler_pic='-Kconform_pic'
11276
	lt_prog_compiler_static='-Bstatic'
11277
      fi
11278
      ;;
11279
11280
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
11281
      lt_prog_compiler_wl='-Wl,'
11282
      lt_prog_compiler_pic='-KPIC'
11283
      lt_prog_compiler_static='-Bstatic'
11284
      ;;
11285
11286
    unicos*)
11287
      lt_prog_compiler_wl='-Wl,'
11288
      lt_prog_compiler_can_build_shared=no
11289
      ;;
11290
11291
    uts4*)
11292
      lt_prog_compiler_pic='-pic'
11293
      lt_prog_compiler_static='-Bstatic'
11294
      ;;
11295
11296
    *)
11297
      lt_prog_compiler_can_build_shared=no
11298
      ;;
11299
    esac
11300
  fi
11301
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
11302
case $host_os in
11303
  # For platforms which do not support PIC, -DPIC is meaningless:
11304
  *djgpp*)
11305
    lt_prog_compiler_pic=
11306
    ;;
11307
  *)
11308
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
11309
    ;;
11310
esac
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
11311
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
11312
echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
11313
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
11314
11315
11316
11317
11318
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
11319
#
11320
# Check to make sure the PIC flag actually works.
11321
#
11322
if test -n "$lt_prog_compiler_pic"; then
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
11323
  { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
11324
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
11325
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
11326
  echo $ECHO_N "(cached) $ECHO_C" >&6
11327
else
11328
  lt_cv_prog_compiler_pic_works=no
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
11329
   ac_outfile=conftest.$ac_objext
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
11330
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11331
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
11332
   # Insert the option either (1) after the last *FLAGS variable, or
11333
   # (2) before a word containing "conftest.", or (3) at the end.
11334
   # Note that $ac_compile itself does not contain backslashes and begins
11335
   # with a dollar sign (not a hyphen), so the echo should work correctly.
11336
   # The option is referenced via a variable to avoid confusing sed.
11337
   lt_compile=`echo "$ac_compile" | $SED \
11338
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11339
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11340
   -e 's:$: $lt_compiler_flag:'`
1.1.5 by Christopher James Halse Rogers
Import upstream version 0.8.0
11341
   (eval echo "\"\$as_me:11341: $lt_compile\"" >&5)
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
11342
   (eval "$lt_compile" 2>conftest.err)
11343
   ac_status=$?
11344
   cat conftest.err >&5
1.1.5 by Christopher James Halse Rogers
Import upstream version 0.8.0
11345
   echo "$as_me:11345: \$? = $ac_status" >&5
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
11346
   if (exit $ac_status) && test -s "$ac_outfile"; then
11347
     # The compiler can only warn and ignore the option if not recognized
11348
     # So say no if there are warnings other than the usual output.
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
11349
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
11350
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11351
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
11352
       lt_cv_prog_compiler_pic_works=yes
11353
     fi
11354
   fi
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
11355
   $RM conftest*
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
11356
11357
fi
11358
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
11359
echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6; }
11360
11361
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
11362
    case $lt_prog_compiler_pic in
11363
     "" | " "*) ;;
11364
     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
11365
     esac
11366
else
11367
    lt_prog_compiler_pic=
11368
     lt_prog_compiler_can_build_shared=no
11369
fi
11370
11371
fi
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
11372
11373
11374
11375
11376
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
11377
11378
#
11379
# Check to make sure the static flag actually works.
11380
#
11381
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
11382
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11383
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
11384
if test "${lt_cv_prog_compiler_static_works+set}" = set; then
11385
  echo $ECHO_N "(cached) $ECHO_C" >&6
11386
else
11387
  lt_cv_prog_compiler_static_works=no
11388
   save_LDFLAGS="$LDFLAGS"
11389
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
11390
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
11391
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11392
     # The linker can only warn and ignore the option if not recognized
11393
     # So say no if there are warnings
11394
     if test -s conftest.err; then
11395
       # Append any errors to the config.log.
11396
       cat conftest.err 1>&5
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
11397
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
11398
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11399
       if diff conftest.exp conftest.er2 >/dev/null; then
11400
         lt_cv_prog_compiler_static_works=yes
11401
       fi
11402
     else
11403
       lt_cv_prog_compiler_static_works=yes
11404
     fi
11405
   fi
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
11406
   $RM -r conftest*
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
11407
   LDFLAGS="$save_LDFLAGS"
11408
11409
fi
11410
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
11411
echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6; }
11412
11413
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
11414
    :
11415
else
11416
    lt_prog_compiler_static=
11417
fi
11418
11419
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
11420
11421
11422
11423
11424
11425
  { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
11426
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
11427
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
11428
  echo $ECHO_N "(cached) $ECHO_C" >&6
11429
else
11430
  lt_cv_prog_compiler_c_o=no
11431
   $RM -r conftest 2>/dev/null
11432
   mkdir conftest
11433
   cd conftest
11434
   mkdir out
11435
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11436
11437
   lt_compiler_flag="-o out/conftest2.$ac_objext"
11438
   # Insert the option either (1) after the last *FLAGS variable, or
11439
   # (2) before a word containing "conftest.", or (3) at the end.
11440
   # Note that $ac_compile itself does not contain backslashes and begins
11441
   # with a dollar sign (not a hyphen), so the echo should work correctly.
11442
   lt_compile=`echo "$ac_compile" | $SED \
11443
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11444
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11445
   -e 's:$: $lt_compiler_flag:'`
1.1.5 by Christopher James Halse Rogers
Import upstream version 0.8.0
11446
   (eval echo "\"\$as_me:11446: $lt_compile\"" >&5)
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
11447
   (eval "$lt_compile" 2>out/conftest.err)
11448
   ac_status=$?
11449
   cat out/conftest.err >&5
1.1.5 by Christopher James Halse Rogers
Import upstream version 0.8.0
11450
   echo "$as_me:11450: \$? = $ac_status" >&5
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
11451
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
11452
   then
11453
     # The compiler can only warn and ignore the option if not recognized
11454
     # So say no if there are warnings
11455
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
11456
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
11457
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11458
       lt_cv_prog_compiler_c_o=yes
11459
     fi
11460
   fi
11461
   chmod u+w . 2>&5
11462
   $RM conftest*
11463
   # SGI C++ compiler will create directory out/ii_files/ for
11464
   # template instantiation
11465
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
11466
   $RM out/* && rmdir out
11467
   cd ..
11468
   $RM -r conftest
11469
   $RM conftest*
11470
11471
fi
11472
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
11473
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
11474
11475
11476
11477
11478
11479
11480
  { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
11481
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
11482
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
11483
  echo $ECHO_N "(cached) $ECHO_C" >&6
11484
else
11485
  lt_cv_prog_compiler_c_o=no
11486
   $RM -r conftest 2>/dev/null
11487
   mkdir conftest
11488
   cd conftest
11489
   mkdir out
11490
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11491
11492
   lt_compiler_flag="-o out/conftest2.$ac_objext"
11493
   # Insert the option either (1) after the last *FLAGS variable, or
11494
   # (2) before a word containing "conftest.", or (3) at the end.
11495
   # Note that $ac_compile itself does not contain backslashes and begins
11496
   # with a dollar sign (not a hyphen), so the echo should work correctly.
11497
   lt_compile=`echo "$ac_compile" | $SED \
11498
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11499
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11500
   -e 's:$: $lt_compiler_flag:'`
1.1.5 by Christopher James Halse Rogers
Import upstream version 0.8.0
11501
   (eval echo "\"\$as_me:11501: $lt_compile\"" >&5)
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
11502
   (eval "$lt_compile" 2>out/conftest.err)
11503
   ac_status=$?
11504
   cat out/conftest.err >&5
1.1.5 by Christopher James Halse Rogers
Import upstream version 0.8.0
11505
   echo "$as_me:11505: \$? = $ac_status" >&5
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
11506
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
11507
   then
11508
     # The compiler can only warn and ignore the option if not recognized
11509
     # So say no if there are warnings
11510
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
11511
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
11512
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11513
       lt_cv_prog_compiler_c_o=yes
11514
     fi
11515
   fi
11516
   chmod u+w . 2>&5
11517
   $RM conftest*
11518
   # SGI C++ compiler will create directory out/ii_files/ for
11519
   # template instantiation
11520
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
11521
   $RM out/* && rmdir out
11522
   cd ..
11523
   $RM -r conftest
11524
   $RM conftest*
11525
11526
fi
11527
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
11528
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
11529
11530
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
11531
11532
11533
hard_links="nottested"
11534
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
11535
  # do not overwrite the value of need_locks provided by the user
11536
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
11537
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
11538
  hard_links=yes
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
11539
  $RM conftest*
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
11540
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
11541
  touch conftest.a
11542
  ln conftest.a conftest.b 2>&5 || hard_links=no
11543
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
11544
  { echo "$as_me:$LINENO: result: $hard_links" >&5
11545
echo "${ECHO_T}$hard_links" >&6; }
11546
  if test "$hard_links" = no; then
11547
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
11548
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
11549
    need_locks=warn
11550
  fi
11551
else
11552
  need_locks=no
11553
fi
11554
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
11555
11556
11557
11558
11559
11560
  { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
11561
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
11562
11563
  runpath_var=
11564
  allow_undefined_flag=
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
11565
  always_export_symbols=no
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
11566
  archive_cmds=
11567
  archive_expsym_cmds=
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
11568
  compiler_needs_object=no
11569
  enable_shared_with_static_runtimes=no
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
11570
  export_dynamic_flag_spec=
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
11571
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11572
  hardcode_automatic=no
11573
  hardcode_direct=no
11574
  hardcode_direct_absolute=no
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
11575
  hardcode_libdir_flag_spec=
11576
  hardcode_libdir_flag_spec_ld=
11577
  hardcode_libdir_separator=
11578
  hardcode_minus_L=no
11579
  hardcode_shlibpath_var=unsupported
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
11580
  inherit_rpath=no
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
11581
  link_all_deplibs=unknown
11582
  module_cmds=
11583
  module_expsym_cmds=
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
11584
  old_archive_from_new_cmds=
11585
  old_archive_from_expsyms_cmds=
11586
  thread_safe_flag_spec=
11587
  whole_archive_flag_spec=
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
11588
  # include_expsyms should be a list of space-separated symbols to be *always*
11589
  # included in the symbol list
11590
  include_expsyms=
11591
  # exclude_expsyms can be an extended regexp of symbols to exclude
11592
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
11593
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
11594
  # as well as any symbol that contains `d'.
11595
  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
11596
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
11597
  # platforms (ab)use it in PIC code, but their linkers get confused if
11598
  # the symbol is explicitly referenced.  Since portable code cannot
11599
  # rely on this symbol name, it's probably fine to never include it in
11600
  # preloaded symbol tables.
11601
  # Exclude shared library initialization/finalization symbols.
11602
  extract_expsyms_cmds=
11603
11604
  case $host_os in
1.1.5 by Christopher James Halse Rogers
Import upstream version 0.8.0
11605
  cygwin* | mingw* | pw32* | cegcc*)
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
11606
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
11607
    # When not using gcc, we currently assume that we are using
11608
    # Microsoft Visual C++.
11609
    if test "$GCC" != yes; then
11610
      with_gnu_ld=no
11611
    fi
11612
    ;;
11613
  interix*)
11614
    # we just hope/assume this is gcc and not c89 (= MSVC++)
11615
    with_gnu_ld=yes
11616
    ;;
11617
  openbsd*)
11618
    with_gnu_ld=no
11619
    ;;
11620
  esac
11621
11622
  ld_shlibs=yes
11623
  if test "$with_gnu_ld" = yes; then
11624
    # If archive_cmds runs LD, not CC, wlarc should be empty
11625
    wlarc='${wl}'
11626
11627
    # Set some defaults for GNU ld with shared library support. These
11628
    # are reset later if shared libraries are not supported. Putting them
11629
    # here allows them to be overridden if necessary.
11630
    runpath_var=LD_RUN_PATH
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
11631
    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
11632
    export_dynamic_flag_spec='${wl}--export-dynamic'
11633
    # ancient GNU ld didn't support --whole-archive et. al.
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
11634
    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
11635
      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11636
    else
11637
      whole_archive_flag_spec=
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
11638
    fi
11639
    supports_anon_versioning=no
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
11640
    case `$LD -v 2>&1` in
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
11641
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
11642
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
11643
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
11644
      *\ 2.11.*) ;; # other 2.11 versions
11645
      *) supports_anon_versioning=yes ;;
11646
    esac
11647
11648
    # See if GNU ld supports shared libraries.
11649
    case $host_os in
11650
    aix[3-9]*)
11651
      # On AIX/PPC, the GNU linker is very broken
11652
      if test "$host_cpu" != ia64; then
11653
	ld_shlibs=no
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
11654
	cat <<_LT_EOF 1>&2
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
11655
11656
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
11657
*** to be unable to reliably create shared libraries on AIX.
11658
*** Therefore, libtool is disabling shared libraries support.  If you
11659
*** really care for shared libraries, you may want to modify your PATH
11660
*** so that a non-GNU linker is found, and then restart.
11661
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
11662
_LT_EOF
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
11663
      fi
11664
      ;;
11665
11666
    amigaos*)
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
11667
      case $host_cpu in
11668
      powerpc)
11669
            # see comment about AmigaOS4 .so support
11670
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11671
            archive_expsym_cmds=''
11672
        ;;
11673
      m68k)
11674
            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)'
11675
            hardcode_libdir_flag_spec='-L$libdir'
11676
            hardcode_minus_L=yes
11677
        ;;
11678
      esac
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
11679
      ;;
11680
11681
    beos*)
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
11682
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
11683
	allow_undefined_flag=unsupported
11684
	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11685
	# support --undefined.  This deserves some investigation.  FIXME
11686
	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11687
      else
11688
	ld_shlibs=no
11689
      fi
11690
      ;;
11691
1.1.5 by Christopher James Halse Rogers
Import upstream version 0.8.0
11692
    cygwin* | mingw* | pw32* | cegcc*)
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
11693
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
11694
      # as there is no search path for DLLs.
11695
      hardcode_libdir_flag_spec='-L$libdir'
11696
      allow_undefined_flag=unsupported
11697
      always_export_symbols=no
11698
      enable_shared_with_static_runtimes=yes
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
11699
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
11700
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
11701
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
11702
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11703
	# If the export-symbols file already is a .def file (1st line
11704
	# is EXPORTS), use it as is; otherwise, prepend...
11705
	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11706
	  cp $export_symbols $output_objdir/$soname.def;
11707
	else
11708
	  echo EXPORTS > $output_objdir/$soname.def;
11709
	  cat $export_symbols >> $output_objdir/$soname.def;
11710
	fi~
11711
	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11712
      else
11713
	ld_shlibs=no
11714
      fi
11715
      ;;
11716
11717
    interix[3-9]*)
11718
      hardcode_direct=no
11719
      hardcode_shlibpath_var=no
11720
      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11721
      export_dynamic_flag_spec='${wl}-E'
11722
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11723
      # Instead, shared libraries are loaded at an image base (0x10000000 by
11724
      # default) and relocated if they conflict, which is a slow very memory
11725
      # consuming and fragmenting process.  To avoid this, we pick a random,
11726
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11727
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
11728
      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11729
      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'
11730
      ;;
11731
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
11732
    gnu* | linux* | tpf* | k*bsd*-gnu)
11733
      tmp_diet=no
11734
      if test "$host_os" = linux-dietlibc; then
11735
	case $cc_basename in
11736
	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
11737
	esac
11738
      fi
11739
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
11740
	 && test "$tmp_diet" = no
11741
      then
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
11742
	tmp_addflag=
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
11743
	tmp_sharedflag='-shared'
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
11744
	case $cc_basename,$host_cpu in
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
11745
        pgcc*)				# Portland Group C compiler
11746
	  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.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
11747
	  tmp_addflag=' $pic_flag'
11748
	  ;;
11749
	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
11750
	  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.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
11751
	  tmp_addflag=' $pic_flag -Mnomain' ;;
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
11752
	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
11753
	  tmp_addflag=' -i_dynamic' ;;
11754
	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
11755
	  tmp_addflag=' -i_dynamic -nofor_main' ;;
11756
	ifc* | ifort*)			# Intel Fortran compiler
11757
	  tmp_addflag=' -nofor_main' ;;
1.1.5 by Christopher James Halse Rogers
Import upstream version 0.8.0
11758
	lf95*)				# Lahey Fortran 8.1
11759
	  whole_archive_flag_spec=
11760
	  tmp_sharedflag='--shared' ;;
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
11761
	xl[cC]*)			# IBM XL C 8.0 on PPC (deal with xlf below)
11762
	  tmp_sharedflag='-qmkshrobj'
11763
	  tmp_addflag= ;;
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
11764
	esac
11765
	case `$CC -V 2>&1 | sed 5q` in
11766
	*Sun\ C*)			# Sun C 5.9
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
11767
	  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'
11768
	  compiler_needs_object=yes
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
11769
	  tmp_sharedflag='-G' ;;
11770
	*Sun\ F*)			# Sun Fortran 8.3
11771
	  tmp_sharedflag='-G' ;;
11772
	esac
11773
	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11774
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
11775
        if test "x$supports_anon_versioning" = xyes; then
11776
          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
11777
	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11778
	    echo "local: *; };" >> $output_objdir/$libname.ver~
11779
	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
11780
        fi
11781
11782
	case $cc_basename in
11783
	xlf*)
11784
	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
11785
	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
11786
	  hardcode_libdir_flag_spec=
11787
	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
11788
	  archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
11789
	  if test "x$supports_anon_versioning" = xyes; then
11790
	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
11791
	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11792
	      echo "local: *; };" >> $output_objdir/$libname.ver~
11793
	      $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
11794
	  fi
11795
	  ;;
11796
	esac
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
11797
      else
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
11798
        ld_shlibs=no
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
11799
      fi
11800
      ;;
11801
11802
    netbsd* | netbsdelf*-gnu)
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
11803
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
11804
	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
11805
	wlarc=
11806
      else
11807
	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11808
	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11809
      fi
11810
      ;;
11811
11812
    solaris*)
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
11813
      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
11814
	ld_shlibs=no
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
11815
	cat <<_LT_EOF 1>&2
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
11816
11817
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
11818
*** create shared libraries on Solaris systems.  Therefore, libtool
11819
*** is disabling shared libraries support.  We urge you to upgrade GNU
11820
*** binutils to release 2.9.1 or newer.  Another option is to modify
11821
*** your PATH or compiler configuration so that the native linker is
11822
*** used, and then restart.
11823
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
11824
_LT_EOF
11825
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
11826
	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11827
	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11828
      else
11829
	ld_shlibs=no
11830
      fi
11831
      ;;
11832
11833
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
11834
      case `$LD -v 2>&1` in
11835
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
11836
	ld_shlibs=no
11837
	cat <<_LT_EOF 1>&2
11838
11839
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
11840
*** reliably create shared libraries on SCO systems.  Therefore, libtool
11841
*** is disabling shared libraries support.  We urge you to upgrade GNU
11842
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
11843
*** your PATH or compiler configuration so that the native linker is
11844
*** used, and then restart.
11845
11846
_LT_EOF
11847
	;;
11848
	*)
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
11849
	  # For security reasons, it is highly recommended that you always
11850
	  # use absolute paths for naming shared libraries, and exclude the
11851
	  # DT_RUNPATH tag from executables and libraries.  But doing so
11852
	  # requires that you compile everything twice, which is a pain.
11853
	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11854
	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11855
	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11856
	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
11857
	  else
11858
	    ld_shlibs=no
11859
	  fi
11860
	;;
11861
      esac
11862
      ;;
11863
11864
    sunos4*)
11865
      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11866
      wlarc=
11867
      hardcode_direct=yes
11868
      hardcode_shlibpath_var=no
11869
      ;;
11870
11871
    *)
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
11872
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
11873
	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11874
	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11875
      else
11876
	ld_shlibs=no
11877
      fi
11878
      ;;
11879
    esac
11880
11881
    if test "$ld_shlibs" = no; then
11882
      runpath_var=
11883
      hardcode_libdir_flag_spec=
11884
      export_dynamic_flag_spec=
11885
      whole_archive_flag_spec=
11886
    fi
11887
  else
11888
    # PORTME fill in a description of your system's linker (not GNU ld)
11889
    case $host_os in
11890
    aix3*)
11891
      allow_undefined_flag=unsupported
11892
      always_export_symbols=yes
11893
      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'
11894
      # Note: this linker hardcodes the directories in LIBPATH if there
11895
      # are no directories specified by -L.
11896
      hardcode_minus_L=yes
11897
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
11898
	# Neither direct hardcoding nor static linking is supported with a
11899
	# broken collect2.
11900
	hardcode_direct=unsupported
11901
      fi
11902
      ;;
11903
11904
    aix[4-9]*)
11905
      if test "$host_cpu" = ia64; then
11906
	# On IA64, the linker does run time linking by default, so we don't
11907
	# have to do anything special.
11908
	aix_use_runtimelinking=no
11909
	exp_sym_flag='-Bexport'
11910
	no_entry_flag=""
11911
      else
11912
	# If we're using GNU nm, then we don't want the "-C" option.
11913
	# -C means demangle to AIX nm, but means don't demangle with GNU nm
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
11914
	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
11915
	  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.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
11916
	else
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
11917
	  export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
11918
	fi
11919
	aix_use_runtimelinking=no
11920
11921
	# Test if we are trying to use run time linking or normal
11922
	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
11923
	# need to do runtime linking.
11924
	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
11925
	  for ld_flag in $LDFLAGS; do
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
11926
	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
11927
	    aix_use_runtimelinking=yes
11928
	    break
11929
	  fi
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
11930
	  done
11931
	  ;;
11932
	esac
11933
11934
	exp_sym_flag='-bexport'
11935
	no_entry_flag='-bnoentry'
11936
      fi
11937
11938
      # When large executables or shared objects are built, AIX ld can
11939
      # have problems creating the table of contents.  If linking a library
11940
      # or program results in "error TOC overflow" add -mminimal-toc to
11941
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
11942
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11943
11944
      archive_cmds=''
11945
      hardcode_direct=yes
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
11946
      hardcode_direct_absolute=yes
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
11947
      hardcode_libdir_separator=':'
11948
      link_all_deplibs=yes
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
11949
      file_list_spec='${wl}-f,'
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
11950
11951
      if test "$GCC" = yes; then
11952
	case $host_os in aix4.[012]|aix4.[012].*)
11953
	# We only want to do this on AIX 4.2 and lower, the check
11954
	# below for broken collect2 doesn't work under 4.3+
11955
	  collect2name=`${CC} -print-prog-name=collect2`
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
11956
	  if test -f "$collect2name" &&
11957
	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
11958
	  then
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
11959
	  # We have reworked collect2
11960
	  :
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
11961
	  else
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
11962
	  # We have old collect2
11963
	  hardcode_direct=unsupported
11964
	  # It fails to find uninstalled libraries when the uninstalled
11965
	  # path is not listed in the libpath.  Setting hardcode_minus_L
11966
	  # to unsupported forces relinking
11967
	  hardcode_minus_L=yes
11968
	  hardcode_libdir_flag_spec='-L$libdir'
11969
	  hardcode_libdir_separator=
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
11970
	  fi
11971
	  ;;
11972
	esac
11973
	shared_flag='-shared'
11974
	if test "$aix_use_runtimelinking" = yes; then
11975
	  shared_flag="$shared_flag "'${wl}-G'
11976
	fi
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
11977
	link_all_deplibs=no
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
11978
      else
11979
	# not using gcc
11980
	if test "$host_cpu" = ia64; then
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
11981
	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11982
	# chokes on -Wl,-G. The following line is correct:
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
11983
	  shared_flag='-G'
11984
	else
11985
	  if test "$aix_use_runtimelinking" = yes; then
11986
	    shared_flag='${wl}-G'
11987
	  else
11988
	    shared_flag='${wl}-bM:SRE'
11989
	  fi
11990
	fi
11991
      fi
11992
1.1.5 by Christopher James Halse Rogers
Import upstream version 0.8.0
11993
      export_dynamic_flag_spec='${wl}-bexpall'
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
11994
      # It seems that -bexpall does not export symbols beginning with
11995
      # underscore (_), so it is better to generate a list of symbols to export.
11996
      always_export_symbols=yes
11997
      if test "$aix_use_runtimelinking" = yes; then
11998
	# Warning - without using the other runtime loading flags (-brtl),
11999
	# -berok will link without error, but may produce a broken library.
12000
	allow_undefined_flag='-berok'
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
12001
        # Determine the default libpath from the value encoded in an
12002
        # empty executable.
12003
        cat >conftest.$ac_ext <<_ACEOF
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
12004
/* confdefs.h.  */
12005
_ACEOF
12006
cat confdefs.h >>conftest.$ac_ext
12007
cat >>conftest.$ac_ext <<_ACEOF
12008
/* end confdefs.h.  */
12009
12010
int
12011
main ()
12012
{
12013
12014
  ;
12015
  return 0;
12016
}
12017
_ACEOF
12018
rm -f conftest.$ac_objext conftest$ac_exeext
12019
if { (ac_try="$ac_link"
12020
case "(($ac_try" in
12021
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12022
  *) ac_try_echo=$ac_try;;
12023
esac
12024
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12025
  (eval "$ac_link") 2>conftest.er1
12026
  ac_status=$?
12027
  grep -v '^ *+' conftest.er1 >conftest.err
12028
  rm -f conftest.er1
12029
  cat conftest.err >&5
12030
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12031
  (exit $ac_status); } && {
12032
	 test -z "$ac_c_werror_flag" ||
12033
	 test ! -s conftest.err
12034
       } && test -s conftest$ac_exeext &&
12035
       $as_test_x conftest$ac_exeext; then
12036
12037
lt_aix_libpath_sed='
12038
    /Import File Strings/,/^$/ {
12039
	/^0/ {
12040
	    s/^0  *\(.*\)$/\1/
12041
	    p
12042
	}
12043
    }'
12044
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12045
# Check for a 64-bit object if we didn't find anything.
12046
if test -z "$aix_libpath"; then
12047
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12048
fi
12049
else
12050
  echo "$as_me: failed program was:" >&5
12051
sed 's/^/| /' conftest.$ac_ext >&5
12052
12053
12054
fi
12055
12056
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12057
      conftest$ac_exeext conftest.$ac_ext
12058
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12059
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
12060
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
12061
        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"
12062
      else
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
12063
	if test "$host_cpu" = ia64; then
12064
	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
12065
	  allow_undefined_flag="-z nodefs"
12066
	  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"
12067
	else
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
12068
	 # Determine the default libpath from the value encoded in an
12069
	 # empty executable.
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
12070
	 cat >conftest.$ac_ext <<_ACEOF
12071
/* confdefs.h.  */
12072
_ACEOF
12073
cat confdefs.h >>conftest.$ac_ext
12074
cat >>conftest.$ac_ext <<_ACEOF
12075
/* end confdefs.h.  */
12076
12077
int
12078
main ()
12079
{
12080
12081
  ;
12082
  return 0;
12083
}
12084
_ACEOF
12085
rm -f conftest.$ac_objext conftest$ac_exeext
12086
if { (ac_try="$ac_link"
12087
case "(($ac_try" in
12088
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12089
  *) ac_try_echo=$ac_try;;
12090
esac
12091
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12092
  (eval "$ac_link") 2>conftest.er1
12093
  ac_status=$?
12094
  grep -v '^ *+' conftest.er1 >conftest.err
12095
  rm -f conftest.er1
12096
  cat conftest.err >&5
12097
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12098
  (exit $ac_status); } && {
12099
	 test -z "$ac_c_werror_flag" ||
12100
	 test ! -s conftest.err
12101
       } && test -s conftest$ac_exeext &&
12102
       $as_test_x conftest$ac_exeext; then
12103
12104
lt_aix_libpath_sed='
12105
    /Import File Strings/,/^$/ {
12106
	/^0/ {
12107
	    s/^0  *\(.*\)$/\1/
12108
	    p
12109
	}
12110
    }'
12111
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12112
# Check for a 64-bit object if we didn't find anything.
12113
if test -z "$aix_libpath"; then
12114
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12115
fi
12116
else
12117
  echo "$as_me: failed program was:" >&5
12118
sed 's/^/| /' conftest.$ac_ext >&5
12119
12120
12121
fi
12122
12123
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12124
      conftest$ac_exeext conftest.$ac_ext
12125
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12126
12127
	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
12128
	  # Warning - without using the other run time loading flags,
12129
	  # -berok will link without error, but may produce a broken library.
12130
	  no_undefined_flag=' ${wl}-bernotok'
12131
	  allow_undefined_flag=' ${wl}-berok'
12132
	  # Exported symbols can be pulled into shared objects from archives
12133
	  whole_archive_flag_spec='$convenience'
12134
	  archive_cmds_need_lc=yes
12135
	  # This is similar to how AIX traditionally builds its shared libraries.
12136
	  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'
12137
	fi
12138
      fi
12139
      ;;
12140
12141
    amigaos*)
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
12142
      case $host_cpu in
12143
      powerpc)
12144
            # see comment about AmigaOS4 .so support
12145
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12146
            archive_expsym_cmds=''
12147
        ;;
12148
      m68k)
12149
            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)'
12150
            hardcode_libdir_flag_spec='-L$libdir'
12151
            hardcode_minus_L=yes
12152
        ;;
12153
      esac
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
12154
      ;;
12155
12156
    bsdi[45]*)
12157
      export_dynamic_flag_spec=-rdynamic
12158
      ;;
12159
1.1.5 by Christopher James Halse Rogers
Import upstream version 0.8.0
12160
    cygwin* | mingw* | pw32* | cegcc*)
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
12161
      # When not using gcc, we currently assume that we are using
12162
      # Microsoft Visual C++.
12163
      # hardcode_libdir_flag_spec is actually meaningless, as there is
12164
      # no search path for DLLs.
12165
      hardcode_libdir_flag_spec=' '
12166
      allow_undefined_flag=unsupported
12167
      # Tell ltmain to make .lib files, not .a files.
12168
      libext=lib
12169
      # Tell ltmain to make .dll files, not .so files.
12170
      shrext_cmds=".dll"
12171
      # FIXME: Setting linknames here is a bad hack.
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
12172
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
12173
      # The linker will automatically build a .lib file if we build a DLL.
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
12174
      old_archive_from_new_cmds='true'
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
12175
      # FIXME: Should let the user specify the lib program.
12176
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
12177
      fix_srcfile_path='`cygpath -w "$srcfile"`'
12178
      enable_shared_with_static_runtimes=yes
12179
      ;;
12180
12181
    darwin* | rhapsody*)
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
12182
12183
12184
  archive_cmds_need_lc=no
12185
  hardcode_direct=no
12186
  hardcode_automatic=yes
12187
  hardcode_shlibpath_var=unsupported
12188
  whole_archive_flag_spec=''
12189
  link_all_deplibs=yes
12190
  allow_undefined_flag="$_lt_dar_allow_undefined"
1.1.5 by Christopher James Halse Rogers
Import upstream version 0.8.0
12191
  case $cc_basename in
12192
     ifort*) _lt_dar_can_shared=yes ;;
12193
     *) _lt_dar_can_shared=$GCC ;;
12194
  esac
12195
  if test "$_lt_dar_can_shared" = "yes"; then
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
12196
    output_verbose_link_cmd=echo
12197
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
12198
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12199
    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}"
12200
    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}"
12201
12202
  else
12203
  ld_shlibs=no
12204
  fi
12205
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
12206
      ;;
12207
12208
    dgux*)
12209
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12210
      hardcode_libdir_flag_spec='-L$libdir'
12211
      hardcode_shlibpath_var=no
12212
      ;;
12213
12214
    freebsd1*)
12215
      ld_shlibs=no
12216
      ;;
12217
12218
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
12219
    # support.  Future versions do this automatically, but an explicit c++rt0.o
12220
    # does not break anything, and helps significantly (at the cost of a little
12221
    # extra space).
12222
    freebsd2.2*)
12223
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
12224
      hardcode_libdir_flag_spec='-R$libdir'
12225
      hardcode_direct=yes
12226
      hardcode_shlibpath_var=no
12227
      ;;
12228
12229
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
12230
    freebsd2*)
12231
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12232
      hardcode_direct=yes
12233
      hardcode_minus_L=yes
12234
      hardcode_shlibpath_var=no
12235
      ;;
12236
12237
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
12238
    freebsd* | dragonfly*)
12239
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
12240
      hardcode_libdir_flag_spec='-R$libdir'
12241
      hardcode_direct=yes
12242
      hardcode_shlibpath_var=no
12243
      ;;
12244
12245
    hpux9*)
12246
      if test "$GCC" = yes; then
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
12247
	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.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
12248
      else
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
12249
	archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
12250
      fi
12251
      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
12252
      hardcode_libdir_separator=:
12253
      hardcode_direct=yes
12254
12255
      # hardcode_minus_L: Not really in the search PATH,
12256
      # but as the default location of the library.
12257
      hardcode_minus_L=yes
12258
      export_dynamic_flag_spec='${wl}-E'
12259
      ;;
12260
12261
    hpux10*)
12262
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
12263
	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12264
      else
12265
	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12266
      fi
12267
      if test "$with_gnu_ld" = no; then
12268
	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
12269
	hardcode_libdir_flag_spec_ld='+b $libdir'
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
12270
	hardcode_libdir_separator=:
12271
	hardcode_direct=yes
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
12272
	hardcode_direct_absolute=yes
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
12273
	export_dynamic_flag_spec='${wl}-E'
12274
	# hardcode_minus_L: Not really in the search PATH,
12275
	# but as the default location of the library.
12276
	hardcode_minus_L=yes
12277
      fi
12278
      ;;
12279
12280
    hpux11*)
12281
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
12282
	case $host_cpu in
12283
	hppa*64*)
12284
	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12285
	  ;;
12286
	ia64*)
1.1.5 by Christopher James Halse Rogers
Import upstream version 0.8.0
12287
	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
12288
	  ;;
12289
	*)
12290
	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12291
	  ;;
12292
	esac
12293
      else
12294
	case $host_cpu in
12295
	hppa*64*)
12296
	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12297
	  ;;
12298
	ia64*)
12299
	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12300
	  ;;
12301
	*)
12302
	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12303
	  ;;
12304
	esac
12305
      fi
12306
      if test "$with_gnu_ld" = no; then
12307
	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
12308
	hardcode_libdir_separator=:
12309
12310
	case $host_cpu in
12311
	hppa*64*|ia64*)
12312
	  hardcode_direct=no
12313
	  hardcode_shlibpath_var=no
12314
	  ;;
12315
	*)
12316
	  hardcode_direct=yes
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
12317
	  hardcode_direct_absolute=yes
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
12318
	  export_dynamic_flag_spec='${wl}-E'
12319
12320
	  # hardcode_minus_L: Not really in the search PATH,
12321
	  # but as the default location of the library.
12322
	  hardcode_minus_L=yes
12323
	  ;;
12324
	esac
12325
      fi
12326
      ;;
12327
12328
    irix5* | irix6* | nonstopux*)
12329
      if test "$GCC" = yes; then
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
12330
	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'
12331
	# Try to use the -exported_symbol ld option, if it does not
12332
	# work, assume that -exports_file does not work either and
12333
	# implicitly export all symbols.
12334
        save_LDFLAGS="$LDFLAGS"
12335
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
12336
        cat >conftest.$ac_ext <<_ACEOF
12337
int foo(void) {}
12338
_ACEOF
12339
rm -f conftest.$ac_objext conftest$ac_exeext
12340
if { (ac_try="$ac_link"
12341
case "(($ac_try" in
12342
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12343
  *) ac_try_echo=$ac_try;;
12344
esac
12345
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12346
  (eval "$ac_link") 2>conftest.er1
12347
  ac_status=$?
12348
  grep -v '^ *+' conftest.er1 >conftest.err
12349
  rm -f conftest.er1
12350
  cat conftest.err >&5
12351
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12352
  (exit $ac_status); } && {
12353
	 test -z "$ac_c_werror_flag" ||
12354
	 test ! -s conftest.err
12355
       } && test -s conftest$ac_exeext &&
12356
       $as_test_x conftest$ac_exeext; then
12357
  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'
12358
12359
else
12360
  echo "$as_me: failed program was:" >&5
12361
sed 's/^/| /' conftest.$ac_ext >&5
12362
12363
12364
fi
12365
12366
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12367
      conftest$ac_exeext conftest.$ac_ext
12368
        LDFLAGS="$save_LDFLAGS"
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
12369
      else
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
12370
	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'
12371
	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.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
12372
      fi
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
12373
      archive_cmds_need_lc='no'
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
12374
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12375
      hardcode_libdir_separator=:
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
12376
      inherit_rpath=yes
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
12377
      link_all_deplibs=yes
12378
      ;;
12379
12380
    netbsd* | netbsdelf*-gnu)
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
12381
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
12382
	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
12383
      else
12384
	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
12385
      fi
12386
      hardcode_libdir_flag_spec='-R$libdir'
12387
      hardcode_direct=yes
12388
      hardcode_shlibpath_var=no
12389
      ;;
12390
12391
    newsos6)
12392
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12393
      hardcode_direct=yes
12394
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12395
      hardcode_libdir_separator=:
12396
      hardcode_shlibpath_var=no
12397
      ;;
12398
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
12399
    *nto* | *qnx*)
12400
      ;;
12401
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
12402
    openbsd*)
12403
      if test -f /usr/libexec/ld.so; then
12404
	hardcode_direct=yes
12405
	hardcode_shlibpath_var=no
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
12406
	hardcode_direct_absolute=yes
12407
	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
12408
	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12409
	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
12410
	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
12411
	  export_dynamic_flag_spec='${wl}-E'
12412
	else
12413
	  case $host_os in
12414
	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
12415
	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12416
	     hardcode_libdir_flag_spec='-R$libdir'
12417
	     ;;
12418
	   *)
12419
	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12420
	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
12421
	     ;;
12422
	  esac
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
12423
	fi
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
12424
      else
12425
	ld_shlibs=no
12426
      fi
12427
      ;;
12428
12429
    os2*)
12430
      hardcode_libdir_flag_spec='-L$libdir'
12431
      hardcode_minus_L=yes
12432
      allow_undefined_flag=unsupported
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
12433
      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'
12434
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
12435
      ;;
12436
12437
    osf3*)
12438
      if test "$GCC" = yes; then
12439
	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
12440
	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.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
12441
      else
12442
	allow_undefined_flag=' -expect_unresolved \*'
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
12443
	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.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
12444
      fi
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
12445
      archive_cmds_need_lc='no'
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
12446
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12447
      hardcode_libdir_separator=:
12448
      ;;
12449
12450
    osf4* | osf5*)	# as osf3* with the addition of -msym flag
12451
      if test "$GCC" = yes; then
12452
	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
12453
	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.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
12454
	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12455
      else
12456
	allow_undefined_flag=' -expect_unresolved \*'
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
12457
	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'
12458
	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~
12459
	$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.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
12460
12461
	# Both c and cxx compiler support -rpath directly
12462
	hardcode_libdir_flag_spec='-rpath $libdir'
12463
      fi
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
12464
      archive_cmds_need_lc='no'
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
12465
      hardcode_libdir_separator=:
12466
      ;;
12467
12468
    solaris*)
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
12469
      no_undefined_flag=' -z defs'
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
12470
      if test "$GCC" = yes; then
12471
	wlarc='${wl}'
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
12472
	archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12473
	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12474
	  $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.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
12475
      else
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
12476
	case `$CC -V 2>&1` in
12477
	*"Compilers 5.0"*)
12478
	  wlarc=''
12479
	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
12480
	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12481
	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
12482
	  ;;
12483
	*)
12484
	  wlarc='${wl}'
12485
	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
12486
	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12487
	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12488
	  ;;
12489
	esac
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
12490
      fi
12491
      hardcode_libdir_flag_spec='-R$libdir'
12492
      hardcode_shlibpath_var=no
12493
      case $host_os in
12494
      solaris2.[0-5] | solaris2.[0-5].*) ;;
12495
      *)
12496
	# The compiler driver will combine and reorder linker options,
12497
	# but understands `-z linker_flag'.  GCC discards it without `$wl',
12498
	# but is careful enough not to reorder.
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
12499
	# Supported since Solaris 2.6 (maybe 2.5.1?)
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
12500
	if test "$GCC" = yes; then
12501
	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12502
	else
12503
	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
12504
	fi
12505
	;;
12506
      esac
12507
      link_all_deplibs=yes
12508
      ;;
12509
12510
    sunos4*)
12511
      if test "x$host_vendor" = xsequent; then
12512
	# Use $CC to link under sequent, because it throws in some extra .o
12513
	# files that make .init and .fini sections work.
12514
	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
12515
      else
12516
	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
12517
      fi
12518
      hardcode_libdir_flag_spec='-L$libdir'
12519
      hardcode_direct=yes
12520
      hardcode_minus_L=yes
12521
      hardcode_shlibpath_var=no
12522
      ;;
12523
12524
    sysv4)
12525
      case $host_vendor in
12526
	sni)
12527
	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12528
	  hardcode_direct=yes # is this really true???
12529
	;;
12530
	siemens)
12531
	  ## LD is ld it makes a PLAMLIB
12532
	  ## CC just makes a GrossModule.
12533
	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
12534
	  reload_cmds='$CC -r -o $output$reload_objs'
12535
	  hardcode_direct=no
12536
        ;;
12537
	motorola)
12538
	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12539
	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
12540
	;;
12541
      esac
12542
      runpath_var='LD_RUN_PATH'
12543
      hardcode_shlibpath_var=no
12544
      ;;
12545
12546
    sysv4.3*)
12547
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12548
      hardcode_shlibpath_var=no
12549
      export_dynamic_flag_spec='-Bexport'
12550
      ;;
12551
12552
    sysv4*MP*)
12553
      if test -d /usr/nec; then
12554
	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12555
	hardcode_shlibpath_var=no
12556
	runpath_var=LD_RUN_PATH
12557
	hardcode_runpath_var=yes
12558
	ld_shlibs=yes
12559
      fi
12560
      ;;
12561
12562
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12563
      no_undefined_flag='${wl}-z,text'
12564
      archive_cmds_need_lc=no
12565
      hardcode_shlibpath_var=no
12566
      runpath_var='LD_RUN_PATH'
12567
12568
      if test "$GCC" = yes; then
12569
	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12570
	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12571
      else
12572
	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12573
	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12574
      fi
12575
      ;;
12576
12577
    sysv5* | sco3.2v5* | sco5v6*)
12578
      # Note: We can NOT use -z defs as we might desire, because we do not
12579
      # link with -lc, and that would cause any symbols used from libc to
12580
      # always be unresolved, which means just about no library would
12581
      # ever link correctly.  If we're not using GNU ld we use -z text
12582
      # though, which does catch some bad symbols but isn't as heavy-handed
12583
      # as -z defs.
12584
      no_undefined_flag='${wl}-z,text'
12585
      allow_undefined_flag='${wl}-z,nodefs'
12586
      archive_cmds_need_lc=no
12587
      hardcode_shlibpath_var=no
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
12588
      hardcode_libdir_flag_spec='${wl}-R,$libdir'
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
12589
      hardcode_libdir_separator=':'
12590
      link_all_deplibs=yes
12591
      export_dynamic_flag_spec='${wl}-Bexport'
12592
      runpath_var='LD_RUN_PATH'
12593
12594
      if test "$GCC" = yes; then
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
12595
	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12596
	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
12597
      else
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
12598
	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12599
	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
12600
      fi
12601
      ;;
12602
12603
    uts4*)
12604
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12605
      hardcode_libdir_flag_spec='-L$libdir'
12606
      hardcode_shlibpath_var=no
12607
      ;;
12608
12609
    *)
12610
      ld_shlibs=no
12611
      ;;
12612
    esac
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
12613
12614
    if test x$host_vendor = xsni; then
12615
      case $host in
12616
      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
12617
	export_dynamic_flag_spec='${wl}-Blargedynsym'
12618
	;;
12619
      esac
12620
    fi
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
12621
  fi
12622
12623
{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5
12624
echo "${ECHO_T}$ld_shlibs" >&6; }
12625
test "$ld_shlibs" = no && can_build_shared=no
12626
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
12627
with_gnu_ld=$with_gnu_ld
12628
12629
12630
12631
12632
12633
12634
12635
12636
12637
12638
12639
12640
12641
12642
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
12643
#
12644
# Do we need to explicitly link libc?
12645
#
12646
case "x$archive_cmds_need_lc" in
12647
x|xyes)
12648
  # Assume -lc should be added
12649
  archive_cmds_need_lc=yes
12650
12651
  if test "$enable_shared" = yes && test "$GCC" = yes; then
12652
    case $archive_cmds in
12653
    *'~'*)
12654
      # FIXME: we may have to deal with multi-command sequences.
12655
      ;;
12656
    '$CC '*)
12657
      # Test whether the compiler implicitly links with -lc since on some
12658
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
12659
      # to ld, don't add -lc before -lgcc.
12660
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12661
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
12662
      $RM conftest*
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
12663
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12664
12665
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12666
  (eval $ac_compile) 2>&5
12667
  ac_status=$?
12668
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12669
  (exit $ac_status); } 2>conftest.err; then
12670
        soname=conftest
12671
        lib=conftest
12672
        libobjs=conftest.$ac_objext
12673
        deplibs=
12674
        wl=$lt_prog_compiler_wl
12675
	pic_flag=$lt_prog_compiler_pic
12676
        compiler_flags=-v
12677
        linker_flags=-v
12678
        verstring=
12679
        output_objdir=.
12680
        libname=conftest
12681
        lt_save_allow_undefined_flag=$allow_undefined_flag
12682
        allow_undefined_flag=
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
12683
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
12684
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
12685
  ac_status=$?
12686
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12687
  (exit $ac_status); }
12688
        then
12689
	  archive_cmds_need_lc=no
12690
        else
12691
	  archive_cmds_need_lc=yes
12692
        fi
12693
        allow_undefined_flag=$lt_save_allow_undefined_flag
12694
      else
12695
        cat conftest.err 1>&5
12696
      fi
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
12697
      $RM conftest*
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
12698
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
12699
echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
12700
      ;;
12701
    esac
12702
  fi
12703
  ;;
12704
esac
12705
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
12706
12707
12708
12709
12710
12711
12712
12713
12714
12715
12716
12717
12718
12719
12720
12721
12722
12723
12724
12725
12726
12727
12728
12729
12730
12731
12732
12733
12734
12735
12736
12737
12738
12739
12740
12741
12742
12743
12744
12745
12746
12747
12748
12749
12750
12751
12752
12753
12754
12755
12756
12757
12758
12759
12760
12761
12762
12763
12764
12765
12766
12767
12768
12769
12770
12771
12772
12773
12774
12775
12776
12777
12778
12779
12780
12781
12782
12783
12784
12785
12786
12787
12788
12789
12790
12791
12792
12793
12794
12795
12796
12797
12798
12799
12800
12801
12802
12803
12804
12805
12806
12807
12808
12809
12810
12811
12812
12813
12814
12815
12816
12817
12818
12819
12820
12821
12822
12823
12824
12825
12826
12827
12828
12829
12830
12831
12832
12833
12834
12835
12836
12837
12838
12839
12840
12841
12842
12843
12844
12845
12846
12847
12848
12849
12850
12851
12852
12853
12854
12855
12856
12857
12858
12859
12860
12861
12862
  { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
12863
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
12864
12865
if test "$GCC" = yes; then
12866
  case $host_os in
12867
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
12868
    *) lt_awk_arg="/^libraries:/" ;;
12869
  esac
12870
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
12871
  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
12872
    # if the path contains ";" then we assume it to be the separator
12873
    # otherwise default to the standard path separator (i.e. ":") - it is
12874
    # assumed that no part of a normal pathname contains ";" but that should
12875
    # okay in the real world where ";" in dirpaths is itself problematic.
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
12876
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
12877
  else
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
12878
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
12879
  fi
12880
  # Ok, now we have the path, separated by spaces, we can step through it
12881
  # and add multilib dir if necessary.
12882
  lt_tmp_lt_search_path_spec=
12883
  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
12884
  for lt_sys_path in $lt_search_path_spec; do
12885
    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
12886
      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
12887
    else
12888
      test -d "$lt_sys_path" && \
12889
	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
12890
    fi
12891
  done
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
12892
  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
12893
BEGIN {RS=" "; FS="/|\n";} {
12894
  lt_foo="";
12895
  lt_count=0;
12896
  for (lt_i = NF; lt_i > 0; lt_i--) {
12897
    if ($lt_i != "" && $lt_i != ".") {
12898
      if ($lt_i == "..") {
12899
        lt_count++;
12900
      } else {
12901
        if (lt_count == 0) {
12902
          lt_foo="/" $lt_i lt_foo;
12903
        } else {
12904
          lt_count--;
12905
        }
12906
      }
12907
    }
12908
  }
12909
  if (lt_foo != "") { lt_freq[lt_foo]++; }
12910
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
12911
}'`
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
12912
  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
12913
else
12914
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12915
fi
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
12916
library_names_spec=
12917
libname_spec='lib$name'
12918
soname_spec=
12919
shrext_cmds=".so"
12920
postinstall_cmds=
12921
postuninstall_cmds=
12922
finish_cmds=
12923
finish_eval=
12924
shlibpath_var=
12925
shlibpath_overrides_runpath=unknown
12926
version_type=none
12927
dynamic_linker="$host_os ld.so"
12928
sys_lib_dlsearch_path_spec="/lib /usr/lib"
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
12929
need_lib_prefix=unknown
12930
hardcode_into_libs=no
12931
12932
# when you set need_version to no, make sure it does not cause -set_version
12933
# flags to be left without arguments
12934
need_version=unknown
12935
12936
case $host_os in
12937
aix3*)
12938
  version_type=linux
12939
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
12940
  shlibpath_var=LIBPATH
12941
12942
  # AIX 3 has no versioning support, so we append a major version to the name.
12943
  soname_spec='${libname}${release}${shared_ext}$major'
12944
  ;;
12945
12946
aix[4-9]*)
12947
  version_type=linux
12948
  need_lib_prefix=no
12949
  need_version=no
12950
  hardcode_into_libs=yes
12951
  if test "$host_cpu" = ia64; then
12952
    # AIX 5 supports IA64
12953
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12954
    shlibpath_var=LD_LIBRARY_PATH
12955
  else
12956
    # With GCC up to 2.95.x, collect2 would create an import file
12957
    # for dependence libraries.  The import file would start with
12958
    # the line `#! .'.  This would cause the generated library to
12959
    # depend on `.', always an invalid library.  This was fixed in
12960
    # development snapshots of GCC prior to 3.0.
12961
    case $host_os in
12962
      aix4 | aix4.[01] | aix4.[01].*)
12963
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12964
	   echo ' yes '
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
12965
	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
12966
	:
12967
      else
12968
	can_build_shared=no
12969
      fi
12970
      ;;
12971
    esac
12972
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12973
    # soname into executable. Probably we can add versioning support to
12974
    # collect2, so additional links can be useful in future.
12975
    if test "$aix_use_runtimelinking" = yes; then
12976
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12977
      # instead of lib<name>.a to let people know that these are not
12978
      # typical AIX shared libraries.
12979
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12980
    else
12981
      # We preserve .a as extension for shared libraries through AIX4.2
12982
      # and later when we are not doing run time linking.
12983
      library_names_spec='${libname}${release}.a $libname.a'
12984
      soname_spec='${libname}${release}${shared_ext}$major'
12985
    fi
12986
    shlibpath_var=LIBPATH
12987
  fi
12988
  ;;
12989
12990
amigaos*)
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
12991
  case $host_cpu in
12992
  powerpc)
12993
    # Since July 2007 AmigaOS4 officially supports .so libraries.
12994
    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
12995
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12996
    ;;
12997
  m68k)
12998
    library_names_spec='$libname.ixlibrary $libname.a'
12999
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
13000
    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'
13001
    ;;
13002
  esac
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
13003
  ;;
13004
13005
beos*)
13006
  library_names_spec='${libname}${shared_ext}'
13007
  dynamic_linker="$host_os ld.so"
13008
  shlibpath_var=LIBRARY_PATH
13009
  ;;
13010
13011
bsdi[45]*)
13012
  version_type=linux
13013
  need_version=no
13014
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13015
  soname_spec='${libname}${release}${shared_ext}$major'
13016
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
13017
  shlibpath_var=LD_LIBRARY_PATH
13018
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13019
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
13020
  # the default ld.so.conf also contains /usr/contrib/lib and
13021
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13022
  # libtool to hard-code these into programs
13023
  ;;
13024
1.1.5 by Christopher James Halse Rogers
Import upstream version 0.8.0
13025
cygwin* | mingw* | pw32* | cegcc*)
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
13026
  version_type=windows
13027
  shrext_cmds=".dll"
13028
  need_version=no
13029
  need_lib_prefix=no
13030
13031
  case $GCC,$host_os in
1.1.5 by Christopher James Halse Rogers
Import upstream version 0.8.0
13032
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
13033
    library_names_spec='$libname.dll.a'
13034
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
13035
    postinstall_cmds='base_file=`basename \${file}`~
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
13036
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
13037
      dldir=$destdir/`dirname \$dlpath`~
13038
      test -d \$dldir || mkdir -p \$dldir~
13039
      $install_prog $dir/$dlname \$dldir/$dlname~
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
13040
      chmod a+x \$dldir/$dlname~
13041
      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13042
        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13043
      fi'
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
13044
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13045
      dlpath=$dir/\$dldll~
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
13046
       $RM \$dlpath'
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
13047
    shlibpath_overrides_runpath=yes
13048
13049
    case $host_os in
13050
    cygwin*)
13051
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13052
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13053
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
13054
      ;;
1.1.5 by Christopher James Halse Rogers
Import upstream version 0.8.0
13055
    mingw* | cegcc*)
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
13056
      # MinGW DLLs use traditional 'lib' prefix
13057
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
13058
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13059
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
13060
        # It is most probably a Windows format PATH printed by
13061
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
13062
        # path with ; separators, and with drive letters. We can handle the
13063
        # drive letters (cygwin fileutils understands them), so leave them,
13064
        # especially as we might pass files found there to a mingw objdump,
13065
        # which wouldn't understand a cygwinified path. Ahh.
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
13066
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
13067
      else
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
13068
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
13069
      fi
13070
      ;;
13071
    pw32*)
13072
      # pw32 DLLs use 'pw' prefix rather than 'lib'
13073
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13074
      ;;
13075
    esac
13076
    ;;
13077
13078
  *)
13079
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13080
    ;;
13081
  esac
13082
  dynamic_linker='Win32 ld.exe'
13083
  # FIXME: first we should search . and the directory the executable is in
13084
  shlibpath_var=PATH
13085
  ;;
13086
13087
darwin* | rhapsody*)
13088
  dynamic_linker="$host_os dyld"
13089
  version_type=darwin
13090
  need_lib_prefix=no
13091
  need_version=no
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
13092
  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
13093
  soname_spec='${libname}${release}${major}$shared_ext'
13094
  shlibpath_overrides_runpath=yes
13095
  shlibpath_var=DYLD_LIBRARY_PATH
13096
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
13097
13098
  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
13099
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
13100
  ;;
13101
13102
dgux*)
13103
  version_type=linux
13104
  need_lib_prefix=no
13105
  need_version=no
13106
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13107
  soname_spec='${libname}${release}${shared_ext}$major'
13108
  shlibpath_var=LD_LIBRARY_PATH
13109
  ;;
13110
13111
freebsd1*)
13112
  dynamic_linker=no
13113
  ;;
13114
13115
freebsd* | dragonfly*)
13116
  # DragonFly does not have aout.  When/if they implement a new
13117
  # versioning mechanism, adjust this.
13118
  if test -x /usr/bin/objformat; then
13119
    objformat=`/usr/bin/objformat`
13120
  else
13121
    case $host_os in
13122
    freebsd[123]*) objformat=aout ;;
13123
    *) objformat=elf ;;
13124
    esac
13125
  fi
13126
  version_type=freebsd-$objformat
13127
  case $version_type in
13128
    freebsd-elf*)
13129
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13130
      need_version=no
13131
      need_lib_prefix=no
13132
      ;;
13133
    freebsd-*)
13134
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13135
      need_version=yes
13136
      ;;
13137
  esac
13138
  shlibpath_var=LD_LIBRARY_PATH
13139
  case $host_os in
13140
  freebsd2*)
13141
    shlibpath_overrides_runpath=yes
13142
    ;;
13143
  freebsd3.[01]* | freebsdelf3.[01]*)
13144
    shlibpath_overrides_runpath=yes
13145
    hardcode_into_libs=yes
13146
    ;;
13147
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
13148
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
13149
    shlibpath_overrides_runpath=no
13150
    hardcode_into_libs=yes
13151
    ;;
13152
  *) # from 4.6 on, and DragonFly
13153
    shlibpath_overrides_runpath=yes
13154
    hardcode_into_libs=yes
13155
    ;;
13156
  esac
13157
  ;;
13158
13159
gnu*)
13160
  version_type=linux
13161
  need_lib_prefix=no
13162
  need_version=no
13163
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13164
  soname_spec='${libname}${release}${shared_ext}$major'
13165
  shlibpath_var=LD_LIBRARY_PATH
13166
  hardcode_into_libs=yes
13167
  ;;
13168
13169
hpux9* | hpux10* | hpux11*)
13170
  # Give a soname corresponding to the major version so that dld.sl refuses to
13171
  # link against other versions.
13172
  version_type=sunos
13173
  need_lib_prefix=no
13174
  need_version=no
13175
  case $host_cpu in
13176
  ia64*)
13177
    shrext_cmds='.so'
13178
    hardcode_into_libs=yes
13179
    dynamic_linker="$host_os dld.so"
13180
    shlibpath_var=LD_LIBRARY_PATH
13181
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13182
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13183
    soname_spec='${libname}${release}${shared_ext}$major'
13184
    if test "X$HPUX_IA64_MODE" = X32; then
13185
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13186
    else
13187
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
13188
    fi
13189
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13190
    ;;
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
13191
  hppa*64*)
13192
    shrext_cmds='.sl'
13193
    hardcode_into_libs=yes
13194
    dynamic_linker="$host_os dld.sl"
13195
    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
13196
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13197
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13198
    soname_spec='${libname}${release}${shared_ext}$major'
13199
    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13200
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13201
    ;;
13202
  *)
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
13203
    shrext_cmds='.sl'
13204
    dynamic_linker="$host_os dld.sl"
13205
    shlibpath_var=SHLIB_PATH
13206
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
13207
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13208
    soname_spec='${libname}${release}${shared_ext}$major'
13209
    ;;
13210
  esac
13211
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
13212
  postinstall_cmds='chmod 555 $lib'
13213
  ;;
13214
13215
interix[3-9]*)
13216
  version_type=linux
13217
  need_lib_prefix=no
13218
  need_version=no
13219
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13220
  soname_spec='${libname}${release}${shared_ext}$major'
13221
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
13222
  shlibpath_var=LD_LIBRARY_PATH
13223
  shlibpath_overrides_runpath=no
13224
  hardcode_into_libs=yes
13225
  ;;
13226
13227
irix5* | irix6* | nonstopux*)
13228
  case $host_os in
13229
    nonstopux*) version_type=nonstopux ;;
13230
    *)
13231
	if test "$lt_cv_prog_gnu_ld" = yes; then
13232
		version_type=linux
13233
	else
13234
		version_type=irix
13235
	fi ;;
13236
  esac
13237
  need_lib_prefix=no
13238
  need_version=no
13239
  soname_spec='${libname}${release}${shared_ext}$major'
13240
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13241
  case $host_os in
13242
  irix5* | nonstopux*)
13243
    libsuff= shlibsuff=
13244
    ;;
13245
  *)
13246
    case $LD in # libtool.m4 will add one of these switches to LD
13247
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13248
      libsuff= shlibsuff= libmagic=32-bit;;
13249
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13250
      libsuff=32 shlibsuff=N32 libmagic=N32;;
13251
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13252
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
13253
    *) libsuff= shlibsuff= libmagic=never-match;;
13254
    esac
13255
    ;;
13256
  esac
13257
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
13258
  shlibpath_overrides_runpath=no
13259
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13260
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
13261
  hardcode_into_libs=yes
13262
  ;;
13263
13264
# No shared lib support for Linux oldld, aout, or coff.
13265
linux*oldld* | linux*aout* | linux*coff*)
13266
  dynamic_linker=no
13267
  ;;
13268
13269
# This must be Linux ELF.
13270
linux* | k*bsd*-gnu)
13271
  version_type=linux
13272
  need_lib_prefix=no
13273
  need_version=no
13274
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13275
  soname_spec='${libname}${release}${shared_ext}$major'
13276
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13277
  shlibpath_var=LD_LIBRARY_PATH
13278
  shlibpath_overrides_runpath=no
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
13279
  # Some binutils ld are patched to set DT_RUNPATH
13280
  save_LDFLAGS=$LDFLAGS
13281
  save_libdir=$libdir
13282
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
13283
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
13284
  cat >conftest.$ac_ext <<_ACEOF
13285
/* confdefs.h.  */
13286
_ACEOF
13287
cat confdefs.h >>conftest.$ac_ext
13288
cat >>conftest.$ac_ext <<_ACEOF
13289
/* end confdefs.h.  */
13290
13291
int
13292
main ()
13293
{
13294
13295
  ;
13296
  return 0;
13297
}
13298
_ACEOF
13299
rm -f conftest.$ac_objext conftest$ac_exeext
13300
if { (ac_try="$ac_link"
13301
case "(($ac_try" in
13302
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13303
  *) ac_try_echo=$ac_try;;
13304
esac
13305
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13306
  (eval "$ac_link") 2>conftest.er1
13307
  ac_status=$?
13308
  grep -v '^ *+' conftest.er1 >conftest.err
13309
  rm -f conftest.er1
13310
  cat conftest.err >&5
13311
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13312
  (exit $ac_status); } && {
13313
	 test -z "$ac_c_werror_flag" ||
13314
	 test ! -s conftest.err
13315
       } && test -s conftest$ac_exeext &&
13316
       $as_test_x conftest$ac_exeext; then
13317
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
13318
  shlibpath_overrides_runpath=yes
13319
fi
13320
13321
else
13322
  echo "$as_me: failed program was:" >&5
13323
sed 's/^/| /' conftest.$ac_ext >&5
13324
13325
13326
fi
13327
13328
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13329
      conftest$ac_exeext conftest.$ac_ext
13330
  LDFLAGS=$save_LDFLAGS
13331
  libdir=$save_libdir
13332
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
13333
  # This implies no fast_install, which is unacceptable.
13334
  # Some rework will be needed to allow for fast_install
13335
  # before this can be enabled.
13336
  hardcode_into_libs=yes
13337
13338
  # Append ld.so.conf contents to the search path
13339
  if test -f /etc/ld.so.conf; then
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
13340
    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.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
13341
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
13342
  fi
13343
13344
  # We used to test for /lib/ld.so.1 and disable shared libraries on
13345
  # powerpc, because MkLinux only supported shared libraries with the
13346
  # GNU dynamic linker.  Since this was broken with cross compilers,
13347
  # most powerpc-linux boxes support dynamic linking these days and
13348
  # people can always --disable-shared, the test was removed, and we
13349
  # assume the GNU/Linux dynamic linker is in use.
13350
  dynamic_linker='GNU/Linux ld.so'
13351
  ;;
13352
13353
netbsdelf*-gnu)
13354
  version_type=linux
13355
  need_lib_prefix=no
13356
  need_version=no
13357
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13358
  soname_spec='${libname}${release}${shared_ext}$major'
13359
  shlibpath_var=LD_LIBRARY_PATH
13360
  shlibpath_overrides_runpath=no
13361
  hardcode_into_libs=yes
13362
  dynamic_linker='NetBSD ld.elf_so'
13363
  ;;
13364
13365
netbsd*)
13366
  version_type=sunos
13367
  need_lib_prefix=no
13368
  need_version=no
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
13369
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
13370
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13371
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13372
    dynamic_linker='NetBSD (a.out) ld.so'
13373
  else
13374
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13375
    soname_spec='${libname}${release}${shared_ext}$major'
13376
    dynamic_linker='NetBSD ld.elf_so'
13377
  fi
13378
  shlibpath_var=LD_LIBRARY_PATH
13379
  shlibpath_overrides_runpath=yes
13380
  hardcode_into_libs=yes
13381
  ;;
13382
13383
newsos6)
13384
  version_type=linux
13385
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13386
  shlibpath_var=LD_LIBRARY_PATH
13387
  shlibpath_overrides_runpath=yes
13388
  ;;
13389
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
13390
*nto* | *qnx*)
13391
  version_type=qnx
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
13392
  need_lib_prefix=no
13393
  need_version=no
13394
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13395
  soname_spec='${libname}${release}${shared_ext}$major'
13396
  shlibpath_var=LD_LIBRARY_PATH
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
13397
  shlibpath_overrides_runpath=no
13398
  hardcode_into_libs=yes
13399
  dynamic_linker='ldqnx.so'
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
13400
  ;;
13401
13402
openbsd*)
13403
  version_type=sunos
13404
  sys_lib_dlsearch_path_spec="/usr/lib"
13405
  need_lib_prefix=no
13406
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13407
  case $host_os in
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
13408
    openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
13409
    *)				need_version=no  ;;
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
13410
  esac
13411
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13412
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13413
  shlibpath_var=LD_LIBRARY_PATH
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
13414
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
13415
    case $host_os in
13416
      openbsd2.[89] | openbsd2.[89].*)
13417
	shlibpath_overrides_runpath=no
13418
	;;
13419
      *)
13420
	shlibpath_overrides_runpath=yes
13421
	;;
13422
      esac
13423
  else
13424
    shlibpath_overrides_runpath=yes
13425
  fi
13426
  ;;
13427
13428
os2*)
13429
  libname_spec='$name'
13430
  shrext_cmds=".dll"
13431
  need_lib_prefix=no
13432
  library_names_spec='$libname${shared_ext} $libname.a'
13433
  dynamic_linker='OS/2 ld.exe'
13434
  shlibpath_var=LIBPATH
13435
  ;;
13436
13437
osf3* | osf4* | osf5*)
13438
  version_type=osf
13439
  need_lib_prefix=no
13440
  need_version=no
13441
  soname_spec='${libname}${release}${shared_ext}$major'
13442
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13443
  shlibpath_var=LD_LIBRARY_PATH
13444
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13445
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
13446
  ;;
13447
13448
rdos*)
13449
  dynamic_linker=no
13450
  ;;
13451
13452
solaris*)
13453
  version_type=linux
13454
  need_lib_prefix=no
13455
  need_version=no
13456
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13457
  soname_spec='${libname}${release}${shared_ext}$major'
13458
  shlibpath_var=LD_LIBRARY_PATH
13459
  shlibpath_overrides_runpath=yes
13460
  hardcode_into_libs=yes
13461
  # ldd complains unless libraries are executable
13462
  postinstall_cmds='chmod +x $lib'
13463
  ;;
13464
13465
sunos4*)
13466
  version_type=sunos
13467
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13468
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13469
  shlibpath_var=LD_LIBRARY_PATH
13470
  shlibpath_overrides_runpath=yes
13471
  if test "$with_gnu_ld" = yes; then
13472
    need_lib_prefix=no
13473
  fi
13474
  need_version=yes
13475
  ;;
13476
13477
sysv4 | sysv4.3*)
13478
  version_type=linux
13479
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13480
  soname_spec='${libname}${release}${shared_ext}$major'
13481
  shlibpath_var=LD_LIBRARY_PATH
13482
  case $host_vendor in
13483
    sni)
13484
      shlibpath_overrides_runpath=no
13485
      need_lib_prefix=no
13486
      runpath_var=LD_RUN_PATH
13487
      ;;
13488
    siemens)
13489
      need_lib_prefix=no
13490
      ;;
13491
    motorola)
13492
      need_lib_prefix=no
13493
      need_version=no
13494
      shlibpath_overrides_runpath=no
13495
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
13496
      ;;
13497
  esac
13498
  ;;
13499
13500
sysv4*MP*)
13501
  if test -d /usr/nec ;then
13502
    version_type=linux
13503
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13504
    soname_spec='$libname${shared_ext}.$major'
13505
    shlibpath_var=LD_LIBRARY_PATH
13506
  fi
13507
  ;;
13508
13509
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
13510
  version_type=freebsd-elf
13511
  need_lib_prefix=no
13512
  need_version=no
13513
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13514
  soname_spec='${libname}${release}${shared_ext}$major'
13515
  shlibpath_var=LD_LIBRARY_PATH
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
13516
  shlibpath_overrides_runpath=yes
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
13517
  hardcode_into_libs=yes
13518
  if test "$with_gnu_ld" = yes; then
13519
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13520
  else
13521
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
13522
    case $host_os in
13523
      sco3.2v5*)
13524
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
13525
	;;
13526
    esac
13527
  fi
13528
  sys_lib_dlsearch_path_spec='/usr/lib'
13529
  ;;
13530
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
13531
tpf*)
13532
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
13533
  version_type=linux
13534
  need_lib_prefix=no
13535
  need_version=no
1.1.5 by Christopher James Halse Rogers
Import upstream version 0.8.0
13536
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
13537
  shlibpath_var=LD_LIBRARY_PATH
13538
  shlibpath_overrides_runpath=no
13539
  hardcode_into_libs=yes
13540
  ;;
13541
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
13542
uts4*)
13543
  version_type=linux
13544
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13545
  soname_spec='${libname}${release}${shared_ext}$major'
13546
  shlibpath_var=LD_LIBRARY_PATH
13547
  ;;
13548
13549
*)
13550
  dynamic_linker=no
13551
  ;;
13552
esac
13553
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13554
echo "${ECHO_T}$dynamic_linker" >&6; }
13555
test "$dynamic_linker" = no && can_build_shared=no
13556
13557
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13558
if test "$GCC" = yes; then
13559
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13560
fi
13561
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
13562
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
13563
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
13564
fi
13565
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
13566
  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
13567
fi
13568
13569
13570
13571
13572
13573
13574
13575
13576
13577
13578
13579
13580
13581
13582
13583
13584
13585
13586
13587
13588
13589
13590
13591
13592
13593
13594
13595
13596
13597
13598
13599
13600
13601
13602
13603
13604
13605
13606
13607
13608
13609
13610
13611
13612
13613
13614
13615
13616
13617
13618
13619
13620
13621
13622
13623
13624
13625
13626
13627
13628
13629
13630
13631
13632
13633
13634
13635
13636
13637
13638
13639
13640
13641
13642
13643
13644
13645
13646
13647
13648
13649
13650
13651
13652
13653
13654
13655
  { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
13656
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
13657
hardcode_action=
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
13658
if test -n "$hardcode_libdir_flag_spec" ||
13659
   test -n "$runpath_var" ||
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
13660
   test "X$hardcode_automatic" = "Xyes" ; then
13661
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
13662
  # We can hardcode non-existent directories.
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
13663
  if test "$hardcode_direct" != no &&
13664
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
13665
     # have to relink, otherwise we might link with an installed library
13666
     # when we should be linking with a yet-to-be-installed one
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
13667
     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
13668
     test "$hardcode_minus_L" != no; then
13669
    # Linking always hardcodes the temporary library directory.
13670
    hardcode_action=relink
13671
  else
13672
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
13673
    hardcode_action=immediate
13674
  fi
13675
else
13676
  # We cannot hardcode anything, or else we can only hardcode existing
13677
  # directories.
13678
  hardcode_action=unsupported
13679
fi
13680
{ echo "$as_me:$LINENO: result: $hardcode_action" >&5
13681
echo "${ECHO_T}$hardcode_action" >&6; }
13682
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
13683
if test "$hardcode_action" = relink ||
13684
   test "$inherit_rpath" = yes; then
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
13685
  # Fast installation is not supported
13686
  enable_fast_install=no
13687
elif test "$shlibpath_overrides_runpath" = yes ||
13688
     test "$enable_shared" = no; then
13689
  # Fast installation is not necessary
13690
  enable_fast_install=needless
13691
fi
13692
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
13693
13694
13695
13696
13697
13698
  if test "x$enable_dlopen" != xyes; then
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
13699
  enable_dlopen=unknown
13700
  enable_dlopen_self=unknown
13701
  enable_dlopen_self_static=unknown
13702
else
13703
  lt_cv_dlopen=no
13704
  lt_cv_dlopen_libs=
13705
13706
  case $host_os in
13707
  beos*)
13708
    lt_cv_dlopen="load_add_on"
13709
    lt_cv_dlopen_libs=
13710
    lt_cv_dlopen_self=yes
13711
    ;;
13712
1.1.5 by Christopher James Halse Rogers
Import upstream version 0.8.0
13713
  mingw* | pw32* | cegcc*)
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
13714
    lt_cv_dlopen="LoadLibrary"
13715
    lt_cv_dlopen_libs=
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
13716
    ;;
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
13717
13718
  cygwin*)
13719
    lt_cv_dlopen="dlopen"
13720
    lt_cv_dlopen_libs=
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
13721
    ;;
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
13722
13723
  darwin*)
13724
  # if libdl is installed we need to link against it
13725
    { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
13726
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
13727
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
13728
  echo $ECHO_N "(cached) $ECHO_C" >&6
13729
else
13730
  ac_check_lib_save_LIBS=$LIBS
13731
LIBS="-ldl  $LIBS"
13732
cat >conftest.$ac_ext <<_ACEOF
13733
/* confdefs.h.  */
13734
_ACEOF
13735
cat confdefs.h >>conftest.$ac_ext
13736
cat >>conftest.$ac_ext <<_ACEOF
13737
/* end confdefs.h.  */
13738
13739
/* Override any GCC internal prototype to avoid an error.
13740
   Use char because int might match the return type of a GCC
13741
   builtin and then its argument prototype would still apply.  */
13742
#ifdef __cplusplus
13743
extern "C"
13744
#endif
13745
char dlopen ();
13746
int
13747
main ()
13748
{
13749
return dlopen ();
13750
  ;
13751
  return 0;
13752
}
13753
_ACEOF
13754
rm -f conftest.$ac_objext conftest$ac_exeext
13755
if { (ac_try="$ac_link"
13756
case "(($ac_try" in
13757
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13758
  *) ac_try_echo=$ac_try;;
13759
esac
13760
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13761
  (eval "$ac_link") 2>conftest.er1
13762
  ac_status=$?
13763
  grep -v '^ *+' conftest.er1 >conftest.err
13764
  rm -f conftest.er1
13765
  cat conftest.err >&5
13766
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13767
  (exit $ac_status); } && {
13768
	 test -z "$ac_c_werror_flag" ||
13769
	 test ! -s conftest.err
13770
       } && test -s conftest$ac_exeext &&
13771
       $as_test_x conftest$ac_exeext; then
13772
  ac_cv_lib_dl_dlopen=yes
13773
else
13774
  echo "$as_me: failed program was:" >&5
13775
sed 's/^/| /' conftest.$ac_ext >&5
13776
13777
	ac_cv_lib_dl_dlopen=no
13778
fi
13779
13780
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13781
      conftest$ac_exeext conftest.$ac_ext
13782
LIBS=$ac_check_lib_save_LIBS
13783
fi
13784
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
13785
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
13786
if test $ac_cv_lib_dl_dlopen = yes; then
13787
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
13788
else
13789
13790
    lt_cv_dlopen="dyld"
13791
    lt_cv_dlopen_libs=
13792
    lt_cv_dlopen_self=yes
13793
13794
fi
13795
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
13796
    ;;
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
13797
13798
  *)
13799
    { echo "$as_me:$LINENO: checking for shl_load" >&5
13800
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
13801
if test "${ac_cv_func_shl_load+set}" = set; then
13802
  echo $ECHO_N "(cached) $ECHO_C" >&6
13803
else
13804
  cat >conftest.$ac_ext <<_ACEOF
13805
/* confdefs.h.  */
13806
_ACEOF
13807
cat confdefs.h >>conftest.$ac_ext
13808
cat >>conftest.$ac_ext <<_ACEOF
13809
/* end confdefs.h.  */
13810
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
13811
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13812
#define shl_load innocuous_shl_load
13813
13814
/* System header to define __stub macros and hopefully few prototypes,
13815
    which can conflict with char shl_load (); below.
13816
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13817
    <limits.h> exists even on freestanding compilers.  */
13818
13819
#ifdef __STDC__
13820
# include <limits.h>
13821
#else
13822
# include <assert.h>
13823
#endif
13824
13825
#undef shl_load
13826
13827
/* Override any GCC internal prototype to avoid an error.
13828
   Use char because int might match the return type of a GCC
13829
   builtin and then its argument prototype would still apply.  */
13830
#ifdef __cplusplus
13831
extern "C"
13832
#endif
13833
char shl_load ();
13834
/* The GNU C library defines this for functions which it implements
13835
    to always fail with ENOSYS.  Some functions are actually named
13836
    something starting with __ and the normal name is an alias.  */
13837
#if defined __stub_shl_load || defined __stub___shl_load
13838
choke me
13839
#endif
13840
13841
int
13842
main ()
13843
{
13844
return shl_load ();
13845
  ;
13846
  return 0;
13847
}
13848
_ACEOF
13849
rm -f conftest.$ac_objext conftest$ac_exeext
13850
if { (ac_try="$ac_link"
13851
case "(($ac_try" in
13852
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13853
  *) ac_try_echo=$ac_try;;
13854
esac
13855
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13856
  (eval "$ac_link") 2>conftest.er1
13857
  ac_status=$?
13858
  grep -v '^ *+' conftest.er1 >conftest.err
13859
  rm -f conftest.er1
13860
  cat conftest.err >&5
13861
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13862
  (exit $ac_status); } && {
13863
	 test -z "$ac_c_werror_flag" ||
13864
	 test ! -s conftest.err
13865
       } && test -s conftest$ac_exeext &&
13866
       $as_test_x conftest$ac_exeext; then
13867
  ac_cv_func_shl_load=yes
13868
else
13869
  echo "$as_me: failed program was:" >&5
13870
sed 's/^/| /' conftest.$ac_ext >&5
13871
13872
	ac_cv_func_shl_load=no
13873
fi
13874
13875
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13876
      conftest$ac_exeext conftest.$ac_ext
13877
fi
13878
{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
13879
echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
13880
if test $ac_cv_func_shl_load = yes; then
13881
  lt_cv_dlopen="shl_load"
13882
else
13883
  { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
13884
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
13885
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
13886
  echo $ECHO_N "(cached) $ECHO_C" >&6
13887
else
13888
  ac_check_lib_save_LIBS=$LIBS
13889
LIBS="-ldld  $LIBS"
13890
cat >conftest.$ac_ext <<_ACEOF
13891
/* confdefs.h.  */
13892
_ACEOF
13893
cat confdefs.h >>conftest.$ac_ext
13894
cat >>conftest.$ac_ext <<_ACEOF
13895
/* end confdefs.h.  */
13896
13897
/* Override any GCC internal prototype to avoid an error.
13898
   Use char because int might match the return type of a GCC
13899
   builtin and then its argument prototype would still apply.  */
13900
#ifdef __cplusplus
13901
extern "C"
13902
#endif
13903
char shl_load ();
13904
int
13905
main ()
13906
{
13907
return shl_load ();
13908
  ;
13909
  return 0;
13910
}
13911
_ACEOF
13912
rm -f conftest.$ac_objext conftest$ac_exeext
13913
if { (ac_try="$ac_link"
13914
case "(($ac_try" in
13915
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13916
  *) ac_try_echo=$ac_try;;
13917
esac
13918
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13919
  (eval "$ac_link") 2>conftest.er1
13920
  ac_status=$?
13921
  grep -v '^ *+' conftest.er1 >conftest.err
13922
  rm -f conftest.er1
13923
  cat conftest.err >&5
13924
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13925
  (exit $ac_status); } && {
13926
	 test -z "$ac_c_werror_flag" ||
13927
	 test ! -s conftest.err
13928
       } && test -s conftest$ac_exeext &&
13929
       $as_test_x conftest$ac_exeext; then
13930
  ac_cv_lib_dld_shl_load=yes
13931
else
13932
  echo "$as_me: failed program was:" >&5
13933
sed 's/^/| /' conftest.$ac_ext >&5
13934
13935
	ac_cv_lib_dld_shl_load=no
13936
fi
13937
13938
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13939
      conftest$ac_exeext conftest.$ac_ext
13940
LIBS=$ac_check_lib_save_LIBS
13941
fi
13942
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
13943
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
13944
if test $ac_cv_lib_dld_shl_load = yes; then
13945
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
13946
else
13947
  { echo "$as_me:$LINENO: checking for dlopen" >&5
13948
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
13949
if test "${ac_cv_func_dlopen+set}" = set; then
13950
  echo $ECHO_N "(cached) $ECHO_C" >&6
13951
else
13952
  cat >conftest.$ac_ext <<_ACEOF
13953
/* confdefs.h.  */
13954
_ACEOF
13955
cat confdefs.h >>conftest.$ac_ext
13956
cat >>conftest.$ac_ext <<_ACEOF
13957
/* end confdefs.h.  */
13958
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
13959
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13960
#define dlopen innocuous_dlopen
13961
13962
/* System header to define __stub macros and hopefully few prototypes,
13963
    which can conflict with char dlopen (); below.
13964
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13965
    <limits.h> exists even on freestanding compilers.  */
13966
13967
#ifdef __STDC__
13968
# include <limits.h>
13969
#else
13970
# include <assert.h>
13971
#endif
13972
13973
#undef dlopen
13974
13975
/* Override any GCC internal prototype to avoid an error.
13976
   Use char because int might match the return type of a GCC
13977
   builtin and then its argument prototype would still apply.  */
13978
#ifdef __cplusplus
13979
extern "C"
13980
#endif
13981
char dlopen ();
13982
/* The GNU C library defines this for functions which it implements
13983
    to always fail with ENOSYS.  Some functions are actually named
13984
    something starting with __ and the normal name is an alias.  */
13985
#if defined __stub_dlopen || defined __stub___dlopen
13986
choke me
13987
#endif
13988
13989
int
13990
main ()
13991
{
13992
return dlopen ();
13993
  ;
13994
  return 0;
13995
}
13996
_ACEOF
13997
rm -f conftest.$ac_objext conftest$ac_exeext
13998
if { (ac_try="$ac_link"
13999
case "(($ac_try" in
14000
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14001
  *) ac_try_echo=$ac_try;;
14002
esac
14003
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14004
  (eval "$ac_link") 2>conftest.er1
14005
  ac_status=$?
14006
  grep -v '^ *+' conftest.er1 >conftest.err
14007
  rm -f conftest.er1
14008
  cat conftest.err >&5
14009
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14010
  (exit $ac_status); } && {
14011
	 test -z "$ac_c_werror_flag" ||
14012
	 test ! -s conftest.err
14013
       } && test -s conftest$ac_exeext &&
14014
       $as_test_x conftest$ac_exeext; then
14015
  ac_cv_func_dlopen=yes
14016
else
14017
  echo "$as_me: failed program was:" >&5
14018
sed 's/^/| /' conftest.$ac_ext >&5
14019
14020
	ac_cv_func_dlopen=no
14021
fi
14022
14023
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14024
      conftest$ac_exeext conftest.$ac_ext
14025
fi
14026
{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
14027
echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
14028
if test $ac_cv_func_dlopen = yes; then
14029
  lt_cv_dlopen="dlopen"
14030
else
14031
  { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
14032
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
14033
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
14034
  echo $ECHO_N "(cached) $ECHO_C" >&6
14035
else
14036
  ac_check_lib_save_LIBS=$LIBS
14037
LIBS="-ldl  $LIBS"
14038
cat >conftest.$ac_ext <<_ACEOF
14039
/* confdefs.h.  */
14040
_ACEOF
14041
cat confdefs.h >>conftest.$ac_ext
14042
cat >>conftest.$ac_ext <<_ACEOF
14043
/* end confdefs.h.  */
14044
14045
/* Override any GCC internal prototype to avoid an error.
14046
   Use char because int might match the return type of a GCC
14047
   builtin and then its argument prototype would still apply.  */
14048
#ifdef __cplusplus
14049
extern "C"
14050
#endif
14051
char dlopen ();
14052
int
14053
main ()
14054
{
14055
return dlopen ();
14056
  ;
14057
  return 0;
14058
}
14059
_ACEOF
14060
rm -f conftest.$ac_objext conftest$ac_exeext
14061
if { (ac_try="$ac_link"
14062
case "(($ac_try" in
14063
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14064
  *) ac_try_echo=$ac_try;;
14065
esac
14066
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14067
  (eval "$ac_link") 2>conftest.er1
14068
  ac_status=$?
14069
  grep -v '^ *+' conftest.er1 >conftest.err
14070
  rm -f conftest.er1
14071
  cat conftest.err >&5
14072
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14073
  (exit $ac_status); } && {
14074
	 test -z "$ac_c_werror_flag" ||
14075
	 test ! -s conftest.err
14076
       } && test -s conftest$ac_exeext &&
14077
       $as_test_x conftest$ac_exeext; then
14078
  ac_cv_lib_dl_dlopen=yes
14079
else
14080
  echo "$as_me: failed program was:" >&5
14081
sed 's/^/| /' conftest.$ac_ext >&5
14082
14083
	ac_cv_lib_dl_dlopen=no
14084
fi
14085
14086
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14087
      conftest$ac_exeext conftest.$ac_ext
14088
LIBS=$ac_check_lib_save_LIBS
14089
fi
14090
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
14091
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
14092
if test $ac_cv_lib_dl_dlopen = yes; then
14093
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
14094
else
14095
  { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
14096
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
14097
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
14098
  echo $ECHO_N "(cached) $ECHO_C" >&6
14099
else
14100
  ac_check_lib_save_LIBS=$LIBS
14101
LIBS="-lsvld  $LIBS"
14102
cat >conftest.$ac_ext <<_ACEOF
14103
/* confdefs.h.  */
14104
_ACEOF
14105
cat confdefs.h >>conftest.$ac_ext
14106
cat >>conftest.$ac_ext <<_ACEOF
14107
/* end confdefs.h.  */
14108
14109
/* Override any GCC internal prototype to avoid an error.
14110
   Use char because int might match the return type of a GCC
14111
   builtin and then its argument prototype would still apply.  */
14112
#ifdef __cplusplus
14113
extern "C"
14114
#endif
14115
char dlopen ();
14116
int
14117
main ()
14118
{
14119
return dlopen ();
14120
  ;
14121
  return 0;
14122
}
14123
_ACEOF
14124
rm -f conftest.$ac_objext conftest$ac_exeext
14125
if { (ac_try="$ac_link"
14126
case "(($ac_try" in
14127
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14128
  *) ac_try_echo=$ac_try;;
14129
esac
14130
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14131
  (eval "$ac_link") 2>conftest.er1
14132
  ac_status=$?
14133
  grep -v '^ *+' conftest.er1 >conftest.err
14134
  rm -f conftest.er1
14135
  cat conftest.err >&5
14136
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14137
  (exit $ac_status); } && {
14138
	 test -z "$ac_c_werror_flag" ||
14139
	 test ! -s conftest.err
14140
       } && test -s conftest$ac_exeext &&
14141
       $as_test_x conftest$ac_exeext; then
14142
  ac_cv_lib_svld_dlopen=yes
14143
else
14144
  echo "$as_me: failed program was:" >&5
14145
sed 's/^/| /' conftest.$ac_ext >&5
14146
14147
	ac_cv_lib_svld_dlopen=no
14148
fi
14149
14150
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14151
      conftest$ac_exeext conftest.$ac_ext
14152
LIBS=$ac_check_lib_save_LIBS
14153
fi
14154
{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
14155
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
14156
if test $ac_cv_lib_svld_dlopen = yes; then
14157
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
14158
else
14159
  { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
14160
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
14161
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
14162
  echo $ECHO_N "(cached) $ECHO_C" >&6
14163
else
14164
  ac_check_lib_save_LIBS=$LIBS
14165
LIBS="-ldld  $LIBS"
14166
cat >conftest.$ac_ext <<_ACEOF
14167
/* confdefs.h.  */
14168
_ACEOF
14169
cat confdefs.h >>conftest.$ac_ext
14170
cat >>conftest.$ac_ext <<_ACEOF
14171
/* end confdefs.h.  */
14172
14173
/* Override any GCC internal prototype to avoid an error.
14174
   Use char because int might match the return type of a GCC
14175
   builtin and then its argument prototype would still apply.  */
14176
#ifdef __cplusplus
14177
extern "C"
14178
#endif
14179
char dld_link ();
14180
int
14181
main ()
14182
{
14183
return dld_link ();
14184
  ;
14185
  return 0;
14186
}
14187
_ACEOF
14188
rm -f conftest.$ac_objext conftest$ac_exeext
14189
if { (ac_try="$ac_link"
14190
case "(($ac_try" in
14191
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14192
  *) ac_try_echo=$ac_try;;
14193
esac
14194
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14195
  (eval "$ac_link") 2>conftest.er1
14196
  ac_status=$?
14197
  grep -v '^ *+' conftest.er1 >conftest.err
14198
  rm -f conftest.er1
14199
  cat conftest.err >&5
14200
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14201
  (exit $ac_status); } && {
14202
	 test -z "$ac_c_werror_flag" ||
14203
	 test ! -s conftest.err
14204
       } && test -s conftest$ac_exeext &&
14205
       $as_test_x conftest$ac_exeext; then
14206
  ac_cv_lib_dld_dld_link=yes
14207
else
14208
  echo "$as_me: failed program was:" >&5
14209
sed 's/^/| /' conftest.$ac_ext >&5
14210
14211
	ac_cv_lib_dld_dld_link=no
14212
fi
14213
14214
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14215
      conftest$ac_exeext conftest.$ac_ext
14216
LIBS=$ac_check_lib_save_LIBS
14217
fi
14218
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
14219
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
14220
if test $ac_cv_lib_dld_dld_link = yes; then
14221
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
14222
fi
14223
14224
14225
fi
14226
14227
14228
fi
14229
14230
14231
fi
14232
14233
14234
fi
14235
14236
14237
fi
14238
14239
    ;;
14240
  esac
14241
14242
  if test "x$lt_cv_dlopen" != xno; then
14243
    enable_dlopen=yes
14244
  else
14245
    enable_dlopen=no
14246
  fi
14247
14248
  case $lt_cv_dlopen in
14249
  dlopen)
14250
    save_CPPFLAGS="$CPPFLAGS"
14251
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
14252
14253
    save_LDFLAGS="$LDFLAGS"
14254
    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
14255
14256
    save_LIBS="$LIBS"
14257
    LIBS="$lt_cv_dlopen_libs $LIBS"
14258
14259
    { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
14260
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
14261
if test "${lt_cv_dlopen_self+set}" = set; then
14262
  echo $ECHO_N "(cached) $ECHO_C" >&6
14263
else
14264
  	  if test "$cross_compiling" = yes; then :
14265
  lt_cv_dlopen_self=cross
14266
else
14267
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
14268
  lt_status=$lt_dlunknown
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
14269
  cat > conftest.$ac_ext <<_LT_EOF
1.1.5 by Christopher James Halse Rogers
Import upstream version 0.8.0
14270
#line 14270 "configure"
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
14271
#include "confdefs.h"
14272
14273
#if HAVE_DLFCN_H
14274
#include <dlfcn.h>
14275
#endif
14276
14277
#include <stdio.h>
14278
14279
#ifdef RTLD_GLOBAL
14280
#  define LT_DLGLOBAL		RTLD_GLOBAL
14281
#else
14282
#  ifdef DL_GLOBAL
14283
#    define LT_DLGLOBAL		DL_GLOBAL
14284
#  else
14285
#    define LT_DLGLOBAL		0
14286
#  endif
14287
#endif
14288
14289
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
14290
   find out it does not work in some platform. */
14291
#ifndef LT_DLLAZY_OR_NOW
14292
#  ifdef RTLD_LAZY
14293
#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
14294
#  else
14295
#    ifdef DL_LAZY
14296
#      define LT_DLLAZY_OR_NOW		DL_LAZY
14297
#    else
14298
#      ifdef RTLD_NOW
14299
#        define LT_DLLAZY_OR_NOW	RTLD_NOW
14300
#      else
14301
#        ifdef DL_NOW
14302
#          define LT_DLLAZY_OR_NOW	DL_NOW
14303
#        else
14304
#          define LT_DLLAZY_OR_NOW	0
14305
#        endif
14306
#      endif
14307
#    endif
14308
#  endif
14309
#endif
14310
14311
void fnord() { int i=42;}
14312
int main ()
14313
{
14314
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14315
  int status = $lt_dlunknown;
14316
14317
  if (self)
14318
    {
14319
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
14320
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
14321
      /* dlclose (self); */
14322
    }
14323
  else
14324
    puts (dlerror ());
14325
1.1.5 by Christopher James Halse Rogers
Import upstream version 0.8.0
14326
  return status;
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
14327
}
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
14328
_LT_EOF
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
14329
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14330
  (eval $ac_link) 2>&5
14331
  ac_status=$?
14332
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14333
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
14334
    (./conftest; exit; ) >&5 2>/dev/null
14335
    lt_status=$?
14336
    case x$lt_status in
14337
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
14338
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
14339
      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
14340
    esac
14341
  else :
14342
    # compilation failed
14343
    lt_cv_dlopen_self=no
14344
  fi
14345
fi
14346
rm -fr conftest*
14347
14348
14349
fi
14350
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
14351
echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
14352
14353
    if test "x$lt_cv_dlopen_self" = xyes; then
14354
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
14355
      { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
14356
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
14357
if test "${lt_cv_dlopen_self_static+set}" = set; then
14358
  echo $ECHO_N "(cached) $ECHO_C" >&6
14359
else
14360
  	  if test "$cross_compiling" = yes; then :
14361
  lt_cv_dlopen_self_static=cross
14362
else
14363
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
14364
  lt_status=$lt_dlunknown
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
14365
  cat > conftest.$ac_ext <<_LT_EOF
1.1.5 by Christopher James Halse Rogers
Import upstream version 0.8.0
14366
#line 14366 "configure"
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
14367
#include "confdefs.h"
14368
14369
#if HAVE_DLFCN_H
14370
#include <dlfcn.h>
14371
#endif
14372
14373
#include <stdio.h>
14374
14375
#ifdef RTLD_GLOBAL
14376
#  define LT_DLGLOBAL		RTLD_GLOBAL
14377
#else
14378
#  ifdef DL_GLOBAL
14379
#    define LT_DLGLOBAL		DL_GLOBAL
14380
#  else
14381
#    define LT_DLGLOBAL		0
14382
#  endif
14383
#endif
14384
14385
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
14386
   find out it does not work in some platform. */
14387
#ifndef LT_DLLAZY_OR_NOW
14388
#  ifdef RTLD_LAZY
14389
#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
14390
#  else
14391
#    ifdef DL_LAZY
14392
#      define LT_DLLAZY_OR_NOW		DL_LAZY
14393
#    else
14394
#      ifdef RTLD_NOW
14395
#        define LT_DLLAZY_OR_NOW	RTLD_NOW
14396
#      else
14397
#        ifdef DL_NOW
14398
#          define LT_DLLAZY_OR_NOW	DL_NOW
14399
#        else
14400
#          define LT_DLLAZY_OR_NOW	0
14401
#        endif
14402
#      endif
14403
#    endif
14404
#  endif
14405
#endif
14406
14407
void fnord() { int i=42;}
14408
int main ()
14409
{
14410
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14411
  int status = $lt_dlunknown;
14412
14413
  if (self)
14414
    {
14415
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
14416
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
14417
      /* dlclose (self); */
14418
    }
14419
  else
14420
    puts (dlerror ());
14421
1.1.5 by Christopher James Halse Rogers
Import upstream version 0.8.0
14422
  return status;
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
14423
}
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
14424
_LT_EOF
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
14425
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14426
  (eval $ac_link) 2>&5
14427
  ac_status=$?
14428
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14429
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
14430
    (./conftest; exit; ) >&5 2>/dev/null
14431
    lt_status=$?
14432
    case x$lt_status in
14433
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
14434
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
14435
      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
14436
    esac
14437
  else :
14438
    # compilation failed
14439
    lt_cv_dlopen_self_static=no
14440
  fi
14441
fi
14442
rm -fr conftest*
14443
14444
14445
fi
14446
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
14447
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
14448
    fi
14449
14450
    CPPFLAGS="$save_CPPFLAGS"
14451
    LDFLAGS="$save_LDFLAGS"
14452
    LIBS="$save_LIBS"
14453
    ;;
14454
  esac
14455
14456
  case $lt_cv_dlopen_self in
14457
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
14458
  *) enable_dlopen_self=unknown ;;
14459
  esac
14460
14461
  case $lt_cv_dlopen_self_static in
14462
  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
14463
  *) enable_dlopen_self_static=unknown ;;
14464
  esac
14465
fi
14466
14467
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
14468
14469
14470
14471
14472
14473
14474
14475
14476
14477
14478
14479
14480
14481
14482
14483
striplib=
14484
old_striplib=
14485
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
14486
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
14487
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
14488
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
14489
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
14490
  { echo "$as_me:$LINENO: result: yes" >&5
14491
echo "${ECHO_T}yes" >&6; }
14492
else
14493
# FIXME - insert some real tests, host_os isn't really good enough
14494
  case $host_os in
14495
  darwin*)
14496
    if test -n "$STRIP" ; then
14497
      striplib="$STRIP -x"
14498
      old_striplib="$STRIP -S"
14499
      { echo "$as_me:$LINENO: result: yes" >&5
14500
echo "${ECHO_T}yes" >&6; }
14501
    else
14502
      { echo "$as_me:$LINENO: result: no" >&5
14503
echo "${ECHO_T}no" >&6; }
14504
    fi
14505
    ;;
14506
  *)
14507
    { echo "$as_me:$LINENO: result: no" >&5
14508
echo "${ECHO_T}no" >&6; }
14509
    ;;
14510
  esac
14511
fi
14512
14513
14514
14515
14516
14517
14518
14519
14520
14521
14522
14523
14524
  # Report which library types will actually be built
14525
  { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
14526
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
14527
  { echo "$as_me:$LINENO: result: $can_build_shared" >&5
14528
echo "${ECHO_T}$can_build_shared" >&6; }
14529
14530
  { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
14531
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
14532
  test "$can_build_shared" = "no" && enable_shared=no
14533
14534
  # On AIX, shared libraries and static libraries use the same namespace, and
14535
  # are all built from PIC.
14536
  case $host_os in
14537
  aix3*)
14538
    test "$enable_shared" = yes && enable_static=no
14539
    if test -n "$RANLIB"; then
14540
      archive_cmds="$archive_cmds~\$RANLIB \$lib"
14541
      postinstall_cmds='$RANLIB $lib'
14542
    fi
14543
    ;;
14544
14545
  aix[4-9]*)
14546
    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
14547
      test "$enable_shared" = yes && enable_static=no
14548
    fi
14549
    ;;
14550
  esac
14551
  { echo "$as_me:$LINENO: result: $enable_shared" >&5
14552
echo "${ECHO_T}$enable_shared" >&6; }
14553
14554
  { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
14555
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
14556
  # Make sure either enable_shared or enable_static is yes.
14557
  test "$enable_shared" = yes || enable_static=yes
14558
  { echo "$as_me:$LINENO: result: $enable_static" >&5
14559
echo "${ECHO_T}$enable_static" >&6; }
14560
14561
14562
14563
14564
fi
14565
ac_ext=c
14566
ac_cpp='$CPP $CPPFLAGS'
14567
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14568
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14569
ac_compiler_gnu=$ac_cv_c_compiler_gnu
14570
14571
CC="$lt_save_CC"
14572
14573
14574
14575
14576
14577
14578
14579
14580
14581
14582
14583
14584
14585
        ac_config_commands="$ac_config_commands libtool"
14586
14587
14588
14589
14590
# Only expand once:
14591
14592
14593
14594
14595
	expanded_libdir=`(
14596
		case $prefix in
14597
			NONE) prefix=$ac_default_prefix ;;
14598
			*) ;;
14599
		esac
14600
		case $exec_prefix in
14601
			NONE) exec_prefix=$prefix ;;
14602
			*) ;;
14603
		esac
14604
		eval echo $libdir
14605
	)`
14606
14607
14608
14609
	expanded_bindir=`(
14610
		case $prefix in
14611
			NONE) prefix=$ac_default_prefix ;;
14612
			*) ;;
14613
		esac
14614
		case $exec_prefix in
14615
			NONE) exec_prefix=$prefix ;;
14616
			*) ;;
14617
		esac
14618
		eval echo $bindir
14619
	)`
14620
14621
14622
14623
	case $prefix in
14624
		NONE) prefix=$ac_default_prefix ;;
14625
		*) ;;
14626
	esac
14627
14628
	case $exec_prefix in
14629
		NONE) exec_prefix=$prefix ;;
14630
		*) ;;
14631
	esac
14632
14633
	expanded_datadir=`(eval echo $datadir)`
14634
	expanded_datadir=`(eval echo $expanded_datadir)`
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
14635
14636
14637
14638
1 by Christopher James Halse Rogers
Import upstream version 0.3.2.1
14639
14640
14641
14642
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
14643
	if test -n "$ac_tool_prefix"; then
14644
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
14645
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
14646
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
14647
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14648
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
14649
  echo $ECHO_N "(cached) $ECHO_C" >&6
14650
else
14651
  case $PKG_CONFIG in
14652
  [\\/]* | ?:[\\/]*)
14653
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
14654
  ;;
14655
  *)
14656
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14657
for as_dir in $PATH
14658
do
14659
  IFS=$as_save_IFS
14660
  test -z "$as_dir" && as_dir=.
14661
  for ac_exec_ext in '' $ac_executable_extensions; do
14662
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14663
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14664
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14665
    break 2
14666
  fi
14667
done
14668
done
14669
IFS=$as_save_IFS
14670
14671
  ;;
14672
esac
14673
fi
14674
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
14675
if test -n "$PKG_CONFIG"; then
14676
  { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
14677
echo "${ECHO_T}$PKG_CONFIG" >&6; }
14678
else
14679
  { echo "$as_me:$LINENO: result: no" >&5
14680
echo "${ECHO_T}no" >&6; }
14681
fi
14682
14683
14684
fi
14685
if test -z "$ac_cv_path_PKG_CONFIG"; then
14686
  ac_pt_PKG_CONFIG=$PKG_CONFIG
14687
  # Extract the first word of "pkg-config", so it can be a program name with args.
14688
set dummy pkg-config; ac_word=$2
14689
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
14690
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14691
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
14692
  echo $ECHO_N "(cached) $ECHO_C" >&6
14693
else
14694
  case $ac_pt_PKG_CONFIG in
14695
  [\\/]* | ?:[\\/]*)
14696
  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
14697
  ;;
14698
  *)
14699
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14700
for as_dir in $PATH
14701
do
14702
  IFS=$as_save_IFS
14703
  test -z "$as_dir" && as_dir=.
14704
  for ac_exec_ext in '' $ac_executable_extensions; do
14705
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14706
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14707
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14708
    break 2
14709
  fi
14710
done
14711
done
14712
IFS=$as_save_IFS
14713
14714
  ;;
14715
esac
14716
fi
14717
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
14718
if test -n "$ac_pt_PKG_CONFIG"; then
14719
  { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
14720
echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
14721
else
14722
  { echo "$as_me:$LINENO: result: no" >&5
14723
echo "${ECHO_T}no" >&6; }
14724
fi
14725
14726
  if test "x$ac_pt_PKG_CONFIG" = x; then
14727
    PKG_CONFIG=""
14728
  else
14729
    case $cross_compiling:$ac_tool_warned in
14730
yes:)
14731
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14732
whose name does not start with the host triplet.  If you think this
14733
configuration is useful to you, please write to autoconf@gnu.org." >&5
14734
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14735
whose name does not start with the host triplet.  If you think this
14736
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14737
ac_tool_warned=yes ;;
14738
esac
14739
    PKG_CONFIG=$ac_pt_PKG_CONFIG
14740
  fi
14741
else
14742
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
14743
fi
14744
14745
fi
14746
if test -n "$PKG_CONFIG"; then
14747
	_pkg_min_version=0.9.0
14748
	{ echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
14749
echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
14750
	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
14751
		{ echo "$as_me:$LINENO: result: yes" >&5
14752
echo "${ECHO_T}yes" >&6; }
14753
	else
14754
		{ echo "$as_me:$LINENO: result: no" >&5
14755
echo "${ECHO_T}no" >&6; }
14756
		PKG_CONFIG=""
14757
	fi
14758
14759
fi
14760
14761
pkg_failed=no
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
14762
{ echo "$as_me:$LINENO: checking for LIBDO" >&5
14763
echo $ECHO_N "checking for LIBDO... $ECHO_C" >&6; }
14764
14765
if test -n "$PKG_CONFIG"; then
14766
    if test -n "$LIBDO_CFLAGS"; then
14767
        pkg_cv_LIBDO_CFLAGS="$LIBDO_CFLAGS"
14768
    else
14769
        if test -n "$PKG_CONFIG" && \
14770
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 gdk-2.0 gdk-x11-2.0 gtk+-2.0\"") >&5
14771
  ($PKG_CONFIG --exists --print-errors "glib-2.0 gdk-2.0 gdk-x11-2.0 gtk+-2.0") 2>&5
14772
  ac_status=$?
14773
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14774
  (exit $ac_status); }; then
14775
  pkg_cv_LIBDO_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 gdk-2.0 gdk-x11-2.0 gtk+-2.0" 2>/dev/null`
14776
else
14777
  pkg_failed=yes
14778
fi
14779
    fi
14780
else
14781
	pkg_failed=untried
14782
fi
14783
if test -n "$PKG_CONFIG"; then
14784
    if test -n "$LIBDO_LIBS"; then
14785
        pkg_cv_LIBDO_LIBS="$LIBDO_LIBS"
14786
    else
14787
        if test -n "$PKG_CONFIG" && \
14788
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 gdk-2.0 gdk-x11-2.0 gtk+-2.0\"") >&5
14789
  ($PKG_CONFIG --exists --print-errors "glib-2.0 gdk-2.0 gdk-x11-2.0 gtk+-2.0") 2>&5
14790
  ac_status=$?
14791
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14792
  (exit $ac_status); }; then
14793
  pkg_cv_LIBDO_LIBS=`$PKG_CONFIG --libs "glib-2.0 gdk-2.0 gdk-x11-2.0 gtk+-2.0" 2>/dev/null`
14794
else
14795
  pkg_failed=yes
14796
fi
14797
    fi
14798
else
14799
	pkg_failed=untried
14800
fi
14801
14802
14803
14804
if test $pkg_failed = yes; then
14805
14806
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14807
        _pkg_short_errors_supported=yes
14808
else
14809
        _pkg_short_errors_supported=no
14810
fi
14811
        if test $_pkg_short_errors_supported = yes; then
14812
	        LIBDO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glib-2.0 gdk-2.0 gdk-x11-2.0 gtk+-2.0"`
14813
        else
14814
	        LIBDO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 gdk-2.0 gdk-x11-2.0 gtk+-2.0"`
14815
        fi
14816
	# Put the nasty error message in config.log where it belongs
14817
	echo "$LIBDO_PKG_ERRORS" >&5
14818
14819
	{ { echo "$as_me:$LINENO: error: Package requirements (glib-2.0 gdk-2.0 gdk-x11-2.0 gtk+-2.0) were not met:
14820
14821
$LIBDO_PKG_ERRORS
14822
14823
Consider adjusting the PKG_CONFIG_PATH environment variable if you
14824
installed software in a non-standard prefix.
14825
14826
Alternatively, you may set the environment variables LIBDO_CFLAGS
14827
and LIBDO_LIBS to avoid the need to call pkg-config.
14828
See the pkg-config man page for more details.
14829
" >&5
14830
echo "$as_me: error: Package requirements (glib-2.0 gdk-2.0 gdk-x11-2.0 gtk+-2.0) were not met:
14831
14832
$LIBDO_PKG_ERRORS
14833
14834
Consider adjusting the PKG_CONFIG_PATH environment variable if you
14835
installed software in a non-standard prefix.
14836
14837
Alternatively, you may set the environment variables LIBDO_CFLAGS
14838
and LIBDO_LIBS to avoid the need to call pkg-config.
14839
See the pkg-config man page for more details.
14840
" >&2;}
14841
   { (exit 1); exit 1; }; }
14842
elif test $pkg_failed = untried; then
14843
	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
14844
is in your PATH or set the PKG_CONFIG environment variable to the full
14845
path to pkg-config.
14846
14847
Alternatively, you may set the environment variables LIBDO_CFLAGS
14848
and LIBDO_LIBS to avoid the need to call pkg-config.
14849
See the pkg-config man page for more details.
14850
14851
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14852
See \`config.log' for more details." >&5
14853
echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
14854
is in your PATH or set the PKG_CONFIG environment variable to the full
14855
path to pkg-config.
14856
14857
Alternatively, you may set the environment variables LIBDO_CFLAGS
14858
and LIBDO_LIBS to avoid the need to call pkg-config.
14859
See the pkg-config man page for more details.
14860
14861
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14862
See \`config.log' for more details." >&2;}
14863
   { (exit 1); exit 1; }; }
14864
else
14865
	LIBDO_CFLAGS=$pkg_cv_LIBDO_CFLAGS
14866
	LIBDO_LIBS=$pkg_cv_LIBDO_LIBS
14867
        { echo "$as_me:$LINENO: result: yes" >&5
14868
echo "${ECHO_T}yes" >&6; }
14869
	:
14870
fi
14871
14872
14873
14874
14875
pkg_failed=no
1 by Christopher James Halse Rogers
Import upstream version 0.3.2.1
14876
{ echo "$as_me:$LINENO: checking for GCONF_SHARP_20" >&5
14877
echo $ECHO_N "checking for GCONF_SHARP_20... $ECHO_C" >&6; }
14878
14879
if test -n "$PKG_CONFIG"; then
14880
    if test -n "$GCONF_SHARP_20_CFLAGS"; then
14881
        pkg_cv_GCONF_SHARP_20_CFLAGS="$GCONF_SHARP_20_CFLAGS"
14882
    else
14883
        if test -n "$PKG_CONFIG" && \
14884
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gconf-sharp-2.0\"") >&5
14885
  ($PKG_CONFIG --exists --print-errors "gconf-sharp-2.0") 2>&5
14886
  ac_status=$?
14887
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14888
  (exit $ac_status); }; then
14889
  pkg_cv_GCONF_SHARP_20_CFLAGS=`$PKG_CONFIG --cflags "gconf-sharp-2.0" 2>/dev/null`
14890
else
14891
  pkg_failed=yes
14892
fi
14893
    fi
14894
else
14895
	pkg_failed=untried
14896
fi
14897
if test -n "$PKG_CONFIG"; then
14898
    if test -n "$GCONF_SHARP_20_LIBS"; then
14899
        pkg_cv_GCONF_SHARP_20_LIBS="$GCONF_SHARP_20_LIBS"
14900
    else
14901
        if test -n "$PKG_CONFIG" && \
14902
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gconf-sharp-2.0\"") >&5
14903
  ($PKG_CONFIG --exists --print-errors "gconf-sharp-2.0") 2>&5
14904
  ac_status=$?
14905
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14906
  (exit $ac_status); }; then
14907
  pkg_cv_GCONF_SHARP_20_LIBS=`$PKG_CONFIG --libs "gconf-sharp-2.0" 2>/dev/null`
14908
else
14909
  pkg_failed=yes
14910
fi
14911
    fi
14912
else
14913
	pkg_failed=untried
14914
fi
14915
14916
14917
14918
if test $pkg_failed = yes; then
14919
14920
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14921
        _pkg_short_errors_supported=yes
14922
else
14923
        _pkg_short_errors_supported=no
14924
fi
14925
        if test $_pkg_short_errors_supported = yes; then
14926
	        GCONF_SHARP_20_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gconf-sharp-2.0"`
14927
        else
14928
	        GCONF_SHARP_20_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gconf-sharp-2.0"`
14929
        fi
14930
	# Put the nasty error message in config.log where it belongs
14931
	echo "$GCONF_SHARP_20_PKG_ERRORS" >&5
14932
14933
	{ { echo "$as_me:$LINENO: error: Package requirements (gconf-sharp-2.0) were not met:
14934
14935
$GCONF_SHARP_20_PKG_ERRORS
14936
14937
Consider adjusting the PKG_CONFIG_PATH environment variable if you
14938
installed software in a non-standard prefix.
14939
14940
Alternatively, you may set the environment variables GCONF_SHARP_20_CFLAGS
14941
and GCONF_SHARP_20_LIBS to avoid the need to call pkg-config.
14942
See the pkg-config man page for more details.
14943
" >&5
14944
echo "$as_me: error: Package requirements (gconf-sharp-2.0) were not met:
14945
14946
$GCONF_SHARP_20_PKG_ERRORS
14947
14948
Consider adjusting the PKG_CONFIG_PATH environment variable if you
14949
installed software in a non-standard prefix.
14950
14951
Alternatively, you may set the environment variables GCONF_SHARP_20_CFLAGS
14952
and GCONF_SHARP_20_LIBS to avoid the need to call pkg-config.
14953
See the pkg-config man page for more details.
14954
" >&2;}
14955
   { (exit 1); exit 1; }; }
14956
elif test $pkg_failed = untried; then
14957
	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
14958
is in your PATH or set the PKG_CONFIG environment variable to the full
14959
path to pkg-config.
14960
14961
Alternatively, you may set the environment variables GCONF_SHARP_20_CFLAGS
14962
and GCONF_SHARP_20_LIBS to avoid the need to call pkg-config.
14963
See the pkg-config man page for more details.
14964
14965
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14966
See \`config.log' for more details." >&5
14967
echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
14968
is in your PATH or set the PKG_CONFIG environment variable to the full
14969
path to pkg-config.
14970
14971
Alternatively, you may set the environment variables GCONF_SHARP_20_CFLAGS
14972
and GCONF_SHARP_20_LIBS to avoid the need to call pkg-config.
14973
See the pkg-config man page for more details.
14974
14975
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14976
See \`config.log' for more details." >&2;}
14977
   { (exit 1); exit 1; }; }
14978
else
14979
	GCONF_SHARP_20_CFLAGS=$pkg_cv_GCONF_SHARP_20_CFLAGS
14980
	GCONF_SHARP_20_LIBS=$pkg_cv_GCONF_SHARP_20_LIBS
14981
        { echo "$as_me:$LINENO: result: yes" >&5
14982
echo "${ECHO_T}yes" >&6; }
14983
	:
14984
fi
14985
14986
pkg_failed=no
14987
{ echo "$as_me:$LINENO: checking for GLADE_SHARP_20" >&5
14988
echo $ECHO_N "checking for GLADE_SHARP_20... $ECHO_C" >&6; }
14989
14990
if test -n "$PKG_CONFIG"; then
14991
    if test -n "$GLADE_SHARP_20_CFLAGS"; then
14992
        pkg_cv_GLADE_SHARP_20_CFLAGS="$GLADE_SHARP_20_CFLAGS"
14993
    else
14994
        if test -n "$PKG_CONFIG" && \
14995
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glade-sharp-2.0\"") >&5
14996
  ($PKG_CONFIG --exists --print-errors "glade-sharp-2.0") 2>&5
14997
  ac_status=$?
14998
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14999
  (exit $ac_status); }; then
15000
  pkg_cv_GLADE_SHARP_20_CFLAGS=`$PKG_CONFIG --cflags "glade-sharp-2.0" 2>/dev/null`
15001
else
15002
  pkg_failed=yes
15003
fi
15004
    fi
15005
else
15006
	pkg_failed=untried
15007
fi
15008
if test -n "$PKG_CONFIG"; then
15009
    if test -n "$GLADE_SHARP_20_LIBS"; then
15010
        pkg_cv_GLADE_SHARP_20_LIBS="$GLADE_SHARP_20_LIBS"
15011
    else
15012
        if test -n "$PKG_CONFIG" && \
15013
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glade-sharp-2.0\"") >&5
15014
  ($PKG_CONFIG --exists --print-errors "glade-sharp-2.0") 2>&5
15015
  ac_status=$?
15016
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15017
  (exit $ac_status); }; then
15018
  pkg_cv_GLADE_SHARP_20_LIBS=`$PKG_CONFIG --libs "glade-sharp-2.0" 2>/dev/null`
15019
else
15020
  pkg_failed=yes
15021
fi
15022
    fi
15023
else
15024
	pkg_failed=untried
15025
fi
15026
15027
15028
15029
if test $pkg_failed = yes; then
15030
15031
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15032
        _pkg_short_errors_supported=yes
15033
else
15034
        _pkg_short_errors_supported=no
15035
fi
15036
        if test $_pkg_short_errors_supported = yes; then
15037
	        GLADE_SHARP_20_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glade-sharp-2.0"`
15038
        else
15039
	        GLADE_SHARP_20_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glade-sharp-2.0"`
15040
        fi
15041
	# Put the nasty error message in config.log where it belongs
15042
	echo "$GLADE_SHARP_20_PKG_ERRORS" >&5
15043
15044
	{ { echo "$as_me:$LINENO: error: Package requirements (glade-sharp-2.0) were not met:
15045
15046
$GLADE_SHARP_20_PKG_ERRORS
15047
15048
Consider adjusting the PKG_CONFIG_PATH environment variable if you
15049
installed software in a non-standard prefix.
15050
15051
Alternatively, you may set the environment variables GLADE_SHARP_20_CFLAGS
15052
and GLADE_SHARP_20_LIBS to avoid the need to call pkg-config.
15053
See the pkg-config man page for more details.
15054
" >&5
15055
echo "$as_me: error: Package requirements (glade-sharp-2.0) were not met:
15056
15057
$GLADE_SHARP_20_PKG_ERRORS
15058
15059
Consider adjusting the PKG_CONFIG_PATH environment variable if you
15060
installed software in a non-standard prefix.
15061
15062
Alternatively, you may set the environment variables GLADE_SHARP_20_CFLAGS
15063
and GLADE_SHARP_20_LIBS to avoid the need to call pkg-config.
15064
See the pkg-config man page for more details.
15065
" >&2;}
15066
   { (exit 1); exit 1; }; }
15067
elif test $pkg_failed = untried; then
15068
	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
15069
is in your PATH or set the PKG_CONFIG environment variable to the full
15070
path to pkg-config.
15071
15072
Alternatively, you may set the environment variables GLADE_SHARP_20_CFLAGS
15073
and GLADE_SHARP_20_LIBS to avoid the need to call pkg-config.
15074
See the pkg-config man page for more details.
15075
15076
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15077
See \`config.log' for more details." >&5
15078
echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
15079
is in your PATH or set the PKG_CONFIG environment variable to the full
15080
path to pkg-config.
15081
15082
Alternatively, you may set the environment variables GLADE_SHARP_20_CFLAGS
15083
and GLADE_SHARP_20_LIBS to avoid the need to call pkg-config.
15084
See the pkg-config man page for more details.
15085
15086
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15087
See \`config.log' for more details." >&2;}
15088
   { (exit 1); exit 1; }; }
15089
else
15090
	GLADE_SHARP_20_CFLAGS=$pkg_cv_GLADE_SHARP_20_CFLAGS
15091
	GLADE_SHARP_20_LIBS=$pkg_cv_GLADE_SHARP_20_LIBS
15092
        { echo "$as_me:$LINENO: result: yes" >&5
15093
echo "${ECHO_T}yes" >&6; }
15094
	:
15095
fi
15096
15097
pkg_failed=no
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
15098
{ echo "$as_me:$LINENO: checking for GLIB_SHARP_20" >&5
15099
echo $ECHO_N "checking for GLIB_SHARP_20... $ECHO_C" >&6; }
15100
15101
if test -n "$PKG_CONFIG"; then
15102
    if test -n "$GLIB_SHARP_20_CFLAGS"; then
15103
        pkg_cv_GLIB_SHARP_20_CFLAGS="$GLIB_SHARP_20_CFLAGS"
15104
    else
15105
        if test -n "$PKG_CONFIG" && \
15106
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-sharp-2.0\"") >&5
15107
  ($PKG_CONFIG --exists --print-errors "glib-sharp-2.0") 2>&5
15108
  ac_status=$?
15109
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15110
  (exit $ac_status); }; then
15111
  pkg_cv_GLIB_SHARP_20_CFLAGS=`$PKG_CONFIG --cflags "glib-sharp-2.0" 2>/dev/null`
15112
else
15113
  pkg_failed=yes
15114
fi
15115
    fi
15116
else
15117
	pkg_failed=untried
15118
fi
15119
if test -n "$PKG_CONFIG"; then
15120
    if test -n "$GLIB_SHARP_20_LIBS"; then
15121
        pkg_cv_GLIB_SHARP_20_LIBS="$GLIB_SHARP_20_LIBS"
15122
    else
15123
        if test -n "$PKG_CONFIG" && \
15124
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-sharp-2.0\"") >&5
15125
  ($PKG_CONFIG --exists --print-errors "glib-sharp-2.0") 2>&5
15126
  ac_status=$?
15127
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15128
  (exit $ac_status); }; then
15129
  pkg_cv_GLIB_SHARP_20_LIBS=`$PKG_CONFIG --libs "glib-sharp-2.0" 2>/dev/null`
15130
else
15131
  pkg_failed=yes
15132
fi
15133
    fi
15134
else
15135
	pkg_failed=untried
15136
fi
15137
15138
15139
15140
if test $pkg_failed = yes; then
15141
15142
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15143
        _pkg_short_errors_supported=yes
15144
else
15145
        _pkg_short_errors_supported=no
15146
fi
15147
        if test $_pkg_short_errors_supported = yes; then
15148
	        GLIB_SHARP_20_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glib-sharp-2.0"`
15149
        else
15150
	        GLIB_SHARP_20_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-sharp-2.0"`
15151
        fi
15152
	# Put the nasty error message in config.log where it belongs
15153
	echo "$GLIB_SHARP_20_PKG_ERRORS" >&5
15154
15155
	{ { echo "$as_me:$LINENO: error: Package requirements (glib-sharp-2.0) were not met:
15156
15157
$GLIB_SHARP_20_PKG_ERRORS
15158
15159
Consider adjusting the PKG_CONFIG_PATH environment variable if you
15160
installed software in a non-standard prefix.
15161
15162
Alternatively, you may set the environment variables GLIB_SHARP_20_CFLAGS
15163
and GLIB_SHARP_20_LIBS to avoid the need to call pkg-config.
15164
See the pkg-config man page for more details.
15165
" >&5
15166
echo "$as_me: error: Package requirements (glib-sharp-2.0) were not met:
15167
15168
$GLIB_SHARP_20_PKG_ERRORS
15169
15170
Consider adjusting the PKG_CONFIG_PATH environment variable if you
15171
installed software in a non-standard prefix.
15172
15173
Alternatively, you may set the environment variables GLIB_SHARP_20_CFLAGS
15174
and GLIB_SHARP_20_LIBS to avoid the need to call pkg-config.
15175
See the pkg-config man page for more details.
15176
" >&2;}
15177
   { (exit 1); exit 1; }; }
15178
elif test $pkg_failed = untried; then
15179
	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
15180
is in your PATH or set the PKG_CONFIG environment variable to the full
15181
path to pkg-config.
15182
15183
Alternatively, you may set the environment variables GLIB_SHARP_20_CFLAGS
15184
and GLIB_SHARP_20_LIBS to avoid the need to call pkg-config.
15185
See the pkg-config man page for more details.
15186
15187
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15188
See \`config.log' for more details." >&5
15189
echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
15190
is in your PATH or set the PKG_CONFIG environment variable to the full
15191
path to pkg-config.
15192
15193
Alternatively, you may set the environment variables GLIB_SHARP_20_CFLAGS
15194
and GLIB_SHARP_20_LIBS to avoid the need to call pkg-config.
15195
See the pkg-config man page for more details.
15196
15197
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15198
See \`config.log' for more details." >&2;}
15199
   { (exit 1); exit 1; }; }
15200
else
15201
	GLIB_SHARP_20_CFLAGS=$pkg_cv_GLIB_SHARP_20_CFLAGS
15202
	GLIB_SHARP_20_LIBS=$pkg_cv_GLIB_SHARP_20_LIBS
15203
        { echo "$as_me:$LINENO: result: yes" >&5
15204
echo "${ECHO_T}yes" >&6; }
15205
	:
15206
fi
15207
15208
pkg_failed=no
15209
{ echo "$as_me:$LINENO: checking for GNOME_DESKTOP_SHARP_20" >&5
15210
echo $ECHO_N "checking for GNOME_DESKTOP_SHARP_20... $ECHO_C" >&6; }
15211
15212
if test -n "$PKG_CONFIG"; then
15213
    if test -n "$GNOME_DESKTOP_SHARP_20_CFLAGS"; then
15214
        pkg_cv_GNOME_DESKTOP_SHARP_20_CFLAGS="$GNOME_DESKTOP_SHARP_20_CFLAGS"
15215
    else
15216
        if test -n "$PKG_CONFIG" && \
15217
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-desktop-sharp-2.0\"") >&5
15218
  ($PKG_CONFIG --exists --print-errors "gnome-desktop-sharp-2.0") 2>&5
15219
  ac_status=$?
15220
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15221
  (exit $ac_status); }; then
15222
  pkg_cv_GNOME_DESKTOP_SHARP_20_CFLAGS=`$PKG_CONFIG --cflags "gnome-desktop-sharp-2.0" 2>/dev/null`
15223
else
15224
  pkg_failed=yes
15225
fi
15226
    fi
15227
else
15228
	pkg_failed=untried
15229
fi
15230
if test -n "$PKG_CONFIG"; then
15231
    if test -n "$GNOME_DESKTOP_SHARP_20_LIBS"; then
15232
        pkg_cv_GNOME_DESKTOP_SHARP_20_LIBS="$GNOME_DESKTOP_SHARP_20_LIBS"
15233
    else
15234
        if test -n "$PKG_CONFIG" && \
15235
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-desktop-sharp-2.0\"") >&5
15236
  ($PKG_CONFIG --exists --print-errors "gnome-desktop-sharp-2.0") 2>&5
15237
  ac_status=$?
15238
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15239
  (exit $ac_status); }; then
15240
  pkg_cv_GNOME_DESKTOP_SHARP_20_LIBS=`$PKG_CONFIG --libs "gnome-desktop-sharp-2.0" 2>/dev/null`
15241
else
15242
  pkg_failed=yes
15243
fi
15244
    fi
15245
else
15246
	pkg_failed=untried
15247
fi
15248
15249
15250
15251
if test $pkg_failed = yes; then
15252
15253
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15254
        _pkg_short_errors_supported=yes
15255
else
15256
        _pkg_short_errors_supported=no
15257
fi
15258
        if test $_pkg_short_errors_supported = yes; then
15259
	        GNOME_DESKTOP_SHARP_20_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-desktop-sharp-2.0"`
15260
        else
15261
	        GNOME_DESKTOP_SHARP_20_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-desktop-sharp-2.0"`
15262
        fi
15263
	# Put the nasty error message in config.log where it belongs
15264
	echo "$GNOME_DESKTOP_SHARP_20_PKG_ERRORS" >&5
15265
15266
	{ { echo "$as_me:$LINENO: error: Package requirements (gnome-desktop-sharp-2.0) were not met:
15267
15268
$GNOME_DESKTOP_SHARP_20_PKG_ERRORS
15269
15270
Consider adjusting the PKG_CONFIG_PATH environment variable if you
15271
installed software in a non-standard prefix.
15272
15273
Alternatively, you may set the environment variables GNOME_DESKTOP_SHARP_20_CFLAGS
15274
and GNOME_DESKTOP_SHARP_20_LIBS to avoid the need to call pkg-config.
15275
See the pkg-config man page for more details.
15276
" >&5
15277
echo "$as_me: error: Package requirements (gnome-desktop-sharp-2.0) were not met:
15278
15279
$GNOME_DESKTOP_SHARP_20_PKG_ERRORS
15280
15281
Consider adjusting the PKG_CONFIG_PATH environment variable if you
15282
installed software in a non-standard prefix.
15283
15284
Alternatively, you may set the environment variables GNOME_DESKTOP_SHARP_20_CFLAGS
15285
and GNOME_DESKTOP_SHARP_20_LIBS to avoid the need to call pkg-config.
15286
See the pkg-config man page for more details.
15287
" >&2;}
15288
   { (exit 1); exit 1; }; }
15289
elif test $pkg_failed = untried; then
15290
	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
15291
is in your PATH or set the PKG_CONFIG environment variable to the full
15292
path to pkg-config.
15293
15294
Alternatively, you may set the environment variables GNOME_DESKTOP_SHARP_20_CFLAGS
15295
and GNOME_DESKTOP_SHARP_20_LIBS to avoid the need to call pkg-config.
15296
See the pkg-config man page for more details.
15297
15298
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15299
See \`config.log' for more details." >&5
15300
echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
15301
is in your PATH or set the PKG_CONFIG environment variable to the full
15302
path to pkg-config.
15303
15304
Alternatively, you may set the environment variables GNOME_DESKTOP_SHARP_20_CFLAGS
15305
and GNOME_DESKTOP_SHARP_20_LIBS to avoid the need to call pkg-config.
15306
See the pkg-config man page for more details.
15307
15308
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15309
See \`config.log' for more details." >&2;}
15310
   { (exit 1); exit 1; }; }
15311
else
15312
	GNOME_DESKTOP_SHARP_20_CFLAGS=$pkg_cv_GNOME_DESKTOP_SHARP_20_CFLAGS
15313
	GNOME_DESKTOP_SHARP_20_LIBS=$pkg_cv_GNOME_DESKTOP_SHARP_20_LIBS
15314
        { echo "$as_me:$LINENO: result: yes" >&5
15315
echo "${ECHO_T}yes" >&6; }
15316
	:
15317
fi
15318
15319
pkg_failed=no
15320
{ echo "$as_me:$LINENO: checking for GNOME_KEYRING_SHARP" >&5
15321
echo $ECHO_N "checking for GNOME_KEYRING_SHARP... $ECHO_C" >&6; }
15322
15323
if test -n "$PKG_CONFIG"; then
15324
    if test -n "$GNOME_KEYRING_SHARP_CFLAGS"; then
15325
        pkg_cv_GNOME_KEYRING_SHARP_CFLAGS="$GNOME_KEYRING_SHARP_CFLAGS"
15326
    else
15327
        if test -n "$PKG_CONFIG" && \
15328
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-keyring-sharp-1.0\"") >&5
15329
  ($PKG_CONFIG --exists --print-errors "gnome-keyring-sharp-1.0") 2>&5
15330
  ac_status=$?
15331
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15332
  (exit $ac_status); }; then
15333
  pkg_cv_GNOME_KEYRING_SHARP_CFLAGS=`$PKG_CONFIG --cflags "gnome-keyring-sharp-1.0" 2>/dev/null`
15334
else
15335
  pkg_failed=yes
15336
fi
15337
    fi
15338
else
15339
	pkg_failed=untried
15340
fi
15341
if test -n "$PKG_CONFIG"; then
15342
    if test -n "$GNOME_KEYRING_SHARP_LIBS"; then
15343
        pkg_cv_GNOME_KEYRING_SHARP_LIBS="$GNOME_KEYRING_SHARP_LIBS"
15344
    else
15345
        if test -n "$PKG_CONFIG" && \
15346
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-keyring-sharp-1.0\"") >&5
15347
  ($PKG_CONFIG --exists --print-errors "gnome-keyring-sharp-1.0") 2>&5
15348
  ac_status=$?
15349
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15350
  (exit $ac_status); }; then
15351
  pkg_cv_GNOME_KEYRING_SHARP_LIBS=`$PKG_CONFIG --libs "gnome-keyring-sharp-1.0" 2>/dev/null`
15352
else
15353
  pkg_failed=yes
15354
fi
15355
    fi
15356
else
15357
	pkg_failed=untried
15358
fi
15359
15360
15361
15362
if test $pkg_failed = yes; then
15363
15364
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15365
        _pkg_short_errors_supported=yes
15366
else
15367
        _pkg_short_errors_supported=no
15368
fi
15369
        if test $_pkg_short_errors_supported = yes; then
15370
	        GNOME_KEYRING_SHARP_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-keyring-sharp-1.0"`
15371
        else
15372
	        GNOME_KEYRING_SHARP_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-keyring-sharp-1.0"`
15373
        fi
15374
	# Put the nasty error message in config.log where it belongs
15375
	echo "$GNOME_KEYRING_SHARP_PKG_ERRORS" >&5
15376
15377
	{ { echo "$as_me:$LINENO: error: Package requirements (gnome-keyring-sharp-1.0) were not met:
15378
15379
$GNOME_KEYRING_SHARP_PKG_ERRORS
15380
15381
Consider adjusting the PKG_CONFIG_PATH environment variable if you
15382
installed software in a non-standard prefix.
15383
15384
Alternatively, you may set the environment variables GNOME_KEYRING_SHARP_CFLAGS
15385
and GNOME_KEYRING_SHARP_LIBS to avoid the need to call pkg-config.
15386
See the pkg-config man page for more details.
15387
" >&5
15388
echo "$as_me: error: Package requirements (gnome-keyring-sharp-1.0) were not met:
15389
15390
$GNOME_KEYRING_SHARP_PKG_ERRORS
15391
15392
Consider adjusting the PKG_CONFIG_PATH environment variable if you
15393
installed software in a non-standard prefix.
15394
15395
Alternatively, you may set the environment variables GNOME_KEYRING_SHARP_CFLAGS
15396
and GNOME_KEYRING_SHARP_LIBS to avoid the need to call pkg-config.
15397
See the pkg-config man page for more details.
15398
" >&2;}
15399
   { (exit 1); exit 1; }; }
15400
elif test $pkg_failed = untried; then
15401
	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
15402
is in your PATH or set the PKG_CONFIG environment variable to the full
15403
path to pkg-config.
15404
15405
Alternatively, you may set the environment variables GNOME_KEYRING_SHARP_CFLAGS
15406
and GNOME_KEYRING_SHARP_LIBS to avoid the need to call pkg-config.
15407
See the pkg-config man page for more details.
15408
15409
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15410
See \`config.log' for more details." >&5
15411
echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
15412
is in your PATH or set the PKG_CONFIG environment variable to the full
15413
path to pkg-config.
15414
15415
Alternatively, you may set the environment variables GNOME_KEYRING_SHARP_CFLAGS
15416
and GNOME_KEYRING_SHARP_LIBS to avoid the need to call pkg-config.
15417
See the pkg-config man page for more details.
15418
15419
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15420
See \`config.log' for more details." >&2;}
15421
   { (exit 1); exit 1; }; }
15422
else
15423
	GNOME_KEYRING_SHARP_CFLAGS=$pkg_cv_GNOME_KEYRING_SHARP_CFLAGS
15424
	GNOME_KEYRING_SHARP_LIBS=$pkg_cv_GNOME_KEYRING_SHARP_LIBS
15425
        { echo "$as_me:$LINENO: result: yes" >&5
15426
echo "${ECHO_T}yes" >&6; }
15427
	:
15428
fi
15429
15430
pkg_failed=no
15431
{ echo "$as_me:$LINENO: checking for GNOME_SHARP_20" >&5
15432
echo $ECHO_N "checking for GNOME_SHARP_20... $ECHO_C" >&6; }
15433
15434
if test -n "$PKG_CONFIG"; then
15435
    if test -n "$GNOME_SHARP_20_CFLAGS"; then
15436
        pkg_cv_GNOME_SHARP_20_CFLAGS="$GNOME_SHARP_20_CFLAGS"
15437
    else
15438
        if test -n "$PKG_CONFIG" && \
15439
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-sharp-2.0\"") >&5
15440
  ($PKG_CONFIG --exists --print-errors "gnome-sharp-2.0") 2>&5
15441
  ac_status=$?
15442
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15443
  (exit $ac_status); }; then
15444
  pkg_cv_GNOME_SHARP_20_CFLAGS=`$PKG_CONFIG --cflags "gnome-sharp-2.0" 2>/dev/null`
15445
else
15446
  pkg_failed=yes
15447
fi
15448
    fi
15449
else
15450
	pkg_failed=untried
15451
fi
15452
if test -n "$PKG_CONFIG"; then
15453
    if test -n "$GNOME_SHARP_20_LIBS"; then
15454
        pkg_cv_GNOME_SHARP_20_LIBS="$GNOME_SHARP_20_LIBS"
15455
    else
15456
        if test -n "$PKG_CONFIG" && \
15457
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-sharp-2.0\"") >&5
15458
  ($PKG_CONFIG --exists --print-errors "gnome-sharp-2.0") 2>&5
15459
  ac_status=$?
15460
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15461
  (exit $ac_status); }; then
15462
  pkg_cv_GNOME_SHARP_20_LIBS=`$PKG_CONFIG --libs "gnome-sharp-2.0" 2>/dev/null`
15463
else
15464
  pkg_failed=yes
15465
fi
15466
    fi
15467
else
15468
	pkg_failed=untried
15469
fi
15470
15471
15472
15473
if test $pkg_failed = yes; then
15474
15475
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15476
        _pkg_short_errors_supported=yes
15477
else
15478
        _pkg_short_errors_supported=no
15479
fi
15480
        if test $_pkg_short_errors_supported = yes; then
15481
	        GNOME_SHARP_20_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-sharp-2.0"`
15482
        else
15483
	        GNOME_SHARP_20_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-sharp-2.0"`
15484
        fi
15485
	# Put the nasty error message in config.log where it belongs
15486
	echo "$GNOME_SHARP_20_PKG_ERRORS" >&5
15487
15488
	{ { echo "$as_me:$LINENO: error: Package requirements (gnome-sharp-2.0) were not met:
15489
15490
$GNOME_SHARP_20_PKG_ERRORS
15491
15492
Consider adjusting the PKG_CONFIG_PATH environment variable if you
15493
installed software in a non-standard prefix.
15494
15495
Alternatively, you may set the environment variables GNOME_SHARP_20_CFLAGS
15496
and GNOME_SHARP_20_LIBS to avoid the need to call pkg-config.
15497
See the pkg-config man page for more details.
15498
" >&5
15499
echo "$as_me: error: Package requirements (gnome-sharp-2.0) were not met:
15500
15501
$GNOME_SHARP_20_PKG_ERRORS
15502
15503
Consider adjusting the PKG_CONFIG_PATH environment variable if you
15504
installed software in a non-standard prefix.
15505
15506
Alternatively, you may set the environment variables GNOME_SHARP_20_CFLAGS
15507
and GNOME_SHARP_20_LIBS to avoid the need to call pkg-config.
15508
See the pkg-config man page for more details.
15509
" >&2;}
15510
   { (exit 1); exit 1; }; }
15511
elif test $pkg_failed = untried; then
15512
	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
15513
is in your PATH or set the PKG_CONFIG environment variable to the full
15514
path to pkg-config.
15515
15516
Alternatively, you may set the environment variables GNOME_SHARP_20_CFLAGS
15517
and GNOME_SHARP_20_LIBS to avoid the need to call pkg-config.
15518
See the pkg-config man page for more details.
15519
15520
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15521
See \`config.log' for more details." >&5
15522
echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
15523
is in your PATH or set the PKG_CONFIG environment variable to the full
15524
path to pkg-config.
15525
15526
Alternatively, you may set the environment variables GNOME_SHARP_20_CFLAGS
15527
and GNOME_SHARP_20_LIBS to avoid the need to call pkg-config.
15528
See the pkg-config man page for more details.
15529
15530
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15531
See \`config.log' for more details." >&2;}
15532
   { (exit 1); exit 1; }; }
15533
else
15534
	GNOME_SHARP_20_CFLAGS=$pkg_cv_GNOME_SHARP_20_CFLAGS
15535
	GNOME_SHARP_20_LIBS=$pkg_cv_GNOME_SHARP_20_LIBS
15536
        { echo "$as_me:$LINENO: result: yes" >&5
15537
echo "${ECHO_T}yes" >&6; }
15538
	:
15539
fi
15540
15541
pkg_failed=no
15542
{ echo "$as_me:$LINENO: checking for GNOME_VFS_SHARP_20" >&5
15543
echo $ECHO_N "checking for GNOME_VFS_SHARP_20... $ECHO_C" >&6; }
15544
15545
if test -n "$PKG_CONFIG"; then
15546
    if test -n "$GNOME_VFS_SHARP_20_CFLAGS"; then
15547
        pkg_cv_GNOME_VFS_SHARP_20_CFLAGS="$GNOME_VFS_SHARP_20_CFLAGS"
15548
    else
15549
        if test -n "$PKG_CONFIG" && \
15550
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-sharp-2.0\"") >&5
15551
  ($PKG_CONFIG --exists --print-errors "gnome-vfs-sharp-2.0") 2>&5
15552
  ac_status=$?
15553
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15554
  (exit $ac_status); }; then
15555
  pkg_cv_GNOME_VFS_SHARP_20_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-sharp-2.0" 2>/dev/null`
15556
else
15557
  pkg_failed=yes
15558
fi
15559
    fi
15560
else
15561
	pkg_failed=untried
15562
fi
15563
if test -n "$PKG_CONFIG"; then
15564
    if test -n "$GNOME_VFS_SHARP_20_LIBS"; then
15565
        pkg_cv_GNOME_VFS_SHARP_20_LIBS="$GNOME_VFS_SHARP_20_LIBS"
15566
    else
15567
        if test -n "$PKG_CONFIG" && \
15568
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-sharp-2.0\"") >&5
15569
  ($PKG_CONFIG --exists --print-errors "gnome-vfs-sharp-2.0") 2>&5
15570
  ac_status=$?
15571
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15572
  (exit $ac_status); }; then
15573
  pkg_cv_GNOME_VFS_SHARP_20_LIBS=`$PKG_CONFIG --libs "gnome-vfs-sharp-2.0" 2>/dev/null`
15574
else
15575
  pkg_failed=yes
15576
fi
15577
    fi
15578
else
15579
	pkg_failed=untried
15580
fi
15581
15582
15583
15584
if test $pkg_failed = yes; then
15585
15586
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15587
        _pkg_short_errors_supported=yes
15588
else
15589
        _pkg_short_errors_supported=no
15590
fi
15591
        if test $_pkg_short_errors_supported = yes; then
15592
	        GNOME_VFS_SHARP_20_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-sharp-2.0"`
15593
        else
15594
	        GNOME_VFS_SHARP_20_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-sharp-2.0"`
15595
        fi
15596
	# Put the nasty error message in config.log where it belongs
15597
	echo "$GNOME_VFS_SHARP_20_PKG_ERRORS" >&5
15598
15599
	{ { echo "$as_me:$LINENO: error: Package requirements (gnome-vfs-sharp-2.0) were not met:
15600
15601
$GNOME_VFS_SHARP_20_PKG_ERRORS
15602
15603
Consider adjusting the PKG_CONFIG_PATH environment variable if you
15604
installed software in a non-standard prefix.
15605
15606
Alternatively, you may set the environment variables GNOME_VFS_SHARP_20_CFLAGS
15607
and GNOME_VFS_SHARP_20_LIBS to avoid the need to call pkg-config.
15608
See the pkg-config man page for more details.
15609
" >&5
15610
echo "$as_me: error: Package requirements (gnome-vfs-sharp-2.0) were not met:
15611
15612
$GNOME_VFS_SHARP_20_PKG_ERRORS
15613
15614
Consider adjusting the PKG_CONFIG_PATH environment variable if you
15615
installed software in a non-standard prefix.
15616
15617
Alternatively, you may set the environment variables GNOME_VFS_SHARP_20_CFLAGS
15618
and GNOME_VFS_SHARP_20_LIBS to avoid the need to call pkg-config.
15619
See the pkg-config man page for more details.
15620
" >&2;}
15621
   { (exit 1); exit 1; }; }
15622
elif test $pkg_failed = untried; then
15623
	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
15624
is in your PATH or set the PKG_CONFIG environment variable to the full
15625
path to pkg-config.
15626
15627
Alternatively, you may set the environment variables GNOME_VFS_SHARP_20_CFLAGS
15628
and GNOME_VFS_SHARP_20_LIBS to avoid the need to call pkg-config.
15629
See the pkg-config man page for more details.
15630
15631
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15632
See \`config.log' for more details." >&5
15633
echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
15634
is in your PATH or set the PKG_CONFIG environment variable to the full
15635
path to pkg-config.
15636
15637
Alternatively, you may set the environment variables GNOME_VFS_SHARP_20_CFLAGS
15638
and GNOME_VFS_SHARP_20_LIBS to avoid the need to call pkg-config.
15639
See the pkg-config man page for more details.
15640
15641
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15642
See \`config.log' for more details." >&2;}
15643
   { (exit 1); exit 1; }; }
15644
else
15645
	GNOME_VFS_SHARP_20_CFLAGS=$pkg_cv_GNOME_VFS_SHARP_20_CFLAGS
15646
	GNOME_VFS_SHARP_20_LIBS=$pkg_cv_GNOME_VFS_SHARP_20_LIBS
15647
        { echo "$as_me:$LINENO: result: yes" >&5
15648
echo "${ECHO_T}yes" >&6; }
15649
	:
15650
fi
15651
15652
pkg_failed=no
15653
{ echo "$as_me:$LINENO: checking for GTK_SHARP_20" >&5
15654
echo $ECHO_N "checking for GTK_SHARP_20... $ECHO_C" >&6; }
15655
15656
if test -n "$PKG_CONFIG"; then
15657
    if test -n "$GTK_SHARP_20_CFLAGS"; then
15658
        pkg_cv_GTK_SHARP_20_CFLAGS="$GTK_SHARP_20_CFLAGS"
15659
    else
15660
        if test -n "$PKG_CONFIG" && \
15661
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk-sharp-2.0\"") >&5
15662
  ($PKG_CONFIG --exists --print-errors "gtk-sharp-2.0") 2>&5
15663
  ac_status=$?
15664
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15665
  (exit $ac_status); }; then
15666
  pkg_cv_GTK_SHARP_20_CFLAGS=`$PKG_CONFIG --cflags "gtk-sharp-2.0" 2>/dev/null`
15667
else
15668
  pkg_failed=yes
15669
fi
15670
    fi
15671
else
15672
	pkg_failed=untried
15673
fi
15674
if test -n "$PKG_CONFIG"; then
15675
    if test -n "$GTK_SHARP_20_LIBS"; then
15676
        pkg_cv_GTK_SHARP_20_LIBS="$GTK_SHARP_20_LIBS"
15677
    else
15678
        if test -n "$PKG_CONFIG" && \
15679
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk-sharp-2.0\"") >&5
15680
  ($PKG_CONFIG --exists --print-errors "gtk-sharp-2.0") 2>&5
15681
  ac_status=$?
15682
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15683
  (exit $ac_status); }; then
15684
  pkg_cv_GTK_SHARP_20_LIBS=`$PKG_CONFIG --libs "gtk-sharp-2.0" 2>/dev/null`
15685
else
15686
  pkg_failed=yes
15687
fi
15688
    fi
15689
else
15690
	pkg_failed=untried
15691
fi
15692
15693
15694
15695
if test $pkg_failed = yes; then
15696
15697
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15698
        _pkg_short_errors_supported=yes
15699
else
15700
        _pkg_short_errors_supported=no
15701
fi
15702
        if test $_pkg_short_errors_supported = yes; then
15703
	        GTK_SHARP_20_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk-sharp-2.0"`
15704
        else
15705
	        GTK_SHARP_20_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk-sharp-2.0"`
15706
        fi
15707
	# Put the nasty error message in config.log where it belongs
15708
	echo "$GTK_SHARP_20_PKG_ERRORS" >&5
15709
15710
	{ { echo "$as_me:$LINENO: error: Package requirements (gtk-sharp-2.0) were not met:
15711
15712
$GTK_SHARP_20_PKG_ERRORS
15713
15714
Consider adjusting the PKG_CONFIG_PATH environment variable if you
15715
installed software in a non-standard prefix.
15716
15717
Alternatively, you may set the environment variables GTK_SHARP_20_CFLAGS
15718
and GTK_SHARP_20_LIBS to avoid the need to call pkg-config.
15719
See the pkg-config man page for more details.
15720
" >&5
15721
echo "$as_me: error: Package requirements (gtk-sharp-2.0) were not met:
15722
15723
$GTK_SHARP_20_PKG_ERRORS
15724
15725
Consider adjusting the PKG_CONFIG_PATH environment variable if you
15726
installed software in a non-standard prefix.
15727
15728
Alternatively, you may set the environment variables GTK_SHARP_20_CFLAGS
15729
and GTK_SHARP_20_LIBS to avoid the need to call pkg-config.
15730
See the pkg-config man page for more details.
15731
" >&2;}
15732
   { (exit 1); exit 1; }; }
15733
elif test $pkg_failed = untried; then
15734
	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
15735
is in your PATH or set the PKG_CONFIG environment variable to the full
15736
path to pkg-config.
15737
15738
Alternatively, you may set the environment variables GTK_SHARP_20_CFLAGS
15739
and GTK_SHARP_20_LIBS to avoid the need to call pkg-config.
15740
See the pkg-config man page for more details.
15741
15742
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15743
See \`config.log' for more details." >&5
15744
echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
15745
is in your PATH or set the PKG_CONFIG environment variable to the full
15746
path to pkg-config.
15747
15748
Alternatively, you may set the environment variables GTK_SHARP_20_CFLAGS
15749
and GTK_SHARP_20_LIBS to avoid the need to call pkg-config.
15750
See the pkg-config man page for more details.
15751
15752
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15753
See \`config.log' for more details." >&2;}
15754
   { (exit 1); exit 1; }; }
15755
else
15756
	GTK_SHARP_20_CFLAGS=$pkg_cv_GTK_SHARP_20_CFLAGS
15757
	GTK_SHARP_20_LIBS=$pkg_cv_GTK_SHARP_20_LIBS
15758
        { echo "$as_me:$LINENO: result: yes" >&5
15759
echo "${ECHO_T}yes" >&6; }
15760
	:
15761
fi
15762
15763
pkg_failed=no
15764
{ echo "$as_me:$LINENO: checking for MONO_ADDINS" >&5
15765
echo $ECHO_N "checking for MONO_ADDINS... $ECHO_C" >&6; }
15766
15767
if test -n "$PKG_CONFIG"; then
15768
    if test -n "$MONO_ADDINS_CFLAGS"; then
15769
        pkg_cv_MONO_ADDINS_CFLAGS="$MONO_ADDINS_CFLAGS"
15770
    else
15771
        if test -n "$PKG_CONFIG" && \
15772
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"mono-addins\"") >&5
15773
  ($PKG_CONFIG --exists --print-errors "mono-addins") 2>&5
15774
  ac_status=$?
15775
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15776
  (exit $ac_status); }; then
15777
  pkg_cv_MONO_ADDINS_CFLAGS=`$PKG_CONFIG --cflags "mono-addins" 2>/dev/null`
15778
else
15779
  pkg_failed=yes
15780
fi
15781
    fi
15782
else
15783
	pkg_failed=untried
15784
fi
15785
if test -n "$PKG_CONFIG"; then
15786
    if test -n "$MONO_ADDINS_LIBS"; then
15787
        pkg_cv_MONO_ADDINS_LIBS="$MONO_ADDINS_LIBS"
15788
    else
15789
        if test -n "$PKG_CONFIG" && \
15790
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"mono-addins\"") >&5
15791
  ($PKG_CONFIG --exists --print-errors "mono-addins") 2>&5
15792
  ac_status=$?
15793
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15794
  (exit $ac_status); }; then
15795
  pkg_cv_MONO_ADDINS_LIBS=`$PKG_CONFIG --libs "mono-addins" 2>/dev/null`
15796
else
15797
  pkg_failed=yes
15798
fi
15799
    fi
15800
else
15801
	pkg_failed=untried
15802
fi
15803
15804
15805
15806
if test $pkg_failed = yes; then
15807
15808
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15809
        _pkg_short_errors_supported=yes
15810
else
15811
        _pkg_short_errors_supported=no
15812
fi
15813
        if test $_pkg_short_errors_supported = yes; then
15814
	        MONO_ADDINS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "mono-addins"`
15815
        else
15816
	        MONO_ADDINS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "mono-addins"`
15817
        fi
15818
	# Put the nasty error message in config.log where it belongs
15819
	echo "$MONO_ADDINS_PKG_ERRORS" >&5
15820
15821
	{ { echo "$as_me:$LINENO: error: Package requirements (mono-addins) were not met:
15822
15823
$MONO_ADDINS_PKG_ERRORS
15824
15825
Consider adjusting the PKG_CONFIG_PATH environment variable if you
15826
installed software in a non-standard prefix.
15827
15828
Alternatively, you may set the environment variables MONO_ADDINS_CFLAGS
15829
and MONO_ADDINS_LIBS to avoid the need to call pkg-config.
15830
See the pkg-config man page for more details.
15831
" >&5
15832
echo "$as_me: error: Package requirements (mono-addins) were not met:
15833
15834
$MONO_ADDINS_PKG_ERRORS
15835
15836
Consider adjusting the PKG_CONFIG_PATH environment variable if you
15837
installed software in a non-standard prefix.
15838
15839
Alternatively, you may set the environment variables MONO_ADDINS_CFLAGS
15840
and MONO_ADDINS_LIBS to avoid the need to call pkg-config.
15841
See the pkg-config man page for more details.
15842
" >&2;}
15843
   { (exit 1); exit 1; }; }
15844
elif test $pkg_failed = untried; then
15845
	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
15846
is in your PATH or set the PKG_CONFIG environment variable to the full
15847
path to pkg-config.
15848
15849
Alternatively, you may set the environment variables MONO_ADDINS_CFLAGS
15850
and MONO_ADDINS_LIBS to avoid the need to call pkg-config.
15851
See the pkg-config man page for more details.
15852
15853
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15854
See \`config.log' for more details." >&5
15855
echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
15856
is in your PATH or set the PKG_CONFIG environment variable to the full
15857
path to pkg-config.
15858
15859
Alternatively, you may set the environment variables MONO_ADDINS_CFLAGS
15860
and MONO_ADDINS_LIBS to avoid the need to call pkg-config.
15861
See the pkg-config man page for more details.
15862
15863
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15864
See \`config.log' for more details." >&2;}
15865
   { (exit 1); exit 1; }; }
15866
else
15867
	MONO_ADDINS_CFLAGS=$pkg_cv_MONO_ADDINS_CFLAGS
15868
	MONO_ADDINS_LIBS=$pkg_cv_MONO_ADDINS_LIBS
15869
        { echo "$as_me:$LINENO: result: yes" >&5
15870
echo "${ECHO_T}yes" >&6; }
15871
	:
15872
fi
15873
15874
pkg_failed=no
15875
{ echo "$as_me:$LINENO: checking for MONO_ADDINS_GUI" >&5
15876
echo $ECHO_N "checking for MONO_ADDINS_GUI... $ECHO_C" >&6; }
15877
15878
if test -n "$PKG_CONFIG"; then
15879
    if test -n "$MONO_ADDINS_GUI_CFLAGS"; then
15880
        pkg_cv_MONO_ADDINS_GUI_CFLAGS="$MONO_ADDINS_GUI_CFLAGS"
15881
    else
15882
        if test -n "$PKG_CONFIG" && \
15883
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"mono-addins-gui\"") >&5
15884
  ($PKG_CONFIG --exists --print-errors "mono-addins-gui") 2>&5
15885
  ac_status=$?
15886
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15887
  (exit $ac_status); }; then
15888
  pkg_cv_MONO_ADDINS_GUI_CFLAGS=`$PKG_CONFIG --cflags "mono-addins-gui" 2>/dev/null`
15889
else
15890
  pkg_failed=yes
15891
fi
15892
    fi
15893
else
15894
	pkg_failed=untried
15895
fi
15896
if test -n "$PKG_CONFIG"; then
15897
    if test -n "$MONO_ADDINS_GUI_LIBS"; then
15898
        pkg_cv_MONO_ADDINS_GUI_LIBS="$MONO_ADDINS_GUI_LIBS"
15899
    else
15900
        if test -n "$PKG_CONFIG" && \
15901
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"mono-addins-gui\"") >&5
15902
  ($PKG_CONFIG --exists --print-errors "mono-addins-gui") 2>&5
15903
  ac_status=$?
15904
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15905
  (exit $ac_status); }; then
15906
  pkg_cv_MONO_ADDINS_GUI_LIBS=`$PKG_CONFIG --libs "mono-addins-gui" 2>/dev/null`
15907
else
15908
  pkg_failed=yes
15909
fi
15910
    fi
15911
else
15912
	pkg_failed=untried
15913
fi
15914
15915
15916
15917
if test $pkg_failed = yes; then
15918
15919
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15920
        _pkg_short_errors_supported=yes
15921
else
15922
        _pkg_short_errors_supported=no
15923
fi
15924
        if test $_pkg_short_errors_supported = yes; then
15925
	        MONO_ADDINS_GUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "mono-addins-gui"`
15926
        else
15927
	        MONO_ADDINS_GUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "mono-addins-gui"`
15928
        fi
15929
	# Put the nasty error message in config.log where it belongs
15930
	echo "$MONO_ADDINS_GUI_PKG_ERRORS" >&5
15931
15932
	{ { echo "$as_me:$LINENO: error: Package requirements (mono-addins-gui) were not met:
15933
15934
$MONO_ADDINS_GUI_PKG_ERRORS
15935
15936
Consider adjusting the PKG_CONFIG_PATH environment variable if you
15937
installed software in a non-standard prefix.
15938
15939
Alternatively, you may set the environment variables MONO_ADDINS_GUI_CFLAGS
15940
and MONO_ADDINS_GUI_LIBS to avoid the need to call pkg-config.
15941
See the pkg-config man page for more details.
15942
" >&5
15943
echo "$as_me: error: Package requirements (mono-addins-gui) were not met:
15944
15945
$MONO_ADDINS_GUI_PKG_ERRORS
15946
15947
Consider adjusting the PKG_CONFIG_PATH environment variable if you
15948
installed software in a non-standard prefix.
15949
15950
Alternatively, you may set the environment variables MONO_ADDINS_GUI_CFLAGS
15951
and MONO_ADDINS_GUI_LIBS to avoid the need to call pkg-config.
15952
See the pkg-config man page for more details.
15953
" >&2;}
15954
   { (exit 1); exit 1; }; }
15955
elif test $pkg_failed = untried; then
15956
	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
15957
is in your PATH or set the PKG_CONFIG environment variable to the full
15958
path to pkg-config.
15959
15960
Alternatively, you may set the environment variables MONO_ADDINS_GUI_CFLAGS
15961
and MONO_ADDINS_GUI_LIBS to avoid the need to call pkg-config.
15962
See the pkg-config man page for more details.
15963
15964
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15965
See \`config.log' for more details." >&5
15966
echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
15967
is in your PATH or set the PKG_CONFIG environment variable to the full
15968
path to pkg-config.
15969
15970
Alternatively, you may set the environment variables MONO_ADDINS_GUI_CFLAGS
15971
and MONO_ADDINS_GUI_LIBS to avoid the need to call pkg-config.
15972
See the pkg-config man page for more details.
15973
15974
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15975
See \`config.log' for more details." >&2;}
15976
   { (exit 1); exit 1; }; }
15977
else
15978
	MONO_ADDINS_GUI_CFLAGS=$pkg_cv_MONO_ADDINS_GUI_CFLAGS
15979
	MONO_ADDINS_GUI_LIBS=$pkg_cv_MONO_ADDINS_GUI_LIBS
15980
        { echo "$as_me:$LINENO: result: yes" >&5
15981
echo "${ECHO_T}yes" >&6; }
15982
	:
15983
fi
15984
15985
pkg_failed=no
15986
{ echo "$as_me:$LINENO: checking for MONO_ADDINS_SETUP" >&5
15987
echo $ECHO_N "checking for MONO_ADDINS_SETUP... $ECHO_C" >&6; }
15988
15989
if test -n "$PKG_CONFIG"; then
15990
    if test -n "$MONO_ADDINS_SETUP_CFLAGS"; then
15991
        pkg_cv_MONO_ADDINS_SETUP_CFLAGS="$MONO_ADDINS_SETUP_CFLAGS"
15992
    else
15993
        if test -n "$PKG_CONFIG" && \
15994
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"mono-addins-setup\"") >&5
15995
  ($PKG_CONFIG --exists --print-errors "mono-addins-setup") 2>&5
15996
  ac_status=$?
15997
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15998
  (exit $ac_status); }; then
15999
  pkg_cv_MONO_ADDINS_SETUP_CFLAGS=`$PKG_CONFIG --cflags "mono-addins-setup" 2>/dev/null`
16000
else
16001
  pkg_failed=yes
16002
fi
16003
    fi
16004
else
16005
	pkg_failed=untried
16006
fi
16007
if test -n "$PKG_CONFIG"; then
16008
    if test -n "$MONO_ADDINS_SETUP_LIBS"; then
16009
        pkg_cv_MONO_ADDINS_SETUP_LIBS="$MONO_ADDINS_SETUP_LIBS"
16010
    else
16011
        if test -n "$PKG_CONFIG" && \
16012
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"mono-addins-setup\"") >&5
16013
  ($PKG_CONFIG --exists --print-errors "mono-addins-setup") 2>&5
16014
  ac_status=$?
16015
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16016
  (exit $ac_status); }; then
16017
  pkg_cv_MONO_ADDINS_SETUP_LIBS=`$PKG_CONFIG --libs "mono-addins-setup" 2>/dev/null`
16018
else
16019
  pkg_failed=yes
16020
fi
16021
    fi
16022
else
16023
	pkg_failed=untried
16024
fi
16025
16026
16027
16028
if test $pkg_failed = yes; then
16029
16030
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16031
        _pkg_short_errors_supported=yes
16032
else
16033
        _pkg_short_errors_supported=no
16034
fi
16035
        if test $_pkg_short_errors_supported = yes; then
16036
	        MONO_ADDINS_SETUP_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "mono-addins-setup"`
16037
        else
16038
	        MONO_ADDINS_SETUP_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "mono-addins-setup"`
16039
        fi
16040
	# Put the nasty error message in config.log where it belongs
16041
	echo "$MONO_ADDINS_SETUP_PKG_ERRORS" >&5
16042
16043
	{ { echo "$as_me:$LINENO: error: Package requirements (mono-addins-setup) were not met:
16044
16045
$MONO_ADDINS_SETUP_PKG_ERRORS
16046
16047
Consider adjusting the PKG_CONFIG_PATH environment variable if you
16048
installed software in a non-standard prefix.
16049
16050
Alternatively, you may set the environment variables MONO_ADDINS_SETUP_CFLAGS
16051
and MONO_ADDINS_SETUP_LIBS to avoid the need to call pkg-config.
16052
See the pkg-config man page for more details.
16053
" >&5
16054
echo "$as_me: error: Package requirements (mono-addins-setup) were not met:
16055
16056
$MONO_ADDINS_SETUP_PKG_ERRORS
16057
16058
Consider adjusting the PKG_CONFIG_PATH environment variable if you
16059
installed software in a non-standard prefix.
16060
16061
Alternatively, you may set the environment variables MONO_ADDINS_SETUP_CFLAGS
16062
and MONO_ADDINS_SETUP_LIBS to avoid the need to call pkg-config.
16063
See the pkg-config man page for more details.
16064
" >&2;}
16065
   { (exit 1); exit 1; }; }
16066
elif test $pkg_failed = untried; then
16067
	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
16068
is in your PATH or set the PKG_CONFIG environment variable to the full
16069
path to pkg-config.
16070
16071
Alternatively, you may set the environment variables MONO_ADDINS_SETUP_CFLAGS
16072
and MONO_ADDINS_SETUP_LIBS to avoid the need to call pkg-config.
16073
See the pkg-config man page for more details.
16074
16075
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16076
See \`config.log' for more details." >&5
16077
echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
16078
is in your PATH or set the PKG_CONFIG environment variable to the full
16079
path to pkg-config.
16080
16081
Alternatively, you may set the environment variables MONO_ADDINS_SETUP_CFLAGS
16082
and MONO_ADDINS_SETUP_LIBS to avoid the need to call pkg-config.
16083
See the pkg-config man page for more details.
16084
16085
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16086
See \`config.log' for more details." >&2;}
16087
   { (exit 1); exit 1; }; }
16088
else
16089
	MONO_ADDINS_SETUP_CFLAGS=$pkg_cv_MONO_ADDINS_SETUP_CFLAGS
16090
	MONO_ADDINS_SETUP_LIBS=$pkg_cv_MONO_ADDINS_SETUP_LIBS
16091
        { echo "$as_me:$LINENO: result: yes" >&5
16092
echo "${ECHO_T}yes" >&6; }
16093
	:
16094
fi
16095
16096
pkg_failed=no
1 by Christopher James Halse Rogers
Import upstream version 0.3.2.1
16097
{ echo "$as_me:$LINENO: checking for NDESK_DBUS_10" >&5
16098
echo $ECHO_N "checking for NDESK_DBUS_10... $ECHO_C" >&6; }
16099
16100
if test -n "$PKG_CONFIG"; then
16101
    if test -n "$NDESK_DBUS_10_CFLAGS"; then
16102
        pkg_cv_NDESK_DBUS_10_CFLAGS="$NDESK_DBUS_10_CFLAGS"
16103
    else
16104
        if test -n "$PKG_CONFIG" && \
16105
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"ndesk-dbus-1.0\"") >&5
16106
  ($PKG_CONFIG --exists --print-errors "ndesk-dbus-1.0") 2>&5
16107
  ac_status=$?
16108
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16109
  (exit $ac_status); }; then
16110
  pkg_cv_NDESK_DBUS_10_CFLAGS=`$PKG_CONFIG --cflags "ndesk-dbus-1.0" 2>/dev/null`
16111
else
16112
  pkg_failed=yes
16113
fi
16114
    fi
16115
else
16116
	pkg_failed=untried
16117
fi
16118
if test -n "$PKG_CONFIG"; then
16119
    if test -n "$NDESK_DBUS_10_LIBS"; then
16120
        pkg_cv_NDESK_DBUS_10_LIBS="$NDESK_DBUS_10_LIBS"
16121
    else
16122
        if test -n "$PKG_CONFIG" && \
16123
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"ndesk-dbus-1.0\"") >&5
16124
  ($PKG_CONFIG --exists --print-errors "ndesk-dbus-1.0") 2>&5
16125
  ac_status=$?
16126
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16127
  (exit $ac_status); }; then
16128
  pkg_cv_NDESK_DBUS_10_LIBS=`$PKG_CONFIG --libs "ndesk-dbus-1.0" 2>/dev/null`
16129
else
16130
  pkg_failed=yes
16131
fi
16132
    fi
16133
else
16134
	pkg_failed=untried
16135
fi
16136
16137
16138
16139
if test $pkg_failed = yes; then
16140
16141
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16142
        _pkg_short_errors_supported=yes
16143
else
16144
        _pkg_short_errors_supported=no
16145
fi
16146
        if test $_pkg_short_errors_supported = yes; then
16147
	        NDESK_DBUS_10_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "ndesk-dbus-1.0"`
16148
        else
16149
	        NDESK_DBUS_10_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "ndesk-dbus-1.0"`
16150
        fi
16151
	# Put the nasty error message in config.log where it belongs
16152
	echo "$NDESK_DBUS_10_PKG_ERRORS" >&5
16153
16154
	{ { echo "$as_me:$LINENO: error: Package requirements (ndesk-dbus-1.0) were not met:
16155
16156
$NDESK_DBUS_10_PKG_ERRORS
16157
16158
Consider adjusting the PKG_CONFIG_PATH environment variable if you
16159
installed software in a non-standard prefix.
16160
16161
Alternatively, you may set the environment variables NDESK_DBUS_10_CFLAGS
16162
and NDESK_DBUS_10_LIBS to avoid the need to call pkg-config.
16163
See the pkg-config man page for more details.
16164
" >&5
16165
echo "$as_me: error: Package requirements (ndesk-dbus-1.0) were not met:
16166
16167
$NDESK_DBUS_10_PKG_ERRORS
16168
16169
Consider adjusting the PKG_CONFIG_PATH environment variable if you
16170
installed software in a non-standard prefix.
16171
16172
Alternatively, you may set the environment variables NDESK_DBUS_10_CFLAGS
16173
and NDESK_DBUS_10_LIBS to avoid the need to call pkg-config.
16174
See the pkg-config man page for more details.
16175
" >&2;}
16176
   { (exit 1); exit 1; }; }
16177
elif test $pkg_failed = untried; then
16178
	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
16179
is in your PATH or set the PKG_CONFIG environment variable to the full
16180
path to pkg-config.
16181
16182
Alternatively, you may set the environment variables NDESK_DBUS_10_CFLAGS
16183
and NDESK_DBUS_10_LIBS to avoid the need to call pkg-config.
16184
See the pkg-config man page for more details.
16185
16186
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16187
See \`config.log' for more details." >&5
16188
echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
16189
is in your PATH or set the PKG_CONFIG environment variable to the full
16190
path to pkg-config.
16191
16192
Alternatively, you may set the environment variables NDESK_DBUS_10_CFLAGS
16193
and NDESK_DBUS_10_LIBS to avoid the need to call pkg-config.
16194
See the pkg-config man page for more details.
16195
16196
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16197
See \`config.log' for more details." >&2;}
16198
   { (exit 1); exit 1; }; }
16199
else
16200
	NDESK_DBUS_10_CFLAGS=$pkg_cv_NDESK_DBUS_10_CFLAGS
16201
	NDESK_DBUS_10_LIBS=$pkg_cv_NDESK_DBUS_10_LIBS
16202
        { echo "$as_me:$LINENO: result: yes" >&5
16203
echo "${ECHO_T}yes" >&6; }
16204
	:
16205
fi
16206
16207
pkg_failed=no
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
16208
{ echo "$as_me:$LINENO: checking for NDESK_DBUS_GLIB_10" >&5
16209
echo $ECHO_N "checking for NDESK_DBUS_GLIB_10... $ECHO_C" >&6; }
16210
16211
if test -n "$PKG_CONFIG"; then
16212
    if test -n "$NDESK_DBUS_GLIB_10_CFLAGS"; then
16213
        pkg_cv_NDESK_DBUS_GLIB_10_CFLAGS="$NDESK_DBUS_GLIB_10_CFLAGS"
16214
    else
16215
        if test -n "$PKG_CONFIG" && \
16216
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"ndesk-dbus-glib-1.0\"") >&5
16217
  ($PKG_CONFIG --exists --print-errors "ndesk-dbus-glib-1.0") 2>&5
16218
  ac_status=$?
16219
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16220
  (exit $ac_status); }; then
16221
  pkg_cv_NDESK_DBUS_GLIB_10_CFLAGS=`$PKG_CONFIG --cflags "ndesk-dbus-glib-1.0" 2>/dev/null`
16222
else
16223
  pkg_failed=yes
16224
fi
16225
    fi
16226
else
16227
	pkg_failed=untried
16228
fi
16229
if test -n "$PKG_CONFIG"; then
16230
    if test -n "$NDESK_DBUS_GLIB_10_LIBS"; then
16231
        pkg_cv_NDESK_DBUS_GLIB_10_LIBS="$NDESK_DBUS_GLIB_10_LIBS"
16232
    else
16233
        if test -n "$PKG_CONFIG" && \
16234
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"ndesk-dbus-glib-1.0\"") >&5
16235
  ($PKG_CONFIG --exists --print-errors "ndesk-dbus-glib-1.0") 2>&5
16236
  ac_status=$?
16237
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16238
  (exit $ac_status); }; then
16239
  pkg_cv_NDESK_DBUS_GLIB_10_LIBS=`$PKG_CONFIG --libs "ndesk-dbus-glib-1.0" 2>/dev/null`
16240
else
16241
  pkg_failed=yes
16242
fi
16243
    fi
16244
else
16245
	pkg_failed=untried
16246
fi
16247
16248
16249
16250
if test $pkg_failed = yes; then
16251
16252
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16253
        _pkg_short_errors_supported=yes
16254
else
16255
        _pkg_short_errors_supported=no
16256
fi
16257
        if test $_pkg_short_errors_supported = yes; then
16258
	        NDESK_DBUS_GLIB_10_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "ndesk-dbus-glib-1.0"`
16259
        else
16260
	        NDESK_DBUS_GLIB_10_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "ndesk-dbus-glib-1.0"`
16261
        fi
16262
	# Put the nasty error message in config.log where it belongs
16263
	echo "$NDESK_DBUS_GLIB_10_PKG_ERRORS" >&5
16264
16265
	{ { echo "$as_me:$LINENO: error: Package requirements (ndesk-dbus-glib-1.0) were not met:
16266
16267
$NDESK_DBUS_GLIB_10_PKG_ERRORS
16268
16269
Consider adjusting the PKG_CONFIG_PATH environment variable if you
16270
installed software in a non-standard prefix.
16271
16272
Alternatively, you may set the environment variables NDESK_DBUS_GLIB_10_CFLAGS
16273
and NDESK_DBUS_GLIB_10_LIBS to avoid the need to call pkg-config.
16274
See the pkg-config man page for more details.
16275
" >&5
16276
echo "$as_me: error: Package requirements (ndesk-dbus-glib-1.0) were not met:
16277
16278
$NDESK_DBUS_GLIB_10_PKG_ERRORS
16279
16280
Consider adjusting the PKG_CONFIG_PATH environment variable if you
16281
installed software in a non-standard prefix.
16282
16283
Alternatively, you may set the environment variables NDESK_DBUS_GLIB_10_CFLAGS
16284
and NDESK_DBUS_GLIB_10_LIBS to avoid the need to call pkg-config.
16285
See the pkg-config man page for more details.
16286
" >&2;}
16287
   { (exit 1); exit 1; }; }
16288
elif test $pkg_failed = untried; then
16289
	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
16290
is in your PATH or set the PKG_CONFIG environment variable to the full
16291
path to pkg-config.
16292
16293
Alternatively, you may set the environment variables NDESK_DBUS_GLIB_10_CFLAGS
16294
and NDESK_DBUS_GLIB_10_LIBS to avoid the need to call pkg-config.
16295
See the pkg-config man page for more details.
16296
16297
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16298
See \`config.log' for more details." >&5
16299
echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
16300
is in your PATH or set the PKG_CONFIG environment variable to the full
16301
path to pkg-config.
16302
16303
Alternatively, you may set the environment variables NDESK_DBUS_GLIB_10_CFLAGS
16304
and NDESK_DBUS_GLIB_10_LIBS to avoid the need to call pkg-config.
16305
See the pkg-config man page for more details.
16306
16307
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16308
See \`config.log' for more details." >&2;}
16309
   { (exit 1); exit 1; }; }
16310
else
16311
	NDESK_DBUS_GLIB_10_CFLAGS=$pkg_cv_NDESK_DBUS_GLIB_10_CFLAGS
16312
	NDESK_DBUS_GLIB_10_LIBS=$pkg_cv_NDESK_DBUS_GLIB_10_LIBS
16313
        { echo "$as_me:$LINENO: result: yes" >&5
16314
echo "${ECHO_T}yes" >&6; }
16315
	:
16316
fi
16317
16318
pkg_failed=no
16319
{ echo "$as_me:$LINENO: checking for NOTIFY_SHARP" >&5
16320
echo $ECHO_N "checking for NOTIFY_SHARP... $ECHO_C" >&6; }
16321
16322
if test -n "$PKG_CONFIG"; then
16323
    if test -n "$NOTIFY_SHARP_CFLAGS"; then
16324
        pkg_cv_NOTIFY_SHARP_CFLAGS="$NOTIFY_SHARP_CFLAGS"
16325
    else
16326
        if test -n "$PKG_CONFIG" && \
16327
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"notify-sharp\"") >&5
16328
  ($PKG_CONFIG --exists --print-errors "notify-sharp") 2>&5
16329
  ac_status=$?
16330
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16331
  (exit $ac_status); }; then
16332
  pkg_cv_NOTIFY_SHARP_CFLAGS=`$PKG_CONFIG --cflags "notify-sharp" 2>/dev/null`
16333
else
16334
  pkg_failed=yes
16335
fi
16336
    fi
16337
else
16338
	pkg_failed=untried
16339
fi
16340
if test -n "$PKG_CONFIG"; then
16341
    if test -n "$NOTIFY_SHARP_LIBS"; then
16342
        pkg_cv_NOTIFY_SHARP_LIBS="$NOTIFY_SHARP_LIBS"
16343
    else
16344
        if test -n "$PKG_CONFIG" && \
16345
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"notify-sharp\"") >&5
16346
  ($PKG_CONFIG --exists --print-errors "notify-sharp") 2>&5
16347
  ac_status=$?
16348
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16349
  (exit $ac_status); }; then
16350
  pkg_cv_NOTIFY_SHARP_LIBS=`$PKG_CONFIG --libs "notify-sharp" 2>/dev/null`
16351
else
16352
  pkg_failed=yes
16353
fi
16354
    fi
16355
else
16356
	pkg_failed=untried
16357
fi
16358
16359
16360
16361
if test $pkg_failed = yes; then
16362
16363
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16364
        _pkg_short_errors_supported=yes
16365
else
16366
        _pkg_short_errors_supported=no
16367
fi
16368
        if test $_pkg_short_errors_supported = yes; then
16369
	        NOTIFY_SHARP_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "notify-sharp"`
16370
        else
16371
	        NOTIFY_SHARP_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "notify-sharp"`
16372
        fi
16373
	# Put the nasty error message in config.log where it belongs
16374
	echo "$NOTIFY_SHARP_PKG_ERRORS" >&5
16375
16376
	{ { echo "$as_me:$LINENO: error: Package requirements (notify-sharp) were not met:
16377
16378
$NOTIFY_SHARP_PKG_ERRORS
16379
16380
Consider adjusting the PKG_CONFIG_PATH environment variable if you
16381
installed software in a non-standard prefix.
16382
16383
Alternatively, you may set the environment variables NOTIFY_SHARP_CFLAGS
16384
and NOTIFY_SHARP_LIBS to avoid the need to call pkg-config.
16385
See the pkg-config man page for more details.
16386
" >&5
16387
echo "$as_me: error: Package requirements (notify-sharp) were not met:
16388
16389
$NOTIFY_SHARP_PKG_ERRORS
16390
16391
Consider adjusting the PKG_CONFIG_PATH environment variable if you
16392
installed software in a non-standard prefix.
16393
16394
Alternatively, you may set the environment variables NOTIFY_SHARP_CFLAGS
16395
and NOTIFY_SHARP_LIBS to avoid the need to call pkg-config.
16396
See the pkg-config man page for more details.
16397
" >&2;}
16398
   { (exit 1); exit 1; }; }
16399
elif test $pkg_failed = untried; then
16400
	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
16401
is in your PATH or set the PKG_CONFIG environment variable to the full
16402
path to pkg-config.
16403
16404
Alternatively, you may set the environment variables NOTIFY_SHARP_CFLAGS
16405
and NOTIFY_SHARP_LIBS to avoid the need to call pkg-config.
16406
See the pkg-config man page for more details.
16407
16408
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16409
See \`config.log' for more details." >&5
16410
echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
16411
is in your PATH or set the PKG_CONFIG environment variable to the full
16412
path to pkg-config.
16413
16414
Alternatively, you may set the environment variables NOTIFY_SHARP_CFLAGS
16415
and NOTIFY_SHARP_LIBS to avoid the need to call pkg-config.
16416
See the pkg-config man page for more details.
16417
16418
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16419
See \`config.log' for more details." >&2;}
16420
   { (exit 1); exit 1; }; }
16421
else
16422
	NOTIFY_SHARP_CFLAGS=$pkg_cv_NOTIFY_SHARP_CFLAGS
16423
	NOTIFY_SHARP_LIBS=$pkg_cv_NOTIFY_SHARP_LIBS
16424
        { echo "$as_me:$LINENO: result: yes" >&5
16425
echo "${ECHO_T}yes" >&6; }
16426
	:
16427
fi
16428
1.1.5 by Christopher James Halse Rogers
Import upstream version 0.8.0
16429
pkg_failed=no
16430
{ echo "$as_me:$LINENO: checking for WNCK_SHARP_10" >&5
16431
echo $ECHO_N "checking for WNCK_SHARP_10... $ECHO_C" >&6; }
16432
16433
if test -n "$PKG_CONFIG"; then
16434
    if test -n "$WNCK_SHARP_10_CFLAGS"; then
16435
        pkg_cv_WNCK_SHARP_10_CFLAGS="$WNCK_SHARP_10_CFLAGS"
16436
    else
16437
        if test -n "$PKG_CONFIG" && \
16438
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"wnck-sharp-1.0\"") >&5
16439
  ($PKG_CONFIG --exists --print-errors "wnck-sharp-1.0") 2>&5
16440
  ac_status=$?
16441
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16442
  (exit $ac_status); }; then
16443
  pkg_cv_WNCK_SHARP_10_CFLAGS=`$PKG_CONFIG --cflags "wnck-sharp-1.0" 2>/dev/null`
16444
else
16445
  pkg_failed=yes
16446
fi
16447
    fi
16448
else
16449
	pkg_failed=untried
16450
fi
16451
if test -n "$PKG_CONFIG"; then
16452
    if test -n "$WNCK_SHARP_10_LIBS"; then
16453
        pkg_cv_WNCK_SHARP_10_LIBS="$WNCK_SHARP_10_LIBS"
16454
    else
16455
        if test -n "$PKG_CONFIG" && \
16456
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"wnck-sharp-1.0\"") >&5
16457
  ($PKG_CONFIG --exists --print-errors "wnck-sharp-1.0") 2>&5
16458
  ac_status=$?
16459
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16460
  (exit $ac_status); }; then
16461
  pkg_cv_WNCK_SHARP_10_LIBS=`$PKG_CONFIG --libs "wnck-sharp-1.0" 2>/dev/null`
16462
else
16463
  pkg_failed=yes
16464
fi
16465
    fi
16466
else
16467
	pkg_failed=untried
16468
fi
16469
16470
16471
16472
if test $pkg_failed = yes; then
16473
16474
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16475
        _pkg_short_errors_supported=yes
16476
else
16477
        _pkg_short_errors_supported=no
16478
fi
16479
        if test $_pkg_short_errors_supported = yes; then
16480
	        WNCK_SHARP_10_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "wnck-sharp-1.0"`
16481
        else
16482
	        WNCK_SHARP_10_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "wnck-sharp-1.0"`
16483
        fi
16484
	# Put the nasty error message in config.log where it belongs
16485
	echo "$WNCK_SHARP_10_PKG_ERRORS" >&5
16486
16487
	{ { echo "$as_me:$LINENO: error: Package requirements (wnck-sharp-1.0) were not met:
16488
16489
$WNCK_SHARP_10_PKG_ERRORS
16490
16491
Consider adjusting the PKG_CONFIG_PATH environment variable if you
16492
installed software in a non-standard prefix.
16493
16494
Alternatively, you may set the environment variables WNCK_SHARP_10_CFLAGS
16495
and WNCK_SHARP_10_LIBS to avoid the need to call pkg-config.
16496
See the pkg-config man page for more details.
16497
" >&5
16498
echo "$as_me: error: Package requirements (wnck-sharp-1.0) were not met:
16499
16500
$WNCK_SHARP_10_PKG_ERRORS
16501
16502
Consider adjusting the PKG_CONFIG_PATH environment variable if you
16503
installed software in a non-standard prefix.
16504
16505
Alternatively, you may set the environment variables WNCK_SHARP_10_CFLAGS
16506
and WNCK_SHARP_10_LIBS to avoid the need to call pkg-config.
16507
See the pkg-config man page for more details.
16508
" >&2;}
16509
   { (exit 1); exit 1; }; }
16510
elif test $pkg_failed = untried; then
16511
	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
16512
is in your PATH or set the PKG_CONFIG environment variable to the full
16513
path to pkg-config.
16514
16515
Alternatively, you may set the environment variables WNCK_SHARP_10_CFLAGS
16516
and WNCK_SHARP_10_LIBS to avoid the need to call pkg-config.
16517
See the pkg-config man page for more details.
16518
16519
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16520
See \`config.log' for more details." >&5
16521
echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
16522
is in your PATH or set the PKG_CONFIG environment variable to the full
16523
path to pkg-config.
16524
16525
Alternatively, you may set the environment variables WNCK_SHARP_10_CFLAGS
16526
and WNCK_SHARP_10_LIBS to avoid the need to call pkg-config.
16527
See the pkg-config man page for more details.
16528
16529
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16530
See \`config.log' for more details." >&2;}
16531
   { (exit 1); exit 1; }; }
16532
else
16533
	WNCK_SHARP_10_CFLAGS=$pkg_cv_WNCK_SHARP_10_CFLAGS
16534
	WNCK_SHARP_10_LIBS=$pkg_cv_WNCK_SHARP_10_LIBS
16535
        { echo "$as_me:$LINENO: result: yes" >&5
16536
echo "${ECHO_T}yes" >&6; }
16537
	:
16538
fi
16539
16540
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
16541
16542
16543
16544
16545
16546
16547
16548
16549
16550
16551
16552
16553
16554
16555
16556
16557
16558
pkg_failed=no
16559
{ echo "$as_me:$LINENO: checking for NUNIT" >&5
16560
echo $ECHO_N "checking for NUNIT... $ECHO_C" >&6; }
16561
16562
if test -n "$PKG_CONFIG"; then
16563
    if test -n "$NUNIT_CFLAGS"; then
16564
        pkg_cv_NUNIT_CFLAGS="$NUNIT_CFLAGS"
16565
    else
16566
        if test -n "$PKG_CONFIG" && \
16567
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"nunit\"") >&5
16568
  ($PKG_CONFIG --exists --print-errors "nunit") 2>&5
16569
  ac_status=$?
16570
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16571
  (exit $ac_status); }; then
16572
  pkg_cv_NUNIT_CFLAGS=`$PKG_CONFIG --cflags "nunit" 2>/dev/null`
16573
else
16574
  pkg_failed=yes
16575
fi
16576
    fi
16577
else
16578
	pkg_failed=untried
16579
fi
16580
if test -n "$PKG_CONFIG"; then
16581
    if test -n "$NUNIT_LIBS"; then
16582
        pkg_cv_NUNIT_LIBS="$NUNIT_LIBS"
16583
    else
16584
        if test -n "$PKG_CONFIG" && \
16585
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"nunit\"") >&5
16586
  ($PKG_CONFIG --exists --print-errors "nunit") 2>&5
16587
  ac_status=$?
16588
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16589
  (exit $ac_status); }; then
16590
  pkg_cv_NUNIT_LIBS=`$PKG_CONFIG --libs "nunit" 2>/dev/null`
16591
else
16592
  pkg_failed=yes
16593
fi
16594
    fi
16595
else
16596
	pkg_failed=untried
16597
fi
16598
16599
16600
16601
if test $pkg_failed = yes; then
16602
16603
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16604
        _pkg_short_errors_supported=yes
16605
else
16606
        _pkg_short_errors_supported=no
16607
fi
16608
        if test $_pkg_short_errors_supported = yes; then
16609
	        NUNIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "nunit"`
16610
        else
16611
	        NUNIT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "nunit"`
16612
        fi
16613
	# Put the nasty error message in config.log where it belongs
16614
	echo "$NUNIT_PKG_ERRORS" >&5
16615
16616
	{ echo "$as_me:$LINENO: result: no" >&5
16617
echo "${ECHO_T}no" >&6; }
16618
                have_nunit=no
16619
elif test $pkg_failed = untried; then
16620
	have_nunit=no
16621
else
16622
	NUNIT_CFLAGS=$pkg_cv_NUNIT_CFLAGS
16623
	NUNIT_LIBS=$pkg_cv_NUNIT_LIBS
16624
        { echo "$as_me:$LINENO: result: yes" >&5
16625
echo "${ECHO_T}yes" >&6; }
16626
	have_nunit=yes
16627
fi
16628
 if test "$have_nunit" = "yes"; then
16629
  HAVE_NUNIT_TRUE=
16630
  HAVE_NUNIT_FALSE='#'
16631
else
16632
  HAVE_NUNIT_TRUE='#'
16633
  HAVE_NUNIT_FALSE=
16634
fi
16635
16636
if test "$have_nunit" != "yes" ; then
16637
   NUNIT_LIBS=
16638
fi
16639
1 by Christopher James Halse Rogers
Import upstream version 0.3.2.1
16640
16641
16642
# Check whether --enable-debug was given.
16643
if test "${enable_debug+set}" = set; then
16644
  enableval=$enable_debug; enable_debug=yes
16645
else
16646
  enable_debug=no
16647
fi
16648
16649
 if test x$enable_debug = xyes; then
16650
  ENABLE_DEBUG_TRUE=
16651
  ENABLE_DEBUG_FALSE='#'
16652
else
16653
  ENABLE_DEBUG_TRUE='#'
16654
  ENABLE_DEBUG_FALSE=
16655
fi
16656
16657
if test "x$enable_debug" = "xyes" ; then
16658
	CONFIG_REQUESTED="yes"
16659
fi
16660
# Check whether --enable-release was given.
16661
if test "${enable_release+set}" = set; then
16662
  enableval=$enable_release; enable_release=yes
16663
else
16664
  enable_release=no
16665
fi
16666
16667
 if test x$enable_release = xyes; then
16668
  ENABLE_RELEASE_TRUE=
16669
  ENABLE_RELEASE_FALSE='#'
16670
else
16671
  ENABLE_RELEASE_TRUE='#'
16672
  ENABLE_RELEASE_FALSE=
16673
fi
16674
16675
if test "x$enable_release" = "xyes" ; then
16676
	CONFIG_REQUESTED="yes"
16677
fi
16678
if test -z "$CONFIG_REQUESTED" ; then
16679
	 if true; then
16680
  ENABLE_DEBUG_TRUE=
16681
  ENABLE_DEBUG_FALSE='#'
16682
else
16683
  ENABLE_DEBUG_TRUE='#'
16684
  ENABLE_DEBUG_FALSE=
16685
fi
16686
16687
fi
16688
1.1.5 by Christopher James Halse Rogers
Import upstream version 0.8.0
16689
ac_config_files="$ac_config_files Do/Do.exe.config Do/Makefile Do/gnome-do Do/src/AssemblyInfo.cs Do.Interface.Linux/Makefile Do.Interface.Linux/src/AssemblyInfo.cs Do.Interface.Linux.Classic/Makefile Do.Interface.Linux.Docky/Makefile Do.Interface.Linux.GlassFrame/Makefile Do.Interface.Linux.HUD/Makefile Do.Interface.Linux.Mini/Makefile Do.Platform/Makefile Do.Platform/src/AssemblyInfo.cs Do.Platform.Linux/Makefile Do.Platform.Linux/src/AssemblyInfo.cs Do.Platform.OSX/AssemblyInfo.cs Do.Platform.Windows/AssemblyInfo.cs Do.Universe/Makefile Do.Universe/src/AssemblyInfo.cs libdo/Makefile Makefile data/Makefile data/icons/Makefile data/icons/hicolor/16x16/Makefile data/icons/hicolor/16x16/apps/Makefile data/icons/hicolor/22x22/Makefile data/icons/hicolor/22x22/apps/Makefile data/icons/hicolor/24x24/Makefile data/icons/hicolor/24x24/apps/Makefile data/icons/hicolor/32x32/Makefile data/icons/hicolor/32x32/apps/Makefile data/icons/hicolor/48x48/Makefile data/icons/hicolor/48x48/apps/Makefile data/icons/hicolor/Makefile data/icons/hicolor/scalable/Makefile data/icons/hicolor/scalable/apps/Makefile m4/Makefile po/Makefile.in"
1 by Christopher James Halse Rogers
Import upstream version 0.3.2.1
16690
16691
16692
cat >confcache <<\_ACEOF
16693
# This file is a shell script that caches the results of configure
16694
# tests run on this system so they can be shared between configure
16695
# scripts and configure runs, see configure's option --config-cache.
16696
# It is not useful on other systems.  If it contains results you don't
16697
# want to keep, you may remove or edit it.
16698
#
16699
# config.status only pays attention to the cache file if you give it
16700
# the --recheck option to rerun configure.
16701
#
16702
# `ac_cv_env_foo' variables (set or unset) will be overridden when
16703
# loading this file, other *unset* `ac_cv_foo' will be assigned the
16704
# following values.
16705
16706
_ACEOF
16707
16708
# The following way of writing the cache mishandles newlines in values,
16709
# but we know of no workaround that is simple, portable, and efficient.
16710
# So, we kill variables containing newlines.
16711
# Ultrix sh set writes to stderr and can't be redirected directly,
16712
# and sets the high bit in the cache file unless we assign to the vars.
16713
(
16714
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16715
    eval ac_val=\$$ac_var
16716
    case $ac_val in #(
16717
    *${as_nl}*)
16718
      case $ac_var in #(
16719
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
16720
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
16721
      esac
16722
      case $ac_var in #(
16723
      _ | IFS | as_nl) ;; #(
16724
      *) $as_unset $ac_var ;;
16725
      esac ;;
16726
    esac
16727
  done
16728
16729
  (set) 2>&1 |
16730
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
16731
    *${as_nl}ac_space=\ *)
16732
      # `set' does not quote correctly, so add quotes (double-quote
16733
      # substitution turns \\\\ into \\, and sed turns \\ into \).
16734
      sed -n \
16735
	"s/'/'\\\\''/g;
16736
	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16737
      ;; #(
16738
    *)
16739
      # `set' quotes correctly as required by POSIX, so do not add quotes.
16740
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16741
      ;;
16742
    esac |
16743
    sort
16744
) |
16745
  sed '
16746
     /^ac_cv_env_/b end
16747
     t clear
16748
     :clear
16749
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16750
     t end
16751
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16752
     :end' >>confcache
16753
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16754
  if test -w "$cache_file"; then
16755
    test "x$cache_file" != "x/dev/null" &&
16756
      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
16757
echo "$as_me: updating cache $cache_file" >&6;}
16758
    cat confcache >$cache_file
16759
  else
16760
    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
16761
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16762
  fi
16763
fi
16764
rm -f confcache
16765
16766
test "x$prefix" = xNONE && prefix=$ac_default_prefix
16767
# Let make expand exec_prefix.
16768
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16769
16770
# Transform confdefs.h into DEFS.
16771
# Protect against shell expansion while executing Makefile rules.
16772
# Protect against Makefile macro expansion.
16773
#
16774
# If the first sed substitution is executed (which looks for macros that
16775
# take arguments), then branch to the quote section.  Otherwise,
16776
# look for a macro that doesn't take arguments.
16777
ac_script='
16778
t clear
16779
:clear
16780
s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
16781
t quote
16782
s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
16783
t quote
16784
b any
16785
:quote
16786
s/[	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
16787
s/\[/\\&/g
16788
s/\]/\\&/g
16789
s/\$/$$/g
16790
H
16791
:any
16792
${
16793
	g
16794
	s/^\n//
16795
	s/\n/ /g
16796
	p
16797
}
16798
'
16799
DEFS=`sed -n "$ac_script" confdefs.h`
16800
16801
16802
ac_libobjs=
16803
ac_ltlibobjs=
16804
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
16805
  # 1. Remove the extension, and $U if already installed.
16806
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
16807
  ac_i=`echo "$ac_i" | sed "$ac_script"`
16808
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
16809
  #    will be set to the directory where LIBOBJS objects are built.
16810
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16811
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
16812
done
16813
LIBOBJS=$ac_libobjs
16814
16815
LTLIBOBJS=$ac_ltlibobjs
16816
16817
16818
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16819
  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
16820
Usually this means the macro was only invoked conditionally." >&5
16821
echo "$as_me: error: conditional \"AMDEP\" was never defined.
16822
Usually this means the macro was only invoked conditionally." >&2;}
16823
   { (exit 1); exit 1; }; }
16824
fi
16825
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16826
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
16827
Usually this means the macro was only invoked conditionally." >&5
16828
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
16829
Usually this means the macro was only invoked conditionally." >&2;}
16830
   { (exit 1); exit 1; }; }
16831
fi
16832
16833
  ac_config_commands="$ac_config_commands po/stamp-it"
16834
16835
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
16836
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16837
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
16838
Usually this means the macro was only invoked conditionally." >&5
16839
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
16840
Usually this means the macro was only invoked conditionally." >&2;}
16841
   { (exit 1); exit 1; }; }
16842
fi
1.1.4 by Christopher James Halse Rogers
Import upstream version 0.6.1.0
16843
if test -z "${GCONF_SCHEMAS_INSTALL_TRUE}" && test -z "${GCONF_SCHEMAS_INSTALL_FALSE}"; then
16844
  { { echo "$as_me:$LINENO: error: conditional \"GCONF_SCHEMAS_INSTALL\" was never defined.
16845
Usually this means the macro was only invoked conditionally." >&5
16846
echo "$as_me: error: conditional \"GCONF_SCHEMAS_INSTALL\" was never defined.
16847
Usually this means the macro was only invoked conditionally." >&2;}
16848
   { (exit 1); exit 1; }; }
16849
fi
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
16850
if test -z "${HAVE_NUNIT_TRUE}" && test -z "${HAVE_NUNIT_FALSE}"; then
16851
  { { echo "$as_me:$LINENO: error: conditional \"HAVE_NUNIT\" was never defined.
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
16852
Usually this means the macro was only invoked conditionally." >&5
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
16853
echo "$as_me: error: conditional \"HAVE_NUNIT\" was never defined.
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
16854
Usually this means the macro was only invoked conditionally." >&2;}
16855
   { (exit 1); exit 1; }; }
16856
fi
1 by Christopher James Halse Rogers
Import upstream version 0.3.2.1
16857
if test -z "${ENABLE_DEBUG_TRUE}" && test -z "${ENABLE_DEBUG_FALSE}"; then
16858
  { { echo "$as_me:$LINENO: error: conditional \"ENABLE_DEBUG\" was never defined.
16859
Usually this means the macro was only invoked conditionally." >&5
16860
echo "$as_me: error: conditional \"ENABLE_DEBUG\" was never defined.
16861
Usually this means the macro was only invoked conditionally." >&2;}
16862
   { (exit 1); exit 1; }; }
16863
fi
16864
if test -z "${ENABLE_RELEASE_TRUE}" && test -z "${ENABLE_RELEASE_FALSE}"; then
16865
  { { echo "$as_me:$LINENO: error: conditional \"ENABLE_RELEASE\" was never defined.
16866
Usually this means the macro was only invoked conditionally." >&5
16867
echo "$as_me: error: conditional \"ENABLE_RELEASE\" was never defined.
16868
Usually this means the macro was only invoked conditionally." >&2;}
16869
   { (exit 1); exit 1; }; }
16870
fi
16871
if test -z "${ENABLE_DEBUG_TRUE}" && test -z "${ENABLE_DEBUG_FALSE}"; then
16872
  { { echo "$as_me:$LINENO: error: conditional \"ENABLE_DEBUG\" was never defined.
16873
Usually this means the macro was only invoked conditionally." >&5
16874
echo "$as_me: error: conditional \"ENABLE_DEBUG\" was never defined.
16875
Usually this means the macro was only invoked conditionally." >&2;}
16876
   { (exit 1); exit 1; }; }
16877
fi
16878
16879
: ${CONFIG_STATUS=./config.status}
16880
ac_clean_files_save=$ac_clean_files
16881
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
16882
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
16883
echo "$as_me: creating $CONFIG_STATUS" >&6;}
16884
cat >$CONFIG_STATUS <<_ACEOF
16885
#! $SHELL
16886
# Generated by $as_me.
16887
# Run this file to recreate the current configuration.
16888
# Compiler output produced by configure, useful for debugging
16889
# configure, is in config.log if it exists.
16890
16891
debug=false
16892
ac_cs_recheck=false
16893
ac_cs_silent=false
16894
SHELL=\${CONFIG_SHELL-$SHELL}
16895
_ACEOF
16896
16897
cat >>$CONFIG_STATUS <<\_ACEOF
16898
## --------------------- ##
16899
## M4sh Initialization.  ##
16900
## --------------------- ##
16901
16902
# Be more Bourne compatible
16903
DUALCASE=1; export DUALCASE # for MKS sh
16904
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16905
  emulate sh
16906
  NULLCMD=:
16907
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
16908
  # is contrary to our usage.  Disable this feature.
16909
  alias -g '${1+"$@"}'='"$@"'
16910
  setopt NO_GLOB_SUBST
16911
else
16912
  case `(set -o) 2>/dev/null` in
16913
  *posix*) set -o posix ;;
16914
esac
16915
16916
fi
16917
16918
16919
16920
16921
# PATH needs CR
16922
# Avoid depending upon Character Ranges.
16923
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16924
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16925
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16926
as_cr_digits='0123456789'
16927
as_cr_alnum=$as_cr_Letters$as_cr_digits
16928
16929
# The user is always right.
16930
if test "${PATH_SEPARATOR+set}" != set; then
16931
  echo "#! /bin/sh" >conf$$.sh
16932
  echo  "exit 0"   >>conf$$.sh
16933
  chmod +x conf$$.sh
16934
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
16935
    PATH_SEPARATOR=';'
16936
  else
16937
    PATH_SEPARATOR=:
16938
  fi
16939
  rm -f conf$$.sh
16940
fi
16941
16942
# Support unset when possible.
16943
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
16944
  as_unset=unset
16945
else
16946
  as_unset=false
16947
fi
16948
16949
16950
# IFS
16951
# We need space, tab and new line, in precisely that order.  Quoting is
16952
# there to prevent editors from complaining about space-tab.
16953
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
16954
# splitting by setting IFS to empty value.)
16955
as_nl='
16956
'
16957
IFS=" ""	$as_nl"
16958
16959
# Find who we are.  Look in the path if we contain no directory separator.
16960
case $0 in
16961
  *[\\/]* ) as_myself=$0 ;;
16962
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16963
for as_dir in $PATH
16964
do
16965
  IFS=$as_save_IFS
16966
  test -z "$as_dir" && as_dir=.
16967
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16968
done
16969
IFS=$as_save_IFS
16970
16971
     ;;
16972
esac
16973
# We did not find ourselves, most probably we were run as `sh COMMAND'
16974
# in which case we are not to be found in the path.
16975
if test "x$as_myself" = x; then
16976
  as_myself=$0
16977
fi
16978
if test ! -f "$as_myself"; then
16979
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16980
  { (exit 1); exit 1; }
16981
fi
16982
16983
# Work around bugs in pre-3.0 UWIN ksh.
16984
for as_var in ENV MAIL MAILPATH
16985
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
16986
done
16987
PS1='$ '
16988
PS2='> '
16989
PS4='+ '
16990
16991
# NLS nuisances.
16992
for as_var in \
16993
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
16994
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
16995
  LC_TELEPHONE LC_TIME
16996
do
16997
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
16998
    eval $as_var=C; export $as_var
16999
  else
17000
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
17001
  fi
17002
done
17003
17004
# Required to use basename.
17005
if expr a : '\(a\)' >/dev/null 2>&1 &&
17006
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
17007
  as_expr=expr
17008
else
17009
  as_expr=false
17010
fi
17011
17012
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17013
  as_basename=basename
17014
else
17015
  as_basename=false
17016
fi
17017
17018
17019
# Name of the executable.
17020
as_me=`$as_basename -- "$0" ||
17021
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17022
	 X"$0" : 'X\(//\)$' \| \
17023
	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17024
echo X/"$0" |
17025
    sed '/^.*\/\([^/][^/]*\)\/*$/{
17026
	    s//\1/
17027
	    q
17028
	  }
17029
	  /^X\/\(\/\/\)$/{
17030
	    s//\1/
17031
	    q
17032
	  }
17033
	  /^X\/\(\/\).*/{
17034
	    s//\1/
17035
	    q
17036
	  }
17037
	  s/.*/./; q'`
17038
17039
# CDPATH.
17040
$as_unset CDPATH
17041
17042
17043
17044
  as_lineno_1=$LINENO
17045
  as_lineno_2=$LINENO
17046
  test "x$as_lineno_1" != "x$as_lineno_2" &&
17047
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
17048
17049
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
17050
  # uniformly replaced by the line number.  The first 'sed' inserts a
17051
  # line-number line after each line using $LINENO; the second 'sed'
17052
  # does the real work.  The second script uses 'N' to pair each
17053
  # line-number line with the line containing $LINENO, and appends
17054
  # trailing '-' during substitution so that $LINENO is not a special
17055
  # case at line end.
17056
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
17057
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
17058
  # E. McMahon (1931-1989) for sed's syntax.  :-)
17059
  sed -n '
17060
    p
17061
    /[$]LINENO/=
17062
  ' <$as_myself |
17063
    sed '
17064
      s/[$]LINENO.*/&-/
17065
      t lineno
17066
      b
17067
      :lineno
17068
      N
17069
      :loop
17070
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
17071
      t loop
17072
      s/-\n.*//
17073
    ' >$as_me.lineno &&
17074
  chmod +x "$as_me.lineno" ||
17075
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
17076
   { (exit 1); exit 1; }; }
17077
17078
  # Don't try to exec as it changes $[0], causing all sort of problems
17079
  # (the dirname of $[0] is not the place where we might find the
17080
  # original and so on.  Autoconf is especially sensitive to this).
17081
  . "./$as_me.lineno"
17082
  # Exit status is that of the last command.
17083
  exit
17084
}
17085
17086
17087
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
17088
  as_dirname=dirname
17089
else
17090
  as_dirname=false
17091
fi
17092
17093
ECHO_C= ECHO_N= ECHO_T=
17094
case `echo -n x` in
17095
-n*)
17096
  case `echo 'x\c'` in
17097
  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
17098
  *)   ECHO_C='\c';;
17099
  esac;;
17100
*)
17101
  ECHO_N='-n';;
17102
esac
17103
17104
if expr a : '\(a\)' >/dev/null 2>&1 &&
17105
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
17106
  as_expr=expr
17107
else
17108
  as_expr=false
17109
fi
17110
17111
rm -f conf$$ conf$$.exe conf$$.file
17112
if test -d conf$$.dir; then
17113
  rm -f conf$$.dir/conf$$.file
17114
else
17115
  rm -f conf$$.dir
17116
  mkdir conf$$.dir
17117
fi
17118
echo >conf$$.file
17119
if ln -s conf$$.file conf$$ 2>/dev/null; then
17120
  as_ln_s='ln -s'
17121
  # ... but there are two gotchas:
17122
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17123
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17124
  # In both cases, we have to default to `cp -p'.
17125
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
17126
    as_ln_s='cp -p'
17127
elif ln conf$$.file conf$$ 2>/dev/null; then
17128
  as_ln_s=ln
17129
else
17130
  as_ln_s='cp -p'
17131
fi
17132
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
17133
rmdir conf$$.dir 2>/dev/null
17134
17135
if mkdir -p . 2>/dev/null; then
17136
  as_mkdir_p=:
17137
else
17138
  test -d ./-p && rmdir ./-p
17139
  as_mkdir_p=false
17140
fi
17141
17142
if test -x / >/dev/null 2>&1; then
17143
  as_test_x='test -x'
17144
else
17145
  if ls -dL / >/dev/null 2>&1; then
17146
    as_ls_L_option=L
17147
  else
17148
    as_ls_L_option=
17149
  fi
17150
  as_test_x='
17151
    eval sh -c '\''
17152
      if test -d "$1"; then
17153
        test -d "$1/.";
17154
      else
17155
	case $1 in
17156
        -*)set "./$1";;
17157
	esac;
17158
	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
17159
	???[sx]*):;;*)false;;esac;fi
17160
    '\'' sh
17161
  '
17162
fi
17163
as_executable_p=$as_test_x
17164
17165
# Sed expression to map a string onto a valid CPP name.
17166
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17167
17168
# Sed expression to map a string onto a valid variable name.
17169
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17170
17171
17172
exec 6>&1
17173
17174
# Save the log message, to keep $[0] and so on meaningful, and to
17175
# report actual input values of CONFIG_FILES etc. instead of their
17176
# values after options handling.
17177
ac_log="
1.1.5 by Christopher James Halse Rogers
Import upstream version 0.8.0
17178
This file was extended by gnome-do $as_me 0.8.0, which was
1 by Christopher James Halse Rogers
Import upstream version 0.3.2.1
17179
generated by GNU Autoconf 2.61.  Invocation command line was
17180
17181
  CONFIG_FILES    = $CONFIG_FILES
17182
  CONFIG_HEADERS  = $CONFIG_HEADERS
17183
  CONFIG_LINKS    = $CONFIG_LINKS
17184
  CONFIG_COMMANDS = $CONFIG_COMMANDS
17185
  $ $0 $@
17186
17187
on `(hostname || uname -n) 2>/dev/null | sed 1q`
17188
"
17189
17190
_ACEOF
17191
17192
cat >>$CONFIG_STATUS <<_ACEOF
17193
# Files that config.status was made for.
17194
config_files="$ac_config_files"
17195
config_commands="$ac_config_commands"
17196
17197
_ACEOF
17198
17199
cat >>$CONFIG_STATUS <<\_ACEOF
17200
ac_cs_usage="\
17201
\`$as_me' instantiates files from templates according to the
17202
current configuration.
17203
17204
Usage: $0 [OPTIONS] [FILE]...
17205
17206
  -h, --help       print this help, then exit
17207
  -V, --version    print version number and configuration settings, then exit
17208
  -q, --quiet      do not print progress messages
17209
  -d, --debug      don't remove temporary files
17210
      --recheck    update $as_me by reconfiguring in the same conditions
17211
  --file=FILE[:TEMPLATE]
17212
		   instantiate the configuration file FILE
17213
17214
Configuration files:
17215
$config_files
17216
17217
Configuration commands:
17218
$config_commands
17219
17220
Report bugs to <bug-autoconf@gnu.org>."
17221
17222
_ACEOF
17223
cat >>$CONFIG_STATUS <<_ACEOF
17224
ac_cs_version="\\
1.1.5 by Christopher James Halse Rogers
Import upstream version 0.8.0
17225
gnome-do config.status 0.8.0
1 by Christopher James Halse Rogers
Import upstream version 0.3.2.1
17226
configured by $0, generated by GNU Autoconf 2.61,
17227
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
17228
17229
Copyright (C) 2006 Free Software Foundation, Inc.
17230
This config.status script is free software; the Free Software Foundation
17231
gives unlimited permission to copy, distribute and modify it."
17232
17233
ac_pwd='$ac_pwd'
17234
srcdir='$srcdir'
17235
INSTALL='$INSTALL'
17236
MKDIR_P='$MKDIR_P'
17237
_ACEOF
17238
17239
cat >>$CONFIG_STATUS <<\_ACEOF
17240
# If no file are specified by the user, then we need to provide default
17241
# value.  By we need to know if files were specified by the user.
17242
ac_need_defaults=:
17243
while test $# != 0
17244
do
17245
  case $1 in
17246
  --*=*)
17247
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
17248
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
17249
    ac_shift=:
17250
    ;;
17251
  *)
17252
    ac_option=$1
17253
    ac_optarg=$2
17254
    ac_shift=shift
17255
    ;;
17256
  esac
17257
17258
  case $ac_option in
17259
  # Handling of the options.
17260
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17261
    ac_cs_recheck=: ;;
17262
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
17263
    echo "$ac_cs_version"; exit ;;
17264
  --debug | --debu | --deb | --de | --d | -d )
17265
    debug=: ;;
17266
  --file | --fil | --fi | --f )
17267
    $ac_shift
17268
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
17269
    ac_need_defaults=false;;
17270
  --he | --h |  --help | --hel | -h )
17271
    echo "$ac_cs_usage"; exit ;;
17272
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
17273
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
17274
    ac_cs_silent=: ;;
17275
17276
  # This is an error.
17277
  -*) { echo "$as_me: error: unrecognized option: $1
17278
Try \`$0 --help' for more information." >&2
17279
   { (exit 1); exit 1; }; } ;;
17280
17281
  *) ac_config_targets="$ac_config_targets $1"
17282
     ac_need_defaults=false ;;
17283
17284
  esac
17285
  shift
17286
done
17287
17288
ac_configure_extra_args=
17289
17290
if $ac_cs_silent; then
17291
  exec 6>/dev/null
17292
  ac_configure_extra_args="$ac_configure_extra_args --silent"
17293
fi
17294
17295
_ACEOF
17296
cat >>$CONFIG_STATUS <<_ACEOF
17297
if \$ac_cs_recheck; then
17298
  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
17299
  CONFIG_SHELL=$SHELL
17300
  export CONFIG_SHELL
17301
  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17302
fi
17303
17304
_ACEOF
17305
cat >>$CONFIG_STATUS <<\_ACEOF
17306
exec 5>>config.log
17307
{
17308
  echo
17309
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17310
## Running $as_me. ##
17311
_ASBOX
17312
  echo "$ac_log"
17313
} >&5
17314
17315
_ACEOF
17316
cat >>$CONFIG_STATUS <<_ACEOF
17317
#
17318
# INIT-COMMANDS
17319
#
17320
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
17321
17322
17323
17324
# The HP-UX ksh and POSIX shell print the target directory to stdout
17325
# if CDPATH is set.
17326
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17327
17328
sed_quote_subst='$sed_quote_subst'
17329
double_quote_subst='$double_quote_subst'
17330
delay_variable_subst='$delay_variable_subst'
17331
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
17332
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
17333
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
17334
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
17335
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
17336
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
17337
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
17338
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
17339
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
17340
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
17341
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
17342
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
17343
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
17344
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
17345
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
17346
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
17347
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
17348
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
17349
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
17350
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
17351
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
17352
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
17353
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
17354
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
17355
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
17356
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
17357
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
17358
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
1.1.5 by Christopher James Halse Rogers
Import upstream version 0.8.0
17359
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
17360
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
17361
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
17362
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
17363
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
17364
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
17365
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
17366
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17367
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17368
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17369
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
17370
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
17371
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
17372
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
17373
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
17374
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
17375
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"`'
17376
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"`'
17377
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
17378
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
17379
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
17380
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
17381
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
17382
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
17383
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
17384
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
17385
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
17386
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
17387
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
17388
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
17389
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
17390
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
17391
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
17392
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
17393
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17394
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17395
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
17396
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
17397
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
17398
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
17399
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
17400
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17401
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17402
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17403
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17404
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17405
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17406
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
17407
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
17408
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
17409
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
17410
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
17411
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
17412
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
17413
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
17414
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
17415
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
17416
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
17417
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
17418
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
17419
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
17420
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
17421
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17422
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
17423
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
17424
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17425
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
17426
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
17427
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
17428
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
17429
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
17430
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
17431
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
17432
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
17433
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
17434
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
17435
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
17436
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17437
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17438
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17439
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
17440
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
17441
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
17442
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
17443
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
17444
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
17445
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
17446
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
17447
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
17448
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
17449
17450
LTCC='$LTCC'
17451
LTCFLAGS='$LTCFLAGS'
17452
compiler='$compiler_DEFAULT'
17453
17454
# Quote evaled strings.
17455
for var in SED \
17456
GREP \
17457
EGREP \
17458
FGREP \
17459
LD \
17460
NM \
17461
LN_S \
17462
lt_SP2NL \
17463
lt_NL2SP \
17464
reload_flag \
1.1.5 by Christopher James Halse Rogers
Import upstream version 0.8.0
17465
OBJDUMP \
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
17466
deplibs_check_method \
17467
file_magic_cmd \
17468
AR \
17469
AR_FLAGS \
17470
STRIP \
17471
RANLIB \
17472
CC \
17473
CFLAGS \
17474
compiler \
17475
lt_cv_sys_global_symbol_pipe \
17476
lt_cv_sys_global_symbol_to_cdecl \
17477
lt_cv_sys_global_symbol_to_c_name_address \
17478
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17479
SHELL \
17480
ECHO \
17481
lt_prog_compiler_no_builtin_flag \
17482
lt_prog_compiler_wl \
17483
lt_prog_compiler_pic \
17484
lt_prog_compiler_static \
17485
lt_cv_prog_compiler_c_o \
17486
need_locks \
17487
DSYMUTIL \
17488
NMEDIT \
17489
LIPO \
17490
OTOOL \
17491
OTOOL64 \
17492
shrext_cmds \
17493
export_dynamic_flag_spec \
17494
whole_archive_flag_spec \
17495
compiler_needs_object \
17496
with_gnu_ld \
17497
allow_undefined_flag \
17498
no_undefined_flag \
17499
hardcode_libdir_flag_spec \
17500
hardcode_libdir_flag_spec_ld \
17501
hardcode_libdir_separator \
17502
fix_srcfile_path \
17503
exclude_expsyms \
17504
include_expsyms \
17505
file_list_spec \
17506
variables_saved_for_relink \
17507
libname_spec \
17508
library_names_spec \
17509
soname_spec \
17510
finish_eval \
17511
old_striplib \
17512
striplib; do
17513
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
17514
    *[\\\\\\\`\\"\\\$]*)
17515
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
17516
      ;;
17517
    *)
17518
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17519
      ;;
17520
    esac
17521
done
17522
17523
# Double-quote double-evaled strings.
17524
for var in reload_cmds \
17525
old_postinstall_cmds \
17526
old_postuninstall_cmds \
17527
old_archive_cmds \
17528
extract_expsyms_cmds \
17529
old_archive_from_new_cmds \
17530
old_archive_from_expsyms_cmds \
17531
archive_cmds \
17532
archive_expsym_cmds \
17533
module_cmds \
17534
module_expsym_cmds \
17535
export_symbols_cmds \
17536
prelink_cmds \
17537
postinstall_cmds \
17538
postuninstall_cmds \
17539
finish_cmds \
17540
sys_lib_search_path_spec \
17541
sys_lib_dlsearch_path_spec; do
17542
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
17543
    *[\\\\\\\`\\"\\\$]*)
17544
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
17545
      ;;
17546
    *)
17547
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17548
      ;;
17549
    esac
17550
done
17551
17552
# Fix-up fallback echo if it was mangled by the above quoting rules.
17553
case \$lt_ECHO in
17554
*'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
17555
  ;;
17556
esac
17557
17558
ac_aux_dir='$ac_aux_dir'
17559
xsi_shell='$xsi_shell'
17560
lt_shell_append='$lt_shell_append'
17561
17562
# See if we are running on zsh, and set the options which allow our
17563
# commands through without removal of \ escapes INIT.
17564
if test -n "\${ZSH_VERSION+set}" ; then
17565
   setopt NO_GLOB_SUBST
17566
fi
17567
17568
17569
    PACKAGE='$PACKAGE'
17570
    VERSION='$VERSION'
17571
    TIMESTAMP='$TIMESTAMP'
17572
    RM='$RM'
17573
    ofile='$ofile'
17574
17575
1 by Christopher James Halse Rogers
Import upstream version 0.3.2.1
17576
17577
17578
_ACEOF
17579
17580
cat >>$CONFIG_STATUS <<\_ACEOF
17581
17582
# Handling of arguments.
17583
for ac_config_target in $ac_config_targets
17584
do
17585
  case $ac_config_target in
17586
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
17587
    "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
17588
    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
1.1.5 by Christopher James Halse Rogers
Import upstream version 0.8.0
17589
    "Do/Do.exe.config") CONFIG_FILES="$CONFIG_FILES Do/Do.exe.config" ;;
17590
    "Do/Makefile") CONFIG_FILES="$CONFIG_FILES Do/Makefile" ;;
17591
    "Do/gnome-do") CONFIG_FILES="$CONFIG_FILES Do/gnome-do" ;;
17592
    "Do/src/AssemblyInfo.cs") CONFIG_FILES="$CONFIG_FILES Do/src/AssemblyInfo.cs" ;;
17593
    "Do.Interface.Linux/Makefile") CONFIG_FILES="$CONFIG_FILES Do.Interface.Linux/Makefile" ;;
17594
    "Do.Interface.Linux/src/AssemblyInfo.cs") CONFIG_FILES="$CONFIG_FILES Do.Interface.Linux/src/AssemblyInfo.cs" ;;
17595
    "Do.Interface.Linux.Classic/Makefile") CONFIG_FILES="$CONFIG_FILES Do.Interface.Linux.Classic/Makefile" ;;
17596
    "Do.Interface.Linux.Docky/Makefile") CONFIG_FILES="$CONFIG_FILES Do.Interface.Linux.Docky/Makefile" ;;
17597
    "Do.Interface.Linux.GlassFrame/Makefile") CONFIG_FILES="$CONFIG_FILES Do.Interface.Linux.GlassFrame/Makefile" ;;
17598
    "Do.Interface.Linux.HUD/Makefile") CONFIG_FILES="$CONFIG_FILES Do.Interface.Linux.HUD/Makefile" ;;
17599
    "Do.Interface.Linux.Mini/Makefile") CONFIG_FILES="$CONFIG_FILES Do.Interface.Linux.Mini/Makefile" ;;
17600
    "Do.Platform/Makefile") CONFIG_FILES="$CONFIG_FILES Do.Platform/Makefile" ;;
17601
    "Do.Platform/src/AssemblyInfo.cs") CONFIG_FILES="$CONFIG_FILES Do.Platform/src/AssemblyInfo.cs" ;;
17602
    "Do.Platform.Linux/Makefile") CONFIG_FILES="$CONFIG_FILES Do.Platform.Linux/Makefile" ;;
17603
    "Do.Platform.Linux/src/AssemblyInfo.cs") CONFIG_FILES="$CONFIG_FILES Do.Platform.Linux/src/AssemblyInfo.cs" ;;
17604
    "Do.Platform.OSX/AssemblyInfo.cs") CONFIG_FILES="$CONFIG_FILES Do.Platform.OSX/AssemblyInfo.cs" ;;
17605
    "Do.Platform.Windows/AssemblyInfo.cs") CONFIG_FILES="$CONFIG_FILES Do.Platform.Windows/AssemblyInfo.cs" ;;
17606
    "Do.Universe/Makefile") CONFIG_FILES="$CONFIG_FILES Do.Universe/Makefile" ;;
17607
    "Do.Universe/src/AssemblyInfo.cs") CONFIG_FILES="$CONFIG_FILES Do.Universe/src/AssemblyInfo.cs" ;;
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
17608
    "libdo/Makefile") CONFIG_FILES="$CONFIG_FILES libdo/Makefile" ;;
1 by Christopher James Halse Rogers
Import upstream version 0.3.2.1
17609
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
1.1.4 by Christopher James Halse Rogers
Import upstream version 0.6.1.0
17610
    "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
17611
    "data/icons/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/Makefile" ;;
17612
    "data/icons/hicolor/16x16/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/16x16/Makefile" ;;
17613
    "data/icons/hicolor/16x16/apps/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/16x16/apps/Makefile" ;;
17614
    "data/icons/hicolor/22x22/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/22x22/Makefile" ;;
17615
    "data/icons/hicolor/22x22/apps/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/22x22/apps/Makefile" ;;
17616
    "data/icons/hicolor/24x24/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/24x24/Makefile" ;;
17617
    "data/icons/hicolor/24x24/apps/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/24x24/apps/Makefile" ;;
17618
    "data/icons/hicolor/32x32/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/32x32/Makefile" ;;
17619
    "data/icons/hicolor/32x32/apps/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/32x32/apps/Makefile" ;;
17620
    "data/icons/hicolor/48x48/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/48x48/Makefile" ;;
17621
    "data/icons/hicolor/48x48/apps/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/48x48/apps/Makefile" ;;
1.1.5 by Christopher James Halse Rogers
Import upstream version 0.8.0
17622
    "data/icons/hicolor/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/Makefile" ;;
1.1.4 by Christopher James Halse Rogers
Import upstream version 0.6.1.0
17623
    "data/icons/hicolor/scalable/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/scalable/Makefile" ;;
17624
    "data/icons/hicolor/scalable/apps/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/scalable/apps/Makefile" ;;
1.1.5 by Christopher James Halse Rogers
Import upstream version 0.8.0
17625
    "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
17626
    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
1 by Christopher James Halse Rogers
Import upstream version 0.3.2.1
17627
    "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
17628
17629
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
17630
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
17631
   { (exit 1); exit 1; }; };;
17632
  esac
17633
done
17634
17635
17636
# If the user did not use the arguments to specify the items to instantiate,
17637
# then the envvar interface is used.  Set only those that are not.
17638
# We use the long form for the default assignment because of an extremely
17639
# bizarre bug on SunOS 4.1.3.
17640
if $ac_need_defaults; then
17641
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
17642
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
17643
fi
17644
17645
# Have a temporary directory for convenience.  Make it in the build tree
17646
# simply because there is no reason against having it here, and in addition,
17647
# creating and moving files from /tmp can sometimes cause problems.
17648
# Hook for its removal unless debugging.
17649
# Note that there is a small window in which the directory will not be cleaned:
17650
# after its creation but before its name has been assigned to `$tmp'.
17651
$debug ||
17652
{
17653
  tmp=
17654
  trap 'exit_status=$?
17655
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
17656
' 0
17657
  trap '{ (exit 1); exit 1; }' 1 2 13 15
17658
}
17659
# Create a (secure) tmp directory for tmp files.
17660
17661
{
17662
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17663
  test -n "$tmp" && test -d "$tmp"
17664
}  ||
17665
{
17666
  tmp=./conf$$-$RANDOM
17667
  (umask 077 && mkdir "$tmp")
17668
} ||
17669
{
17670
   echo "$me: cannot create a temporary directory in ." >&2
17671
   { (exit 1); exit 1; }
17672
}
17673
17674
#
17675
# Set up the sed scripts for CONFIG_FILES section.
17676
#
17677
17678
# No need to generate the scripts if there are no CONFIG_FILES.
17679
# This happens for instance when ./config.status config.h
17680
if test -n "$CONFIG_FILES"; then
17681
17682
_ACEOF
17683
17684
17685
17686
ac_delim='%!_!# '
17687
for ac_last_try in false false false false false :; do
17688
  cat >conf$$subs.sed <<_ACEOF
17689
SHELL!$SHELL$ac_delim
17690
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
17691
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
17692
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
17693
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
17694
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
17695
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
17696
exec_prefix!$exec_prefix$ac_delim
17697
prefix!$prefix$ac_delim
17698
program_transform_name!$program_transform_name$ac_delim
17699
bindir!$bindir$ac_delim
17700
sbindir!$sbindir$ac_delim
17701
libexecdir!$libexecdir$ac_delim
17702
datarootdir!$datarootdir$ac_delim
17703
datadir!$datadir$ac_delim
17704
sysconfdir!$sysconfdir$ac_delim
17705
sharedstatedir!$sharedstatedir$ac_delim
17706
localstatedir!$localstatedir$ac_delim
17707
includedir!$includedir$ac_delim
17708
oldincludedir!$oldincludedir$ac_delim
17709
docdir!$docdir$ac_delim
17710
infodir!$infodir$ac_delim
17711
htmldir!$htmldir$ac_delim
17712
dvidir!$dvidir$ac_delim
17713
pdfdir!$pdfdir$ac_delim
17714
psdir!$psdir$ac_delim
17715
libdir!$libdir$ac_delim
17716
localedir!$localedir$ac_delim
17717
mandir!$mandir$ac_delim
17718
DEFS!$DEFS$ac_delim
17719
ECHO_C!$ECHO_C$ac_delim
17720
ECHO_N!$ECHO_N$ac_delim
17721
ECHO_T!$ECHO_T$ac_delim
17722
LIBS!$LIBS$ac_delim
17723
build_alias!$build_alias$ac_delim
17724
host_alias!$host_alias$ac_delim
17725
target_alias!$target_alias$ac_delim
17726
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
17727
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
17728
INSTALL_DATA!$INSTALL_DATA$ac_delim
17729
am__isrc!$am__isrc$ac_delim
17730
CYGPATH_W!$CYGPATH_W$ac_delim
17731
PACKAGE!$PACKAGE$ac_delim
17732
VERSION!$VERSION$ac_delim
17733
ACLOCAL!$ACLOCAL$ac_delim
17734
AUTOCONF!$AUTOCONF$ac_delim
17735
AUTOMAKE!$AUTOMAKE$ac_delim
17736
AUTOHEADER!$AUTOHEADER$ac_delim
17737
MAKEINFO!$MAKEINFO$ac_delim
17738
install_sh!$install_sh$ac_delim
17739
STRIP!$STRIP$ac_delim
17740
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
17741
mkdir_p!$mkdir_p$ac_delim
17742
AWK!$AWK$ac_delim
17743
SET_MAKE!$SET_MAKE$ac_delim
17744
am__leading_dot!$am__leading_dot$ac_delim
17745
AMTAR!$AMTAR$ac_delim
17746
am__tar!$am__tar$ac_delim
17747
am__untar!$am__untar$ac_delim
1.1.4 by Christopher James Halse Rogers
Import upstream version 0.6.1.0
17748
USE_NLS!$USE_NLS$ac_delim
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
17749
INTLTOOL_UPDATE!$INTLTOOL_UPDATE$ac_delim
17750
INTLTOOL_MERGE!$INTLTOOL_MERGE$ac_delim
17751
INTLTOOL_EXTRACT!$INTLTOOL_EXTRACT$ac_delim
1 by Christopher James Halse Rogers
Import upstream version 0.3.2.1
17752
INTLTOOL_DESKTOP_RULE!$INTLTOOL_DESKTOP_RULE$ac_delim
17753
INTLTOOL_DIRECTORY_RULE!$INTLTOOL_DIRECTORY_RULE$ac_delim
17754
INTLTOOL_KEYS_RULE!$INTLTOOL_KEYS_RULE$ac_delim
17755
INTLTOOL_PROP_RULE!$INTLTOOL_PROP_RULE$ac_delim
17756
INTLTOOL_OAF_RULE!$INTLTOOL_OAF_RULE$ac_delim
17757
INTLTOOL_PONG_RULE!$INTLTOOL_PONG_RULE$ac_delim
17758
INTLTOOL_SERVER_RULE!$INTLTOOL_SERVER_RULE$ac_delim
17759
INTLTOOL_SHEET_RULE!$INTLTOOL_SHEET_RULE$ac_delim
17760
INTLTOOL_SOUNDLIST_RULE!$INTLTOOL_SOUNDLIST_RULE$ac_delim
17761
INTLTOOL_UI_RULE!$INTLTOOL_UI_RULE$ac_delim
17762
INTLTOOL_XAM_RULE!$INTLTOOL_XAM_RULE$ac_delim
17763
INTLTOOL_KBD_RULE!$INTLTOOL_KBD_RULE$ac_delim
17764
INTLTOOL_XML_RULE!$INTLTOOL_XML_RULE$ac_delim
17765
INTLTOOL_XML_NOMERGE_RULE!$INTLTOOL_XML_NOMERGE_RULE$ac_delim
17766
INTLTOOL_CAVES_RULE!$INTLTOOL_CAVES_RULE$ac_delim
17767
INTLTOOL_SCHEMAS_RULE!$INTLTOOL_SCHEMAS_RULE$ac_delim
17768
INTLTOOL_THEME_RULE!$INTLTOOL_THEME_RULE$ac_delim
17769
INTLTOOL_SERVICE_RULE!$INTLTOOL_SERVICE_RULE$ac_delim
17770
INTLTOOL_POLICY_RULE!$INTLTOOL_POLICY_RULE$ac_delim
17771
XGETTEXT!$XGETTEXT$ac_delim
17772
MSGMERGE!$MSGMERGE$ac_delim
17773
MSGFMT!$MSGFMT$ac_delim
1.1.4 by Christopher James Halse Rogers
Import upstream version 0.6.1.0
17774
GMSGFMT!$GMSGFMT$ac_delim
1 by Christopher James Halse Rogers
Import upstream version 0.3.2.1
17775
INTLTOOL_PERL!$INTLTOOL_PERL$ac_delim
17776
ALL_LINGUAS!$ALL_LINGUAS$ac_delim
17777
CC!$CC$ac_delim
17778
CFLAGS!$CFLAGS$ac_delim
17779
LDFLAGS!$LDFLAGS$ac_delim
17780
CPPFLAGS!$CPPFLAGS$ac_delim
17781
ac_ct_CC!$ac_ct_CC$ac_delim
17782
EXEEXT!$EXEEXT$ac_delim
17783
OBJEXT!$OBJEXT$ac_delim
17784
DEPDIR!$DEPDIR$ac_delim
17785
am__include!$am__include$ac_delim
1.1.4 by Christopher James Halse Rogers
Import upstream version 0.6.1.0
17786
_ACEOF
17787
17788
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
17789
    break
17790
  elif $ac_last_try; then
17791
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
17792
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
17793
   { (exit 1); exit 1; }; }
17794
  else
17795
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17796
  fi
17797
done
17798
17799
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
17800
if test -n "$ac_eof"; then
17801
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
17802
  ac_eof=`expr $ac_eof + 1`
17803
fi
17804
17805
cat >>$CONFIG_STATUS <<_ACEOF
17806
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
17807
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
17808
_ACEOF
17809
sed '
17810
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
17811
s/^/s,@/; s/!/@,|#_!!_#|/
17812
:n
17813
t n
17814
s/'"$ac_delim"'$/,g/; t
17815
s/$/\\/; p
17816
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
17817
' >>$CONFIG_STATUS <conf$$subs.sed
17818
rm -f conf$$subs.sed
17819
cat >>$CONFIG_STATUS <<_ACEOF
17820
CEOF$ac_eof
17821
_ACEOF
17822
17823
17824
ac_delim='%!_!# '
17825
for ac_last_try in false false false false false :; do
17826
  cat >conf$$subs.sed <<_ACEOF
1 by Christopher James Halse Rogers
Import upstream version 0.3.2.1
17827
am__quote!$am__quote$ac_delim
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
17828
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
1 by Christopher James Halse Rogers
Import upstream version 0.3.2.1
17829
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
17830
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
17831
CCDEPMODE!$CCDEPMODE$ac_delim
17832
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
17833
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
17834
DATADIRNAME!$DATADIRNAME$ac_delim
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
17835
GETTEXT_PACKAGE!$GETTEXT_PACKAGE$ac_delim
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
17836
CPP!$CPP$ac_delim
17837
GREP!$GREP$ac_delim
17838
EGREP!$EGREP$ac_delim
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
17839
MSGFMT_OPTS!$MSGFMT_OPTS$ac_delim
17840
CATALOGS!$CATALOGS$ac_delim
17841
CATOBJEXT!$CATOBJEXT$ac_delim
17842
GMOFILES!$GMOFILES$ac_delim
17843
INSTOBJEXT!$INSTOBJEXT$ac_delim
17844
INTLLIBS!$INTLLIBS$ac_delim
17845
PO_IN_DATADIR_TRUE!$PO_IN_DATADIR_TRUE$ac_delim
17846
PO_IN_DATADIR_FALSE!$PO_IN_DATADIR_FALSE$ac_delim
17847
POFILES!$POFILES$ac_delim
17848
POSUB!$POSUB$ac_delim
17849
MKINSTALLDIRS!$MKINSTALLDIRS$ac_delim
17850
CONFIG_STATUS_DEPENDENCIES!$CONFIG_STATUS_DEPENDENCIES$ac_delim
1.1.4 by Christopher James Halse Rogers
Import upstream version 0.6.1.0
17851
ABI_VERSION!$ABI_VERSION$ac_delim
17852
VERSION_INFO!$VERSION_INFO$ac_delim
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
17853
PKG_CONFIG!$PKG_CONFIG$ac_delim
17854
MCS!$MCS$ac_delim
17855
MCS_LINQ_FLAG!$MCS_LINQ_FLAG$ac_delim
1.1.4 by Christopher James Halse Rogers
Import upstream version 0.6.1.0
17856
GCONFTOOL!$GCONFTOOL$ac_delim
17857
GCONF_SCHEMA_CONFIG_SOURCE!$GCONF_SCHEMA_CONFIG_SOURCE$ac_delim
17858
GCONF_SCHEMA_FILE_DIR!$GCONF_SCHEMA_FILE_DIR$ac_delim
17859
GCONF_SCHEMAS_INSTALL_TRUE!$GCONF_SCHEMAS_INSTALL_TRUE$ac_delim
17860
GCONF_SCHEMAS_INSTALL_FALSE!$GCONF_SCHEMAS_INSTALL_FALSE$ac_delim
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
17861
LIBTOOL!$LIBTOOL$ac_delim
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
17862
build!$build$ac_delim
17863
build_cpu!$build_cpu$ac_delim
17864
build_vendor!$build_vendor$ac_delim
17865
build_os!$build_os$ac_delim
17866
host!$host$ac_delim
17867
host_cpu!$host_cpu$ac_delim
17868
host_vendor!$host_vendor$ac_delim
17869
host_os!$host_os$ac_delim
17870
SED!$SED$ac_delim
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
17871
FGREP!$FGREP$ac_delim
17872
LD!$LD$ac_delim
17873
DUMPBIN!$DUMPBIN$ac_delim
17874
ac_ct_DUMPBIN!$ac_ct_DUMPBIN$ac_delim
17875
NM!$NM$ac_delim
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
17876
LN_S!$LN_S$ac_delim
1.1.5 by Christopher James Halse Rogers
Import upstream version 0.8.0
17877
OBJDUMP!$OBJDUMP$ac_delim
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
17878
AR!$AR$ac_delim
17879
RANLIB!$RANLIB$ac_delim
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
17880
lt_ECHO!$lt_ECHO$ac_delim
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
17881
DSYMUTIL!$DSYMUTIL$ac_delim
17882
NMEDIT!$NMEDIT$ac_delim
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
17883
LIPO!$LIPO$ac_delim
17884
OTOOL!$OTOOL$ac_delim
17885
OTOOL64!$OTOOL64$ac_delim
17886
expanded_libdir!$expanded_libdir$ac_delim
17887
expanded_bindir!$expanded_bindir$ac_delim
17888
expanded_datadir!$expanded_datadir$ac_delim
1.1.1 by Christopher James Halse Rogers
Import upstream version 0.4.0.1
17889
LIBDO_CFLAGS!$LIBDO_CFLAGS$ac_delim
17890
LIBDO_LIBS!$LIBDO_LIBS$ac_delim
1 by Christopher James Halse Rogers
Import upstream version 0.3.2.1
17891
GCONF_SHARP_20_CFLAGS!$GCONF_SHARP_20_CFLAGS$ac_delim
17892
GCONF_SHARP_20_LIBS!$GCONF_SHARP_20_LIBS$ac_delim
17893
GLADE_SHARP_20_CFLAGS!$GLADE_SHARP_20_CFLAGS$ac_delim
17894
GLADE_SHARP_20_LIBS!$GLADE_SHARP_20_LIBS$ac_delim
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
17895
GLIB_SHARP_20_CFLAGS!$GLIB_SHARP_20_CFLAGS$ac_delim
17896
GLIB_SHARP_20_LIBS!$GLIB_SHARP_20_LIBS$ac_delim
17897
GNOME_DESKTOP_SHARP_20_CFLAGS!$GNOME_DESKTOP_SHARP_20_CFLAGS$ac_delim
17898
GNOME_DESKTOP_SHARP_20_LIBS!$GNOME_DESKTOP_SHARP_20_LIBS$ac_delim
17899
GNOME_KEYRING_SHARP_CFLAGS!$GNOME_KEYRING_SHARP_CFLAGS$ac_delim
17900
GNOME_KEYRING_SHARP_LIBS!$GNOME_KEYRING_SHARP_LIBS$ac_delim
17901
GNOME_SHARP_20_CFLAGS!$GNOME_SHARP_20_CFLAGS$ac_delim
17902
GNOME_SHARP_20_LIBS!$GNOME_SHARP_20_LIBS$ac_delim
17903
GNOME_VFS_SHARP_20_CFLAGS!$GNOME_VFS_SHARP_20_CFLAGS$ac_delim
17904
GNOME_VFS_SHARP_20_LIBS!$GNOME_VFS_SHARP_20_LIBS$ac_delim
17905
GTK_SHARP_20_CFLAGS!$GTK_SHARP_20_CFLAGS$ac_delim
17906
GTK_SHARP_20_LIBS!$GTK_SHARP_20_LIBS$ac_delim
17907
MONO_ADDINS_CFLAGS!$MONO_ADDINS_CFLAGS$ac_delim
17908
MONO_ADDINS_LIBS!$MONO_ADDINS_LIBS$ac_delim
17909
MONO_ADDINS_GUI_CFLAGS!$MONO_ADDINS_GUI_CFLAGS$ac_delim
17910
MONO_ADDINS_GUI_LIBS!$MONO_ADDINS_GUI_LIBS$ac_delim
17911
MONO_ADDINS_SETUP_CFLAGS!$MONO_ADDINS_SETUP_CFLAGS$ac_delim
17912
MONO_ADDINS_SETUP_LIBS!$MONO_ADDINS_SETUP_LIBS$ac_delim
1 by Christopher James Halse Rogers
Import upstream version 0.3.2.1
17913
NDESK_DBUS_10_CFLAGS!$NDESK_DBUS_10_CFLAGS$ac_delim
17914
NDESK_DBUS_10_LIBS!$NDESK_DBUS_10_LIBS$ac_delim
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
17915
NDESK_DBUS_GLIB_10_CFLAGS!$NDESK_DBUS_GLIB_10_CFLAGS$ac_delim
17916
NDESK_DBUS_GLIB_10_LIBS!$NDESK_DBUS_GLIB_10_LIBS$ac_delim
17917
NOTIFY_SHARP_CFLAGS!$NOTIFY_SHARP_CFLAGS$ac_delim
17918
NOTIFY_SHARP_LIBS!$NOTIFY_SHARP_LIBS$ac_delim
1.1.5 by Christopher James Halse Rogers
Import upstream version 0.8.0
17919
WNCK_SHARP_10_CFLAGS!$WNCK_SHARP_10_CFLAGS$ac_delim
17920
WNCK_SHARP_10_LIBS!$WNCK_SHARP_10_LIBS$ac_delim
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
17921
NUNIT_CFLAGS!$NUNIT_CFLAGS$ac_delim
17922
NUNIT_LIBS!$NUNIT_LIBS$ac_delim
17923
HAVE_NUNIT_TRUE!$HAVE_NUNIT_TRUE$ac_delim
1.1.5 by Christopher James Halse Rogers
Import upstream version 0.8.0
17924
_ACEOF
17925
17926
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
17927
    break
17928
  elif $ac_last_try; then
17929
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
17930
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
17931
   { (exit 1); exit 1; }; }
17932
  else
17933
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17934
  fi
17935
done
17936
17937
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
17938
if test -n "$ac_eof"; then
17939
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
17940
  ac_eof=`expr $ac_eof + 1`
17941
fi
17942
17943
cat >>$CONFIG_STATUS <<_ACEOF
17944
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
17945
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
17946
_ACEOF
17947
sed '
17948
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
17949
s/^/s,@/; s/!/@,|#_!!_#|/
17950
:n
17951
t n
17952
s/'"$ac_delim"'$/,g/; t
17953
s/$/\\/; p
17954
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
17955
' >>$CONFIG_STATUS <conf$$subs.sed
17956
rm -f conf$$subs.sed
17957
cat >>$CONFIG_STATUS <<_ACEOF
17958
CEOF$ac_eof
17959
_ACEOF
17960
17961
17962
ac_delim='%!_!# '
17963
for ac_last_try in false false false false false :; do
17964
  cat >conf$$subs.sed <<_ACEOF
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
17965
HAVE_NUNIT_FALSE!$HAVE_NUNIT_FALSE$ac_delim
1 by Christopher James Halse Rogers
Import upstream version 0.3.2.1
17966
ENABLE_DEBUG_TRUE!$ENABLE_DEBUG_TRUE$ac_delim
17967
ENABLE_DEBUG_FALSE!$ENABLE_DEBUG_FALSE$ac_delim
17968
ENABLE_RELEASE_TRUE!$ENABLE_RELEASE_TRUE$ac_delim
17969
ENABLE_RELEASE_FALSE!$ENABLE_RELEASE_FALSE$ac_delim
17970
LIBOBJS!$LIBOBJS$ac_delim
17971
LTLIBOBJS!$LTLIBOBJS$ac_delim
17972
_ACEOF
17973
1.1.5 by Christopher James Halse Rogers
Import upstream version 0.8.0
17974
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 7; then
1 by Christopher James Halse Rogers
Import upstream version 0.3.2.1
17975
    break
17976
  elif $ac_last_try; then
17977
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
17978
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
17979
   { (exit 1); exit 1; }; }
17980
  else
17981
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17982
  fi
17983
done
17984
17985
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
17986
if test -n "$ac_eof"; then
17987
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
17988
  ac_eof=`expr $ac_eof + 1`
17989
fi
17990
17991
cat >>$CONFIG_STATUS <<_ACEOF
1.1.4 by Christopher James Halse Rogers
Import upstream version 0.6.1.0
17992
cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
1 by Christopher James Halse Rogers
Import upstream version 0.3.2.1
17993
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
17994
_ACEOF
17995
sed '
17996
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
17997
s/^/s,@/; s/!/@,|#_!!_#|/
17998
:n
17999
t n
18000
s/'"$ac_delim"'$/,g/; t
18001
s/$/\\/; p
18002
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
18003
' >>$CONFIG_STATUS <conf$$subs.sed
18004
rm -f conf$$subs.sed
18005
cat >>$CONFIG_STATUS <<_ACEOF
18006
:end
18007
s/|#_!!_#|//g
18008
CEOF$ac_eof
18009
_ACEOF
18010
18011
18012
# VPATH may cause trouble with some makes, so we remove $(srcdir),
18013
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
18014
# trailing colons and then remove the whole line if VPATH becomes empty
18015
# (actually we leave an empty line to preserve line numbers).
18016
if test "x$srcdir" = x.; then
18017
  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
18018
s/:*\$(srcdir):*/:/
18019
s/:*\${srcdir}:*/:/
18020
s/:*@srcdir@:*/:/
18021
s/^\([^=]*=[	 ]*\):*/\1/
18022
s/:*$//
18023
s/^[^=]*=[	 ]*$//
18024
}'
18025
fi
18026
18027
cat >>$CONFIG_STATUS <<\_ACEOF
18028
fi # test -n "$CONFIG_FILES"
18029
18030
18031
for ac_tag in  :F $CONFIG_FILES      :C $CONFIG_COMMANDS
18032
do
18033
  case $ac_tag in
18034
  :[FHLC]) ac_mode=$ac_tag; continue;;
18035
  esac
18036
  case $ac_mode$ac_tag in
18037
  :[FHL]*:*);;
18038
  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
18039
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
18040
   { (exit 1); exit 1; }; };;
18041
  :[FH]-) ac_tag=-:-;;
18042
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18043
  esac
18044
  ac_save_IFS=$IFS
18045
  IFS=:
18046
  set x $ac_tag
18047
  IFS=$ac_save_IFS
18048
  shift
18049
  ac_file=$1
18050
  shift
18051
18052
  case $ac_mode in
18053
  :L) ac_source=$1;;
18054
  :[FH])
18055
    ac_file_inputs=
18056
    for ac_f
18057
    do
18058
      case $ac_f in
18059
      -) ac_f="$tmp/stdin";;
18060
      *) # Look for the file first in the build tree, then in the source tree
18061
	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
18062
	 # because $ac_f cannot contain `:'.
18063
	 test -f "$ac_f" ||
18064
	   case $ac_f in
18065
	   [\\/$]*) false;;
18066
	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18067
	   esac ||
18068
	   { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
18069
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
18070
   { (exit 1); exit 1; }; };;
18071
      esac
18072
      ac_file_inputs="$ac_file_inputs $ac_f"
18073
    done
18074
18075
    # Let's still pretend it is `configure' which instantiates (i.e., don't
18076
    # use $as_me), people would be surprised to read:
18077
    #    /* config.h.  Generated by config.status.  */
18078
    configure_input="Generated from "`IFS=:
18079
	  echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
18080
    if test x"$ac_file" != x-; then
18081
      configure_input="$ac_file.  $configure_input"
18082
      { echo "$as_me:$LINENO: creating $ac_file" >&5
18083
echo "$as_me: creating $ac_file" >&6;}
18084
    fi
18085
18086
    case $ac_tag in
18087
    *:-:* | *:-) cat >"$tmp/stdin";;
18088
    esac
18089
    ;;
18090
  esac
18091
18092
  ac_dir=`$as_dirname -- "$ac_file" ||
18093
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18094
	 X"$ac_file" : 'X\(//\)[^/]' \| \
18095
	 X"$ac_file" : 'X\(//\)$' \| \
18096
	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18097
echo X"$ac_file" |
18098
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18099
	    s//\1/
18100
	    q
18101
	  }
18102
	  /^X\(\/\/\)[^/].*/{
18103
	    s//\1/
18104
	    q
18105
	  }
18106
	  /^X\(\/\/\)$/{
18107
	    s//\1/
18108
	    q
18109
	  }
18110
	  /^X\(\/\).*/{
18111
	    s//\1/
18112
	    q
18113
	  }
18114
	  s/.*/./; q'`
18115
  { as_dir="$ac_dir"
18116
  case $as_dir in #(
18117
  -*) as_dir=./$as_dir;;
18118
  esac
18119
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
18120
    as_dirs=
18121
    while :; do
18122
      case $as_dir in #(
18123
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
18124
      *) as_qdir=$as_dir;;
18125
      esac
18126
      as_dirs="'$as_qdir' $as_dirs"
18127
      as_dir=`$as_dirname -- "$as_dir" ||
18128
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18129
	 X"$as_dir" : 'X\(//\)[^/]' \| \
18130
	 X"$as_dir" : 'X\(//\)$' \| \
18131
	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18132
echo X"$as_dir" |
18133
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18134
	    s//\1/
18135
	    q
18136
	  }
18137
	  /^X\(\/\/\)[^/].*/{
18138
	    s//\1/
18139
	    q
18140
	  }
18141
	  /^X\(\/\/\)$/{
18142
	    s//\1/
18143
	    q
18144
	  }
18145
	  /^X\(\/\).*/{
18146
	    s//\1/
18147
	    q
18148
	  }
18149
	  s/.*/./; q'`
18150
      test -d "$as_dir" && break
18151
    done
18152
    test -z "$as_dirs" || eval "mkdir $as_dirs"
18153
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
18154
echo "$as_me: error: cannot create directory $as_dir" >&2;}
18155
   { (exit 1); exit 1; }; }; }
18156
  ac_builddir=.
18157
18158
case "$ac_dir" in
18159
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18160
*)
18161
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
18162
  # A ".." for each directory in $ac_dir_suffix.
18163
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
18164
  case $ac_top_builddir_sub in
18165
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18166
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18167
  esac ;;
18168
esac
18169
ac_abs_top_builddir=$ac_pwd
18170
ac_abs_builddir=$ac_pwd$ac_dir_suffix
18171
# for backward compatibility:
18172
ac_top_builddir=$ac_top_build_prefix
18173
18174
case $srcdir in
18175
  .)  # We are building in place.
18176
    ac_srcdir=.
18177
    ac_top_srcdir=$ac_top_builddir_sub
18178
    ac_abs_top_srcdir=$ac_pwd ;;
18179
  [\\/]* | ?:[\\/]* )  # Absolute name.
18180
    ac_srcdir=$srcdir$ac_dir_suffix;
18181
    ac_top_srcdir=$srcdir
18182
    ac_abs_top_srcdir=$srcdir ;;
18183
  *) # Relative name.
18184
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18185
    ac_top_srcdir=$ac_top_build_prefix$srcdir
18186
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18187
esac
18188
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18189
18190
18191
  case $ac_mode in
18192
  :F)
18193
  #
18194
  # CONFIG_FILE
18195
  #
18196
18197
  case $INSTALL in
18198
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
18199
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
18200
  esac
18201
  ac_MKDIR_P=$MKDIR_P
18202
  case $MKDIR_P in
18203
  [\\/$]* | ?:[\\/]* ) ;;
18204
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
18205
  esac
18206
_ACEOF
18207
18208
cat >>$CONFIG_STATUS <<\_ACEOF
18209
# If the template does not know about datarootdir, expand it.
18210
# FIXME: This hack should be removed a few years after 2.60.
18211
ac_datarootdir_hack=; ac_datarootdir_seen=
18212
18213
case `sed -n '/datarootdir/ {
18214
  p
18215
  q
18216
}
18217
/@datadir@/p
18218
/@docdir@/p
18219
/@infodir@/p
18220
/@localedir@/p
18221
/@mandir@/p
18222
' $ac_file_inputs` in
18223
*datarootdir*) ac_datarootdir_seen=yes;;
18224
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18225
  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18226
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18227
_ACEOF
18228
cat >>$CONFIG_STATUS <<_ACEOF
18229
  ac_datarootdir_hack='
18230
  s&@datadir@&$datadir&g
18231
  s&@docdir@&$docdir&g
18232
  s&@infodir@&$infodir&g
18233
  s&@localedir@&$localedir&g
18234
  s&@mandir@&$mandir&g
18235
    s&\\\${datarootdir}&$datarootdir&g' ;;
18236
esac
18237
_ACEOF
18238
18239
# Neutralize VPATH when `$srcdir' = `.'.
18240
# Shell code in configure.ac might set extrasub.
18241
# FIXME: do we really want to maintain this feature?
18242
cat >>$CONFIG_STATUS <<_ACEOF
18243
  sed "$ac_vpsub
18244
$extrasub
18245
_ACEOF
18246
cat >>$CONFIG_STATUS <<\_ACEOF
18247
:t
18248
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18249
s&@configure_input@&$configure_input&;t t
18250
s&@top_builddir@&$ac_top_builddir_sub&;t t
18251
s&@srcdir@&$ac_srcdir&;t t
18252
s&@abs_srcdir@&$ac_abs_srcdir&;t t
18253
s&@top_srcdir@&$ac_top_srcdir&;t t
18254
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18255
s&@builddir@&$ac_builddir&;t t
18256
s&@abs_builddir@&$ac_abs_builddir&;t t
18257
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18258
s&@INSTALL@&$ac_INSTALL&;t t
18259
s&@MKDIR_P@&$ac_MKDIR_P&;t t
18260
$ac_datarootdir_hack
1.1.4 by Christopher James Halse Rogers
Import upstream version 0.6.1.0
18261
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" | sed -f "$tmp/subs-3.sed" >$tmp/out
1 by Christopher James Halse Rogers
Import upstream version 0.3.2.1
18262
18263
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18264
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
18265
  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
18266
  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18267
which seems to be undefined.  Please make sure it is defined." >&5
18268
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18269
which seems to be undefined.  Please make sure it is defined." >&2;}
18270
18271
  rm -f "$tmp/stdin"
18272
  case $ac_file in
18273
  -) cat "$tmp/out"; rm -f "$tmp/out";;
18274
  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
18275
  esac
18276
 ;;
18277
18278
18279
  :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
18280
echo "$as_me: executing $ac_file commands" >&6;}
18281
 ;;
18282
  esac
18283
18284
18285
  case $ac_file$ac_mode in
18286
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
18287
  # Strip MF so we end up with the name of the file.
18288
  mf=`echo "$mf" | sed -e 's/:.*$//'`
18289
  # Check whether this is an Automake generated Makefile or not.
18290
  # We used to match only the files named `Makefile.in', but
18291
  # some people rename them; so instead we look at the file content.
18292
  # Grep'ing the first line is not enough: some people post-process
18293
  # each Makefile.in and add a new line on top of each file to say so.
18294
  # Grep'ing the whole file is not good either: AIX grep has a line
18295
  # limit of 2048, but all sed's we know have understand at least 4000.
18296
  if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
18297
    dirpart=`$as_dirname -- "$mf" ||
18298
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18299
	 X"$mf" : 'X\(//\)[^/]' \| \
18300
	 X"$mf" : 'X\(//\)$' \| \
18301
	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
18302
echo X"$mf" |
18303
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18304
	    s//\1/
18305
	    q
18306
	  }
18307
	  /^X\(\/\/\)[^/].*/{
18308
	    s//\1/
18309
	    q
18310
	  }
18311
	  /^X\(\/\/\)$/{
18312
	    s//\1/
18313
	    q
18314
	  }
18315
	  /^X\(\/\).*/{
18316
	    s//\1/
18317
	    q
18318
	  }
18319
	  s/.*/./; q'`
18320
  else
18321
    continue
18322
  fi
18323
  # Extract the definition of DEPDIR, am__include, and am__quote
18324
  # from the Makefile without running `make'.
18325
  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
18326
  test -z "$DEPDIR" && continue
18327
  am__include=`sed -n 's/^am__include = //p' < "$mf"`
18328
  test -z "am__include" && continue
18329
  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
18330
  # When using ansi2knr, U may be empty or an underscore; expand it
18331
  U=`sed -n 's/^U = //p' < "$mf"`
18332
  # Find all dependency output files, they are included files with
18333
  # $(DEPDIR) in their names.  We invoke sed twice because it is the
18334
  # simplest approach to changing $(DEPDIR) to its actual value in the
18335
  # expansion.
18336
  for file in `sed -n "
18337
    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18338
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
18339
    # Make sure the directory exists.
18340
    test -f "$dirpart/$file" && continue
18341
    fdir=`$as_dirname -- "$file" ||
18342
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18343
	 X"$file" : 'X\(//\)[^/]' \| \
18344
	 X"$file" : 'X\(//\)$' \| \
18345
	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
18346
echo X"$file" |
18347
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18348
	    s//\1/
18349
	    q
18350
	  }
18351
	  /^X\(\/\/\)[^/].*/{
18352
	    s//\1/
18353
	    q
18354
	  }
18355
	  /^X\(\/\/\)$/{
18356
	    s//\1/
18357
	    q
18358
	  }
18359
	  /^X\(\/\).*/{
18360
	    s//\1/
18361
	    q
18362
	  }
18363
	  s/.*/./; q'`
18364
    { as_dir=$dirpart/$fdir
18365
  case $as_dir in #(
18366
  -*) as_dir=./$as_dir;;
18367
  esac
18368
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
18369
    as_dirs=
18370
    while :; do
18371
      case $as_dir in #(
18372
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
18373
      *) as_qdir=$as_dir;;
18374
      esac
18375
      as_dirs="'$as_qdir' $as_dirs"
18376
      as_dir=`$as_dirname -- "$as_dir" ||
18377
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18378
	 X"$as_dir" : 'X\(//\)[^/]' \| \
18379
	 X"$as_dir" : 'X\(//\)$' \| \
18380
	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18381
echo X"$as_dir" |
18382
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18383
	    s//\1/
18384
	    q
18385
	  }
18386
	  /^X\(\/\/\)[^/].*/{
18387
	    s//\1/
18388
	    q
18389
	  }
18390
	  /^X\(\/\/\)$/{
18391
	    s//\1/
18392
	    q
18393
	  }
18394
	  /^X\(\/\).*/{
18395
	    s//\1/
18396
	    q
18397
	  }
18398
	  s/.*/./; q'`
18399
      test -d "$as_dir" && break
18400
    done
18401
    test -z "$as_dirs" || eval "mkdir $as_dirs"
18402
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
18403
echo "$as_me: error: cannot create directory $as_dir" >&2;}
18404
   { (exit 1); exit 1; }; }; }
18405
    # echo "creating $dirpart/$file"
18406
    echo '# dummy' > "$dirpart/$file"
18407
  done
18408
done
18409
 ;;
18410
    "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
18411
        sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
18412
      esac ;;
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
18413
    "libtool":C)
18414
18415
    # See if we are running on zsh, and set the options which allow our
18416
    # commands through without removal of \ escapes.
18417
    if test -n "${ZSH_VERSION+set}" ; then
18418
      setopt NO_GLOB_SUBST
18419
    fi
18420
18421
    cfgfile="${ofile}T"
18422
    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18423
    $RM "$cfgfile"
18424
18425
    cat <<_LT_EOF >> "$cfgfile"
18426
#! $SHELL
18427
18428
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
18429
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
18430
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18431
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
18432
#
18433
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
18434
#                 2006, 2007, 2008 Free Software Foundation, Inc.
18435
#   Written by Gordon Matzigkeit, 1996
18436
#
18437
#   This file is part of GNU Libtool.
18438
#
18439
# GNU Libtool is free software; you can redistribute it and/or
18440
# modify it under the terms of the GNU General Public License as
18441
# published by the Free Software Foundation; either version 2 of
18442
# the License, or (at your option) any later version.
18443
#
18444
# As a special exception to the GNU General Public License,
18445
# if you distribute this file as part of a program or library that
18446
# is built using GNU Libtool, you may include this file under the
18447
# same distribution terms that you use for the rest of that program.
18448
#
18449
# GNU Libtool is distributed in the hope that it will be useful,
18450
# but WITHOUT ANY WARRANTY; without even the implied warranty of
18451
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18452
# GNU General Public License for more details.
18453
#
18454
# You should have received a copy of the GNU General Public License
18455
# along with GNU Libtool; see the file COPYING.  If not, a copy
18456
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
18457
# obtained by writing to the Free Software Foundation, Inc.,
18458
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18459
18460
18461
# The names of the tagged configurations supported by this script.
18462
available_tags=""
18463
18464
# ### BEGIN LIBTOOL CONFIG
18465
18466
# Whether or not to build static libraries.
18467
build_old_libs=$enable_static
18468
18469
# Which release of libtool.m4 was used?
18470
macro_version=$macro_version
18471
macro_revision=$macro_revision
18472
18473
# Whether or not to build shared libraries.
18474
build_libtool_libs=$enable_shared
18475
18476
# What type of objects to build.
18477
pic_mode=$pic_mode
18478
18479
# Whether or not to optimize for fast installation.
18480
fast_install=$enable_fast_install
18481
18482
# The host system.
18483
host_alias=$host_alias
18484
host=$host
18485
host_os=$host_os
18486
18487
# The build system.
18488
build_alias=$build_alias
18489
build=$build
18490
build_os=$build_os
18491
18492
# A sed program that does not truncate output.
18493
SED=$lt_SED
18494
18495
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
18496
Xsed="\$SED -e 1s/^X//"
18497
18498
# A grep program that handles long lines.
18499
GREP=$lt_GREP
18500
18501
# An ERE matcher.
18502
EGREP=$lt_EGREP
18503
18504
# A literal string matcher.
18505
FGREP=$lt_FGREP
18506
18507
# A BSD- or MS-compatible name lister.
18508
NM=$lt_NM
18509
18510
# Whether we need soft or hard links.
18511
LN_S=$lt_LN_S
18512
18513
# What is the maximum length of a command?
18514
max_cmd_len=$max_cmd_len
18515
18516
# Object file suffix (normally "o").
18517
objext=$ac_objext
18518
18519
# Executable file suffix (normally "").
18520
exeext=$exeext
18521
18522
# whether the shell understands "unset".
18523
lt_unset=$lt_unset
18524
18525
# turn spaces into newlines.
18526
SP2NL=$lt_lt_SP2NL
18527
18528
# turn newlines into spaces.
18529
NL2SP=$lt_lt_NL2SP
18530
18531
# How to create reloadable object files.
18532
reload_flag=$lt_reload_flag
18533
reload_cmds=$lt_reload_cmds
18534
1.1.5 by Christopher James Halse Rogers
Import upstream version 0.8.0
18535
# An object symbol dumper.
18536
OBJDUMP=$lt_OBJDUMP
18537
1.1.3 by Christopher James Halse Rogers
Import upstream version 0.6.0.0
18538
# Method to check whether dependent libraries are shared objects.
18539
deplibs_check_method=$lt_deplibs_check_method
18540
18541
# Command to use when deplibs_check_method == "file_magic".
18542
file_magic_cmd=$lt_file_magic_cmd
18543
18544
# The archiver.
18545
AR=$lt_AR
18546
AR_FLAGS=$lt_AR_FLAGS
18547
18548
# A symbol stripping program.
18549
STRIP=$lt_STRIP
18550
18551
# Commands used to install an old-style archive.
18552
RANLIB=$lt_RANLIB
18553
old_postinstall_cmds=$lt_old_postinstall_cmds
18554
old_postuninstall_cmds=$lt_old_postuninstall_cmds
18555
18556
# A C compiler.
18557
LTCC=$lt_CC
18558
18559
# LTCC compiler flags.
18560
LTCFLAGS=$lt_CFLAGS
18561
18562
# Take the output of nm and produce a listing of raw symbols and C names.
18563
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18564
18565
# Transform the output of nm in a proper C declaration.
18566
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18567
18568
# Transform the output of nm in a C name address pair.
18569
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18570
18571
# Transform the output of nm in a C name address pair when lib prefix is needed.
18572
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18573
18574
# The name of the directory that contains temporary libtool files.
18575
objdir=$objdir
18576
18577
# Shell to use when invoking shell scripts.
18578
SHELL=$lt_SHELL
18579
18580
# An echo program that does not interpret backslashes.
18581
ECHO=$lt_ECHO
18582
18583
# Used to examine libraries when file_magic_cmd begins with "file".
18584
MAGIC_CMD=$MAGIC_CMD
18585
18586
# Must we lock files when doing compilation?
18587
need_locks=$lt_need_locks
18588
18589
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18590
DSYMUTIL=$lt_DSYMUTIL
18591
18592
# Tool to change global to local symbols on Mac OS X.
18593
NMEDIT=$lt_NMEDIT
18594
18595
# Tool to manipulate fat objects and archives on Mac OS X.
18596
LIPO=$lt_LIPO
18597
18598
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
18599
OTOOL=$lt_OTOOL
18600
18601
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18602
OTOOL64=$lt_OTOOL64
18603
18604
# Old archive suffix (normally "a").
18605
libext=$libext
18606
18607
# Shared library suffix (normally ".so").
18608
shrext_cmds=$lt_shrext_cmds
18609
18610
# The commands to extract the exported symbol list from a shared archive.
18611
extract_expsyms_cmds=$lt_extract_expsyms_cmds
18612
18613
# Variables whose values should be saved in libtool wrapper scripts and
18614
# restored at link time.
18615
variables_saved_for_relink=$lt_variables_saved_for_relink
18616
18617
# Do we need the "lib" prefix for modules?
18618
need_lib_prefix=$need_lib_prefix
18619
18620
# Do we need a version for libraries?
18621
need_version=$need_version
18622
18623
# Library versioning type.
18624
version_type=$version_type
18625
18626
# Shared library runtime path variable.
18627
runpath_var=$runpath_var
18628
18629
# Shared library path variable.
18630
shlibpath_var=$shlibpath_var
18631
18632
# Is shlibpath searched before the hard-coded library search path?
18633
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18634
18635
# Format of library name prefix.
18636
libname_spec=$lt_libname_spec
18637
18638
# List of archive names.  First name is the real one, the rest are links.
18639
# The last name is the one that the linker finds with -lNAME
18640
library_names_spec=$lt_library_names_spec
18641
18642
# The coded name of the library, if different from the real name.
18643
soname_spec=$lt_soname_spec
18644
18645
# Command to use after installation of a shared archive.
18646
postinstall_cmds=$lt_postinstall_cmds
18647
18648
# Command to use after uninstallation of a shared archive.
18649
postuninstall_cmds=$lt_postuninstall_cmds
18650
18651
# Commands used to finish a libtool library installation in a directory.
18652
finish_cmds=$lt_finish_cmds
18653
18654
# As "finish_cmds", except a single script fragment to be evaled but
18655
# not shown.
18656
finish_eval=$lt_finish_eval
18657
18658
# Whether we should hardcode library paths into libraries.
18659
hardcode_into_libs=$hardcode_into_libs
18660
18661
# Compile-time system search path for libraries.
18662
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18663
18664
# Run-time system search path for libraries.
18665
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18666
18667
# Whether dlopen is supported.
18668
dlopen_support=$enable_dlopen
18669
18670
# Whether dlopen of programs is supported.
18671
dlopen_self=$enable_dlopen_self
18672
18673
# Whether dlopen of statically linked programs is supported.
18674
dlopen_self_static=$enable_dlopen_self_static
18675
18676
# Commands to strip libraries.
18677
old_striplib=$lt_old_striplib
18678
striplib=$lt_striplib
18679
18680
18681
# The linker used to build libraries.
18682
LD=$lt_LD
18683
18684
# Commands used to build an old-style archive.
18685
old_archive_cmds=$lt_old_archive_cmds
18686
18687
# A language specific compiler.
18688
CC=$lt_compiler
18689
18690
# Is the compiler the GNU compiler?
18691
with_gcc=$GCC
18692
18693
# Compiler flag to turn off builtin functions.
18694
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18695
18696
# How to pass a linker flag through the compiler.
18697
wl=$lt_lt_prog_compiler_wl
18698
18699
# Additional compiler flags for building library objects.
18700
pic_flag=$lt_lt_prog_compiler_pic
18701
18702
# Compiler flag to prevent dynamic linking.
18703
link_static_flag=$lt_lt_prog_compiler_static
18704
18705
# Does compiler simultaneously support -c and -o options?
18706
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18707
18708
# Whether or not to add -lc for building shared libraries.
18709
build_libtool_need_lc=$archive_cmds_need_lc
18710
18711
# Whether or not to disallow shared libs when runtime libs are static.
18712
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18713
18714
# Compiler flag to allow reflexive dlopens.
18715
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18716
18717
# Compiler flag to generate shared objects directly from archives.
18718
whole_archive_flag_spec=$lt_whole_archive_flag_spec
18719
18720
# Whether the compiler copes with passing no objects directly.
18721
compiler_needs_object=$lt_compiler_needs_object
18722
18723
# Create an old-style archive from a shared archive.
18724
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18725
18726
# Create a temporary old-style archive to link instead of a shared archive.
18727
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18728
18729
# Commands used to build a shared archive.
18730
archive_cmds=$lt_archive_cmds
18731
archive_expsym_cmds=$lt_archive_expsym_cmds
18732
18733
# Commands used to build a loadable module if different from building
18734
# a shared archive.
18735
module_cmds=$lt_module_cmds
18736
module_expsym_cmds=$lt_module_expsym_cmds
18737
18738
# Whether we are building with GNU ld or not.
18739
with_gnu_ld=$lt_with_gnu_ld
18740
18741
# Flag that allows shared libraries with undefined symbols to be built.
18742
allow_undefined_flag=$lt_allow_undefined_flag
18743
18744
# Flag that enforces no undefined symbols.
18745
no_undefined_flag=$lt_no_undefined_flag
18746
18747
# Flag to hardcode \$libdir into a binary during linking.
18748
# This must work even if \$libdir does not exist
18749
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18750
18751
# If ld is used when linking, flag to hardcode \$libdir into a binary
18752
# during linking.  This must work even if \$libdir does not exist.
18753
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
18754
18755
# Whether we need a single "-rpath" flag with a separated argument.
18756
hardcode_libdir_separator=$lt_hardcode_libdir_separator
18757
18758
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18759
# DIR into the resulting binary.
18760
hardcode_direct=$hardcode_direct
18761
18762
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18763
# DIR into the resulting binary and the resulting library dependency is
18764
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18765
# library is relocated.
18766
hardcode_direct_absolute=$hardcode_direct_absolute
18767
18768
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18769
# into the resulting binary.
18770
hardcode_minus_L=$hardcode_minus_L
18771
18772
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18773
# into the resulting binary.
18774
hardcode_shlibpath_var=$hardcode_shlibpath_var
18775
18776
# Set to "yes" if building a shared library automatically hardcodes DIR
18777
# into the library and all subsequent libraries and executables linked
18778
# against it.
18779
hardcode_automatic=$hardcode_automatic
18780
18781
# Set to yes if linker adds runtime paths of dependent libraries
18782
# to runtime path list.
18783
inherit_rpath=$inherit_rpath
18784
18785
# Whether libtool must link a program against all its dependency libraries.
18786
link_all_deplibs=$link_all_deplibs
18787
18788
# Fix the shell variable \$srcfile for the compiler.
18789
fix_srcfile_path=$lt_fix_srcfile_path
18790
18791
# Set to "yes" if exported symbols are required.
18792
always_export_symbols=$always_export_symbols
18793
18794
# The commands to list exported symbols.
18795
export_symbols_cmds=$lt_export_symbols_cmds
18796
18797
# Symbols that should not be listed in the preloaded symbols.
18798
exclude_expsyms=$lt_exclude_expsyms
18799
18800
# Symbols that must always be exported.
18801
include_expsyms=$lt_include_expsyms
18802
18803
# Commands necessary for linking programs (against libraries) with templates.
18804
prelink_cmds=$lt_prelink_cmds
18805
18806
# Specify filename containing input files.
18807
file_list_spec=$lt_file_list_spec
18808
18809
# How to hardcode a shared library path into an executable.
18810
hardcode_action=$hardcode_action
18811
18812
# ### END LIBTOOL CONFIG
18813
18814
_LT_EOF
18815
18816
  case $host_os in
18817
  aix3*)
18818
    cat <<\_LT_EOF >> "$cfgfile"
18819
# AIX sometimes has problems with the GCC collect2 program.  For some
18820
# reason, if we set the COLLECT_NAMES environment variable, the problems
18821
# vanish in a puff of smoke.
18822
if test "X${COLLECT_NAMES+set}" != Xset; then
18823
  COLLECT_NAMES=
18824
  export COLLECT_NAMES
18825
fi
18826
_LT_EOF
18827
    ;;
18828
  esac
18829
18830
18831
ltmain="$ac_aux_dir/ltmain.sh"
18832
18833
18834
  # We use sed instead of cat because bash on DJGPP gets confused if
18835
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
18836
  # text mode, it properly converts lines to CR/LF.  This bash problem
18837
  # is reportedly fixed, but why not run on old versions too?
18838
  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
18839
    || (rm -f "$cfgfile"; exit 1)
18840
18841
  case $xsi_shell in
18842
  yes)
18843
    cat << \_LT_EOF >> "$cfgfile"
18844
18845
# func_dirname file append nondir_replacement
18846
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
18847
# otherwise set result to NONDIR_REPLACEMENT.
18848
func_dirname ()
18849
{
18850
  case ${1} in
18851
    */*) func_dirname_result="${1%/*}${2}" ;;
18852
    *  ) func_dirname_result="${3}" ;;
18853
  esac
18854
}
18855
18856
# func_basename file
18857
func_basename ()
18858
{
18859
  func_basename_result="${1##*/}"
18860
}
18861
18862
# func_dirname_and_basename file append nondir_replacement
18863
# perform func_basename and func_dirname in a single function
18864
# call:
18865
#   dirname:  Compute the dirname of FILE.  If nonempty,
18866
#             add APPEND to the result, otherwise set result
18867
#             to NONDIR_REPLACEMENT.
18868
#             value returned in "$func_dirname_result"
18869
#   basename: Compute filename of FILE.
18870
#             value retuned in "$func_basename_result"
18871
# Implementation must be kept synchronized with func_dirname
18872
# and func_basename. For efficiency, we do not delegate to
18873
# those functions but instead duplicate the functionality here.
18874
func_dirname_and_basename ()
18875
{
18876
  case ${1} in
18877
    */*) func_dirname_result="${1%/*}${2}" ;;
18878
    *  ) func_dirname_result="${3}" ;;
18879
  esac
18880
  func_basename_result="${1##*/}"
18881
}
18882
18883
# func_stripname prefix suffix name
18884
# strip PREFIX and SUFFIX off of NAME.
18885
# PREFIX and SUFFIX must not contain globbing or regex special
18886
# characters, hashes, percent signs, but SUFFIX may contain a leading
18887
# dot (in which case that matches only a dot).
18888
func_stripname ()
18889
{
18890
  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
18891
  # positional parameters, so assign one to ordinary parameter first.
18892
  func_stripname_result=${3}
18893
  func_stripname_result=${func_stripname_result#"${1}"}
18894
  func_stripname_result=${func_stripname_result%"${2}"}
18895
}
18896
18897
# func_opt_split
18898
func_opt_split ()
18899
{
18900
  func_opt_split_opt=${1%%=*}
18901
  func_opt_split_arg=${1#*=}
18902
}
18903
18904
# func_lo2o object
18905
func_lo2o ()
18906
{
18907
  case ${1} in
18908
    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
18909
    *)    func_lo2o_result=${1} ;;
18910
  esac
18911
}
18912
18913
# func_xform libobj-or-source
18914
func_xform ()
18915
{
18916
  func_xform_result=${1%.*}.lo
18917
}
18918
18919
# func_arith arithmetic-term...
18920
func_arith ()
18921
{
18922
  func_arith_result=$(( $* ))
18923
}
18924
18925
# func_len string
18926
# STRING may not start with a hyphen.
18927
func_len ()
18928
{
18929
  func_len_result=${#1}
18930
}
18931
18932
_LT_EOF
18933
    ;;
18934
  *) # Bourne compatible functions.
18935
    cat << \_LT_EOF >> "$cfgfile"
18936
18937
# func_dirname file append nondir_replacement
18938
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
18939
# otherwise set result to NONDIR_REPLACEMENT.
18940
func_dirname ()
18941
{
18942
  # Extract subdirectory from the argument.
18943
  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
18944
  if test "X$func_dirname_result" = "X${1}"; then
18945
    func_dirname_result="${3}"
18946
  else
18947
    func_dirname_result="$func_dirname_result${2}"
18948
  fi
18949
}
18950
18951
# func_basename file
18952
func_basename ()
18953
{
18954
  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
18955
}
18956
18957
18958
# func_stripname prefix suffix name
18959
# strip PREFIX and SUFFIX off of NAME.
18960
# PREFIX and SUFFIX must not contain globbing or regex special
18961
# characters, hashes, percent signs, but SUFFIX may contain a leading
18962
# dot (in which case that matches only a dot).
18963
# func_strip_suffix prefix name
18964
func_stripname ()
18965
{
18966
  case ${2} in
18967
    .*) func_stripname_result=`$ECHO "X${3}" \
18968
           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
18969
    *)  func_stripname_result=`$ECHO "X${3}" \
18970
           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
18971
  esac
18972
}
18973
18974
# sed scripts:
18975
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
18976
my_sed_long_arg='1s/^-[^=]*=//'
18977
18978
# func_opt_split
18979
func_opt_split ()
18980
{
18981
  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
18982
  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
18983
}
18984
18985
# func_lo2o object
18986
func_lo2o ()
18987
{
18988
  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
18989
}
18990
18991
# func_xform libobj-or-source
18992
func_xform ()
18993
{
18994
  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
18995
}
18996
18997
# func_arith arithmetic-term...
18998
func_arith ()
18999
{
19000
  func_arith_result=`expr "$@"`
19001
}
19002
19003
# func_len string
19004
# STRING may not start with a hyphen.
19005
func_len ()
19006
{
19007
  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
19008
}
19009
19010
_LT_EOF
19011
esac
19012
19013
case $lt_shell_append in
19014
  yes)
19015
    cat << \_LT_EOF >> "$cfgfile"
19016
19017
# func_append var value
19018
# Append VALUE to the end of shell variable VAR.
19019
func_append ()
19020
{
19021
  eval "$1+=\$2"
19022
}
19023
_LT_EOF
19024
    ;;
19025
  *)
19026
    cat << \_LT_EOF >> "$cfgfile"
19027
19028
# func_append var value
19029
# Append VALUE to the end of shell variable VAR.
19030
func_append ()
19031
{
19032
  eval "$1=\$$1\$2"
19033
}
19034
19035
_LT_EOF
19036
    ;;
19037
  esac
19038
19039
19040
  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
19041
    || (rm -f "$cfgfile"; exit 1)
19042
19043
  mv -f "$cfgfile" "$ofile" ||
19044
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
19045
  chmod +x "$ofile"
19046
19047
 ;;
1 by Christopher James Halse Rogers
Import upstream version 0.3.2.1
19048
    "po/stamp-it":C)
1.1.5 by Christopher James Halse Rogers
Import upstream version 0.8.0
19049
    if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" ; then
19050
       { { echo "$as_me:$LINENO: error: po/Makefile.in.in was not created by intltoolize." >&5
19051
echo "$as_me: error: po/Makefile.in.in was not created by intltoolize." >&2;}
19052
   { (exit 1); exit 1; }; }
19053
    fi
1 by Christopher James Halse Rogers
Import upstream version 0.3.2.1
19054
    rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
19055
    >"po/stamp-it.tmp"
19056
    sed '/^#/d
19057
	 s/^[[].*] *//
19058
	 /^[ 	]*$/d
19059
	'"s|^|	$ac_top_srcdir/|" \
19060
      "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
19061
19062
    sed '/^POTFILES =/,/[^\\]$/ {
19063
		/^POTFILES =/!d
19064
		r po/POTFILES
19065
	  }
1.1.4 by Christopher James Halse Rogers
Import upstream version 0.6.1.0
19066
	 ' "po/Makefile.in" >"po/Makefile"
1 by Christopher James Halse Rogers
Import upstream version 0.3.2.1
19067
    rm -f "po/Makefile.tmp"
19068
    mv "po/stamp-it.tmp" "po/stamp-it"
19069
   ;;
19070
19071
  esac
19072
done # for ac_tag
19073
19074
19075
{ (exit 0); exit 0; }
19076
_ACEOF
19077
chmod +x $CONFIG_STATUS
19078
ac_clean_files=$ac_clean_files_save
19079
19080
19081
# configure is writing to config.log, and then calls config.status.
19082
# config.status does its own redirection, appending to config.log.
19083
# Unfortunately, on DOS this fails, as config.log is still kept open
19084
# by configure, so config.status won't be able to write to it; its
19085
# output is simply discarded.  So we exec the FD to /dev/null,
19086
# effectively closing config.log, so it can be properly (re)opened and
19087
# appended to by config.status.  When coming back to configure, we
19088
# need to make the FD available again.
19089
if test "$no_create" != yes; then
19090
  ac_cs_success=:
19091
  ac_config_status_args=
19092
  test "$silent" = yes &&
19093
    ac_config_status_args="$ac_config_status_args --quiet"
19094
  exec 5>/dev/null
19095
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19096
  exec 5>>config.log
19097
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19098
  # would make configure fail if this is the last instruction.
19099
  $ac_cs_success || { (exit 1); exit 1; }
19100
fi
19101