1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69 for libdbusmenu 16.04.0.
4#
5# Report bugs to <ted@canonical.com>.
6#
7#
8# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9#
10#
11# This configure script is free software; the Free Software Foundation
12# gives unlimited permission to copy, distribute and modify it.
13#
14# Copyright 2009-2016 Canonical
15## -------------------- ##
16## M4sh Initialization. ##
17## -------------------- ##
18
19# Be more Bourne compatible
20DUALCASE=1; export DUALCASE # for MKS sh
21if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22  emulate sh
23  NULLCMD=:
24  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25  # is contrary to our usage.  Disable this feature.
26  alias -g '${1+"$@"}'='"$@"'
27  setopt NO_GLOB_SUBST
28else
29  case `(set -o) 2>/dev/null` in #(
30  *posix*) :
31    set -o posix ;; #(
32  *) :
33     ;;
34esac
35fi
36
37
38as_nl='
39'
40export as_nl
41# Printing a long string crashes Solaris 7 /usr/bin/printf.
42as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45# Prefer a ksh shell builtin over an external printf program on Solaris,
46# but without wasting forks for bash or zsh.
47if test -z "$BASH_VERSION$ZSH_VERSION" \
48    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49  as_echo='print -r --'
50  as_echo_n='print -rn --'
51elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52  as_echo='printf %s\n'
53  as_echo_n='printf %s'
54else
55  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57    as_echo_n='/usr/ucb/echo -n'
58  else
59    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60    as_echo_n_body='eval
61      arg=$1;
62      case $arg in #(
63      *"$as_nl"*)
64	expr "X$arg" : "X\\(.*\\)$as_nl";
65	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66      esac;
67      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68    '
69    export as_echo_n_body
70    as_echo_n='sh -c $as_echo_n_body as_echo'
71  fi
72  export as_echo_body
73  as_echo='sh -c $as_echo_body as_echo'
74fi
75
76# The user is always right.
77if test "${PATH_SEPARATOR+set}" != set; then
78  PATH_SEPARATOR=:
79  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81      PATH_SEPARATOR=';'
82  }
83fi
84
85
86# IFS
87# We need space, tab and new line, in precisely that order.  Quoting is
88# there to prevent editors from complaining about space-tab.
89# (If _AS_PATH_WALK were called with IFS unset, it would disable word
90# splitting by setting IFS to empty value.)
91IFS=" ""	$as_nl"
92
93# Find who we are.  Look in the path if we contain no directory separator.
94as_myself=
95case $0 in #((
96  *[\\/]* ) as_myself=$0 ;;
97  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98for as_dir in $PATH
99do
100  IFS=$as_save_IFS
101  test -z "$as_dir" && as_dir=.
102    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103  done
104IFS=$as_save_IFS
105
106     ;;
107esac
108# We did not find ourselves, most probably we were run as `sh COMMAND'
109# in which case we are not to be found in the path.
110if test "x$as_myself" = x; then
111  as_myself=$0
112fi
113if test ! -f "$as_myself"; then
114  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115  exit 1
116fi
117
118# Unset variables that we do not need and which cause bugs (e.g. in
119# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
120# suppresses any "Segmentation fault" message there.  '((' could
121# trigger a bug in pdksh 5.2.14.
122for as_var in BASH_ENV ENV MAIL MAILPATH
123do eval test x\${$as_var+set} = xset \
124  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
125done
126PS1='$ '
127PS2='> '
128PS4='+ '
129
130# NLS nuisances.
131LC_ALL=C
132export LC_ALL
133LANGUAGE=C
134export LANGUAGE
135
136# CDPATH.
137(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138
139# Use a proper internal environment variable to ensure we don't fall
140  # into an infinite loop, continuously re-executing ourselves.
141  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
142    _as_can_reexec=no; export _as_can_reexec;
143    # We cannot yet assume a decent shell, so we have to provide a
144# neutralization value for shells without unset; and this also
145# works around shells that cannot unset nonexistent variables.
146# Preserve -v and -x to the replacement shell.
147BASH_ENV=/dev/null
148ENV=/dev/null
149(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
150case $- in # ((((
151  *v*x* | *x*v* ) as_opts=-vx ;;
152  *v* ) as_opts=-v ;;
153  *x* ) as_opts=-x ;;
154  * ) as_opts= ;;
155esac
156exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
157# Admittedly, this is quite paranoid, since all the known shells bail
158# out after a failed `exec'.
159$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160as_fn_exit 255
161  fi
162  # We don't want this to propagate to other subprocesses.
163          { _as_can_reexec=; unset _as_can_reexec;}
164if test "x$CONFIG_SHELL" = x; then
165  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166  emulate sh
167  NULLCMD=:
168  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
169  # is contrary to our usage.  Disable this feature.
170  alias -g '\${1+\"\$@\"}'='\"\$@\"'
171  setopt NO_GLOB_SUBST
172else
173  case \`(set -o) 2>/dev/null\` in #(
174  *posix*) :
175    set -o posix ;; #(
176  *) :
177     ;;
178esac
179fi
180"
181  as_required="as_fn_return () { (exit \$1); }
182as_fn_success () { as_fn_return 0; }
183as_fn_failure () { as_fn_return 1; }
184as_fn_ret_success () { return 0; }
185as_fn_ret_failure () { return 1; }
186
187exitcode=0
188as_fn_success || { exitcode=1; echo as_fn_success failed.; }
189as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
190as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
191as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
192if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193
194else
195  exitcode=1; echo positional parameters were not saved.
196fi
197test x\$exitcode = x0 || exit 1
198test -x / || exit 1"
199  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
200  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
201  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
202  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
203test \$(( 1 + 1 )) = 2 || exit 1
204
205  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
206    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
207    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
208    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
209    PATH=/empty FPATH=/empty; export PATH FPATH
210    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
211      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
212  if (eval "$as_required") 2>/dev/null; then :
213  as_have_required=yes
214else
215  as_have_required=no
216fi
217  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
218
219else
220  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
221as_found=false
222for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
223do
224  IFS=$as_save_IFS
225  test -z "$as_dir" && as_dir=.
226  as_found=:
227  case $as_dir in #(
228	 /*)
229	   for as_base in sh bash ksh sh5; do
230	     # Try only shells that exist, to save several forks.
231	     as_shell=$as_dir/$as_base
232	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
233		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
234  CONFIG_SHELL=$as_shell as_have_required=yes
235		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
236  break 2
237fi
238fi
239	   done;;
240       esac
241  as_found=false
242done
243$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
244	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
245  CONFIG_SHELL=$SHELL as_have_required=yes
246fi; }
247IFS=$as_save_IFS
248
249
250      if test "x$CONFIG_SHELL" != x; then :
251  export CONFIG_SHELL
252             # We cannot yet assume a decent shell, so we have to provide a
253# neutralization value for shells without unset; and this also
254# works around shells that cannot unset nonexistent variables.
255# Preserve -v and -x to the replacement shell.
256BASH_ENV=/dev/null
257ENV=/dev/null
258(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
259case $- in # ((((
260  *v*x* | *x*v* ) as_opts=-vx ;;
261  *v* ) as_opts=-v ;;
262  *x* ) as_opts=-x ;;
263  * ) as_opts= ;;
264esac
265exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
266# Admittedly, this is quite paranoid, since all the known shells bail
267# out after a failed `exec'.
268$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
269exit 255
270fi
271
272    if test x$as_have_required = xno; then :
273  $as_echo "$0: This script requires a shell more modern than all"
274  $as_echo "$0: the shells that I found on your system."
275  if test x${ZSH_VERSION+set} = xset ; then
276    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
277    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
278  else
279    $as_echo "$0: Please tell bug-autoconf@gnu.org and ted@canonical.com
280$0: about your system, including any error possibly output
281$0: before this message. Then install a modern shell, or
282$0: manually run the script under such a shell if you do
283$0: have one."
284  fi
285  exit 1
286fi
287fi
288fi
289SHELL=${CONFIG_SHELL-/bin/sh}
290export SHELL
291# Unset more variables known to interfere with behavior of common tools.
292CLICOLOR_FORCE= GREP_OPTIONS=
293unset CLICOLOR_FORCE GREP_OPTIONS
294
295## --------------------- ##
296## M4sh Shell Functions. ##
297## --------------------- ##
298# as_fn_unset VAR
299# ---------------
300# Portably unset VAR.
301as_fn_unset ()
302{
303  { eval $1=; unset $1;}
304}
305as_unset=as_fn_unset
306
307# as_fn_set_status STATUS
308# -----------------------
309# Set $? to STATUS, without forking.
310as_fn_set_status ()
311{
312  return $1
313} # as_fn_set_status
314
315# as_fn_exit STATUS
316# -----------------
317# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
318as_fn_exit ()
319{
320  set +e
321  as_fn_set_status $1
322  exit $1
323} # as_fn_exit
324
325# as_fn_mkdir_p
326# -------------
327# Create "$as_dir" as a directory, including parents if necessary.
328as_fn_mkdir_p ()
329{
330
331  case $as_dir in #(
332  -*) as_dir=./$as_dir;;
333  esac
334  test -d "$as_dir" || eval $as_mkdir_p || {
335    as_dirs=
336    while :; do
337      case $as_dir in #(
338      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
339      *) as_qdir=$as_dir;;
340      esac
341      as_dirs="'$as_qdir' $as_dirs"
342      as_dir=`$as_dirname -- "$as_dir" ||
343$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
344	 X"$as_dir" : 'X\(//\)[^/]' \| \
345	 X"$as_dir" : 'X\(//\)$' \| \
346	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
347$as_echo X"$as_dir" |
348    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
349	    s//\1/
350	    q
351	  }
352	  /^X\(\/\/\)[^/].*/{
353	    s//\1/
354	    q
355	  }
356	  /^X\(\/\/\)$/{
357	    s//\1/
358	    q
359	  }
360	  /^X\(\/\).*/{
361	    s//\1/
362	    q
363	  }
364	  s/.*/./; q'`
365      test -d "$as_dir" && break
366    done
367    test -z "$as_dirs" || eval "mkdir $as_dirs"
368  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
369
370
371} # as_fn_mkdir_p
372
373# as_fn_executable_p FILE
374# -----------------------
375# Test if FILE is an executable regular file.
376as_fn_executable_p ()
377{
378  test -f "$1" && test -x "$1"
379} # as_fn_executable_p
380# as_fn_append VAR VALUE
381# ----------------------
382# Append the text in VALUE to the end of the definition contained in VAR. Take
383# advantage of any shell optimizations that allow amortized linear growth over
384# repeated appends, instead of the typical quadratic growth present in naive
385# implementations.
386if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
387  eval 'as_fn_append ()
388  {
389    eval $1+=\$2
390  }'
391else
392  as_fn_append ()
393  {
394    eval $1=\$$1\$2
395  }
396fi # as_fn_append
397
398# as_fn_arith ARG...
399# ------------------
400# Perform arithmetic evaluation on the ARGs, and store the result in the
401# global $as_val. Take advantage of shells that can avoid forks. The arguments
402# must be portable across $(()) and expr.
403if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
404  eval 'as_fn_arith ()
405  {
406    as_val=$(( $* ))
407  }'
408else
409  as_fn_arith ()
410  {
411    as_val=`expr "$@" || test $? -eq 1`
412  }
413fi # as_fn_arith
414
415
416# as_fn_error STATUS ERROR [LINENO LOG_FD]
417# ----------------------------------------
418# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
419# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
420# script with STATUS, using 1 if that was 0.
421as_fn_error ()
422{
423  as_status=$1; test $as_status -eq 0 && as_status=1
424  if test "$4"; then
425    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
426    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
427  fi
428  $as_echo "$as_me: error: $2" >&2
429  as_fn_exit $as_status
430} # as_fn_error
431
432if expr a : '\(a\)' >/dev/null 2>&1 &&
433   test "X`expr 00001 : '.*\(...\)'`" = X001; then
434  as_expr=expr
435else
436  as_expr=false
437fi
438
439if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
440  as_basename=basename
441else
442  as_basename=false
443fi
444
445if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
446  as_dirname=dirname
447else
448  as_dirname=false
449fi
450
451as_me=`$as_basename -- "$0" ||
452$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
453	 X"$0" : 'X\(//\)$' \| \
454	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
455$as_echo X/"$0" |
456    sed '/^.*\/\([^/][^/]*\)\/*$/{
457	    s//\1/
458	    q
459	  }
460	  /^X\/\(\/\/\)$/{
461	    s//\1/
462	    q
463	  }
464	  /^X\/\(\/\).*/{
465	    s//\1/
466	    q
467	  }
468	  s/.*/./; q'`
469
470# Avoid depending upon Character Ranges.
471as_cr_letters='abcdefghijklmnopqrstuvwxyz'
472as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
473as_cr_Letters=$as_cr_letters$as_cr_LETTERS
474as_cr_digits='0123456789'
475as_cr_alnum=$as_cr_Letters$as_cr_digits
476
477
478  as_lineno_1=$LINENO as_lineno_1a=$LINENO
479  as_lineno_2=$LINENO as_lineno_2a=$LINENO
480  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
481  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
482  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
483  sed -n '
484    p
485    /[$]LINENO/=
486  ' <$as_myself |
487    sed '
488      s/[$]LINENO.*/&-/
489      t lineno
490      b
491      :lineno
492      N
493      :loop
494      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
495      t loop
496      s/-\n.*//
497    ' >$as_me.lineno &&
498  chmod +x "$as_me.lineno" ||
499    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
500
501  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
502  # already done that, so ensure we don't try to do so again and fall
503  # in an infinite loop.  This has already happened in practice.
504  _as_can_reexec=no; export _as_can_reexec
505  # Don't try to exec as it changes $[0], causing all sort of problems
506  # (the dirname of $[0] is not the place where we might find the
507  # original and so on.  Autoconf is especially sensitive to this).
508  . "./$as_me.lineno"
509  # Exit status is that of the last command.
510  exit
511}
512
513ECHO_C= ECHO_N= ECHO_T=
514case `echo -n x` in #(((((
515-n*)
516  case `echo 'xy\c'` in
517  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
518  xy)  ECHO_C='\c';;
519  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
520       ECHO_T='	';;
521  esac;;
522*)
523  ECHO_N='-n';;
524esac
525
526rm -f conf$$ conf$$.exe conf$$.file
527if test -d conf$$.dir; then
528  rm -f conf$$.dir/conf$$.file
529else
530  rm -f conf$$.dir
531  mkdir conf$$.dir 2>/dev/null
532fi
533if (echo >conf$$.file) 2>/dev/null; then
534  if ln -s conf$$.file conf$$ 2>/dev/null; then
535    as_ln_s='ln -s'
536    # ... but there are two gotchas:
537    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
538    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
539    # In both cases, we have to default to `cp -pR'.
540    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
541      as_ln_s='cp -pR'
542  elif ln conf$$.file conf$$ 2>/dev/null; then
543    as_ln_s=ln
544  else
545    as_ln_s='cp -pR'
546  fi
547else
548  as_ln_s='cp -pR'
549fi
550rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
551rmdir conf$$.dir 2>/dev/null
552
553if mkdir -p . 2>/dev/null; then
554  as_mkdir_p='mkdir -p "$as_dir"'
555else
556  test -d ./-p && rmdir ./-p
557  as_mkdir_p=false
558fi
559
560as_test_x='test -x'
561as_executable_p=as_fn_executable_p
562
563# Sed expression to map a string onto a valid CPP name.
564as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
565
566# Sed expression to map a string onto a valid variable name.
567as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
568
569SHELL=${CONFIG_SHELL-/bin/sh}
570
571
572test -n "$DJDIR" || exec 7<&0 </dev/null
573exec 6>&1
574
575# Name of the host.
576# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
577# so uname gets run too.
578ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
579
580#
581# Initializations.
582#
583ac_default_prefix=/usr/local
584ac_clean_files=
585ac_config_libobj_dir=.
586LIBOBJS=
587cross_compiling=no
588subdirs=
589MFLAGS=
590MAKEFLAGS=
591
592# Identity of this package.
593PACKAGE_NAME='libdbusmenu'
594PACKAGE_TARNAME='libdbusmenu'
595PACKAGE_VERSION='16.04.0'
596PACKAGE_STRING='libdbusmenu 16.04.0'
597PACKAGE_BUGREPORT='ted@canonical.com'
598PACKAGE_URL=''
599
600# Factoring default headers for most tests.
601ac_includes_default="\
602#include <stdio.h>
603#ifdef HAVE_SYS_TYPES_H
604# include <sys/types.h>
605#endif
606#ifdef HAVE_SYS_STAT_H
607# include <sys/stat.h>
608#endif
609#ifdef STDC_HEADERS
610# include <stdlib.h>
611# include <stddef.h>
612#else
613# ifdef HAVE_STDLIB_H
614#  include <stdlib.h>
615# endif
616#endif
617#ifdef HAVE_STRING_H
618# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
619#  include <memory.h>
620# endif
621# include <string.h>
622#endif
623#ifdef HAVE_STRINGS_H
624# include <strings.h>
625#endif
626#ifdef HAVE_INTTYPES_H
627# include <inttypes.h>
628#endif
629#ifdef HAVE_STDINT_H
630# include <stdint.h>
631#endif
632#ifdef HAVE_UNISTD_H
633# include <unistd.h>
634#endif"
635
636ac_subst_vars='am__EXEEXT_FALSE
637am__EXEEXT_TRUE
638LTLIBOBJS
639LIBOBJS
640COVERAGE_LDFLAGS
641COVERAGE_CFLAGS
642HAVE_GCOVR_FALSE
643HAVE_GCOVR_TRUE
644HAVE_LCOV_FALSE
645HAVE_LCOV_TRUE
646HAVE_GCOV_FALSE
647HAVE_GCOV_TRUE
648GCOVR
649GENHTML
650LCOV
651SHTOOL
652MKINSTALLDIRS
653POSUB
654POFILES
655PO_IN_DATADIR_FALSE
656PO_IN_DATADIR_TRUE
657INTLLIBS
658INSTOBJEXT
659GMOFILES
660DATADIRNAME
661CATOBJEXT
662CATALOGS
663MSGFMT_OPTS
664GETTEXT_PACKAGE
665LIBDBUSMENU_AGE
666LIBDBUSMENU_REVISION
667LIBDBUSMENU_CURRENT
668XSLT_PROC
669HAVE_VALA_FALSE
670HAVE_VALA_TRUE
671VALA_API_GEN
672INTROSPECTION_TEN_FALSE
673INTROSPECTION_TEN_TRUE
674HAVE_INTROSPECTION_FALSE
675HAVE_INTROSPECTION_TRUE
676INTROSPECTION_MAKEFILE
677INTROSPECTION_LIBS
678INTROSPECTION_CFLAGS
679INTROSPECTION_TYPELIBDIR
680INTROSPECTION_GIRDIR
681INTROSPECTION_GENERATE
682INTROSPECTION_COMPILER
683INTROSPECTION_SCANNER
684HAVE_VALGRIND_FALSE
685HAVE_VALGRIND_TRUE
686DBUSMENUTESTSVALGRIND_LIBS
687DBUSMENUTESTSVALGRIND_CFLAGS
688DBUSMENUTESTS_LIBS
689DBUSMENUTESTS_CFLAGS
690WANT_TESTS_FALSE
691WANT_TESTS_TRUE
692DBUSMENUDUMPER_LIBS
693DBUSMENUDUMPER_CFLAGS
694WANT_DBUSMENUDUMPER_FALSE
695WANT_DBUSMENUDUMPER_TRUE
696DBUSMENUGTK_LIBS
697DBUSMENUGTK_CFLAGS
698USE_GTK3_FALSE
699USE_GTK3_TRUE
700WANT_LIBDBUSMENUGTK_FALSE
701WANT_LIBDBUSMENUGTK_TRUE
702DBUSMENUGLIB_LIBS
703DBUSMENUGLIB_CFLAGS
704GTK_DOC_USE_REBASE_FALSE
705GTK_DOC_USE_REBASE_TRUE
706GTK_DOC_USE_LIBTOOL_FALSE
707GTK_DOC_USE_LIBTOOL_TRUE
708GTK_DOC_BUILD_PDF_FALSE
709GTK_DOC_BUILD_PDF_TRUE
710GTK_DOC_BUILD_HTML_FALSE
711GTK_DOC_BUILD_HTML_TRUE
712ENABLE_GTK_DOC_FALSE
713ENABLE_GTK_DOC_TRUE
714HAVE_GTK_DOC_FALSE
715HAVE_GTK_DOC_TRUE
716GTKDOC_DEPS_LIBS
717GTKDOC_DEPS_CFLAGS
718HTML_DIR
719GTKDOC_MKPDF
720GTKDOC_REBASE
721GTKDOC_CHECK_PATH
722GTKDOC_CHECK
723PKG_CONFIG_LIBDIR
724PKG_CONFIG_PATH
725PKG_CONFIG
726GLIB_MKENUMS
727LT_SYS_LIBRARY_PATH
728OTOOL64
729OTOOL
730LIPO
731NMEDIT
732DSYMUTIL
733MANIFEST_TOOL
734RANLIB
735ac_ct_AR
736AR
737DLLTOOL
738OBJDUMP
739LN_S
740NM
741ac_ct_DUMPBIN
742DUMPBIN
743LD
744FGREP
745SED
746host_os
747host_vendor
748host_cpu
749host
750build_os
751build_vendor
752build_cpu
753build
754LIBTOOL
755EGREP
756GREP
757CPP
758am__fastdepCC_FALSE
759am__fastdepCC_TRUE
760CCDEPMODE
761am__nodep
762AMDEPBACKSLASH
763AMDEP_FALSE
764AMDEP_TRUE
765am__quote
766am__include
767DEPDIR
768OBJEXT
769EXEEXT
770ac_ct_CC
771CPPFLAGS
772LDFLAGS
773CFLAGS
774CC
775ALL_LINGUAS
776INTLTOOL_PERL
777GMSGFMT
778MSGFMT
779MSGMERGE
780XGETTEXT
781INTLTOOL_POLICY_RULE
782INTLTOOL_SERVICE_RULE
783INTLTOOL_THEME_RULE
784INTLTOOL_SCHEMAS_RULE
785INTLTOOL_CAVES_RULE
786INTLTOOL_XML_NOMERGE_RULE
787INTLTOOL_XML_RULE
788INTLTOOL_KBD_RULE
789INTLTOOL_XAM_RULE
790INTLTOOL_UI_RULE
791INTLTOOL_SOUNDLIST_RULE
792INTLTOOL_SHEET_RULE
793INTLTOOL_SERVER_RULE
794INTLTOOL_PONG_RULE
795INTLTOOL_OAF_RULE
796INTLTOOL_PROP_RULE
797INTLTOOL_KEYS_RULE
798INTLTOOL_DIRECTORY_RULE
799INTLTOOL_DESKTOP_RULE
800intltool__v_merge_options_0
801intltool__v_merge_options_
802INTLTOOL_V_MERGE_OPTIONS
803INTLTOOL__v_MERGE_0
804INTLTOOL__v_MERGE_
805INTLTOOL_V_MERGE
806INTLTOOL_EXTRACT
807INTLTOOL_MERGE
808INTLTOOL_UPDATE
809USE_NLS
810MAINT
811MAINTAINER_MODE_FALSE
812MAINTAINER_MODE_TRUE
813AM_BACKSLASH
814AM_DEFAULT_VERBOSITY
815AM_DEFAULT_V
816AM_V
817am__untar
818am__tar
819AMTAR
820am__leading_dot
821SET_MAKE
822AWK
823mkdir_p
824MKDIR_P
825INSTALL_STRIP_PROGRAM
826STRIP
827install_sh
828MAKEINFO
829AUTOHEADER
830AUTOMAKE
831AUTOCONF
832ACLOCAL
833VERSION
834PACKAGE
835CYGPATH_W
836am__isrc
837INSTALL_DATA
838INSTALL_SCRIPT
839INSTALL_PROGRAM
840target_alias
841host_alias
842build_alias
843LIBS
844ECHO_T
845ECHO_N
846ECHO_C
847DEFS
848mandir
849localedir
850libdir
851psdir
852pdfdir
853dvidir
854htmldir
855infodir
856docdir
857oldincludedir
858includedir
859runstatedir
860localstatedir
861sharedstatedir
862sysconfdir
863datadir
864datarootdir
865libexecdir
866sbindir
867bindir
868program_transform_name
869prefix
870exec_prefix
871PACKAGE_URL
872PACKAGE_BUGREPORT
873PACKAGE_STRING
874PACKAGE_VERSION
875PACKAGE_TARNAME
876PACKAGE_NAME
877PATH_SEPARATOR
878SHELL'
879ac_subst_files=''
880ac_user_opts='
881enable_option_checking
882enable_silent_rules
883enable_maintainer_mode
884enable_nls
885enable_dependency_tracking
886enable_shared
887enable_static
888with_pic
889enable_fast_install
890with_aix_soname
891with_gnu_ld
892with_sysroot
893enable_libtool_lock
894with_html_dir
895enable_gtk_doc
896enable_gtk_doc_html
897enable_gtk_doc_pdf
898enable_gtk
899with_gtk
900enable_dumper
901enable_tests
902enable_introspection
903enable_vala
904enable_massivedebugging
905enable_gcov
906'
907      ac_precious_vars='build_alias
908host_alias
909target_alias
910CC
911CFLAGS
912LDFLAGS
913LIBS
914CPPFLAGS
915CPP
916LT_SYS_LIBRARY_PATH
917PKG_CONFIG
918PKG_CONFIG_PATH
919PKG_CONFIG_LIBDIR
920GTKDOC_DEPS_CFLAGS
921GTKDOC_DEPS_LIBS
922DBUSMENUGLIB_CFLAGS
923DBUSMENUGLIB_LIBS
924DBUSMENUGTK_CFLAGS
925DBUSMENUGTK_LIBS
926DBUSMENUDUMPER_CFLAGS
927DBUSMENUDUMPER_LIBS
928DBUSMENUTESTS_CFLAGS
929DBUSMENUTESTS_LIBS
930DBUSMENUTESTSVALGRIND_CFLAGS
931DBUSMENUTESTSVALGRIND_LIBS'
932
933
934# Initialize some variables set by options.
935ac_init_help=
936ac_init_version=false
937ac_unrecognized_opts=
938ac_unrecognized_sep=
939# The variables have the same names as the options, with
940# dashes changed to underlines.
941cache_file=/dev/null
942exec_prefix=NONE
943no_create=
944no_recursion=
945prefix=NONE
946program_prefix=NONE
947program_suffix=NONE
948program_transform_name=s,x,x,
949silent=
950site=
951srcdir=
952verbose=
953x_includes=NONE
954x_libraries=NONE
955
956# Installation directory options.
957# These are left unexpanded so users can "make install exec_prefix=/foo"
958# and all the variables that are supposed to be based on exec_prefix
959# by default will actually change.
960# Use braces instead of parens because sh, perl, etc. also accept them.
961# (The list follows the same order as the GNU Coding Standards.)
962bindir='${exec_prefix}/bin'
963sbindir='${exec_prefix}/sbin'
964libexecdir='${exec_prefix}/libexec'
965datarootdir='${prefix}/share'
966datadir='${datarootdir}'
967sysconfdir='${prefix}/etc'
968sharedstatedir='${prefix}/com'
969localstatedir='${prefix}/var'
970runstatedir='${localstatedir}/run'
971includedir='${prefix}/include'
972oldincludedir='/usr/include'
973docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
974infodir='${datarootdir}/info'
975htmldir='${docdir}'
976dvidir='${docdir}'
977pdfdir='${docdir}'
978psdir='${docdir}'
979libdir='${exec_prefix}/lib'
980localedir='${datarootdir}/locale'
981mandir='${datarootdir}/man'
982
983ac_prev=
984ac_dashdash=
985for ac_option
986do
987  # If the previous option needs an argument, assign it.
988  if test -n "$ac_prev"; then
989    eval $ac_prev=\$ac_option
990    ac_prev=
991    continue
992  fi
993
994  case $ac_option in
995  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
996  *=)   ac_optarg= ;;
997  *)    ac_optarg=yes ;;
998  esac
999
1000  # Accept the important Cygnus configure options, so we can diagnose typos.
1001
1002  case $ac_dashdash$ac_option in
1003  --)
1004    ac_dashdash=yes ;;
1005
1006  -bindir | --bindir | --bindi | --bind | --bin | --bi)
1007    ac_prev=bindir ;;
1008  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1009    bindir=$ac_optarg ;;
1010
1011  -build | --build | --buil | --bui | --bu)
1012    ac_prev=build_alias ;;
1013  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1014    build_alias=$ac_optarg ;;
1015
1016  -cache-file | --cache-file | --cache-fil | --cache-fi \
1017  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1018    ac_prev=cache_file ;;
1019  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1020  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1021    cache_file=$ac_optarg ;;
1022
1023  --config-cache | -C)
1024    cache_file=config.cache ;;
1025
1026  -datadir | --datadir | --datadi | --datad)
1027    ac_prev=datadir ;;
1028  -datadir=* | --datadir=* | --datadi=* | --datad=*)
1029    datadir=$ac_optarg ;;
1030
1031  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1032  | --dataroo | --dataro | --datar)
1033    ac_prev=datarootdir ;;
1034  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1035  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1036    datarootdir=$ac_optarg ;;
1037
1038  -disable-* | --disable-*)
1039    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1040    # Reject names that are not valid shell variable names.
1041    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1042      as_fn_error $? "invalid feature name: $ac_useropt"
1043    ac_useropt_orig=$ac_useropt
1044    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1045    case $ac_user_opts in
1046      *"
1047"enable_$ac_useropt"
1048"*) ;;
1049      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1050	 ac_unrecognized_sep=', ';;
1051    esac
1052    eval enable_$ac_useropt=no ;;
1053
1054  -docdir | --docdir | --docdi | --doc | --do)
1055    ac_prev=docdir ;;
1056  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1057    docdir=$ac_optarg ;;
1058
1059  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1060    ac_prev=dvidir ;;
1061  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1062    dvidir=$ac_optarg ;;
1063
1064  -enable-* | --enable-*)
1065    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1066    # Reject names that are not valid shell variable names.
1067    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1068      as_fn_error $? "invalid feature name: $ac_useropt"
1069    ac_useropt_orig=$ac_useropt
1070    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1071    case $ac_user_opts in
1072      *"
1073"enable_$ac_useropt"
1074"*) ;;
1075      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1076	 ac_unrecognized_sep=', ';;
1077    esac
1078    eval enable_$ac_useropt=\$ac_optarg ;;
1079
1080  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1081  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1082  | --exec | --exe | --ex)
1083    ac_prev=exec_prefix ;;
1084  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1085  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1086  | --exec=* | --exe=* | --ex=*)
1087    exec_prefix=$ac_optarg ;;
1088
1089  -gas | --gas | --ga | --g)
1090    # Obsolete; use --with-gas.
1091    with_gas=yes ;;
1092
1093  -help | --help | --hel | --he | -h)
1094    ac_init_help=long ;;
1095  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1096    ac_init_help=recursive ;;
1097  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1098    ac_init_help=short ;;
1099
1100  -host | --host | --hos | --ho)
1101    ac_prev=host_alias ;;
1102  -host=* | --host=* | --hos=* | --ho=*)
1103    host_alias=$ac_optarg ;;
1104
1105  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1106    ac_prev=htmldir ;;
1107  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1108  | --ht=*)
1109    htmldir=$ac_optarg ;;
1110
1111  -includedir | --includedir | --includedi | --included | --include \
1112  | --includ | --inclu | --incl | --inc)
1113    ac_prev=includedir ;;
1114  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1115  | --includ=* | --inclu=* | --incl=* | --inc=*)
1116    includedir=$ac_optarg ;;
1117
1118  -infodir | --infodir | --infodi | --infod | --info | --inf)
1119    ac_prev=infodir ;;
1120  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1121    infodir=$ac_optarg ;;
1122
1123  -libdir | --libdir | --libdi | --libd)
1124    ac_prev=libdir ;;
1125  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1126    libdir=$ac_optarg ;;
1127
1128  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1129  | --libexe | --libex | --libe)
1130    ac_prev=libexecdir ;;
1131  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1132  | --libexe=* | --libex=* | --libe=*)
1133    libexecdir=$ac_optarg ;;
1134
1135  -localedir | --localedir | --localedi | --localed | --locale)
1136    ac_prev=localedir ;;
1137  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1138    localedir=$ac_optarg ;;
1139
1140  -localstatedir | --localstatedir | --localstatedi | --localstated \
1141  | --localstate | --localstat | --localsta | --localst | --locals)
1142    ac_prev=localstatedir ;;
1143  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1144  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1145    localstatedir=$ac_optarg ;;
1146
1147  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1148    ac_prev=mandir ;;
1149  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1150    mandir=$ac_optarg ;;
1151
1152  -nfp | --nfp | --nf)
1153    # Obsolete; use --without-fp.
1154    with_fp=no ;;
1155
1156  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1157  | --no-cr | --no-c | -n)
1158    no_create=yes ;;
1159
1160  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1161  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1162    no_recursion=yes ;;
1163
1164  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1165  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1166  | --oldin | --oldi | --old | --ol | --o)
1167    ac_prev=oldincludedir ;;
1168  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1169  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1170  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1171    oldincludedir=$ac_optarg ;;
1172
1173  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1174    ac_prev=prefix ;;
1175  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1176    prefix=$ac_optarg ;;
1177
1178  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1179  | --program-pre | --program-pr | --program-p)
1180    ac_prev=program_prefix ;;
1181  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1182  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1183    program_prefix=$ac_optarg ;;
1184
1185  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1186  | --program-suf | --program-su | --program-s)
1187    ac_prev=program_suffix ;;
1188  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1189  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1190    program_suffix=$ac_optarg ;;
1191
1192  -program-transform-name | --program-transform-name \
1193  | --program-transform-nam | --program-transform-na \
1194  | --program-transform-n | --program-transform- \
1195  | --program-transform | --program-transfor \
1196  | --program-transfo | --program-transf \
1197  | --program-trans | --program-tran \
1198  | --progr-tra | --program-tr | --program-t)
1199    ac_prev=program_transform_name ;;
1200  -program-transform-name=* | --program-transform-name=* \
1201  | --program-transform-nam=* | --program-transform-na=* \
1202  | --program-transform-n=* | --program-transform-=* \
1203  | --program-transform=* | --program-transfor=* \
1204  | --program-transfo=* | --program-transf=* \
1205  | --program-trans=* | --program-tran=* \
1206  | --progr-tra=* | --program-tr=* | --program-t=*)
1207    program_transform_name=$ac_optarg ;;
1208
1209  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1210    ac_prev=pdfdir ;;
1211  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1212    pdfdir=$ac_optarg ;;
1213
1214  -psdir | --psdir | --psdi | --psd | --ps)
1215    ac_prev=psdir ;;
1216  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1217    psdir=$ac_optarg ;;
1218
1219  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1220  | -silent | --silent | --silen | --sile | --sil)
1221    silent=yes ;;
1222
1223  -runstatedir | --runstatedir | --runstatedi | --runstated \
1224  | --runstate | --runstat | --runsta | --runst | --runs \
1225  | --run | --ru | --r)
1226    ac_prev=runstatedir ;;
1227  -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1228  | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1229  | --run=* | --ru=* | --r=*)
1230    runstatedir=$ac_optarg ;;
1231
1232  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1233    ac_prev=sbindir ;;
1234  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1235  | --sbi=* | --sb=*)
1236    sbindir=$ac_optarg ;;
1237
1238  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1239  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1240  | --sharedst | --shareds | --shared | --share | --shar \
1241  | --sha | --sh)
1242    ac_prev=sharedstatedir ;;
1243  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1244  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1245  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1246  | --sha=* | --sh=*)
1247    sharedstatedir=$ac_optarg ;;
1248
1249  -site | --site | --sit)
1250    ac_prev=site ;;
1251  -site=* | --site=* | --sit=*)
1252    site=$ac_optarg ;;
1253
1254  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1255    ac_prev=srcdir ;;
1256  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1257    srcdir=$ac_optarg ;;
1258
1259  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1260  | --syscon | --sysco | --sysc | --sys | --sy)
1261    ac_prev=sysconfdir ;;
1262  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1263  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1264    sysconfdir=$ac_optarg ;;
1265
1266  -target | --target | --targe | --targ | --tar | --ta | --t)
1267    ac_prev=target_alias ;;
1268  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1269    target_alias=$ac_optarg ;;
1270
1271  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1272    verbose=yes ;;
1273
1274  -version | --version | --versio | --versi | --vers | -V)
1275    ac_init_version=: ;;
1276
1277  -with-* | --with-*)
1278    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1279    # Reject names that are not valid shell variable names.
1280    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1281      as_fn_error $? "invalid package name: $ac_useropt"
1282    ac_useropt_orig=$ac_useropt
1283    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1284    case $ac_user_opts in
1285      *"
1286"with_$ac_useropt"
1287"*) ;;
1288      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1289	 ac_unrecognized_sep=', ';;
1290    esac
1291    eval with_$ac_useropt=\$ac_optarg ;;
1292
1293  -without-* | --without-*)
1294    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1295    # Reject names that are not valid shell variable names.
1296    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1297      as_fn_error $? "invalid package name: $ac_useropt"
1298    ac_useropt_orig=$ac_useropt
1299    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1300    case $ac_user_opts in
1301      *"
1302"with_$ac_useropt"
1303"*) ;;
1304      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1305	 ac_unrecognized_sep=', ';;
1306    esac
1307    eval with_$ac_useropt=no ;;
1308
1309  --x)
1310    # Obsolete; use --with-x.
1311    with_x=yes ;;
1312
1313  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1314  | --x-incl | --x-inc | --x-in | --x-i)
1315    ac_prev=x_includes ;;
1316  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1317  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1318    x_includes=$ac_optarg ;;
1319
1320  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1321  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1322    ac_prev=x_libraries ;;
1323  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1324  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1325    x_libraries=$ac_optarg ;;
1326
1327  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1328Try \`$0 --help' for more information"
1329    ;;
1330
1331  *=*)
1332    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1333    # Reject names that are not valid shell variable names.
1334    case $ac_envvar in #(
1335      '' | [0-9]* | *[!_$as_cr_alnum]* )
1336      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1337    esac
1338    eval $ac_envvar=\$ac_optarg
1339    export $ac_envvar ;;
1340
1341  *)
1342    # FIXME: should be removed in autoconf 3.0.
1343    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1344    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1345      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1346    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1347    ;;
1348
1349  esac
1350done
1351
1352if test -n "$ac_prev"; then
1353  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1354  as_fn_error $? "missing argument to $ac_option"
1355fi
1356
1357if test -n "$ac_unrecognized_opts"; then
1358  case $enable_option_checking in
1359    no) ;;
1360    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1361    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1362  esac
1363fi
1364
1365# Check all directory arguments for consistency.
1366for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1367		datadir sysconfdir sharedstatedir localstatedir includedir \
1368		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1369		libdir localedir mandir runstatedir
1370do
1371  eval ac_val=\$$ac_var
1372  # Remove trailing slashes.
1373  case $ac_val in
1374    */ )
1375      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1376      eval $ac_var=\$ac_val;;
1377  esac
1378  # Be sure to have absolute directory names.
1379  case $ac_val in
1380    [\\/$]* | ?:[\\/]* )  continue;;
1381    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1382  esac
1383  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1384done
1385
1386# There might be people who depend on the old broken behavior: `$host'
1387# used to hold the argument of --host etc.
1388# FIXME: To remove some day.
1389build=$build_alias
1390host=$host_alias
1391target=$target_alias
1392
1393# FIXME: To remove some day.
1394if test "x$host_alias" != x; then
1395  if test "x$build_alias" = x; then
1396    cross_compiling=maybe
1397  elif test "x$build_alias" != "x$host_alias"; then
1398    cross_compiling=yes
1399  fi
1400fi
1401
1402ac_tool_prefix=
1403test -n "$host_alias" && ac_tool_prefix=$host_alias-
1404
1405test "$silent" = yes && exec 6>/dev/null
1406
1407
1408ac_pwd=`pwd` && test -n "$ac_pwd" &&
1409ac_ls_di=`ls -di .` &&
1410ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1411  as_fn_error $? "working directory cannot be determined"
1412test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1413  as_fn_error $? "pwd does not report name of working directory"
1414
1415
1416# Find the source files, if location was not specified.
1417if test -z "$srcdir"; then
1418  ac_srcdir_defaulted=yes
1419  # Try the directory containing this script, then the parent directory.
1420  ac_confdir=`$as_dirname -- "$as_myself" ||
1421$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1422	 X"$as_myself" : 'X\(//\)[^/]' \| \
1423	 X"$as_myself" : 'X\(//\)$' \| \
1424	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1425$as_echo X"$as_myself" |
1426    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1427	    s//\1/
1428	    q
1429	  }
1430	  /^X\(\/\/\)[^/].*/{
1431	    s//\1/
1432	    q
1433	  }
1434	  /^X\(\/\/\)$/{
1435	    s//\1/
1436	    q
1437	  }
1438	  /^X\(\/\).*/{
1439	    s//\1/
1440	    q
1441	  }
1442	  s/.*/./; q'`
1443  srcdir=$ac_confdir
1444  if test ! -r "$srcdir/$ac_unique_file"; then
1445    srcdir=..
1446  fi
1447else
1448  ac_srcdir_defaulted=no
1449fi
1450if test ! -r "$srcdir/$ac_unique_file"; then
1451  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1452  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1453fi
1454ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1455ac_abs_confdir=`(
1456	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1457	pwd)`
1458# When building in place, set srcdir=.
1459if test "$ac_abs_confdir" = "$ac_pwd"; then
1460  srcdir=.
1461fi
1462# Remove unnecessary trailing slashes from srcdir.
1463# Double slashes in file names in object file debugging info
1464# mess up M-x gdb in Emacs.
1465case $srcdir in
1466*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1467esac
1468for ac_var in $ac_precious_vars; do
1469  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1470  eval ac_env_${ac_var}_value=\$${ac_var}
1471  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1472  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1473done
1474
1475#
1476# Report the --help message.
1477#
1478if test "$ac_init_help" = "long"; then
1479  # Omit some internal or obsolete options to make the list less imposing.
1480  # This message is too long to be a string in the A/UX 3.1 sh.
1481  cat <<_ACEOF
1482\`configure' configures libdbusmenu 16.04.0 to adapt to many kinds of systems.
1483
1484Usage: $0 [OPTION]... [VAR=VALUE]...
1485
1486To assign environment variables (e.g., CC, CFLAGS...), specify them as
1487VAR=VALUE.  See below for descriptions of some of the useful variables.
1488
1489Defaults for the options are specified in brackets.
1490
1491Configuration:
1492  -h, --help              display this help and exit
1493      --help=short        display options specific to this package
1494      --help=recursive    display the short help of all the included packages
1495  -V, --version           display version information and exit
1496  -q, --quiet, --silent   do not print \`checking ...' messages
1497      --cache-file=FILE   cache test results in FILE [disabled]
1498  -C, --config-cache      alias for \`--cache-file=config.cache'
1499  -n, --no-create         do not create output files
1500      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1501
1502Installation directories:
1503  --prefix=PREFIX         install architecture-independent files in PREFIX
1504                          [$ac_default_prefix]
1505  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1506                          [PREFIX]
1507
1508By default, \`make install' will install all the files in
1509\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1510an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1511for instance \`--prefix=\$HOME'.
1512
1513For better control, use the options below.
1514
1515Fine tuning of the installation directories:
1516  --bindir=DIR            user executables [EPREFIX/bin]
1517  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1518  --libexecdir=DIR        program executables [EPREFIX/libexec]
1519  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1520  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1521  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1522  --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
1523  --libdir=DIR            object code libraries [EPREFIX/lib]
1524  --includedir=DIR        C header files [PREFIX/include]
1525  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1526  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1527  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1528  --infodir=DIR           info documentation [DATAROOTDIR/info]
1529  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1530  --mandir=DIR            man documentation [DATAROOTDIR/man]
1531  --docdir=DIR            documentation root [DATAROOTDIR/doc/libdbusmenu]
1532  --htmldir=DIR           html documentation [DOCDIR]
1533  --dvidir=DIR            dvi documentation [DOCDIR]
1534  --pdfdir=DIR            pdf documentation [DOCDIR]
1535  --psdir=DIR             ps documentation [DOCDIR]
1536_ACEOF
1537
1538  cat <<\_ACEOF
1539
1540Program names:
1541  --program-prefix=PREFIX            prepend PREFIX to installed program names
1542  --program-suffix=SUFFIX            append SUFFIX to installed program names
1543  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1544
1545System types:
1546  --build=BUILD     configure for building on BUILD [guessed]
1547  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1548_ACEOF
1549fi
1550
1551if test -n "$ac_init_help"; then
1552  case $ac_init_help in
1553     short | recursive ) echo "Configuration of libdbusmenu 16.04.0:";;
1554   esac
1555  cat <<\_ACEOF
1556
1557Optional Features:
1558  --disable-option-checking  ignore unrecognized --enable/--with options
1559  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1560  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1561  --enable-silent-rules   less verbose build output (undo: "make V=1")
1562  --disable-silent-rules  verbose build output (undo: "make V=0")
1563  --enable-maintainer-mode
1564                          enable make rules and dependencies not useful (and
1565                          sometimes confusing) to the casual installer
1566  --disable-nls           do not use Native Language Support
1567  --enable-dependency-tracking
1568                          do not reject slow dependency extractors
1569  --disable-dependency-tracking
1570                          speeds up one-time build
1571  --enable-shared[=PKGS]  build shared libraries [default=yes]
1572  --enable-static[=PKGS]  build static libraries [default=yes]
1573  --enable-fast-install[=PKGS]
1574                          optimize for fast installation [default=yes]
1575  --disable-libtool-lock  avoid locking (might break parallel builds)
1576  --enable-gtk-doc        use gtk-doc to build documentation [[default=no]]
1577  --enable-gtk-doc-html   build documentation in html format [[default=yes]]
1578  --enable-gtk-doc-pdf    build documentation in pdf format [[default=no]]
1579  --disable-gtk           Disable libdbusmenu-gtk library
1580  --disable-dumper        Disable dbusmenudumper tool
1581  --disable-tests         Disable tests
1582  --enable-introspection=[no/auto/yes]
1583                          Enable introspection for this build
1584  --disable-vala          Disable vala
1585  --enable-massivedebugging
1586                          Print out so much information your brain will hurt
1587  --enable-gcov           enable coverage testing with gcov
1588
1589Optional Packages:
1590  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1591  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1592  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1593                          both]
1594  --with-aix-soname=aix|svr4|both
1595                          shared library versioning (aka "SONAME") variant to
1596                          provide on AIX, [default=aix].
1597  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1598  --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
1599                          compiler's sysroot if not specified).
1600  --with-html-dir=PATH    path to installed docs
1601  --with-gtk              Which version of gtk to use [default=3]
1602
1603Some influential environment variables:
1604  CC          C compiler command
1605  CFLAGS      C compiler flags
1606  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1607              nonstandard directory <lib dir>
1608  LIBS        libraries to pass to the linker, e.g. -l<library>
1609  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1610              you have headers in a nonstandard directory <include dir>
1611  CPP         C preprocessor
1612  LT_SYS_LIBRARY_PATH
1613              User-defined run-time library search path.
1614  PKG_CONFIG  path to pkg-config utility
1615  PKG_CONFIG_PATH
1616              directories to add to pkg-config's search path
1617  PKG_CONFIG_LIBDIR
1618              path overriding pkg-config's built-in search path
1619  GTKDOC_DEPS_CFLAGS
1620              C compiler flags for GTKDOC_DEPS, overriding pkg-config
1621  GTKDOC_DEPS_LIBS
1622              linker flags for GTKDOC_DEPS, overriding pkg-config
1623  DBUSMENUGLIB_CFLAGS
1624              C compiler flags for DBUSMENUGLIB, overriding pkg-config
1625  DBUSMENUGLIB_LIBS
1626              linker flags for DBUSMENUGLIB, overriding pkg-config
1627  DBUSMENUGTK_CFLAGS
1628              C compiler flags for DBUSMENUGTK, overriding pkg-config
1629  DBUSMENUGTK_LIBS
1630              linker flags for DBUSMENUGTK, overriding pkg-config
1631  DBUSMENUDUMPER_CFLAGS
1632              C compiler flags for DBUSMENUDUMPER, overriding pkg-config
1633  DBUSMENUDUMPER_LIBS
1634              linker flags for DBUSMENUDUMPER, overriding pkg-config
1635  DBUSMENUTESTS_CFLAGS
1636              C compiler flags for DBUSMENUTESTS, overriding pkg-config
1637  DBUSMENUTESTS_LIBS
1638              linker flags for DBUSMENUTESTS, overriding pkg-config
1639  DBUSMENUTESTSVALGRIND_CFLAGS
1640              C compiler flags for DBUSMENUTESTSVALGRIND, overriding
1641              pkg-config
1642  DBUSMENUTESTSVALGRIND_LIBS
1643              linker flags for DBUSMENUTESTSVALGRIND, overriding pkg-config
1644
1645Use these variables to override the choices made by `configure' or to help
1646it to find libraries and programs with nonstandard names/locations.
1647
1648Report bugs to <ted@canonical.com>.
1649_ACEOF
1650ac_status=$?
1651fi
1652
1653if test "$ac_init_help" = "recursive"; then
1654  # If there are subdirs, report their specific --help.
1655  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1656    test -d "$ac_dir" ||
1657      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1658      continue
1659    ac_builddir=.
1660
1661case "$ac_dir" in
1662.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1663*)
1664  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1665  # A ".." for each directory in $ac_dir_suffix.
1666  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1667  case $ac_top_builddir_sub in
1668  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1669  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1670  esac ;;
1671esac
1672ac_abs_top_builddir=$ac_pwd
1673ac_abs_builddir=$ac_pwd$ac_dir_suffix
1674# for backward compatibility:
1675ac_top_builddir=$ac_top_build_prefix
1676
1677case $srcdir in
1678  .)  # We are building in place.
1679    ac_srcdir=.
1680    ac_top_srcdir=$ac_top_builddir_sub
1681    ac_abs_top_srcdir=$ac_pwd ;;
1682  [\\/]* | ?:[\\/]* )  # Absolute name.
1683    ac_srcdir=$srcdir$ac_dir_suffix;
1684    ac_top_srcdir=$srcdir
1685    ac_abs_top_srcdir=$srcdir ;;
1686  *) # Relative name.
1687    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1688    ac_top_srcdir=$ac_top_build_prefix$srcdir
1689    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1690esac
1691ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1692
1693    cd "$ac_dir" || { ac_status=$?; continue; }
1694    # Check for guested configure.
1695    if test -f "$ac_srcdir/configure.gnu"; then
1696      echo &&
1697      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1698    elif test -f "$ac_srcdir/configure"; then
1699      echo &&
1700      $SHELL "$ac_srcdir/configure" --help=recursive
1701    else
1702      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1703    fi || ac_status=$?
1704    cd "$ac_pwd" || { ac_status=$?; break; }
1705  done
1706fi
1707
1708test -n "$ac_init_help" && exit $ac_status
1709if $ac_init_version; then
1710  cat <<\_ACEOF
1711libdbusmenu configure 16.04.0
1712generated by GNU Autoconf 2.69
1713
1714Copyright (C) 2012 Free Software Foundation, Inc.
1715This configure script is free software; the Free Software Foundation
1716gives unlimited permission to copy, distribute and modify it.
1717
1718Copyright 2009-2016 Canonical
1719_ACEOF
1720  exit
1721fi
1722
1723## ------------------------ ##
1724## Autoconf initialization. ##
1725## ------------------------ ##
1726
1727# ac_fn_c_try_compile LINENO
1728# --------------------------
1729# Try to compile conftest.$ac_ext, and return whether this succeeded.
1730ac_fn_c_try_compile ()
1731{
1732  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1733  rm -f conftest.$ac_objext
1734  if { { ac_try="$ac_compile"
1735case "(($ac_try" in
1736  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1737  *) ac_try_echo=$ac_try;;
1738esac
1739eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1740$as_echo "$ac_try_echo"; } >&5
1741  (eval "$ac_compile") 2>conftest.err
1742  ac_status=$?
1743  if test -s conftest.err; then
1744    grep -v '^ *+' conftest.err >conftest.er1
1745    cat conftest.er1 >&5
1746    mv -f conftest.er1 conftest.err
1747  fi
1748  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1749  test $ac_status = 0; } && {
1750	 test -z "$ac_c_werror_flag" ||
1751	 test ! -s conftest.err
1752       } && test -s conftest.$ac_objext; then :
1753  ac_retval=0
1754else
1755  $as_echo "$as_me: failed program was:" >&5
1756sed 's/^/| /' conftest.$ac_ext >&5
1757
1758	ac_retval=1
1759fi
1760  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1761  as_fn_set_status $ac_retval
1762
1763} # ac_fn_c_try_compile
1764
1765# ac_fn_c_try_link LINENO
1766# -----------------------
1767# Try to link conftest.$ac_ext, and return whether this succeeded.
1768ac_fn_c_try_link ()
1769{
1770  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1771  rm -f conftest.$ac_objext conftest$ac_exeext
1772  if { { ac_try="$ac_link"
1773case "(($ac_try" in
1774  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1775  *) ac_try_echo=$ac_try;;
1776esac
1777eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1778$as_echo "$ac_try_echo"; } >&5
1779  (eval "$ac_link") 2>conftest.err
1780  ac_status=$?
1781  if test -s conftest.err; then
1782    grep -v '^ *+' conftest.err >conftest.er1
1783    cat conftest.er1 >&5
1784    mv -f conftest.er1 conftest.err
1785  fi
1786  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1787  test $ac_status = 0; } && {
1788	 test -z "$ac_c_werror_flag" ||
1789	 test ! -s conftest.err
1790       } && test -s conftest$ac_exeext && {
1791	 test "$cross_compiling" = yes ||
1792	 test -x conftest$ac_exeext
1793       }; then :
1794  ac_retval=0
1795else
1796  $as_echo "$as_me: failed program was:" >&5
1797sed 's/^/| /' conftest.$ac_ext >&5
1798
1799	ac_retval=1
1800fi
1801  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1802  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1803  # interfere with the next link command; also delete a directory that is
1804  # left behind by Apple's compiler.  We do this before executing the actions.
1805  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1806  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1807  as_fn_set_status $ac_retval
1808
1809} # ac_fn_c_try_link
1810
1811# ac_fn_c_try_cpp LINENO
1812# ----------------------
1813# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1814ac_fn_c_try_cpp ()
1815{
1816  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1817  if { { ac_try="$ac_cpp conftest.$ac_ext"
1818case "(($ac_try" in
1819  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1820  *) ac_try_echo=$ac_try;;
1821esac
1822eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1823$as_echo "$ac_try_echo"; } >&5
1824  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1825  ac_status=$?
1826  if test -s conftest.err; then
1827    grep -v '^ *+' conftest.err >conftest.er1
1828    cat conftest.er1 >&5
1829    mv -f conftest.er1 conftest.err
1830  fi
1831  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1832  test $ac_status = 0; } > conftest.i && {
1833	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1834	 test ! -s conftest.err
1835       }; then :
1836  ac_retval=0
1837else
1838  $as_echo "$as_me: failed program was:" >&5
1839sed 's/^/| /' conftest.$ac_ext >&5
1840
1841    ac_retval=1
1842fi
1843  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1844  as_fn_set_status $ac_retval
1845
1846} # ac_fn_c_try_cpp
1847
1848# ac_fn_c_try_run LINENO
1849# ----------------------
1850# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1851# that executables *can* be run.
1852ac_fn_c_try_run ()
1853{
1854  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1855  if { { ac_try="$ac_link"
1856case "(($ac_try" in
1857  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1858  *) ac_try_echo=$ac_try;;
1859esac
1860eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1861$as_echo "$ac_try_echo"; } >&5
1862  (eval "$ac_link") 2>&5
1863  ac_status=$?
1864  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1865  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1866  { { case "(($ac_try" in
1867  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1868  *) ac_try_echo=$ac_try;;
1869esac
1870eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1871$as_echo "$ac_try_echo"; } >&5
1872  (eval "$ac_try") 2>&5
1873  ac_status=$?
1874  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1875  test $ac_status = 0; }; }; then :
1876  ac_retval=0
1877else
1878  $as_echo "$as_me: program exited with status $ac_status" >&5
1879       $as_echo "$as_me: failed program was:" >&5
1880sed 's/^/| /' conftest.$ac_ext >&5
1881
1882       ac_retval=$ac_status
1883fi
1884  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1885  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1886  as_fn_set_status $ac_retval
1887
1888} # ac_fn_c_try_run
1889
1890# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1891# -------------------------------------------------------
1892# Tests whether HEADER exists and can be compiled using the include files in
1893# INCLUDES, setting the cache variable VAR accordingly.
1894ac_fn_c_check_header_compile ()
1895{
1896  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1897  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1898$as_echo_n "checking for $2... " >&6; }
1899if eval \${$3+:} false; then :
1900  $as_echo_n "(cached) " >&6
1901else
1902  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1903/* end confdefs.h.  */
1904$4
1905#include <$2>
1906_ACEOF
1907if ac_fn_c_try_compile "$LINENO"; then :
1908  eval "$3=yes"
1909else
1910  eval "$3=no"
1911fi
1912rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1913fi
1914eval ac_res=\$$3
1915	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1916$as_echo "$ac_res" >&6; }
1917  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1918
1919} # ac_fn_c_check_header_compile
1920
1921# ac_fn_c_check_func LINENO FUNC VAR
1922# ----------------------------------
1923# Tests whether FUNC exists, setting the cache variable VAR accordingly
1924ac_fn_c_check_func ()
1925{
1926  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1927  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1928$as_echo_n "checking for $2... " >&6; }
1929if eval \${$3+:} false; then :
1930  $as_echo_n "(cached) " >&6
1931else
1932  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1933/* end confdefs.h.  */
1934/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1935   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1936#define $2 innocuous_$2
1937
1938/* System header to define __stub macros and hopefully few prototypes,
1939    which can conflict with char $2 (); below.
1940    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1941    <limits.h> exists even on freestanding compilers.  */
1942
1943#ifdef __STDC__
1944# include <limits.h>
1945#else
1946# include <assert.h>
1947#endif
1948
1949#undef $2
1950
1951/* Override any GCC internal prototype to avoid an error.
1952   Use char because int might match the return type of a GCC
1953   builtin and then its argument prototype would still apply.  */
1954#ifdef __cplusplus
1955extern "C"
1956#endif
1957char $2 ();
1958/* The GNU C library defines this for functions which it implements
1959    to always fail with ENOSYS.  Some functions are actually named
1960    something starting with __ and the normal name is an alias.  */
1961#if defined __stub_$2 || defined __stub___$2
1962choke me
1963#endif
1964
1965int
1966main ()
1967{
1968return $2 ();
1969  ;
1970  return 0;
1971}
1972_ACEOF
1973if ac_fn_c_try_link "$LINENO"; then :
1974  eval "$3=yes"
1975else
1976  eval "$3=no"
1977fi
1978rm -f core conftest.err conftest.$ac_objext \
1979    conftest$ac_exeext conftest.$ac_ext
1980fi
1981eval ac_res=\$$3
1982	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1983$as_echo "$ac_res" >&6; }
1984  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1985
1986} # ac_fn_c_check_func
1987
1988# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1989# -------------------------------------------------------
1990# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1991# the include files in INCLUDES and setting the cache variable VAR
1992# accordingly.
1993ac_fn_c_check_header_mongrel ()
1994{
1995  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1996  if eval \${$3+:} false; then :
1997  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1998$as_echo_n "checking for $2... " >&6; }
1999if eval \${$3+:} false; then :
2000  $as_echo_n "(cached) " >&6
2001fi
2002eval ac_res=\$$3
2003	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2004$as_echo "$ac_res" >&6; }
2005else
2006  # Is the header compilable?
2007{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2008$as_echo_n "checking $2 usability... " >&6; }
2009cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2010/* end confdefs.h.  */
2011$4
2012#include <$2>
2013_ACEOF
2014if ac_fn_c_try_compile "$LINENO"; then :
2015  ac_header_compiler=yes
2016else
2017  ac_header_compiler=no
2018fi
2019rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2020{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2021$as_echo "$ac_header_compiler" >&6; }
2022
2023# Is the header present?
2024{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2025$as_echo_n "checking $2 presence... " >&6; }
2026cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2027/* end confdefs.h.  */
2028#include <$2>
2029_ACEOF
2030if ac_fn_c_try_cpp "$LINENO"; then :
2031  ac_header_preproc=yes
2032else
2033  ac_header_preproc=no
2034fi
2035rm -f conftest.err conftest.i conftest.$ac_ext
2036{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2037$as_echo "$ac_header_preproc" >&6; }
2038
2039# So?  What about this header?
2040case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2041  yes:no: )
2042    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2043$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2044    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2045$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2046    ;;
2047  no:yes:* )
2048    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2049$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2050    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2051$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2052    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2053$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2054    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2055$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2056    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2057$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2058( $as_echo "## -------------------------------- ##
2059## Report this to ted@canonical.com ##
2060## -------------------------------- ##"
2061     ) | sed "s/^/$as_me: WARNING:     /" >&2
2062    ;;
2063esac
2064  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2065$as_echo_n "checking for $2... " >&6; }
2066if eval \${$3+:} false; then :
2067  $as_echo_n "(cached) " >&6
2068else
2069  eval "$3=\$ac_header_compiler"
2070fi
2071eval ac_res=\$$3
2072	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2073$as_echo "$ac_res" >&6; }
2074fi
2075  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2076
2077} # ac_fn_c_check_header_mongrel
2078cat >config.log <<_ACEOF
2079This file contains any messages produced by compilers while
2080running configure, to aid debugging if configure makes a mistake.
2081
2082It was created by libdbusmenu $as_me 16.04.0, which was
2083generated by GNU Autoconf 2.69.  Invocation command line was
2084
2085  $ $0 $@
2086
2087_ACEOF
2088exec 5>>config.log
2089{
2090cat <<_ASUNAME
2091## --------- ##
2092## Platform. ##
2093## --------- ##
2094
2095hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2096uname -m = `(uname -m) 2>/dev/null || echo unknown`
2097uname -r = `(uname -r) 2>/dev/null || echo unknown`
2098uname -s = `(uname -s) 2>/dev/null || echo unknown`
2099uname -v = `(uname -v) 2>/dev/null || echo unknown`
2100
2101/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2102/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2103
2104/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2105/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2106/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2107/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2108/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2109/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2110/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2111
2112_ASUNAME
2113
2114as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2115for as_dir in $PATH
2116do
2117  IFS=$as_save_IFS
2118  test -z "$as_dir" && as_dir=.
2119    $as_echo "PATH: $as_dir"
2120  done
2121IFS=$as_save_IFS
2122
2123} >&5
2124
2125cat >&5 <<_ACEOF
2126
2127
2128## ----------- ##
2129## Core tests. ##
2130## ----------- ##
2131
2132_ACEOF
2133
2134
2135# Keep a trace of the command line.
2136# Strip out --no-create and --no-recursion so they do not pile up.
2137# Strip out --silent because we don't want to record it for future runs.
2138# Also quote any args containing shell meta-characters.
2139# Make two passes to allow for proper duplicate-argument suppression.
2140ac_configure_args=
2141ac_configure_args0=
2142ac_configure_args1=
2143ac_must_keep_next=false
2144for ac_pass in 1 2
2145do
2146  for ac_arg
2147  do
2148    case $ac_arg in
2149    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2150    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2151    | -silent | --silent | --silen | --sile | --sil)
2152      continue ;;
2153    *\'*)
2154      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2155    esac
2156    case $ac_pass in
2157    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2158    2)
2159      as_fn_append ac_configure_args1 " '$ac_arg'"
2160      if test $ac_must_keep_next = true; then
2161	ac_must_keep_next=false # Got value, back to normal.
2162      else
2163	case $ac_arg in
2164	  *=* | --config-cache | -C | -disable-* | --disable-* \
2165	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2166	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2167	  | -with-* | --with-* | -without-* | --without-* | --x)
2168	    case "$ac_configure_args0 " in
2169	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2170	    esac
2171	    ;;
2172	  -* ) ac_must_keep_next=true ;;
2173	esac
2174      fi
2175      as_fn_append ac_configure_args " '$ac_arg'"
2176      ;;
2177    esac
2178  done
2179done
2180{ ac_configure_args0=; unset ac_configure_args0;}
2181{ ac_configure_args1=; unset ac_configure_args1;}
2182
2183# When interrupted or exit'd, cleanup temporary files, and complete
2184# config.log.  We remove comments because anyway the quotes in there
2185# would cause problems or look ugly.
2186# WARNING: Use '\'' to represent an apostrophe within the trap.
2187# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2188trap 'exit_status=$?
2189  # Save into config.log some information that might help in debugging.
2190  {
2191    echo
2192
2193    $as_echo "## ---------------- ##
2194## Cache variables. ##
2195## ---------------- ##"
2196    echo
2197    # The following way of writing the cache mishandles newlines in values,
2198(
2199  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2200    eval ac_val=\$$ac_var
2201    case $ac_val in #(
2202    *${as_nl}*)
2203      case $ac_var in #(
2204      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2205$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2206      esac
2207      case $ac_var in #(
2208      _ | IFS | as_nl) ;; #(
2209      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2210      *) { eval $ac_var=; unset $ac_var;} ;;
2211      esac ;;
2212    esac
2213  done
2214  (set) 2>&1 |
2215    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2216    *${as_nl}ac_space=\ *)
2217      sed -n \
2218	"s/'\''/'\''\\\\'\'''\''/g;
2219	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2220      ;; #(
2221    *)
2222      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2223      ;;
2224    esac |
2225    sort
2226)
2227    echo
2228
2229    $as_echo "## ----------------- ##
2230## Output variables. ##
2231## ----------------- ##"
2232    echo
2233    for ac_var in $ac_subst_vars
2234    do
2235      eval ac_val=\$$ac_var
2236      case $ac_val in
2237      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2238      esac
2239      $as_echo "$ac_var='\''$ac_val'\''"
2240    done | sort
2241    echo
2242
2243    if test -n "$ac_subst_files"; then
2244      $as_echo "## ------------------- ##
2245## File substitutions. ##
2246## ------------------- ##"
2247      echo
2248      for ac_var in $ac_subst_files
2249      do
2250	eval ac_val=\$$ac_var
2251	case $ac_val in
2252	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2253	esac
2254	$as_echo "$ac_var='\''$ac_val'\''"
2255      done | sort
2256      echo
2257    fi
2258
2259    if test -s confdefs.h; then
2260      $as_echo "## ----------- ##
2261## confdefs.h. ##
2262## ----------- ##"
2263      echo
2264      cat confdefs.h
2265      echo
2266    fi
2267    test "$ac_signal" != 0 &&
2268      $as_echo "$as_me: caught signal $ac_signal"
2269    $as_echo "$as_me: exit $exit_status"
2270  } >&5
2271  rm -f core *.core core.conftest.* &&
2272    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2273    exit $exit_status
2274' 0
2275for ac_signal in 1 2 13 15; do
2276  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2277done
2278ac_signal=0
2279
2280# confdefs.h avoids OS command line length limits that DEFS can exceed.
2281rm -f -r conftest* confdefs.h
2282
2283$as_echo "/* confdefs.h */" > confdefs.h
2284
2285# Predefined preprocessor variables.
2286
2287cat >>confdefs.h <<_ACEOF
2288#define PACKAGE_NAME "$PACKAGE_NAME"
2289_ACEOF
2290
2291cat >>confdefs.h <<_ACEOF
2292#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2293_ACEOF
2294
2295cat >>confdefs.h <<_ACEOF
2296#define PACKAGE_VERSION "$PACKAGE_VERSION"
2297_ACEOF
2298
2299cat >>confdefs.h <<_ACEOF
2300#define PACKAGE_STRING "$PACKAGE_STRING"
2301_ACEOF
2302
2303cat >>confdefs.h <<_ACEOF
2304#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2305_ACEOF
2306
2307cat >>confdefs.h <<_ACEOF
2308#define PACKAGE_URL "$PACKAGE_URL"
2309_ACEOF
2310
2311
2312# Let the site file select an alternate cache file if it wants to.
2313# Prefer an explicitly selected file to automatically selected ones.
2314ac_site_file1=NONE
2315ac_site_file2=NONE
2316if test -n "$CONFIG_SITE"; then
2317  # We do not want a PATH search for config.site.
2318  case $CONFIG_SITE in #((
2319    -*)  ac_site_file1=./$CONFIG_SITE;;
2320    */*) ac_site_file1=$CONFIG_SITE;;
2321    *)   ac_site_file1=./$CONFIG_SITE;;
2322  esac
2323elif test "x$prefix" != xNONE; then
2324  ac_site_file1=$prefix/share/config.site
2325  ac_site_file2=$prefix/etc/config.site
2326else
2327  ac_site_file1=$ac_default_prefix/share/config.site
2328  ac_site_file2=$ac_default_prefix/etc/config.site
2329fi
2330for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2331do
2332  test "x$ac_site_file" = xNONE && continue
2333  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2334    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2335$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2336    sed 's/^/| /' "$ac_site_file" >&5
2337    . "$ac_site_file" \
2338      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2339$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2340as_fn_error $? "failed to load site script $ac_site_file
2341See \`config.log' for more details" "$LINENO" 5; }
2342  fi
2343done
2344
2345if test -r "$cache_file"; then
2346  # Some versions of bash will fail to source /dev/null (special files
2347  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2348  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2349    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2350$as_echo "$as_me: loading cache $cache_file" >&6;}
2351    case $cache_file in
2352      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2353      *)                      . "./$cache_file";;
2354    esac
2355  fi
2356else
2357  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2358$as_echo "$as_me: creating cache $cache_file" >&6;}
2359  >$cache_file
2360fi
2361
2362# Check that the precious variables saved in the cache have kept the same
2363# value.
2364ac_cache_corrupted=false
2365for ac_var in $ac_precious_vars; do
2366  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2367  eval ac_new_set=\$ac_env_${ac_var}_set
2368  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2369  eval ac_new_val=\$ac_env_${ac_var}_value
2370  case $ac_old_set,$ac_new_set in
2371    set,)
2372      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2373$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2374      ac_cache_corrupted=: ;;
2375    ,set)
2376      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2377$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2378      ac_cache_corrupted=: ;;
2379    ,);;
2380    *)
2381      if test "x$ac_old_val" != "x$ac_new_val"; then
2382	# differences in whitespace do not lead to failure.
2383	ac_old_val_w=`echo x $ac_old_val`
2384	ac_new_val_w=`echo x $ac_new_val`
2385	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2386	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2387$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2388	  ac_cache_corrupted=:
2389	else
2390	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2391$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2392	  eval $ac_var=\$ac_old_val
2393	fi
2394	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2395$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2396	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2397$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2398      fi;;
2399  esac
2400  # Pass precious variables to config.status.
2401  if test "$ac_new_set" = set; then
2402    case $ac_new_val in
2403    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2404    *) ac_arg=$ac_var=$ac_new_val ;;
2405    esac
2406    case " $ac_configure_args " in
2407      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2408      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2409    esac
2410  fi
2411done
2412if $ac_cache_corrupted; then
2413  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2414$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2415  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2416$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2417  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2418fi
2419## -------------------- ##
2420## Main body of script. ##
2421## -------------------- ##
2422
2423ac_ext=c
2424ac_cpp='$CPP $CPPFLAGS'
2425ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2426ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2427ac_compiler_gnu=$ac_cv_c_compiler_gnu
2428
2429
2430
2431
2432
2433
2434ac_config_headers="$ac_config_headers config.h"
2435
2436am__api_version='1.15'
2437
2438ac_aux_dir=
2439for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2440  if test -f "$ac_dir/install-sh"; then
2441    ac_aux_dir=$ac_dir
2442    ac_install_sh="$ac_aux_dir/install-sh -c"
2443    break
2444  elif test -f "$ac_dir/install.sh"; then
2445    ac_aux_dir=$ac_dir
2446    ac_install_sh="$ac_aux_dir/install.sh -c"
2447    break
2448  elif test -f "$ac_dir/shtool"; then
2449    ac_aux_dir=$ac_dir
2450    ac_install_sh="$ac_aux_dir/shtool install -c"
2451    break
2452  fi
2453done
2454if test -z "$ac_aux_dir"; then
2455  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2456fi
2457
2458# These three variables are undocumented and unsupported,
2459# and are intended to be withdrawn in a future Autoconf release.
2460# They can cause serious problems if a builder's source tree is in a directory
2461# whose full name contains unusual characters.
2462ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2463ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2464ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2465
2466
2467# Find a good install program.  We prefer a C program (faster),
2468# so one script is as good as another.  But avoid the broken or
2469# incompatible versions:
2470# SysV /etc/install, /usr/sbin/install
2471# SunOS /usr/etc/install
2472# IRIX /sbin/install
2473# AIX /bin/install
2474# AmigaOS /C/install, which installs bootblocks on floppy discs
2475# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2476# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2477# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2478# OS/2's system install, which has a completely different semantic
2479# ./install, which can be erroneously created by make from ./install.sh.
2480# Reject install programs that cannot install multiple files.
2481{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2482$as_echo_n "checking for a BSD-compatible install... " >&6; }
2483if test -z "$INSTALL"; then
2484if ${ac_cv_path_install+:} false; then :
2485  $as_echo_n "(cached) " >&6
2486else
2487  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2488for as_dir in $PATH
2489do
2490  IFS=$as_save_IFS
2491  test -z "$as_dir" && as_dir=.
2492    # Account for people who put trailing slashes in PATH elements.
2493case $as_dir/ in #((
2494  ./ | .// | /[cC]/* | \
2495  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2496  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2497  /usr/ucb/* ) ;;
2498  *)
2499    # OSF1 and SCO ODT 3.0 have their own names for install.
2500    # Don't use installbsd from OSF since it installs stuff as root
2501    # by default.
2502    for ac_prog in ginstall scoinst install; do
2503      for ac_exec_ext in '' $ac_executable_extensions; do
2504	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2505	  if test $ac_prog = install &&
2506	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2507	    # AIX install.  It has an incompatible calling convention.
2508	    :
2509	  elif test $ac_prog = install &&
2510	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2511	    # program-specific install script used by HP pwplus--don't use.
2512	    :
2513	  else
2514	    rm -rf conftest.one conftest.two conftest.dir
2515	    echo one > conftest.one
2516	    echo two > conftest.two
2517	    mkdir conftest.dir
2518	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2519	      test -s conftest.one && test -s conftest.two &&
2520	      test -s conftest.dir/conftest.one &&
2521	      test -s conftest.dir/conftest.two
2522	    then
2523	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2524	      break 3
2525	    fi
2526	  fi
2527	fi
2528      done
2529    done
2530    ;;
2531esac
2532
2533  done
2534IFS=$as_save_IFS
2535
2536rm -rf conftest.one conftest.two conftest.dir
2537
2538fi
2539  if test "${ac_cv_path_install+set}" = set; then
2540    INSTALL=$ac_cv_path_install
2541  else
2542    # As a last resort, use the slow shell script.  Don't cache a
2543    # value for INSTALL within a source directory, because that will
2544    # break other packages using the cache if that directory is
2545    # removed, or if the value is a relative name.
2546    INSTALL=$ac_install_sh
2547  fi
2548fi
2549{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2550$as_echo "$INSTALL" >&6; }
2551
2552# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2553# It thinks the first close brace ends the variable substitution.
2554test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2555
2556test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2557
2558test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2559
2560{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2561$as_echo_n "checking whether build environment is sane... " >&6; }
2562# Reject unsafe characters in $srcdir or the absolute working directory
2563# name.  Accept space and tab only in the latter.
2564am_lf='
2565'
2566case `pwd` in
2567  *[\\\"\#\$\&\'\`$am_lf]*)
2568    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2569esac
2570case $srcdir in
2571  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
2572    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2573esac
2574
2575# Do 'set' in a subshell so we don't clobber the current shell's
2576# arguments.  Must try -L first in case configure is actually a
2577# symlink; some systems play weird games with the mod time of symlinks
2578# (eg FreeBSD returns the mod time of the symlink's containing
2579# directory).
2580if (
2581   am_has_slept=no
2582   for am_try in 1 2; do
2583     echo "timestamp, slept: $am_has_slept" > conftest.file
2584     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2585     if test "$*" = "X"; then
2586	# -L didn't work.
2587	set X `ls -t "$srcdir/configure" conftest.file`
2588     fi
2589     if test "$*" != "X $srcdir/configure conftest.file" \
2590	&& test "$*" != "X conftest.file $srcdir/configure"; then
2591
2592	# If neither matched, then we have a broken ls.  This can happen
2593	# if, for instance, CONFIG_SHELL is bash and it inherits a
2594	# broken ls alias from the environment.  This has actually
2595	# happened.  Such a system could not be considered "sane".
2596	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2597  alias in your environment" "$LINENO" 5
2598     fi
2599     if test "$2" = conftest.file || test $am_try -eq 2; then
2600       break
2601     fi
2602     # Just in case.
2603     sleep 1
2604     am_has_slept=yes
2605   done
2606   test "$2" = conftest.file
2607   )
2608then
2609   # Ok.
2610   :
2611else
2612   as_fn_error $? "newly created file is older than distributed files!
2613Check your system clock" "$LINENO" 5
2614fi
2615{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2616$as_echo "yes" >&6; }
2617# If we didn't sleep, we still need to ensure time stamps of config.status and
2618# generated files are strictly newer.
2619am_sleep_pid=
2620if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2621  ( sleep 1 ) &
2622  am_sleep_pid=$!
2623fi
2624
2625rm -f conftest.file
2626
2627test "$program_prefix" != NONE &&
2628  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2629# Use a double $ so make ignores it.
2630test "$program_suffix" != NONE &&
2631  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2632# Double any \ or $.
2633# By default was `s,x,x', remove it if useless.
2634ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2635program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2636
2637# Expand $ac_aux_dir to an absolute path.
2638am_aux_dir=`cd "$ac_aux_dir" && pwd`
2639
2640if test x"${MISSING+set}" != xset; then
2641  case $am_aux_dir in
2642  *\ * | *\	*)
2643    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2644  *)
2645    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2646  esac
2647fi
2648# Use eval to expand $SHELL
2649if eval "$MISSING --is-lightweight"; then
2650  am_missing_run="$MISSING "
2651else
2652  am_missing_run=
2653  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2654$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2655fi
2656
2657if test x"${install_sh+set}" != xset; then
2658  case $am_aux_dir in
2659  *\ * | *\	*)
2660    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2661  *)
2662    install_sh="\${SHELL} $am_aux_dir/install-sh"
2663  esac
2664fi
2665
2666# Installed binaries are usually stripped using 'strip' when the user
2667# run "make install-strip".  However 'strip' might not be the right
2668# tool to use in cross-compilation environments, therefore Automake
2669# will honor the 'STRIP' environment variable to overrule this program.
2670if test "$cross_compiling" != no; then
2671  if test -n "$ac_tool_prefix"; then
2672  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2673set dummy ${ac_tool_prefix}strip; ac_word=$2
2674{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2675$as_echo_n "checking for $ac_word... " >&6; }
2676if ${ac_cv_prog_STRIP+:} false; then :
2677  $as_echo_n "(cached) " >&6
2678else
2679  if test -n "$STRIP"; then
2680  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2681else
2682as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2683for as_dir in $PATH
2684do
2685  IFS=$as_save_IFS
2686  test -z "$as_dir" && as_dir=.
2687    for ac_exec_ext in '' $ac_executable_extensions; do
2688  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2689    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2690    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2691    break 2
2692  fi
2693done
2694  done
2695IFS=$as_save_IFS
2696
2697fi
2698fi
2699STRIP=$ac_cv_prog_STRIP
2700if test -n "$STRIP"; then
2701  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2702$as_echo "$STRIP" >&6; }
2703else
2704  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2705$as_echo "no" >&6; }
2706fi
2707
2708
2709fi
2710if test -z "$ac_cv_prog_STRIP"; then
2711  ac_ct_STRIP=$STRIP
2712  # Extract the first word of "strip", so it can be a program name with args.
2713set dummy strip; ac_word=$2
2714{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2715$as_echo_n "checking for $ac_word... " >&6; }
2716if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2717  $as_echo_n "(cached) " >&6
2718else
2719  if test -n "$ac_ct_STRIP"; then
2720  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2721else
2722as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2723for as_dir in $PATH
2724do
2725  IFS=$as_save_IFS
2726  test -z "$as_dir" && as_dir=.
2727    for ac_exec_ext in '' $ac_executable_extensions; do
2728  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2729    ac_cv_prog_ac_ct_STRIP="strip"
2730    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2731    break 2
2732  fi
2733done
2734  done
2735IFS=$as_save_IFS
2736
2737fi
2738fi
2739ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2740if test -n "$ac_ct_STRIP"; then
2741  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2742$as_echo "$ac_ct_STRIP" >&6; }
2743else
2744  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2745$as_echo "no" >&6; }
2746fi
2747
2748  if test "x$ac_ct_STRIP" = x; then
2749    STRIP=":"
2750  else
2751    case $cross_compiling:$ac_tool_warned in
2752yes:)
2753{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2754$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2755ac_tool_warned=yes ;;
2756esac
2757    STRIP=$ac_ct_STRIP
2758  fi
2759else
2760  STRIP="$ac_cv_prog_STRIP"
2761fi
2762
2763fi
2764INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2765
2766{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2767$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2768if test -z "$MKDIR_P"; then
2769  if ${ac_cv_path_mkdir+:} false; then :
2770  $as_echo_n "(cached) " >&6
2771else
2772  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2773for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2774do
2775  IFS=$as_save_IFS
2776  test -z "$as_dir" && as_dir=.
2777    for ac_prog in mkdir gmkdir; do
2778	 for ac_exec_ext in '' $ac_executable_extensions; do
2779	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2780	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2781	     'mkdir (GNU coreutils) '* | \
2782	     'mkdir (coreutils) '* | \
2783	     'mkdir (fileutils) '4.1*)
2784	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2785	       break 3;;
2786	   esac
2787	 done
2788       done
2789  done
2790IFS=$as_save_IFS
2791
2792fi
2793
2794  test -d ./--version && rmdir ./--version
2795  if test "${ac_cv_path_mkdir+set}" = set; then
2796    MKDIR_P="$ac_cv_path_mkdir -p"
2797  else
2798    # As a last resort, use the slow shell script.  Don't cache a
2799    # value for MKDIR_P within a source directory, because that will
2800    # break other packages using the cache if that directory is
2801    # removed, or if the value is a relative name.
2802    MKDIR_P="$ac_install_sh -d"
2803  fi
2804fi
2805{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2806$as_echo "$MKDIR_P" >&6; }
2807
2808for ac_prog in gawk mawk nawk awk
2809do
2810  # Extract the first word of "$ac_prog", so it can be a program name with args.
2811set dummy $ac_prog; ac_word=$2
2812{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2813$as_echo_n "checking for $ac_word... " >&6; }
2814if ${ac_cv_prog_AWK+:} false; then :
2815  $as_echo_n "(cached) " >&6
2816else
2817  if test -n "$AWK"; then
2818  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2819else
2820as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2821for as_dir in $PATH
2822do
2823  IFS=$as_save_IFS
2824  test -z "$as_dir" && as_dir=.
2825    for ac_exec_ext in '' $ac_executable_extensions; do
2826  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2827    ac_cv_prog_AWK="$ac_prog"
2828    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2829    break 2
2830  fi
2831done
2832  done
2833IFS=$as_save_IFS
2834
2835fi
2836fi
2837AWK=$ac_cv_prog_AWK
2838if test -n "$AWK"; then
2839  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2840$as_echo "$AWK" >&6; }
2841else
2842  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2843$as_echo "no" >&6; }
2844fi
2845
2846
2847  test -n "$AWK" && break
2848done
2849
2850{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2851$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2852set x ${MAKE-make}
2853ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2854if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2855  $as_echo_n "(cached) " >&6
2856else
2857  cat >conftest.make <<\_ACEOF
2858SHELL = /bin/sh
2859all:
2860	@echo '@@@%%%=$(MAKE)=@@@%%%'
2861_ACEOF
2862# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2863case `${MAKE-make} -f conftest.make 2>/dev/null` in
2864  *@@@%%%=?*=@@@%%%*)
2865    eval ac_cv_prog_make_${ac_make}_set=yes;;
2866  *)
2867    eval ac_cv_prog_make_${ac_make}_set=no;;
2868esac
2869rm -f conftest.make
2870fi
2871if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2872  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2873$as_echo "yes" >&6; }
2874  SET_MAKE=
2875else
2876  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2877$as_echo "no" >&6; }
2878  SET_MAKE="MAKE=${MAKE-make}"
2879fi
2880
2881rm -rf .tst 2>/dev/null
2882mkdir .tst 2>/dev/null
2883if test -d .tst; then
2884  am__leading_dot=.
2885else
2886  am__leading_dot=_
2887fi
2888rmdir .tst 2>/dev/null
2889
2890# Check whether --enable-silent-rules was given.
2891if test "${enable_silent_rules+set}" = set; then :
2892  enableval=$enable_silent_rules;
2893fi
2894
2895case $enable_silent_rules in # (((
2896  yes) AM_DEFAULT_VERBOSITY=0;;
2897   no) AM_DEFAULT_VERBOSITY=1;;
2898    *) AM_DEFAULT_VERBOSITY=1;;
2899esac
2900am_make=${MAKE-make}
2901{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2902$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2903if ${am_cv_make_support_nested_variables+:} false; then :
2904  $as_echo_n "(cached) " >&6
2905else
2906  if $as_echo 'TRUE=$(BAR$(V))
2907BAR0=false
2908BAR1=true
2909V=1
2910am__doit:
2911	@$(TRUE)
2912.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2913  am_cv_make_support_nested_variables=yes
2914else
2915  am_cv_make_support_nested_variables=no
2916fi
2917fi
2918{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2919$as_echo "$am_cv_make_support_nested_variables" >&6; }
2920if test $am_cv_make_support_nested_variables = yes; then
2921    AM_V='$(V)'
2922  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2923else
2924  AM_V=$AM_DEFAULT_VERBOSITY
2925  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2926fi
2927AM_BACKSLASH='\'
2928
2929if test "`cd $srcdir && pwd`" != "`pwd`"; then
2930  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2931  # is not polluted with repeated "-I."
2932  am__isrc=' -I$(srcdir)'
2933  # test to see if srcdir already configured
2934  if test -f $srcdir/config.status; then
2935    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2936  fi
2937fi
2938
2939# test whether we have cygpath
2940if test -z "$CYGPATH_W"; then
2941  if (cygpath --version) >/dev/null 2>/dev/null; then
2942    CYGPATH_W='cygpath -w'
2943  else
2944    CYGPATH_W=echo
2945  fi
2946fi
2947
2948
2949# Define the identity of the package.
2950
2951 PACKAGE=libdbusmenu
2952 VERSION=16.04.0
2953
2954
2955# Some tools Automake needs.
2956
2957ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2958
2959
2960AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2961
2962
2963AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2964
2965
2966AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2967
2968
2969MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2970
2971# For better backward compatibility.  To be removed once Automake 1.9.x
2972# dies out for good.  For more background, see:
2973# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2974# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2975mkdir_p='$(MKDIR_P)'
2976
2977# We need awk for the "check" target (and possibly the TAP driver).  The
2978# system "awk" is bad on some platforms.
2979# Always define AMTAR for backward compatibility.  Yes, it's still used
2980# in the wild :-(  We should find a proper way to deprecate it ...
2981AMTAR='$${TAR-tar}'
2982
2983
2984# We'll loop over all known methods to create a tar archive until one works.
2985_am_tools='gnutar  pax cpio none'
2986
2987am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2988
2989
2990
2991
2992
2993
2994# POSIX will say in a future version that running "rm -f" with no argument
2995# is OK; and we want to be able to make that assumption in our Makefile
2996# recipes.  So use an aggressive probe to check that the usage we want is
2997# actually supported "in the wild" to an acceptable degree.
2998# See automake bug#10828.
2999# To make any issue more visible, cause the running configure to be aborted
3000# by default if the 'rm' program in use doesn't match our expectations; the
3001# user can still override this though.
3002if rm -f && rm -fr && rm -rf; then : OK; else
3003  cat >&2 <<'END'
3004Oops!
3005
3006Your 'rm' program seems unable to run without file operands specified
3007on the command line, even when the '-f' option is present.  This is contrary
3008to the behaviour of most rm programs out there, and not conforming with
3009the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3010
3011Please tell bug-automake@gnu.org about your system, including the value
3012of your $PATH and any error possibly output before this message.  This
3013can help us improve future automake versions.
3014
3015END
3016  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3017    echo 'Configuration will proceed anyway, since you have set the' >&2
3018    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3019    echo >&2
3020  else
3021    cat >&2 <<'END'
3022Aborting the configuration process, to ensure you take notice of the issue.
3023
3024You can download and install GNU coreutils to get an 'rm' implementation
3025that behaves properly: <http://www.gnu.org/software/coreutils/>.
3026
3027If you want to complete the configuration process using your problematic
3028'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3029to "yes", and re-run configure.
3030
3031END
3032    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3033  fi
3034fi
3035
3036
3037
3038{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3039$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3040    # Check whether --enable-maintainer-mode was given.
3041if test "${enable_maintainer_mode+set}" = set; then :
3042  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3043else
3044  USE_MAINTAINER_MODE=no
3045fi
3046
3047  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3048$as_echo "$USE_MAINTAINER_MODE" >&6; }
3049   if test $USE_MAINTAINER_MODE = yes; then
3050  MAINTAINER_MODE_TRUE=
3051  MAINTAINER_MODE_FALSE='#'
3052else
3053  MAINTAINER_MODE_TRUE='#'
3054  MAINTAINER_MODE_FALSE=
3055fi
3056
3057  MAINT=$MAINTAINER_MODE_TRUE
3058
3059
3060
3061
3062  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
3063$as_echo_n "checking whether NLS is requested... " >&6; }
3064    # Check whether --enable-nls was given.
3065if test "${enable_nls+set}" = set; then :
3066  enableval=$enable_nls; USE_NLS=$enableval
3067else
3068  USE_NLS=yes
3069fi
3070
3071  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
3072$as_echo "$USE_NLS" >&6; }
3073
3074
3075
3076
3077case "$am__api_version" in
3078    1.01234)
3079	as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
3080    ;;
3081    *)
3082    ;;
3083esac
3084
3085INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.35.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
3086INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
3087INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
3088if test -n "0.35.0"; then
3089    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.35.0" >&5
3090$as_echo_n "checking for intltool >= 0.35.0... " >&6; }
3091    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
3092$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
3093    test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
3094	as_fn_error $? "Your intltool is too old.  You need intltool 0.35.0 or later." "$LINENO" 5
3095fi
3096
3097# Extract the first word of "intltool-update", so it can be a program name with args.
3098set dummy intltool-update; ac_word=$2
3099{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3100$as_echo_n "checking for $ac_word... " >&6; }
3101if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
3102  $as_echo_n "(cached) " >&6
3103else
3104  case $INTLTOOL_UPDATE in
3105  [\\/]* | ?:[\\/]*)
3106  ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
3107  ;;
3108  *)
3109  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3110for as_dir in $PATH
3111do
3112  IFS=$as_save_IFS
3113  test -z "$as_dir" && as_dir=.
3114    for ac_exec_ext in '' $ac_executable_extensions; do
3115  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3116    ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
3117    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3118    break 2
3119  fi
3120done
3121  done
3122IFS=$as_save_IFS
3123
3124  ;;
3125esac
3126fi
3127INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
3128if test -n "$INTLTOOL_UPDATE"; then
3129  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
3130$as_echo "$INTLTOOL_UPDATE" >&6; }
3131else
3132  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3133$as_echo "no" >&6; }
3134fi
3135
3136
3137# Extract the first word of "intltool-merge", so it can be a program name with args.
3138set dummy intltool-merge; ac_word=$2
3139{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3140$as_echo_n "checking for $ac_word... " >&6; }
3141if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
3142  $as_echo_n "(cached) " >&6
3143else
3144  case $INTLTOOL_MERGE in
3145  [\\/]* | ?:[\\/]*)
3146  ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
3147  ;;
3148  *)
3149  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3150for as_dir in $PATH
3151do
3152  IFS=$as_save_IFS
3153  test -z "$as_dir" && as_dir=.
3154    for ac_exec_ext in '' $ac_executable_extensions; do
3155  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3156    ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
3157    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3158    break 2
3159  fi
3160done
3161  done
3162IFS=$as_save_IFS
3163
3164  ;;
3165esac
3166fi
3167INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
3168if test -n "$INTLTOOL_MERGE"; then
3169  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
3170$as_echo "$INTLTOOL_MERGE" >&6; }
3171else
3172  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3173$as_echo "no" >&6; }
3174fi
3175
3176
3177# Extract the first word of "intltool-extract", so it can be a program name with args.
3178set dummy intltool-extract; ac_word=$2
3179{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3180$as_echo_n "checking for $ac_word... " >&6; }
3181if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
3182  $as_echo_n "(cached) " >&6
3183else
3184  case $INTLTOOL_EXTRACT in
3185  [\\/]* | ?:[\\/]*)
3186  ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
3187  ;;
3188  *)
3189  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3190for as_dir in $PATH
3191do
3192  IFS=$as_save_IFS
3193  test -z "$as_dir" && as_dir=.
3194    for ac_exec_ext in '' $ac_executable_extensions; do
3195  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3196    ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
3197    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3198    break 2
3199  fi
3200done
3201  done
3202IFS=$as_save_IFS
3203
3204  ;;
3205esac
3206fi
3207INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
3208if test -n "$INTLTOOL_EXTRACT"; then
3209  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
3210$as_echo "$INTLTOOL_EXTRACT" >&6; }
3211else
3212  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3213$as_echo "no" >&6; }
3214fi
3215
3216
3217if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
3218    as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
3219fi
3220
3221if test -z "$AM_DEFAULT_VERBOSITY"; then
3222  AM_DEFAULT_VERBOSITY=1
3223fi
3224
3225
3226INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))'
3227INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))'
3228INTLTOOL__v_MERGE_0='@echo "  ITMRG " $@;'
3229
3230
3231
3232
3233INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))'
3234intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))'
3235intltool__v_merge_options_0='-q'
3236
3237
3238
3239
3240  INTLTOOL_DESKTOP_RULE='%.desktop:   %.desktop.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3241INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3242     INTLTOOL_KEYS_RULE='%.keys:      %.keys.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3243     INTLTOOL_PROP_RULE='%.prop:      %.prop.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3244      INTLTOOL_OAF_RULE='%.oaf:       %.oaf.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -p $(top_srcdir)/po $< $@'
3245     INTLTOOL_PONG_RULE='%.pong:      %.pong.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3246   INTLTOOL_SERVER_RULE='%.server:    %.server.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3247    INTLTOOL_SHEET_RULE='%.sheet:     %.sheet.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3248INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3249       INTLTOOL_UI_RULE='%.ui:        %.ui.in        $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3250      INTLTOOL_XML_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3251if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then
3252      INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u --no-translations $< $@'
3253else
3254      INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)_it_tmp_dir=tmp.intltool.$$RANDOM && mkdir $$_it_tmp_dir && LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u $$_it_tmp_dir $< $@ && rmdir $$_it_tmp_dir'
3255fi
3256      INTLTOOL_XAM_RULE='%.xam:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3257      INTLTOOL_KBD_RULE='%.kbd:       %.kbd.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3258    INTLTOOL_CAVES_RULE='%.caves:     %.caves.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3259  INTLTOOL_SCHEMAS_RULE='%.schemas:   %.schemas.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3260    INTLTOOL_THEME_RULE='%.theme:     %.theme.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3261    INTLTOOL_SERVICE_RULE='%.service: %.service.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3262   INTLTOOL_POLICY_RULE='%.policy:    %.policy.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360# Check the gettext tools to make sure they are GNU
3361# Extract the first word of "xgettext", so it can be a program name with args.
3362set dummy xgettext; ac_word=$2
3363{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3364$as_echo_n "checking for $ac_word... " >&6; }
3365if ${ac_cv_path_XGETTEXT+:} false; then :
3366  $as_echo_n "(cached) " >&6
3367else
3368  case $XGETTEXT in
3369  [\\/]* | ?:[\\/]*)
3370  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
3371  ;;
3372  *)
3373  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3374for as_dir in $PATH
3375do
3376  IFS=$as_save_IFS
3377  test -z "$as_dir" && as_dir=.
3378    for ac_exec_ext in '' $ac_executable_extensions; do
3379  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3380    ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
3381    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3382    break 2
3383  fi
3384done
3385  done
3386IFS=$as_save_IFS
3387
3388  ;;
3389esac
3390fi
3391XGETTEXT=$ac_cv_path_XGETTEXT
3392if test -n "$XGETTEXT"; then
3393  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
3394$as_echo "$XGETTEXT" >&6; }
3395else
3396  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3397$as_echo "no" >&6; }
3398fi
3399
3400
3401# Extract the first word of "msgmerge", so it can be a program name with args.
3402set dummy msgmerge; ac_word=$2
3403{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3404$as_echo_n "checking for $ac_word... " >&6; }
3405if ${ac_cv_path_MSGMERGE+:} false; then :
3406  $as_echo_n "(cached) " >&6
3407else
3408  case $MSGMERGE in
3409  [\\/]* | ?:[\\/]*)
3410  ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
3411  ;;
3412  *)
3413  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3414for as_dir in $PATH
3415do
3416  IFS=$as_save_IFS
3417  test -z "$as_dir" && as_dir=.
3418    for ac_exec_ext in '' $ac_executable_extensions; do
3419  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3420    ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
3421    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3422    break 2
3423  fi
3424done
3425  done
3426IFS=$as_save_IFS
3427
3428  ;;
3429esac
3430fi
3431MSGMERGE=$ac_cv_path_MSGMERGE
3432if test -n "$MSGMERGE"; then
3433  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
3434$as_echo "$MSGMERGE" >&6; }
3435else
3436  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3437$as_echo "no" >&6; }
3438fi
3439
3440
3441# Extract the first word of "msgfmt", so it can be a program name with args.
3442set dummy msgfmt; ac_word=$2
3443{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3444$as_echo_n "checking for $ac_word... " >&6; }
3445if ${ac_cv_path_MSGFMT+:} false; then :
3446  $as_echo_n "(cached) " >&6
3447else
3448  case $MSGFMT in
3449  [\\/]* | ?:[\\/]*)
3450  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
3451  ;;
3452  *)
3453  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3454for as_dir in $PATH
3455do
3456  IFS=$as_save_IFS
3457  test -z "$as_dir" && as_dir=.
3458    for ac_exec_ext in '' $ac_executable_extensions; do
3459  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3460    ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
3461    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3462    break 2
3463  fi
3464done
3465  done
3466IFS=$as_save_IFS
3467
3468  ;;
3469esac
3470fi
3471MSGFMT=$ac_cv_path_MSGFMT
3472if test -n "$MSGFMT"; then
3473  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
3474$as_echo "$MSGFMT" >&6; }
3475else
3476  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3477$as_echo "no" >&6; }
3478fi
3479
3480
3481# Extract the first word of "gmsgfmt", so it can be a program name with args.
3482set dummy gmsgfmt; ac_word=$2
3483{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3484$as_echo_n "checking for $ac_word... " >&6; }
3485if ${ac_cv_path_GMSGFMT+:} false; then :
3486  $as_echo_n "(cached) " >&6
3487else
3488  case $GMSGFMT in
3489  [\\/]* | ?:[\\/]*)
3490  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
3491  ;;
3492  *)
3493  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3494for as_dir in $PATH
3495do
3496  IFS=$as_save_IFS
3497  test -z "$as_dir" && as_dir=.
3498    for ac_exec_ext in '' $ac_executable_extensions; do
3499  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3500    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
3501    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3502    break 2
3503  fi
3504done
3505  done
3506IFS=$as_save_IFS
3507
3508  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
3509  ;;
3510esac
3511fi
3512GMSGFMT=$ac_cv_path_GMSGFMT
3513if test -n "$GMSGFMT"; then
3514  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
3515$as_echo "$GMSGFMT" >&6; }
3516else
3517  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3518$as_echo "no" >&6; }
3519fi
3520
3521
3522if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
3523    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
3524fi
3525xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
3526mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
3527mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
3528if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
3529    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
3530fi
3531
3532# Extract the first word of "perl", so it can be a program name with args.
3533set dummy perl; ac_word=$2
3534{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3535$as_echo_n "checking for $ac_word... " >&6; }
3536if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
3537  $as_echo_n "(cached) " >&6
3538else
3539  case $INTLTOOL_PERL in
3540  [\\/]* | ?:[\\/]*)
3541  ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
3542  ;;
3543  *)
3544  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3545for as_dir in $PATH
3546do
3547  IFS=$as_save_IFS
3548  test -z "$as_dir" && as_dir=.
3549    for ac_exec_ext in '' $ac_executable_extensions; do
3550  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3551    ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
3552    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3553    break 2
3554  fi
3555done
3556  done
3557IFS=$as_save_IFS
3558
3559  ;;
3560esac
3561fi
3562INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
3563if test -n "$INTLTOOL_PERL"; then
3564  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
3565$as_echo "$INTLTOOL_PERL" >&6; }
3566else
3567  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3568$as_echo "no" >&6; }
3569fi
3570
3571
3572if test -z "$INTLTOOL_PERL"; then
3573   as_fn_error $? "perl not found" "$LINENO" 5
3574fi
3575{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
3576$as_echo_n "checking for perl >= 5.8.1... " >&6; }
3577$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
3578if test $? -ne 0; then
3579   as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
3580else
3581   IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"`
3582   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
3583$as_echo "$IT_PERL_VERSION" >&6; }
3584fi
3585if test "x" != "xno-xml"; then
3586   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
3587$as_echo_n "checking for XML::Parser... " >&6; }
3588   if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
3589       { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
3590$as_echo "ok" >&6; }
3591   else
3592       as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
3593   fi
3594fi
3595
3596# Substitute ALL_LINGUAS so we can use it in po/Makefile
3597
3598
3599
3600
3601
3602DEPDIR="${am__leading_dot}deps"
3603
3604ac_config_commands="$ac_config_commands depfiles"
3605
3606
3607am_make=${MAKE-make}
3608cat > confinc << 'END'
3609am__doit:
3610	@echo this is the am__doit target
3611.PHONY: am__doit
3612END
3613# If we don't find an include directive, just comment out the code.
3614{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3615$as_echo_n "checking for style of include used by $am_make... " >&6; }
3616am__include="#"
3617am__quote=
3618_am_result=none
3619# First try GNU make style include.
3620echo "include confinc" > confmf
3621# Ignore all kinds of additional output from 'make'.
3622case `$am_make -s -f confmf 2> /dev/null` in #(
3623*the\ am__doit\ target*)
3624  am__include=include
3625  am__quote=
3626  _am_result=GNU
3627  ;;
3628esac
3629# Now try BSD make style include.
3630if test "$am__include" = "#"; then
3631   echo '.include "confinc"' > confmf
3632   case `$am_make -s -f confmf 2> /dev/null` in #(
3633   *the\ am__doit\ target*)
3634     am__include=.include
3635     am__quote="\""
3636     _am_result=BSD
3637     ;;
3638   esac
3639fi
3640
3641
3642{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3643$as_echo "$_am_result" >&6; }
3644rm -f confinc confmf
3645
3646# Check whether --enable-dependency-tracking was given.
3647if test "${enable_dependency_tracking+set}" = set; then :
3648  enableval=$enable_dependency_tracking;
3649fi
3650
3651if test "x$enable_dependency_tracking" != xno; then
3652  am_depcomp="$ac_aux_dir/depcomp"
3653  AMDEPBACKSLASH='\'
3654  am__nodep='_no'
3655fi
3656 if test "x$enable_dependency_tracking" != xno; then
3657  AMDEP_TRUE=
3658  AMDEP_FALSE='#'
3659else
3660  AMDEP_TRUE='#'
3661  AMDEP_FALSE=
3662fi
3663
3664
3665ac_ext=c
3666ac_cpp='$CPP $CPPFLAGS'
3667ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3668ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3669ac_compiler_gnu=$ac_cv_c_compiler_gnu
3670if test -n "$ac_tool_prefix"; then
3671  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3672set dummy ${ac_tool_prefix}gcc; ac_word=$2
3673{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3674$as_echo_n "checking for $ac_word... " >&6; }
3675if ${ac_cv_prog_CC+:} false; then :
3676  $as_echo_n "(cached) " >&6
3677else
3678  if test -n "$CC"; then
3679  ac_cv_prog_CC="$CC" # Let the user override the test.
3680else
3681as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3682for as_dir in $PATH
3683do
3684  IFS=$as_save_IFS
3685  test -z "$as_dir" && as_dir=.
3686    for ac_exec_ext in '' $ac_executable_extensions; do
3687  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3688    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3689    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3690    break 2
3691  fi
3692done
3693  done
3694IFS=$as_save_IFS
3695
3696fi
3697fi
3698CC=$ac_cv_prog_CC
3699if test -n "$CC"; then
3700  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3701$as_echo "$CC" >&6; }
3702else
3703  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3704$as_echo "no" >&6; }
3705fi
3706
3707
3708fi
3709if test -z "$ac_cv_prog_CC"; then
3710  ac_ct_CC=$CC
3711  # Extract the first word of "gcc", so it can be a program name with args.
3712set dummy gcc; ac_word=$2
3713{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3714$as_echo_n "checking for $ac_word... " >&6; }
3715if ${ac_cv_prog_ac_ct_CC+:} false; then :
3716  $as_echo_n "(cached) " >&6
3717else
3718  if test -n "$ac_ct_CC"; then
3719  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3720else
3721as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3722for as_dir in $PATH
3723do
3724  IFS=$as_save_IFS
3725  test -z "$as_dir" && as_dir=.
3726    for ac_exec_ext in '' $ac_executable_extensions; do
3727  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3728    ac_cv_prog_ac_ct_CC="gcc"
3729    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3730    break 2
3731  fi
3732done
3733  done
3734IFS=$as_save_IFS
3735
3736fi
3737fi
3738ac_ct_CC=$ac_cv_prog_ac_ct_CC
3739if test -n "$ac_ct_CC"; then
3740  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3741$as_echo "$ac_ct_CC" >&6; }
3742else
3743  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3744$as_echo "no" >&6; }
3745fi
3746
3747  if test "x$ac_ct_CC" = x; then
3748    CC=""
3749  else
3750    case $cross_compiling:$ac_tool_warned in
3751yes:)
3752{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3753$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3754ac_tool_warned=yes ;;
3755esac
3756    CC=$ac_ct_CC
3757  fi
3758else
3759  CC="$ac_cv_prog_CC"
3760fi
3761
3762if test -z "$CC"; then
3763          if test -n "$ac_tool_prefix"; then
3764    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3765set dummy ${ac_tool_prefix}cc; ac_word=$2
3766{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3767$as_echo_n "checking for $ac_word... " >&6; }
3768if ${ac_cv_prog_CC+:} false; then :
3769  $as_echo_n "(cached) " >&6
3770else
3771  if test -n "$CC"; then
3772  ac_cv_prog_CC="$CC" # Let the user override the test.
3773else
3774as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3775for as_dir in $PATH
3776do
3777  IFS=$as_save_IFS
3778  test -z "$as_dir" && as_dir=.
3779    for ac_exec_ext in '' $ac_executable_extensions; do
3780  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3781    ac_cv_prog_CC="${ac_tool_prefix}cc"
3782    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3783    break 2
3784  fi
3785done
3786  done
3787IFS=$as_save_IFS
3788
3789fi
3790fi
3791CC=$ac_cv_prog_CC
3792if test -n "$CC"; then
3793  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3794$as_echo "$CC" >&6; }
3795else
3796  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3797$as_echo "no" >&6; }
3798fi
3799
3800
3801  fi
3802fi
3803if test -z "$CC"; then
3804  # Extract the first word of "cc", so it can be a program name with args.
3805set dummy cc; ac_word=$2
3806{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3807$as_echo_n "checking for $ac_word... " >&6; }
3808if ${ac_cv_prog_CC+:} false; then :
3809  $as_echo_n "(cached) " >&6
3810else
3811  if test -n "$CC"; then
3812  ac_cv_prog_CC="$CC" # Let the user override the test.
3813else
3814  ac_prog_rejected=no
3815as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3816for as_dir in $PATH
3817do
3818  IFS=$as_save_IFS
3819  test -z "$as_dir" && as_dir=.
3820    for ac_exec_ext in '' $ac_executable_extensions; do
3821  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3822    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3823       ac_prog_rejected=yes
3824       continue
3825     fi
3826    ac_cv_prog_CC="cc"
3827    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3828    break 2
3829  fi
3830done
3831  done
3832IFS=$as_save_IFS
3833
3834if test $ac_prog_rejected = yes; then
3835  # We found a bogon in the path, so make sure we never use it.
3836  set dummy $ac_cv_prog_CC
3837  shift
3838  if test $# != 0; then
3839    # We chose a different compiler from the bogus one.
3840    # However, it has the same basename, so the bogon will be chosen
3841    # first if we set CC to just the basename; use the full file name.
3842    shift
3843    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3844  fi
3845fi
3846fi
3847fi
3848CC=$ac_cv_prog_CC
3849if test -n "$CC"; then
3850  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3851$as_echo "$CC" >&6; }
3852else
3853  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3854$as_echo "no" >&6; }
3855fi
3856
3857
3858fi
3859if test -z "$CC"; then
3860  if test -n "$ac_tool_prefix"; then
3861  for ac_prog in cl.exe
3862  do
3863    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3864set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3865{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3866$as_echo_n "checking for $ac_word... " >&6; }
3867if ${ac_cv_prog_CC+:} false; then :
3868  $as_echo_n "(cached) " >&6
3869else
3870  if test -n "$CC"; then
3871  ac_cv_prog_CC="$CC" # Let the user override the test.
3872else
3873as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3874for as_dir in $PATH
3875do
3876  IFS=$as_save_IFS
3877  test -z "$as_dir" && as_dir=.
3878    for ac_exec_ext in '' $ac_executable_extensions; do
3879  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3880    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3881    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3882    break 2
3883  fi
3884done
3885  done
3886IFS=$as_save_IFS
3887
3888fi
3889fi
3890CC=$ac_cv_prog_CC
3891if test -n "$CC"; then
3892  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3893$as_echo "$CC" >&6; }
3894else
3895  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3896$as_echo "no" >&6; }
3897fi
3898
3899
3900    test -n "$CC" && break
3901  done
3902fi
3903if test -z "$CC"; then
3904  ac_ct_CC=$CC
3905  for ac_prog in cl.exe
3906do
3907  # Extract the first word of "$ac_prog", so it can be a program name with args.
3908set dummy $ac_prog; ac_word=$2
3909{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3910$as_echo_n "checking for $ac_word... " >&6; }
3911if ${ac_cv_prog_ac_ct_CC+:} false; then :
3912  $as_echo_n "(cached) " >&6
3913else
3914  if test -n "$ac_ct_CC"; then
3915  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3916else
3917as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3918for as_dir in $PATH
3919do
3920  IFS=$as_save_IFS
3921  test -z "$as_dir" && as_dir=.
3922    for ac_exec_ext in '' $ac_executable_extensions; do
3923  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3924    ac_cv_prog_ac_ct_CC="$ac_prog"
3925    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3926    break 2
3927  fi
3928done
3929  done
3930IFS=$as_save_IFS
3931
3932fi
3933fi
3934ac_ct_CC=$ac_cv_prog_ac_ct_CC
3935if test -n "$ac_ct_CC"; then
3936  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3937$as_echo "$ac_ct_CC" >&6; }
3938else
3939  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3940$as_echo "no" >&6; }
3941fi
3942
3943
3944  test -n "$ac_ct_CC" && break
3945done
3946
3947  if test "x$ac_ct_CC" = x; then
3948    CC=""
3949  else
3950    case $cross_compiling:$ac_tool_warned in
3951yes:)
3952{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3953$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3954ac_tool_warned=yes ;;
3955esac
3956    CC=$ac_ct_CC
3957  fi
3958fi
3959
3960fi
3961
3962
3963test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3964$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3965as_fn_error $? "no acceptable C compiler found in \$PATH
3966See \`config.log' for more details" "$LINENO" 5; }
3967
3968# Provide some information about the compiler.
3969$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3970set X $ac_compile
3971ac_compiler=$2
3972for ac_option in --version -v -V -qversion; do
3973  { { ac_try="$ac_compiler $ac_option >&5"
3974case "(($ac_try" in
3975  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3976  *) ac_try_echo=$ac_try;;
3977esac
3978eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3979$as_echo "$ac_try_echo"; } >&5
3980  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3981  ac_status=$?
3982  if test -s conftest.err; then
3983    sed '10a\
3984... rest of stderr output deleted ...
3985         10q' conftest.err >conftest.er1
3986    cat conftest.er1 >&5
3987  fi
3988  rm -f conftest.er1 conftest.err
3989  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3990  test $ac_status = 0; }
3991done
3992
3993cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3994/* end confdefs.h.  */
3995
3996int
3997main ()
3998{
3999
4000  ;
4001  return 0;
4002}
4003_ACEOF
4004ac_clean_files_save=$ac_clean_files
4005ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4006# Try to create an executable without -o first, disregard a.out.
4007# It will help us diagnose broken compilers, and finding out an intuition
4008# of exeext.
4009{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4010$as_echo_n "checking whether the C compiler works... " >&6; }
4011ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4012
4013# The possible output files:
4014ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4015
4016ac_rmfiles=
4017for ac_file in $ac_files
4018do
4019  case $ac_file in
4020    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4021    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4022  esac
4023done
4024rm -f $ac_rmfiles
4025
4026if { { ac_try="$ac_link_default"
4027case "(($ac_try" in
4028  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4029  *) ac_try_echo=$ac_try;;
4030esac
4031eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4032$as_echo "$ac_try_echo"; } >&5
4033  (eval "$ac_link_default") 2>&5
4034  ac_status=$?
4035  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4036  test $ac_status = 0; }; then :
4037  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4038# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4039# in a Makefile.  We should not override ac_cv_exeext if it was cached,
4040# so that the user can short-circuit this test for compilers unknown to
4041# Autoconf.
4042for ac_file in $ac_files ''
4043do
4044  test -f "$ac_file" || continue
4045  case $ac_file in
4046    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4047	;;
4048    [ab].out )
4049	# We found the default executable, but exeext='' is most
4050	# certainly right.
4051	break;;
4052    *.* )
4053	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4054	then :; else
4055	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4056	fi
4057	# We set ac_cv_exeext here because the later test for it is not
4058	# safe: cross compilers may not add the suffix if given an `-o'
4059	# argument, so we may need to know it at that point already.
4060	# Even if this section looks crufty: it has the advantage of
4061	# actually working.
4062	break;;
4063    * )
4064	break;;
4065  esac
4066done
4067test "$ac_cv_exeext" = no && ac_cv_exeext=
4068
4069else
4070  ac_file=''
4071fi
4072if test -z "$ac_file"; then :
4073  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4074$as_echo "no" >&6; }
4075$as_echo "$as_me: failed program was:" >&5
4076sed 's/^/| /' conftest.$ac_ext >&5
4077
4078{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4079$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4080as_fn_error 77 "C compiler cannot create executables
4081See \`config.log' for more details" "$LINENO" 5; }
4082else
4083  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4084$as_echo "yes" >&6; }
4085fi
4086{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4087$as_echo_n "checking for C compiler default output file name... " >&6; }
4088{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4089$as_echo "$ac_file" >&6; }
4090ac_exeext=$ac_cv_exeext
4091
4092rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4093ac_clean_files=$ac_clean_files_save
4094{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4095$as_echo_n "checking for suffix of executables... " >&6; }
4096if { { ac_try="$ac_link"
4097case "(($ac_try" in
4098  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4099  *) ac_try_echo=$ac_try;;
4100esac
4101eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4102$as_echo "$ac_try_echo"; } >&5
4103  (eval "$ac_link") 2>&5
4104  ac_status=$?
4105  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4106  test $ac_status = 0; }; then :
4107  # If both `conftest.exe' and `conftest' are `present' (well, observable)
4108# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
4109# work properly (i.e., refer to `conftest.exe'), while it won't with
4110# `rm'.
4111for ac_file in conftest.exe conftest conftest.*; do
4112  test -f "$ac_file" || continue
4113  case $ac_file in
4114    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4115    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4116	  break;;
4117    * ) break;;
4118  esac
4119done
4120else
4121  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4122$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4123as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4124See \`config.log' for more details" "$LINENO" 5; }
4125fi
4126rm -f conftest conftest$ac_cv_exeext
4127{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4128$as_echo "$ac_cv_exeext" >&6; }
4129
4130rm -f conftest.$ac_ext
4131EXEEXT=$ac_cv_exeext
4132ac_exeext=$EXEEXT
4133cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4134/* end confdefs.h.  */
4135#include <stdio.h>
4136int
4137main ()
4138{
4139FILE *f = fopen ("conftest.out", "w");
4140 return ferror (f) || fclose (f) != 0;
4141
4142  ;
4143  return 0;
4144}
4145_ACEOF
4146ac_clean_files="$ac_clean_files conftest.out"
4147# Check that the compiler produces executables we can run.  If not, either
4148# the compiler is broken, or we cross compile.
4149{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4150$as_echo_n "checking whether we are cross compiling... " >&6; }
4151if test "$cross_compiling" != yes; then
4152  { { ac_try="$ac_link"
4153case "(($ac_try" in
4154  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4155  *) ac_try_echo=$ac_try;;
4156esac
4157eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4158$as_echo "$ac_try_echo"; } >&5
4159  (eval "$ac_link") 2>&5
4160  ac_status=$?
4161  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4162  test $ac_status = 0; }
4163  if { ac_try='./conftest$ac_cv_exeext'
4164  { { case "(($ac_try" in
4165  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4166  *) ac_try_echo=$ac_try;;
4167esac
4168eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4169$as_echo "$ac_try_echo"; } >&5
4170  (eval "$ac_try") 2>&5
4171  ac_status=$?
4172  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4173  test $ac_status = 0; }; }; then
4174    cross_compiling=no
4175  else
4176    if test "$cross_compiling" = maybe; then
4177	cross_compiling=yes
4178    else
4179	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4180$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4181as_fn_error $? "cannot run C compiled programs.
4182If you meant to cross compile, use \`--host'.
4183See \`config.log' for more details" "$LINENO" 5; }
4184    fi
4185  fi
4186fi
4187{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4188$as_echo "$cross_compiling" >&6; }
4189
4190rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4191ac_clean_files=$ac_clean_files_save
4192{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4193$as_echo_n "checking for suffix of object files... " >&6; }
4194if ${ac_cv_objext+:} false; then :
4195  $as_echo_n "(cached) " >&6
4196else
4197  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4198/* end confdefs.h.  */
4199
4200int
4201main ()
4202{
4203
4204  ;
4205  return 0;
4206}
4207_ACEOF
4208rm -f conftest.o conftest.obj
4209if { { ac_try="$ac_compile"
4210case "(($ac_try" in
4211  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4212  *) ac_try_echo=$ac_try;;
4213esac
4214eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4215$as_echo "$ac_try_echo"; } >&5
4216  (eval "$ac_compile") 2>&5
4217  ac_status=$?
4218  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4219  test $ac_status = 0; }; then :
4220  for ac_file in conftest.o conftest.obj conftest.*; do
4221  test -f "$ac_file" || continue;
4222  case $ac_file in
4223    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4224    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4225       break;;
4226  esac
4227done
4228else
4229  $as_echo "$as_me: failed program was:" >&5
4230sed 's/^/| /' conftest.$ac_ext >&5
4231
4232{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4233$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4234as_fn_error $? "cannot compute suffix of object files: cannot compile
4235See \`config.log' for more details" "$LINENO" 5; }
4236fi
4237rm -f conftest.$ac_cv_objext conftest.$ac_ext
4238fi
4239{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4240$as_echo "$ac_cv_objext" >&6; }
4241OBJEXT=$ac_cv_objext
4242ac_objext=$OBJEXT
4243{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4244$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4245if ${ac_cv_c_compiler_gnu+:} false; then :
4246  $as_echo_n "(cached) " >&6
4247else
4248  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4249/* end confdefs.h.  */
4250
4251int
4252main ()
4253{
4254#ifndef __GNUC__
4255       choke me
4256#endif
4257
4258  ;
4259  return 0;
4260}
4261_ACEOF
4262if ac_fn_c_try_compile "$LINENO"; then :
4263  ac_compiler_gnu=yes
4264else
4265  ac_compiler_gnu=no
4266fi
4267rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4268ac_cv_c_compiler_gnu=$ac_compiler_gnu
4269
4270fi
4271{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4272$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4273if test $ac_compiler_gnu = yes; then
4274  GCC=yes
4275else
4276  GCC=
4277fi
4278ac_test_CFLAGS=${CFLAGS+set}
4279ac_save_CFLAGS=$CFLAGS
4280{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4281$as_echo_n "checking whether $CC accepts -g... " >&6; }
4282if ${ac_cv_prog_cc_g+:} false; then :
4283  $as_echo_n "(cached) " >&6
4284else
4285  ac_save_c_werror_flag=$ac_c_werror_flag
4286   ac_c_werror_flag=yes
4287   ac_cv_prog_cc_g=no
4288   CFLAGS="-g"
4289   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4290/* end confdefs.h.  */
4291
4292int
4293main ()
4294{
4295
4296  ;
4297  return 0;
4298}
4299_ACEOF
4300if ac_fn_c_try_compile "$LINENO"; then :
4301  ac_cv_prog_cc_g=yes
4302else
4303  CFLAGS=""
4304      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4305/* end confdefs.h.  */
4306
4307int
4308main ()
4309{
4310
4311  ;
4312  return 0;
4313}
4314_ACEOF
4315if ac_fn_c_try_compile "$LINENO"; then :
4316
4317else
4318  ac_c_werror_flag=$ac_save_c_werror_flag
4319	 CFLAGS="-g"
4320	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4321/* end confdefs.h.  */
4322
4323int
4324main ()
4325{
4326
4327  ;
4328  return 0;
4329}
4330_ACEOF
4331if ac_fn_c_try_compile "$LINENO"; then :
4332  ac_cv_prog_cc_g=yes
4333fi
4334rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4335fi
4336rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4337fi
4338rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4339   ac_c_werror_flag=$ac_save_c_werror_flag
4340fi
4341{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4342$as_echo "$ac_cv_prog_cc_g" >&6; }
4343if test "$ac_test_CFLAGS" = set; then
4344  CFLAGS=$ac_save_CFLAGS
4345elif test $ac_cv_prog_cc_g = yes; then
4346  if test "$GCC" = yes; then
4347    CFLAGS="-g -O2"
4348  else
4349    CFLAGS="-g"
4350  fi
4351else
4352  if test "$GCC" = yes; then
4353    CFLAGS="-O2"
4354  else
4355    CFLAGS=
4356  fi
4357fi
4358{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4359$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4360if ${ac_cv_prog_cc_c89+:} false; then :
4361  $as_echo_n "(cached) " >&6
4362else
4363  ac_cv_prog_cc_c89=no
4364ac_save_CC=$CC
4365cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4366/* end confdefs.h.  */
4367#include <stdarg.h>
4368#include <stdio.h>
4369struct stat;
4370/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4371struct buf { int x; };
4372FILE * (*rcsopen) (struct buf *, struct stat *, int);
4373static char *e (p, i)
4374     char **p;
4375     int i;
4376{
4377  return p[i];
4378}
4379static char *f (char * (*g) (char **, int), char **p, ...)
4380{
4381  char *s;
4382  va_list v;
4383  va_start (v,p);
4384  s = g (p, va_arg (v,int));
4385  va_end (v);
4386  return s;
4387}
4388
4389/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4390   function prototypes and stuff, but not '\xHH' hex character constants.
4391   These don't provoke an error unfortunately, instead are silently treated
4392   as 'x'.  The following induces an error, until -std is added to get
4393   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4394   array size at least.  It's necessary to write '\x00'==0 to get something
4395   that's true only with -std.  */
4396int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4397
4398/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4399   inside strings and character constants.  */
4400#define FOO(x) 'x'
4401int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4402
4403int test (int i, double x);
4404struct s1 {int (*f) (int a);};
4405struct s2 {int (*f) (double a);};
4406int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4407int argc;
4408char **argv;
4409int
4410main ()
4411{
4412return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4413  ;
4414  return 0;
4415}
4416_ACEOF
4417for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4418	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4419do
4420  CC="$ac_save_CC $ac_arg"
4421  if ac_fn_c_try_compile "$LINENO"; then :
4422  ac_cv_prog_cc_c89=$ac_arg
4423fi
4424rm -f core conftest.err conftest.$ac_objext
4425  test "x$ac_cv_prog_cc_c89" != "xno" && break
4426done
4427rm -f conftest.$ac_ext
4428CC=$ac_save_CC
4429
4430fi
4431# AC_CACHE_VAL
4432case "x$ac_cv_prog_cc_c89" in
4433  x)
4434    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4435$as_echo "none needed" >&6; } ;;
4436  xno)
4437    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4438$as_echo "unsupported" >&6; } ;;
4439  *)
4440    CC="$CC $ac_cv_prog_cc_c89"
4441    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4442$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4443esac
4444if test "x$ac_cv_prog_cc_c89" != xno; then :
4445
4446fi
4447
4448ac_ext=c
4449ac_cpp='$CPP $CPPFLAGS'
4450ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4451ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4452ac_compiler_gnu=$ac_cv_c_compiler_gnu
4453
4454ac_ext=c
4455ac_cpp='$CPP $CPPFLAGS'
4456ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4457ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4458ac_compiler_gnu=$ac_cv_c_compiler_gnu
4459{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4460$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4461if ${am_cv_prog_cc_c_o+:} false; then :
4462  $as_echo_n "(cached) " >&6
4463else
4464  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4465/* end confdefs.h.  */
4466
4467int
4468main ()
4469{
4470
4471  ;
4472  return 0;
4473}
4474_ACEOF
4475  # Make sure it works both with $CC and with simple cc.
4476  # Following AC_PROG_CC_C_O, we do the test twice because some
4477  # compilers refuse to overwrite an existing .o file with -o,
4478  # though they will create one.
4479  am_cv_prog_cc_c_o=yes
4480  for am_i in 1 2; do
4481    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4482   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4483   ac_status=$?
4484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4485   (exit $ac_status); } \
4486         && test -f conftest2.$ac_objext; then
4487      : OK
4488    else
4489      am_cv_prog_cc_c_o=no
4490      break
4491    fi
4492  done
4493  rm -f core conftest*
4494  unset am_i
4495fi
4496{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4497$as_echo "$am_cv_prog_cc_c_o" >&6; }
4498if test "$am_cv_prog_cc_c_o" != yes; then
4499   # Losing compiler, so override with the script.
4500   # FIXME: It is wrong to rewrite CC.
4501   # But if we don't then we get into trouble of one sort or another.
4502   # A longer-term fix would be to have automake use am__CC in this case,
4503   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4504   CC="$am_aux_dir/compile $CC"
4505fi
4506ac_ext=c
4507ac_cpp='$CPP $CPPFLAGS'
4508ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4509ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4510ac_compiler_gnu=$ac_cv_c_compiler_gnu
4511
4512
4513depcc="$CC"   am_compiler_list=
4514
4515{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4516$as_echo_n "checking dependency style of $depcc... " >&6; }
4517if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4518  $as_echo_n "(cached) " >&6
4519else
4520  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4521  # We make a subdir and do the tests there.  Otherwise we can end up
4522  # making bogus files that we don't know about and never remove.  For
4523  # instance it was reported that on HP-UX the gcc test will end up
4524  # making a dummy file named 'D' -- because '-MD' means "put the output
4525  # in D".
4526  rm -rf conftest.dir
4527  mkdir conftest.dir
4528  # Copy depcomp to subdir because otherwise we won't find it if we're
4529  # using a relative directory.
4530  cp "$am_depcomp" conftest.dir
4531  cd conftest.dir
4532  # We will build objects and dependencies in a subdirectory because
4533  # it helps to detect inapplicable dependency modes.  For instance
4534  # both Tru64's cc and ICC support -MD to output dependencies as a
4535  # side effect of compilation, but ICC will put the dependencies in
4536  # the current directory while Tru64 will put them in the object
4537  # directory.
4538  mkdir sub
4539
4540  am_cv_CC_dependencies_compiler_type=none
4541  if test "$am_compiler_list" = ""; then
4542     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4543  fi
4544  am__universal=false
4545  case " $depcc " in #(
4546     *\ -arch\ *\ -arch\ *) am__universal=true ;;
4547     esac
4548
4549  for depmode in $am_compiler_list; do
4550    # Setup a source with many dependencies, because some compilers
4551    # like to wrap large dependency lists on column 80 (with \), and
4552    # we should not choose a depcomp mode which is confused by this.
4553    #
4554    # We need to recreate these files for each test, as the compiler may
4555    # overwrite some of them when testing with obscure command lines.
4556    # This happens at least with the AIX C compiler.
4557    : > sub/conftest.c
4558    for i in 1 2 3 4 5 6; do
4559      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4560      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4561      # Solaris 10 /bin/sh.
4562      echo '/* dummy */' > sub/conftst$i.h
4563    done
4564    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4565
4566    # We check with '-c' and '-o' for the sake of the "dashmstdout"
4567    # mode.  It turns out that the SunPro C++ compiler does not properly
4568    # handle '-M -o', and we need to detect this.  Also, some Intel
4569    # versions had trouble with output in subdirs.
4570    am__obj=sub/conftest.${OBJEXT-o}
4571    am__minus_obj="-o $am__obj"
4572    case $depmode in
4573    gcc)
4574      # This depmode causes a compiler race in universal mode.
4575      test "$am__universal" = false || continue
4576      ;;
4577    nosideeffect)
4578      # After this tag, mechanisms are not by side-effect, so they'll
4579      # only be used when explicitly requested.
4580      if test "x$enable_dependency_tracking" = xyes; then
4581	continue
4582      else
4583	break
4584      fi
4585      ;;
4586    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4587      # This compiler won't grok '-c -o', but also, the minuso test has
4588      # not run yet.  These depmodes are late enough in the game, and
4589      # so weak that their functioning should not be impacted.
4590      am__obj=conftest.${OBJEXT-o}
4591      am__minus_obj=
4592      ;;
4593    none) break ;;
4594    esac
4595    if depmode=$depmode \
4596       source=sub/conftest.c object=$am__obj \
4597       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4598       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4599         >/dev/null 2>conftest.err &&
4600       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4601       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4602       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4603       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4604      # icc doesn't choke on unknown options, it will just issue warnings
4605      # or remarks (even with -Werror).  So we grep stderr for any message
4606      # that says an option was ignored or not supported.
4607      # When given -MP, icc 7.0 and 7.1 complain thusly:
4608      #   icc: Command line warning: ignoring option '-M'; no argument required
4609      # The diagnosis changed in icc 8.0:
4610      #   icc: Command line remark: option '-MP' not supported
4611      if (grep 'ignoring option' conftest.err ||
4612          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4613        am_cv_CC_dependencies_compiler_type=$depmode
4614        break
4615      fi
4616    fi
4617  done
4618
4619  cd ..
4620  rm -rf conftest.dir
4621else
4622  am_cv_CC_dependencies_compiler_type=none
4623fi
4624
4625fi
4626{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4627$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4628CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4629
4630 if
4631  test "x$enable_dependency_tracking" != xno \
4632  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4633  am__fastdepCC_TRUE=
4634  am__fastdepCC_FALSE='#'
4635else
4636  am__fastdepCC_TRUE='#'
4637  am__fastdepCC_FALSE=
4638fi
4639
4640
4641
4642{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
4643$as_echo_n "checking for library containing strerror... " >&6; }
4644if ${ac_cv_search_strerror+:} false; then :
4645  $as_echo_n "(cached) " >&6
4646else
4647  ac_func_search_save_LIBS=$LIBS
4648cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4649/* end confdefs.h.  */
4650
4651/* Override any GCC internal prototype to avoid an error.
4652   Use char because int might match the return type of a GCC
4653   builtin and then its argument prototype would still apply.  */
4654#ifdef __cplusplus
4655extern "C"
4656#endif
4657char strerror ();
4658int
4659main ()
4660{
4661return strerror ();
4662  ;
4663  return 0;
4664}
4665_ACEOF
4666for ac_lib in '' cposix; do
4667  if test -z "$ac_lib"; then
4668    ac_res="none required"
4669  else
4670    ac_res=-l$ac_lib
4671    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
4672  fi
4673  if ac_fn_c_try_link "$LINENO"; then :
4674  ac_cv_search_strerror=$ac_res
4675fi
4676rm -f core conftest.err conftest.$ac_objext \
4677    conftest$ac_exeext
4678  if ${ac_cv_search_strerror+:} false; then :
4679  break
4680fi
4681done
4682if ${ac_cv_search_strerror+:} false; then :
4683
4684else
4685  ac_cv_search_strerror=no
4686fi
4687rm conftest.$ac_ext
4688LIBS=$ac_func_search_save_LIBS
4689fi
4690{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
4691$as_echo "$ac_cv_search_strerror" >&6; }
4692ac_res=$ac_cv_search_strerror
4693if test "$ac_res" != no; then :
4694  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4695
4696fi
4697
4698ac_ext=c
4699ac_cpp='$CPP $CPPFLAGS'
4700ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4701ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4702ac_compiler_gnu=$ac_cv_c_compiler_gnu
4703if test -n "$ac_tool_prefix"; then
4704  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4705set dummy ${ac_tool_prefix}gcc; ac_word=$2
4706{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4707$as_echo_n "checking for $ac_word... " >&6; }
4708if ${ac_cv_prog_CC+:} false; then :
4709  $as_echo_n "(cached) " >&6
4710else
4711  if test -n "$CC"; then
4712  ac_cv_prog_CC="$CC" # Let the user override the test.
4713else
4714as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4715for as_dir in $PATH
4716do
4717  IFS=$as_save_IFS
4718  test -z "$as_dir" && as_dir=.
4719    for ac_exec_ext in '' $ac_executable_extensions; do
4720  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4721    ac_cv_prog_CC="${ac_tool_prefix}gcc"
4722    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4723    break 2
4724  fi
4725done
4726  done
4727IFS=$as_save_IFS
4728
4729fi
4730fi
4731CC=$ac_cv_prog_CC
4732if test -n "$CC"; then
4733  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4734$as_echo "$CC" >&6; }
4735else
4736  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4737$as_echo "no" >&6; }
4738fi
4739
4740
4741fi
4742if test -z "$ac_cv_prog_CC"; then
4743  ac_ct_CC=$CC
4744  # Extract the first word of "gcc", so it can be a program name with args.
4745set dummy gcc; ac_word=$2
4746{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4747$as_echo_n "checking for $ac_word... " >&6; }
4748if ${ac_cv_prog_ac_ct_CC+:} false; then :
4749  $as_echo_n "(cached) " >&6
4750else
4751  if test -n "$ac_ct_CC"; then
4752  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4753else
4754as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4755for as_dir in $PATH
4756do
4757  IFS=$as_save_IFS
4758  test -z "$as_dir" && as_dir=.
4759    for ac_exec_ext in '' $ac_executable_extensions; do
4760  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4761    ac_cv_prog_ac_ct_CC="gcc"
4762    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4763    break 2
4764  fi
4765done
4766  done
4767IFS=$as_save_IFS
4768
4769fi
4770fi
4771ac_ct_CC=$ac_cv_prog_ac_ct_CC
4772if test -n "$ac_ct_CC"; then
4773  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4774$as_echo "$ac_ct_CC" >&6; }
4775else
4776  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4777$as_echo "no" >&6; }
4778fi
4779
4780  if test "x$ac_ct_CC" = x; then
4781    CC=""
4782  else
4783    case $cross_compiling:$ac_tool_warned in
4784yes:)
4785{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4786$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4787ac_tool_warned=yes ;;
4788esac
4789    CC=$ac_ct_CC
4790  fi
4791else
4792  CC="$ac_cv_prog_CC"
4793fi
4794
4795if test -z "$CC"; then
4796          if test -n "$ac_tool_prefix"; then
4797    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4798set dummy ${ac_tool_prefix}cc; ac_word=$2
4799{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4800$as_echo_n "checking for $ac_word... " >&6; }
4801if ${ac_cv_prog_CC+:} false; then :
4802  $as_echo_n "(cached) " >&6
4803else
4804  if test -n "$CC"; then
4805  ac_cv_prog_CC="$CC" # Let the user override the test.
4806else
4807as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4808for as_dir in $PATH
4809do
4810  IFS=$as_save_IFS
4811  test -z "$as_dir" && as_dir=.
4812    for ac_exec_ext in '' $ac_executable_extensions; do
4813  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4814    ac_cv_prog_CC="${ac_tool_prefix}cc"
4815    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4816    break 2
4817  fi
4818done
4819  done
4820IFS=$as_save_IFS
4821
4822fi
4823fi
4824CC=$ac_cv_prog_CC
4825if test -n "$CC"; then
4826  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4827$as_echo "$CC" >&6; }
4828else
4829  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4830$as_echo "no" >&6; }
4831fi
4832
4833
4834  fi
4835fi
4836if test -z "$CC"; then
4837  # Extract the first word of "cc", so it can be a program name with args.
4838set dummy cc; ac_word=$2
4839{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4840$as_echo_n "checking for $ac_word... " >&6; }
4841if ${ac_cv_prog_CC+:} false; then :
4842  $as_echo_n "(cached) " >&6
4843else
4844  if test -n "$CC"; then
4845  ac_cv_prog_CC="$CC" # Let the user override the test.
4846else
4847  ac_prog_rejected=no
4848as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4849for as_dir in $PATH
4850do
4851  IFS=$as_save_IFS
4852  test -z "$as_dir" && as_dir=.
4853    for ac_exec_ext in '' $ac_executable_extensions; do
4854  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4855    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4856       ac_prog_rejected=yes
4857       continue
4858     fi
4859    ac_cv_prog_CC="cc"
4860    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4861    break 2
4862  fi
4863done
4864  done
4865IFS=$as_save_IFS
4866
4867if test $ac_prog_rejected = yes; then
4868  # We found a bogon in the path, so make sure we never use it.
4869  set dummy $ac_cv_prog_CC
4870  shift
4871  if test $# != 0; then
4872    # We chose a different compiler from the bogus one.
4873    # However, it has the same basename, so the bogon will be chosen
4874    # first if we set CC to just the basename; use the full file name.
4875    shift
4876    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4877  fi
4878fi
4879fi
4880fi
4881CC=$ac_cv_prog_CC
4882if test -n "$CC"; then
4883  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4884$as_echo "$CC" >&6; }
4885else
4886  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4887$as_echo "no" >&6; }
4888fi
4889
4890
4891fi
4892if test -z "$CC"; then
4893  if test -n "$ac_tool_prefix"; then
4894  for ac_prog in cl.exe
4895  do
4896    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4897set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4898{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4899$as_echo_n "checking for $ac_word... " >&6; }
4900if ${ac_cv_prog_CC+:} false; then :
4901  $as_echo_n "(cached) " >&6
4902else
4903  if test -n "$CC"; then
4904  ac_cv_prog_CC="$CC" # Let the user override the test.
4905else
4906as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4907for as_dir in $PATH
4908do
4909  IFS=$as_save_IFS
4910  test -z "$as_dir" && as_dir=.
4911    for ac_exec_ext in '' $ac_executable_extensions; do
4912  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4913    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4914    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4915    break 2
4916  fi
4917done
4918  done
4919IFS=$as_save_IFS
4920
4921fi
4922fi
4923CC=$ac_cv_prog_CC
4924if test -n "$CC"; then
4925  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4926$as_echo "$CC" >&6; }
4927else
4928  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4929$as_echo "no" >&6; }
4930fi
4931
4932
4933    test -n "$CC" && break
4934  done
4935fi
4936if test -z "$CC"; then
4937  ac_ct_CC=$CC
4938  for ac_prog in cl.exe
4939do
4940  # Extract the first word of "$ac_prog", so it can be a program name with args.
4941set dummy $ac_prog; ac_word=$2
4942{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4943$as_echo_n "checking for $ac_word... " >&6; }
4944if ${ac_cv_prog_ac_ct_CC+:} false; then :
4945  $as_echo_n "(cached) " >&6
4946else
4947  if test -n "$ac_ct_CC"; then
4948  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4949else
4950as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4951for as_dir in $PATH
4952do
4953  IFS=$as_save_IFS
4954  test -z "$as_dir" && as_dir=.
4955    for ac_exec_ext in '' $ac_executable_extensions; do
4956  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4957    ac_cv_prog_ac_ct_CC="$ac_prog"
4958    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4959    break 2
4960  fi
4961done
4962  done
4963IFS=$as_save_IFS
4964
4965fi
4966fi
4967ac_ct_CC=$ac_cv_prog_ac_ct_CC
4968if test -n "$ac_ct_CC"; then
4969  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4970$as_echo "$ac_ct_CC" >&6; }
4971else
4972  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4973$as_echo "no" >&6; }
4974fi
4975
4976
4977  test -n "$ac_ct_CC" && break
4978done
4979
4980  if test "x$ac_ct_CC" = x; then
4981    CC=""
4982  else
4983    case $cross_compiling:$ac_tool_warned in
4984yes:)
4985{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4986$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4987ac_tool_warned=yes ;;
4988esac
4989    CC=$ac_ct_CC
4990  fi
4991fi
4992
4993fi
4994
4995
4996test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4997$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4998as_fn_error $? "no acceptable C compiler found in \$PATH
4999See \`config.log' for more details" "$LINENO" 5; }
5000
5001# Provide some information about the compiler.
5002$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5003set X $ac_compile
5004ac_compiler=$2
5005for ac_option in --version -v -V -qversion; do
5006  { { ac_try="$ac_compiler $ac_option >&5"
5007case "(($ac_try" in
5008  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5009  *) ac_try_echo=$ac_try;;
5010esac
5011eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5012$as_echo "$ac_try_echo"; } >&5
5013  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5014  ac_status=$?
5015  if test -s conftest.err; then
5016    sed '10a\
5017... rest of stderr output deleted ...
5018         10q' conftest.err >conftest.er1
5019    cat conftest.er1 >&5
5020  fi
5021  rm -f conftest.er1 conftest.err
5022  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5023  test $ac_status = 0; }
5024done
5025
5026{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5027$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5028if ${ac_cv_c_compiler_gnu+:} false; then :
5029  $as_echo_n "(cached) " >&6
5030else
5031  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5032/* end confdefs.h.  */
5033
5034int
5035main ()
5036{
5037#ifndef __GNUC__
5038       choke me
5039#endif
5040
5041  ;
5042  return 0;
5043}
5044_ACEOF
5045if ac_fn_c_try_compile "$LINENO"; then :
5046  ac_compiler_gnu=yes
5047else
5048  ac_compiler_gnu=no
5049fi
5050rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5051ac_cv_c_compiler_gnu=$ac_compiler_gnu
5052
5053fi
5054{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5055$as_echo "$ac_cv_c_compiler_gnu" >&6; }
5056if test $ac_compiler_gnu = yes; then
5057  GCC=yes
5058else
5059  GCC=
5060fi
5061ac_test_CFLAGS=${CFLAGS+set}
5062ac_save_CFLAGS=$CFLAGS
5063{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5064$as_echo_n "checking whether $CC accepts -g... " >&6; }
5065if ${ac_cv_prog_cc_g+:} false; then :
5066  $as_echo_n "(cached) " >&6
5067else
5068  ac_save_c_werror_flag=$ac_c_werror_flag
5069   ac_c_werror_flag=yes
5070   ac_cv_prog_cc_g=no
5071   CFLAGS="-g"
5072   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5073/* end confdefs.h.  */
5074
5075int
5076main ()
5077{
5078
5079  ;
5080  return 0;
5081}
5082_ACEOF
5083if ac_fn_c_try_compile "$LINENO"; then :
5084  ac_cv_prog_cc_g=yes
5085else
5086  CFLAGS=""
5087      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5088/* end confdefs.h.  */
5089
5090int
5091main ()
5092{
5093
5094  ;
5095  return 0;
5096}
5097_ACEOF
5098if ac_fn_c_try_compile "$LINENO"; then :
5099
5100else
5101  ac_c_werror_flag=$ac_save_c_werror_flag
5102	 CFLAGS="-g"
5103	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5104/* end confdefs.h.  */
5105
5106int
5107main ()
5108{
5109
5110  ;
5111  return 0;
5112}
5113_ACEOF
5114if ac_fn_c_try_compile "$LINENO"; then :
5115  ac_cv_prog_cc_g=yes
5116fi
5117rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5118fi
5119rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5120fi
5121rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5122   ac_c_werror_flag=$ac_save_c_werror_flag
5123fi
5124{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5125$as_echo "$ac_cv_prog_cc_g" >&6; }
5126if test "$ac_test_CFLAGS" = set; then
5127  CFLAGS=$ac_save_CFLAGS
5128elif test $ac_cv_prog_cc_g = yes; then
5129  if test "$GCC" = yes; then
5130    CFLAGS="-g -O2"
5131  else
5132    CFLAGS="-g"
5133  fi
5134else
5135  if test "$GCC" = yes; then
5136    CFLAGS="-O2"
5137  else
5138    CFLAGS=
5139  fi
5140fi
5141{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5142$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5143if ${ac_cv_prog_cc_c89+:} false; then :
5144  $as_echo_n "(cached) " >&6
5145else
5146  ac_cv_prog_cc_c89=no
5147ac_save_CC=$CC
5148cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5149/* end confdefs.h.  */
5150#include <stdarg.h>
5151#include <stdio.h>
5152struct stat;
5153/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
5154struct buf { int x; };
5155FILE * (*rcsopen) (struct buf *, struct stat *, int);
5156static char *e (p, i)
5157     char **p;
5158     int i;
5159{
5160  return p[i];
5161}
5162static char *f (char * (*g) (char **, int), char **p, ...)
5163{
5164  char *s;
5165  va_list v;
5166  va_start (v,p);
5167  s = g (p, va_arg (v,int));
5168  va_end (v);
5169  return s;
5170}
5171
5172/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
5173   function prototypes and stuff, but not '\xHH' hex character constants.
5174   These don't provoke an error unfortunately, instead are silently treated
5175   as 'x'.  The following induces an error, until -std is added to get
5176   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
5177   array size at least.  It's necessary to write '\x00'==0 to get something
5178   that's true only with -std.  */
5179int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5180
5181/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5182   inside strings and character constants.  */
5183#define FOO(x) 'x'
5184int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5185
5186int test (int i, double x);
5187struct s1 {int (*f) (int a);};
5188struct s2 {int (*f) (double a);};
5189int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5190int argc;
5191char **argv;
5192int
5193main ()
5194{
5195return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
5196  ;
5197  return 0;
5198}
5199_ACEOF
5200for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5201	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5202do
5203  CC="$ac_save_CC $ac_arg"
5204  if ac_fn_c_try_compile "$LINENO"; then :
5205  ac_cv_prog_cc_c89=$ac_arg
5206fi
5207rm -f core conftest.err conftest.$ac_objext
5208  test "x$ac_cv_prog_cc_c89" != "xno" && break
5209done
5210rm -f conftest.$ac_ext
5211CC=$ac_save_CC
5212
5213fi
5214# AC_CACHE_VAL
5215case "x$ac_cv_prog_cc_c89" in
5216  x)
5217    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5218$as_echo "none needed" >&6; } ;;
5219  xno)
5220    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5221$as_echo "unsupported" >&6; } ;;
5222  *)
5223    CC="$CC $ac_cv_prog_cc_c89"
5224    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5225$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5226esac
5227if test "x$ac_cv_prog_cc_c89" != xno; then :
5228
5229fi
5230
5231ac_ext=c
5232ac_cpp='$CPP $CPPFLAGS'
5233ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5234ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5235ac_compiler_gnu=$ac_cv_c_compiler_gnu
5236
5237ac_ext=c
5238ac_cpp='$CPP $CPPFLAGS'
5239ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5240ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5241ac_compiler_gnu=$ac_cv_c_compiler_gnu
5242{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5243$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
5244if ${am_cv_prog_cc_c_o+:} false; then :
5245  $as_echo_n "(cached) " >&6
5246else
5247  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5248/* end confdefs.h.  */
5249
5250int
5251main ()
5252{
5253
5254  ;
5255  return 0;
5256}
5257_ACEOF
5258  # Make sure it works both with $CC and with simple cc.
5259  # Following AC_PROG_CC_C_O, we do the test twice because some
5260  # compilers refuse to overwrite an existing .o file with -o,
5261  # though they will create one.
5262  am_cv_prog_cc_c_o=yes
5263  for am_i in 1 2; do
5264    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5265   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5266   ac_status=$?
5267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5268   (exit $ac_status); } \
5269         && test -f conftest2.$ac_objext; then
5270      : OK
5271    else
5272      am_cv_prog_cc_c_o=no
5273      break
5274    fi
5275  done
5276  rm -f core conftest*
5277  unset am_i
5278fi
5279{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5280$as_echo "$am_cv_prog_cc_c_o" >&6; }
5281if test "$am_cv_prog_cc_c_o" != yes; then
5282   # Losing compiler, so override with the script.
5283   # FIXME: It is wrong to rewrite CC.
5284   # But if we don't then we get into trouble of one sort or another.
5285   # A longer-term fix would be to have automake use am__CC in this case,
5286   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5287   CC="$am_aux_dir/compile $CC"
5288fi
5289ac_ext=c
5290ac_cpp='$CPP $CPPFLAGS'
5291ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5292ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5293ac_compiler_gnu=$ac_cv_c_compiler_gnu
5294
5295
5296depcc="$CC"   am_compiler_list=
5297
5298{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5299$as_echo_n "checking dependency style of $depcc... " >&6; }
5300if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5301  $as_echo_n "(cached) " >&6
5302else
5303  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5304  # We make a subdir and do the tests there.  Otherwise we can end up
5305  # making bogus files that we don't know about and never remove.  For
5306  # instance it was reported that on HP-UX the gcc test will end up
5307  # making a dummy file named 'D' -- because '-MD' means "put the output
5308  # in D".
5309  rm -rf conftest.dir
5310  mkdir conftest.dir
5311  # Copy depcomp to subdir because otherwise we won't find it if we're
5312  # using a relative directory.
5313  cp "$am_depcomp" conftest.dir
5314  cd conftest.dir
5315  # We will build objects and dependencies in a subdirectory because
5316  # it helps to detect inapplicable dependency modes.  For instance
5317  # both Tru64's cc and ICC support -MD to output dependencies as a
5318  # side effect of compilation, but ICC will put the dependencies in
5319  # the current directory while Tru64 will put them in the object
5320  # directory.
5321  mkdir sub
5322
5323  am_cv_CC_dependencies_compiler_type=none
5324  if test "$am_compiler_list" = ""; then
5325     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5326  fi
5327  am__universal=false
5328  case " $depcc " in #(
5329     *\ -arch\ *\ -arch\ *) am__universal=true ;;
5330     esac
5331
5332  for depmode in $am_compiler_list; do
5333    # Setup a source with many dependencies, because some compilers
5334    # like to wrap large dependency lists on column 80 (with \), and
5335    # we should not choose a depcomp mode which is confused by this.
5336    #
5337    # We need to recreate these files for each test, as the compiler may
5338    # overwrite some of them when testing with obscure command lines.
5339    # This happens at least with the AIX C compiler.
5340    : > sub/conftest.c
5341    for i in 1 2 3 4 5 6; do
5342      echo '#include "conftst'$i'.h"' >> sub/conftest.c
5343      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5344      # Solaris 10 /bin/sh.
5345      echo '/* dummy */' > sub/conftst$i.h
5346    done
5347    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5348
5349    # We check with '-c' and '-o' for the sake of the "dashmstdout"
5350    # mode.  It turns out that the SunPro C++ compiler does not properly
5351    # handle '-M -o', and we need to detect this.  Also, some Intel
5352    # versions had trouble with output in subdirs.
5353    am__obj=sub/conftest.${OBJEXT-o}
5354    am__minus_obj="-o $am__obj"
5355    case $depmode in
5356    gcc)
5357      # This depmode causes a compiler race in universal mode.
5358      test "$am__universal" = false || continue
5359      ;;
5360    nosideeffect)
5361      # After this tag, mechanisms are not by side-effect, so they'll
5362      # only be used when explicitly requested.
5363      if test "x$enable_dependency_tracking" = xyes; then
5364	continue
5365      else
5366	break
5367      fi
5368      ;;
5369    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5370      # This compiler won't grok '-c -o', but also, the minuso test has
5371      # not run yet.  These depmodes are late enough in the game, and
5372      # so weak that their functioning should not be impacted.
5373      am__obj=conftest.${OBJEXT-o}
5374      am__minus_obj=
5375      ;;
5376    none) break ;;
5377    esac
5378    if depmode=$depmode \
5379       source=sub/conftest.c object=$am__obj \
5380       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5381       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5382         >/dev/null 2>conftest.err &&
5383       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5384       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5385       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5386       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5387      # icc doesn't choke on unknown options, it will just issue warnings
5388      # or remarks (even with -Werror).  So we grep stderr for any message
5389      # that says an option was ignored or not supported.
5390      # When given -MP, icc 7.0 and 7.1 complain thusly:
5391      #   icc: Command line warning: ignoring option '-M'; no argument required
5392      # The diagnosis changed in icc 8.0:
5393      #   icc: Command line remark: option '-MP' not supported
5394      if (grep 'ignoring option' conftest.err ||
5395          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5396        am_cv_CC_dependencies_compiler_type=$depmode
5397        break
5398      fi
5399    fi
5400  done
5401
5402  cd ..
5403  rm -rf conftest.dir
5404else
5405  am_cv_CC_dependencies_compiler_type=none
5406fi
5407
5408fi
5409{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5410$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5411CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5412
5413 if
5414  test "x$enable_dependency_tracking" != xno \
5415  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5416  am__fastdepCC_TRUE=
5417  am__fastdepCC_FALSE='#'
5418else
5419  am__fastdepCC_TRUE='#'
5420  am__fastdepCC_FALSE=
5421fi
5422
5423
5424
5425ac_ext=c
5426ac_cpp='$CPP $CPPFLAGS'
5427ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5428ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5429ac_compiler_gnu=$ac_cv_c_compiler_gnu
5430{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5431$as_echo_n "checking how to run the C preprocessor... " >&6; }
5432# On Suns, sometimes $CPP names a directory.
5433if test -n "$CPP" && test -d "$CPP"; then
5434  CPP=
5435fi
5436if test -z "$CPP"; then
5437  if ${ac_cv_prog_CPP+:} false; then :
5438  $as_echo_n "(cached) " >&6
5439else
5440      # Double quotes because CPP needs to be expanded
5441    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5442    do
5443      ac_preproc_ok=false
5444for ac_c_preproc_warn_flag in '' yes
5445do
5446  # Use a header file that comes with gcc, so configuring glibc
5447  # with a fresh cross-compiler works.
5448  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5449  # <limits.h> exists even on freestanding compilers.
5450  # On the NeXT, cc -E runs the code through the compiler's parser,
5451  # not just through cpp. "Syntax error" is here to catch this case.
5452  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5453/* end confdefs.h.  */
5454#ifdef __STDC__
5455# include <limits.h>
5456#else
5457# include <assert.h>
5458#endif
5459		     Syntax error
5460_ACEOF
5461if ac_fn_c_try_cpp "$LINENO"; then :
5462
5463else
5464  # Broken: fails on valid input.
5465continue
5466fi
5467rm -f conftest.err conftest.i conftest.$ac_ext
5468
5469  # OK, works on sane cases.  Now check whether nonexistent headers
5470  # can be detected and how.
5471  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5472/* end confdefs.h.  */
5473#include <ac_nonexistent.h>
5474_ACEOF
5475if ac_fn_c_try_cpp "$LINENO"; then :
5476  # Broken: success on invalid input.
5477continue
5478else
5479  # Passes both tests.
5480ac_preproc_ok=:
5481break
5482fi
5483rm -f conftest.err conftest.i conftest.$ac_ext
5484
5485done
5486# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5487rm -f conftest.i conftest.err conftest.$ac_ext
5488if $ac_preproc_ok; then :
5489  break
5490fi
5491
5492    done
5493    ac_cv_prog_CPP=$CPP
5494
5495fi
5496  CPP=$ac_cv_prog_CPP
5497else
5498  ac_cv_prog_CPP=$CPP
5499fi
5500{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5501$as_echo "$CPP" >&6; }
5502ac_preproc_ok=false
5503for ac_c_preproc_warn_flag in '' yes
5504do
5505  # Use a header file that comes with gcc, so configuring glibc
5506  # with a fresh cross-compiler works.
5507  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5508  # <limits.h> exists even on freestanding compilers.
5509  # On the NeXT, cc -E runs the code through the compiler's parser,
5510  # not just through cpp. "Syntax error" is here to catch this case.
5511  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5512/* end confdefs.h.  */
5513#ifdef __STDC__
5514# include <limits.h>
5515#else
5516# include <assert.h>
5517#endif
5518		     Syntax error
5519_ACEOF
5520if ac_fn_c_try_cpp "$LINENO"; then :
5521
5522else
5523  # Broken: fails on valid input.
5524continue
5525fi
5526rm -f conftest.err conftest.i conftest.$ac_ext
5527
5528  # OK, works on sane cases.  Now check whether nonexistent headers
5529  # can be detected and how.
5530  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5531/* end confdefs.h.  */
5532#include <ac_nonexistent.h>
5533_ACEOF
5534if ac_fn_c_try_cpp "$LINENO"; then :
5535  # Broken: success on invalid input.
5536continue
5537else
5538  # Passes both tests.
5539ac_preproc_ok=:
5540break
5541fi
5542rm -f conftest.err conftest.i conftest.$ac_ext
5543
5544done
5545# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5546rm -f conftest.i conftest.err conftest.$ac_ext
5547if $ac_preproc_ok; then :
5548
5549else
5550  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5551$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5552as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5553See \`config.log' for more details" "$LINENO" 5; }
5554fi
5555
5556ac_ext=c
5557ac_cpp='$CPP $CPPFLAGS'
5558ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5559ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5560ac_compiler_gnu=$ac_cv_c_compiler_gnu
5561
5562
5563{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5564$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5565if ${ac_cv_path_GREP+:} false; then :
5566  $as_echo_n "(cached) " >&6
5567else
5568  if test -z "$GREP"; then
5569  ac_path_GREP_found=false
5570  # Loop through the user's path and test for each of PROGNAME-LIST
5571  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5572for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5573do
5574  IFS=$as_save_IFS
5575  test -z "$as_dir" && as_dir=.
5576    for ac_prog in grep ggrep; do
5577    for ac_exec_ext in '' $ac_executable_extensions; do
5578      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5579      as_fn_executable_p "$ac_path_GREP" || continue
5580# Check for GNU ac_path_GREP and select it if it is found.
5581  # Check for GNU $ac_path_GREP
5582case `"$ac_path_GREP" --version 2>&1` in
5583*GNU*)
5584  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5585*)
5586  ac_count=0
5587  $as_echo_n 0123456789 >"conftest.in"
5588  while :
5589  do
5590    cat "conftest.in" "conftest.in" >"conftest.tmp"
5591    mv "conftest.tmp" "conftest.in"
5592    cp "conftest.in" "conftest.nl"
5593    $as_echo 'GREP' >> "conftest.nl"
5594    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5595    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5596    as_fn_arith $ac_count + 1 && ac_count=$as_val
5597    if test $ac_count -gt ${ac_path_GREP_max-0}; then
5598      # Best one so far, save it but keep looking for a better one
5599      ac_cv_path_GREP="$ac_path_GREP"
5600      ac_path_GREP_max=$ac_count
5601    fi
5602    # 10*(2^10) chars as input seems more than enough
5603    test $ac_count -gt 10 && break
5604  done
5605  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5606esac
5607
5608      $ac_path_GREP_found && break 3
5609    done
5610  done
5611  done
5612IFS=$as_save_IFS
5613  if test -z "$ac_cv_path_GREP"; then
5614    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5615  fi
5616else
5617  ac_cv_path_GREP=$GREP
5618fi
5619
5620fi
5621{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5622$as_echo "$ac_cv_path_GREP" >&6; }
5623 GREP="$ac_cv_path_GREP"
5624
5625
5626{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5627$as_echo_n "checking for egrep... " >&6; }
5628if ${ac_cv_path_EGREP+:} false; then :
5629  $as_echo_n "(cached) " >&6
5630else
5631  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5632   then ac_cv_path_EGREP="$GREP -E"
5633   else
5634     if test -z "$EGREP"; then
5635  ac_path_EGREP_found=false
5636  # Loop through the user's path and test for each of PROGNAME-LIST
5637  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5638for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5639do
5640  IFS=$as_save_IFS
5641  test -z "$as_dir" && as_dir=.
5642    for ac_prog in egrep; do
5643    for ac_exec_ext in '' $ac_executable_extensions; do
5644      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5645      as_fn_executable_p "$ac_path_EGREP" || continue
5646# Check for GNU ac_path_EGREP and select it if it is found.
5647  # Check for GNU $ac_path_EGREP
5648case `"$ac_path_EGREP" --version 2>&1` in
5649*GNU*)
5650  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5651*)
5652  ac_count=0
5653  $as_echo_n 0123456789 >"conftest.in"
5654  while :
5655  do
5656    cat "conftest.in" "conftest.in" >"conftest.tmp"
5657    mv "conftest.tmp" "conftest.in"
5658    cp "conftest.in" "conftest.nl"
5659    $as_echo 'EGREP' >> "conftest.nl"
5660    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5661    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5662    as_fn_arith $ac_count + 1 && ac_count=$as_val
5663    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5664      # Best one so far, save it but keep looking for a better one
5665      ac_cv_path_EGREP="$ac_path_EGREP"
5666      ac_path_EGREP_max=$ac_count
5667    fi
5668    # 10*(2^10) chars as input seems more than enough
5669    test $ac_count -gt 10 && break
5670  done
5671  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5672esac
5673
5674      $ac_path_EGREP_found && break 3
5675    done
5676  done
5677  done
5678IFS=$as_save_IFS
5679  if test -z "$ac_cv_path_EGREP"; then
5680    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5681  fi
5682else
5683  ac_cv_path_EGREP=$EGREP
5684fi
5685
5686   fi
5687fi
5688{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5689$as_echo "$ac_cv_path_EGREP" >&6; }
5690 EGREP="$ac_cv_path_EGREP"
5691
5692
5693{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5694$as_echo_n "checking for ANSI C header files... " >&6; }
5695if ${ac_cv_header_stdc+:} false; then :
5696  $as_echo_n "(cached) " >&6
5697else
5698  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5699/* end confdefs.h.  */
5700#include <stdlib.h>
5701#include <stdarg.h>
5702#include <string.h>
5703#include <float.h>
5704
5705int
5706main ()
5707{
5708
5709  ;
5710  return 0;
5711}
5712_ACEOF
5713if ac_fn_c_try_compile "$LINENO"; then :
5714  ac_cv_header_stdc=yes
5715else
5716  ac_cv_header_stdc=no
5717fi
5718rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5719
5720if test $ac_cv_header_stdc = yes; then
5721  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5722  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5723/* end confdefs.h.  */
5724#include <string.h>
5725
5726_ACEOF
5727if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5728  $EGREP "memchr" >/dev/null 2>&1; then :
5729
5730else
5731  ac_cv_header_stdc=no
5732fi
5733rm -f conftest*
5734
5735fi
5736
5737if test $ac_cv_header_stdc = yes; then
5738  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5739  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5740/* end confdefs.h.  */
5741#include <stdlib.h>
5742
5743_ACEOF
5744if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5745  $EGREP "free" >/dev/null 2>&1; then :
5746
5747else
5748  ac_cv_header_stdc=no
5749fi
5750rm -f conftest*
5751
5752fi
5753
5754if test $ac_cv_header_stdc = yes; then
5755  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5756  if test "$cross_compiling" = yes; then :
5757  :
5758else
5759  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5760/* end confdefs.h.  */
5761#include <ctype.h>
5762#include <stdlib.h>
5763#if ((' ' & 0x0FF) == 0x020)
5764# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5765# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5766#else
5767# define ISLOWER(c) \
5768		   (('a' <= (c) && (c) <= 'i') \
5769		     || ('j' <= (c) && (c) <= 'r') \
5770		     || ('s' <= (c) && (c) <= 'z'))
5771# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5772#endif
5773
5774#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5775int
5776main ()
5777{
5778  int i;
5779  for (i = 0; i < 256; i++)
5780    if (XOR (islower (i), ISLOWER (i))
5781	|| toupper (i) != TOUPPER (i))
5782      return 2;
5783  return 0;
5784}
5785_ACEOF
5786if ac_fn_c_try_run "$LINENO"; then :
5787
5788else
5789  ac_cv_header_stdc=no
5790fi
5791rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5792  conftest.$ac_objext conftest.beam conftest.$ac_ext
5793fi
5794
5795fi
5796fi
5797{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5798$as_echo "$ac_cv_header_stdc" >&6; }
5799if test $ac_cv_header_stdc = yes; then
5800
5801$as_echo "#define STDC_HEADERS 1" >>confdefs.h
5802
5803fi
5804
5805case `pwd` in
5806  *\ * | *\	*)
5807    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5808$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5809esac
5810
5811
5812
5813macro_version='2.4.6'
5814macro_revision='2.4.6'
5815
5816
5817
5818
5819
5820
5821
5822
5823
5824
5825
5826
5827
5828ltmain=$ac_aux_dir/ltmain.sh
5829
5830# Make sure we can run config.sub.
5831$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5832  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5833
5834{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5835$as_echo_n "checking build system type... " >&6; }
5836if ${ac_cv_build+:} false; then :
5837  $as_echo_n "(cached) " >&6
5838else
5839  ac_build_alias=$build_alias
5840test "x$ac_build_alias" = x &&
5841  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5842test "x$ac_build_alias" = x &&
5843  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5844ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5845  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5846
5847fi
5848{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5849$as_echo "$ac_cv_build" >&6; }
5850case $ac_cv_build in
5851*-*-*) ;;
5852*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
5853esac
5854build=$ac_cv_build
5855ac_save_IFS=$IFS; IFS='-'
5856set x $ac_cv_build
5857shift
5858build_cpu=$1
5859build_vendor=$2
5860shift; shift
5861# Remember, the first character of IFS is used to create $*,
5862# except with old shells:
5863build_os=$*
5864IFS=$ac_save_IFS
5865case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5866
5867
5868{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5869$as_echo_n "checking host system type... " >&6; }
5870if ${ac_cv_host+:} false; then :
5871  $as_echo_n "(cached) " >&6
5872else
5873  if test "x$host_alias" = x; then
5874  ac_cv_host=$ac_cv_build
5875else
5876  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5877    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5878fi
5879
5880fi
5881{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5882$as_echo "$ac_cv_host" >&6; }
5883case $ac_cv_host in
5884*-*-*) ;;
5885*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5886esac
5887host=$ac_cv_host
5888ac_save_IFS=$IFS; IFS='-'
5889set x $ac_cv_host
5890shift
5891host_cpu=$1
5892host_vendor=$2
5893shift; shift
5894# Remember, the first character of IFS is used to create $*,
5895# except with old shells:
5896host_os=$*
5897IFS=$ac_save_IFS
5898case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5899
5900
5901# Backslashify metacharacters that are still active within
5902# double-quoted strings.
5903sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5904
5905# Same as above, but do not quote variable references.
5906double_quote_subst='s/\(["`\\]\)/\\\1/g'
5907
5908# Sed substitution to delay expansion of an escaped shell variable in a
5909# double_quote_subst'ed string.
5910delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5911
5912# Sed substitution to delay expansion of an escaped single quote.
5913delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5914
5915# Sed substitution to avoid accidental globbing in evaled expressions
5916no_glob_subst='s/\*/\\\*/g'
5917
5918ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5919ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5920ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5921
5922{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5923$as_echo_n "checking how to print strings... " >&6; }
5924# Test print first, because it will be a builtin if present.
5925if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5926   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5927  ECHO='print -r --'
5928elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5929  ECHO='printf %s\n'
5930else
5931  # Use this function as a fallback that always works.
5932  func_fallback_echo ()
5933  {
5934    eval 'cat <<_LTECHO_EOF
5935$1
5936_LTECHO_EOF'
5937  }
5938  ECHO='func_fallback_echo'
5939fi
5940
5941# func_echo_all arg...
5942# Invoke $ECHO with all args, space-separated.
5943func_echo_all ()
5944{
5945    $ECHO ""
5946}
5947
5948case $ECHO in
5949  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5950$as_echo "printf" >&6; } ;;
5951  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5952$as_echo "print -r" >&6; } ;;
5953  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5954$as_echo "cat" >&6; } ;;
5955esac
5956
5957
5958
5959
5960
5961
5962
5963
5964
5965
5966
5967
5968
5969
5970{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5971$as_echo_n "checking for a sed that does not truncate output... " >&6; }
5972if ${ac_cv_path_SED+:} false; then :
5973  $as_echo_n "(cached) " >&6
5974else
5975            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5976     for ac_i in 1 2 3 4 5 6 7; do
5977       ac_script="$ac_script$as_nl$ac_script"
5978     done
5979     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5980     { ac_script=; unset ac_script;}
5981     if test -z "$SED"; then
5982  ac_path_SED_found=false
5983  # Loop through the user's path and test for each of PROGNAME-LIST
5984  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5985for as_dir in $PATH
5986do
5987  IFS=$as_save_IFS
5988  test -z "$as_dir" && as_dir=.
5989    for ac_prog in sed gsed; do
5990    for ac_exec_ext in '' $ac_executable_extensions; do
5991      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5992      as_fn_executable_p "$ac_path_SED" || continue
5993# Check for GNU ac_path_SED and select it if it is found.
5994  # Check for GNU $ac_path_SED
5995case `"$ac_path_SED" --version 2>&1` in
5996*GNU*)
5997  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5998*)
5999  ac_count=0
6000  $as_echo_n 0123456789 >"conftest.in"
6001  while :
6002  do
6003    cat "conftest.in" "conftest.in" >"conftest.tmp"
6004    mv "conftest.tmp" "conftest.in"
6005    cp "conftest.in" "conftest.nl"
6006    $as_echo '' >> "conftest.nl"
6007    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6008    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6009    as_fn_arith $ac_count + 1 && ac_count=$as_val
6010    if test $ac_count -gt ${ac_path_SED_max-0}; then
6011      # Best one so far, save it but keep looking for a better one
6012      ac_cv_path_SED="$ac_path_SED"
6013      ac_path_SED_max=$ac_count
6014    fi
6015    # 10*(2^10) chars as input seems more than enough
6016    test $ac_count -gt 10 && break
6017  done
6018  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6019esac
6020
6021      $ac_path_SED_found && break 3
6022    done
6023  done
6024  done
6025IFS=$as_save_IFS
6026  if test -z "$ac_cv_path_SED"; then
6027    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
6028  fi
6029else
6030  ac_cv_path_SED=$SED
6031fi
6032
6033fi
6034{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6035$as_echo "$ac_cv_path_SED" >&6; }
6036 SED="$ac_cv_path_SED"
6037  rm -f conftest.sed
6038
6039test -z "$SED" && SED=sed
6040Xsed="$SED -e 1s/^X//"
6041
6042
6043
6044
6045
6046
6047
6048
6049
6050
6051
6052{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6053$as_echo_n "checking for fgrep... " >&6; }
6054if ${ac_cv_path_FGREP+:} false; then :
6055  $as_echo_n "(cached) " >&6
6056else
6057  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6058   then ac_cv_path_FGREP="$GREP -F"
6059   else
6060     if test -z "$FGREP"; then
6061  ac_path_FGREP_found=false
6062  # Loop through the user's path and test for each of PROGNAME-LIST
6063  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6064for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6065do
6066  IFS=$as_save_IFS
6067  test -z "$as_dir" && as_dir=.
6068    for ac_prog in fgrep; do
6069    for ac_exec_ext in '' $ac_executable_extensions; do
6070      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6071      as_fn_executable_p "$ac_path_FGREP" || continue
6072# Check for GNU ac_path_FGREP and select it if it is found.
6073  # Check for GNU $ac_path_FGREP
6074case `"$ac_path_FGREP" --version 2>&1` in
6075*GNU*)
6076  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6077*)
6078  ac_count=0
6079  $as_echo_n 0123456789 >"conftest.in"
6080  while :
6081  do
6082    cat "conftest.in" "conftest.in" >"conftest.tmp"
6083    mv "conftest.tmp" "conftest.in"
6084    cp "conftest.in" "conftest.nl"
6085    $as_echo 'FGREP' >> "conftest.nl"
6086    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6087    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6088    as_fn_arith $ac_count + 1 && ac_count=$as_val
6089    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6090      # Best one so far, save it but keep looking for a better one
6091      ac_cv_path_FGREP="$ac_path_FGREP"
6092      ac_path_FGREP_max=$ac_count
6093    fi
6094    # 10*(2^10) chars as input seems more than enough
6095    test $ac_count -gt 10 && break
6096  done
6097  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6098esac
6099
6100      $ac_path_FGREP_found && break 3
6101    done
6102  done
6103  done
6104IFS=$as_save_IFS
6105  if test -z "$ac_cv_path_FGREP"; then
6106    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6107  fi
6108else
6109  ac_cv_path_FGREP=$FGREP
6110fi
6111
6112   fi
6113fi
6114{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6115$as_echo "$ac_cv_path_FGREP" >&6; }
6116 FGREP="$ac_cv_path_FGREP"
6117
6118
6119test -z "$GREP" && GREP=grep
6120
6121
6122
6123
6124
6125
6126
6127
6128
6129
6130
6131
6132
6133
6134
6135
6136
6137
6138
6139# Check whether --with-gnu-ld was given.
6140if test "${with_gnu_ld+set}" = set; then :
6141  withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
6142else
6143  with_gnu_ld=no
6144fi
6145
6146ac_prog=ld
6147if test yes = "$GCC"; then
6148  # Check if gcc -print-prog-name=ld gives a path.
6149  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6150$as_echo_n "checking for ld used by $CC... " >&6; }
6151  case $host in
6152  *-*-mingw*)
6153    # gcc leaves a trailing carriage return, which upsets mingw
6154    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6155  *)
6156    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6157  esac
6158  case $ac_prog in
6159    # Accept absolute paths.
6160    [\\/]* | ?:[\\/]*)
6161      re_direlt='/[^/][^/]*/\.\./'
6162      # Canonicalize the pathname of ld
6163      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6164      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6165	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6166      done
6167      test -z "$LD" && LD=$ac_prog
6168      ;;
6169  "")
6170    # If it fails, then pretend we aren't using GCC.
6171    ac_prog=ld
6172    ;;
6173  *)
6174    # If it is relative, then search for the first ld in PATH.
6175    with_gnu_ld=unknown
6176    ;;
6177  esac
6178elif test yes = "$with_gnu_ld"; then
6179  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6180$as_echo_n "checking for GNU ld... " >&6; }
6181else
6182  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6183$as_echo_n "checking for non-GNU ld... " >&6; }
6184fi
6185if ${lt_cv_path_LD+:} false; then :
6186  $as_echo_n "(cached) " >&6
6187else
6188  if test -z "$LD"; then
6189  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
6190  for ac_dir in $PATH; do
6191    IFS=$lt_save_ifs
6192    test -z "$ac_dir" && ac_dir=.
6193    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6194      lt_cv_path_LD=$ac_dir/$ac_prog
6195      # Check to see if the program is GNU ld.  I'd rather use --version,
6196      # but apparently some variants of GNU ld only accept -v.
6197      # Break only if it was the GNU/non-GNU ld that we prefer.
6198      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6199      *GNU* | *'with BFD'*)
6200	test no != "$with_gnu_ld" && break
6201	;;
6202      *)
6203	test yes != "$with_gnu_ld" && break
6204	;;
6205      esac
6206    fi
6207  done
6208  IFS=$lt_save_ifs
6209else
6210  lt_cv_path_LD=$LD # Let the user override the test with a path.
6211fi
6212fi
6213
6214LD=$lt_cv_path_LD
6215if test -n "$LD"; then
6216  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6217$as_echo "$LD" >&6; }
6218else
6219  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6220$as_echo "no" >&6; }
6221fi
6222test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6223{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6224$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6225if ${lt_cv_prog_gnu_ld+:} false; then :
6226  $as_echo_n "(cached) " >&6
6227else
6228  # I'd rather use --version here, but apparently some GNU lds only accept -v.
6229case `$LD -v 2>&1 </dev/null` in
6230*GNU* | *'with BFD'*)
6231  lt_cv_prog_gnu_ld=yes
6232  ;;
6233*)
6234  lt_cv_prog_gnu_ld=no
6235  ;;
6236esac
6237fi
6238{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6239$as_echo "$lt_cv_prog_gnu_ld" >&6; }
6240with_gnu_ld=$lt_cv_prog_gnu_ld
6241
6242
6243
6244
6245
6246
6247
6248
6249
6250{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6251$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6252if ${lt_cv_path_NM+:} false; then :
6253  $as_echo_n "(cached) " >&6
6254else
6255  if test -n "$NM"; then
6256  # Let the user override the test.
6257  lt_cv_path_NM=$NM
6258else
6259  lt_nm_to_check=${ac_tool_prefix}nm
6260  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6261    lt_nm_to_check="$lt_nm_to_check nm"
6262  fi
6263  for lt_tmp_nm in $lt_nm_to_check; do
6264    lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
6265    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6266      IFS=$lt_save_ifs
6267      test -z "$ac_dir" && ac_dir=.
6268      tmp_nm=$ac_dir/$lt_tmp_nm
6269      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
6270	# Check to see if the nm accepts a BSD-compat flag.
6271	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
6272	#   nm: unknown option "B" ignored
6273	# Tru64's nm complains that /dev/null is an invalid object file
6274	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
6275	case $build_os in
6276	mingw*) lt_bad_file=conftest.nm/nofile ;;
6277	*) lt_bad_file=/dev/null ;;
6278	esac
6279	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
6280	*$lt_bad_file* | *'Invalid file or object type'*)
6281	  lt_cv_path_NM="$tmp_nm -B"
6282	  break 2
6283	  ;;
6284	*)
6285	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6286	  */dev/null*)
6287	    lt_cv_path_NM="$tmp_nm -p"
6288	    break 2
6289	    ;;
6290	  *)
6291	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6292	    continue # so that we can try to find one that supports BSD flags
6293	    ;;
6294	  esac
6295	  ;;
6296	esac
6297      fi
6298    done
6299    IFS=$lt_save_ifs
6300  done
6301  : ${lt_cv_path_NM=no}
6302fi
6303fi
6304{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6305$as_echo "$lt_cv_path_NM" >&6; }
6306if test no != "$lt_cv_path_NM"; then
6307  NM=$lt_cv_path_NM
6308else
6309  # Didn't find any BSD compatible name lister, look for dumpbin.
6310  if test -n "$DUMPBIN"; then :
6311    # Let the user override the test.
6312  else
6313    if test -n "$ac_tool_prefix"; then
6314  for ac_prog in dumpbin "link -dump"
6315  do
6316    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6317set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6318{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6319$as_echo_n "checking for $ac_word... " >&6; }
6320if ${ac_cv_prog_DUMPBIN+:} false; then :
6321  $as_echo_n "(cached) " >&6
6322else
6323  if test -n "$DUMPBIN"; then
6324  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6325else
6326as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6327for as_dir in $PATH
6328do
6329  IFS=$as_save_IFS
6330  test -z "$as_dir" && as_dir=.
6331    for ac_exec_ext in '' $ac_executable_extensions; do
6332  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6333    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6334    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6335    break 2
6336  fi
6337done
6338  done
6339IFS=$as_save_IFS
6340
6341fi
6342fi
6343DUMPBIN=$ac_cv_prog_DUMPBIN
6344if test -n "$DUMPBIN"; then
6345  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6346$as_echo "$DUMPBIN" >&6; }
6347else
6348  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6349$as_echo "no" >&6; }
6350fi
6351
6352
6353    test -n "$DUMPBIN" && break
6354  done
6355fi
6356if test -z "$DUMPBIN"; then
6357  ac_ct_DUMPBIN=$DUMPBIN
6358  for ac_prog in dumpbin "link -dump"
6359do
6360  # Extract the first word of "$ac_prog", so it can be a program name with args.
6361set dummy $ac_prog; ac_word=$2
6362{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6363$as_echo_n "checking for $ac_word... " >&6; }
6364if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
6365  $as_echo_n "(cached) " >&6
6366else
6367  if test -n "$ac_ct_DUMPBIN"; then
6368  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6369else
6370as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6371for as_dir in $PATH
6372do
6373  IFS=$as_save_IFS
6374  test -z "$as_dir" && as_dir=.
6375    for ac_exec_ext in '' $ac_executable_extensions; do
6376  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6377    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6378    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6379    break 2
6380  fi
6381done
6382  done
6383IFS=$as_save_IFS
6384
6385fi
6386fi
6387ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6388if test -n "$ac_ct_DUMPBIN"; then
6389  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6390$as_echo "$ac_ct_DUMPBIN" >&6; }
6391else
6392  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6393$as_echo "no" >&6; }
6394fi
6395
6396
6397  test -n "$ac_ct_DUMPBIN" && break
6398done
6399
6400  if test "x$ac_ct_DUMPBIN" = x; then
6401    DUMPBIN=":"
6402  else
6403    case $cross_compiling:$ac_tool_warned in
6404yes:)
6405{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6406$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6407ac_tool_warned=yes ;;
6408esac
6409    DUMPBIN=$ac_ct_DUMPBIN
6410  fi
6411fi
6412
6413    case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
6414    *COFF*)
6415      DUMPBIN="$DUMPBIN -symbols -headers"
6416      ;;
6417    *)
6418      DUMPBIN=:
6419      ;;
6420    esac
6421  fi
6422
6423  if test : != "$DUMPBIN"; then
6424    NM=$DUMPBIN
6425  fi
6426fi
6427test -z "$NM" && NM=nm
6428
6429
6430
6431
6432
6433
6434{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6435$as_echo_n "checking the name lister ($NM) interface... " >&6; }
6436if ${lt_cv_nm_interface+:} false; then :
6437  $as_echo_n "(cached) " >&6
6438else
6439  lt_cv_nm_interface="BSD nm"
6440  echo "int some_variable = 0;" > conftest.$ac_ext
6441  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6442  (eval "$ac_compile" 2>conftest.err)
6443  cat conftest.err >&5
6444  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6445  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6446  cat conftest.err >&5
6447  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6448  cat conftest.out >&5
6449  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6450    lt_cv_nm_interface="MS dumpbin"
6451  fi
6452  rm -f conftest*
6453fi
6454{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6455$as_echo "$lt_cv_nm_interface" >&6; }
6456
6457{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6458$as_echo_n "checking whether ln -s works... " >&6; }
6459LN_S=$as_ln_s
6460if test "$LN_S" = "ln -s"; then
6461  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6462$as_echo "yes" >&6; }
6463else
6464  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6465$as_echo "no, using $LN_S" >&6; }
6466fi
6467
6468# find the maximum length of command line arguments
6469{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6470$as_echo_n "checking the maximum length of command line arguments... " >&6; }
6471if ${lt_cv_sys_max_cmd_len+:} false; then :
6472  $as_echo_n "(cached) " >&6
6473else
6474    i=0
6475  teststring=ABCD
6476
6477  case $build_os in
6478  msdosdjgpp*)
6479    # On DJGPP, this test can blow up pretty badly due to problems in libc
6480    # (any single argument exceeding 2000 bytes causes a buffer overrun
6481    # during glob expansion).  Even if it were fixed, the result of this
6482    # check would be larger than it should be.
6483    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
6484    ;;
6485
6486  gnu*)
6487    # Under GNU Hurd, this test is not required because there is
6488    # no limit to the length of command line arguments.
6489    # Libtool will interpret -1 as no limit whatsoever
6490    lt_cv_sys_max_cmd_len=-1;
6491    ;;
6492
6493  cygwin* | mingw* | cegcc*)
6494    # On Win9x/ME, this test blows up -- it succeeds, but takes
6495    # about 5 minutes as the teststring grows exponentially.
6496    # Worse, since 9x/ME are not pre-emptively multitasking,
6497    # you end up with a "frozen" computer, even though with patience
6498    # the test eventually succeeds (with a max line length of 256k).
6499    # Instead, let's just punt: use the minimum linelength reported by
6500    # all of the supported platforms: 8192 (on NT/2K/XP).
6501    lt_cv_sys_max_cmd_len=8192;
6502    ;;
6503
6504  mint*)
6505    # On MiNT this can take a long time and run out of memory.
6506    lt_cv_sys_max_cmd_len=8192;
6507    ;;
6508
6509  amigaos*)
6510    # On AmigaOS with pdksh, this test takes hours, literally.
6511    # So we just punt and use a minimum line length of 8192.
6512    lt_cv_sys_max_cmd_len=8192;
6513    ;;
6514
6515  bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
6516    # This has been around since 386BSD, at least.  Likely further.
6517    if test -x /sbin/sysctl; then
6518      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6519    elif test -x /usr/sbin/sysctl; then
6520      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6521    else
6522      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
6523    fi
6524    # And add a safety zone
6525    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6526    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6527    ;;
6528
6529  interix*)
6530    # We know the value 262144 and hardcode it with a safety zone (like BSD)
6531    lt_cv_sys_max_cmd_len=196608
6532    ;;
6533
6534  os2*)
6535    # The test takes a long time on OS/2.
6536    lt_cv_sys_max_cmd_len=8192
6537    ;;
6538
6539  osf*)
6540    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6541    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6542    # nice to cause kernel panics so lets avoid the loop below.
6543    # First set a reasonable default.
6544    lt_cv_sys_max_cmd_len=16384
6545    #
6546    if test -x /sbin/sysconfig; then
6547      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6548        *1*) lt_cv_sys_max_cmd_len=-1 ;;
6549      esac
6550    fi
6551    ;;
6552  sco3.2v5*)
6553    lt_cv_sys_max_cmd_len=102400
6554    ;;
6555  sysv5* | sco5v6* | sysv4.2uw2*)
6556    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6557    if test -n "$kargmax"; then
6558      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
6559    else
6560      lt_cv_sys_max_cmd_len=32768
6561    fi
6562    ;;
6563  *)
6564    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6565    if test -n "$lt_cv_sys_max_cmd_len" && \
6566       test undefined != "$lt_cv_sys_max_cmd_len"; then
6567      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6568      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6569    else
6570      # Make teststring a little bigger before we do anything with it.
6571      # a 1K string should be a reasonable start.
6572      for i in 1 2 3 4 5 6 7 8; do
6573        teststring=$teststring$teststring
6574      done
6575      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6576      # If test is not a shell built-in, we'll probably end up computing a
6577      # maximum length that is only half of the actual maximum length, but
6578      # we can't tell.
6579      while { test X`env echo "$teststring$teststring" 2>/dev/null` \
6580	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6581	      test 17 != "$i" # 1/2 MB should be enough
6582      do
6583        i=`expr $i + 1`
6584        teststring=$teststring$teststring
6585      done
6586      # Only check the string length outside the loop.
6587      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6588      teststring=
6589      # Add a significant safety factor because C++ compilers can tack on
6590      # massive amounts of additional arguments before passing them to the
6591      # linker.  It appears as though 1/2 is a usable value.
6592      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6593    fi
6594    ;;
6595  esac
6596
6597fi
6598
6599if test -n "$lt_cv_sys_max_cmd_len"; then
6600  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6601$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6602else
6603  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6604$as_echo "none" >&6; }
6605fi
6606max_cmd_len=$lt_cv_sys_max_cmd_len
6607
6608
6609
6610
6611
6612
6613: ${CP="cp -f"}
6614: ${MV="mv -f"}
6615: ${RM="rm -f"}
6616
6617if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6618  lt_unset=unset
6619else
6620  lt_unset=false
6621fi
6622
6623
6624
6625
6626
6627# test EBCDIC or ASCII
6628case `echo X|tr X '\101'` in
6629 A) # ASCII based system
6630    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6631  lt_SP2NL='tr \040 \012'
6632  lt_NL2SP='tr \015\012 \040\040'
6633  ;;
6634 *) # EBCDIC based system
6635  lt_SP2NL='tr \100 \n'
6636  lt_NL2SP='tr \r\n \100\100'
6637  ;;
6638esac
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6649$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
6650if ${lt_cv_to_host_file_cmd+:} false; then :
6651  $as_echo_n "(cached) " >&6
6652else
6653  case $host in
6654  *-*-mingw* )
6655    case $build in
6656      *-*-mingw* ) # actually msys
6657        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6658        ;;
6659      *-*-cygwin* )
6660        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6661        ;;
6662      * ) # otherwise, assume *nix
6663        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6664        ;;
6665    esac
6666    ;;
6667  *-*-cygwin* )
6668    case $build in
6669      *-*-mingw* ) # actually msys
6670        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6671        ;;
6672      *-*-cygwin* )
6673        lt_cv_to_host_file_cmd=func_convert_file_noop
6674        ;;
6675      * ) # otherwise, assume *nix
6676        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6677        ;;
6678    esac
6679    ;;
6680  * ) # unhandled hosts (and "normal" native builds)
6681    lt_cv_to_host_file_cmd=func_convert_file_noop
6682    ;;
6683esac
6684
6685fi
6686
6687to_host_file_cmd=$lt_cv_to_host_file_cmd
6688{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6689$as_echo "$lt_cv_to_host_file_cmd" >&6; }
6690
6691
6692
6693
6694
6695{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6696$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
6697if ${lt_cv_to_tool_file_cmd+:} false; then :
6698  $as_echo_n "(cached) " >&6
6699else
6700  #assume ordinary cross tools, or native build.
6701lt_cv_to_tool_file_cmd=func_convert_file_noop
6702case $host in
6703  *-*-mingw* )
6704    case $build in
6705      *-*-mingw* ) # actually msys
6706        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6707        ;;
6708    esac
6709    ;;
6710esac
6711
6712fi
6713
6714to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6715{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6716$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6717
6718
6719
6720
6721
6722{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6723$as_echo_n "checking for $LD option to reload object files... " >&6; }
6724if ${lt_cv_ld_reload_flag+:} false; then :
6725  $as_echo_n "(cached) " >&6
6726else
6727  lt_cv_ld_reload_flag='-r'
6728fi
6729{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6730$as_echo "$lt_cv_ld_reload_flag" >&6; }
6731reload_flag=$lt_cv_ld_reload_flag
6732case $reload_flag in
6733"" | " "*) ;;
6734*) reload_flag=" $reload_flag" ;;
6735esac
6736reload_cmds='$LD$reload_flag -o $output$reload_objs'
6737case $host_os in
6738  cygwin* | mingw* | pw32* | cegcc*)
6739    if test yes != "$GCC"; then
6740      reload_cmds=false
6741    fi
6742    ;;
6743  darwin*)
6744    if test yes = "$GCC"; then
6745      reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
6746    else
6747      reload_cmds='$LD$reload_flag -o $output$reload_objs'
6748    fi
6749    ;;
6750esac
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760if test -n "$ac_tool_prefix"; then
6761  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6762set dummy ${ac_tool_prefix}objdump; ac_word=$2
6763{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6764$as_echo_n "checking for $ac_word... " >&6; }
6765if ${ac_cv_prog_OBJDUMP+:} false; then :
6766  $as_echo_n "(cached) " >&6
6767else
6768  if test -n "$OBJDUMP"; then
6769  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6770else
6771as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6772for as_dir in $PATH
6773do
6774  IFS=$as_save_IFS
6775  test -z "$as_dir" && as_dir=.
6776    for ac_exec_ext in '' $ac_executable_extensions; do
6777  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6778    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6779    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6780    break 2
6781  fi
6782done
6783  done
6784IFS=$as_save_IFS
6785
6786fi
6787fi
6788OBJDUMP=$ac_cv_prog_OBJDUMP
6789if test -n "$OBJDUMP"; then
6790  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6791$as_echo "$OBJDUMP" >&6; }
6792else
6793  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6794$as_echo "no" >&6; }
6795fi
6796
6797
6798fi
6799if test -z "$ac_cv_prog_OBJDUMP"; then
6800  ac_ct_OBJDUMP=$OBJDUMP
6801  # Extract the first word of "objdump", so it can be a program name with args.
6802set dummy objdump; ac_word=$2
6803{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6804$as_echo_n "checking for $ac_word... " >&6; }
6805if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6806  $as_echo_n "(cached) " >&6
6807else
6808  if test -n "$ac_ct_OBJDUMP"; then
6809  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6810else
6811as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6812for as_dir in $PATH
6813do
6814  IFS=$as_save_IFS
6815  test -z "$as_dir" && as_dir=.
6816    for ac_exec_ext in '' $ac_executable_extensions; do
6817  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6818    ac_cv_prog_ac_ct_OBJDUMP="objdump"
6819    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6820    break 2
6821  fi
6822done
6823  done
6824IFS=$as_save_IFS
6825
6826fi
6827fi
6828ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6829if test -n "$ac_ct_OBJDUMP"; then
6830  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6831$as_echo "$ac_ct_OBJDUMP" >&6; }
6832else
6833  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6834$as_echo "no" >&6; }
6835fi
6836
6837  if test "x$ac_ct_OBJDUMP" = x; then
6838    OBJDUMP="false"
6839  else
6840    case $cross_compiling:$ac_tool_warned in
6841yes:)
6842{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6843$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6844ac_tool_warned=yes ;;
6845esac
6846    OBJDUMP=$ac_ct_OBJDUMP
6847  fi
6848else
6849  OBJDUMP="$ac_cv_prog_OBJDUMP"
6850fi
6851
6852test -z "$OBJDUMP" && OBJDUMP=objdump
6853
6854
6855
6856
6857
6858
6859
6860
6861
6862{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6863$as_echo_n "checking how to recognize dependent libraries... " >&6; }
6864if ${lt_cv_deplibs_check_method+:} false; then :
6865  $as_echo_n "(cached) " >&6
6866else
6867  lt_cv_file_magic_cmd='$MAGIC_CMD'
6868lt_cv_file_magic_test_file=
6869lt_cv_deplibs_check_method='unknown'
6870# Need to set the preceding variable on all platforms that support
6871# interlibrary dependencies.
6872# 'none' -- dependencies not supported.
6873# 'unknown' -- same as none, but documents that we really don't know.
6874# 'pass_all' -- all dependencies passed with no checks.
6875# 'test_compile' -- check by making test program.
6876# 'file_magic [[regex]]' -- check by looking for files in library path
6877# that responds to the $file_magic_cmd with a given extended regex.
6878# If you have 'file' or equivalent on your system and you're not sure
6879# whether 'pass_all' will *always* work, you probably want this one.
6880
6881case $host_os in
6882aix[4-9]*)
6883  lt_cv_deplibs_check_method=pass_all
6884  ;;
6885
6886beos*)
6887  lt_cv_deplibs_check_method=pass_all
6888  ;;
6889
6890bsdi[45]*)
6891  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6892  lt_cv_file_magic_cmd='/usr/bin/file -L'
6893  lt_cv_file_magic_test_file=/shlib/libc.so
6894  ;;
6895
6896cygwin*)
6897  # func_win32_libid is a shell function defined in ltmain.sh
6898  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6899  lt_cv_file_magic_cmd='func_win32_libid'
6900  ;;
6901
6902mingw* | pw32*)
6903  # Base MSYS/MinGW do not provide the 'file' command needed by
6904  # func_win32_libid shell function, so use a weaker test based on 'objdump',
6905  # unless we find 'file', for example because we are cross-compiling.
6906  if ( file / ) >/dev/null 2>&1; then
6907    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6908    lt_cv_file_magic_cmd='func_win32_libid'
6909  else
6910    # Keep this pattern in sync with the one in func_win32_libid.
6911    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6912    lt_cv_file_magic_cmd='$OBJDUMP -f'
6913  fi
6914  ;;
6915
6916cegcc*)
6917  # use the weaker test based on 'objdump'. See mingw*.
6918  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6919  lt_cv_file_magic_cmd='$OBJDUMP -f'
6920  ;;
6921
6922darwin* | rhapsody*)
6923  lt_cv_deplibs_check_method=pass_all
6924  ;;
6925
6926freebsd* | dragonfly*)
6927  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6928    case $host_cpu in
6929    i*86 )
6930      # Not sure whether the presence of OpenBSD here was a mistake.
6931      # Let's accept both of them until this is cleared up.
6932      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6933      lt_cv_file_magic_cmd=/usr/bin/file
6934      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6935      ;;
6936    esac
6937  else
6938    lt_cv_deplibs_check_method=pass_all
6939  fi
6940  ;;
6941
6942haiku*)
6943  lt_cv_deplibs_check_method=pass_all
6944  ;;
6945
6946hpux10.20* | hpux11*)
6947  lt_cv_file_magic_cmd=/usr/bin/file
6948  case $host_cpu in
6949  ia64*)
6950    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6951    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6952    ;;
6953  hppa*64*)
6954    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
6955    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6956    ;;
6957  *)
6958    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6959    lt_cv_file_magic_test_file=/usr/lib/libc.sl
6960    ;;
6961  esac
6962  ;;
6963
6964interix[3-9]*)
6965  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6966  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6967  ;;
6968
6969irix5* | irix6* | nonstopux*)
6970  case $LD in
6971  *-32|*"-32 ") libmagic=32-bit;;
6972  *-n32|*"-n32 ") libmagic=N32;;
6973  *-64|*"-64 ") libmagic=64-bit;;
6974  *) libmagic=never-match;;
6975  esac
6976  lt_cv_deplibs_check_method=pass_all
6977  ;;
6978
6979# This must be glibc/ELF.
6980linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6981  lt_cv_deplibs_check_method=pass_all
6982  ;;
6983
6984netbsd* | netbsdelf*-gnu)
6985  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6986    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6987  else
6988    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6989  fi
6990  ;;
6991
6992newos6*)
6993  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6994  lt_cv_file_magic_cmd=/usr/bin/file
6995  lt_cv_file_magic_test_file=/usr/lib/libnls.so
6996  ;;
6997
6998*nto* | *qnx*)
6999  lt_cv_deplibs_check_method=pass_all
7000  ;;
7001
7002openbsd* | bitrig*)
7003  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
7004    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7005  else
7006    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7007  fi
7008  ;;
7009
7010osf3* | osf4* | osf5*)
7011  lt_cv_deplibs_check_method=pass_all
7012  ;;
7013
7014rdos*)
7015  lt_cv_deplibs_check_method=pass_all
7016  ;;
7017
7018solaris*)
7019  lt_cv_deplibs_check_method=pass_all
7020  ;;
7021
7022sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7023  lt_cv_deplibs_check_method=pass_all
7024  ;;
7025
7026sysv4 | sysv4.3*)
7027  case $host_vendor in
7028  motorola)
7029    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]'
7030    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7031    ;;
7032  ncr)
7033    lt_cv_deplibs_check_method=pass_all
7034    ;;
7035  sequent)
7036    lt_cv_file_magic_cmd='/bin/file'
7037    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7038    ;;
7039  sni)
7040    lt_cv_file_magic_cmd='/bin/file'
7041    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7042    lt_cv_file_magic_test_file=/lib/libc.so
7043    ;;
7044  siemens)
7045    lt_cv_deplibs_check_method=pass_all
7046    ;;
7047  pc)
7048    lt_cv_deplibs_check_method=pass_all
7049    ;;
7050  esac
7051  ;;
7052
7053tpf*)
7054  lt_cv_deplibs_check_method=pass_all
7055  ;;
7056os2*)
7057  lt_cv_deplibs_check_method=pass_all
7058  ;;
7059esac
7060
7061fi
7062{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7063$as_echo "$lt_cv_deplibs_check_method" >&6; }
7064
7065file_magic_glob=
7066want_nocaseglob=no
7067if test "$build" = "$host"; then
7068  case $host_os in
7069  mingw* | pw32*)
7070    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
7071      want_nocaseglob=yes
7072    else
7073      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
7074    fi
7075    ;;
7076  esac
7077fi
7078
7079file_magic_cmd=$lt_cv_file_magic_cmd
7080deplibs_check_method=$lt_cv_deplibs_check_method
7081test -z "$deplibs_check_method" && deplibs_check_method=unknown
7082
7083
7084
7085
7086
7087
7088
7089
7090
7091
7092
7093
7094
7095
7096
7097
7098
7099
7100
7101
7102
7103
7104if test -n "$ac_tool_prefix"; then
7105  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7106set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7107{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7108$as_echo_n "checking for $ac_word... " >&6; }
7109if ${ac_cv_prog_DLLTOOL+:} false; then :
7110  $as_echo_n "(cached) " >&6
7111else
7112  if test -n "$DLLTOOL"; then
7113  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7114else
7115as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7116for as_dir in $PATH
7117do
7118  IFS=$as_save_IFS
7119  test -z "$as_dir" && as_dir=.
7120    for ac_exec_ext in '' $ac_executable_extensions; do
7121  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7122    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7123    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7124    break 2
7125  fi
7126done
7127  done
7128IFS=$as_save_IFS
7129
7130fi
7131fi
7132DLLTOOL=$ac_cv_prog_DLLTOOL
7133if test -n "$DLLTOOL"; then
7134  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7135$as_echo "$DLLTOOL" >&6; }
7136else
7137  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7138$as_echo "no" >&6; }
7139fi
7140
7141
7142fi
7143if test -z "$ac_cv_prog_DLLTOOL"; then
7144  ac_ct_DLLTOOL=$DLLTOOL
7145  # Extract the first word of "dlltool", so it can be a program name with args.
7146set dummy dlltool; ac_word=$2
7147{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7148$as_echo_n "checking for $ac_word... " >&6; }
7149if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7150  $as_echo_n "(cached) " >&6
7151else
7152  if test -n "$ac_ct_DLLTOOL"; then
7153  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7154else
7155as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7156for as_dir in $PATH
7157do
7158  IFS=$as_save_IFS
7159  test -z "$as_dir" && as_dir=.
7160    for ac_exec_ext in '' $ac_executable_extensions; do
7161  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7162    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7163    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7164    break 2
7165  fi
7166done
7167  done
7168IFS=$as_save_IFS
7169
7170fi
7171fi
7172ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7173if test -n "$ac_ct_DLLTOOL"; then
7174  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7175$as_echo "$ac_ct_DLLTOOL" >&6; }
7176else
7177  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7178$as_echo "no" >&6; }
7179fi
7180
7181  if test "x$ac_ct_DLLTOOL" = x; then
7182    DLLTOOL="false"
7183  else
7184    case $cross_compiling:$ac_tool_warned in
7185yes:)
7186{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7187$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7188ac_tool_warned=yes ;;
7189esac
7190    DLLTOOL=$ac_ct_DLLTOOL
7191  fi
7192else
7193  DLLTOOL="$ac_cv_prog_DLLTOOL"
7194fi
7195
7196test -z "$DLLTOOL" && DLLTOOL=dlltool
7197
7198
7199
7200
7201
7202
7203
7204
7205
7206
7207{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
7208$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
7209if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
7210  $as_echo_n "(cached) " >&6
7211else
7212  lt_cv_sharedlib_from_linklib_cmd='unknown'
7213
7214case $host_os in
7215cygwin* | mingw* | pw32* | cegcc*)
7216  # two different shell functions defined in ltmain.sh;
7217  # decide which one to use based on capabilities of $DLLTOOL
7218  case `$DLLTOOL --help 2>&1` in
7219  *--identify-strict*)
7220    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
7221    ;;
7222  *)
7223    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
7224    ;;
7225  esac
7226  ;;
7227*)
7228  # fallback: assume linklib IS sharedlib
7229  lt_cv_sharedlib_from_linklib_cmd=$ECHO
7230  ;;
7231esac
7232
7233fi
7234{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
7235$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
7236sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
7237test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
7238
7239
7240
7241
7242
7243
7244
7245if test -n "$ac_tool_prefix"; then
7246  for ac_prog in ar
7247  do
7248    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7249set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7250{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7251$as_echo_n "checking for $ac_word... " >&6; }
7252if ${ac_cv_prog_AR+:} false; then :
7253  $as_echo_n "(cached) " >&6
7254else
7255  if test -n "$AR"; then
7256  ac_cv_prog_AR="$AR" # Let the user override the test.
7257else
7258as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7259for as_dir in $PATH
7260do
7261  IFS=$as_save_IFS
7262  test -z "$as_dir" && as_dir=.
7263    for ac_exec_ext in '' $ac_executable_extensions; do
7264  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7265    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
7266    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7267    break 2
7268  fi
7269done
7270  done
7271IFS=$as_save_IFS
7272
7273fi
7274fi
7275AR=$ac_cv_prog_AR
7276if test -n "$AR"; then
7277  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7278$as_echo "$AR" >&6; }
7279else
7280  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7281$as_echo "no" >&6; }
7282fi
7283
7284
7285    test -n "$AR" && break
7286  done
7287fi
7288if test -z "$AR"; then
7289  ac_ct_AR=$AR
7290  for ac_prog in ar
7291do
7292  # Extract the first word of "$ac_prog", so it can be a program name with args.
7293set dummy $ac_prog; ac_word=$2
7294{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7295$as_echo_n "checking for $ac_word... " >&6; }
7296if ${ac_cv_prog_ac_ct_AR+:} false; then :
7297  $as_echo_n "(cached) " >&6
7298else
7299  if test -n "$ac_ct_AR"; then
7300  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7301else
7302as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7303for as_dir in $PATH
7304do
7305  IFS=$as_save_IFS
7306  test -z "$as_dir" && as_dir=.
7307    for ac_exec_ext in '' $ac_executable_extensions; do
7308  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7309    ac_cv_prog_ac_ct_AR="$ac_prog"
7310    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7311    break 2
7312  fi
7313done
7314  done
7315IFS=$as_save_IFS
7316
7317fi
7318fi
7319ac_ct_AR=$ac_cv_prog_ac_ct_AR
7320if test -n "$ac_ct_AR"; then
7321  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7322$as_echo "$ac_ct_AR" >&6; }
7323else
7324  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7325$as_echo "no" >&6; }
7326fi
7327
7328
7329  test -n "$ac_ct_AR" && break
7330done
7331
7332  if test "x$ac_ct_AR" = x; then
7333    AR="false"
7334  else
7335    case $cross_compiling:$ac_tool_warned in
7336yes:)
7337{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7338$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7339ac_tool_warned=yes ;;
7340esac
7341    AR=$ac_ct_AR
7342  fi
7343fi
7344
7345: ${AR=ar}
7346: ${AR_FLAGS=cru}
7347
7348
7349
7350
7351
7352
7353
7354
7355
7356
7357
7358{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
7359$as_echo_n "checking for archiver @FILE support... " >&6; }
7360if ${lt_cv_ar_at_file+:} false; then :
7361  $as_echo_n "(cached) " >&6
7362else
7363  lt_cv_ar_at_file=no
7364   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7365/* end confdefs.h.  */
7366
7367int
7368main ()
7369{
7370
7371  ;
7372  return 0;
7373}
7374_ACEOF
7375if ac_fn_c_try_compile "$LINENO"; then :
7376  echo conftest.$ac_objext > conftest.lst
7377      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
7378      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7379  (eval $lt_ar_try) 2>&5
7380  ac_status=$?
7381  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7382  test $ac_status = 0; }
7383      if test 0 -eq "$ac_status"; then
7384	# Ensure the archiver fails upon bogus file names.
7385	rm -f conftest.$ac_objext libconftest.a
7386	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7387  (eval $lt_ar_try) 2>&5
7388  ac_status=$?
7389  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7390  test $ac_status = 0; }
7391	if test 0 -ne "$ac_status"; then
7392          lt_cv_ar_at_file=@
7393        fi
7394      fi
7395      rm -f conftest.* libconftest.a
7396
7397fi
7398rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7399
7400fi
7401{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
7402$as_echo "$lt_cv_ar_at_file" >&6; }
7403
7404if test no = "$lt_cv_ar_at_file"; then
7405  archiver_list_spec=
7406else
7407  archiver_list_spec=$lt_cv_ar_at_file
7408fi
7409
7410
7411
7412
7413
7414
7415
7416if test -n "$ac_tool_prefix"; then
7417  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7418set dummy ${ac_tool_prefix}strip; ac_word=$2
7419{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7420$as_echo_n "checking for $ac_word... " >&6; }
7421if ${ac_cv_prog_STRIP+:} false; then :
7422  $as_echo_n "(cached) " >&6
7423else
7424  if test -n "$STRIP"; then
7425  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7426else
7427as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7428for as_dir in $PATH
7429do
7430  IFS=$as_save_IFS
7431  test -z "$as_dir" && as_dir=.
7432    for ac_exec_ext in '' $ac_executable_extensions; do
7433  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7434    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7435    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7436    break 2
7437  fi
7438done
7439  done
7440IFS=$as_save_IFS
7441
7442fi
7443fi
7444STRIP=$ac_cv_prog_STRIP
7445if test -n "$STRIP"; then
7446  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7447$as_echo "$STRIP" >&6; }
7448else
7449  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7450$as_echo "no" >&6; }
7451fi
7452
7453
7454fi
7455if test -z "$ac_cv_prog_STRIP"; then
7456  ac_ct_STRIP=$STRIP
7457  # Extract the first word of "strip", so it can be a program name with args.
7458set dummy strip; ac_word=$2
7459{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7460$as_echo_n "checking for $ac_word... " >&6; }
7461if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7462  $as_echo_n "(cached) " >&6
7463else
7464  if test -n "$ac_ct_STRIP"; then
7465  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7466else
7467as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7468for as_dir in $PATH
7469do
7470  IFS=$as_save_IFS
7471  test -z "$as_dir" && as_dir=.
7472    for ac_exec_ext in '' $ac_executable_extensions; do
7473  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7474    ac_cv_prog_ac_ct_STRIP="strip"
7475    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7476    break 2
7477  fi
7478done
7479  done
7480IFS=$as_save_IFS
7481
7482fi
7483fi
7484ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7485if test -n "$ac_ct_STRIP"; then
7486  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7487$as_echo "$ac_ct_STRIP" >&6; }
7488else
7489  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7490$as_echo "no" >&6; }
7491fi
7492
7493  if test "x$ac_ct_STRIP" = x; then
7494    STRIP=":"
7495  else
7496    case $cross_compiling:$ac_tool_warned in
7497yes:)
7498{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7499$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7500ac_tool_warned=yes ;;
7501esac
7502    STRIP=$ac_ct_STRIP
7503  fi
7504else
7505  STRIP="$ac_cv_prog_STRIP"
7506fi
7507
7508test -z "$STRIP" && STRIP=:
7509
7510
7511
7512
7513
7514
7515if test -n "$ac_tool_prefix"; then
7516  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7517set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7518{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7519$as_echo_n "checking for $ac_word... " >&6; }
7520if ${ac_cv_prog_RANLIB+:} false; then :
7521  $as_echo_n "(cached) " >&6
7522else
7523  if test -n "$RANLIB"; then
7524  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7525else
7526as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7527for as_dir in $PATH
7528do
7529  IFS=$as_save_IFS
7530  test -z "$as_dir" && as_dir=.
7531    for ac_exec_ext in '' $ac_executable_extensions; do
7532  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7533    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7534    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7535    break 2
7536  fi
7537done
7538  done
7539IFS=$as_save_IFS
7540
7541fi
7542fi
7543RANLIB=$ac_cv_prog_RANLIB
7544if test -n "$RANLIB"; then
7545  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7546$as_echo "$RANLIB" >&6; }
7547else
7548  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7549$as_echo "no" >&6; }
7550fi
7551
7552
7553fi
7554if test -z "$ac_cv_prog_RANLIB"; then
7555  ac_ct_RANLIB=$RANLIB
7556  # Extract the first word of "ranlib", so it can be a program name with args.
7557set dummy ranlib; ac_word=$2
7558{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7559$as_echo_n "checking for $ac_word... " >&6; }
7560if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7561  $as_echo_n "(cached) " >&6
7562else
7563  if test -n "$ac_ct_RANLIB"; then
7564  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7565else
7566as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7567for as_dir in $PATH
7568do
7569  IFS=$as_save_IFS
7570  test -z "$as_dir" && as_dir=.
7571    for ac_exec_ext in '' $ac_executable_extensions; do
7572  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7573    ac_cv_prog_ac_ct_RANLIB="ranlib"
7574    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7575    break 2
7576  fi
7577done
7578  done
7579IFS=$as_save_IFS
7580
7581fi
7582fi
7583ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7584if test -n "$ac_ct_RANLIB"; then
7585  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7586$as_echo "$ac_ct_RANLIB" >&6; }
7587else
7588  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7589$as_echo "no" >&6; }
7590fi
7591
7592  if test "x$ac_ct_RANLIB" = x; then
7593    RANLIB=":"
7594  else
7595    case $cross_compiling:$ac_tool_warned in
7596yes:)
7597{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7598$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7599ac_tool_warned=yes ;;
7600esac
7601    RANLIB=$ac_ct_RANLIB
7602  fi
7603else
7604  RANLIB="$ac_cv_prog_RANLIB"
7605fi
7606
7607test -z "$RANLIB" && RANLIB=:
7608
7609
7610
7611
7612
7613
7614# Determine commands to create old-style static archives.
7615old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7616old_postinstall_cmds='chmod 644 $oldlib'
7617old_postuninstall_cmds=
7618
7619if test -n "$RANLIB"; then
7620  case $host_os in
7621  bitrig* | openbsd*)
7622    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
7623    ;;
7624  *)
7625    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
7626    ;;
7627  esac
7628  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
7629fi
7630
7631case $host_os in
7632  darwin*)
7633    lock_old_archive_extraction=yes ;;
7634  *)
7635    lock_old_archive_extraction=no ;;
7636esac
7637
7638
7639
7640
7641
7642
7643
7644
7645
7646
7647
7648
7649
7650
7651
7652
7653
7654
7655
7656
7657
7658
7659
7660
7661
7662
7663
7664
7665
7666
7667
7668
7669
7670
7671
7672
7673
7674
7675
7676# If no C compiler was specified, use CC.
7677LTCC=${LTCC-"$CC"}
7678
7679# If no C compiler flags were specified, use CFLAGS.
7680LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7681
7682# Allow CC to be a program name with arguments.
7683compiler=$CC
7684
7685
7686# Check for command to grab the raw symbol name followed by C symbol from nm.
7687{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7688$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7689if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7690  $as_echo_n "(cached) " >&6
7691else
7692
7693# These are sane defaults that work on at least a few old systems.
7694# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
7695
7696# Character class describing NM global symbol codes.
7697symcode='[BCDEGRST]'
7698
7699# Regexp to match symbols that can be accessed directly from C.
7700sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7701
7702# Define system-specific variables.
7703case $host_os in
7704aix*)
7705  symcode='[BCDT]'
7706  ;;
7707cygwin* | mingw* | pw32* | cegcc*)
7708  symcode='[ABCDGISTW]'
7709  ;;
7710hpux*)
7711  if test ia64 = "$host_cpu"; then
7712    symcode='[ABCDEGRST]'
7713  fi
7714  ;;
7715irix* | nonstopux*)
7716  symcode='[BCDEGRST]'
7717  ;;
7718osf*)
7719  symcode='[BCDEGQRST]'
7720  ;;
7721solaris*)
7722  symcode='[BDRT]'
7723  ;;
7724sco3.2v5*)
7725  symcode='[DT]'
7726  ;;
7727sysv4.2uw2*)
7728  symcode='[DT]'
7729  ;;
7730sysv5* | sco5v6* | unixware* | OpenUNIX*)
7731  symcode='[ABDT]'
7732  ;;
7733sysv4)
7734  symcode='[DFNSTU]'
7735  ;;
7736esac
7737
7738# If we're using GNU nm, then use its standard symbol codes.
7739case `$NM -V 2>&1` in
7740*GNU* | *'with BFD'*)
7741  symcode='[ABCDGIRSTW]' ;;
7742esac
7743
7744if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7745  # Gets list of data symbols to import.
7746  lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
7747  # Adjust the below global symbol transforms to fixup imported variables.
7748  lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
7749  lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
7750  lt_c_name_lib_hook="\
7751  -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
7752  -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
7753else
7754  # Disable hooks by default.
7755  lt_cv_sys_global_symbol_to_import=
7756  lt_cdecl_hook=
7757  lt_c_name_hook=
7758  lt_c_name_lib_hook=
7759fi
7760
7761# Transform an extracted symbol line into a proper C declaration.
7762# Some systems (esp. on ia64) link data and code symbols differently,
7763# so use this general approach.
7764lt_cv_sys_global_symbol_to_cdecl="sed -n"\
7765$lt_cdecl_hook\
7766" -e 's/^T .* \(.*\)$/extern int \1();/p'"\
7767" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
7768
7769# Transform an extracted symbol line into symbol name and symbol address
7770lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
7771$lt_c_name_hook\
7772" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
7773" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
7774
7775# Transform an extracted symbol line into symbol name with lib prefix and
7776# symbol address.
7777lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
7778$lt_c_name_lib_hook\
7779" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
7780" -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
7781" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
7782
7783# Handle CRLF in mingw tool chain
7784opt_cr=
7785case $build_os in
7786mingw*)
7787  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7788  ;;
7789esac
7790
7791# Try without a prefix underscore, then with it.
7792for ac_symprfx in "" "_"; do
7793
7794  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7795  symxfrm="\\1 $ac_symprfx\\2 \\2"
7796
7797  # Write the raw and C identifiers.
7798  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7799    # Fake it for dumpbin and say T for any non-static function,
7800    # D for any global variable and I for any imported variable.
7801    # Also find C++ and __fastcall symbols from MSVC++,
7802    # which start with @ or ?.
7803    lt_cv_sys_global_symbol_pipe="$AWK '"\
7804"     {last_section=section; section=\$ 3};"\
7805"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7806"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7807"     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
7808"     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
7809"     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
7810"     \$ 0!~/External *\|/{next};"\
7811"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7812"     {if(hide[section]) next};"\
7813"     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
7814"     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
7815"     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
7816"     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
7817"     ' prfx=^$ac_symprfx"
7818  else
7819    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7820  fi
7821  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7822
7823  # Check to see that the pipe works correctly.
7824  pipe_works=no
7825
7826  rm -f conftest*
7827  cat > conftest.$ac_ext <<_LT_EOF
7828#ifdef __cplusplus
7829extern "C" {
7830#endif
7831char nm_test_var;
7832void nm_test_func(void);
7833void nm_test_func(void){}
7834#ifdef __cplusplus
7835}
7836#endif
7837int main(){nm_test_var='a';nm_test_func();return(0);}
7838_LT_EOF
7839
7840  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7841  (eval $ac_compile) 2>&5
7842  ac_status=$?
7843  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7844  test $ac_status = 0; }; then
7845    # Now try to grab the symbols.
7846    nlist=conftest.nm
7847    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7848  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7849  ac_status=$?
7850  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7851  test $ac_status = 0; } && test -s "$nlist"; then
7852      # Try sorting and uniquifying the output.
7853      if sort "$nlist" | uniq > "$nlist"T; then
7854	mv -f "$nlist"T "$nlist"
7855      else
7856	rm -f "$nlist"T
7857      fi
7858
7859      # Make sure that we snagged all the symbols we need.
7860      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7861	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7862	  cat <<_LT_EOF > conftest.$ac_ext
7863/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
7864#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
7865/* DATA imports from DLLs on WIN32 can't be const, because runtime
7866   relocations are performed -- see ld's documentation on pseudo-relocs.  */
7867# define LT_DLSYM_CONST
7868#elif defined __osf__
7869/* This system does not cope well with relocations in const data.  */
7870# define LT_DLSYM_CONST
7871#else
7872# define LT_DLSYM_CONST const
7873#endif
7874
7875#ifdef __cplusplus
7876extern "C" {
7877#endif
7878
7879_LT_EOF
7880	  # Now generate the symbol file.
7881	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7882
7883	  cat <<_LT_EOF >> conftest.$ac_ext
7884
7885/* The mapping between symbol names and symbols.  */
7886LT_DLSYM_CONST struct {
7887  const char *name;
7888  void       *address;
7889}
7890lt__PROGRAM__LTX_preloaded_symbols[] =
7891{
7892  { "@PROGRAM@", (void *) 0 },
7893_LT_EOF
7894	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7895	  cat <<\_LT_EOF >> conftest.$ac_ext
7896  {0, (void *) 0}
7897};
7898
7899/* This works around a problem in FreeBSD linker */
7900#ifdef FREEBSD_WORKAROUND
7901static const void *lt_preloaded_setup() {
7902  return lt__PROGRAM__LTX_preloaded_symbols;
7903}
7904#endif
7905
7906#ifdef __cplusplus
7907}
7908#endif
7909_LT_EOF
7910	  # Now try linking the two files.
7911	  mv conftest.$ac_objext conftstm.$ac_objext
7912	  lt_globsym_save_LIBS=$LIBS
7913	  lt_globsym_save_CFLAGS=$CFLAGS
7914	  LIBS=conftstm.$ac_objext
7915	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7916	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7917  (eval $ac_link) 2>&5
7918  ac_status=$?
7919  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7920  test $ac_status = 0; } && test -s conftest$ac_exeext; then
7921	    pipe_works=yes
7922	  fi
7923	  LIBS=$lt_globsym_save_LIBS
7924	  CFLAGS=$lt_globsym_save_CFLAGS
7925	else
7926	  echo "cannot find nm_test_func in $nlist" >&5
7927	fi
7928      else
7929	echo "cannot find nm_test_var in $nlist" >&5
7930      fi
7931    else
7932      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7933    fi
7934  else
7935    echo "$progname: failed program was:" >&5
7936    cat conftest.$ac_ext >&5
7937  fi
7938  rm -rf conftest* conftst*
7939
7940  # Do not use the global_symbol_pipe unless it works.
7941  if test yes = "$pipe_works"; then
7942    break
7943  else
7944    lt_cv_sys_global_symbol_pipe=
7945  fi
7946done
7947
7948fi
7949
7950if test -z "$lt_cv_sys_global_symbol_pipe"; then
7951  lt_cv_sys_global_symbol_to_cdecl=
7952fi
7953if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7954  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7955$as_echo "failed" >&6; }
7956else
7957  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7958$as_echo "ok" >&6; }
7959fi
7960
7961# Response file support.
7962if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7963  nm_file_list_spec='@'
7964elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7965  nm_file_list_spec='@'
7966fi
7967
7968
7969
7970
7971
7972
7973
7974
7975
7976
7977
7978
7979
7980
7981
7982
7983
7984
7985
7986
7987
7988
7989
7990
7991
7992
7993
7994
7995
7996
7997
7998
7999
8000
8001
8002
8003
8004{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
8005$as_echo_n "checking for sysroot... " >&6; }
8006
8007# Check whether --with-sysroot was given.
8008if test "${with_sysroot+set}" = set; then :
8009  withval=$with_sysroot;
8010else
8011  with_sysroot=no
8012fi
8013
8014
8015lt_sysroot=
8016case $with_sysroot in #(
8017 yes)
8018   if test yes = "$GCC"; then
8019     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
8020   fi
8021   ;; #(
8022 /*)
8023   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
8024   ;; #(
8025 no|'')
8026   ;; #(
8027 *)
8028   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
8029$as_echo "$with_sysroot" >&6; }
8030   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
8031   ;;
8032esac
8033
8034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
8035$as_echo "${lt_sysroot:-no}" >&6; }
8036
8037
8038
8039
8040
8041{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
8042$as_echo_n "checking for a working dd... " >&6; }
8043if ${ac_cv_path_lt_DD+:} false; then :
8044  $as_echo_n "(cached) " >&6
8045else
8046  printf 0123456789abcdef0123456789abcdef >conftest.i
8047cat conftest.i conftest.i >conftest2.i
8048: ${lt_DD:=$DD}
8049if test -z "$lt_DD"; then
8050  ac_path_lt_DD_found=false
8051  # Loop through the user's path and test for each of PROGNAME-LIST
8052  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8053for as_dir in $PATH
8054do
8055  IFS=$as_save_IFS
8056  test -z "$as_dir" && as_dir=.
8057    for ac_prog in dd; do
8058    for ac_exec_ext in '' $ac_executable_extensions; do
8059      ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
8060      as_fn_executable_p "$ac_path_lt_DD" || continue
8061if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
8062  cmp -s conftest.i conftest.out \
8063  && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
8064fi
8065      $ac_path_lt_DD_found && break 3
8066    done
8067  done
8068  done
8069IFS=$as_save_IFS
8070  if test -z "$ac_cv_path_lt_DD"; then
8071    :
8072  fi
8073else
8074  ac_cv_path_lt_DD=$lt_DD
8075fi
8076
8077rm -f conftest.i conftest2.i conftest.out
8078fi
8079{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
8080$as_echo "$ac_cv_path_lt_DD" >&6; }
8081
8082
8083{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
8084$as_echo_n "checking how to truncate binary pipes... " >&6; }
8085if ${lt_cv_truncate_bin+:} false; then :
8086  $as_echo_n "(cached) " >&6
8087else
8088  printf 0123456789abcdef0123456789abcdef >conftest.i
8089cat conftest.i conftest.i >conftest2.i
8090lt_cv_truncate_bin=
8091if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
8092  cmp -s conftest.i conftest.out \
8093  && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
8094fi
8095rm -f conftest.i conftest2.i conftest.out
8096test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
8097fi
8098{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
8099$as_echo "$lt_cv_truncate_bin" >&6; }
8100
8101
8102
8103
8104
8105
8106
8107# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
8108func_cc_basename ()
8109{
8110    for cc_temp in $*""; do
8111      case $cc_temp in
8112        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8113        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8114        \-*) ;;
8115        *) break;;
8116      esac
8117    done
8118    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8119}
8120
8121# Check whether --enable-libtool-lock was given.
8122if test "${enable_libtool_lock+set}" = set; then :
8123  enableval=$enable_libtool_lock;
8124fi
8125
8126test no = "$enable_libtool_lock" || enable_libtool_lock=yes
8127
8128# Some flags need to be propagated to the compiler or linker for good
8129# libtool support.
8130case $host in
8131ia64-*-hpux*)
8132  # Find out what ABI is being produced by ac_compile, and set mode
8133  # options accordingly.
8134  echo 'int i;' > conftest.$ac_ext
8135  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8136  (eval $ac_compile) 2>&5
8137  ac_status=$?
8138  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8139  test $ac_status = 0; }; then
8140    case `/usr/bin/file conftest.$ac_objext` in
8141      *ELF-32*)
8142	HPUX_IA64_MODE=32
8143	;;
8144      *ELF-64*)
8145	HPUX_IA64_MODE=64
8146	;;
8147    esac
8148  fi
8149  rm -rf conftest*
8150  ;;
8151*-*-irix6*)
8152  # Find out what ABI is being produced by ac_compile, and set linker
8153  # options accordingly.
8154  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
8155  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8156  (eval $ac_compile) 2>&5
8157  ac_status=$?
8158  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8159  test $ac_status = 0; }; then
8160    if test yes = "$lt_cv_prog_gnu_ld"; then
8161      case `/usr/bin/file conftest.$ac_objext` in
8162	*32-bit*)
8163	  LD="${LD-ld} -melf32bsmip"
8164	  ;;
8165	*N32*)
8166	  LD="${LD-ld} -melf32bmipn32"
8167	  ;;
8168	*64-bit*)
8169	  LD="${LD-ld} -melf64bmip"
8170	;;
8171      esac
8172    else
8173      case `/usr/bin/file conftest.$ac_objext` in
8174	*32-bit*)
8175	  LD="${LD-ld} -32"
8176	  ;;
8177	*N32*)
8178	  LD="${LD-ld} -n32"
8179	  ;;
8180	*64-bit*)
8181	  LD="${LD-ld} -64"
8182	  ;;
8183      esac
8184    fi
8185  fi
8186  rm -rf conftest*
8187  ;;
8188
8189mips64*-*linux*)
8190  # Find out what ABI is being produced by ac_compile, and set linker
8191  # options accordingly.
8192  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
8193  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8194  (eval $ac_compile) 2>&5
8195  ac_status=$?
8196  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8197  test $ac_status = 0; }; then
8198    emul=elf
8199    case `/usr/bin/file conftest.$ac_objext` in
8200      *32-bit*)
8201	emul="${emul}32"
8202	;;
8203      *64-bit*)
8204	emul="${emul}64"
8205	;;
8206    esac
8207    case `/usr/bin/file conftest.$ac_objext` in
8208      *MSB*)
8209	emul="${emul}btsmip"
8210	;;
8211      *LSB*)
8212	emul="${emul}ltsmip"
8213	;;
8214    esac
8215    case `/usr/bin/file conftest.$ac_objext` in
8216      *N32*)
8217	emul="${emul}n32"
8218	;;
8219    esac
8220    LD="${LD-ld} -m $emul"
8221  fi
8222  rm -rf conftest*
8223  ;;
8224
8225x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
8226s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8227  # Find out what ABI is being produced by ac_compile, and set linker
8228  # options accordingly.  Note that the listed cases only cover the
8229  # situations where additional linker options are needed (such as when
8230  # doing 32-bit compilation for a host where ld defaults to 64-bit, or
8231  # vice versa); the common cases where no linker options are needed do
8232  # not appear in the list.
8233  echo 'int i;' > conftest.$ac_ext
8234  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8235  (eval $ac_compile) 2>&5
8236  ac_status=$?
8237  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8238  test $ac_status = 0; }; then
8239    case `/usr/bin/file conftest.o` in
8240      *32-bit*)
8241	case $host in
8242	  x86_64-*kfreebsd*-gnu)
8243	    LD="${LD-ld} -m elf_i386_fbsd"
8244	    ;;
8245	  x86_64-*linux*)
8246	    case `/usr/bin/file conftest.o` in
8247	      *x86-64*)
8248		LD="${LD-ld} -m elf32_x86_64"
8249		;;
8250	      *)
8251		LD="${LD-ld} -m elf_i386"
8252		;;
8253	    esac
8254	    ;;
8255	  powerpc64le-*linux*)
8256	    LD="${LD-ld} -m elf32lppclinux"
8257	    ;;
8258	  powerpc64-*linux*)
8259	    LD="${LD-ld} -m elf32ppclinux"
8260	    ;;
8261	  s390x-*linux*)
8262	    LD="${LD-ld} -m elf_s390"
8263	    ;;
8264	  sparc64-*linux*)
8265	    LD="${LD-ld} -m elf32_sparc"
8266	    ;;
8267	esac
8268	;;
8269      *64-bit*)
8270	case $host in
8271	  x86_64-*kfreebsd*-gnu)
8272	    LD="${LD-ld} -m elf_x86_64_fbsd"
8273	    ;;
8274	  x86_64-*linux*)
8275	    LD="${LD-ld} -m elf_x86_64"
8276	    ;;
8277	  powerpcle-*linux*)
8278	    LD="${LD-ld} -m elf64lppc"
8279	    ;;
8280	  powerpc-*linux*)
8281	    LD="${LD-ld} -m elf64ppc"
8282	    ;;
8283	  s390*-*linux*|s390*-*tpf*)
8284	    LD="${LD-ld} -m elf64_s390"
8285	    ;;
8286	  sparc*-*linux*)
8287	    LD="${LD-ld} -m elf64_sparc"
8288	    ;;
8289	esac
8290	;;
8291    esac
8292  fi
8293  rm -rf conftest*
8294  ;;
8295
8296*-*-sco3.2v5*)
8297  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8298  SAVE_CFLAGS=$CFLAGS
8299  CFLAGS="$CFLAGS -belf"
8300  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8301$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8302if ${lt_cv_cc_needs_belf+:} false; then :
8303  $as_echo_n "(cached) " >&6
8304else
8305  ac_ext=c
8306ac_cpp='$CPP $CPPFLAGS'
8307ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8308ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8309ac_compiler_gnu=$ac_cv_c_compiler_gnu
8310
8311     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8312/* end confdefs.h.  */
8313
8314int
8315main ()
8316{
8317
8318  ;
8319  return 0;
8320}
8321_ACEOF
8322if ac_fn_c_try_link "$LINENO"; then :
8323  lt_cv_cc_needs_belf=yes
8324else
8325  lt_cv_cc_needs_belf=no
8326fi
8327rm -f core conftest.err conftest.$ac_objext \
8328    conftest$ac_exeext conftest.$ac_ext
8329     ac_ext=c
8330ac_cpp='$CPP $CPPFLAGS'
8331ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8332ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8333ac_compiler_gnu=$ac_cv_c_compiler_gnu
8334
8335fi
8336{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8337$as_echo "$lt_cv_cc_needs_belf" >&6; }
8338  if test yes != "$lt_cv_cc_needs_belf"; then
8339    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8340    CFLAGS=$SAVE_CFLAGS
8341  fi
8342  ;;
8343*-*solaris*)
8344  # Find out what ABI is being produced by ac_compile, and set linker
8345  # options accordingly.
8346  echo 'int i;' > conftest.$ac_ext
8347  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8348  (eval $ac_compile) 2>&5
8349  ac_status=$?
8350  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8351  test $ac_status = 0; }; then
8352    case `/usr/bin/file conftest.o` in
8353    *64-bit*)
8354      case $lt_cv_prog_gnu_ld in
8355      yes*)
8356        case $host in
8357        i?86-*-solaris*|x86_64-*-solaris*)
8358          LD="${LD-ld} -m elf_x86_64"
8359          ;;
8360        sparc*-*-solaris*)
8361          LD="${LD-ld} -m elf64_sparc"
8362          ;;
8363        esac
8364        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
8365        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
8366          LD=${LD-ld}_sol2
8367        fi
8368        ;;
8369      *)
8370	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8371	  LD="${LD-ld} -64"
8372	fi
8373	;;
8374      esac
8375      ;;
8376    esac
8377  fi
8378  rm -rf conftest*
8379  ;;
8380esac
8381
8382need_locks=$enable_libtool_lock
8383
8384if test -n "$ac_tool_prefix"; then
8385  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
8386set dummy ${ac_tool_prefix}mt; ac_word=$2
8387{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8388$as_echo_n "checking for $ac_word... " >&6; }
8389if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
8390  $as_echo_n "(cached) " >&6
8391else
8392  if test -n "$MANIFEST_TOOL"; then
8393  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
8394else
8395as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8396for as_dir in $PATH
8397do
8398  IFS=$as_save_IFS
8399  test -z "$as_dir" && as_dir=.
8400    for ac_exec_ext in '' $ac_executable_extensions; do
8401  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8402    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
8403    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8404    break 2
8405  fi
8406done
8407  done
8408IFS=$as_save_IFS
8409
8410fi
8411fi
8412MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
8413if test -n "$MANIFEST_TOOL"; then
8414  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
8415$as_echo "$MANIFEST_TOOL" >&6; }
8416else
8417  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8418$as_echo "no" >&6; }
8419fi
8420
8421
8422fi
8423if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
8424  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
8425  # Extract the first word of "mt", so it can be a program name with args.
8426set dummy mt; ac_word=$2
8427{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8428$as_echo_n "checking for $ac_word... " >&6; }
8429if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
8430  $as_echo_n "(cached) " >&6
8431else
8432  if test -n "$ac_ct_MANIFEST_TOOL"; then
8433  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
8434else
8435as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8436for as_dir in $PATH
8437do
8438  IFS=$as_save_IFS
8439  test -z "$as_dir" && as_dir=.
8440    for ac_exec_ext in '' $ac_executable_extensions; do
8441  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8442    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
8443    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8444    break 2
8445  fi
8446done
8447  done
8448IFS=$as_save_IFS
8449
8450fi
8451fi
8452ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
8453if test -n "$ac_ct_MANIFEST_TOOL"; then
8454  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
8455$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
8456else
8457  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8458$as_echo "no" >&6; }
8459fi
8460
8461  if test "x$ac_ct_MANIFEST_TOOL" = x; then
8462    MANIFEST_TOOL=":"
8463  else
8464    case $cross_compiling:$ac_tool_warned in
8465yes:)
8466{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8467$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8468ac_tool_warned=yes ;;
8469esac
8470    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
8471  fi
8472else
8473  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
8474fi
8475
8476test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
8477{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
8478$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
8479if ${lt_cv_path_mainfest_tool+:} false; then :
8480  $as_echo_n "(cached) " >&6
8481else
8482  lt_cv_path_mainfest_tool=no
8483  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
8484  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
8485  cat conftest.err >&5
8486  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
8487    lt_cv_path_mainfest_tool=yes
8488  fi
8489  rm -f conftest*
8490fi
8491{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
8492$as_echo "$lt_cv_path_mainfest_tool" >&6; }
8493if test yes != "$lt_cv_path_mainfest_tool"; then
8494  MANIFEST_TOOL=:
8495fi
8496
8497
8498
8499
8500
8501
8502  case $host_os in
8503    rhapsody* | darwin*)
8504    if test -n "$ac_tool_prefix"; then
8505  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8506set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8507{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8508$as_echo_n "checking for $ac_word... " >&6; }
8509if ${ac_cv_prog_DSYMUTIL+:} false; then :
8510  $as_echo_n "(cached) " >&6
8511else
8512  if test -n "$DSYMUTIL"; then
8513  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8514else
8515as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8516for as_dir in $PATH
8517do
8518  IFS=$as_save_IFS
8519  test -z "$as_dir" && as_dir=.
8520    for ac_exec_ext in '' $ac_executable_extensions; do
8521  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8522    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8523    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8524    break 2
8525  fi
8526done
8527  done
8528IFS=$as_save_IFS
8529
8530fi
8531fi
8532DSYMUTIL=$ac_cv_prog_DSYMUTIL
8533if test -n "$DSYMUTIL"; then
8534  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8535$as_echo "$DSYMUTIL" >&6; }
8536else
8537  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8538$as_echo "no" >&6; }
8539fi
8540
8541
8542fi
8543if test -z "$ac_cv_prog_DSYMUTIL"; then
8544  ac_ct_DSYMUTIL=$DSYMUTIL
8545  # Extract the first word of "dsymutil", so it can be a program name with args.
8546set dummy dsymutil; ac_word=$2
8547{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8548$as_echo_n "checking for $ac_word... " >&6; }
8549if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8550  $as_echo_n "(cached) " >&6
8551else
8552  if test -n "$ac_ct_DSYMUTIL"; then
8553  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8554else
8555as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8556for as_dir in $PATH
8557do
8558  IFS=$as_save_IFS
8559  test -z "$as_dir" && as_dir=.
8560    for ac_exec_ext in '' $ac_executable_extensions; do
8561  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8562    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8563    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8564    break 2
8565  fi
8566done
8567  done
8568IFS=$as_save_IFS
8569
8570fi
8571fi
8572ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8573if test -n "$ac_ct_DSYMUTIL"; then
8574  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8575$as_echo "$ac_ct_DSYMUTIL" >&6; }
8576else
8577  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8578$as_echo "no" >&6; }
8579fi
8580
8581  if test "x$ac_ct_DSYMUTIL" = x; then
8582    DSYMUTIL=":"
8583  else
8584    case $cross_compiling:$ac_tool_warned in
8585yes:)
8586{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8587$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8588ac_tool_warned=yes ;;
8589esac
8590    DSYMUTIL=$ac_ct_DSYMUTIL
8591  fi
8592else
8593  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8594fi
8595
8596    if test -n "$ac_tool_prefix"; then
8597  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8598set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8599{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8600$as_echo_n "checking for $ac_word... " >&6; }
8601if ${ac_cv_prog_NMEDIT+:} false; then :
8602  $as_echo_n "(cached) " >&6
8603else
8604  if test -n "$NMEDIT"; then
8605  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8606else
8607as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8608for as_dir in $PATH
8609do
8610  IFS=$as_save_IFS
8611  test -z "$as_dir" && as_dir=.
8612    for ac_exec_ext in '' $ac_executable_extensions; do
8613  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8614    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8615    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8616    break 2
8617  fi
8618done
8619  done
8620IFS=$as_save_IFS
8621
8622fi
8623fi
8624NMEDIT=$ac_cv_prog_NMEDIT
8625if test -n "$NMEDIT"; then
8626  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8627$as_echo "$NMEDIT" >&6; }
8628else
8629  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8630$as_echo "no" >&6; }
8631fi
8632
8633
8634fi
8635if test -z "$ac_cv_prog_NMEDIT"; then
8636  ac_ct_NMEDIT=$NMEDIT
8637  # Extract the first word of "nmedit", so it can be a program name with args.
8638set dummy nmedit; ac_word=$2
8639{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8640$as_echo_n "checking for $ac_word... " >&6; }
8641if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8642  $as_echo_n "(cached) " >&6
8643else
8644  if test -n "$ac_ct_NMEDIT"; then
8645  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8646else
8647as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8648for as_dir in $PATH
8649do
8650  IFS=$as_save_IFS
8651  test -z "$as_dir" && as_dir=.
8652    for ac_exec_ext in '' $ac_executable_extensions; do
8653  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8654    ac_cv_prog_ac_ct_NMEDIT="nmedit"
8655    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8656    break 2
8657  fi
8658done
8659  done
8660IFS=$as_save_IFS
8661
8662fi
8663fi
8664ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8665if test -n "$ac_ct_NMEDIT"; then
8666  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8667$as_echo "$ac_ct_NMEDIT" >&6; }
8668else
8669  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8670$as_echo "no" >&6; }
8671fi
8672
8673  if test "x$ac_ct_NMEDIT" = x; then
8674    NMEDIT=":"
8675  else
8676    case $cross_compiling:$ac_tool_warned in
8677yes:)
8678{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8679$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8680ac_tool_warned=yes ;;
8681esac
8682    NMEDIT=$ac_ct_NMEDIT
8683  fi
8684else
8685  NMEDIT="$ac_cv_prog_NMEDIT"
8686fi
8687
8688    if test -n "$ac_tool_prefix"; then
8689  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8690set dummy ${ac_tool_prefix}lipo; ac_word=$2
8691{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8692$as_echo_n "checking for $ac_word... " >&6; }
8693if ${ac_cv_prog_LIPO+:} false; then :
8694  $as_echo_n "(cached) " >&6
8695else
8696  if test -n "$LIPO"; then
8697  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8698else
8699as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8700for as_dir in $PATH
8701do
8702  IFS=$as_save_IFS
8703  test -z "$as_dir" && as_dir=.
8704    for ac_exec_ext in '' $ac_executable_extensions; do
8705  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8706    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8707    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8708    break 2
8709  fi
8710done
8711  done
8712IFS=$as_save_IFS
8713
8714fi
8715fi
8716LIPO=$ac_cv_prog_LIPO
8717if test -n "$LIPO"; then
8718  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8719$as_echo "$LIPO" >&6; }
8720else
8721  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8722$as_echo "no" >&6; }
8723fi
8724
8725
8726fi
8727if test -z "$ac_cv_prog_LIPO"; then
8728  ac_ct_LIPO=$LIPO
8729  # Extract the first word of "lipo", so it can be a program name with args.
8730set dummy lipo; ac_word=$2
8731{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8732$as_echo_n "checking for $ac_word... " >&6; }
8733if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8734  $as_echo_n "(cached) " >&6
8735else
8736  if test -n "$ac_ct_LIPO"; then
8737  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8738else
8739as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8740for as_dir in $PATH
8741do
8742  IFS=$as_save_IFS
8743  test -z "$as_dir" && as_dir=.
8744    for ac_exec_ext in '' $ac_executable_extensions; do
8745  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8746    ac_cv_prog_ac_ct_LIPO="lipo"
8747    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8748    break 2
8749  fi
8750done
8751  done
8752IFS=$as_save_IFS
8753
8754fi
8755fi
8756ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8757if test -n "$ac_ct_LIPO"; then
8758  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8759$as_echo "$ac_ct_LIPO" >&6; }
8760else
8761  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8762$as_echo "no" >&6; }
8763fi
8764
8765  if test "x$ac_ct_LIPO" = x; then
8766    LIPO=":"
8767  else
8768    case $cross_compiling:$ac_tool_warned in
8769yes:)
8770{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8771$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8772ac_tool_warned=yes ;;
8773esac
8774    LIPO=$ac_ct_LIPO
8775  fi
8776else
8777  LIPO="$ac_cv_prog_LIPO"
8778fi
8779
8780    if test -n "$ac_tool_prefix"; then
8781  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8782set dummy ${ac_tool_prefix}otool; ac_word=$2
8783{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8784$as_echo_n "checking for $ac_word... " >&6; }
8785if ${ac_cv_prog_OTOOL+:} false; then :
8786  $as_echo_n "(cached) " >&6
8787else
8788  if test -n "$OTOOL"; then
8789  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8790else
8791as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8792for as_dir in $PATH
8793do
8794  IFS=$as_save_IFS
8795  test -z "$as_dir" && as_dir=.
8796    for ac_exec_ext in '' $ac_executable_extensions; do
8797  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8798    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8799    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8800    break 2
8801  fi
8802done
8803  done
8804IFS=$as_save_IFS
8805
8806fi
8807fi
8808OTOOL=$ac_cv_prog_OTOOL
8809if test -n "$OTOOL"; then
8810  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8811$as_echo "$OTOOL" >&6; }
8812else
8813  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8814$as_echo "no" >&6; }
8815fi
8816
8817
8818fi
8819if test -z "$ac_cv_prog_OTOOL"; then
8820  ac_ct_OTOOL=$OTOOL
8821  # Extract the first word of "otool", so it can be a program name with args.
8822set dummy otool; ac_word=$2
8823{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8824$as_echo_n "checking for $ac_word... " >&6; }
8825if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8826  $as_echo_n "(cached) " >&6
8827else
8828  if test -n "$ac_ct_OTOOL"; then
8829  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8830else
8831as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8832for as_dir in $PATH
8833do
8834  IFS=$as_save_IFS
8835  test -z "$as_dir" && as_dir=.
8836    for ac_exec_ext in '' $ac_executable_extensions; do
8837  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8838    ac_cv_prog_ac_ct_OTOOL="otool"
8839    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8840    break 2
8841  fi
8842done
8843  done
8844IFS=$as_save_IFS
8845
8846fi
8847fi
8848ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8849if test -n "$ac_ct_OTOOL"; then
8850  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8851$as_echo "$ac_ct_OTOOL" >&6; }
8852else
8853  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8854$as_echo "no" >&6; }
8855fi
8856
8857  if test "x$ac_ct_OTOOL" = x; then
8858    OTOOL=":"
8859  else
8860    case $cross_compiling:$ac_tool_warned in
8861yes:)
8862{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8863$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8864ac_tool_warned=yes ;;
8865esac
8866    OTOOL=$ac_ct_OTOOL
8867  fi
8868else
8869  OTOOL="$ac_cv_prog_OTOOL"
8870fi
8871
8872    if test -n "$ac_tool_prefix"; then
8873  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8874set dummy ${ac_tool_prefix}otool64; ac_word=$2
8875{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8876$as_echo_n "checking for $ac_word... " >&6; }
8877if ${ac_cv_prog_OTOOL64+:} false; then :
8878  $as_echo_n "(cached) " >&6
8879else
8880  if test -n "$OTOOL64"; then
8881  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8882else
8883as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8884for as_dir in $PATH
8885do
8886  IFS=$as_save_IFS
8887  test -z "$as_dir" && as_dir=.
8888    for ac_exec_ext in '' $ac_executable_extensions; do
8889  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8890    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8891    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8892    break 2
8893  fi
8894done
8895  done
8896IFS=$as_save_IFS
8897
8898fi
8899fi
8900OTOOL64=$ac_cv_prog_OTOOL64
8901if test -n "$OTOOL64"; then
8902  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8903$as_echo "$OTOOL64" >&6; }
8904else
8905  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8906$as_echo "no" >&6; }
8907fi
8908
8909
8910fi
8911if test -z "$ac_cv_prog_OTOOL64"; then
8912  ac_ct_OTOOL64=$OTOOL64
8913  # Extract the first word of "otool64", so it can be a program name with args.
8914set dummy otool64; ac_word=$2
8915{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8916$as_echo_n "checking for $ac_word... " >&6; }
8917if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8918  $as_echo_n "(cached) " >&6
8919else
8920  if test -n "$ac_ct_OTOOL64"; then
8921  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8922else
8923as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8924for as_dir in $PATH
8925do
8926  IFS=$as_save_IFS
8927  test -z "$as_dir" && as_dir=.
8928    for ac_exec_ext in '' $ac_executable_extensions; do
8929  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8930    ac_cv_prog_ac_ct_OTOOL64="otool64"
8931    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8932    break 2
8933  fi
8934done
8935  done
8936IFS=$as_save_IFS
8937
8938fi
8939fi
8940ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8941if test -n "$ac_ct_OTOOL64"; then
8942  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8943$as_echo "$ac_ct_OTOOL64" >&6; }
8944else
8945  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8946$as_echo "no" >&6; }
8947fi
8948
8949  if test "x$ac_ct_OTOOL64" = x; then
8950    OTOOL64=":"
8951  else
8952    case $cross_compiling:$ac_tool_warned in
8953yes:)
8954{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8955$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8956ac_tool_warned=yes ;;
8957esac
8958    OTOOL64=$ac_ct_OTOOL64
8959  fi
8960else
8961  OTOOL64="$ac_cv_prog_OTOOL64"
8962fi
8963
8964
8965
8966
8967
8968
8969
8970
8971
8972
8973
8974
8975
8976
8977
8978
8979
8980
8981
8982
8983
8984
8985
8986
8987
8988
8989
8990    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8991$as_echo_n "checking for -single_module linker flag... " >&6; }
8992if ${lt_cv_apple_cc_single_mod+:} false; then :
8993  $as_echo_n "(cached) " >&6
8994else
8995  lt_cv_apple_cc_single_mod=no
8996      if test -z "$LT_MULTI_MODULE"; then
8997	# By default we will add the -single_module flag. You can override
8998	# by either setting the environment variable LT_MULTI_MODULE
8999	# non-empty at configure time, or by adding -multi_module to the
9000	# link flags.
9001	rm -rf libconftest.dylib*
9002	echo "int foo(void){return 1;}" > conftest.c
9003	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9004-dynamiclib -Wl,-single_module conftest.c" >&5
9005	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9006	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
9007        _lt_result=$?
9008	# If there is a non-empty error log, and "single_module"
9009	# appears in it, assume the flag caused a linker warning
9010        if test -s conftest.err && $GREP single_module conftest.err; then
9011	  cat conftest.err >&5
9012	# Otherwise, if the output was created with a 0 exit code from
9013	# the compiler, it worked.
9014	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
9015	  lt_cv_apple_cc_single_mod=yes
9016	else
9017	  cat conftest.err >&5
9018	fi
9019	rm -rf libconftest.dylib*
9020	rm -f conftest.*
9021      fi
9022fi
9023{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
9024$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
9025
9026    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
9027$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
9028if ${lt_cv_ld_exported_symbols_list+:} false; then :
9029  $as_echo_n "(cached) " >&6
9030else
9031  lt_cv_ld_exported_symbols_list=no
9032      save_LDFLAGS=$LDFLAGS
9033      echo "_main" > conftest.sym
9034      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
9035      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9036/* end confdefs.h.  */
9037
9038int
9039main ()
9040{
9041
9042  ;
9043  return 0;
9044}
9045_ACEOF
9046if ac_fn_c_try_link "$LINENO"; then :
9047  lt_cv_ld_exported_symbols_list=yes
9048else
9049  lt_cv_ld_exported_symbols_list=no
9050fi
9051rm -f core conftest.err conftest.$ac_objext \
9052    conftest$ac_exeext conftest.$ac_ext
9053	LDFLAGS=$save_LDFLAGS
9054
9055fi
9056{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
9057$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
9058
9059    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
9060$as_echo_n "checking for -force_load linker flag... " >&6; }
9061if ${lt_cv_ld_force_load+:} false; then :
9062  $as_echo_n "(cached) " >&6
9063else
9064  lt_cv_ld_force_load=no
9065      cat > conftest.c << _LT_EOF
9066int forced_loaded() { return 2;}
9067_LT_EOF
9068      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
9069      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
9070      echo "$AR cru libconftest.a conftest.o" >&5
9071      $AR cru libconftest.a conftest.o 2>&5
9072      echo "$RANLIB libconftest.a" >&5
9073      $RANLIB libconftest.a 2>&5
9074      cat > conftest.c << _LT_EOF
9075int main() { return 0;}
9076_LT_EOF
9077      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
9078      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
9079      _lt_result=$?
9080      if test -s conftest.err && $GREP force_load conftest.err; then
9081	cat conftest.err >&5
9082      elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
9083	lt_cv_ld_force_load=yes
9084      else
9085	cat conftest.err >&5
9086      fi
9087        rm -f conftest.err libconftest.a conftest conftest.c
9088        rm -rf conftest.dSYM
9089
9090fi
9091{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
9092$as_echo "$lt_cv_ld_force_load" >&6; }
9093    case $host_os in
9094    rhapsody* | darwin1.[012])
9095      _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
9096    darwin1.*)
9097      _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
9098    darwin*) # darwin 5.x on
9099      # if running on 10.5 or later, the deployment target defaults
9100      # to the OS version, if on x86, and 10.4, the deployment
9101      # target defaults to 10.4. Don't you love it?
9102      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
9103	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
9104	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
9105	10.[012][,.]*)
9106	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
9107	10.*)
9108	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
9109      esac
9110    ;;
9111  esac
9112    if test yes = "$lt_cv_apple_cc_single_mod"; then
9113      _lt_dar_single_mod='$single_module'
9114    fi
9115    if test yes = "$lt_cv_ld_exported_symbols_list"; then
9116      _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
9117    else
9118      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
9119    fi
9120    if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
9121      _lt_dsymutil='~$DSYMUTIL $lib || :'
9122    else
9123      _lt_dsymutil=
9124    fi
9125    ;;
9126  esac
9127
9128# func_munge_path_list VARIABLE PATH
9129# -----------------------------------
9130# VARIABLE is name of variable containing _space_ separated list of
9131# directories to be munged by the contents of PATH, which is string
9132# having a format:
9133# "DIR[:DIR]:"
9134#       string "DIR[ DIR]" will be prepended to VARIABLE
9135# ":DIR[:DIR]"
9136#       string "DIR[ DIR]" will be appended to VARIABLE
9137# "DIRP[:DIRP]::[DIRA:]DIRA"
9138#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
9139#       "DIRA[ DIRA]" will be appended to VARIABLE
9140# "DIR[:DIR]"
9141#       VARIABLE will be replaced by "DIR[ DIR]"
9142func_munge_path_list ()
9143{
9144    case x$2 in
9145    x)
9146        ;;
9147    *:)
9148        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
9149        ;;
9150    x:*)
9151        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
9152        ;;
9153    *::*)
9154        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
9155        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
9156        ;;
9157    *)
9158        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
9159        ;;
9160    esac
9161}
9162
9163# On IRIX 5.3, sys/types and inttypes.h are conflicting.
9164for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
9165		  inttypes.h stdint.h unistd.h
9166do :
9167  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9168ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
9169"
9170if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9171  cat >>confdefs.h <<_ACEOF
9172#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9173_ACEOF
9174
9175fi
9176
9177done
9178
9179
9180for ac_header in dlfcn.h
9181do :
9182  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
9183"
9184if test "x$ac_cv_header_dlfcn_h" = xyes; then :
9185  cat >>confdefs.h <<_ACEOF
9186#define HAVE_DLFCN_H 1
9187_ACEOF
9188
9189fi
9190
9191done
9192
9193
9194
9195
9196
9197# Set options
9198
9199
9200
9201        enable_dlopen=no
9202
9203
9204  enable_win32_dll=no
9205
9206
9207            # Check whether --enable-shared was given.
9208if test "${enable_shared+set}" = set; then :
9209  enableval=$enable_shared; p=${PACKAGE-default}
9210    case $enableval in
9211    yes) enable_shared=yes ;;
9212    no) enable_shared=no ;;
9213    *)
9214      enable_shared=no
9215      # Look at the argument we got.  We use all the common list separators.
9216      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9217      for pkg in $enableval; do
9218	IFS=$lt_save_ifs
9219	if test "X$pkg" = "X$p"; then
9220	  enable_shared=yes
9221	fi
9222      done
9223      IFS=$lt_save_ifs
9224      ;;
9225    esac
9226else
9227  enable_shared=yes
9228fi
9229
9230
9231
9232
9233
9234
9235
9236
9237
9238  # Check whether --enable-static was given.
9239if test "${enable_static+set}" = set; then :
9240  enableval=$enable_static; p=${PACKAGE-default}
9241    case $enableval in
9242    yes) enable_static=yes ;;
9243    no) enable_static=no ;;
9244    *)
9245     enable_static=no
9246      # Look at the argument we got.  We use all the common list separators.
9247      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9248      for pkg in $enableval; do
9249	IFS=$lt_save_ifs
9250	if test "X$pkg" = "X$p"; then
9251	  enable_static=yes
9252	fi
9253      done
9254      IFS=$lt_save_ifs
9255      ;;
9256    esac
9257else
9258  enable_static=yes
9259fi
9260
9261
9262
9263
9264
9265
9266
9267
9268
9269
9270# Check whether --with-pic was given.
9271if test "${with_pic+set}" = set; then :
9272  withval=$with_pic; lt_p=${PACKAGE-default}
9273    case $withval in
9274    yes|no) pic_mode=$withval ;;
9275    *)
9276      pic_mode=default
9277      # Look at the argument we got.  We use all the common list separators.
9278      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9279      for lt_pkg in $withval; do
9280	IFS=$lt_save_ifs
9281	if test "X$lt_pkg" = "X$lt_p"; then
9282	  pic_mode=yes
9283	fi
9284      done
9285      IFS=$lt_save_ifs
9286      ;;
9287    esac
9288else
9289  pic_mode=default
9290fi
9291
9292
9293
9294
9295
9296
9297
9298
9299  # Check whether --enable-fast-install was given.
9300if test "${enable_fast_install+set}" = set; then :
9301  enableval=$enable_fast_install; p=${PACKAGE-default}
9302    case $enableval in
9303    yes) enable_fast_install=yes ;;
9304    no) enable_fast_install=no ;;
9305    *)
9306      enable_fast_install=no
9307      # Look at the argument we got.  We use all the common list separators.
9308      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9309      for pkg in $enableval; do
9310	IFS=$lt_save_ifs
9311	if test "X$pkg" = "X$p"; then
9312	  enable_fast_install=yes
9313	fi
9314      done
9315      IFS=$lt_save_ifs
9316      ;;
9317    esac
9318else
9319  enable_fast_install=yes
9320fi
9321
9322
9323
9324
9325
9326
9327
9328
9329  shared_archive_member_spec=
9330case $host,$enable_shared in
9331power*-*-aix[5-9]*,yes)
9332  { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
9333$as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
9334
9335# Check whether --with-aix-soname was given.
9336if test "${with_aix_soname+set}" = set; then :
9337  withval=$with_aix_soname; case $withval in
9338    aix|svr4|both)
9339      ;;
9340    *)
9341      as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
9342      ;;
9343    esac
9344    lt_cv_with_aix_soname=$with_aix_soname
9345else
9346  if ${lt_cv_with_aix_soname+:} false; then :
9347  $as_echo_n "(cached) " >&6
9348else
9349  lt_cv_with_aix_soname=aix
9350fi
9351
9352    with_aix_soname=$lt_cv_with_aix_soname
9353fi
9354
9355  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
9356$as_echo "$with_aix_soname" >&6; }
9357  if test aix != "$with_aix_soname"; then
9358    # For the AIX way of multilib, we name the shared archive member
9359    # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
9360    # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
9361    # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
9362    # the AIX toolchain works better with OBJECT_MODE set (default 32).
9363    if test 64 = "${OBJECT_MODE-32}"; then
9364      shared_archive_member_spec=shr_64
9365    else
9366      shared_archive_member_spec=shr
9367    fi
9368  fi
9369  ;;
9370*)
9371  with_aix_soname=aix
9372  ;;
9373esac
9374
9375
9376
9377
9378
9379
9380
9381
9382
9383
9384# This can be used to rebuild libtool when needed
9385LIBTOOL_DEPS=$ltmain
9386
9387# Always use our own libtool.
9388LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9389
9390
9391
9392
9393
9394
9395
9396
9397
9398
9399
9400
9401
9402
9403
9404
9405
9406
9407
9408
9409
9410
9411
9412
9413
9414
9415
9416
9417
9418
9419test -z "$LN_S" && LN_S="ln -s"
9420
9421
9422
9423
9424
9425
9426
9427
9428
9429
9430
9431
9432
9433
9434if test -n "${ZSH_VERSION+set}"; then
9435   setopt NO_GLOB_SUBST
9436fi
9437
9438{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9439$as_echo_n "checking for objdir... " >&6; }
9440if ${lt_cv_objdir+:} false; then :
9441  $as_echo_n "(cached) " >&6
9442else
9443  rm -f .libs 2>/dev/null
9444mkdir .libs 2>/dev/null
9445if test -d .libs; then
9446  lt_cv_objdir=.libs
9447else
9448  # MS-DOS does not allow filenames that begin with a dot.
9449  lt_cv_objdir=_libs
9450fi
9451rmdir .libs 2>/dev/null
9452fi
9453{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9454$as_echo "$lt_cv_objdir" >&6; }
9455objdir=$lt_cv_objdir
9456
9457
9458
9459
9460
9461cat >>confdefs.h <<_ACEOF
9462#define LT_OBJDIR "$lt_cv_objdir/"
9463_ACEOF
9464
9465
9466
9467
9468case $host_os in
9469aix3*)
9470  # AIX sometimes has problems with the GCC collect2 program.  For some
9471  # reason, if we set the COLLECT_NAMES environment variable, the problems
9472  # vanish in a puff of smoke.
9473  if test set != "${COLLECT_NAMES+set}"; then
9474    COLLECT_NAMES=
9475    export COLLECT_NAMES
9476  fi
9477  ;;
9478esac
9479
9480# Global variables:
9481ofile=libtool
9482can_build_shared=yes
9483
9484# All known linkers require a '.a' archive for static linking (except MSVC,
9485# which needs '.lib').
9486libext=a
9487
9488with_gnu_ld=$lt_cv_prog_gnu_ld
9489
9490old_CC=$CC
9491old_CFLAGS=$CFLAGS
9492
9493# Set sane defaults for various variables
9494test -z "$CC" && CC=cc
9495test -z "$LTCC" && LTCC=$CC
9496test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9497test -z "$LD" && LD=ld
9498test -z "$ac_objext" && ac_objext=o
9499
9500func_cc_basename $compiler
9501cc_basename=$func_cc_basename_result
9502
9503
9504# Only perform the check for file, if the check method requires it
9505test -z "$MAGIC_CMD" && MAGIC_CMD=file
9506case $deplibs_check_method in
9507file_magic*)
9508  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9509    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9510$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9511if ${lt_cv_path_MAGIC_CMD+:} false; then :
9512  $as_echo_n "(cached) " >&6
9513else
9514  case $MAGIC_CMD in
9515[\\/*] |  ?:[\\/]*)
9516  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
9517  ;;
9518*)
9519  lt_save_MAGIC_CMD=$MAGIC_CMD
9520  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
9521  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9522  for ac_dir in $ac_dummy; do
9523    IFS=$lt_save_ifs
9524    test -z "$ac_dir" && ac_dir=.
9525    if test -f "$ac_dir/${ac_tool_prefix}file"; then
9526      lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
9527      if test -n "$file_magic_test_file"; then
9528	case $deplibs_check_method in
9529	"file_magic "*)
9530	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9531	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9532	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9533	    $EGREP "$file_magic_regex" > /dev/null; then
9534	    :
9535	  else
9536	    cat <<_LT_EOF 1>&2
9537
9538*** Warning: the command libtool uses to detect shared libraries,
9539*** $file_magic_cmd, produces output that libtool cannot recognize.
9540*** The result is that libtool may fail to recognize shared libraries
9541*** as such.  This will affect the creation of libtool libraries that
9542*** depend on shared libraries, but programs linked with such libtool
9543*** libraries will work regardless of this problem.  Nevertheless, you
9544*** may want to report the problem to your system manager and/or to
9545*** bug-libtool@gnu.org
9546
9547_LT_EOF
9548	  fi ;;
9549	esac
9550      fi
9551      break
9552    fi
9553  done
9554  IFS=$lt_save_ifs
9555  MAGIC_CMD=$lt_save_MAGIC_CMD
9556  ;;
9557esac
9558fi
9559
9560MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9561if test -n "$MAGIC_CMD"; then
9562  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9563$as_echo "$MAGIC_CMD" >&6; }
9564else
9565  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9566$as_echo "no" >&6; }
9567fi
9568
9569
9570
9571
9572
9573if test -z "$lt_cv_path_MAGIC_CMD"; then
9574  if test -n "$ac_tool_prefix"; then
9575    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9576$as_echo_n "checking for file... " >&6; }
9577if ${lt_cv_path_MAGIC_CMD+:} false; then :
9578  $as_echo_n "(cached) " >&6
9579else
9580  case $MAGIC_CMD in
9581[\\/*] |  ?:[\\/]*)
9582  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
9583  ;;
9584*)
9585  lt_save_MAGIC_CMD=$MAGIC_CMD
9586  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
9587  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9588  for ac_dir in $ac_dummy; do
9589    IFS=$lt_save_ifs
9590    test -z "$ac_dir" && ac_dir=.
9591    if test -f "$ac_dir/file"; then
9592      lt_cv_path_MAGIC_CMD=$ac_dir/"file"
9593      if test -n "$file_magic_test_file"; then
9594	case $deplibs_check_method in
9595	"file_magic "*)
9596	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9597	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9598	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9599	    $EGREP "$file_magic_regex" > /dev/null; then
9600	    :
9601	  else
9602	    cat <<_LT_EOF 1>&2
9603
9604*** Warning: the command libtool uses to detect shared libraries,
9605*** $file_magic_cmd, produces output that libtool cannot recognize.
9606*** The result is that libtool may fail to recognize shared libraries
9607*** as such.  This will affect the creation of libtool libraries that
9608*** depend on shared libraries, but programs linked with such libtool
9609*** libraries will work regardless of this problem.  Nevertheless, you
9610*** may want to report the problem to your system manager and/or to
9611*** bug-libtool@gnu.org
9612
9613_LT_EOF
9614	  fi ;;
9615	esac
9616      fi
9617      break
9618    fi
9619  done
9620  IFS=$lt_save_ifs
9621  MAGIC_CMD=$lt_save_MAGIC_CMD
9622  ;;
9623esac
9624fi
9625
9626MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9627if test -n "$MAGIC_CMD"; then
9628  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9629$as_echo "$MAGIC_CMD" >&6; }
9630else
9631  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9632$as_echo "no" >&6; }
9633fi
9634
9635
9636  else
9637    MAGIC_CMD=:
9638  fi
9639fi
9640
9641  fi
9642  ;;
9643esac
9644
9645# Use C for the default configuration in the libtool script
9646
9647lt_save_CC=$CC
9648ac_ext=c
9649ac_cpp='$CPP $CPPFLAGS'
9650ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9651ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9652ac_compiler_gnu=$ac_cv_c_compiler_gnu
9653
9654
9655# Source file extension for C test sources.
9656ac_ext=c
9657
9658# Object file extension for compiled C test sources.
9659objext=o
9660objext=$objext
9661
9662# Code to be used in simple compile tests
9663lt_simple_compile_test_code="int some_variable = 0;"
9664
9665# Code to be used in simple link tests
9666lt_simple_link_test_code='int main(){return(0);}'
9667
9668
9669
9670
9671
9672
9673
9674# If no C compiler was specified, use CC.
9675LTCC=${LTCC-"$CC"}
9676
9677# If no C compiler flags were specified, use CFLAGS.
9678LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9679
9680# Allow CC to be a program name with arguments.
9681compiler=$CC
9682
9683# Save the default compiler, since it gets overwritten when the other
9684# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9685compiler_DEFAULT=$CC
9686
9687# save warnings/boilerplate of simple test code
9688ac_outfile=conftest.$ac_objext
9689echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9690eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9691_lt_compiler_boilerplate=`cat conftest.err`
9692$RM conftest*
9693
9694ac_outfile=conftest.$ac_objext
9695echo "$lt_simple_link_test_code" >conftest.$ac_ext
9696eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9697_lt_linker_boilerplate=`cat conftest.err`
9698$RM -r conftest*
9699
9700
9701## CAVEAT EMPTOR:
9702## There is no encapsulation within the following macros, do not change
9703## the running order or otherwise move them around unless you know exactly
9704## what you are doing...
9705if test -n "$compiler"; then
9706
9707lt_prog_compiler_no_builtin_flag=
9708
9709if test yes = "$GCC"; then
9710  case $cc_basename in
9711  nvcc*)
9712    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9713  *)
9714    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9715  esac
9716
9717  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9718$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9719if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9720  $as_echo_n "(cached) " >&6
9721else
9722  lt_cv_prog_compiler_rtti_exceptions=no
9723   ac_outfile=conftest.$ac_objext
9724   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9725   lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
9726   # Insert the option either (1) after the last *FLAGS variable, or
9727   # (2) before a word containing "conftest.", or (3) at the end.
9728   # Note that $ac_compile itself does not contain backslashes and begins
9729   # with a dollar sign (not a hyphen), so the echo should work correctly.
9730   # The option is referenced via a variable to avoid confusing sed.
9731   lt_compile=`echo "$ac_compile" | $SED \
9732   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9733   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9734   -e 's:$: $lt_compiler_flag:'`
9735   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9736   (eval "$lt_compile" 2>conftest.err)
9737   ac_status=$?
9738   cat conftest.err >&5
9739   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9740   if (exit $ac_status) && test -s "$ac_outfile"; then
9741     # The compiler can only warn and ignore the option if not recognized
9742     # So say no if there are warnings other than the usual output.
9743     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9744     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9745     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9746       lt_cv_prog_compiler_rtti_exceptions=yes
9747     fi
9748   fi
9749   $RM conftest*
9750
9751fi
9752{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9753$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9754
9755if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
9756    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9757else
9758    :
9759fi
9760
9761fi
9762
9763
9764
9765
9766
9767
9768  lt_prog_compiler_wl=
9769lt_prog_compiler_pic=
9770lt_prog_compiler_static=
9771
9772
9773  if test yes = "$GCC"; then
9774    lt_prog_compiler_wl='-Wl,'
9775    lt_prog_compiler_static='-static'
9776
9777    case $host_os in
9778      aix*)
9779      # All AIX code is PIC.
9780      if test ia64 = "$host_cpu"; then
9781	# AIX 5 now supports IA64 processor
9782	lt_prog_compiler_static='-Bstatic'
9783      fi
9784      lt_prog_compiler_pic='-fPIC'
9785      ;;
9786
9787    amigaos*)
9788      case $host_cpu in
9789      powerpc)
9790            # see comment about AmigaOS4 .so support
9791            lt_prog_compiler_pic='-fPIC'
9792        ;;
9793      m68k)
9794            # FIXME: we need at least 68020 code to build shared libraries, but
9795            # adding the '-m68020' flag to GCC prevents building anything better,
9796            # like '-m68040'.
9797            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9798        ;;
9799      esac
9800      ;;
9801
9802    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9803      # PIC is the default for these OSes.
9804      ;;
9805
9806    mingw* | cygwin* | pw32* | os2* | cegcc*)
9807      # This hack is so that the source file can tell whether it is being
9808      # built for inclusion in a dll (and should export symbols for example).
9809      # Although the cygwin gcc ignores -fPIC, still need this for old-style
9810      # (--disable-auto-import) libraries
9811      lt_prog_compiler_pic='-DDLL_EXPORT'
9812      case $host_os in
9813      os2*)
9814	lt_prog_compiler_static='$wl-static'
9815	;;
9816      esac
9817      ;;
9818
9819    darwin* | rhapsody*)
9820      # PIC is the default on this platform
9821      # Common symbols not allowed in MH_DYLIB files
9822      lt_prog_compiler_pic='-fno-common'
9823      ;;
9824
9825    haiku*)
9826      # PIC is the default for Haiku.
9827      # The "-static" flag exists, but is broken.
9828      lt_prog_compiler_static=
9829      ;;
9830
9831    hpux*)
9832      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9833      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
9834      # sets the default TLS model and affects inlining.
9835      case $host_cpu in
9836      hppa*64*)
9837	# +Z the default
9838	;;
9839      *)
9840	lt_prog_compiler_pic='-fPIC'
9841	;;
9842      esac
9843      ;;
9844
9845    interix[3-9]*)
9846      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9847      # Instead, we relocate shared libraries at runtime.
9848      ;;
9849
9850    msdosdjgpp*)
9851      # Just because we use GCC doesn't mean we suddenly get shared libraries
9852      # on systems that don't support them.
9853      lt_prog_compiler_can_build_shared=no
9854      enable_shared=no
9855      ;;
9856
9857    *nto* | *qnx*)
9858      # QNX uses GNU C++, but need to define -shared option too, otherwise
9859      # it will coredump.
9860      lt_prog_compiler_pic='-fPIC -shared'
9861      ;;
9862
9863    sysv4*MP*)
9864      if test -d /usr/nec; then
9865	lt_prog_compiler_pic=-Kconform_pic
9866      fi
9867      ;;
9868
9869    *)
9870      lt_prog_compiler_pic='-fPIC'
9871      ;;
9872    esac
9873
9874    case $cc_basename in
9875    nvcc*) # Cuda Compiler Driver 2.2
9876      lt_prog_compiler_wl='-Xlinker '
9877      if test -n "$lt_prog_compiler_pic"; then
9878        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
9879      fi
9880      ;;
9881    esac
9882  else
9883    # PORTME Check for flag to pass linker flags through the system compiler.
9884    case $host_os in
9885    aix*)
9886      lt_prog_compiler_wl='-Wl,'
9887      if test ia64 = "$host_cpu"; then
9888	# AIX 5 now supports IA64 processor
9889	lt_prog_compiler_static='-Bstatic'
9890      else
9891	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9892      fi
9893      ;;
9894
9895    darwin* | rhapsody*)
9896      # PIC is the default on this platform
9897      # Common symbols not allowed in MH_DYLIB files
9898      lt_prog_compiler_pic='-fno-common'
9899      case $cc_basename in
9900      nagfor*)
9901        # NAG Fortran compiler
9902        lt_prog_compiler_wl='-Wl,-Wl,,'
9903        lt_prog_compiler_pic='-PIC'
9904        lt_prog_compiler_static='-Bstatic'
9905        ;;
9906      esac
9907      ;;
9908
9909    mingw* | cygwin* | pw32* | os2* | cegcc*)
9910      # This hack is so that the source file can tell whether it is being
9911      # built for inclusion in a dll (and should export symbols for example).
9912      lt_prog_compiler_pic='-DDLL_EXPORT'
9913      case $host_os in
9914      os2*)
9915	lt_prog_compiler_static='$wl-static'
9916	;;
9917      esac
9918      ;;
9919
9920    hpux9* | hpux10* | hpux11*)
9921      lt_prog_compiler_wl='-Wl,'
9922      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9923      # not for PA HP-UX.
9924      case $host_cpu in
9925      hppa*64*|ia64*)
9926	# +Z the default
9927	;;
9928      *)
9929	lt_prog_compiler_pic='+Z'
9930	;;
9931      esac
9932      # Is there a better lt_prog_compiler_static that works with the bundled CC?
9933      lt_prog_compiler_static='$wl-a ${wl}archive'
9934      ;;
9935
9936    irix5* | irix6* | nonstopux*)
9937      lt_prog_compiler_wl='-Wl,'
9938      # PIC (with -KPIC) is the default.
9939      lt_prog_compiler_static='-non_shared'
9940      ;;
9941
9942    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
9943      case $cc_basename in
9944      # old Intel for x86_64, which still supported -KPIC.
9945      ecc*)
9946	lt_prog_compiler_wl='-Wl,'
9947	lt_prog_compiler_pic='-KPIC'
9948	lt_prog_compiler_static='-static'
9949        ;;
9950      # icc used to be incompatible with GCC.
9951      # ICC 10 doesn't accept -KPIC any more.
9952      icc* | ifort*)
9953	lt_prog_compiler_wl='-Wl,'
9954	lt_prog_compiler_pic='-fPIC'
9955	lt_prog_compiler_static='-static'
9956        ;;
9957      # Lahey Fortran 8.1.
9958      lf95*)
9959	lt_prog_compiler_wl='-Wl,'
9960	lt_prog_compiler_pic='--shared'
9961	lt_prog_compiler_static='--static'
9962	;;
9963      nagfor*)
9964	# NAG Fortran compiler
9965	lt_prog_compiler_wl='-Wl,-Wl,,'
9966	lt_prog_compiler_pic='-PIC'
9967	lt_prog_compiler_static='-Bstatic'
9968	;;
9969      tcc*)
9970	# Fabrice Bellard et al's Tiny C Compiler
9971	lt_prog_compiler_wl='-Wl,'
9972	lt_prog_compiler_pic='-fPIC'
9973	lt_prog_compiler_static='-static'
9974	;;
9975      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9976        # Portland Group compilers (*not* the Pentium gcc compiler,
9977	# which looks to be a dead project)
9978	lt_prog_compiler_wl='-Wl,'
9979	lt_prog_compiler_pic='-fpic'
9980	lt_prog_compiler_static='-Bstatic'
9981        ;;
9982      ccc*)
9983        lt_prog_compiler_wl='-Wl,'
9984        # All Alpha code is PIC.
9985        lt_prog_compiler_static='-non_shared'
9986        ;;
9987      xl* | bgxl* | bgf* | mpixl*)
9988	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9989	lt_prog_compiler_wl='-Wl,'
9990	lt_prog_compiler_pic='-qpic'
9991	lt_prog_compiler_static='-qstaticlink'
9992	;;
9993      *)
9994	case `$CC -V 2>&1 | sed 5q` in
9995	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9996	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
9997	  lt_prog_compiler_pic='-KPIC'
9998	  lt_prog_compiler_static='-Bstatic'
9999	  lt_prog_compiler_wl=''
10000	  ;;
10001	*Sun\ F* | *Sun*Fortran*)
10002	  lt_prog_compiler_pic='-KPIC'
10003	  lt_prog_compiler_static='-Bstatic'
10004	  lt_prog_compiler_wl='-Qoption ld '
10005	  ;;
10006	*Sun\ C*)
10007	  # Sun C 5.9
10008	  lt_prog_compiler_pic='-KPIC'
10009	  lt_prog_compiler_static='-Bstatic'
10010	  lt_prog_compiler_wl='-Wl,'
10011	  ;;
10012        *Intel*\ [CF]*Compiler*)
10013	  lt_prog_compiler_wl='-Wl,'
10014	  lt_prog_compiler_pic='-fPIC'
10015	  lt_prog_compiler_static='-static'
10016	  ;;
10017	*Portland\ Group*)
10018	  lt_prog_compiler_wl='-Wl,'
10019	  lt_prog_compiler_pic='-fpic'
10020	  lt_prog_compiler_static='-Bstatic'
10021	  ;;
10022	esac
10023	;;
10024      esac
10025      ;;
10026
10027    newsos6)
10028      lt_prog_compiler_pic='-KPIC'
10029      lt_prog_compiler_static='-Bstatic'
10030      ;;
10031
10032    *nto* | *qnx*)
10033      # QNX uses GNU C++, but need to define -shared option too, otherwise
10034      # it will coredump.
10035      lt_prog_compiler_pic='-fPIC -shared'
10036      ;;
10037
10038    osf3* | osf4* | osf5*)
10039      lt_prog_compiler_wl='-Wl,'
10040      # All OSF/1 code is PIC.
10041      lt_prog_compiler_static='-non_shared'
10042      ;;
10043
10044    rdos*)
10045      lt_prog_compiler_static='-non_shared'
10046      ;;
10047
10048    solaris*)
10049      lt_prog_compiler_pic='-KPIC'
10050      lt_prog_compiler_static='-Bstatic'
10051      case $cc_basename in
10052      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
10053	lt_prog_compiler_wl='-Qoption ld ';;
10054      *)
10055	lt_prog_compiler_wl='-Wl,';;
10056      esac
10057      ;;
10058
10059    sunos4*)
10060      lt_prog_compiler_wl='-Qoption ld '
10061      lt_prog_compiler_pic='-PIC'
10062      lt_prog_compiler_static='-Bstatic'
10063      ;;
10064
10065    sysv4 | sysv4.2uw2* | sysv4.3*)
10066      lt_prog_compiler_wl='-Wl,'
10067      lt_prog_compiler_pic='-KPIC'
10068      lt_prog_compiler_static='-Bstatic'
10069      ;;
10070
10071    sysv4*MP*)
10072      if test -d /usr/nec; then
10073	lt_prog_compiler_pic='-Kconform_pic'
10074	lt_prog_compiler_static='-Bstatic'
10075      fi
10076      ;;
10077
10078    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
10079      lt_prog_compiler_wl='-Wl,'
10080      lt_prog_compiler_pic='-KPIC'
10081      lt_prog_compiler_static='-Bstatic'
10082      ;;
10083
10084    unicos*)
10085      lt_prog_compiler_wl='-Wl,'
10086      lt_prog_compiler_can_build_shared=no
10087      ;;
10088
10089    uts4*)
10090      lt_prog_compiler_pic='-pic'
10091      lt_prog_compiler_static='-Bstatic'
10092      ;;
10093
10094    *)
10095      lt_prog_compiler_can_build_shared=no
10096      ;;
10097    esac
10098  fi
10099
10100case $host_os in
10101  # For platforms that do not support PIC, -DPIC is meaningless:
10102  *djgpp*)
10103    lt_prog_compiler_pic=
10104    ;;
10105  *)
10106    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
10107    ;;
10108esac
10109
10110{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
10111$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
10112if ${lt_cv_prog_compiler_pic+:} false; then :
10113  $as_echo_n "(cached) " >&6
10114else
10115  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
10116fi
10117{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
10118$as_echo "$lt_cv_prog_compiler_pic" >&6; }
10119lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
10120
10121#
10122# Check to make sure the PIC flag actually works.
10123#
10124if test -n "$lt_prog_compiler_pic"; then
10125  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10126$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10127if ${lt_cv_prog_compiler_pic_works+:} false; then :
10128  $as_echo_n "(cached) " >&6
10129else
10130  lt_cv_prog_compiler_pic_works=no
10131   ac_outfile=conftest.$ac_objext
10132   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10133   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
10134   # Insert the option either (1) after the last *FLAGS variable, or
10135   # (2) before a word containing "conftest.", or (3) at the end.
10136   # Note that $ac_compile itself does not contain backslashes and begins
10137   # with a dollar sign (not a hyphen), so the echo should work correctly.
10138   # The option is referenced via a variable to avoid confusing sed.
10139   lt_compile=`echo "$ac_compile" | $SED \
10140   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10141   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10142   -e 's:$: $lt_compiler_flag:'`
10143   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10144   (eval "$lt_compile" 2>conftest.err)
10145   ac_status=$?
10146   cat conftest.err >&5
10147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10148   if (exit $ac_status) && test -s "$ac_outfile"; then
10149     # The compiler can only warn and ignore the option if not recognized
10150     # So say no if there are warnings other than the usual output.
10151     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10152     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10153     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10154       lt_cv_prog_compiler_pic_works=yes
10155     fi
10156   fi
10157   $RM conftest*
10158
10159fi
10160{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10161$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10162
10163if test yes = "$lt_cv_prog_compiler_pic_works"; then
10164    case $lt_prog_compiler_pic in
10165     "" | " "*) ;;
10166     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
10167     esac
10168else
10169    lt_prog_compiler_pic=
10170     lt_prog_compiler_can_build_shared=no
10171fi
10172
10173fi
10174
10175
10176
10177
10178
10179
10180
10181
10182
10183
10184
10185#
10186# Check to make sure the static flag actually works.
10187#
10188wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
10189{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10190$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10191if ${lt_cv_prog_compiler_static_works+:} false; then :
10192  $as_echo_n "(cached) " >&6
10193else
10194  lt_cv_prog_compiler_static_works=no
10195   save_LDFLAGS=$LDFLAGS
10196   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
10197   echo "$lt_simple_link_test_code" > conftest.$ac_ext
10198   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10199     # The linker can only warn and ignore the option if not recognized
10200     # So say no if there are warnings
10201     if test -s conftest.err; then
10202       # Append any errors to the config.log.
10203       cat conftest.err 1>&5
10204       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10205       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10206       if diff conftest.exp conftest.er2 >/dev/null; then
10207         lt_cv_prog_compiler_static_works=yes
10208       fi
10209     else
10210       lt_cv_prog_compiler_static_works=yes
10211     fi
10212   fi
10213   $RM -r conftest*
10214   LDFLAGS=$save_LDFLAGS
10215
10216fi
10217{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10218$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10219
10220if test yes = "$lt_cv_prog_compiler_static_works"; then
10221    :
10222else
10223    lt_prog_compiler_static=
10224fi
10225
10226
10227
10228
10229
10230
10231
10232  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10233$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10234if ${lt_cv_prog_compiler_c_o+:} false; then :
10235  $as_echo_n "(cached) " >&6
10236else
10237  lt_cv_prog_compiler_c_o=no
10238   $RM -r conftest 2>/dev/null
10239   mkdir conftest
10240   cd conftest
10241   mkdir out
10242   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10243
10244   lt_compiler_flag="-o out/conftest2.$ac_objext"
10245   # Insert the option either (1) after the last *FLAGS variable, or
10246   # (2) before a word containing "conftest.", or (3) at the end.
10247   # Note that $ac_compile itself does not contain backslashes and begins
10248   # with a dollar sign (not a hyphen), so the echo should work correctly.
10249   lt_compile=`echo "$ac_compile" | $SED \
10250   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10251   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10252   -e 's:$: $lt_compiler_flag:'`
10253   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10254   (eval "$lt_compile" 2>out/conftest.err)
10255   ac_status=$?
10256   cat out/conftest.err >&5
10257   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10258   if (exit $ac_status) && test -s out/conftest2.$ac_objext
10259   then
10260     # The compiler can only warn and ignore the option if not recognized
10261     # So say no if there are warnings
10262     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10263     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10264     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10265       lt_cv_prog_compiler_c_o=yes
10266     fi
10267   fi
10268   chmod u+w . 2>&5
10269   $RM conftest*
10270   # SGI C++ compiler will create directory out/ii_files/ for
10271   # template instantiation
10272   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10273   $RM out/* && rmdir out
10274   cd ..
10275   $RM -r conftest
10276   $RM conftest*
10277
10278fi
10279{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10280$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10281
10282
10283
10284
10285
10286
10287  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10288$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10289if ${lt_cv_prog_compiler_c_o+:} false; then :
10290  $as_echo_n "(cached) " >&6
10291else
10292  lt_cv_prog_compiler_c_o=no
10293   $RM -r conftest 2>/dev/null
10294   mkdir conftest
10295   cd conftest
10296   mkdir out
10297   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10298
10299   lt_compiler_flag="-o out/conftest2.$ac_objext"
10300   # Insert the option either (1) after the last *FLAGS variable, or
10301   # (2) before a word containing "conftest.", or (3) at the end.
10302   # Note that $ac_compile itself does not contain backslashes and begins
10303   # with a dollar sign (not a hyphen), so the echo should work correctly.
10304   lt_compile=`echo "$ac_compile" | $SED \
10305   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10306   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10307   -e 's:$: $lt_compiler_flag:'`
10308   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10309   (eval "$lt_compile" 2>out/conftest.err)
10310   ac_status=$?
10311   cat out/conftest.err >&5
10312   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10313   if (exit $ac_status) && test -s out/conftest2.$ac_objext
10314   then
10315     # The compiler can only warn and ignore the option if not recognized
10316     # So say no if there are warnings
10317     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10318     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10319     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10320       lt_cv_prog_compiler_c_o=yes
10321     fi
10322   fi
10323   chmod u+w . 2>&5
10324   $RM conftest*
10325   # SGI C++ compiler will create directory out/ii_files/ for
10326   # template instantiation
10327   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10328   $RM out/* && rmdir out
10329   cd ..
10330   $RM -r conftest
10331   $RM conftest*
10332
10333fi
10334{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10335$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10336
10337
10338
10339
10340hard_links=nottested
10341if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
10342  # do not overwrite the value of need_locks provided by the user
10343  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10344$as_echo_n "checking if we can lock with hard links... " >&6; }
10345  hard_links=yes
10346  $RM conftest*
10347  ln conftest.a conftest.b 2>/dev/null && hard_links=no
10348  touch conftest.a
10349  ln conftest.a conftest.b 2>&5 || hard_links=no
10350  ln conftest.a conftest.b 2>/dev/null && hard_links=no
10351  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10352$as_echo "$hard_links" >&6; }
10353  if test no = "$hard_links"; then
10354    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
10355$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
10356    need_locks=warn
10357  fi
10358else
10359  need_locks=no
10360fi
10361
10362
10363
10364
10365
10366
10367  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10368$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10369
10370  runpath_var=
10371  allow_undefined_flag=
10372  always_export_symbols=no
10373  archive_cmds=
10374  archive_expsym_cmds=
10375  compiler_needs_object=no
10376  enable_shared_with_static_runtimes=no
10377  export_dynamic_flag_spec=
10378  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10379  hardcode_automatic=no
10380  hardcode_direct=no
10381  hardcode_direct_absolute=no
10382  hardcode_libdir_flag_spec=
10383  hardcode_libdir_separator=
10384  hardcode_minus_L=no
10385  hardcode_shlibpath_var=unsupported
10386  inherit_rpath=no
10387  link_all_deplibs=unknown
10388  module_cmds=
10389  module_expsym_cmds=
10390  old_archive_from_new_cmds=
10391  old_archive_from_expsyms_cmds=
10392  thread_safe_flag_spec=
10393  whole_archive_flag_spec=
10394  # include_expsyms should be a list of space-separated symbols to be *always*
10395  # included in the symbol list
10396  include_expsyms=
10397  # exclude_expsyms can be an extended regexp of symbols to exclude
10398  # it will be wrapped by ' (' and ')$', so one must not match beginning or
10399  # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
10400  # as well as any symbol that contains 'd'.
10401  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10402  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10403  # platforms (ab)use it in PIC code, but their linkers get confused if
10404  # the symbol is explicitly referenced.  Since portable code cannot
10405  # rely on this symbol name, it's probably fine to never include it in
10406  # preloaded symbol tables.
10407  # Exclude shared library initialization/finalization symbols.
10408  extract_expsyms_cmds=
10409
10410  case $host_os in
10411  cygwin* | mingw* | pw32* | cegcc*)
10412    # FIXME: the MSVC++ port hasn't been tested in a loooong time
10413    # When not using gcc, we currently assume that we are using
10414    # Microsoft Visual C++.
10415    if test yes != "$GCC"; then
10416      with_gnu_ld=no
10417    fi
10418    ;;
10419  interix*)
10420    # we just hope/assume this is gcc and not c89 (= MSVC++)
10421    with_gnu_ld=yes
10422    ;;
10423  openbsd* | bitrig*)
10424    with_gnu_ld=no
10425    ;;
10426  linux* | k*bsd*-gnu | gnu*)
10427    link_all_deplibs=no
10428    ;;
10429  esac
10430
10431  ld_shlibs=yes
10432
10433  # On some targets, GNU ld is compatible enough with the native linker
10434  # that we're better off using the native interface for both.
10435  lt_use_gnu_ld_interface=no
10436  if test yes = "$with_gnu_ld"; then
10437    case $host_os in
10438      aix*)
10439	# The AIX port of GNU ld has always aspired to compatibility
10440	# with the native linker.  However, as the warning in the GNU ld
10441	# block says, versions before 2.19.5* couldn't really create working
10442	# shared libraries, regardless of the interface used.
10443	case `$LD -v 2>&1` in
10444	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
10445	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
10446	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
10447	  *)
10448	    lt_use_gnu_ld_interface=yes
10449	    ;;
10450	esac
10451	;;
10452      *)
10453	lt_use_gnu_ld_interface=yes
10454	;;
10455    esac
10456  fi
10457
10458  if test yes = "$lt_use_gnu_ld_interface"; then
10459    # If archive_cmds runs LD, not CC, wlarc should be empty
10460    wlarc='$wl'
10461
10462    # Set some defaults for GNU ld with shared library support. These
10463    # are reset later if shared libraries are not supported. Putting them
10464    # here allows them to be overridden if necessary.
10465    runpath_var=LD_RUN_PATH
10466    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10467    export_dynamic_flag_spec='$wl--export-dynamic'
10468    # ancient GNU ld didn't support --whole-archive et. al.
10469    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10470      whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
10471    else
10472      whole_archive_flag_spec=
10473    fi
10474    supports_anon_versioning=no
10475    case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
10476      *GNU\ gold*) supports_anon_versioning=yes ;;
10477      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10478      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10479      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10480      *\ 2.11.*) ;; # other 2.11 versions
10481      *) supports_anon_versioning=yes ;;
10482    esac
10483
10484    # See if GNU ld supports shared libraries.
10485    case $host_os in
10486    aix[3-9]*)
10487      # On AIX/PPC, the GNU linker is very broken
10488      if test ia64 != "$host_cpu"; then
10489	ld_shlibs=no
10490	cat <<_LT_EOF 1>&2
10491
10492*** Warning: the GNU linker, at least up to release 2.19, is reported
10493*** to be unable to reliably create shared libraries on AIX.
10494*** Therefore, libtool is disabling shared libraries support.  If you
10495*** really care for shared libraries, you may want to install binutils
10496*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10497*** You will then need to restart the configuration process.
10498
10499_LT_EOF
10500      fi
10501      ;;
10502
10503    amigaos*)
10504      case $host_cpu in
10505      powerpc)
10506            # see comment about AmigaOS4 .so support
10507            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10508            archive_expsym_cmds=''
10509        ;;
10510      m68k)
10511            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)'
10512            hardcode_libdir_flag_spec='-L$libdir'
10513            hardcode_minus_L=yes
10514        ;;
10515      esac
10516      ;;
10517
10518    beos*)
10519      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10520	allow_undefined_flag=unsupported
10521	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10522	# support --undefined.  This deserves some investigation.  FIXME
10523	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10524      else
10525	ld_shlibs=no
10526      fi
10527      ;;
10528
10529    cygwin* | mingw* | pw32* | cegcc*)
10530      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10531      # as there is no search path for DLLs.
10532      hardcode_libdir_flag_spec='-L$libdir'
10533      export_dynamic_flag_spec='$wl--export-all-symbols'
10534      allow_undefined_flag=unsupported
10535      always_export_symbols=no
10536      enable_shared_with_static_runtimes=yes
10537      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
10538      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10539
10540      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10541        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10542	# If the export-symbols file already is a .def file, use it as
10543	# is; otherwise, prepend EXPORTS...
10544	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
10545          cp $export_symbols $output_objdir/$soname.def;
10546        else
10547          echo EXPORTS > $output_objdir/$soname.def;
10548          cat $export_symbols >> $output_objdir/$soname.def;
10549        fi~
10550        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10551      else
10552	ld_shlibs=no
10553      fi
10554      ;;
10555
10556    haiku*)
10557      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10558      link_all_deplibs=yes
10559      ;;
10560
10561    os2*)
10562      hardcode_libdir_flag_spec='-L$libdir'
10563      hardcode_minus_L=yes
10564      allow_undefined_flag=unsupported
10565      shrext_cmds=.dll
10566      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10567	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10568	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10569	$ECHO EXPORTS >> $output_objdir/$libname.def~
10570	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10571	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10572	emximp -o $lib $output_objdir/$libname.def'
10573      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10574	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10575	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10576	$ECHO EXPORTS >> $output_objdir/$libname.def~
10577	prefix_cmds="$SED"~
10578	if test EXPORTS = "`$SED 1q $export_symbols`"; then
10579	  prefix_cmds="$prefix_cmds -e 1d";
10580	fi~
10581	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10582	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10583	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10584	emximp -o $lib $output_objdir/$libname.def'
10585      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10586      enable_shared_with_static_runtimes=yes
10587      ;;
10588
10589    interix[3-9]*)
10590      hardcode_direct=no
10591      hardcode_shlibpath_var=no
10592      hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10593      export_dynamic_flag_spec='$wl-E'
10594      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10595      # Instead, shared libraries are loaded at an image base (0x10000000 by
10596      # default) and relocated if they conflict, which is a slow very memory
10597      # consuming and fragmenting process.  To avoid this, we pick a random,
10598      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10599      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
10600      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10601      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'
10602      ;;
10603
10604    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
10605      tmp_diet=no
10606      if test linux-dietlibc = "$host_os"; then
10607	case $cc_basename in
10608	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
10609	esac
10610      fi
10611      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10612	 && test no = "$tmp_diet"
10613      then
10614	tmp_addflag=' $pic_flag'
10615	tmp_sharedflag='-shared'
10616	case $cc_basename,$host_cpu in
10617        pgcc*)				# Portland Group C compiler
10618	  whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
10619	  tmp_addflag=' $pic_flag'
10620	  ;;
10621	pgf77* | pgf90* | pgf95* | pgfortran*)
10622					# Portland Group f77 and f90 compilers
10623	  whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
10624	  tmp_addflag=' $pic_flag -Mnomain' ;;
10625	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
10626	  tmp_addflag=' -i_dynamic' ;;
10627	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
10628	  tmp_addflag=' -i_dynamic -nofor_main' ;;
10629	ifc* | ifort*)			# Intel Fortran compiler
10630	  tmp_addflag=' -nofor_main' ;;
10631	lf95*)				# Lahey Fortran 8.1
10632	  whole_archive_flag_spec=
10633	  tmp_sharedflag='--shared' ;;
10634        nagfor*)                        # NAGFOR 5.3
10635          tmp_sharedflag='-Wl,-shared' ;;
10636	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10637	  tmp_sharedflag='-qmkshrobj'
10638	  tmp_addflag= ;;
10639	nvcc*)	# Cuda Compiler Driver 2.2
10640	  whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
10641	  compiler_needs_object=yes
10642	  ;;
10643	esac
10644	case `$CC -V 2>&1 | sed 5q` in
10645	*Sun\ C*)			# Sun C 5.9
10646	  whole_archive_flag_spec='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
10647	  compiler_needs_object=yes
10648	  tmp_sharedflag='-G' ;;
10649	*Sun\ F*)			# Sun Fortran 8.3
10650	  tmp_sharedflag='-G' ;;
10651	esac
10652	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10653
10654        if test yes = "$supports_anon_versioning"; then
10655          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10656            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10657            echo "local: *; };" >> $output_objdir/$libname.ver~
10658            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
10659        fi
10660
10661	case $cc_basename in
10662	tcc*)
10663	  export_dynamic_flag_spec='-rdynamic'
10664	  ;;
10665	xlf* | bgf* | bgxlf* | mpixlf*)
10666	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10667	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10668	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10669	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10670	  if test yes = "$supports_anon_versioning"; then
10671	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10672              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10673              echo "local: *; };" >> $output_objdir/$libname.ver~
10674              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10675	  fi
10676	  ;;
10677	esac
10678      else
10679        ld_shlibs=no
10680      fi
10681      ;;
10682
10683    netbsd* | netbsdelf*-gnu)
10684      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10685	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10686	wlarc=
10687      else
10688	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10689	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10690      fi
10691      ;;
10692
10693    solaris*)
10694      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10695	ld_shlibs=no
10696	cat <<_LT_EOF 1>&2
10697
10698*** Warning: The releases 2.8.* of the GNU linker cannot reliably
10699*** create shared libraries on Solaris systems.  Therefore, libtool
10700*** is disabling shared libraries support.  We urge you to upgrade GNU
10701*** binutils to release 2.9.1 or newer.  Another option is to modify
10702*** your PATH or compiler configuration so that the native linker is
10703*** used, and then restart.
10704
10705_LT_EOF
10706      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10707	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10708	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10709      else
10710	ld_shlibs=no
10711      fi
10712      ;;
10713
10714    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10715      case `$LD -v 2>&1` in
10716        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10717	ld_shlibs=no
10718	cat <<_LT_EOF 1>&2
10719
10720*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
10721*** reliably create shared libraries on SCO systems.  Therefore, libtool
10722*** is disabling shared libraries support.  We urge you to upgrade GNU
10723*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
10724*** your PATH or compiler configuration so that the native linker is
10725*** used, and then restart.
10726
10727_LT_EOF
10728	;;
10729	*)
10730	  # For security reasons, it is highly recommended that you always
10731	  # use absolute paths for naming shared libraries, and exclude the
10732	  # DT_RUNPATH tag from executables and libraries.  But doing so
10733	  # requires that you compile everything twice, which is a pain.
10734	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10735	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10736	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10737	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10738	  else
10739	    ld_shlibs=no
10740	  fi
10741	;;
10742      esac
10743      ;;
10744
10745    sunos4*)
10746      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10747      wlarc=
10748      hardcode_direct=yes
10749      hardcode_shlibpath_var=no
10750      ;;
10751
10752    *)
10753      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10754	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10755	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10756      else
10757	ld_shlibs=no
10758      fi
10759      ;;
10760    esac
10761
10762    if test no = "$ld_shlibs"; then
10763      runpath_var=
10764      hardcode_libdir_flag_spec=
10765      export_dynamic_flag_spec=
10766      whole_archive_flag_spec=
10767    fi
10768  else
10769    # PORTME fill in a description of your system's linker (not GNU ld)
10770    case $host_os in
10771    aix3*)
10772      allow_undefined_flag=unsupported
10773      always_export_symbols=yes
10774      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'
10775      # Note: this linker hardcodes the directories in LIBPATH if there
10776      # are no directories specified by -L.
10777      hardcode_minus_L=yes
10778      if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
10779	# Neither direct hardcoding nor static linking is supported with a
10780	# broken collect2.
10781	hardcode_direct=unsupported
10782      fi
10783      ;;
10784
10785    aix[4-9]*)
10786      if test ia64 = "$host_cpu"; then
10787	# On IA64, the linker does run time linking by default, so we don't
10788	# have to do anything special.
10789	aix_use_runtimelinking=no
10790	exp_sym_flag='-Bexport'
10791	no_entry_flag=
10792      else
10793	# If we're using GNU nm, then we don't want the "-C" option.
10794	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
10795	# Without the "-l" option, or with the "-B" option, AIX nm treats
10796	# weak defined symbols like other global defined symbols, whereas
10797	# GNU nm marks them as "W".
10798	# While the 'weak' keyword is ignored in the Export File, we need
10799	# it in the Import File for the 'aix-soname' feature, so we have
10800	# to replace the "-B" option with "-P" for AIX nm.
10801	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10802	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
10803	else
10804	  export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
10805	fi
10806	aix_use_runtimelinking=no
10807
10808	# Test if we are trying to use run time linking or normal
10809	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
10810	# have runtime linking enabled, and use it for executables.
10811	# For shared libraries, we enable/disable runtime linking
10812	# depending on the kind of the shared library created -
10813	# when "with_aix_soname,aix_use_runtimelinking" is:
10814	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
10815	# "aix,yes"  lib.so          shared, rtl:yes, for executables
10816	#            lib.a           static archive
10817	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
10818	#            lib.a(lib.so.V) shared, rtl:no,  for executables
10819	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
10820	#            lib.a(lib.so.V) shared, rtl:no
10821	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
10822	#            lib.a           static archive
10823	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10824	  for ld_flag in $LDFLAGS; do
10825	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
10826	    aix_use_runtimelinking=yes
10827	    break
10828	  fi
10829	  done
10830	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
10831	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
10832	    # so we don't have lib.a shared libs to link our executables.
10833	    # We have to force runtime linking in this case.
10834	    aix_use_runtimelinking=yes
10835	    LDFLAGS="$LDFLAGS -Wl,-brtl"
10836	  fi
10837	  ;;
10838	esac
10839
10840	exp_sym_flag='-bexport'
10841	no_entry_flag='-bnoentry'
10842      fi
10843
10844      # When large executables or shared objects are built, AIX ld can
10845      # have problems creating the table of contents.  If linking a library
10846      # or program results in "error TOC overflow" add -mminimal-toc to
10847      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
10848      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10849
10850      archive_cmds=''
10851      hardcode_direct=yes
10852      hardcode_direct_absolute=yes
10853      hardcode_libdir_separator=':'
10854      link_all_deplibs=yes
10855      file_list_spec='$wl-f,'
10856      case $with_aix_soname,$aix_use_runtimelinking in
10857      aix,*) ;; # traditional, no import file
10858      svr4,* | *,yes) # use import file
10859	# The Import File defines what to hardcode.
10860	hardcode_direct=no
10861	hardcode_direct_absolute=no
10862	;;
10863      esac
10864
10865      if test yes = "$GCC"; then
10866	case $host_os in aix4.[012]|aix4.[012].*)
10867	# We only want to do this on AIX 4.2 and lower, the check
10868	# below for broken collect2 doesn't work under 4.3+
10869	  collect2name=`$CC -print-prog-name=collect2`
10870	  if test -f "$collect2name" &&
10871	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10872	  then
10873	  # We have reworked collect2
10874	  :
10875	  else
10876	  # We have old collect2
10877	  hardcode_direct=unsupported
10878	  # It fails to find uninstalled libraries when the uninstalled
10879	  # path is not listed in the libpath.  Setting hardcode_minus_L
10880	  # to unsupported forces relinking
10881	  hardcode_minus_L=yes
10882	  hardcode_libdir_flag_spec='-L$libdir'
10883	  hardcode_libdir_separator=
10884	  fi
10885	  ;;
10886	esac
10887	shared_flag='-shared'
10888	if test yes = "$aix_use_runtimelinking"; then
10889	  shared_flag="$shared_flag "'$wl-G'
10890	fi
10891	# Need to ensure runtime linking is disabled for the traditional
10892	# shared library, or the linker may eventually find shared libraries
10893	# /with/ Import File - we do not want to mix them.
10894	shared_flag_aix='-shared'
10895	shared_flag_svr4='-shared $wl-G'
10896      else
10897	# not using gcc
10898	if test ia64 = "$host_cpu"; then
10899	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10900	# chokes on -Wl,-G. The following line is correct:
10901	  shared_flag='-G'
10902	else
10903	  if test yes = "$aix_use_runtimelinking"; then
10904	    shared_flag='$wl-G'
10905	  else
10906	    shared_flag='$wl-bM:SRE'
10907	  fi
10908	  shared_flag_aix='$wl-bM:SRE'
10909	  shared_flag_svr4='$wl-G'
10910	fi
10911      fi
10912
10913      export_dynamic_flag_spec='$wl-bexpall'
10914      # It seems that -bexpall does not export symbols beginning with
10915      # underscore (_), so it is better to generate a list of symbols to export.
10916      always_export_symbols=yes
10917      if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
10918	# Warning - without using the other runtime loading flags (-brtl),
10919	# -berok will link without error, but may produce a broken library.
10920	allow_undefined_flag='-berok'
10921        # Determine the default libpath from the value encoded in an
10922        # empty executable.
10923        if test set = "${lt_cv_aix_libpath+set}"; then
10924  aix_libpath=$lt_cv_aix_libpath
10925else
10926  if ${lt_cv_aix_libpath_+:} false; then :
10927  $as_echo_n "(cached) " >&6
10928else
10929  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10930/* end confdefs.h.  */
10931
10932int
10933main ()
10934{
10935
10936  ;
10937  return 0;
10938}
10939_ACEOF
10940if ac_fn_c_try_link "$LINENO"; then :
10941
10942  lt_aix_libpath_sed='
10943      /Import File Strings/,/^$/ {
10944	  /^0/ {
10945	      s/^0  *\([^ ]*\) *$/\1/
10946	      p
10947	  }
10948      }'
10949  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10950  # Check for a 64-bit object if we didn't find anything.
10951  if test -z "$lt_cv_aix_libpath_"; then
10952    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10953  fi
10954fi
10955rm -f core conftest.err conftest.$ac_objext \
10956    conftest$ac_exeext conftest.$ac_ext
10957  if test -z "$lt_cv_aix_libpath_"; then
10958    lt_cv_aix_libpath_=/usr/lib:/lib
10959  fi
10960
10961fi
10962
10963  aix_libpath=$lt_cv_aix_libpath_
10964fi
10965
10966        hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10967        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
10968      else
10969	if test ia64 = "$host_cpu"; then
10970	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
10971	  allow_undefined_flag="-z nodefs"
10972	  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"
10973	else
10974	 # Determine the default libpath from the value encoded in an
10975	 # empty executable.
10976	 if test set = "${lt_cv_aix_libpath+set}"; then
10977  aix_libpath=$lt_cv_aix_libpath
10978else
10979  if ${lt_cv_aix_libpath_+:} false; then :
10980  $as_echo_n "(cached) " >&6
10981else
10982  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10983/* end confdefs.h.  */
10984
10985int
10986main ()
10987{
10988
10989  ;
10990  return 0;
10991}
10992_ACEOF
10993if ac_fn_c_try_link "$LINENO"; then :
10994
10995  lt_aix_libpath_sed='
10996      /Import File Strings/,/^$/ {
10997	  /^0/ {
10998	      s/^0  *\([^ ]*\) *$/\1/
10999	      p
11000	  }
11001      }'
11002  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11003  # Check for a 64-bit object if we didn't find anything.
11004  if test -z "$lt_cv_aix_libpath_"; then
11005    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11006  fi
11007fi
11008rm -f core conftest.err conftest.$ac_objext \
11009    conftest$ac_exeext conftest.$ac_ext
11010  if test -z "$lt_cv_aix_libpath_"; then
11011    lt_cv_aix_libpath_=/usr/lib:/lib
11012  fi
11013
11014fi
11015
11016  aix_libpath=$lt_cv_aix_libpath_
11017fi
11018
11019	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
11020	  # Warning - without using the other run time loading flags,
11021	  # -berok will link without error, but may produce a broken library.
11022	  no_undefined_flag=' $wl-bernotok'
11023	  allow_undefined_flag=' $wl-berok'
11024	  if test yes = "$with_gnu_ld"; then
11025	    # We only use this code for GNU lds that support --whole-archive.
11026	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
11027	  else
11028	    # Exported symbols can be pulled into shared objects from archives
11029	    whole_archive_flag_spec='$convenience'
11030	  fi
11031	  archive_cmds_need_lc=yes
11032	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
11033	  # -brtl affects multiple linker settings, -berok does not and is overridden later
11034	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
11035	  if test svr4 != "$with_aix_soname"; then
11036	    # This is similar to how AIX traditionally builds its shared libraries.
11037	    archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
11038	  fi
11039	  if test aix != "$with_aix_soname"; then
11040	    archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
11041	  else
11042	    # used by -dlpreopen to get the symbols
11043	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
11044	  fi
11045	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
11046	fi
11047      fi
11048      ;;
11049
11050    amigaos*)
11051      case $host_cpu in
11052      powerpc)
11053            # see comment about AmigaOS4 .so support
11054            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11055            archive_expsym_cmds=''
11056        ;;
11057      m68k)
11058            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)'
11059            hardcode_libdir_flag_spec='-L$libdir'
11060            hardcode_minus_L=yes
11061        ;;
11062      esac
11063      ;;
11064
11065    bsdi[45]*)
11066      export_dynamic_flag_spec=-rdynamic
11067      ;;
11068
11069    cygwin* | mingw* | pw32* | cegcc*)
11070      # When not using gcc, we currently assume that we are using
11071      # Microsoft Visual C++.
11072      # hardcode_libdir_flag_spec is actually meaningless, as there is
11073      # no search path for DLLs.
11074      case $cc_basename in
11075      cl*)
11076	# Native MSVC
11077	hardcode_libdir_flag_spec=' '
11078	allow_undefined_flag=unsupported
11079	always_export_symbols=yes
11080	file_list_spec='@'
11081	# Tell ltmain to make .lib files, not .a files.
11082	libext=lib
11083	# Tell ltmain to make .dll files, not .so files.
11084	shrext_cmds=.dll
11085	# FIXME: Setting linknames here is a bad hack.
11086	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
11087	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
11088            cp "$export_symbols" "$output_objdir/$soname.def";
11089            echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
11090          else
11091            $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
11092          fi~
11093          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
11094          linknames='
11095	# The linker will not automatically build a static lib if we build a DLL.
11096	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
11097	enable_shared_with_static_runtimes=yes
11098	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
11099	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
11100	# Don't use ranlib
11101	old_postinstall_cmds='chmod 644 $oldlib'
11102	postlink_cmds='lt_outputfile="@OUTPUT@"~
11103          lt_tool_outputfile="@TOOL_OUTPUT@"~
11104          case $lt_outputfile in
11105            *.exe|*.EXE) ;;
11106            *)
11107              lt_outputfile=$lt_outputfile.exe
11108              lt_tool_outputfile=$lt_tool_outputfile.exe
11109              ;;
11110          esac~
11111          if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
11112            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
11113            $RM "$lt_outputfile.manifest";
11114          fi'
11115	;;
11116      *)
11117	# Assume MSVC wrapper
11118	hardcode_libdir_flag_spec=' '
11119	allow_undefined_flag=unsupported
11120	# Tell ltmain to make .lib files, not .a files.
11121	libext=lib
11122	# Tell ltmain to make .dll files, not .so files.
11123	shrext_cmds=.dll
11124	# FIXME: Setting linknames here is a bad hack.
11125	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
11126	# The linker will automatically build a .lib file if we build a DLL.
11127	old_archive_from_new_cmds='true'
11128	# FIXME: Should let the user specify the lib program.
11129	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
11130	enable_shared_with_static_runtimes=yes
11131	;;
11132      esac
11133      ;;
11134
11135    darwin* | rhapsody*)
11136
11137
11138  archive_cmds_need_lc=no
11139  hardcode_direct=no
11140  hardcode_automatic=yes
11141  hardcode_shlibpath_var=unsupported
11142  if test yes = "$lt_cv_ld_force_load"; then
11143    whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
11144
11145  else
11146    whole_archive_flag_spec=''
11147  fi
11148  link_all_deplibs=yes
11149  allow_undefined_flag=$_lt_dar_allow_undefined
11150  case $cc_basename in
11151     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
11152     *) _lt_dar_can_shared=$GCC ;;
11153  esac
11154  if test yes = "$_lt_dar_can_shared"; then
11155    output_verbose_link_cmd=func_echo_all
11156    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
11157    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
11158    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"
11159    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"
11160
11161  else
11162  ld_shlibs=no
11163  fi
11164
11165      ;;
11166
11167    dgux*)
11168      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11169      hardcode_libdir_flag_spec='-L$libdir'
11170      hardcode_shlibpath_var=no
11171      ;;
11172
11173    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
11174    # support.  Future versions do this automatically, but an explicit c++rt0.o
11175    # does not break anything, and helps significantly (at the cost of a little
11176    # extra space).
11177    freebsd2.2*)
11178      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
11179      hardcode_libdir_flag_spec='-R$libdir'
11180      hardcode_direct=yes
11181      hardcode_shlibpath_var=no
11182      ;;
11183
11184    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
11185    freebsd2.*)
11186      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11187      hardcode_direct=yes
11188      hardcode_minus_L=yes
11189      hardcode_shlibpath_var=no
11190      ;;
11191
11192    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11193    freebsd* | dragonfly*)
11194      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11195      hardcode_libdir_flag_spec='-R$libdir'
11196      hardcode_direct=yes
11197      hardcode_shlibpath_var=no
11198      ;;
11199
11200    hpux9*)
11201      if test yes = "$GCC"; then
11202	archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
11203      else
11204	archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
11205      fi
11206      hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11207      hardcode_libdir_separator=:
11208      hardcode_direct=yes
11209
11210      # hardcode_minus_L: Not really in the search PATH,
11211      # but as the default location of the library.
11212      hardcode_minus_L=yes
11213      export_dynamic_flag_spec='$wl-E'
11214      ;;
11215
11216    hpux10*)
11217      if test yes,no = "$GCC,$with_gnu_ld"; then
11218	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11219      else
11220	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11221      fi
11222      if test no = "$with_gnu_ld"; then
11223	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11224	hardcode_libdir_separator=:
11225	hardcode_direct=yes
11226	hardcode_direct_absolute=yes
11227	export_dynamic_flag_spec='$wl-E'
11228	# hardcode_minus_L: Not really in the search PATH,
11229	# but as the default location of the library.
11230	hardcode_minus_L=yes
11231      fi
11232      ;;
11233
11234    hpux11*)
11235      if test yes,no = "$GCC,$with_gnu_ld"; then
11236	case $host_cpu in
11237	hppa*64*)
11238	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11239	  ;;
11240	ia64*)
11241	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11242	  ;;
11243	*)
11244	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11245	  ;;
11246	esac
11247      else
11248	case $host_cpu in
11249	hppa*64*)
11250	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11251	  ;;
11252	ia64*)
11253	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11254	  ;;
11255	*)
11256
11257	  # Older versions of the 11.00 compiler do not understand -b yet
11258	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
11259	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11260$as_echo_n "checking if $CC understands -b... " >&6; }
11261if ${lt_cv_prog_compiler__b+:} false; then :
11262  $as_echo_n "(cached) " >&6
11263else
11264  lt_cv_prog_compiler__b=no
11265   save_LDFLAGS=$LDFLAGS
11266   LDFLAGS="$LDFLAGS -b"
11267   echo "$lt_simple_link_test_code" > conftest.$ac_ext
11268   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11269     # The linker can only warn and ignore the option if not recognized
11270     # So say no if there are warnings
11271     if test -s conftest.err; then
11272       # Append any errors to the config.log.
11273       cat conftest.err 1>&5
11274       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
11275       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11276       if diff conftest.exp conftest.er2 >/dev/null; then
11277         lt_cv_prog_compiler__b=yes
11278       fi
11279     else
11280       lt_cv_prog_compiler__b=yes
11281     fi
11282   fi
11283   $RM -r conftest*
11284   LDFLAGS=$save_LDFLAGS
11285
11286fi
11287{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11288$as_echo "$lt_cv_prog_compiler__b" >&6; }
11289
11290if test yes = "$lt_cv_prog_compiler__b"; then
11291    archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11292else
11293    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11294fi
11295
11296	  ;;
11297	esac
11298      fi
11299      if test no = "$with_gnu_ld"; then
11300	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11301	hardcode_libdir_separator=:
11302
11303	case $host_cpu in
11304	hppa*64*|ia64*)
11305	  hardcode_direct=no
11306	  hardcode_shlibpath_var=no
11307	  ;;
11308	*)
11309	  hardcode_direct=yes
11310	  hardcode_direct_absolute=yes
11311	  export_dynamic_flag_spec='$wl-E'
11312
11313	  # hardcode_minus_L: Not really in the search PATH,
11314	  # but as the default location of the library.
11315	  hardcode_minus_L=yes
11316	  ;;
11317	esac
11318      fi
11319      ;;
11320
11321    irix5* | irix6* | nonstopux*)
11322      if test yes = "$GCC"; then
11323	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
11324	# Try to use the -exported_symbol ld option, if it does not
11325	# work, assume that -exports_file does not work either and
11326	# implicitly export all symbols.
11327	# This should be the same for all languages, so no per-tag cache variable.
11328	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
11329$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
11330if ${lt_cv_irix_exported_symbol+:} false; then :
11331  $as_echo_n "(cached) " >&6
11332else
11333  save_LDFLAGS=$LDFLAGS
11334	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
11335	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11336/* end confdefs.h.  */
11337int foo (void) { return 0; }
11338_ACEOF
11339if ac_fn_c_try_link "$LINENO"; then :
11340  lt_cv_irix_exported_symbol=yes
11341else
11342  lt_cv_irix_exported_symbol=no
11343fi
11344rm -f core conftest.err conftest.$ac_objext \
11345    conftest$ac_exeext conftest.$ac_ext
11346           LDFLAGS=$save_LDFLAGS
11347fi
11348{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
11349$as_echo "$lt_cv_irix_exported_symbol" >&6; }
11350	if test yes = "$lt_cv_irix_exported_symbol"; then
11351          archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations $wl-exports_file $wl$export_symbols -o $lib'
11352	fi
11353	link_all_deplibs=no
11354      else
11355	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
11356	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -exports_file $export_symbols -o $lib'
11357      fi
11358      archive_cmds_need_lc='no'
11359      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11360      hardcode_libdir_separator=:
11361      inherit_rpath=yes
11362      link_all_deplibs=yes
11363      ;;
11364
11365    linux*)
11366      case $cc_basename in
11367      tcc*)
11368	# Fabrice Bellard et al's Tiny C Compiler
11369	ld_shlibs=yes
11370	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11371	;;
11372      esac
11373      ;;
11374
11375    netbsd* | netbsdelf*-gnu)
11376      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11377	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
11378      else
11379	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
11380      fi
11381      hardcode_libdir_flag_spec='-R$libdir'
11382      hardcode_direct=yes
11383      hardcode_shlibpath_var=no
11384      ;;
11385
11386    newsos6)
11387      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11388      hardcode_direct=yes
11389      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11390      hardcode_libdir_separator=:
11391      hardcode_shlibpath_var=no
11392      ;;
11393
11394    *nto* | *qnx*)
11395      ;;
11396
11397    openbsd* | bitrig*)
11398      if test -f /usr/libexec/ld.so; then
11399	hardcode_direct=yes
11400	hardcode_shlibpath_var=no
11401	hardcode_direct_absolute=yes
11402	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11403	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11404	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
11405	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11406	  export_dynamic_flag_spec='$wl-E'
11407	else
11408	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11409	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11410	fi
11411      else
11412	ld_shlibs=no
11413      fi
11414      ;;
11415
11416    os2*)
11417      hardcode_libdir_flag_spec='-L$libdir'
11418      hardcode_minus_L=yes
11419      allow_undefined_flag=unsupported
11420      shrext_cmds=.dll
11421      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11422	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11423	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11424	$ECHO EXPORTS >> $output_objdir/$libname.def~
11425	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
11426	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11427	emximp -o $lib $output_objdir/$libname.def'
11428      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11429	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11430	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11431	$ECHO EXPORTS >> $output_objdir/$libname.def~
11432	prefix_cmds="$SED"~
11433	if test EXPORTS = "`$SED 1q $export_symbols`"; then
11434	  prefix_cmds="$prefix_cmds -e 1d";
11435	fi~
11436	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
11437	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
11438	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11439	emximp -o $lib $output_objdir/$libname.def'
11440      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
11441      enable_shared_with_static_runtimes=yes
11442      ;;
11443
11444    osf3*)
11445      if test yes = "$GCC"; then
11446	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
11447	archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
11448      else
11449	allow_undefined_flag=' -expect_unresolved \*'
11450	archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
11451      fi
11452      archive_cmds_need_lc='no'
11453      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11454      hardcode_libdir_separator=:
11455      ;;
11456
11457    osf4* | osf5*)	# as osf3* with the addition of -msym flag
11458      if test yes = "$GCC"; then
11459	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
11460	archive_cmds='$CC -shared$allow_undefined_flag $pic_flag $libobjs $deplibs $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
11461	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11462      else
11463	allow_undefined_flag=' -expect_unresolved \*'
11464	archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
11465	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~
11466          $CC -shared$allow_undefined_flag $wl-input $wl$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~$RM $lib.exp'
11467
11468	# Both c and cxx compiler support -rpath directly
11469	hardcode_libdir_flag_spec='-rpath $libdir'
11470      fi
11471      archive_cmds_need_lc='no'
11472      hardcode_libdir_separator=:
11473      ;;
11474
11475    solaris*)
11476      no_undefined_flag=' -z defs'
11477      if test yes = "$GCC"; then
11478	wlarc='$wl'
11479	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11480	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11481          $CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11482      else
11483	case `$CC -V 2>&1` in
11484	*"Compilers 5.0"*)
11485	  wlarc=''
11486	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
11487	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11488            $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11489	  ;;
11490	*)
11491	  wlarc='$wl'
11492	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11493	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11494            $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11495	  ;;
11496	esac
11497      fi
11498      hardcode_libdir_flag_spec='-R$libdir'
11499      hardcode_shlibpath_var=no
11500      case $host_os in
11501      solaris2.[0-5] | solaris2.[0-5].*) ;;
11502      *)
11503	# The compiler driver will combine and reorder linker options,
11504	# but understands '-z linker_flag'.  GCC discards it without '$wl',
11505	# but is careful enough not to reorder.
11506	# Supported since Solaris 2.6 (maybe 2.5.1?)
11507	if test yes = "$GCC"; then
11508	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
11509	else
11510	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
11511	fi
11512	;;
11513      esac
11514      link_all_deplibs=yes
11515      ;;
11516
11517    sunos4*)
11518      if test sequent = "$host_vendor"; then
11519	# Use $CC to link under sequent, because it throws in some extra .o
11520	# files that make .init and .fini sections work.
11521	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11522      else
11523	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11524      fi
11525      hardcode_libdir_flag_spec='-L$libdir'
11526      hardcode_direct=yes
11527      hardcode_minus_L=yes
11528      hardcode_shlibpath_var=no
11529      ;;
11530
11531    sysv4)
11532      case $host_vendor in
11533	sni)
11534	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11535	  hardcode_direct=yes # is this really true???
11536	;;
11537	siemens)
11538	  ## LD is ld it makes a PLAMLIB
11539	  ## CC just makes a GrossModule.
11540	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11541	  reload_cmds='$CC -r -o $output$reload_objs'
11542	  hardcode_direct=no
11543        ;;
11544	motorola)
11545	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11546	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
11547	;;
11548      esac
11549      runpath_var='LD_RUN_PATH'
11550      hardcode_shlibpath_var=no
11551      ;;
11552
11553    sysv4.3*)
11554      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11555      hardcode_shlibpath_var=no
11556      export_dynamic_flag_spec='-Bexport'
11557      ;;
11558
11559    sysv4*MP*)
11560      if test -d /usr/nec; then
11561	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11562	hardcode_shlibpath_var=no
11563	runpath_var=LD_RUN_PATH
11564	hardcode_runpath_var=yes
11565	ld_shlibs=yes
11566      fi
11567      ;;
11568
11569    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11570      no_undefined_flag='$wl-z,text'
11571      archive_cmds_need_lc=no
11572      hardcode_shlibpath_var=no
11573      runpath_var='LD_RUN_PATH'
11574
11575      if test yes = "$GCC"; then
11576	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11577	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11578      else
11579	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11580	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11581      fi
11582      ;;
11583
11584    sysv5* | sco3.2v5* | sco5v6*)
11585      # Note: We CANNOT use -z defs as we might desire, because we do not
11586      # link with -lc, and that would cause any symbols used from libc to
11587      # always be unresolved, which means just about no library would
11588      # ever link correctly.  If we're not using GNU ld we use -z text
11589      # though, which does catch some bad symbols but isn't as heavy-handed
11590      # as -z defs.
11591      no_undefined_flag='$wl-z,text'
11592      allow_undefined_flag='$wl-z,nodefs'
11593      archive_cmds_need_lc=no
11594      hardcode_shlibpath_var=no
11595      hardcode_libdir_flag_spec='$wl-R,$libdir'
11596      hardcode_libdir_separator=':'
11597      link_all_deplibs=yes
11598      export_dynamic_flag_spec='$wl-Bexport'
11599      runpath_var='LD_RUN_PATH'
11600
11601      if test yes = "$GCC"; then
11602	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11603	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11604      else
11605	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11606	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11607      fi
11608      ;;
11609
11610    uts4*)
11611      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11612      hardcode_libdir_flag_spec='-L$libdir'
11613      hardcode_shlibpath_var=no
11614      ;;
11615
11616    *)
11617      ld_shlibs=no
11618      ;;
11619    esac
11620
11621    if test sni = "$host_vendor"; then
11622      case $host in
11623      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11624	export_dynamic_flag_spec='$wl-Blargedynsym'
11625	;;
11626      esac
11627    fi
11628  fi
11629
11630{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11631$as_echo "$ld_shlibs" >&6; }
11632test no = "$ld_shlibs" && can_build_shared=no
11633
11634with_gnu_ld=$with_gnu_ld
11635
11636
11637
11638
11639
11640
11641
11642
11643
11644
11645
11646
11647
11648
11649
11650#
11651# Do we need to explicitly link libc?
11652#
11653case "x$archive_cmds_need_lc" in
11654x|xyes)
11655  # Assume -lc should be added
11656  archive_cmds_need_lc=yes
11657
11658  if test yes,yes = "$GCC,$enable_shared"; then
11659    case $archive_cmds in
11660    *'~'*)
11661      # FIXME: we may have to deal with multi-command sequences.
11662      ;;
11663    '$CC '*)
11664      # Test whether the compiler implicitly links with -lc since on some
11665      # systems, -lgcc has to come before -lc. If gcc already passes -lc
11666      # to ld, don't add -lc before -lgcc.
11667      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11668$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11669if ${lt_cv_archive_cmds_need_lc+:} false; then :
11670  $as_echo_n "(cached) " >&6
11671else
11672  $RM conftest*
11673	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11674
11675	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11676  (eval $ac_compile) 2>&5
11677  ac_status=$?
11678  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11679  test $ac_status = 0; } 2>conftest.err; then
11680	  soname=conftest
11681	  lib=conftest
11682	  libobjs=conftest.$ac_objext
11683	  deplibs=
11684	  wl=$lt_prog_compiler_wl
11685	  pic_flag=$lt_prog_compiler_pic
11686	  compiler_flags=-v
11687	  linker_flags=-v
11688	  verstring=
11689	  output_objdir=.
11690	  libname=conftest
11691	  lt_save_allow_undefined_flag=$allow_undefined_flag
11692	  allow_undefined_flag=
11693	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11694  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11695  ac_status=$?
11696  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11697  test $ac_status = 0; }
11698	  then
11699	    lt_cv_archive_cmds_need_lc=no
11700	  else
11701	    lt_cv_archive_cmds_need_lc=yes
11702	  fi
11703	  allow_undefined_flag=$lt_save_allow_undefined_flag
11704	else
11705	  cat conftest.err 1>&5
11706	fi
11707	$RM conftest*
11708
11709fi
11710{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11711$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11712      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11713      ;;
11714    esac
11715  fi
11716  ;;
11717esac
11718
11719
11720
11721
11722
11723
11724
11725
11726
11727
11728
11729
11730
11731
11732
11733
11734
11735
11736
11737
11738
11739
11740
11741
11742
11743
11744
11745
11746
11747
11748
11749
11750
11751
11752
11753
11754
11755
11756
11757
11758
11759
11760
11761
11762
11763
11764
11765
11766
11767
11768
11769
11770
11771
11772
11773
11774
11775
11776
11777
11778
11779
11780
11781
11782
11783
11784
11785
11786
11787
11788
11789
11790
11791
11792
11793
11794
11795
11796
11797
11798
11799
11800
11801
11802
11803
11804
11805
11806
11807
11808
11809
11810
11811
11812
11813
11814
11815
11816
11817
11818
11819
11820
11821
11822
11823
11824
11825
11826
11827
11828
11829
11830
11831
11832
11833
11834
11835
11836
11837
11838
11839
11840
11841
11842
11843
11844
11845
11846
11847
11848
11849
11850
11851
11852
11853
11854
11855
11856
11857
11858
11859
11860
11861
11862
11863
11864
11865
11866
11867
11868
11869
11870  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11871$as_echo_n "checking dynamic linker characteristics... " >&6; }
11872
11873if test yes = "$GCC"; then
11874  case $host_os in
11875    darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
11876    *) lt_awk_arg='/^libraries:/' ;;
11877  esac
11878  case $host_os in
11879    mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
11880    *) lt_sed_strip_eq='s|=/|/|g' ;;
11881  esac
11882  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11883  case $lt_search_path_spec in
11884  *\;*)
11885    # if the path contains ";" then we assume it to be the separator
11886    # otherwise default to the standard path separator (i.e. ":") - it is
11887    # assumed that no part of a normal pathname contains ";" but that should
11888    # okay in the real world where ";" in dirpaths is itself problematic.
11889    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11890    ;;
11891  *)
11892    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11893    ;;
11894  esac
11895  # Ok, now we have the path, separated by spaces, we can step through it
11896  # and add multilib dir if necessary...
11897  lt_tmp_lt_search_path_spec=
11898  lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11899  # ...but if some path component already ends with the multilib dir we assume
11900  # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
11901  case "$lt_multi_os_dir; $lt_search_path_spec " in
11902  "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
11903    lt_multi_os_dir=
11904    ;;
11905  esac
11906  for lt_sys_path in $lt_search_path_spec; do
11907    if test -d "$lt_sys_path$lt_multi_os_dir"; then
11908      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
11909    elif test -n "$lt_multi_os_dir"; then
11910      test -d "$lt_sys_path" && \
11911	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11912    fi
11913  done
11914  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11915BEGIN {RS = " "; FS = "/|\n";} {
11916  lt_foo = "";
11917  lt_count = 0;
11918  for (lt_i = NF; lt_i > 0; lt_i--) {
11919    if ($lt_i != "" && $lt_i != ".") {
11920      if ($lt_i == "..") {
11921        lt_count++;
11922      } else {
11923        if (lt_count == 0) {
11924          lt_foo = "/" $lt_i lt_foo;
11925        } else {
11926          lt_count--;
11927        }
11928      }
11929    }
11930  }
11931  if (lt_foo != "") { lt_freq[lt_foo]++; }
11932  if (lt_freq[lt_foo] == 1) { print lt_foo; }
11933}'`
11934  # AWK program above erroneously prepends '/' to C:/dos/paths
11935  # for these hosts.
11936  case $host_os in
11937    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11938      $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
11939  esac
11940  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11941else
11942  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11943fi
11944library_names_spec=
11945libname_spec='lib$name'
11946soname_spec=
11947shrext_cmds=.so
11948postinstall_cmds=
11949postuninstall_cmds=
11950finish_cmds=
11951finish_eval=
11952shlibpath_var=
11953shlibpath_overrides_runpath=unknown
11954version_type=none
11955dynamic_linker="$host_os ld.so"
11956sys_lib_dlsearch_path_spec="/lib /usr/lib"
11957need_lib_prefix=unknown
11958hardcode_into_libs=no
11959
11960# when you set need_version to no, make sure it does not cause -set_version
11961# flags to be left without arguments
11962need_version=unknown
11963
11964
11965
11966case $host_os in
11967aix3*)
11968  version_type=linux # correct to gnu/linux during the next big refactor
11969  library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
11970  shlibpath_var=LIBPATH
11971
11972  # AIX 3 has no versioning support, so we append a major version to the name.
11973  soname_spec='$libname$release$shared_ext$major'
11974  ;;
11975
11976aix[4-9]*)
11977  version_type=linux # correct to gnu/linux during the next big refactor
11978  need_lib_prefix=no
11979  need_version=no
11980  hardcode_into_libs=yes
11981  if test ia64 = "$host_cpu"; then
11982    # AIX 5 supports IA64
11983    library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
11984    shlibpath_var=LD_LIBRARY_PATH
11985  else
11986    # With GCC up to 2.95.x, collect2 would create an import file
11987    # for dependence libraries.  The import file would start with
11988    # the line '#! .'.  This would cause the generated library to
11989    # depend on '.', always an invalid library.  This was fixed in
11990    # development snapshots of GCC prior to 3.0.
11991    case $host_os in
11992      aix4 | aix4.[01] | aix4.[01].*)
11993      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11994	   echo ' yes '
11995	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
11996	:
11997      else
11998	can_build_shared=no
11999      fi
12000      ;;
12001    esac
12002    # Using Import Files as archive members, it is possible to support
12003    # filename-based versioning of shared library archives on AIX. While
12004    # this would work for both with and without runtime linking, it will
12005    # prevent static linking of such archives. So we do filename-based
12006    # shared library versioning with .so extension only, which is used
12007    # when both runtime linking and shared linking is enabled.
12008    # Unfortunately, runtime linking may impact performance, so we do
12009    # not want this to be the default eventually. Also, we use the
12010    # versioned .so libs for executables only if there is the -brtl
12011    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
12012    # To allow for filename-based versioning support, we need to create
12013    # libNAME.so.V as an archive file, containing:
12014    # *) an Import File, referring to the versioned filename of the
12015    #    archive as well as the shared archive member, telling the
12016    #    bitwidth (32 or 64) of that shared object, and providing the
12017    #    list of exported symbols of that shared object, eventually
12018    #    decorated with the 'weak' keyword
12019    # *) the shared object with the F_LOADONLY flag set, to really avoid
12020    #    it being seen by the linker.
12021    # At run time we better use the real file rather than another symlink,
12022    # but for link time we create the symlink libNAME.so -> libNAME.so.V
12023
12024    case $with_aix_soname,$aix_use_runtimelinking in
12025    # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
12026    # soname into executable. Probably we can add versioning support to
12027    # collect2, so additional links can be useful in future.
12028    aix,yes) # traditional libtool
12029      dynamic_linker='AIX unversionable lib.so'
12030      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12031      # instead of lib<name>.a to let people know that these are not
12032      # typical AIX shared libraries.
12033      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12034      ;;
12035    aix,no) # traditional AIX only
12036      dynamic_linker='AIX lib.a(lib.so.V)'
12037      # We preserve .a as extension for shared libraries through AIX4.2
12038      # and later when we are not doing run time linking.
12039      library_names_spec='$libname$release.a $libname.a'
12040      soname_spec='$libname$release$shared_ext$major'
12041      ;;
12042    svr4,*) # full svr4 only
12043      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
12044      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
12045      # We do not specify a path in Import Files, so LIBPATH fires.
12046      shlibpath_overrides_runpath=yes
12047      ;;
12048    *,yes) # both, prefer svr4
12049      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
12050      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
12051      # unpreferred sharedlib libNAME.a needs extra handling
12052      postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
12053      postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
12054      # We do not specify a path in Import Files, so LIBPATH fires.
12055      shlibpath_overrides_runpath=yes
12056      ;;
12057    *,no) # both, prefer aix
12058      dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
12059      library_names_spec='$libname$release.a $libname.a'
12060      soname_spec='$libname$release$shared_ext$major'
12061      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
12062      postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
12063      postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
12064      ;;
12065    esac
12066    shlibpath_var=LIBPATH
12067  fi
12068  ;;
12069
12070amigaos*)
12071  case $host_cpu in
12072  powerpc)
12073    # Since July 2007 AmigaOS4 officially supports .so libraries.
12074    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
12075    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12076    ;;
12077  m68k)
12078    library_names_spec='$libname.ixlibrary $libname.a'
12079    # Create ${libname}_ixlibrary.a entries in /sys/libs.
12080    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $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'
12081    ;;
12082  esac
12083  ;;
12084
12085beos*)
12086  library_names_spec='$libname$shared_ext'
12087  dynamic_linker="$host_os ld.so"
12088  shlibpath_var=LIBRARY_PATH
12089  ;;
12090
12091bsdi[45]*)
12092  version_type=linux # correct to gnu/linux during the next big refactor
12093  need_version=no
12094  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12095  soname_spec='$libname$release$shared_ext$major'
12096  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
12097  shlibpath_var=LD_LIBRARY_PATH
12098  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12099  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
12100  # the default ld.so.conf also contains /usr/contrib/lib and
12101  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12102  # libtool to hard-code these into programs
12103  ;;
12104
12105cygwin* | mingw* | pw32* | cegcc*)
12106  version_type=windows
12107  shrext_cmds=.dll
12108  need_version=no
12109  need_lib_prefix=no
12110
12111  case $GCC,$cc_basename in
12112  yes,*)
12113    # gcc
12114    library_names_spec='$libname.dll.a'
12115    # DLL is installed to $(libdir)/../bin by postinstall_cmds
12116    postinstall_cmds='base_file=`basename \$file`~
12117      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
12118      dldir=$destdir/`dirname \$dlpath`~
12119      test -d \$dldir || mkdir -p \$dldir~
12120      $install_prog $dir/$dlname \$dldir/$dlname~
12121      chmod a+x \$dldir/$dlname~
12122      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12123        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12124      fi'
12125    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12126      dlpath=$dir/\$dldll~
12127       $RM \$dlpath'
12128    shlibpath_overrides_runpath=yes
12129
12130    case $host_os in
12131    cygwin*)
12132      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12133      soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12134
12135      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
12136      ;;
12137    mingw* | cegcc*)
12138      # MinGW DLLs use traditional 'lib' prefix
12139      soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12140      ;;
12141    pw32*)
12142      # pw32 DLLs use 'pw' prefix rather than 'lib'
12143      library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12144      ;;
12145    esac
12146    dynamic_linker='Win32 ld.exe'
12147    ;;
12148
12149  *,cl*)
12150    # Native MSVC
12151    libname_spec='$name'
12152    soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12153    library_names_spec='$libname.dll.lib'
12154
12155    case $build_os in
12156    mingw*)
12157      sys_lib_search_path_spec=
12158      lt_save_ifs=$IFS
12159      IFS=';'
12160      for lt_path in $LIB
12161      do
12162        IFS=$lt_save_ifs
12163        # Let DOS variable expansion print the short 8.3 style file name.
12164        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
12165        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
12166      done
12167      IFS=$lt_save_ifs
12168      # Convert to MSYS style.
12169      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
12170      ;;
12171    cygwin*)
12172      # Convert to unix form, then to dos form, then back to unix form
12173      # but this time dos style (no spaces!) so that the unix form looks
12174      # like /cygdrive/c/PROGRA~1:/cygdr...
12175      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
12176      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
12177      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12178      ;;
12179    *)
12180      sys_lib_search_path_spec=$LIB
12181      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
12182        # It is most probably a Windows format PATH.
12183        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12184      else
12185        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12186      fi
12187      # FIXME: find the short name or the path components, as spaces are
12188      # common. (e.g. "Program Files" -> "PROGRA~1")
12189      ;;
12190    esac
12191
12192    # DLL is installed to $(libdir)/../bin by postinstall_cmds
12193    postinstall_cmds='base_file=`basename \$file`~
12194      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
12195      dldir=$destdir/`dirname \$dlpath`~
12196      test -d \$dldir || mkdir -p \$dldir~
12197      $install_prog $dir/$dlname \$dldir/$dlname'
12198    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12199      dlpath=$dir/\$dldll~
12200       $RM \$dlpath'
12201    shlibpath_overrides_runpath=yes
12202    dynamic_linker='Win32 link.exe'
12203    ;;
12204
12205  *)
12206    # Assume MSVC wrapper
12207    library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
12208    dynamic_linker='Win32 ld.exe'
12209    ;;
12210  esac
12211  # FIXME: first we should search . and the directory the executable is in
12212  shlibpath_var=PATH
12213  ;;
12214
12215darwin* | rhapsody*)
12216  dynamic_linker="$host_os dyld"
12217  version_type=darwin
12218  need_lib_prefix=no
12219  need_version=no
12220  library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
12221  soname_spec='$libname$release$major$shared_ext'
12222  shlibpath_overrides_runpath=yes
12223  shlibpath_var=DYLD_LIBRARY_PATH
12224  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
12225
12226  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
12227  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
12228  ;;
12229
12230dgux*)
12231  version_type=linux # correct to gnu/linux during the next big refactor
12232  need_lib_prefix=no
12233  need_version=no
12234  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12235  soname_spec='$libname$release$shared_ext$major'
12236  shlibpath_var=LD_LIBRARY_PATH
12237  ;;
12238
12239freebsd* | dragonfly*)
12240  # DragonFly does not have aout.  When/if they implement a new
12241  # versioning mechanism, adjust this.
12242  if test -x /usr/bin/objformat; then
12243    objformat=`/usr/bin/objformat`
12244  else
12245    case $host_os in
12246    freebsd[23].*) objformat=aout ;;
12247    *) objformat=elf ;;
12248    esac
12249  fi
12250  version_type=freebsd-$objformat
12251  case $version_type in
12252    freebsd-elf*)
12253      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12254      soname_spec='$libname$release$shared_ext$major'
12255      need_version=no
12256      need_lib_prefix=no
12257      ;;
12258    freebsd-*)
12259      library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12260      need_version=yes
12261      ;;
12262  esac
12263  shlibpath_var=LD_LIBRARY_PATH
12264  case $host_os in
12265  freebsd2.*)
12266    shlibpath_overrides_runpath=yes
12267    ;;
12268  freebsd3.[01]* | freebsdelf3.[01]*)
12269    shlibpath_overrides_runpath=yes
12270    hardcode_into_libs=yes
12271    ;;
12272  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
12273  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
12274    shlibpath_overrides_runpath=no
12275    hardcode_into_libs=yes
12276    ;;
12277  *) # from 4.6 on, and DragonFly
12278    shlibpath_overrides_runpath=yes
12279    hardcode_into_libs=yes
12280    ;;
12281  esac
12282  ;;
12283
12284haiku*)
12285  version_type=linux # correct to gnu/linux during the next big refactor
12286  need_lib_prefix=no
12287  need_version=no
12288  dynamic_linker="$host_os runtime_loader"
12289  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12290  soname_spec='$libname$release$shared_ext$major'
12291  shlibpath_var=LIBRARY_PATH
12292  shlibpath_overrides_runpath=no
12293  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
12294  hardcode_into_libs=yes
12295  ;;
12296
12297hpux9* | hpux10* | hpux11*)
12298  # Give a soname corresponding to the major version so that dld.sl refuses to
12299  # link against other versions.
12300  version_type=sunos
12301  need_lib_prefix=no
12302  need_version=no
12303  case $host_cpu in
12304  ia64*)
12305    shrext_cmds='.so'
12306    hardcode_into_libs=yes
12307    dynamic_linker="$host_os dld.so"
12308    shlibpath_var=LD_LIBRARY_PATH
12309    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12310    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12311    soname_spec='$libname$release$shared_ext$major'
12312    if test 32 = "$HPUX_IA64_MODE"; then
12313      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12314      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
12315    else
12316      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
12317      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
12318    fi
12319    ;;
12320  hppa*64*)
12321    shrext_cmds='.sl'
12322    hardcode_into_libs=yes
12323    dynamic_linker="$host_os dld.sl"
12324    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
12325    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12326    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12327    soname_spec='$libname$release$shared_ext$major'
12328    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12329    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12330    ;;
12331  *)
12332    shrext_cmds='.sl'
12333    dynamic_linker="$host_os dld.sl"
12334    shlibpath_var=SHLIB_PATH
12335    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
12336    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12337    soname_spec='$libname$release$shared_ext$major'
12338    ;;
12339  esac
12340  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
12341  postinstall_cmds='chmod 555 $lib'
12342  # or fails outright, so override atomically:
12343  install_override_mode=555
12344  ;;
12345
12346interix[3-9]*)
12347  version_type=linux # correct to gnu/linux during the next big refactor
12348  need_lib_prefix=no
12349  need_version=no
12350  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12351  soname_spec='$libname$release$shared_ext$major'
12352  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
12353  shlibpath_var=LD_LIBRARY_PATH
12354  shlibpath_overrides_runpath=no
12355  hardcode_into_libs=yes
12356  ;;
12357
12358irix5* | irix6* | nonstopux*)
12359  case $host_os in
12360    nonstopux*) version_type=nonstopux ;;
12361    *)
12362	if test yes = "$lt_cv_prog_gnu_ld"; then
12363		version_type=linux # correct to gnu/linux during the next big refactor
12364	else
12365		version_type=irix
12366	fi ;;
12367  esac
12368  need_lib_prefix=no
12369  need_version=no
12370  soname_spec='$libname$release$shared_ext$major'
12371  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
12372  case $host_os in
12373  irix5* | nonstopux*)
12374    libsuff= shlibsuff=
12375    ;;
12376  *)
12377    case $LD in # libtool.m4 will add one of these switches to LD
12378    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
12379      libsuff= shlibsuff= libmagic=32-bit;;
12380    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
12381      libsuff=32 shlibsuff=N32 libmagic=N32;;
12382    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
12383      libsuff=64 shlibsuff=64 libmagic=64-bit;;
12384    *) libsuff= shlibsuff= libmagic=never-match;;
12385    esac
12386    ;;
12387  esac
12388  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
12389  shlibpath_overrides_runpath=no
12390  sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
12391  sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
12392  hardcode_into_libs=yes
12393  ;;
12394
12395# No shared lib support for Linux oldld, aout, or coff.
12396linux*oldld* | linux*aout* | linux*coff*)
12397  dynamic_linker=no
12398  ;;
12399
12400linux*android*)
12401  version_type=none # Android doesn't support versioned libraries.
12402  need_lib_prefix=no
12403  need_version=no
12404  library_names_spec='$libname$release$shared_ext'
12405  soname_spec='$libname$release$shared_ext'
12406  finish_cmds=
12407  shlibpath_var=LD_LIBRARY_PATH
12408  shlibpath_overrides_runpath=yes
12409
12410  # This implies no fast_install, which is unacceptable.
12411  # Some rework will be needed to allow for fast_install
12412  # before this can be enabled.
12413  hardcode_into_libs=yes
12414
12415  dynamic_linker='Android linker'
12416  # Don't embed -rpath directories since the linker doesn't support them.
12417  hardcode_libdir_flag_spec='-L$libdir'
12418  ;;
12419
12420# This must be glibc/ELF.
12421linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
12422  version_type=linux # correct to gnu/linux during the next big refactor
12423  need_lib_prefix=no
12424  need_version=no
12425  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12426  soname_spec='$libname$release$shared_ext$major'
12427  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12428  shlibpath_var=LD_LIBRARY_PATH
12429  shlibpath_overrides_runpath=no
12430
12431  # Some binutils ld are patched to set DT_RUNPATH
12432  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
12433  $as_echo_n "(cached) " >&6
12434else
12435  lt_cv_shlibpath_overrides_runpath=no
12436    save_LDFLAGS=$LDFLAGS
12437    save_libdir=$libdir
12438    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12439	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12440    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12441/* end confdefs.h.  */
12442
12443int
12444main ()
12445{
12446
12447  ;
12448  return 0;
12449}
12450_ACEOF
12451if ac_fn_c_try_link "$LINENO"; then :
12452  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
12453  lt_cv_shlibpath_overrides_runpath=yes
12454fi
12455fi
12456rm -f core conftest.err conftest.$ac_objext \
12457    conftest$ac_exeext conftest.$ac_ext
12458    LDFLAGS=$save_LDFLAGS
12459    libdir=$save_libdir
12460
12461fi
12462
12463  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
12464
12465  # This implies no fast_install, which is unacceptable.
12466  # Some rework will be needed to allow for fast_install
12467  # before this can be enabled.
12468  hardcode_into_libs=yes
12469
12470  # Ideally, we could use ldconfig to report *all* directores which are
12471  # searched for libraries, however this is still not possible.  Aside from not
12472  # being certain /sbin/ldconfig is available, command
12473  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
12474  # even though it is searched at run-time.  Try to do the best guess by
12475  # appending ld.so.conf contents (and includes) to the search path.
12476  if test -f /etc/ld.so.conf; then
12477    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[	 ]*hwcap[	 ]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
12478    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
12479  fi
12480
12481  # We used to test for /lib/ld.so.1 and disable shared libraries on
12482  # powerpc, because MkLinux only supported shared libraries with the
12483  # GNU dynamic linker.  Since this was broken with cross compilers,
12484  # most powerpc-linux boxes support dynamic linking these days and
12485  # people can always --disable-shared, the test was removed, and we
12486  # assume the GNU/Linux dynamic linker is in use.
12487  dynamic_linker='GNU/Linux ld.so'
12488  ;;
12489
12490netbsdelf*-gnu)
12491  version_type=linux
12492  need_lib_prefix=no
12493  need_version=no
12494  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12495  soname_spec='${libname}${release}${shared_ext}$major'
12496  shlibpath_var=LD_LIBRARY_PATH
12497  shlibpath_overrides_runpath=no
12498  hardcode_into_libs=yes
12499  dynamic_linker='NetBSD ld.elf_so'
12500  ;;
12501
12502netbsd*)
12503  version_type=sunos
12504  need_lib_prefix=no
12505  need_version=no
12506  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12507    library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12508    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12509    dynamic_linker='NetBSD (a.out) ld.so'
12510  else
12511    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12512    soname_spec='$libname$release$shared_ext$major'
12513    dynamic_linker='NetBSD ld.elf_so'
12514  fi
12515  shlibpath_var=LD_LIBRARY_PATH
12516  shlibpath_overrides_runpath=yes
12517  hardcode_into_libs=yes
12518  ;;
12519
12520newsos6)
12521  version_type=linux # correct to gnu/linux during the next big refactor
12522  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12523  shlibpath_var=LD_LIBRARY_PATH
12524  shlibpath_overrides_runpath=yes
12525  ;;
12526
12527*nto* | *qnx*)
12528  version_type=qnx
12529  need_lib_prefix=no
12530  need_version=no
12531  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12532  soname_spec='$libname$release$shared_ext$major'
12533  shlibpath_var=LD_LIBRARY_PATH
12534  shlibpath_overrides_runpath=no
12535  hardcode_into_libs=yes
12536  dynamic_linker='ldqnx.so'
12537  ;;
12538
12539openbsd* | bitrig*)
12540  version_type=sunos
12541  sys_lib_dlsearch_path_spec=/usr/lib
12542  need_lib_prefix=no
12543  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
12544    need_version=no
12545  else
12546    need_version=yes
12547  fi
12548  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12549  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12550  shlibpath_var=LD_LIBRARY_PATH
12551  shlibpath_overrides_runpath=yes
12552  ;;
12553
12554os2*)
12555  libname_spec='$name'
12556  version_type=windows
12557  shrext_cmds=.dll
12558  need_version=no
12559  need_lib_prefix=no
12560  # OS/2 can only load a DLL with a base name of 8 characters or less.
12561  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
12562    v=$($ECHO $release$versuffix | tr -d .-);
12563    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
12564    $ECHO $n$v`$shared_ext'
12565  library_names_spec='${libname}_dll.$libext'
12566  dynamic_linker='OS/2 ld.exe'
12567  shlibpath_var=BEGINLIBPATH
12568  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12569  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12570  postinstall_cmds='base_file=`basename \$file`~
12571    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
12572    dldir=$destdir/`dirname \$dlpath`~
12573    test -d \$dldir || mkdir -p \$dldir~
12574    $install_prog $dir/$dlname \$dldir/$dlname~
12575    chmod a+x \$dldir/$dlname~
12576    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12577      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12578    fi'
12579  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
12580    dlpath=$dir/\$dldll~
12581    $RM \$dlpath'
12582  ;;
12583
12584osf3* | osf4* | osf5*)
12585  version_type=osf
12586  need_lib_prefix=no
12587  need_version=no
12588  soname_spec='$libname$release$shared_ext$major'
12589  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12590  shlibpath_var=LD_LIBRARY_PATH
12591  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12592  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12593  ;;
12594
12595rdos*)
12596  dynamic_linker=no
12597  ;;
12598
12599solaris*)
12600  version_type=linux # correct to gnu/linux during the next big refactor
12601  need_lib_prefix=no
12602  need_version=no
12603  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12604  soname_spec='$libname$release$shared_ext$major'
12605  shlibpath_var=LD_LIBRARY_PATH
12606  shlibpath_overrides_runpath=yes
12607  hardcode_into_libs=yes
12608  # ldd complains unless libraries are executable
12609  postinstall_cmds='chmod +x $lib'
12610  ;;
12611
12612sunos4*)
12613  version_type=sunos
12614  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12615  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12616  shlibpath_var=LD_LIBRARY_PATH
12617  shlibpath_overrides_runpath=yes
12618  if test yes = "$with_gnu_ld"; then
12619    need_lib_prefix=no
12620  fi
12621  need_version=yes
12622  ;;
12623
12624sysv4 | sysv4.3*)
12625  version_type=linux # correct to gnu/linux during the next big refactor
12626  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12627  soname_spec='$libname$release$shared_ext$major'
12628  shlibpath_var=LD_LIBRARY_PATH
12629  case $host_vendor in
12630    sni)
12631      shlibpath_overrides_runpath=no
12632      need_lib_prefix=no
12633      runpath_var=LD_RUN_PATH
12634      ;;
12635    siemens)
12636      need_lib_prefix=no
12637      ;;
12638    motorola)
12639      need_lib_prefix=no
12640      need_version=no
12641      shlibpath_overrides_runpath=no
12642      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12643      ;;
12644  esac
12645  ;;
12646
12647sysv4*MP*)
12648  if test -d /usr/nec; then
12649    version_type=linux # correct to gnu/linux during the next big refactor
12650    library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
12651    soname_spec='$libname$shared_ext.$major'
12652    shlibpath_var=LD_LIBRARY_PATH
12653  fi
12654  ;;
12655
12656sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12657  version_type=sco
12658  need_lib_prefix=no
12659  need_version=no
12660  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
12661  soname_spec='$libname$release$shared_ext$major'
12662  shlibpath_var=LD_LIBRARY_PATH
12663  shlibpath_overrides_runpath=yes
12664  hardcode_into_libs=yes
12665  if test yes = "$with_gnu_ld"; then
12666    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12667  else
12668    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12669    case $host_os in
12670      sco3.2v5*)
12671        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12672	;;
12673    esac
12674  fi
12675  sys_lib_dlsearch_path_spec='/usr/lib'
12676  ;;
12677
12678tpf*)
12679  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
12680  version_type=linux # correct to gnu/linux during the next big refactor
12681  need_lib_prefix=no
12682  need_version=no
12683  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12684  shlibpath_var=LD_LIBRARY_PATH
12685  shlibpath_overrides_runpath=no
12686  hardcode_into_libs=yes
12687  ;;
12688
12689uts4*)
12690  version_type=linux # correct to gnu/linux during the next big refactor
12691  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12692  soname_spec='$libname$release$shared_ext$major'
12693  shlibpath_var=LD_LIBRARY_PATH
12694  ;;
12695
12696*)
12697  dynamic_linker=no
12698  ;;
12699esac
12700{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12701$as_echo "$dynamic_linker" >&6; }
12702test no = "$dynamic_linker" && can_build_shared=no
12703
12704variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12705if test yes = "$GCC"; then
12706  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12707fi
12708
12709if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
12710  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
12711fi
12712
12713if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
12714  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
12715fi
12716
12717# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
12718configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
12719
12720# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
12721func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
12722
12723# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
12724configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
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  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12823$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12824hardcode_action=
12825if test -n "$hardcode_libdir_flag_spec" ||
12826   test -n "$runpath_var" ||
12827   test yes = "$hardcode_automatic"; then
12828
12829  # We can hardcode non-existent directories.
12830  if test no != "$hardcode_direct" &&
12831     # If the only mechanism to avoid hardcoding is shlibpath_var, we
12832     # have to relink, otherwise we might link with an installed library
12833     # when we should be linking with a yet-to-be-installed one
12834     ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
12835     test no != "$hardcode_minus_L"; then
12836    # Linking always hardcodes the temporary library directory.
12837    hardcode_action=relink
12838  else
12839    # We can link without hardcoding, and we can hardcode nonexisting dirs.
12840    hardcode_action=immediate
12841  fi
12842else
12843  # We cannot hardcode anything, or else we can only hardcode existing
12844  # directories.
12845  hardcode_action=unsupported
12846fi
12847{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12848$as_echo "$hardcode_action" >&6; }
12849
12850if test relink = "$hardcode_action" ||
12851   test yes = "$inherit_rpath"; then
12852  # Fast installation is not supported
12853  enable_fast_install=no
12854elif test yes = "$shlibpath_overrides_runpath" ||
12855     test no = "$enable_shared"; then
12856  # Fast installation is not necessary
12857  enable_fast_install=needless
12858fi
12859
12860
12861
12862
12863
12864
12865  if test yes != "$enable_dlopen"; then
12866  enable_dlopen=unknown
12867  enable_dlopen_self=unknown
12868  enable_dlopen_self_static=unknown
12869else
12870  lt_cv_dlopen=no
12871  lt_cv_dlopen_libs=
12872
12873  case $host_os in
12874  beos*)
12875    lt_cv_dlopen=load_add_on
12876    lt_cv_dlopen_libs=
12877    lt_cv_dlopen_self=yes
12878    ;;
12879
12880  mingw* | pw32* | cegcc*)
12881    lt_cv_dlopen=LoadLibrary
12882    lt_cv_dlopen_libs=
12883    ;;
12884
12885  cygwin*)
12886    lt_cv_dlopen=dlopen
12887    lt_cv_dlopen_libs=
12888    ;;
12889
12890  darwin*)
12891    # if libdl is installed we need to link against it
12892    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12893$as_echo_n "checking for dlopen in -ldl... " >&6; }
12894if ${ac_cv_lib_dl_dlopen+:} false; then :
12895  $as_echo_n "(cached) " >&6
12896else
12897  ac_check_lib_save_LIBS=$LIBS
12898LIBS="-ldl  $LIBS"
12899cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12900/* end confdefs.h.  */
12901
12902/* Override any GCC internal prototype to avoid an error.
12903   Use char because int might match the return type of a GCC
12904   builtin and then its argument prototype would still apply.  */
12905#ifdef __cplusplus
12906extern "C"
12907#endif
12908char dlopen ();
12909int
12910main ()
12911{
12912return dlopen ();
12913  ;
12914  return 0;
12915}
12916_ACEOF
12917if ac_fn_c_try_link "$LINENO"; then :
12918  ac_cv_lib_dl_dlopen=yes
12919else
12920  ac_cv_lib_dl_dlopen=no
12921fi
12922rm -f core conftest.err conftest.$ac_objext \
12923    conftest$ac_exeext conftest.$ac_ext
12924LIBS=$ac_check_lib_save_LIBS
12925fi
12926{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12927$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12928if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12929  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12930else
12931
12932    lt_cv_dlopen=dyld
12933    lt_cv_dlopen_libs=
12934    lt_cv_dlopen_self=yes
12935
12936fi
12937
12938    ;;
12939
12940  tpf*)
12941    # Don't try to run any link tests for TPF.  We know it's impossible
12942    # because TPF is a cross-compiler, and we know how we open DSOs.
12943    lt_cv_dlopen=dlopen
12944    lt_cv_dlopen_libs=
12945    lt_cv_dlopen_self=no
12946    ;;
12947
12948  *)
12949    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12950if test "x$ac_cv_func_shl_load" = xyes; then :
12951  lt_cv_dlopen=shl_load
12952else
12953  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12954$as_echo_n "checking for shl_load in -ldld... " >&6; }
12955if ${ac_cv_lib_dld_shl_load+:} false; then :
12956  $as_echo_n "(cached) " >&6
12957else
12958  ac_check_lib_save_LIBS=$LIBS
12959LIBS="-ldld  $LIBS"
12960cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12961/* end confdefs.h.  */
12962
12963/* Override any GCC internal prototype to avoid an error.
12964   Use char because int might match the return type of a GCC
12965   builtin and then its argument prototype would still apply.  */
12966#ifdef __cplusplus
12967extern "C"
12968#endif
12969char shl_load ();
12970int
12971main ()
12972{
12973return shl_load ();
12974  ;
12975  return 0;
12976}
12977_ACEOF
12978if ac_fn_c_try_link "$LINENO"; then :
12979  ac_cv_lib_dld_shl_load=yes
12980else
12981  ac_cv_lib_dld_shl_load=no
12982fi
12983rm -f core conftest.err conftest.$ac_objext \
12984    conftest$ac_exeext conftest.$ac_ext
12985LIBS=$ac_check_lib_save_LIBS
12986fi
12987{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12988$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12989if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12990  lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
12991else
12992  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12993if test "x$ac_cv_func_dlopen" = xyes; then :
12994  lt_cv_dlopen=dlopen
12995else
12996  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12997$as_echo_n "checking for dlopen in -ldl... " >&6; }
12998if ${ac_cv_lib_dl_dlopen+:} false; then :
12999  $as_echo_n "(cached) " >&6
13000else
13001  ac_check_lib_save_LIBS=$LIBS
13002LIBS="-ldl  $LIBS"
13003cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13004/* end confdefs.h.  */
13005
13006/* Override any GCC internal prototype to avoid an error.
13007   Use char because int might match the return type of a GCC
13008   builtin and then its argument prototype would still apply.  */
13009#ifdef __cplusplus
13010extern "C"
13011#endif
13012char dlopen ();
13013int
13014main ()
13015{
13016return dlopen ();
13017  ;
13018  return 0;
13019}
13020_ACEOF
13021if ac_fn_c_try_link "$LINENO"; then :
13022  ac_cv_lib_dl_dlopen=yes
13023else
13024  ac_cv_lib_dl_dlopen=no
13025fi
13026rm -f core conftest.err conftest.$ac_objext \
13027    conftest$ac_exeext conftest.$ac_ext
13028LIBS=$ac_check_lib_save_LIBS
13029fi
13030{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13031$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13032if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
13033  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
13034else
13035  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
13036$as_echo_n "checking for dlopen in -lsvld... " >&6; }
13037if ${ac_cv_lib_svld_dlopen+:} false; then :
13038  $as_echo_n "(cached) " >&6
13039else
13040  ac_check_lib_save_LIBS=$LIBS
13041LIBS="-lsvld  $LIBS"
13042cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13043/* end confdefs.h.  */
13044
13045/* Override any GCC internal prototype to avoid an error.
13046   Use char because int might match the return type of a GCC
13047   builtin and then its argument prototype would still apply.  */
13048#ifdef __cplusplus
13049extern "C"
13050#endif
13051char dlopen ();
13052int
13053main ()
13054{
13055return dlopen ();
13056  ;
13057  return 0;
13058}
13059_ACEOF
13060if ac_fn_c_try_link "$LINENO"; then :
13061  ac_cv_lib_svld_dlopen=yes
13062else
13063  ac_cv_lib_svld_dlopen=no
13064fi
13065rm -f core conftest.err conftest.$ac_objext \
13066    conftest$ac_exeext conftest.$ac_ext
13067LIBS=$ac_check_lib_save_LIBS
13068fi
13069{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
13070$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
13071if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
13072  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
13073else
13074  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
13075$as_echo_n "checking for dld_link in -ldld... " >&6; }
13076if ${ac_cv_lib_dld_dld_link+:} false; then :
13077  $as_echo_n "(cached) " >&6
13078else
13079  ac_check_lib_save_LIBS=$LIBS
13080LIBS="-ldld  $LIBS"
13081cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13082/* end confdefs.h.  */
13083
13084/* Override any GCC internal prototype to avoid an error.
13085   Use char because int might match the return type of a GCC
13086   builtin and then its argument prototype would still apply.  */
13087#ifdef __cplusplus
13088extern "C"
13089#endif
13090char dld_link ();
13091int
13092main ()
13093{
13094return dld_link ();
13095  ;
13096  return 0;
13097}
13098_ACEOF
13099if ac_fn_c_try_link "$LINENO"; then :
13100  ac_cv_lib_dld_dld_link=yes
13101else
13102  ac_cv_lib_dld_dld_link=no
13103fi
13104rm -f core conftest.err conftest.$ac_objext \
13105    conftest$ac_exeext conftest.$ac_ext
13106LIBS=$ac_check_lib_save_LIBS
13107fi
13108{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
13109$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
13110if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
13111  lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
13112fi
13113
13114
13115fi
13116
13117
13118fi
13119
13120
13121fi
13122
13123
13124fi
13125
13126
13127fi
13128
13129    ;;
13130  esac
13131
13132  if test no = "$lt_cv_dlopen"; then
13133    enable_dlopen=no
13134  else
13135    enable_dlopen=yes
13136  fi
13137
13138  case $lt_cv_dlopen in
13139  dlopen)
13140    save_CPPFLAGS=$CPPFLAGS
13141    test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
13142
13143    save_LDFLAGS=$LDFLAGS
13144    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
13145
13146    save_LIBS=$LIBS
13147    LIBS="$lt_cv_dlopen_libs $LIBS"
13148
13149    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
13150$as_echo_n "checking whether a program can dlopen itself... " >&6; }
13151if ${lt_cv_dlopen_self+:} false; then :
13152  $as_echo_n "(cached) " >&6
13153else
13154  	  if test yes = "$cross_compiling"; then :
13155  lt_cv_dlopen_self=cross
13156else
13157  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13158  lt_status=$lt_dlunknown
13159  cat > conftest.$ac_ext <<_LT_EOF
13160#line $LINENO "configure"
13161#include "confdefs.h"
13162
13163#if HAVE_DLFCN_H
13164#include <dlfcn.h>
13165#endif
13166
13167#include <stdio.h>
13168
13169#ifdef RTLD_GLOBAL
13170#  define LT_DLGLOBAL		RTLD_GLOBAL
13171#else
13172#  ifdef DL_GLOBAL
13173#    define LT_DLGLOBAL		DL_GLOBAL
13174#  else
13175#    define LT_DLGLOBAL		0
13176#  endif
13177#endif
13178
13179/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13180   find out it does not work in some platform. */
13181#ifndef LT_DLLAZY_OR_NOW
13182#  ifdef RTLD_LAZY
13183#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
13184#  else
13185#    ifdef DL_LAZY
13186#      define LT_DLLAZY_OR_NOW		DL_LAZY
13187#    else
13188#      ifdef RTLD_NOW
13189#        define LT_DLLAZY_OR_NOW	RTLD_NOW
13190#      else
13191#        ifdef DL_NOW
13192#          define LT_DLLAZY_OR_NOW	DL_NOW
13193#        else
13194#          define LT_DLLAZY_OR_NOW	0
13195#        endif
13196#      endif
13197#    endif
13198#  endif
13199#endif
13200
13201/* When -fvisibility=hidden is used, assume the code has been annotated
13202   correspondingly for the symbols needed.  */
13203#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13204int fnord () __attribute__((visibility("default")));
13205#endif
13206
13207int fnord () { return 42; }
13208int main ()
13209{
13210  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13211  int status = $lt_dlunknown;
13212
13213  if (self)
13214    {
13215      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
13216      else
13217        {
13218	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
13219          else puts (dlerror ());
13220	}
13221      /* dlclose (self); */
13222    }
13223  else
13224    puts (dlerror ());
13225
13226  return status;
13227}
13228_LT_EOF
13229  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13230  (eval $ac_link) 2>&5
13231  ac_status=$?
13232  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13233  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
13234    (./conftest; exit; ) >&5 2>/dev/null
13235    lt_status=$?
13236    case x$lt_status in
13237      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
13238      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
13239      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
13240    esac
13241  else :
13242    # compilation failed
13243    lt_cv_dlopen_self=no
13244  fi
13245fi
13246rm -fr conftest*
13247
13248
13249fi
13250{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
13251$as_echo "$lt_cv_dlopen_self" >&6; }
13252
13253    if test yes = "$lt_cv_dlopen_self"; then
13254      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
13255      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
13256$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
13257if ${lt_cv_dlopen_self_static+:} false; then :
13258  $as_echo_n "(cached) " >&6
13259else
13260  	  if test yes = "$cross_compiling"; then :
13261  lt_cv_dlopen_self_static=cross
13262else
13263  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13264  lt_status=$lt_dlunknown
13265  cat > conftest.$ac_ext <<_LT_EOF
13266#line $LINENO "configure"
13267#include "confdefs.h"
13268
13269#if HAVE_DLFCN_H
13270#include <dlfcn.h>
13271#endif
13272
13273#include <stdio.h>
13274
13275#ifdef RTLD_GLOBAL
13276#  define LT_DLGLOBAL		RTLD_GLOBAL
13277#else
13278#  ifdef DL_GLOBAL
13279#    define LT_DLGLOBAL		DL_GLOBAL
13280#  else
13281#    define LT_DLGLOBAL		0
13282#  endif
13283#endif
13284
13285/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13286   find out it does not work in some platform. */
13287#ifndef LT_DLLAZY_OR_NOW
13288#  ifdef RTLD_LAZY
13289#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
13290#  else
13291#    ifdef DL_LAZY
13292#      define LT_DLLAZY_OR_NOW		DL_LAZY
13293#    else
13294#      ifdef RTLD_NOW
13295#        define LT_DLLAZY_OR_NOW	RTLD_NOW
13296#      else
13297#        ifdef DL_NOW
13298#          define LT_DLLAZY_OR_NOW	DL_NOW
13299#        else
13300#          define LT_DLLAZY_OR_NOW	0
13301#        endif
13302#      endif
13303#    endif
13304#  endif
13305#endif
13306
13307/* When -fvisibility=hidden is used, assume the code has been annotated
13308   correspondingly for the symbols needed.  */
13309#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13310int fnord () __attribute__((visibility("default")));
13311#endif
13312
13313int fnord () { return 42; }
13314int main ()
13315{
13316  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13317  int status = $lt_dlunknown;
13318
13319  if (self)
13320    {
13321      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
13322      else
13323        {
13324	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
13325          else puts (dlerror ());
13326	}
13327      /* dlclose (self); */
13328    }
13329  else
13330    puts (dlerror ());
13331
13332  return status;
13333}
13334_LT_EOF
13335  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13336  (eval $ac_link) 2>&5
13337  ac_status=$?
13338  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13339  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
13340    (./conftest; exit; ) >&5 2>/dev/null
13341    lt_status=$?
13342    case x$lt_status in
13343      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
13344      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
13345      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
13346    esac
13347  else :
13348    # compilation failed
13349    lt_cv_dlopen_self_static=no
13350  fi
13351fi
13352rm -fr conftest*
13353
13354
13355fi
13356{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13357$as_echo "$lt_cv_dlopen_self_static" >&6; }
13358    fi
13359
13360    CPPFLAGS=$save_CPPFLAGS
13361    LDFLAGS=$save_LDFLAGS
13362    LIBS=$save_LIBS
13363    ;;
13364  esac
13365
13366  case $lt_cv_dlopen_self in
13367  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
13368  *) enable_dlopen_self=unknown ;;
13369  esac
13370
13371  case $lt_cv_dlopen_self_static in
13372  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
13373  *) enable_dlopen_self_static=unknown ;;
13374  esac
13375fi
13376
13377
13378
13379
13380
13381
13382
13383
13384
13385
13386
13387
13388
13389
13390
13391
13392
13393striplib=
13394old_striplib=
13395{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13396$as_echo_n "checking whether stripping libraries is possible... " >&6; }
13397if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
13398  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
13399  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
13400  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13401$as_echo "yes" >&6; }
13402else
13403# FIXME - insert some real tests, host_os isn't really good enough
13404  case $host_os in
13405  darwin*)
13406    if test -n "$STRIP"; then
13407      striplib="$STRIP -x"
13408      old_striplib="$STRIP -S"
13409      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13410$as_echo "yes" >&6; }
13411    else
13412      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13413$as_echo "no" >&6; }
13414    fi
13415    ;;
13416  *)
13417    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13418$as_echo "no" >&6; }
13419    ;;
13420  esac
13421fi
13422
13423
13424
13425
13426
13427
13428
13429
13430
13431
13432
13433
13434  # Report what library types will actually be built
13435  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13436$as_echo_n "checking if libtool supports shared libraries... " >&6; }
13437  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13438$as_echo "$can_build_shared" >&6; }
13439
13440  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13441$as_echo_n "checking whether to build shared libraries... " >&6; }
13442  test no = "$can_build_shared" && enable_shared=no
13443
13444  # On AIX, shared libraries and static libraries use the same namespace, and
13445  # are all built from PIC.
13446  case $host_os in
13447  aix3*)
13448    test yes = "$enable_shared" && enable_static=no
13449    if test -n "$RANLIB"; then
13450      archive_cmds="$archive_cmds~\$RANLIB \$lib"
13451      postinstall_cmds='$RANLIB $lib'
13452    fi
13453    ;;
13454
13455  aix[4-9]*)
13456    if test ia64 != "$host_cpu"; then
13457      case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
13458      yes,aix,yes) ;;			# shared object as lib.so file only
13459      yes,svr4,*) ;;			# shared object as lib.so archive member only
13460      yes,*) enable_static=no ;;	# shared object in lib.a archive as well
13461      esac
13462    fi
13463    ;;
13464  esac
13465  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13466$as_echo "$enable_shared" >&6; }
13467
13468  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13469$as_echo_n "checking whether to build static libraries... " >&6; }
13470  # Make sure either enable_shared or enable_static is yes.
13471  test yes = "$enable_shared" || enable_static=yes
13472  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13473$as_echo "$enable_static" >&6; }
13474
13475
13476
13477
13478fi
13479ac_ext=c
13480ac_cpp='$CPP $CPPFLAGS'
13481ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13482ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13483ac_compiler_gnu=$ac_cv_c_compiler_gnu
13484
13485CC=$lt_save_CC
13486
13487
13488
13489
13490
13491
13492
13493
13494
13495
13496
13497
13498
13499
13500
13501        ac_config_commands="$ac_config_commands libtool"
13502
13503
13504
13505
13506# Only expand once:
13507
13508
13509
13510
13511
13512
13513# Check whether --enable-silent-rules was given.
13514if test "${enable_silent_rules+set}" = set; then :
13515  enableval=$enable_silent_rules;
13516fi
13517
13518case $enable_silent_rules in # (((
13519  yes) AM_DEFAULT_VERBOSITY=0;;
13520   no) AM_DEFAULT_VERBOSITY=1;;
13521    *) AM_DEFAULT_VERBOSITY=0;;
13522esac
13523am_make=${MAKE-make}
13524{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
13525$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
13526if ${am_cv_make_support_nested_variables+:} false; then :
13527  $as_echo_n "(cached) " >&6
13528else
13529  if $as_echo 'TRUE=$(BAR$(V))
13530BAR0=false
13531BAR1=true
13532V=1
13533am__doit:
13534	@$(TRUE)
13535.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
13536  am_cv_make_support_nested_variables=yes
13537else
13538  am_cv_make_support_nested_variables=no
13539fi
13540fi
13541{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
13542$as_echo "$am_cv_make_support_nested_variables" >&6; }
13543if test $am_cv_make_support_nested_variables = yes; then
13544    AM_V='$(V)'
13545  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
13546else
13547  AM_V=$AM_DEFAULT_VERBOSITY
13548  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
13549fi
13550AM_BACKSLASH='\'
13551
13552
13553# Extract the first word of "glib-mkenums", so it can be a program name with args.
13554set dummy glib-mkenums; ac_word=$2
13555{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13556$as_echo_n "checking for $ac_word... " >&6; }
13557if ${ac_cv_path_GLIB_MKENUMS+:} false; then :
13558  $as_echo_n "(cached) " >&6
13559else
13560  case $GLIB_MKENUMS in
13561  [\\/]* | ?:[\\/]*)
13562  ac_cv_path_GLIB_MKENUMS="$GLIB_MKENUMS" # Let the user override the test with a path.
13563  ;;
13564  *)
13565  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13566for as_dir in $PATH
13567do
13568  IFS=$as_save_IFS
13569  test -z "$as_dir" && as_dir=.
13570    for ac_exec_ext in '' $ac_executable_extensions; do
13571  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13572    ac_cv_path_GLIB_MKENUMS="$as_dir/$ac_word$ac_exec_ext"
13573    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13574    break 2
13575  fi
13576done
13577  done
13578IFS=$as_save_IFS
13579
13580  ;;
13581esac
13582fi
13583GLIB_MKENUMS=$ac_cv_path_GLIB_MKENUMS
13584if test -n "$GLIB_MKENUMS"; then
13585  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_MKENUMS" >&5
13586$as_echo "$GLIB_MKENUMS" >&6; }
13587else
13588  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13589$as_echo "no" >&6; }
13590fi
13591
13592
13593
13594###########################
13595# GTK Doc
13596###########################
13597
13598
13599
13600
13601
13602
13603
13604
13605if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
13606	if test -n "$ac_tool_prefix"; then
13607  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
13608set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
13609{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13610$as_echo_n "checking for $ac_word... " >&6; }
13611if ${ac_cv_path_PKG_CONFIG+:} false; then :
13612  $as_echo_n "(cached) " >&6
13613else
13614  case $PKG_CONFIG in
13615  [\\/]* | ?:[\\/]*)
13616  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13617  ;;
13618  *)
13619  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13620for as_dir in $PATH
13621do
13622  IFS=$as_save_IFS
13623  test -z "$as_dir" && as_dir=.
13624    for ac_exec_ext in '' $ac_executable_extensions; do
13625  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13626    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13627    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13628    break 2
13629  fi
13630done
13631  done
13632IFS=$as_save_IFS
13633
13634  ;;
13635esac
13636fi
13637PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13638if test -n "$PKG_CONFIG"; then
13639  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
13640$as_echo "$PKG_CONFIG" >&6; }
13641else
13642  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13643$as_echo "no" >&6; }
13644fi
13645
13646
13647fi
13648if test -z "$ac_cv_path_PKG_CONFIG"; then
13649  ac_pt_PKG_CONFIG=$PKG_CONFIG
13650  # Extract the first word of "pkg-config", so it can be a program name with args.
13651set dummy pkg-config; ac_word=$2
13652{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13653$as_echo_n "checking for $ac_word... " >&6; }
13654if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
13655  $as_echo_n "(cached) " >&6
13656else
13657  case $ac_pt_PKG_CONFIG in
13658  [\\/]* | ?:[\\/]*)
13659  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
13660  ;;
13661  *)
13662  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13663for as_dir in $PATH
13664do
13665  IFS=$as_save_IFS
13666  test -z "$as_dir" && as_dir=.
13667    for ac_exec_ext in '' $ac_executable_extensions; do
13668  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13669    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13670    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13671    break 2
13672  fi
13673done
13674  done
13675IFS=$as_save_IFS
13676
13677  ;;
13678esac
13679fi
13680ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
13681if test -n "$ac_pt_PKG_CONFIG"; then
13682  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
13683$as_echo "$ac_pt_PKG_CONFIG" >&6; }
13684else
13685  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13686$as_echo "no" >&6; }
13687fi
13688
13689  if test "x$ac_pt_PKG_CONFIG" = x; then
13690    PKG_CONFIG=""
13691  else
13692    case $cross_compiling:$ac_tool_warned in
13693yes:)
13694{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13695$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13696ac_tool_warned=yes ;;
13697esac
13698    PKG_CONFIG=$ac_pt_PKG_CONFIG
13699  fi
13700else
13701  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
13702fi
13703
13704fi
13705if test -n "$PKG_CONFIG"; then
13706	_pkg_min_version=0.9.0
13707	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
13708$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
13709	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
13710		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13711$as_echo "yes" >&6; }
13712	else
13713		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13714$as_echo "no" >&6; }
13715		PKG_CONFIG=""
13716	fi
13717fi
13718
13719
13720
13721  gtk_doc_requires="gtk-doc >= 1.14"
13722  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk-doc" >&5
13723$as_echo_n "checking for gtk-doc... " >&6; }
13724  if test -n "$PKG_CONFIG" && \
13725    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_doc_requires\""; } >&5
13726  ($PKG_CONFIG --exists --print-errors "$gtk_doc_requires") 2>&5
13727  ac_status=$?
13728  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13729  test $ac_status = 0; }; then
13730  have_gtk_doc=yes
13731else
13732  have_gtk_doc=no
13733fi
13734  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_gtk_doc" >&5
13735$as_echo "$have_gtk_doc" >&6; }
13736
13737  if test "$have_gtk_doc" = "no"; then
13738      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
13739  You will not be able to create source packages with 'make dist'
13740  because $gtk_doc_requires is not found." >&5
13741$as_echo "$as_me: WARNING:
13742  You will not be able to create source packages with 'make dist'
13743  because $gtk_doc_requires is not found." >&2;}
13744  fi
13745
13746            # Extract the first word of "gtkdoc-check", so it can be a program name with args.
13747set dummy gtkdoc-check; ac_word=$2
13748{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13749$as_echo_n "checking for $ac_word... " >&6; }
13750if ${ac_cv_prog_GTKDOC_CHECK+:} false; then :
13751  $as_echo_n "(cached) " >&6
13752else
13753  if test -n "$GTKDOC_CHECK"; then
13754  ac_cv_prog_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test.
13755else
13756as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13757for as_dir in $PATH
13758do
13759  IFS=$as_save_IFS
13760  test -z "$as_dir" && as_dir=.
13761    for ac_exec_ext in '' $ac_executable_extensions; do
13762  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13763    ac_cv_prog_GTKDOC_CHECK="gtkdoc-check.test"
13764    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13765    break 2
13766  fi
13767done
13768  done
13769IFS=$as_save_IFS
13770
13771fi
13772fi
13773GTKDOC_CHECK=$ac_cv_prog_GTKDOC_CHECK
13774if test -n "$GTKDOC_CHECK"; then
13775  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
13776$as_echo "$GTKDOC_CHECK" >&6; }
13777else
13778  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13779$as_echo "no" >&6; }
13780fi
13781
13782
13783  # Extract the first word of "gtkdoc-check", so it can be a program name with args.
13784set dummy gtkdoc-check; ac_word=$2
13785{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13786$as_echo_n "checking for $ac_word... " >&6; }
13787if ${ac_cv_path_GTKDOC_CHECK_PATH+:} false; then :
13788  $as_echo_n "(cached) " >&6
13789else
13790  case $GTKDOC_CHECK_PATH in
13791  [\\/]* | ?:[\\/]*)
13792  ac_cv_path_GTKDOC_CHECK_PATH="$GTKDOC_CHECK_PATH" # Let the user override the test with a path.
13793  ;;
13794  *)
13795  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13796for as_dir in $PATH
13797do
13798  IFS=$as_save_IFS
13799  test -z "$as_dir" && as_dir=.
13800    for ac_exec_ext in '' $ac_executable_extensions; do
13801  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13802    ac_cv_path_GTKDOC_CHECK_PATH="$as_dir/$ac_word$ac_exec_ext"
13803    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13804    break 2
13805  fi
13806done
13807  done
13808IFS=$as_save_IFS
13809
13810  ;;
13811esac
13812fi
13813GTKDOC_CHECK_PATH=$ac_cv_path_GTKDOC_CHECK_PATH
13814if test -n "$GTKDOC_CHECK_PATH"; then
13815  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK_PATH" >&5
13816$as_echo "$GTKDOC_CHECK_PATH" >&6; }
13817else
13818  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13819$as_echo "no" >&6; }
13820fi
13821
13822
13823  for ac_prog in gtkdoc-rebase
13824do
13825  # Extract the first word of "$ac_prog", so it can be a program name with args.
13826set dummy $ac_prog; ac_word=$2
13827{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13828$as_echo_n "checking for $ac_word... " >&6; }
13829if ${ac_cv_path_GTKDOC_REBASE+:} false; then :
13830  $as_echo_n "(cached) " >&6
13831else
13832  case $GTKDOC_REBASE in
13833  [\\/]* | ?:[\\/]*)
13834  ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
13835  ;;
13836  *)
13837  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13838for as_dir in $PATH
13839do
13840  IFS=$as_save_IFS
13841  test -z "$as_dir" && as_dir=.
13842    for ac_exec_ext in '' $ac_executable_extensions; do
13843  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13844    ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
13845    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13846    break 2
13847  fi
13848done
13849  done
13850IFS=$as_save_IFS
13851
13852  ;;
13853esac
13854fi
13855GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
13856if test -n "$GTKDOC_REBASE"; then
13857  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
13858$as_echo "$GTKDOC_REBASE" >&6; }
13859else
13860  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13861$as_echo "no" >&6; }
13862fi
13863
13864
13865  test -n "$GTKDOC_REBASE" && break
13866done
13867test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
13868
13869  # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
13870set dummy gtkdoc-mkpdf; ac_word=$2
13871{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13872$as_echo_n "checking for $ac_word... " >&6; }
13873if ${ac_cv_path_GTKDOC_MKPDF+:} false; then :
13874  $as_echo_n "(cached) " >&6
13875else
13876  case $GTKDOC_MKPDF in
13877  [\\/]* | ?:[\\/]*)
13878  ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
13879  ;;
13880  *)
13881  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13882for as_dir in $PATH
13883do
13884  IFS=$as_save_IFS
13885  test -z "$as_dir" && as_dir=.
13886    for ac_exec_ext in '' $ac_executable_extensions; do
13887  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13888    ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
13889    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13890    break 2
13891  fi
13892done
13893  done
13894IFS=$as_save_IFS
13895
13896  ;;
13897esac
13898fi
13899GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
13900if test -n "$GTKDOC_MKPDF"; then
13901  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
13902$as_echo "$GTKDOC_MKPDF" >&6; }
13903else
13904  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13905$as_echo "no" >&6; }
13906fi
13907
13908
13909
13910
13911# Check whether --with-html-dir was given.
13912if test "${with_html_dir+set}" = set; then :
13913  withval=$with_html_dir;
13914else
13915  with_html_dir='${datadir}/gtk-doc/html'
13916fi
13917
13918  HTML_DIR="$with_html_dir"
13919
13920
13921    # Check whether --enable-gtk-doc was given.
13922if test "${enable_gtk_doc+set}" = set; then :
13923  enableval=$enable_gtk_doc;
13924else
13925  enable_gtk_doc=no
13926fi
13927
13928
13929  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
13930$as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
13931  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
13932$as_echo "$enable_gtk_doc" >&6; }
13933
13934  if test "x$enable_gtk_doc" = "xyes" && test "$have_gtk_doc" = "no"; then
13935    as_fn_error $? "
13936  You must have $gtk_doc_requires installed to build documentation for
13937  $PACKAGE_NAME. Please install gtk-doc or disable building the
13938  documentation by adding '--disable-gtk-doc' to '$0'." "$LINENO" 5
13939  fi
13940
13941    if test "x$PACKAGE_NAME" != "xglib"; then
13942
13943pkg_failed=no
13944{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5
13945$as_echo_n "checking for GTKDOC_DEPS... " >&6; }
13946
13947if test -n "$GTKDOC_DEPS_CFLAGS"; then
13948    pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS"
13949 elif test -n "$PKG_CONFIG"; then
13950    if test -n "$PKG_CONFIG" && \
13951    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0\""; } >&5
13952  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0") 2>&5
13953  ac_status=$?
13954  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13955  test $ac_status = 0; }; then
13956  pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>/dev/null`
13957		      test "x$?" != "x0" && pkg_failed=yes
13958else
13959  pkg_failed=yes
13960fi
13961 else
13962    pkg_failed=untried
13963fi
13964if test -n "$GTKDOC_DEPS_LIBS"; then
13965    pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS"
13966 elif test -n "$PKG_CONFIG"; then
13967    if test -n "$PKG_CONFIG" && \
13968    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0\""; } >&5
13969  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0") 2>&5
13970  ac_status=$?
13971  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13972  test $ac_status = 0; }; then
13973  pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>/dev/null`
13974		      test "x$?" != "x0" && pkg_failed=yes
13975else
13976  pkg_failed=yes
13977fi
13978 else
13979    pkg_failed=untried
13980fi
13981
13982
13983
13984if test $pkg_failed = yes; then
13985   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13986$as_echo "no" >&6; }
13987
13988if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13989        _pkg_short_errors_supported=yes
13990else
13991        _pkg_short_errors_supported=no
13992fi
13993        if test $_pkg_short_errors_supported = yes; then
13994	        GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>&1`
13995        else
13996	        GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>&1`
13997        fi
13998	# Put the nasty error message in config.log where it belongs
13999	echo "$GTKDOC_DEPS_PKG_ERRORS" >&5
14000
14001	:
14002elif test $pkg_failed = untried; then
14003     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14004$as_echo "no" >&6; }
14005	:
14006else
14007	GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS
14008	GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS
14009        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14010$as_echo "yes" >&6; }
14011
14012fi
14013  fi
14014
14015    # Check whether --enable-gtk-doc-html was given.
14016if test "${enable_gtk_doc_html+set}" = set; then :
14017  enableval=$enable_gtk_doc_html;
14018else
14019  enable_gtk_doc_html=yes
14020fi
14021
14022    # Check whether --enable-gtk-doc-pdf was given.
14023if test "${enable_gtk_doc_pdf+set}" = set; then :
14024  enableval=$enable_gtk_doc_pdf;
14025else
14026  enable_gtk_doc_pdf=no
14027fi
14028
14029
14030  if test -z "$GTKDOC_MKPDF"; then
14031    enable_gtk_doc_pdf=no
14032  fi
14033
14034  if test -z "$AM_DEFAULT_VERBOSITY"; then
14035    AM_DEFAULT_VERBOSITY=1
14036  fi
14037
14038
14039   if test x$have_gtk_doc = xyes; then
14040  HAVE_GTK_DOC_TRUE=
14041  HAVE_GTK_DOC_FALSE='#'
14042else
14043  HAVE_GTK_DOC_TRUE='#'
14044  HAVE_GTK_DOC_FALSE=
14045fi
14046
14047   if test x$enable_gtk_doc = xyes; then
14048  ENABLE_GTK_DOC_TRUE=
14049  ENABLE_GTK_DOC_FALSE='#'
14050else
14051  ENABLE_GTK_DOC_TRUE='#'
14052  ENABLE_GTK_DOC_FALSE=
14053fi
14054
14055   if test x$enable_gtk_doc_html = xyes; then
14056  GTK_DOC_BUILD_HTML_TRUE=
14057  GTK_DOC_BUILD_HTML_FALSE='#'
14058else
14059  GTK_DOC_BUILD_HTML_TRUE='#'
14060  GTK_DOC_BUILD_HTML_FALSE=
14061fi
14062
14063   if test x$enable_gtk_doc_pdf = xyes; then
14064  GTK_DOC_BUILD_PDF_TRUE=
14065  GTK_DOC_BUILD_PDF_FALSE='#'
14066else
14067  GTK_DOC_BUILD_PDF_TRUE='#'
14068  GTK_DOC_BUILD_PDF_FALSE=
14069fi
14070
14071   if test -n "$LIBTOOL"; then
14072  GTK_DOC_USE_LIBTOOL_TRUE=
14073  GTK_DOC_USE_LIBTOOL_FALSE='#'
14074else
14075  GTK_DOC_USE_LIBTOOL_TRUE='#'
14076  GTK_DOC_USE_LIBTOOL_FALSE=
14077fi
14078
14079   if test -n "$GTKDOC_REBASE"; then
14080  GTK_DOC_USE_REBASE_TRUE=
14081  GTK_DOC_USE_REBASE_FALSE='#'
14082else
14083  GTK_DOC_USE_REBASE_TRUE='#'
14084  GTK_DOC_USE_REBASE_FALSE=
14085fi
14086
14087
14088
14089###########################
14090# Dependencies - GLib
14091###########################
14092
14093GLIB_REQUIRED_VERSION=2.35.4
14094
14095
14096pkg_failed=no
14097{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUSMENUGLIB" >&5
14098$as_echo_n "checking for DBUSMENUGLIB... " >&6; }
14099
14100if test -n "$DBUSMENUGLIB_CFLAGS"; then
14101    pkg_cv_DBUSMENUGLIB_CFLAGS="$DBUSMENUGLIB_CFLAGS"
14102 elif test -n "$PKG_CONFIG"; then
14103    if test -n "$PKG_CONFIG" && \
14104    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQUIRED_VERSION
14105                                gio-2.0 >= \$GLIB_REQUIRED_VERSION\""; } >&5
14106  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB_REQUIRED_VERSION
14107                                gio-2.0 >= $GLIB_REQUIRED_VERSION") 2>&5
14108  ac_status=$?
14109  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14110  test $ac_status = 0; }; then
14111  pkg_cv_DBUSMENUGLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= $GLIB_REQUIRED_VERSION
14112                                gio-2.0 >= $GLIB_REQUIRED_VERSION" 2>/dev/null`
14113		      test "x$?" != "x0" && pkg_failed=yes
14114else
14115  pkg_failed=yes
14116fi
14117 else
14118    pkg_failed=untried
14119fi
14120if test -n "$DBUSMENUGLIB_LIBS"; then
14121    pkg_cv_DBUSMENUGLIB_LIBS="$DBUSMENUGLIB_LIBS"
14122 elif test -n "$PKG_CONFIG"; then
14123    if test -n "$PKG_CONFIG" && \
14124    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQUIRED_VERSION
14125                                gio-2.0 >= \$GLIB_REQUIRED_VERSION\""; } >&5
14126  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB_REQUIRED_VERSION
14127                                gio-2.0 >= $GLIB_REQUIRED_VERSION") 2>&5
14128  ac_status=$?
14129  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14130  test $ac_status = 0; }; then
14131  pkg_cv_DBUSMENUGLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= $GLIB_REQUIRED_VERSION
14132                                gio-2.0 >= $GLIB_REQUIRED_VERSION" 2>/dev/null`
14133		      test "x$?" != "x0" && pkg_failed=yes
14134else
14135  pkg_failed=yes
14136fi
14137 else
14138    pkg_failed=untried
14139fi
14140
14141
14142
14143if test $pkg_failed = yes; then
14144   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14145$as_echo "no" >&6; }
14146
14147if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14148        _pkg_short_errors_supported=yes
14149else
14150        _pkg_short_errors_supported=no
14151fi
14152        if test $_pkg_short_errors_supported = yes; then
14153	        DBUSMENUGLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= $GLIB_REQUIRED_VERSION
14154                                gio-2.0 >= $GLIB_REQUIRED_VERSION" 2>&1`
14155        else
14156	        DBUSMENUGLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= $GLIB_REQUIRED_VERSION
14157                                gio-2.0 >= $GLIB_REQUIRED_VERSION" 2>&1`
14158        fi
14159	# Put the nasty error message in config.log where it belongs
14160	echo "$DBUSMENUGLIB_PKG_ERRORS" >&5
14161
14162	as_fn_error $? "Package requirements (glib-2.0 >= $GLIB_REQUIRED_VERSION
14163                                gio-2.0 >= $GLIB_REQUIRED_VERSION) were not met:
14164
14165$DBUSMENUGLIB_PKG_ERRORS
14166
14167Consider adjusting the PKG_CONFIG_PATH environment variable if you
14168installed software in a non-standard prefix.
14169
14170Alternatively, you may set the environment variables DBUSMENUGLIB_CFLAGS
14171and DBUSMENUGLIB_LIBS to avoid the need to call pkg-config.
14172See the pkg-config man page for more details." "$LINENO" 5
14173elif test $pkg_failed = untried; then
14174     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14175$as_echo "no" >&6; }
14176	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14177$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14178as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
14179is in your PATH or set the PKG_CONFIG environment variable to the full
14180path to pkg-config.
14181
14182Alternatively, you may set the environment variables DBUSMENUGLIB_CFLAGS
14183and DBUSMENUGLIB_LIBS to avoid the need to call pkg-config.
14184See the pkg-config man page for more details.
14185
14186To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14187See \`config.log' for more details" "$LINENO" 5; }
14188else
14189	DBUSMENUGLIB_CFLAGS=$pkg_cv_DBUSMENUGLIB_CFLAGS
14190	DBUSMENUGLIB_LIBS=$pkg_cv_DBUSMENUGLIB_LIBS
14191        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14192$as_echo "yes" >&6; }
14193
14194fi
14195
14196
14197
14198
14199###########################
14200# Dependencies - GTK
14201###########################
14202
14203GTK_REQUIRED_VERSION=2.16
14204GTK3_REQUIRED_VERSION=2.91
14205
14206# Check whether --enable-gtk was given.
14207if test "${enable_gtk+set}" = set; then :
14208  enableval=$enable_gtk; enable_gtk=$enableval
14209else
14210  enable_gtk=auto
14211fi
14212
14213 if test "x$enable_gtk" != "xno"; then
14214  WANT_LIBDBUSMENUGTK_TRUE=
14215  WANT_LIBDBUSMENUGTK_FALSE='#'
14216else
14217  WANT_LIBDBUSMENUGTK_TRUE='#'
14218  WANT_LIBDBUSMENUGTK_FALSE=
14219fi
14220
14221
14222
14223# Check whether --with-gtk was given.
14224if test "${with_gtk+set}" = set; then :
14225  withval=$with_gtk;
14226else
14227  with_gtk=3
14228fi
14229
14230 if test "x$with_gtk" = "x3"; then
14231  USE_GTK3_TRUE=
14232  USE_GTK3_FALSE='#'
14233else
14234  USE_GTK3_TRUE='#'
14235  USE_GTK3_FALSE=
14236fi
14237
14238
14239if test "x$enable_gtk" != "xno"; then :
14240
14241if test "x$with_gtk" = x3; then :
14242
14243pkg_failed=no
14244{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUSMENUGTK" >&5
14245$as_echo_n "checking for DBUSMENUGTK... " >&6; }
14246
14247if test -n "$DBUSMENUGTK_CFLAGS"; then
14248    pkg_cv_DBUSMENUGTK_CFLAGS="$DBUSMENUGTK_CFLAGS"
14249 elif test -n "$PKG_CONFIG"; then
14250    if test -n "$PKG_CONFIG" && \
14251    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= \$GTK3_REQUIRED_VERSION
14252                                         atk
14253                                         glib-2.0 >= \$GLIB_REQUIRED_VERSION\""; } >&5
14254  ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= $GTK3_REQUIRED_VERSION
14255                                         atk
14256                                         glib-2.0 >= $GLIB_REQUIRED_VERSION") 2>&5
14257  ac_status=$?
14258  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14259  test $ac_status = 0; }; then
14260  pkg_cv_DBUSMENUGTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-3.0 >= $GTK3_REQUIRED_VERSION
14261                                         atk
14262                                         glib-2.0 >= $GLIB_REQUIRED_VERSION" 2>/dev/null`
14263		      test "x$?" != "x0" && pkg_failed=yes
14264else
14265  pkg_failed=yes
14266fi
14267 else
14268    pkg_failed=untried
14269fi
14270if test -n "$DBUSMENUGTK_LIBS"; then
14271    pkg_cv_DBUSMENUGTK_LIBS="$DBUSMENUGTK_LIBS"
14272 elif test -n "$PKG_CONFIG"; then
14273    if test -n "$PKG_CONFIG" && \
14274    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= \$GTK3_REQUIRED_VERSION
14275                                         atk
14276                                         glib-2.0 >= \$GLIB_REQUIRED_VERSION\""; } >&5
14277  ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= $GTK3_REQUIRED_VERSION
14278                                         atk
14279                                         glib-2.0 >= $GLIB_REQUIRED_VERSION") 2>&5
14280  ac_status=$?
14281  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14282  test $ac_status = 0; }; then
14283  pkg_cv_DBUSMENUGTK_LIBS=`$PKG_CONFIG --libs "gtk+-3.0 >= $GTK3_REQUIRED_VERSION
14284                                         atk
14285                                         glib-2.0 >= $GLIB_REQUIRED_VERSION" 2>/dev/null`
14286		      test "x$?" != "x0" && pkg_failed=yes
14287else
14288  pkg_failed=yes
14289fi
14290 else
14291    pkg_failed=untried
14292fi
14293
14294
14295
14296if test $pkg_failed = yes; then
14297   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14298$as_echo "no" >&6; }
14299
14300if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14301        _pkg_short_errors_supported=yes
14302else
14303        _pkg_short_errors_supported=no
14304fi
14305        if test $_pkg_short_errors_supported = yes; then
14306	        DBUSMENUGTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-3.0 >= $GTK3_REQUIRED_VERSION
14307                                         atk
14308                                         glib-2.0 >= $GLIB_REQUIRED_VERSION" 2>&1`
14309        else
14310	        DBUSMENUGTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-3.0 >= $GTK3_REQUIRED_VERSION
14311                                         atk
14312                                         glib-2.0 >= $GLIB_REQUIRED_VERSION" 2>&1`
14313        fi
14314	# Put the nasty error message in config.log where it belongs
14315	echo "$DBUSMENUGTK_PKG_ERRORS" >&5
14316
14317	as_fn_error $? "Package requirements (gtk+-3.0 >= $GTK3_REQUIRED_VERSION
14318                                         atk
14319                                         glib-2.0 >= $GLIB_REQUIRED_VERSION) were not met:
14320
14321$DBUSMENUGTK_PKG_ERRORS
14322
14323Consider adjusting the PKG_CONFIG_PATH environment variable if you
14324installed software in a non-standard prefix.
14325
14326Alternatively, you may set the environment variables DBUSMENUGTK_CFLAGS
14327and DBUSMENUGTK_LIBS to avoid the need to call pkg-config.
14328See the pkg-config man page for more details." "$LINENO" 5
14329elif test $pkg_failed = untried; then
14330     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14331$as_echo "no" >&6; }
14332	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14333$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14334as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
14335is in your PATH or set the PKG_CONFIG environment variable to the full
14336path to pkg-config.
14337
14338Alternatively, you may set the environment variables DBUSMENUGTK_CFLAGS
14339and DBUSMENUGTK_LIBS to avoid the need to call pkg-config.
14340See the pkg-config man page for more details.
14341
14342To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14343See \`config.log' for more details" "$LINENO" 5; }
14344else
14345	DBUSMENUGTK_CFLAGS=$pkg_cv_DBUSMENUGTK_CFLAGS
14346	DBUSMENUGTK_LIBS=$pkg_cv_DBUSMENUGTK_LIBS
14347        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14348$as_echo "yes" >&6; }
14349	have_gtk=yes
14350
14351fi
14352
14353elif test "x$with_gtk" = x2; then :
14354
14355pkg_failed=no
14356{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUSMENUGTK" >&5
14357$as_echo_n "checking for DBUSMENUGTK... " >&6; }
14358
14359if test -n "$DBUSMENUGTK_CFLAGS"; then
14360    pkg_cv_DBUSMENUGTK_CFLAGS="$DBUSMENUGTK_CFLAGS"
14361 elif test -n "$PKG_CONFIG"; then
14362    if test -n "$PKG_CONFIG" && \
14363    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= \$GTK_REQUIRED_VERSION
14364                                         atk
14365                                         glib-2.0 >= \$GLIB_REQUIRED_VERSION\""; } >&5
14366  ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= $GTK_REQUIRED_VERSION
14367                                         atk
14368                                         glib-2.0 >= $GLIB_REQUIRED_VERSION") 2>&5
14369  ac_status=$?
14370  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14371  test $ac_status = 0; }; then
14372  pkg_cv_DBUSMENUGTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= $GTK_REQUIRED_VERSION
14373                                         atk
14374                                         glib-2.0 >= $GLIB_REQUIRED_VERSION" 2>/dev/null`
14375		      test "x$?" != "x0" && pkg_failed=yes
14376else
14377  pkg_failed=yes
14378fi
14379 else
14380    pkg_failed=untried
14381fi
14382if test -n "$DBUSMENUGTK_LIBS"; then
14383    pkg_cv_DBUSMENUGTK_LIBS="$DBUSMENUGTK_LIBS"
14384 elif test -n "$PKG_CONFIG"; then
14385    if test -n "$PKG_CONFIG" && \
14386    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= \$GTK_REQUIRED_VERSION
14387                                         atk
14388                                         glib-2.0 >= \$GLIB_REQUIRED_VERSION\""; } >&5
14389  ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= $GTK_REQUIRED_VERSION
14390                                         atk
14391                                         glib-2.0 >= $GLIB_REQUIRED_VERSION") 2>&5
14392  ac_status=$?
14393  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14394  test $ac_status = 0; }; then
14395  pkg_cv_DBUSMENUGTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= $GTK_REQUIRED_VERSION
14396                                         atk
14397                                         glib-2.0 >= $GLIB_REQUIRED_VERSION" 2>/dev/null`
14398		      test "x$?" != "x0" && pkg_failed=yes
14399else
14400  pkg_failed=yes
14401fi
14402 else
14403    pkg_failed=untried
14404fi
14405
14406
14407
14408if test $pkg_failed = yes; then
14409   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14410$as_echo "no" >&6; }
14411
14412if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14413        _pkg_short_errors_supported=yes
14414else
14415        _pkg_short_errors_supported=no
14416fi
14417        if test $_pkg_short_errors_supported = yes; then
14418	        DBUSMENUGTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-2.0 >= $GTK_REQUIRED_VERSION
14419                                         atk
14420                                         glib-2.0 >= $GLIB_REQUIRED_VERSION" 2>&1`
14421        else
14422	        DBUSMENUGTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-2.0 >= $GTK_REQUIRED_VERSION
14423                                         atk
14424                                         glib-2.0 >= $GLIB_REQUIRED_VERSION" 2>&1`
14425        fi
14426	# Put the nasty error message in config.log where it belongs
14427	echo "$DBUSMENUGTK_PKG_ERRORS" >&5
14428
14429	as_fn_error $? "Package requirements (gtk+-2.0 >= $GTK_REQUIRED_VERSION
14430                                         atk
14431                                         glib-2.0 >= $GLIB_REQUIRED_VERSION) were not met:
14432
14433$DBUSMENUGTK_PKG_ERRORS
14434
14435Consider adjusting the PKG_CONFIG_PATH environment variable if you
14436installed software in a non-standard prefix.
14437
14438Alternatively, you may set the environment variables DBUSMENUGTK_CFLAGS
14439and DBUSMENUGTK_LIBS to avoid the need to call pkg-config.
14440See the pkg-config man page for more details." "$LINENO" 5
14441elif test $pkg_failed = untried; then
14442     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14443$as_echo "no" >&6; }
14444	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14445$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14446as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
14447is in your PATH or set the PKG_CONFIG environment variable to the full
14448path to pkg-config.
14449
14450Alternatively, you may set the environment variables DBUSMENUGTK_CFLAGS
14451and DBUSMENUGTK_LIBS to avoid the need to call pkg-config.
14452See the pkg-config man page for more details.
14453
14454To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14455See \`config.log' for more details" "$LINENO" 5; }
14456else
14457	DBUSMENUGTK_CFLAGS=$pkg_cv_DBUSMENUGTK_CFLAGS
14458	DBUSMENUGTK_LIBS=$pkg_cv_DBUSMENUGTK_LIBS
14459        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14460$as_echo "yes" >&6; }
14461	have_gtk=yes
14462
14463fi
14464
14465else
14466  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14467$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14468as_fn_error $? "Value for --with-gtk was neither 2 nor 3
14469See \`config.log' for more details" "$LINENO" 5; }
14470
14471fi
14472
14473fi
14474
14475
14476
14477###########################
14478# Dependencies - dumper
14479###########################
14480
14481X11_REQUIRED_VERSION=1.3
14482
14483# Check whether --enable-dumper was given.
14484if test "${enable_dumper+set}" = set; then :
14485  enableval=$enable_dumper; enable_dumper=$enableval
14486else
14487  enable_dumper=auto
14488fi
14489
14490 if test "x$enable_dumper" != "xno"; then
14491  WANT_DBUSMENUDUMPER_TRUE=
14492  WANT_DBUSMENUDUMPER_FALSE='#'
14493else
14494  WANT_DBUSMENUDUMPER_TRUE='#'
14495  WANT_DBUSMENUDUMPER_FALSE=
14496fi
14497
14498
14499if test "x$enable_dumper" != "xno"; then :
14500
14501
14502pkg_failed=no
14503{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUSMENUDUMPER" >&5
14504$as_echo_n "checking for DBUSMENUDUMPER... " >&6; }
14505
14506if test -n "$DBUSMENUDUMPER_CFLAGS"; then
14507    pkg_cv_DBUSMENUDUMPER_CFLAGS="$DBUSMENUDUMPER_CFLAGS"
14508 elif test -n "$PKG_CONFIG"; then
14509    if test -n "$PKG_CONFIG" && \
14510    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= \$GTK_REQUIRED_VERSION
14511                                  x11 >= \$X11_REQUIRED_VERSION\""; } >&5
14512  ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= $GTK_REQUIRED_VERSION
14513                                  x11 >= $X11_REQUIRED_VERSION") 2>&5
14514  ac_status=$?
14515  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14516  test $ac_status = 0; }; then
14517  pkg_cv_DBUSMENUDUMPER_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= $GTK_REQUIRED_VERSION
14518                                  x11 >= $X11_REQUIRED_VERSION" 2>/dev/null`
14519		      test "x$?" != "x0" && pkg_failed=yes
14520else
14521  pkg_failed=yes
14522fi
14523 else
14524    pkg_failed=untried
14525fi
14526if test -n "$DBUSMENUDUMPER_LIBS"; then
14527    pkg_cv_DBUSMENUDUMPER_LIBS="$DBUSMENUDUMPER_LIBS"
14528 elif test -n "$PKG_CONFIG"; then
14529    if test -n "$PKG_CONFIG" && \
14530    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= \$GTK_REQUIRED_VERSION
14531                                  x11 >= \$X11_REQUIRED_VERSION\""; } >&5
14532  ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= $GTK_REQUIRED_VERSION
14533                                  x11 >= $X11_REQUIRED_VERSION") 2>&5
14534  ac_status=$?
14535  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14536  test $ac_status = 0; }; then
14537  pkg_cv_DBUSMENUDUMPER_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= $GTK_REQUIRED_VERSION
14538                                  x11 >= $X11_REQUIRED_VERSION" 2>/dev/null`
14539		      test "x$?" != "x0" && pkg_failed=yes
14540else
14541  pkg_failed=yes
14542fi
14543 else
14544    pkg_failed=untried
14545fi
14546
14547
14548
14549if test $pkg_failed = yes; then
14550   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14551$as_echo "no" >&6; }
14552
14553if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14554        _pkg_short_errors_supported=yes
14555else
14556        _pkg_short_errors_supported=no
14557fi
14558        if test $_pkg_short_errors_supported = yes; then
14559	        DBUSMENUDUMPER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-2.0 >= $GTK_REQUIRED_VERSION
14560                                  x11 >= $X11_REQUIRED_VERSION" 2>&1`
14561        else
14562	        DBUSMENUDUMPER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-2.0 >= $GTK_REQUIRED_VERSION
14563                                  x11 >= $X11_REQUIRED_VERSION" 2>&1`
14564        fi
14565	# Put the nasty error message in config.log where it belongs
14566	echo "$DBUSMENUDUMPER_PKG_ERRORS" >&5
14567
14568	as_fn_error $? "Package requirements (gtk+-2.0 >= $GTK_REQUIRED_VERSION
14569                                  x11 >= $X11_REQUIRED_VERSION) were not met:
14570
14571$DBUSMENUDUMPER_PKG_ERRORS
14572
14573Consider adjusting the PKG_CONFIG_PATH environment variable if you
14574installed software in a non-standard prefix.
14575
14576Alternatively, you may set the environment variables DBUSMENUDUMPER_CFLAGS
14577and DBUSMENUDUMPER_LIBS to avoid the need to call pkg-config.
14578See the pkg-config man page for more details." "$LINENO" 5
14579elif test $pkg_failed = untried; then
14580     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14581$as_echo "no" >&6; }
14582	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14583$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14584as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
14585is in your PATH or set the PKG_CONFIG environment variable to the full
14586path to pkg-config.
14587
14588Alternatively, you may set the environment variables DBUSMENUDUMPER_CFLAGS
14589and DBUSMENUDUMPER_LIBS to avoid the need to call pkg-config.
14590See the pkg-config man page for more details.
14591
14592To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14593See \`config.log' for more details" "$LINENO" 5; }
14594else
14595	DBUSMENUDUMPER_CFLAGS=$pkg_cv_DBUSMENUDUMPER_CFLAGS
14596	DBUSMENUDUMPER_LIBS=$pkg_cv_DBUSMENUDUMPER_LIBS
14597        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14598$as_echo "yes" >&6; }
14599	have_dumper=yes
14600
14601fi
14602
14603fi
14604
14605
14606
14607
14608###########################
14609# Dependencies - Testing
14610###########################
14611
14612JSON_GLIB_REQUIRED_VERSION=0.13.4
14613GIO_UNIX_REQUIRED_VERSION=2.24
14614
14615# Check whether --enable-tests was given.
14616if test "${enable_tests+set}" = set; then :
14617  enableval=$enable_tests; enable_tests=$enableval
14618else
14619  enable_tests=auto
14620fi
14621
14622 if test "x$enable_tests" != "xno"; then
14623  WANT_TESTS_TRUE=
14624  WANT_TESTS_FALSE='#'
14625else
14626  WANT_TESTS_TRUE='#'
14627  WANT_TESTS_FALSE=
14628fi
14629
14630
14631if test "x$enable_tests" != "xno"; then :
14632
14633
14634pkg_failed=no
14635{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUSMENUTESTS" >&5
14636$as_echo_n "checking for DBUSMENUTESTS... " >&6; }
14637
14638if test -n "$DBUSMENUTESTS_CFLAGS"; then
14639    pkg_cv_DBUSMENUTESTS_CFLAGS="$DBUSMENUTESTS_CFLAGS"
14640 elif test -n "$PKG_CONFIG"; then
14641    if test -n "$PKG_CONFIG" && \
14642    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json-glib-1.0 >= \$JSON_GLIB_REQUIRED_VERSION
14643                                  gio-unix-2.0  >= \$GIO_UNIX_REQUIRED_VERSION\""; } >&5
14644  ($PKG_CONFIG --exists --print-errors "json-glib-1.0 >= $JSON_GLIB_REQUIRED_VERSION
14645                                  gio-unix-2.0  >= $GIO_UNIX_REQUIRED_VERSION") 2>&5
14646  ac_status=$?
14647  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14648  test $ac_status = 0; }; then
14649  pkg_cv_DBUSMENUTESTS_CFLAGS=`$PKG_CONFIG --cflags "json-glib-1.0 >= $JSON_GLIB_REQUIRED_VERSION
14650                                  gio-unix-2.0  >= $GIO_UNIX_REQUIRED_VERSION" 2>/dev/null`
14651		      test "x$?" != "x0" && pkg_failed=yes
14652else
14653  pkg_failed=yes
14654fi
14655 else
14656    pkg_failed=untried
14657fi
14658if test -n "$DBUSMENUTESTS_LIBS"; then
14659    pkg_cv_DBUSMENUTESTS_LIBS="$DBUSMENUTESTS_LIBS"
14660 elif test -n "$PKG_CONFIG"; then
14661    if test -n "$PKG_CONFIG" && \
14662    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json-glib-1.0 >= \$JSON_GLIB_REQUIRED_VERSION
14663                                  gio-unix-2.0  >= \$GIO_UNIX_REQUIRED_VERSION\""; } >&5
14664  ($PKG_CONFIG --exists --print-errors "json-glib-1.0 >= $JSON_GLIB_REQUIRED_VERSION
14665                                  gio-unix-2.0  >= $GIO_UNIX_REQUIRED_VERSION") 2>&5
14666  ac_status=$?
14667  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14668  test $ac_status = 0; }; then
14669  pkg_cv_DBUSMENUTESTS_LIBS=`$PKG_CONFIG --libs "json-glib-1.0 >= $JSON_GLIB_REQUIRED_VERSION
14670                                  gio-unix-2.0  >= $GIO_UNIX_REQUIRED_VERSION" 2>/dev/null`
14671		      test "x$?" != "x0" && pkg_failed=yes
14672else
14673  pkg_failed=yes
14674fi
14675 else
14676    pkg_failed=untried
14677fi
14678
14679
14680
14681if test $pkg_failed = yes; then
14682   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14683$as_echo "no" >&6; }
14684
14685if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14686        _pkg_short_errors_supported=yes
14687else
14688        _pkg_short_errors_supported=no
14689fi
14690        if test $_pkg_short_errors_supported = yes; then
14691	        DBUSMENUTESTS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "json-glib-1.0 >= $JSON_GLIB_REQUIRED_VERSION
14692                                  gio-unix-2.0  >= $GIO_UNIX_REQUIRED_VERSION" 2>&1`
14693        else
14694	        DBUSMENUTESTS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "json-glib-1.0 >= $JSON_GLIB_REQUIRED_VERSION
14695                                  gio-unix-2.0  >= $GIO_UNIX_REQUIRED_VERSION" 2>&1`
14696        fi
14697	# Put the nasty error message in config.log where it belongs
14698	echo "$DBUSMENUTESTS_PKG_ERRORS" >&5
14699
14700	as_fn_error $? "Package requirements (json-glib-1.0 >= $JSON_GLIB_REQUIRED_VERSION
14701                                  gio-unix-2.0  >= $GIO_UNIX_REQUIRED_VERSION) were not met:
14702
14703$DBUSMENUTESTS_PKG_ERRORS
14704
14705Consider adjusting the PKG_CONFIG_PATH environment variable if you
14706installed software in a non-standard prefix.
14707
14708Alternatively, you may set the environment variables DBUSMENUTESTS_CFLAGS
14709and DBUSMENUTESTS_LIBS to avoid the need to call pkg-config.
14710See the pkg-config man page for more details." "$LINENO" 5
14711elif test $pkg_failed = untried; then
14712     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14713$as_echo "no" >&6; }
14714	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14715$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14716as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
14717is in your PATH or set the PKG_CONFIG environment variable to the full
14718path to pkg-config.
14719
14720Alternatively, you may set the environment variables DBUSMENUTESTS_CFLAGS
14721and DBUSMENUTESTS_LIBS to avoid the need to call pkg-config.
14722See the pkg-config man page for more details.
14723
14724To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14725See \`config.log' for more details" "$LINENO" 5; }
14726else
14727	DBUSMENUTESTS_CFLAGS=$pkg_cv_DBUSMENUTESTS_CFLAGS
14728	DBUSMENUTESTS_LIBS=$pkg_cv_DBUSMENUTESTS_LIBS
14729        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14730$as_echo "yes" >&6; }
14731	have_tests=yes
14732
14733fi
14734
14735pkg_failed=no
14736{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUSMENUTESTSVALGRIND" >&5
14737$as_echo_n "checking for DBUSMENUTESTSVALGRIND... " >&6; }
14738
14739if test -n "$DBUSMENUTESTSVALGRIND_CFLAGS"; then
14740    pkg_cv_DBUSMENUTESTSVALGRIND_CFLAGS="$DBUSMENUTESTSVALGRIND_CFLAGS"
14741 elif test -n "$PKG_CONFIG"; then
14742    if test -n "$PKG_CONFIG" && \
14743    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"valgrind\""; } >&5
14744  ($PKG_CONFIG --exists --print-errors "valgrind") 2>&5
14745  ac_status=$?
14746  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14747  test $ac_status = 0; }; then
14748  pkg_cv_DBUSMENUTESTSVALGRIND_CFLAGS=`$PKG_CONFIG --cflags "valgrind" 2>/dev/null`
14749		      test "x$?" != "x0" && pkg_failed=yes
14750else
14751  pkg_failed=yes
14752fi
14753 else
14754    pkg_failed=untried
14755fi
14756if test -n "$DBUSMENUTESTSVALGRIND_LIBS"; then
14757    pkg_cv_DBUSMENUTESTSVALGRIND_LIBS="$DBUSMENUTESTSVALGRIND_LIBS"
14758 elif test -n "$PKG_CONFIG"; then
14759    if test -n "$PKG_CONFIG" && \
14760    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"valgrind\""; } >&5
14761  ($PKG_CONFIG --exists --print-errors "valgrind") 2>&5
14762  ac_status=$?
14763  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14764  test $ac_status = 0; }; then
14765  pkg_cv_DBUSMENUTESTSVALGRIND_LIBS=`$PKG_CONFIG --libs "valgrind" 2>/dev/null`
14766		      test "x$?" != "x0" && pkg_failed=yes
14767else
14768  pkg_failed=yes
14769fi
14770 else
14771    pkg_failed=untried
14772fi
14773
14774
14775
14776if test $pkg_failed = yes; then
14777   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14778$as_echo "no" >&6; }
14779
14780if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14781        _pkg_short_errors_supported=yes
14782else
14783        _pkg_short_errors_supported=no
14784fi
14785        if test $_pkg_short_errors_supported = yes; then
14786	        DBUSMENUTESTSVALGRIND_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "valgrind" 2>&1`
14787        else
14788	        DBUSMENUTESTSVALGRIND_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "valgrind" 2>&1`
14789        fi
14790	# Put the nasty error message in config.log where it belongs
14791	echo "$DBUSMENUTESTSVALGRIND_PKG_ERRORS" >&5
14792
14793	have_valgrind=no
14794elif test $pkg_failed = untried; then
14795     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14796$as_echo "no" >&6; }
14797	have_valgrind=no
14798else
14799	DBUSMENUTESTSVALGRIND_CFLAGS=$pkg_cv_DBUSMENUTESTSVALGRIND_CFLAGS
14800	DBUSMENUTESTSVALGRIND_LIBS=$pkg_cv_DBUSMENUTESTSVALGRIND_LIBS
14801        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14802$as_echo "yes" >&6; }
14803	have_valgrind=yes
14804fi
14805 if test "x$have_valgrind" = "xyes"; then
14806  HAVE_VALGRIND_TRUE=
14807  HAVE_VALGRIND_FALSE='#'
14808else
14809  HAVE_VALGRIND_TRUE='#'
14810  HAVE_VALGRIND_FALSE=
14811fi
14812
14813
14814fi
14815
14816
14817
14818
14819###########################
14820# GObject Introspection
14821###########################
14822
14823
14824
14825
14826                # Check whether --enable-introspection was given.
14827if test "${enable_introspection+set}" = set; then :
14828  enableval=$enable_introspection;
14829else
14830  enable_introspection=auto
14831fi
14832
14833
14834    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gobject-introspection" >&5
14835$as_echo_n "checking for gobject-introspection... " >&6; }
14836
14837        case $enable_introspection in #(
14838  no) :
14839            found_introspection="no (disabled, use --enable-introspection to enable)"
14840     ;; #(
14841      yes) :
14842            if test -n "$PKG_CONFIG" && \
14843    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0\""; } >&5
14844  ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0") 2>&5
14845  ac_status=$?
14846  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14847  test $ac_status = 0; }; then
14848  :
14849else
14850  as_fn_error $? "gobject-introspection-1.0 is not installed" "$LINENO" 5
14851fi
14852        if test -n "$PKG_CONFIG" && \
14853    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.6.7\""; } >&5
14854  ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.6.7") 2>&5
14855  ac_status=$?
14856  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14857  test $ac_status = 0; }; then
14858  found_introspection=yes
14859else
14860  as_fn_error $? "You need to have gobject-introspection >= 0.6.7 installed to build libdbusmenu" "$LINENO" 5
14861fi
14862     ;; #(
14863      auto) :
14864            if test -n "$PKG_CONFIG" && \
14865    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.6.7\""; } >&5
14866  ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.6.7") 2>&5
14867  ac_status=$?
14868  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14869  test $ac_status = 0; }; then
14870  found_introspection=yes
14871else
14872  found_introspection=no
14873fi
14874     ;; #(
14875  *) :
14876                as_fn_error $? "invalid argument passed to --enable-introspection, should be one of [no/auto/yes]" "$LINENO" 5
14877     ;;
14878esac
14879    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_introspection" >&5
14880$as_echo "$found_introspection" >&6; }
14881
14882    INTROSPECTION_SCANNER=
14883    INTROSPECTION_COMPILER=
14884    INTROSPECTION_GENERATE=
14885    INTROSPECTION_GIRDIR=
14886    INTROSPECTION_TYPELIBDIR=
14887    if test "x$found_introspection" = "xyes"; then
14888       INTROSPECTION_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0`
14889       INTROSPECTION_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0`
14890       INTROSPECTION_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0`
14891       INTROSPECTION_GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0`
14892       INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)"
14893       INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0`
14894       INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0`
14895       INTROSPECTION_MAKEFILE=`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection
14896    fi
14897
14898
14899
14900
14901
14902
14903
14904
14905
14906     if test "x$found_introspection" = "xyes"; then
14907  HAVE_INTROSPECTION_TRUE=
14908  HAVE_INTROSPECTION_FALSE='#'
14909else
14910  HAVE_INTROSPECTION_TRUE='#'
14911  HAVE_INTROSPECTION_FALSE=
14912fi
14913
14914
14915
14916
14917if test -n "$PKG_CONFIG" && \
14918    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.10\""; } >&5
14919  ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.10") 2>&5
14920  ac_status=$?
14921  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14922  test $ac_status = 0; }; then
14923  introspection_ten=yes
14924else
14925  introspection_ten=no
14926fi
14927
14928 if test "x$introspection_ten" = "xyes"; then
14929  INTROSPECTION_TEN_TRUE=
14930  INTROSPECTION_TEN_FALSE='#'
14931else
14932  INTROSPECTION_TEN_TRUE='#'
14933  INTROSPECTION_TEN_FALSE=
14934fi
14935
14936
14937if test "$enable_introspection" = "yes"; then
14938	# Redefine introspection dirs using proper prefixes
14939
14940	INTROSPECTION_GIRDIR=`$PKG_CONFIG --define-variable=datadir=${datadir} --variable=girdir gobject-introspection-1.0`
14941
14942
14943	INTROSPECTION_TYPELIBDIR=`$PKG_CONFIG --define-variable=libdir=${libdir} --variable=typelibdir gobject-introspection-1.0`
14944
14945fi
14946
14947###########################
14948# Vala API Generation
14949###########################
14950
14951# Check whether --enable-vala was given.
14952if test "${enable_vala+set}" = set; then :
14953  enableval=$enable_vala; enable_vala=$enableval
14954else
14955  enable_vala=auto
14956fi
14957
14958
14959if test "x$enable_vala" != "xno"; then :
14960
14961	if test -z "$HAVE_INTROSPECTION_TRUE"; then :
14962  else
14963
14964		as_fn_error $? "Vala bindings require introspection support, please --enable-introspection" "$LINENO" 5
14965
14966fi
14967# Extract the first word of "vapigen", so it can be a program name with args.
14968set dummy vapigen; ac_word=$2
14969{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14970$as_echo_n "checking for $ac_word... " >&6; }
14971if ${ac_cv_path_VALA_API_GEN+:} false; then :
14972  $as_echo_n "(cached) " >&6
14973else
14974  case $VALA_API_GEN in
14975  [\\/]* | ?:[\\/]*)
14976  ac_cv_path_VALA_API_GEN="$VALA_API_GEN" # Let the user override the test with a path.
14977  ;;
14978  *)
14979  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14980for as_dir in $PATH
14981do
14982  IFS=$as_save_IFS
14983  test -z "$as_dir" && as_dir=.
14984    for ac_exec_ext in '' $ac_executable_extensions; do
14985  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14986    ac_cv_path_VALA_API_GEN="$as_dir/$ac_word$ac_exec_ext"
14987    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14988    break 2
14989  fi
14990done
14991  done
14992IFS=$as_save_IFS
14993
14994  ;;
14995esac
14996fi
14997VALA_API_GEN=$ac_cv_path_VALA_API_GEN
14998if test -n "$VALA_API_GEN"; then
14999  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALA_API_GEN" >&5
15000$as_echo "$VALA_API_GEN" >&6; }
15001else
15002  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15003$as_echo "no" >&6; }
15004fi
15005
15006
15007
15008fi
15009 if test -n "$VALA_API_GEN"; then
15010  HAVE_VALA_TRUE=
15011  HAVE_VALA_FALSE='#'
15012else
15013  HAVE_VALA_TRUE='#'
15014  HAVE_VALA_FALSE=
15015fi
15016
15017
15018###########################
15019# XSLT Processor
15020###########################
15021
15022# Extract the first word of "xsltproc", so it can be a program name with args.
15023set dummy xsltproc; ac_word=$2
15024{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15025$as_echo_n "checking for $ac_word... " >&6; }
15026if ${ac_cv_path_XSLT_PROC+:} false; then :
15027  $as_echo_n "(cached) " >&6
15028else
15029  case $XSLT_PROC in
15030  [\\/]* | ?:[\\/]*)
15031  ac_cv_path_XSLT_PROC="$XSLT_PROC" # Let the user override the test with a path.
15032  ;;
15033  *)
15034  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15035for as_dir in $PATH
15036do
15037  IFS=$as_save_IFS
15038  test -z "$as_dir" && as_dir=.
15039    for ac_exec_ext in '' $ac_executable_extensions; do
15040  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15041    ac_cv_path_XSLT_PROC="$as_dir/$ac_word$ac_exec_ext"
15042    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15043    break 2
15044  fi
15045done
15046  done
15047IFS=$as_save_IFS
15048
15049  ;;
15050esac
15051fi
15052XSLT_PROC=$ac_cv_path_XSLT_PROC
15053if test -n "$XSLT_PROC"; then
15054  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLT_PROC" >&5
15055$as_echo "$XSLT_PROC" >&6; }
15056else
15057  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15058$as_echo "no" >&6; }
15059fi
15060
15061
15062
15063###########################
15064# Lib versioning
15065###########################
15066
15067LIBDBUSMENU_CURRENT=4
15068LIBDBUSMENU_REVISION=12
15069LIBDBUSMENU_AGE=0
15070
15071
15072
15073
15074
15075###########################
15076# Internationalization
15077###########################
15078
15079GETTEXT_PACKAGE=libdbusmenu
15080
15081
15082cat >>confdefs.h <<_ACEOF
15083#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
15084_ACEOF
15085
15086
15087
15088   for ac_header in locale.h
15089do :
15090  ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
15091if test "x$ac_cv_header_locale_h" = xyes; then :
15092  cat >>confdefs.h <<_ACEOF
15093#define HAVE_LOCALE_H 1
15094_ACEOF
15095
15096fi
15097
15098done
15099
15100    if test $ac_cv_header_locale_h = yes; then
15101    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
15102$as_echo_n "checking for LC_MESSAGES... " >&6; }
15103if ${am_cv_val_LC_MESSAGES+:} false; then :
15104  $as_echo_n "(cached) " >&6
15105else
15106  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15107/* end confdefs.h.  */
15108#include <locale.h>
15109int
15110main ()
15111{
15112return LC_MESSAGES
15113  ;
15114  return 0;
15115}
15116_ACEOF
15117if ac_fn_c_try_link "$LINENO"; then :
15118  am_cv_val_LC_MESSAGES=yes
15119else
15120  am_cv_val_LC_MESSAGES=no
15121fi
15122rm -f core conftest.err conftest.$ac_objext \
15123    conftest$ac_exeext conftest.$ac_ext
15124fi
15125{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
15126$as_echo "$am_cv_val_LC_MESSAGES" >&6; }
15127    if test $am_cv_val_LC_MESSAGES = yes; then
15128
15129$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
15130
15131    fi
15132  fi
15133     #USE_NLS=yes
15134
15135
15136    gt_cv_have_gettext=no
15137
15138    CATOBJEXT=NONE
15139    XGETTEXT=:
15140    INTLLIBS=
15141
15142    ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
15143if test "x$ac_cv_header_libintl_h" = xyes; then :
15144  gt_cv_func_dgettext_libintl="no"
15145      libintl_extra_libs=""
15146
15147      #
15148      # First check in libc
15149      #
15150      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
15151$as_echo_n "checking for ngettext in libc... " >&6; }
15152if ${gt_cv_func_ngettext_libc+:} false; then :
15153  $as_echo_n "(cached) " >&6
15154else
15155  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15156/* end confdefs.h.  */
15157
15158#include <libintl.h>
15159
15160int
15161main ()
15162{
15163return !ngettext ("","", 1)
15164  ;
15165  return 0;
15166}
15167_ACEOF
15168if ac_fn_c_try_link "$LINENO"; then :
15169  gt_cv_func_ngettext_libc=yes
15170else
15171  gt_cv_func_ngettext_libc=no
15172fi
15173rm -f core conftest.err conftest.$ac_objext \
15174    conftest$ac_exeext conftest.$ac_ext
15175
15176fi
15177{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
15178$as_echo "$gt_cv_func_ngettext_libc" >&6; }
15179
15180      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
15181	      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
15182$as_echo_n "checking for dgettext in libc... " >&6; }
15183if ${gt_cv_func_dgettext_libc+:} false; then :
15184  $as_echo_n "(cached) " >&6
15185else
15186  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15187/* end confdefs.h.  */
15188
15189#include <libintl.h>
15190
15191int
15192main ()
15193{
15194return !dgettext ("","")
15195  ;
15196  return 0;
15197}
15198_ACEOF
15199if ac_fn_c_try_link "$LINENO"; then :
15200  gt_cv_func_dgettext_libc=yes
15201else
15202  gt_cv_func_dgettext_libc=no
15203fi
15204rm -f core conftest.err conftest.$ac_objext \
15205    conftest$ac_exeext conftest.$ac_ext
15206
15207fi
15208{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
15209$as_echo "$gt_cv_func_dgettext_libc" >&6; }
15210      fi
15211
15212      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
15213        for ac_func in bind_textdomain_codeset
15214do :
15215  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
15216if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
15217  cat >>confdefs.h <<_ACEOF
15218#define HAVE_BIND_TEXTDOMAIN_CODESET 1
15219_ACEOF
15220
15221fi
15222done
15223
15224      fi
15225
15226      #
15227      # If we don't have everything we want, check in libintl
15228      #
15229      if test "$gt_cv_func_dgettext_libc" != "yes" \
15230	 || test "$gt_cv_func_ngettext_libc" != "yes" \
15231         || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
15232
15233        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
15234$as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
15235if ${ac_cv_lib_intl_bindtextdomain+:} false; then :
15236  $as_echo_n "(cached) " >&6
15237else
15238  ac_check_lib_save_LIBS=$LIBS
15239LIBS="-lintl  $LIBS"
15240cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15241/* end confdefs.h.  */
15242
15243/* Override any GCC internal prototype to avoid an error.
15244   Use char because int might match the return type of a GCC
15245   builtin and then its argument prototype would still apply.  */
15246#ifdef __cplusplus
15247extern "C"
15248#endif
15249char bindtextdomain ();
15250int
15251main ()
15252{
15253return bindtextdomain ();
15254  ;
15255  return 0;
15256}
15257_ACEOF
15258if ac_fn_c_try_link "$LINENO"; then :
15259  ac_cv_lib_intl_bindtextdomain=yes
15260else
15261  ac_cv_lib_intl_bindtextdomain=no
15262fi
15263rm -f core conftest.err conftest.$ac_objext \
15264    conftest$ac_exeext conftest.$ac_ext
15265LIBS=$ac_check_lib_save_LIBS
15266fi
15267{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
15268$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
15269if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then :
15270  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
15271$as_echo_n "checking for ngettext in -lintl... " >&6; }
15272if ${ac_cv_lib_intl_ngettext+:} false; then :
15273  $as_echo_n "(cached) " >&6
15274else
15275  ac_check_lib_save_LIBS=$LIBS
15276LIBS="-lintl  $LIBS"
15277cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15278/* end confdefs.h.  */
15279
15280/* Override any GCC internal prototype to avoid an error.
15281   Use char because int might match the return type of a GCC
15282   builtin and then its argument prototype would still apply.  */
15283#ifdef __cplusplus
15284extern "C"
15285#endif
15286char ngettext ();
15287int
15288main ()
15289{
15290return ngettext ();
15291  ;
15292  return 0;
15293}
15294_ACEOF
15295if ac_fn_c_try_link "$LINENO"; then :
15296  ac_cv_lib_intl_ngettext=yes
15297else
15298  ac_cv_lib_intl_ngettext=no
15299fi
15300rm -f core conftest.err conftest.$ac_objext \
15301    conftest$ac_exeext conftest.$ac_ext
15302LIBS=$ac_check_lib_save_LIBS
15303fi
15304{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
15305$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
15306if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
15307  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
15308$as_echo_n "checking for dgettext in -lintl... " >&6; }
15309if ${ac_cv_lib_intl_dgettext+:} false; then :
15310  $as_echo_n "(cached) " >&6
15311else
15312  ac_check_lib_save_LIBS=$LIBS
15313LIBS="-lintl  $LIBS"
15314cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15315/* end confdefs.h.  */
15316
15317/* Override any GCC internal prototype to avoid an error.
15318   Use char because int might match the return type of a GCC
15319   builtin and then its argument prototype would still apply.  */
15320#ifdef __cplusplus
15321extern "C"
15322#endif
15323char dgettext ();
15324int
15325main ()
15326{
15327return dgettext ();
15328  ;
15329  return 0;
15330}
15331_ACEOF
15332if ac_fn_c_try_link "$LINENO"; then :
15333  ac_cv_lib_intl_dgettext=yes
15334else
15335  ac_cv_lib_intl_dgettext=no
15336fi
15337rm -f core conftest.err conftest.$ac_objext \
15338    conftest$ac_exeext conftest.$ac_ext
15339LIBS=$ac_check_lib_save_LIBS
15340fi
15341{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
15342$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
15343if test "x$ac_cv_lib_intl_dgettext" = xyes; then :
15344  gt_cv_func_dgettext_libintl=yes
15345fi
15346
15347fi
15348
15349fi
15350
15351
15352	if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
15353	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
15354$as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
15355	  { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
15356$as_echo "" >&6; }
15357  	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
15358$as_echo_n "checking for ngettext in -lintl... " >&6; }
15359if ${ac_cv_lib_intl_ngettext+:} false; then :
15360  $as_echo_n "(cached) " >&6
15361else
15362  ac_check_lib_save_LIBS=$LIBS
15363LIBS="-lintl -liconv $LIBS"
15364cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15365/* end confdefs.h.  */
15366
15367/* Override any GCC internal prototype to avoid an error.
15368   Use char because int might match the return type of a GCC
15369   builtin and then its argument prototype would still apply.  */
15370#ifdef __cplusplus
15371extern "C"
15372#endif
15373char ngettext ();
15374int
15375main ()
15376{
15377return ngettext ();
15378  ;
15379  return 0;
15380}
15381_ACEOF
15382if ac_fn_c_try_link "$LINENO"; then :
15383  ac_cv_lib_intl_ngettext=yes
15384else
15385  ac_cv_lib_intl_ngettext=no
15386fi
15387rm -f core conftest.err conftest.$ac_objext \
15388    conftest$ac_exeext conftest.$ac_ext
15389LIBS=$ac_check_lib_save_LIBS
15390fi
15391{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
15392$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
15393if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
15394  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
15395$as_echo_n "checking for dcgettext in -lintl... " >&6; }
15396if ${ac_cv_lib_intl_dcgettext+:} false; then :
15397  $as_echo_n "(cached) " >&6
15398else
15399  ac_check_lib_save_LIBS=$LIBS
15400LIBS="-lintl -liconv $LIBS"
15401cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15402/* end confdefs.h.  */
15403
15404/* Override any GCC internal prototype to avoid an error.
15405   Use char because int might match the return type of a GCC
15406   builtin and then its argument prototype would still apply.  */
15407#ifdef __cplusplus
15408extern "C"
15409#endif
15410char dcgettext ();
15411int
15412main ()
15413{
15414return dcgettext ();
15415  ;
15416  return 0;
15417}
15418_ACEOF
15419if ac_fn_c_try_link "$LINENO"; then :
15420  ac_cv_lib_intl_dcgettext=yes
15421else
15422  ac_cv_lib_intl_dcgettext=no
15423fi
15424rm -f core conftest.err conftest.$ac_objext \
15425    conftest$ac_exeext conftest.$ac_ext
15426LIBS=$ac_check_lib_save_LIBS
15427fi
15428{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
15429$as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
15430if test "x$ac_cv_lib_intl_dcgettext" = xyes; then :
15431  gt_cv_func_dgettext_libintl=yes
15432			libintl_extra_libs=-liconv
15433else
15434  :
15435fi
15436
15437else
15438  :
15439fi
15440
15441        fi
15442
15443        #
15444        # If we found libintl, then check in it for bind_textdomain_codeset();
15445        # we'll prefer libc if neither have bind_textdomain_codeset(),
15446        # and both have dgettext and ngettext
15447        #
15448        if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
15449          glib_save_LIBS="$LIBS"
15450          LIBS="$LIBS -lintl $libintl_extra_libs"
15451          unset ac_cv_func_bind_textdomain_codeset
15452          for ac_func in bind_textdomain_codeset
15453do :
15454  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
15455if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
15456  cat >>confdefs.h <<_ACEOF
15457#define HAVE_BIND_TEXTDOMAIN_CODESET 1
15458_ACEOF
15459
15460fi
15461done
15462
15463          LIBS="$glib_save_LIBS"
15464
15465          if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
15466            gt_cv_func_dgettext_libc=no
15467          else
15468            if test "$gt_cv_func_dgettext_libc" = "yes" \
15469		&& test "$gt_cv_func_ngettext_libc" = "yes"; then
15470              gt_cv_func_dgettext_libintl=no
15471            fi
15472          fi
15473        fi
15474      fi
15475
15476      if test "$gt_cv_func_dgettext_libc" = "yes" \
15477	|| test "$gt_cv_func_dgettext_libintl" = "yes"; then
15478        gt_cv_have_gettext=yes
15479      fi
15480
15481      if test "$gt_cv_func_dgettext_libintl" = "yes"; then
15482        INTLLIBS="-lintl $libintl_extra_libs"
15483      fi
15484
15485      if test "$gt_cv_have_gettext" = "yes"; then
15486
15487$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
15488
15489	# Extract the first word of "msgfmt", so it can be a program name with args.
15490set dummy msgfmt; ac_word=$2
15491{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15492$as_echo_n "checking for $ac_word... " >&6; }
15493if ${ac_cv_path_MSGFMT+:} false; then :
15494  $as_echo_n "(cached) " >&6
15495else
15496  case "$MSGFMT" in
15497  /*)
15498  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
15499  ;;
15500  *)
15501  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
15502  for ac_dir in $PATH; do
15503    test -z "$ac_dir" && ac_dir=.
15504    if test -f $ac_dir/$ac_word; then
15505      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
15506	ac_cv_path_MSGFMT="$ac_dir/$ac_word"
15507	break
15508      fi
15509    fi
15510  done
15511  IFS="$ac_save_ifs"
15512  test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
15513  ;;
15514esac
15515fi
15516MSGFMT="$ac_cv_path_MSGFMT"
15517if test "$MSGFMT" != "no"; then
15518  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
15519$as_echo "$MSGFMT" >&6; }
15520else
15521  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15522$as_echo "no" >&6; }
15523fi
15524	if test "$MSGFMT" != "no"; then
15525          glib_save_LIBS="$LIBS"
15526          LIBS="$LIBS $INTLLIBS"
15527	  for ac_func in dcgettext
15528do :
15529  ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
15530if test "x$ac_cv_func_dcgettext" = xyes; then :
15531  cat >>confdefs.h <<_ACEOF
15532#define HAVE_DCGETTEXT 1
15533_ACEOF
15534
15535fi
15536done
15537
15538	  MSGFMT_OPTS=
15539	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
15540$as_echo_n "checking if msgfmt accepts -c... " >&6; }
15541	  cat >conftest.foo <<_ACEOF
15542
15543msgid ""
15544msgstr ""
15545"Content-Type: text/plain; charset=UTF-8\n"
15546"Project-Id-Version: test 1.0\n"
15547"PO-Revision-Date: 2007-02-15 12:01+0100\n"
15548"Last-Translator: test <foo@bar.xx>\n"
15549"Language-Team: C <LL@li.org>\n"
15550"MIME-Version: 1.0\n"
15551"Content-Transfer-Encoding: 8bit\n"
15552
15553_ACEOF
15554if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
15555  ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
15556  ac_status=$?
15557  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15558  test $ac_status = 0; }; then
15559  MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15560$as_echo "yes" >&6; }
15561else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15562$as_echo "no" >&6; }
15563echo "$as_me: failed input was:" >&5
15564sed 's/^/| /' conftest.foo >&5
15565fi
15566
15567	  # Extract the first word of "gmsgfmt", so it can be a program name with args.
15568set dummy gmsgfmt; ac_word=$2
15569{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15570$as_echo_n "checking for $ac_word... " >&6; }
15571if ${ac_cv_path_GMSGFMT+:} false; then :
15572  $as_echo_n "(cached) " >&6
15573else
15574  case $GMSGFMT in
15575  [\\/]* | ?:[\\/]*)
15576  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
15577  ;;
15578  *)
15579  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15580for as_dir in $PATH
15581do
15582  IFS=$as_save_IFS
15583  test -z "$as_dir" && as_dir=.
15584    for ac_exec_ext in '' $ac_executable_extensions; do
15585  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15586    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
15587    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15588    break 2
15589  fi
15590done
15591  done
15592IFS=$as_save_IFS
15593
15594  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
15595  ;;
15596esac
15597fi
15598GMSGFMT=$ac_cv_path_GMSGFMT
15599if test -n "$GMSGFMT"; then
15600  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
15601$as_echo "$GMSGFMT" >&6; }
15602else
15603  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15604$as_echo "no" >&6; }
15605fi
15606
15607
15608	  # Extract the first word of "xgettext", so it can be a program name with args.
15609set dummy xgettext; ac_word=$2
15610{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15611$as_echo_n "checking for $ac_word... " >&6; }
15612if ${ac_cv_path_XGETTEXT+:} false; then :
15613  $as_echo_n "(cached) " >&6
15614else
15615  case "$XGETTEXT" in
15616  /*)
15617  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
15618  ;;
15619  *)
15620  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
15621  for ac_dir in $PATH; do
15622    test -z "$ac_dir" && ac_dir=.
15623    if test -f $ac_dir/$ac_word; then
15624      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
15625	ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
15626	break
15627      fi
15628    fi
15629  done
15630  IFS="$ac_save_ifs"
15631  test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
15632  ;;
15633esac
15634fi
15635XGETTEXT="$ac_cv_path_XGETTEXT"
15636if test "$XGETTEXT" != ":"; then
15637  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
15638$as_echo "$XGETTEXT" >&6; }
15639else
15640  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15641$as_echo "no" >&6; }
15642fi
15643
15644	  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15645/* end confdefs.h.  */
15646
15647int
15648main ()
15649{
15650extern int _nl_msg_cat_cntr;
15651			 return _nl_msg_cat_cntr
15652  ;
15653  return 0;
15654}
15655_ACEOF
15656if ac_fn_c_try_link "$LINENO"; then :
15657  CATOBJEXT=.gmo
15658             DATADIRNAME=share
15659else
15660  case $host in
15661	    *-*-solaris*)
15662	    	                	    	                ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
15663if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
15664  CATOBJEXT=.gmo
15665               DATADIRNAME=share
15666else
15667  CATOBJEXT=.mo
15668               DATADIRNAME=share
15669fi
15670
15671	    ;;
15672	    *-*-openbsd*)
15673	    CATOBJEXT=.mo
15674            DATADIRNAME=share
15675	    ;;
15676	    *)
15677	    CATOBJEXT=.mo
15678            DATADIRNAME=share
15679	    ;;
15680	    esac
15681fi
15682rm -f core conftest.err conftest.$ac_objext \
15683    conftest$ac_exeext conftest.$ac_ext
15684          LIBS="$glib_save_LIBS"
15685	  INSTOBJEXT=.mo
15686	else
15687	  gt_cv_have_gettext=no
15688	fi
15689      fi
15690
15691fi
15692
15693
15694
15695    if test "$gt_cv_have_gettext" = "yes" ; then
15696
15697$as_echo "#define ENABLE_NLS 1" >>confdefs.h
15698
15699    fi
15700
15701        if test "$XGETTEXT" != ":"; then
15702                  if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
15703        : ;
15704      else
15705        { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
15706$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
15707        XGETTEXT=":"
15708      fi
15709    fi
15710
15711    # We need to process the po/ directory.
15712    POSUB=po
15713
15714    ac_config_commands="$ac_config_commands default-1"
15715
15716
15717                for lang in $ALL_LINGUAS; do
15718      GMOFILES="$GMOFILES $lang.gmo"
15719      POFILES="$POFILES $lang.po"
15720    done
15721
15722
15723
15724
15725
15726
15727
15728
15729
15730
15731
15732
15733
15734   if test "$gt_cv_have_gettext" = "yes"; then
15735     if test "x$ALL_LINGUAS" = "x"; then
15736       LINGUAS=
15737     else
15738       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
15739$as_echo_n "checking for catalogs to be installed... " >&6; }
15740       NEW_LINGUAS=
15741       for presentlang in $ALL_LINGUAS; do
15742         useit=no
15743         if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
15744           desiredlanguages="$LINGUAS"
15745         else
15746           desiredlanguages="$ALL_LINGUAS"
15747         fi
15748         for desiredlang in $desiredlanguages; do
15749 	   # Use the presentlang catalog if desiredlang is
15750           #   a. equal to presentlang, or
15751           #   b. a variant of presentlang (because in this case,
15752           #      presentlang can be used as a fallback for messages
15753           #      which are not translated in the desiredlang catalog).
15754           case "$desiredlang" in
15755             "$presentlang"*) useit=yes;;
15756           esac
15757         done
15758         if test $useit = yes; then
15759           NEW_LINGUAS="$NEW_LINGUAS $presentlang"
15760         fi
15761       done
15762       LINGUAS=$NEW_LINGUAS
15763       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
15764$as_echo "$LINGUAS" >&6; }
15765     fi
15766
15767          if test -n "$LINGUAS"; then
15768       for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
15769     fi
15770   fi
15771
15772            MKINSTALLDIRS=
15773   if test -n "$ac_aux_dir"; then
15774     MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
15775   fi
15776   if test -z "$MKINSTALLDIRS"; then
15777     MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
15778   fi
15779
15780
15781         test -d po || mkdir po
15782   if test "x$srcdir" != "x."; then
15783     if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
15784       posrcprefix="$srcdir/"
15785     else
15786       posrcprefix="../$srcdir/"
15787     fi
15788   else
15789     posrcprefix="../"
15790   fi
15791   rm -f po/POTFILES
15792   sed -e "/^#/d" -e "/^\$/d" -e "s,.*,	$posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
15793	< $srcdir/po/POTFILES.in > po/POTFILES
15794
15795
15796###########################
15797# Massive Debugging
15798###########################
15799
15800with_massivedebugging="no"
15801# Check whether --enable-massivedebugging was given.
15802if test "${enable_massivedebugging+set}" = set; then :
15803  enableval=$enable_massivedebugging; with_massivedebugging=$enableval
15804else
15805  with_massivedebugging=no
15806fi
15807
15808if test "x$with_massivedebugging" = "xyes"; then
15809
15810$as_echo "#define MASSIVEDEBUGGING 1" >>confdefs.h
15811
15812fi
15813
15814###########################
15815# gcov coverage reporting
15816###########################
15817
15818# Checks for existence of coverage tools:
15819#  * gcov
15820#  * lcov
15821#  * genhtml
15822#  * gcovr
15823#
15824# Sets ac_cv_check_gcov to yes if tooling is present
15825# and reports the executables to the variables LCOV, GCOVR and GENHTML.
15826 # AC_TDD_GCOV
15827
15828
15829  # Check whether --enable-gcov was given.
15830if test "${enable_gcov+set}" = set; then :
15831  enableval=$enable_gcov; use_gcov=$enableval
15832else
15833  use_gcov=no
15834fi
15835
15836
15837  if test "x$use_gcov" = "xyes"; then
15838  # we need gcc:
15839  if test "$GCC" != "yes"; then
15840    as_fn_error $? "GCC is required for --enable-gcov" "$LINENO" 5
15841  fi
15842
15843  # Check if ccache is being used
15844  # Extract the first word of "shtool", so it can be a program name with args.
15845set dummy shtool; ac_word=$2
15846{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15847$as_echo_n "checking for $ac_word... " >&6; }
15848if ${ac_cv_prog_SHTOOL+:} false; then :
15849  $as_echo_n "(cached) " >&6
15850else
15851  if test -n "$SHTOOL"; then
15852  ac_cv_prog_SHTOOL="$SHTOOL" # Let the user override the test.
15853else
15854as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15855for as_dir in $PATH
15856do
15857  IFS=$as_save_IFS
15858  test -z "$as_dir" && as_dir=.
15859    for ac_exec_ext in '' $ac_executable_extensions; do
15860  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15861    ac_cv_prog_SHTOOL="shtool"
15862    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15863    break 2
15864  fi
15865done
15866  done
15867IFS=$as_save_IFS
15868
15869fi
15870fi
15871SHTOOL=$ac_cv_prog_SHTOOL
15872if test -n "$SHTOOL"; then
15873  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SHTOOL" >&5
15874$as_echo "$SHTOOL" >&6; }
15875else
15876  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15877$as_echo "no" >&6; }
15878fi
15879
15880
15881  case `$SHTOOL path $CC` in
15882    *ccache*) gcc_ccache=yes;;
15883    *) gcc_ccache=no;;
15884  esac
15885
15886  if test "$gcc_ccache" = "yes" && (test -z "$CCACHE_DISABLE" || test "$CCACHE_DISABLE" != "1"); then
15887    as_fn_error $? "ccache must be disabled when --enable-gcov option is used. You can disable ccache by setting environment variable CCACHE_DISABLE=1." "$LINENO" 5
15888  fi
15889
15890  lcov_version_list="1.6 1.7 1.8 1.9"
15891  # Extract the first word of "lcov", so it can be a program name with args.
15892set dummy lcov; ac_word=$2
15893{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15894$as_echo_n "checking for $ac_word... " >&6; }
15895if ${ac_cv_prog_LCOV+:} false; then :
15896  $as_echo_n "(cached) " >&6
15897else
15898  if test -n "$LCOV"; then
15899  ac_cv_prog_LCOV="$LCOV" # Let the user override the test.
15900else
15901as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15902for as_dir in $PATH
15903do
15904  IFS=$as_save_IFS
15905  test -z "$as_dir" && as_dir=.
15906    for ac_exec_ext in '' $ac_executable_extensions; do
15907  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15908    ac_cv_prog_LCOV="lcov"
15909    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15910    break 2
15911  fi
15912done
15913  done
15914IFS=$as_save_IFS
15915
15916fi
15917fi
15918LCOV=$ac_cv_prog_LCOV
15919if test -n "$LCOV"; then
15920  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LCOV" >&5
15921$as_echo "$LCOV" >&6; }
15922else
15923  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15924$as_echo "no" >&6; }
15925fi
15926
15927
15928  # Extract the first word of "genhtml", so it can be a program name with args.
15929set dummy genhtml; ac_word=$2
15930{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15931$as_echo_n "checking for $ac_word... " >&6; }
15932if ${ac_cv_prog_GENHTML+:} false; then :
15933  $as_echo_n "(cached) " >&6
15934else
15935  if test -n "$GENHTML"; then
15936  ac_cv_prog_GENHTML="$GENHTML" # Let the user override the test.
15937else
15938as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15939for as_dir in $PATH
15940do
15941  IFS=$as_save_IFS
15942  test -z "$as_dir" && as_dir=.
15943    for ac_exec_ext in '' $ac_executable_extensions; do
15944  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15945    ac_cv_prog_GENHTML="genhtml"
15946    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15947    break 2
15948  fi
15949done
15950  done
15951IFS=$as_save_IFS
15952
15953fi
15954fi
15955GENHTML=$ac_cv_prog_GENHTML
15956if test -n "$GENHTML"; then
15957  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GENHTML" >&5
15958$as_echo "$GENHTML" >&6; }
15959else
15960  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15961$as_echo "no" >&6; }
15962fi
15963
15964
15965
15966  if test "$LCOV"; then
15967    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lcov version" >&5
15968$as_echo_n "checking for lcov version... " >&6; }
15969if ${glib_cv_lcov_version+:} false; then :
15970  $as_echo_n "(cached) " >&6
15971else
15972
15973      glib_cv_lcov_version=invalid
15974      lcov_version=`$LCOV -v 2>/dev/null | $SED -e 's/^.* //'`
15975      for lcov_check_version in $lcov_version_list; do
15976        if test "$lcov_version" = "$lcov_check_version"; then
15977          glib_cv_lcov_version="$lcov_check_version (ok)"
15978        fi
15979      done
15980
15981fi
15982{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glib_cv_lcov_version" >&5
15983$as_echo "$glib_cv_lcov_version" >&6; }
15984  else
15985    lcov_msg="To enable code coverage reporting you must have one of the following lcov versions installed: $lcov_version_list"
15986    as_fn_error $? "$lcov_msg" "$LINENO" 5
15987  fi
15988
15989  case $glib_cv_lcov_version in
15990    ""|invalid)
15991      lcov_msg="You must have one of the following versions of lcov: $lcov_version_list (found: $lcov_version)."
15992      as_fn_error $? "$lcov_msg" "$LINENO" 5
15993      LCOV="exit 0;"
15994      ;;
15995  esac
15996
15997  if test -z "$GENHTML"; then
15998    as_fn_error $? "Could not find genhtml from the lcov package" "$LINENO" 5
15999  fi
16000
16001  ac_cv_check_gcov=yes
16002  ac_cv_check_lcov=yes
16003
16004  # Remove all optimization flags from CFLAGS
16005
16006  CFLAGS=`echo "$CFLAGS" | $SED -e 's/-O[0-9]*//g'`
16007
16008
16009  # Add the special gcc flags
16010  COVERAGE_CFLAGS="-O0 -fprofile-arcs -ftest-coverage"
16011  COVERAGE_CXXFLAGS="-O0 -fprofile-arcs -ftest-coverage"
16012  COVERAGE_LDFLAGS="-lgcov"
16013
16014  # Check availability of gcovr
16015  # Extract the first word of "gcovr", so it can be a program name with args.
16016set dummy gcovr; ac_word=$2
16017{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16018$as_echo_n "checking for $ac_word... " >&6; }
16019if ${ac_cv_prog_GCOVR+:} false; then :
16020  $as_echo_n "(cached) " >&6
16021else
16022  if test -n "$GCOVR"; then
16023  ac_cv_prog_GCOVR="$GCOVR" # Let the user override the test.
16024else
16025as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16026for as_dir in $PATH
16027do
16028  IFS=$as_save_IFS
16029  test -z "$as_dir" && as_dir=.
16030    for ac_exec_ext in '' $ac_executable_extensions; do
16031  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16032    ac_cv_prog_GCOVR="gcovr"
16033    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16034    break 2
16035  fi
16036done
16037  done
16038IFS=$as_save_IFS
16039
16040fi
16041fi
16042GCOVR=$ac_cv_prog_GCOVR
16043if test -n "$GCOVR"; then
16044  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCOVR" >&5
16045$as_echo "$GCOVR" >&6; }
16046else
16047  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16048$as_echo "no" >&6; }
16049fi
16050
16051
16052  if test -z "$GCOVR"; then
16053    ac_cv_check_gcovr=no
16054  else
16055    ac_cv_check_gcovr=yes
16056  fi
16057
16058fi
16059
16060 if test "x$ac_cv_check_gcov" = xyes; then
16061  HAVE_GCOV_TRUE=
16062  HAVE_GCOV_FALSE='#'
16063else
16064  HAVE_GCOV_TRUE='#'
16065  HAVE_GCOV_FALSE=
16066fi
16067
16068 if test "x$ac_cv_check_lcov" = xyes; then
16069  HAVE_LCOV_TRUE=
16070  HAVE_LCOV_FALSE='#'
16071else
16072  HAVE_LCOV_TRUE='#'
16073  HAVE_LCOV_FALSE=
16074fi
16075
16076 if test "x$ac_cv_check_gcovr" = xyes; then
16077  HAVE_GCOVR_TRUE=
16078  HAVE_GCOVR_FALSE='#'
16079else
16080  HAVE_GCOVR_TRUE='#'
16081  HAVE_GCOVR_FALSE=
16082fi
16083
16084
16085
16086
16087###########################
16088# Files
16089###########################
16090
16091ac_config_files="$ac_config_files Makefile po/Makefile.in libdbusmenu-glib/Makefile libdbusmenu-glib/dbusmenu-glib-0.4.pc libdbusmenu-gtk/Makefile libdbusmenu-gtk/dbusmenu-gtk-0.4.pc libdbusmenu-gtk/dbusmenu-gtk3-0.4.pc tools/Makefile tools/testapp/Makefile tests/Makefile tests/dbusmenu-jsonloader-0.4.pc docs/Makefile docs/libdbusmenu-glib/Makefile docs/libdbusmenu-glib/reference/Makefile docs/libdbusmenu-glib/reference/version.xml docs/libdbusmenu-gtk/Makefile docs/libdbusmenu-gtk/reference/Makefile docs/libdbusmenu-gtk/reference/version.xml"
16092
16093cat >confcache <<\_ACEOF
16094# This file is a shell script that caches the results of configure
16095# tests run on this system so they can be shared between configure
16096# scripts and configure runs, see configure's option --config-cache.
16097# It is not useful on other systems.  If it contains results you don't
16098# want to keep, you may remove or edit it.
16099#
16100# config.status only pays attention to the cache file if you give it
16101# the --recheck option to rerun configure.
16102#
16103# `ac_cv_env_foo' variables (set or unset) will be overridden when
16104# loading this file, other *unset* `ac_cv_foo' will be assigned the
16105# following values.
16106
16107_ACEOF
16108
16109# The following way of writing the cache mishandles newlines in values,
16110# but we know of no workaround that is simple, portable, and efficient.
16111# So, we kill variables containing newlines.
16112# Ultrix sh set writes to stderr and can't be redirected directly,
16113# and sets the high bit in the cache file unless we assign to the vars.
16114(
16115  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16116    eval ac_val=\$$ac_var
16117    case $ac_val in #(
16118    *${as_nl}*)
16119      case $ac_var in #(
16120      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16121$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16122      esac
16123      case $ac_var in #(
16124      _ | IFS | as_nl) ;; #(
16125      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16126      *) { eval $ac_var=; unset $ac_var;} ;;
16127      esac ;;
16128    esac
16129  done
16130
16131  (set) 2>&1 |
16132    case $as_nl`(ac_space=' '; set) 2>&1` in #(
16133    *${as_nl}ac_space=\ *)
16134      # `set' does not quote correctly, so add quotes: double-quote
16135      # substitution turns \\\\ into \\, and sed turns \\ into \.
16136      sed -n \
16137	"s/'/'\\\\''/g;
16138	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16139      ;; #(
16140    *)
16141      # `set' quotes correctly as required by POSIX, so do not add quotes.
16142      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16143      ;;
16144    esac |
16145    sort
16146) |
16147  sed '
16148     /^ac_cv_env_/b end
16149     t clear
16150     :clear
16151     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16152     t end
16153     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16154     :end' >>confcache
16155if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16156  if test -w "$cache_file"; then
16157    if test "x$cache_file" != "x/dev/null"; then
16158      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16159$as_echo "$as_me: updating cache $cache_file" >&6;}
16160      if test ! -f "$cache_file" || test -h "$cache_file"; then
16161	cat confcache >"$cache_file"
16162      else
16163        case $cache_file in #(
16164        */* | ?:*)
16165	  mv -f confcache "$cache_file"$$ &&
16166	  mv -f "$cache_file"$$ "$cache_file" ;; #(
16167        *)
16168	  mv -f confcache "$cache_file" ;;
16169	esac
16170      fi
16171    fi
16172  else
16173    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16174$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16175  fi
16176fi
16177rm -f confcache
16178
16179test "x$prefix" = xNONE && prefix=$ac_default_prefix
16180# Let make expand exec_prefix.
16181test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16182
16183DEFS=-DHAVE_CONFIG_H
16184
16185ac_libobjs=
16186ac_ltlibobjs=
16187for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
16188  # 1. Remove the extension, and $U if already installed.
16189  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
16190  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
16191  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
16192  #    will be set to the directory where LIBOBJS objects are built.
16193  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16194  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
16195done
16196LIBOBJS=$ac_libobjs
16197
16198LTLIBOBJS=$ac_ltlibobjs
16199
16200
16201{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
16202$as_echo_n "checking that generated files are newer than configure... " >&6; }
16203   if test -n "$am_sleep_pid"; then
16204     # Hide warnings about reused PIDs.
16205     wait $am_sleep_pid 2>/dev/null
16206   fi
16207   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
16208$as_echo "done" >&6; }
16209 if test -n "$EXEEXT"; then
16210  am__EXEEXT_TRUE=
16211  am__EXEEXT_FALSE='#'
16212else
16213  am__EXEEXT_TRUE='#'
16214  am__EXEEXT_FALSE=
16215fi
16216
16217if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
16218  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
16219Usually this means the macro was only invoked conditionally." "$LINENO" 5
16220fi
16221
16222  ac_config_commands="$ac_config_commands po/stamp-it"
16223
16224
16225if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16226  as_fn_error $? "conditional \"AMDEP\" was never defined.
16227Usually this means the macro was only invoked conditionally." "$LINENO" 5
16228fi
16229if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16230  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16231Usually this means the macro was only invoked conditionally." "$LINENO" 5
16232fi
16233if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16234  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16235Usually this means the macro was only invoked conditionally." "$LINENO" 5
16236fi
16237if test -z "${HAVE_GTK_DOC_TRUE}" && test -z "${HAVE_GTK_DOC_FALSE}"; then
16238  as_fn_error $? "conditional \"HAVE_GTK_DOC\" was never defined.
16239Usually this means the macro was only invoked conditionally." "$LINENO" 5
16240fi
16241if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
16242  as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
16243Usually this means the macro was only invoked conditionally." "$LINENO" 5
16244fi
16245if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
16246  as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
16247Usually this means the macro was only invoked conditionally." "$LINENO" 5
16248fi
16249if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
16250  as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
16251Usually this means the macro was only invoked conditionally." "$LINENO" 5
16252fi
16253if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
16254  as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
16255Usually this means the macro was only invoked conditionally." "$LINENO" 5
16256fi
16257if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
16258  as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
16259Usually this means the macro was only invoked conditionally." "$LINENO" 5
16260fi
16261if test -z "${WANT_LIBDBUSMENUGTK_TRUE}" && test -z "${WANT_LIBDBUSMENUGTK_FALSE}"; then
16262  as_fn_error $? "conditional \"WANT_LIBDBUSMENUGTK\" was never defined.
16263Usually this means the macro was only invoked conditionally." "$LINENO" 5
16264fi
16265if test -z "${USE_GTK3_TRUE}" && test -z "${USE_GTK3_FALSE}"; then
16266  as_fn_error $? "conditional \"USE_GTK3\" was never defined.
16267Usually this means the macro was only invoked conditionally." "$LINENO" 5
16268fi
16269if test -z "${WANT_DBUSMENUDUMPER_TRUE}" && test -z "${WANT_DBUSMENUDUMPER_FALSE}"; then
16270  as_fn_error $? "conditional \"WANT_DBUSMENUDUMPER\" was never defined.
16271Usually this means the macro was only invoked conditionally." "$LINENO" 5
16272fi
16273if test -z "${WANT_TESTS_TRUE}" && test -z "${WANT_TESTS_FALSE}"; then
16274  as_fn_error $? "conditional \"WANT_TESTS\" was never defined.
16275Usually this means the macro was only invoked conditionally." "$LINENO" 5
16276fi
16277if test -z "${HAVE_INTROSPECTION_TRUE}" && test -z "${HAVE_INTROSPECTION_FALSE}"; then
16278  as_fn_error $? "conditional \"HAVE_INTROSPECTION\" was never defined.
16279Usually this means the macro was only invoked conditionally." "$LINENO" 5
16280fi
16281if test -z "${INTROSPECTION_TEN_TRUE}" && test -z "${INTROSPECTION_TEN_FALSE}"; then
16282  as_fn_error $? "conditional \"INTROSPECTION_TEN\" was never defined.
16283Usually this means the macro was only invoked conditionally." "$LINENO" 5
16284fi
16285if test -z "${HAVE_VALA_TRUE}" && test -z "${HAVE_VALA_FALSE}"; then
16286  as_fn_error $? "conditional \"HAVE_VALA\" was never defined.
16287Usually this means the macro was only invoked conditionally." "$LINENO" 5
16288fi
16289if test -z "${HAVE_GCOV_TRUE}" && test -z "${HAVE_GCOV_FALSE}"; then
16290  as_fn_error $? "conditional \"HAVE_GCOV\" was never defined.
16291Usually this means the macro was only invoked conditionally." "$LINENO" 5
16292fi
16293if test -z "${HAVE_LCOV_TRUE}" && test -z "${HAVE_LCOV_FALSE}"; then
16294  as_fn_error $? "conditional \"HAVE_LCOV\" was never defined.
16295Usually this means the macro was only invoked conditionally." "$LINENO" 5
16296fi
16297if test -z "${HAVE_GCOVR_TRUE}" && test -z "${HAVE_GCOVR_FALSE}"; then
16298  as_fn_error $? "conditional \"HAVE_GCOVR\" was never defined.
16299Usually this means the macro was only invoked conditionally." "$LINENO" 5
16300fi
16301
16302: "${CONFIG_STATUS=./config.status}"
16303ac_write_fail=0
16304ac_clean_files_save=$ac_clean_files
16305ac_clean_files="$ac_clean_files $CONFIG_STATUS"
16306{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16307$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16308as_write_fail=0
16309cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16310#! $SHELL
16311# Generated by $as_me.
16312# Run this file to recreate the current configuration.
16313# Compiler output produced by configure, useful for debugging
16314# configure, is in config.log if it exists.
16315
16316debug=false
16317ac_cs_recheck=false
16318ac_cs_silent=false
16319
16320SHELL=\${CONFIG_SHELL-$SHELL}
16321export SHELL
16322_ASEOF
16323cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
16324## -------------------- ##
16325## M4sh Initialization. ##
16326## -------------------- ##
16327
16328# Be more Bourne compatible
16329DUALCASE=1; export DUALCASE # for MKS sh
16330if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16331  emulate sh
16332  NULLCMD=:
16333  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16334  # is contrary to our usage.  Disable this feature.
16335  alias -g '${1+"$@"}'='"$@"'
16336  setopt NO_GLOB_SUBST
16337else
16338  case `(set -o) 2>/dev/null` in #(
16339  *posix*) :
16340    set -o posix ;; #(
16341  *) :
16342     ;;
16343esac
16344fi
16345
16346
16347as_nl='
16348'
16349export as_nl
16350# Printing a long string crashes Solaris 7 /usr/bin/printf.
16351as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16352as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16353as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16354# Prefer a ksh shell builtin over an external printf program on Solaris,
16355# but without wasting forks for bash or zsh.
16356if test -z "$BASH_VERSION$ZSH_VERSION" \
16357    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16358  as_echo='print -r --'
16359  as_echo_n='print -rn --'
16360elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16361  as_echo='printf %s\n'
16362  as_echo_n='printf %s'
16363else
16364  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16365    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
16366    as_echo_n='/usr/ucb/echo -n'
16367  else
16368    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16369    as_echo_n_body='eval
16370      arg=$1;
16371      case $arg in #(
16372      *"$as_nl"*)
16373	expr "X$arg" : "X\\(.*\\)$as_nl";
16374	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16375      esac;
16376      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
16377    '
16378    export as_echo_n_body
16379    as_echo_n='sh -c $as_echo_n_body as_echo'
16380  fi
16381  export as_echo_body
16382  as_echo='sh -c $as_echo_body as_echo'
16383fi
16384
16385# The user is always right.
16386if test "${PATH_SEPARATOR+set}" != set; then
16387  PATH_SEPARATOR=:
16388  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16389    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16390      PATH_SEPARATOR=';'
16391  }
16392fi
16393
16394
16395# IFS
16396# We need space, tab and new line, in precisely that order.  Quoting is
16397# there to prevent editors from complaining about space-tab.
16398# (If _AS_PATH_WALK were called with IFS unset, it would disable word
16399# splitting by setting IFS to empty value.)
16400IFS=" ""	$as_nl"
16401
16402# Find who we are.  Look in the path if we contain no directory separator.
16403as_myself=
16404case $0 in #((
16405  *[\\/]* ) as_myself=$0 ;;
16406  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16407for as_dir in $PATH
16408do
16409  IFS=$as_save_IFS
16410  test -z "$as_dir" && as_dir=.
16411    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16412  done
16413IFS=$as_save_IFS
16414
16415     ;;
16416esac
16417# We did not find ourselves, most probably we were run as `sh COMMAND'
16418# in which case we are not to be found in the path.
16419if test "x$as_myself" = x; then
16420  as_myself=$0
16421fi
16422if test ! -f "$as_myself"; then
16423  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16424  exit 1
16425fi
16426
16427# Unset variables that we do not need and which cause bugs (e.g. in
16428# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
16429# suppresses any "Segmentation fault" message there.  '((' could
16430# trigger a bug in pdksh 5.2.14.
16431for as_var in BASH_ENV ENV MAIL MAILPATH
16432do eval test x\${$as_var+set} = xset \
16433  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
16434done
16435PS1='$ '
16436PS2='> '
16437PS4='+ '
16438
16439# NLS nuisances.
16440LC_ALL=C
16441export LC_ALL
16442LANGUAGE=C
16443export LANGUAGE
16444
16445# CDPATH.
16446(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16447
16448
16449# as_fn_error STATUS ERROR [LINENO LOG_FD]
16450# ----------------------------------------
16451# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16452# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16453# script with STATUS, using 1 if that was 0.
16454as_fn_error ()
16455{
16456  as_status=$1; test $as_status -eq 0 && as_status=1
16457  if test "$4"; then
16458    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16459    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16460  fi
16461  $as_echo "$as_me: error: $2" >&2
16462  as_fn_exit $as_status
16463} # as_fn_error
16464
16465
16466# as_fn_set_status STATUS
16467# -----------------------
16468# Set $? to STATUS, without forking.
16469as_fn_set_status ()
16470{
16471  return $1
16472} # as_fn_set_status
16473
16474# as_fn_exit STATUS
16475# -----------------
16476# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16477as_fn_exit ()
16478{
16479  set +e
16480  as_fn_set_status $1
16481  exit $1
16482} # as_fn_exit
16483
16484# as_fn_unset VAR
16485# ---------------
16486# Portably unset VAR.
16487as_fn_unset ()
16488{
16489  { eval $1=; unset $1;}
16490}
16491as_unset=as_fn_unset
16492# as_fn_append VAR VALUE
16493# ----------------------
16494# Append the text in VALUE to the end of the definition contained in VAR. Take
16495# advantage of any shell optimizations that allow amortized linear growth over
16496# repeated appends, instead of the typical quadratic growth present in naive
16497# implementations.
16498if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
16499  eval 'as_fn_append ()
16500  {
16501    eval $1+=\$2
16502  }'
16503else
16504  as_fn_append ()
16505  {
16506    eval $1=\$$1\$2
16507  }
16508fi # as_fn_append
16509
16510# as_fn_arith ARG...
16511# ------------------
16512# Perform arithmetic evaluation on the ARGs, and store the result in the
16513# global $as_val. Take advantage of shells that can avoid forks. The arguments
16514# must be portable across $(()) and expr.
16515if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
16516  eval 'as_fn_arith ()
16517  {
16518    as_val=$(( $* ))
16519  }'
16520else
16521  as_fn_arith ()
16522  {
16523    as_val=`expr "$@" || test $? -eq 1`
16524  }
16525fi # as_fn_arith
16526
16527
16528if expr a : '\(a\)' >/dev/null 2>&1 &&
16529   test "X`expr 00001 : '.*\(...\)'`" = X001; then
16530  as_expr=expr
16531else
16532  as_expr=false
16533fi
16534
16535if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16536  as_basename=basename
16537else
16538  as_basename=false
16539fi
16540
16541if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
16542  as_dirname=dirname
16543else
16544  as_dirname=false
16545fi
16546
16547as_me=`$as_basename -- "$0" ||
16548$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16549	 X"$0" : 'X\(//\)$' \| \
16550	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16551$as_echo X/"$0" |
16552    sed '/^.*\/\([^/][^/]*\)\/*$/{
16553	    s//\1/
16554	    q
16555	  }
16556	  /^X\/\(\/\/\)$/{
16557	    s//\1/
16558	    q
16559	  }
16560	  /^X\/\(\/\).*/{
16561	    s//\1/
16562	    q
16563	  }
16564	  s/.*/./; q'`
16565
16566# Avoid depending upon Character Ranges.
16567as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16568as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16569as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16570as_cr_digits='0123456789'
16571as_cr_alnum=$as_cr_Letters$as_cr_digits
16572
16573ECHO_C= ECHO_N= ECHO_T=
16574case `echo -n x` in #(((((
16575-n*)
16576  case `echo 'xy\c'` in
16577  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
16578  xy)  ECHO_C='\c';;
16579  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
16580       ECHO_T='	';;
16581  esac;;
16582*)
16583  ECHO_N='-n';;
16584esac
16585
16586rm -f conf$$ conf$$.exe conf$$.file
16587if test -d conf$$.dir; then
16588  rm -f conf$$.dir/conf$$.file
16589else
16590  rm -f conf$$.dir
16591  mkdir conf$$.dir 2>/dev/null
16592fi
16593if (echo >conf$$.file) 2>/dev/null; then
16594  if ln -s conf$$.file conf$$ 2>/dev/null; then
16595    as_ln_s='ln -s'
16596    # ... but there are two gotchas:
16597    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16598    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16599    # In both cases, we have to default to `cp -pR'.
16600    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16601      as_ln_s='cp -pR'
16602  elif ln conf$$.file conf$$ 2>/dev/null; then
16603    as_ln_s=ln
16604  else
16605    as_ln_s='cp -pR'
16606  fi
16607else
16608  as_ln_s='cp -pR'
16609fi
16610rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16611rmdir conf$$.dir 2>/dev/null
16612
16613
16614# as_fn_mkdir_p
16615# -------------
16616# Create "$as_dir" as a directory, including parents if necessary.
16617as_fn_mkdir_p ()
16618{
16619
16620  case $as_dir in #(
16621  -*) as_dir=./$as_dir;;
16622  esac
16623  test -d "$as_dir" || eval $as_mkdir_p || {
16624    as_dirs=
16625    while :; do
16626      case $as_dir in #(
16627      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16628      *) as_qdir=$as_dir;;
16629      esac
16630      as_dirs="'$as_qdir' $as_dirs"
16631      as_dir=`$as_dirname -- "$as_dir" ||
16632$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16633	 X"$as_dir" : 'X\(//\)[^/]' \| \
16634	 X"$as_dir" : 'X\(//\)$' \| \
16635	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16636$as_echo X"$as_dir" |
16637    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16638	    s//\1/
16639	    q
16640	  }
16641	  /^X\(\/\/\)[^/].*/{
16642	    s//\1/
16643	    q
16644	  }
16645	  /^X\(\/\/\)$/{
16646	    s//\1/
16647	    q
16648	  }
16649	  /^X\(\/\).*/{
16650	    s//\1/
16651	    q
16652	  }
16653	  s/.*/./; q'`
16654      test -d "$as_dir" && break
16655    done
16656    test -z "$as_dirs" || eval "mkdir $as_dirs"
16657  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
16658
16659
16660} # as_fn_mkdir_p
16661if mkdir -p . 2>/dev/null; then
16662  as_mkdir_p='mkdir -p "$as_dir"'
16663else
16664  test -d ./-p && rmdir ./-p
16665  as_mkdir_p=false
16666fi
16667
16668
16669# as_fn_executable_p FILE
16670# -----------------------
16671# Test if FILE is an executable regular file.
16672as_fn_executable_p ()
16673{
16674  test -f "$1" && test -x "$1"
16675} # as_fn_executable_p
16676as_test_x='test -x'
16677as_executable_p=as_fn_executable_p
16678
16679# Sed expression to map a string onto a valid CPP name.
16680as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16681
16682# Sed expression to map a string onto a valid variable name.
16683as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16684
16685
16686exec 6>&1
16687## ----------------------------------- ##
16688## Main body of $CONFIG_STATUS script. ##
16689## ----------------------------------- ##
16690_ASEOF
16691test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
16692
16693cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16694# Save the log message, to keep $0 and so on meaningful, and to
16695# report actual input values of CONFIG_FILES etc. instead of their
16696# values after options handling.
16697ac_log="
16698This file was extended by libdbusmenu $as_me 16.04.0, which was
16699generated by GNU Autoconf 2.69.  Invocation command line was
16700
16701  CONFIG_FILES    = $CONFIG_FILES
16702  CONFIG_HEADERS  = $CONFIG_HEADERS
16703  CONFIG_LINKS    = $CONFIG_LINKS
16704  CONFIG_COMMANDS = $CONFIG_COMMANDS
16705  $ $0 $@
16706
16707on `(hostname || uname -n) 2>/dev/null | sed 1q`
16708"
16709
16710_ACEOF
16711
16712case $ac_config_files in *"
16713"*) set x $ac_config_files; shift; ac_config_files=$*;;
16714esac
16715
16716case $ac_config_headers in *"
16717"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
16718esac
16719
16720
16721cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16722# Files that config.status was made for.
16723config_files="$ac_config_files"
16724config_headers="$ac_config_headers"
16725config_commands="$ac_config_commands"
16726
16727_ACEOF
16728
16729cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16730ac_cs_usage="\
16731\`$as_me' instantiates files and other configuration actions
16732from templates according to the current configuration.  Unless the files
16733and actions are specified as TAGs, all are instantiated by default.
16734
16735Usage: $0 [OPTION]... [TAG]...
16736
16737  -h, --help       print this help, then exit
16738  -V, --version    print version number and configuration settings, then exit
16739      --config     print configuration, then exit
16740  -q, --quiet, --silent
16741                   do not print progress messages
16742  -d, --debug      don't remove temporary files
16743      --recheck    update $as_me by reconfiguring in the same conditions
16744      --file=FILE[:TEMPLATE]
16745                   instantiate the configuration file FILE
16746      --header=FILE[:TEMPLATE]
16747                   instantiate the configuration header FILE
16748
16749Configuration files:
16750$config_files
16751
16752Configuration headers:
16753$config_headers
16754
16755Configuration commands:
16756$config_commands
16757
16758Report bugs to <ted@canonical.com>."
16759
16760_ACEOF
16761cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16762ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16763ac_cs_version="\\
16764libdbusmenu config.status 16.04.0
16765configured by $0, generated by GNU Autoconf 2.69,
16766  with options \\"\$ac_cs_config\\"
16767
16768Copyright (C) 2012 Free Software Foundation, Inc.
16769This config.status script is free software; the Free Software Foundation
16770gives unlimited permission to copy, distribute and modify it."
16771
16772ac_pwd='$ac_pwd'
16773srcdir='$srcdir'
16774INSTALL='$INSTALL'
16775MKDIR_P='$MKDIR_P'
16776AWK='$AWK'
16777test -n "\$AWK" || AWK=awk
16778_ACEOF
16779
16780cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16781# The default lists apply if the user does not specify any file.
16782ac_need_defaults=:
16783while test $# != 0
16784do
16785  case $1 in
16786  --*=?*)
16787    ac_option=`expr "X$1" : 'X\([^=]*\)='`
16788    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16789    ac_shift=:
16790    ;;
16791  --*=)
16792    ac_option=`expr "X$1" : 'X\([^=]*\)='`
16793    ac_optarg=
16794    ac_shift=:
16795    ;;
16796  *)
16797    ac_option=$1
16798    ac_optarg=$2
16799    ac_shift=shift
16800    ;;
16801  esac
16802
16803  case $ac_option in
16804  # Handling of the options.
16805  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16806    ac_cs_recheck=: ;;
16807  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16808    $as_echo "$ac_cs_version"; exit ;;
16809  --config | --confi | --conf | --con | --co | --c )
16810    $as_echo "$ac_cs_config"; exit ;;
16811  --debug | --debu | --deb | --de | --d | -d )
16812    debug=: ;;
16813  --file | --fil | --fi | --f )
16814    $ac_shift
16815    case $ac_optarg in
16816    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16817    '') as_fn_error $? "missing file argument" ;;
16818    esac
16819    as_fn_append CONFIG_FILES " '$ac_optarg'"
16820    ac_need_defaults=false;;
16821  --header | --heade | --head | --hea )
16822    $ac_shift
16823    case $ac_optarg in
16824    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16825    esac
16826    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
16827    ac_need_defaults=false;;
16828  --he | --h)
16829    # Conflict between --help and --header
16830    as_fn_error $? "ambiguous option: \`$1'
16831Try \`$0 --help' for more information.";;
16832  --help | --hel | -h )
16833    $as_echo "$ac_cs_usage"; exit ;;
16834  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16835  | -silent | --silent | --silen | --sile | --sil | --si | --s)
16836    ac_cs_silent=: ;;
16837
16838  # This is an error.
16839  -*) as_fn_error $? "unrecognized option: \`$1'
16840Try \`$0 --help' for more information." ;;
16841
16842  *) as_fn_append ac_config_targets " $1"
16843     ac_need_defaults=false ;;
16844
16845  esac
16846  shift
16847done
16848
16849ac_configure_extra_args=
16850
16851if $ac_cs_silent; then
16852  exec 6>/dev/null
16853  ac_configure_extra_args="$ac_configure_extra_args --silent"
16854fi
16855
16856_ACEOF
16857cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16858if \$ac_cs_recheck; then
16859  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16860  shift
16861  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16862  CONFIG_SHELL='$SHELL'
16863  export CONFIG_SHELL
16864  exec "\$@"
16865fi
16866
16867_ACEOF
16868cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16869exec 5>>config.log
16870{
16871  echo
16872  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16873## Running $as_me. ##
16874_ASBOX
16875  $as_echo "$ac_log"
16876} >&5
16877
16878_ACEOF
16879cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16880#
16881# INIT-COMMANDS
16882#
16883AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16884
16885
16886# The HP-UX ksh and POSIX shell print the target directory to stdout
16887# if CDPATH is set.
16888(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16889
16890sed_quote_subst='$sed_quote_subst'
16891double_quote_subst='$double_quote_subst'
16892delay_variable_subst='$delay_variable_subst'
16893macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16894macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16895enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16896enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16897pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16898enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16899shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
16900SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16901ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16902PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
16903host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16904host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16905host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16906build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16907build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16908build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16909SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16910Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16911GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16912EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16913FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16914LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16915NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16916LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16917max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16918ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16919exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16920lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16921lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16922lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16923lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
16924lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
16925reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16926reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16927OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16928deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16929file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16930file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
16931want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
16932DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
16933sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
16934AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16935AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16936archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
16937STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16938RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16939old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16940old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16941old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16942lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16943CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16944CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16945compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16946GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16947lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16948lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16949lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
16950lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16951lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
16952lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
16953nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
16954lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
16955lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
16956objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16957MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16958lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16959lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16960lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16961lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16962lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16963need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16964MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
16965DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16966NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16967LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16968OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16969OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16970libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16971shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16972extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16973archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16974enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16975export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16976whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16977compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16978old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16979old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16980archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16981archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16982module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16983module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16984with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16985allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16986no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16987hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16988hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16989hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16990hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16991hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16992hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16993hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16994inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16995link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16996always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16997export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16998exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16999include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
17000prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
17001postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
17002file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
17003variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
17004need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
17005need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
17006version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
17007runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
17008shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
17009shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
17010libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
17011library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
17012soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
17013install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
17014postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17015postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17016finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
17017finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
17018hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
17019sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
17020configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
17021configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
17022hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
17023enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
17024enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
17025enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
17026old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
17027striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
17028
17029LTCC='$LTCC'
17030LTCFLAGS='$LTCFLAGS'
17031compiler='$compiler_DEFAULT'
17032
17033# A function that is used when there is no print builtin or printf.
17034func_fallback_echo ()
17035{
17036  eval 'cat <<_LTECHO_EOF
17037\$1
17038_LTECHO_EOF'
17039}
17040
17041# Quote evaled strings.
17042for var in SHELL \
17043ECHO \
17044PATH_SEPARATOR \
17045SED \
17046GREP \
17047EGREP \
17048FGREP \
17049LD \
17050NM \
17051LN_S \
17052lt_SP2NL \
17053lt_NL2SP \
17054reload_flag \
17055OBJDUMP \
17056deplibs_check_method \
17057file_magic_cmd \
17058file_magic_glob \
17059want_nocaseglob \
17060DLLTOOL \
17061sharedlib_from_linklib_cmd \
17062AR \
17063AR_FLAGS \
17064archiver_list_spec \
17065STRIP \
17066RANLIB \
17067CC \
17068CFLAGS \
17069compiler \
17070lt_cv_sys_global_symbol_pipe \
17071lt_cv_sys_global_symbol_to_cdecl \
17072lt_cv_sys_global_symbol_to_import \
17073lt_cv_sys_global_symbol_to_c_name_address \
17074lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17075lt_cv_nm_interface \
17076nm_file_list_spec \
17077lt_cv_truncate_bin \
17078lt_prog_compiler_no_builtin_flag \
17079lt_prog_compiler_pic \
17080lt_prog_compiler_wl \
17081lt_prog_compiler_static \
17082lt_cv_prog_compiler_c_o \
17083need_locks \
17084MANIFEST_TOOL \
17085DSYMUTIL \
17086NMEDIT \
17087LIPO \
17088OTOOL \
17089OTOOL64 \
17090shrext_cmds \
17091export_dynamic_flag_spec \
17092whole_archive_flag_spec \
17093compiler_needs_object \
17094with_gnu_ld \
17095allow_undefined_flag \
17096no_undefined_flag \
17097hardcode_libdir_flag_spec \
17098hardcode_libdir_separator \
17099exclude_expsyms \
17100include_expsyms \
17101file_list_spec \
17102variables_saved_for_relink \
17103libname_spec \
17104library_names_spec \
17105soname_spec \
17106install_override_mode \
17107finish_eval \
17108old_striplib \
17109striplib; do
17110    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17111    *[\\\\\\\`\\"\\\$]*)
17112      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
17113      ;;
17114    *)
17115      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17116      ;;
17117    esac
17118done
17119
17120# Double-quote double-evaled strings.
17121for var in reload_cmds \
17122old_postinstall_cmds \
17123old_postuninstall_cmds \
17124old_archive_cmds \
17125extract_expsyms_cmds \
17126old_archive_from_new_cmds \
17127old_archive_from_expsyms_cmds \
17128archive_cmds \
17129archive_expsym_cmds \
17130module_cmds \
17131module_expsym_cmds \
17132export_symbols_cmds \
17133prelink_cmds \
17134postlink_cmds \
17135postinstall_cmds \
17136postuninstall_cmds \
17137finish_cmds \
17138sys_lib_search_path_spec \
17139configure_time_dlsearch_path \
17140configure_time_lt_sys_library_path; do
17141    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17142    *[\\\\\\\`\\"\\\$]*)
17143      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
17144      ;;
17145    *)
17146      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17147      ;;
17148    esac
17149done
17150
17151ac_aux_dir='$ac_aux_dir'
17152
17153# See if we are running on zsh, and set the options that allow our
17154# commands through without removal of \ escapes INIT.
17155if test -n "\${ZSH_VERSION+set}"; then
17156   setopt NO_GLOB_SUBST
17157fi
17158
17159
17160    PACKAGE='$PACKAGE'
17161    VERSION='$VERSION'
17162    RM='$RM'
17163    ofile='$ofile'
17164
17165
17166
17167
17168
17169_ACEOF
17170
17171cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17172
17173# Handling of arguments.
17174for ac_config_target in $ac_config_targets
17175do
17176  case $ac_config_target in
17177    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
17178    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
17179    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
17180    "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
17181    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
17182    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
17183    "libdbusmenu-glib/Makefile") CONFIG_FILES="$CONFIG_FILES libdbusmenu-glib/Makefile" ;;
17184    "libdbusmenu-glib/dbusmenu-glib-0.4.pc") CONFIG_FILES="$CONFIG_FILES libdbusmenu-glib/dbusmenu-glib-0.4.pc" ;;
17185    "libdbusmenu-gtk/Makefile") CONFIG_FILES="$CONFIG_FILES libdbusmenu-gtk/Makefile" ;;
17186    "libdbusmenu-gtk/dbusmenu-gtk-0.4.pc") CONFIG_FILES="$CONFIG_FILES libdbusmenu-gtk/dbusmenu-gtk-0.4.pc" ;;
17187    "libdbusmenu-gtk/dbusmenu-gtk3-0.4.pc") CONFIG_FILES="$CONFIG_FILES libdbusmenu-gtk/dbusmenu-gtk3-0.4.pc" ;;
17188    "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
17189    "tools/testapp/Makefile") CONFIG_FILES="$CONFIG_FILES tools/testapp/Makefile" ;;
17190    "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
17191    "tests/dbusmenu-jsonloader-0.4.pc") CONFIG_FILES="$CONFIG_FILES tests/dbusmenu-jsonloader-0.4.pc" ;;
17192    "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
17193    "docs/libdbusmenu-glib/Makefile") CONFIG_FILES="$CONFIG_FILES docs/libdbusmenu-glib/Makefile" ;;
17194    "docs/libdbusmenu-glib/reference/Makefile") CONFIG_FILES="$CONFIG_FILES docs/libdbusmenu-glib/reference/Makefile" ;;
17195    "docs/libdbusmenu-glib/reference/version.xml") CONFIG_FILES="$CONFIG_FILES docs/libdbusmenu-glib/reference/version.xml" ;;
17196    "docs/libdbusmenu-gtk/Makefile") CONFIG_FILES="$CONFIG_FILES docs/libdbusmenu-gtk/Makefile" ;;
17197    "docs/libdbusmenu-gtk/reference/Makefile") CONFIG_FILES="$CONFIG_FILES docs/libdbusmenu-gtk/reference/Makefile" ;;
17198    "docs/libdbusmenu-gtk/reference/version.xml") CONFIG_FILES="$CONFIG_FILES docs/libdbusmenu-gtk/reference/version.xml" ;;
17199    "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
17200
17201  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17202  esac
17203done
17204
17205
17206# If the user did not use the arguments to specify the items to instantiate,
17207# then the envvar interface is used.  Set only those that are not.
17208# We use the long form for the default assignment because of an extremely
17209# bizarre bug on SunOS 4.1.3.
17210if $ac_need_defaults; then
17211  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
17212  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
17213  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
17214fi
17215
17216# Have a temporary directory for convenience.  Make it in the build tree
17217# simply because there is no reason against having it here, and in addition,
17218# creating and moving files from /tmp can sometimes cause problems.
17219# Hook for its removal unless debugging.
17220# Note that there is a small window in which the directory will not be cleaned:
17221# after its creation but before its name has been assigned to `$tmp'.
17222$debug ||
17223{
17224  tmp= ac_tmp=
17225  trap 'exit_status=$?
17226  : "${ac_tmp:=$tmp}"
17227  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
17228' 0
17229  trap 'as_fn_exit 1' 1 2 13 15
17230}
17231# Create a (secure) tmp directory for tmp files.
17232
17233{
17234  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17235  test -d "$tmp"
17236}  ||
17237{
17238  tmp=./conf$$-$RANDOM
17239  (umask 077 && mkdir "$tmp")
17240} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
17241ac_tmp=$tmp
17242
17243# Set up the scripts for CONFIG_FILES section.
17244# No need to generate them if there are no CONFIG_FILES.
17245# This happens for instance with `./config.status config.h'.
17246if test -n "$CONFIG_FILES"; then
17247
17248
17249ac_cr=`echo X | tr X '\015'`
17250# On cygwin, bash can eat \r inside `` if the user requested igncr.
17251# But we know of no other shell where ac_cr would be empty at this
17252# point, so we can use a bashism as a fallback.
17253if test "x$ac_cr" = x; then
17254  eval ac_cr=\$\'\\r\'
17255fi
17256ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17257if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17258  ac_cs_awk_cr='\\r'
17259else
17260  ac_cs_awk_cr=$ac_cr
17261fi
17262
17263echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
17264_ACEOF
17265
17266
17267{
17268  echo "cat >conf$$subs.awk <<_ACEOF" &&
17269  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17270  echo "_ACEOF"
17271} >conf$$subs.sh ||
17272  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17273ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17274ac_delim='%!_!# '
17275for ac_last_try in false false false false false :; do
17276  . ./conf$$subs.sh ||
17277    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17278
17279  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
17280  if test $ac_delim_n = $ac_delim_num; then
17281    break
17282  elif $ac_last_try; then
17283    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17284  else
17285    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17286  fi
17287done
17288rm -f conf$$subs.sh
17289
17290cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17291cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
17292_ACEOF
17293sed -n '
17294h
17295s/^/S["/; s/!.*/"]=/
17296p
17297g
17298s/^[^!]*!//
17299:repl
17300t repl
17301s/'"$ac_delim"'$//
17302t delim
17303:nl
17304h
17305s/\(.\{148\}\)..*/\1/
17306t more1
17307s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
17308p
17309n
17310b repl
17311:more1
17312s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17313p
17314g
17315s/.\{148\}//
17316t nl
17317:delim
17318h
17319s/\(.\{148\}\)..*/\1/
17320t more2
17321s/["\\]/\\&/g; s/^/"/; s/$/"/
17322p
17323b
17324:more2
17325s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17326p
17327g
17328s/.\{148\}//
17329t delim
17330' <conf$$subs.awk | sed '
17331/^[^""]/{
17332  N
17333  s/\n//
17334}
17335' >>$CONFIG_STATUS || ac_write_fail=1
17336rm -f conf$$subs.awk
17337cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17338_ACAWK
17339cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
17340  for (key in S) S_is_set[key] = 1
17341  FS = ""
17342
17343}
17344{
17345  line = $ 0
17346  nfields = split(line, field, "@")
17347  substed = 0
17348  len = length(field[1])
17349  for (i = 2; i < nfields; i++) {
17350    key = field[i]
17351    keylen = length(key)
17352    if (S_is_set[key]) {
17353      value = S[key]
17354      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17355      len += length(value) + length(field[++i])
17356      substed = 1
17357    } else
17358      len += 1 + keylen
17359  }
17360
17361  print line
17362}
17363
17364_ACAWK
17365_ACEOF
17366cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17367if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17368  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
17369else
17370  cat
17371fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
17372  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
17373_ACEOF
17374
17375# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17376# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
17377# trailing colons and then remove the whole line if VPATH becomes empty
17378# (actually we leave an empty line to preserve line numbers).
17379if test "x$srcdir" = x.; then
17380  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
17381h
17382s///
17383s/^/:/
17384s/[	 ]*$/:/
17385s/:\$(srcdir):/:/g
17386s/:\${srcdir}:/:/g
17387s/:@srcdir@:/:/g
17388s/^:*//
17389s/:*$//
17390x
17391s/\(=[	 ]*\).*/\1/
17392G
17393s/\n//
17394s/^[^=]*=[	 ]*$//
17395}'
17396fi
17397
17398cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17399fi # test -n "$CONFIG_FILES"
17400
17401# Set up the scripts for CONFIG_HEADERS section.
17402# No need to generate them if there are no CONFIG_HEADERS.
17403# This happens for instance with `./config.status Makefile'.
17404if test -n "$CONFIG_HEADERS"; then
17405cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
17406BEGIN {
17407_ACEOF
17408
17409# Transform confdefs.h into an awk script `defines.awk', embedded as
17410# here-document in config.status, that substitutes the proper values into
17411# config.h.in to produce config.h.
17412
17413# Create a delimiter string that does not exist in confdefs.h, to ease
17414# handling of long lines.
17415ac_delim='%!_!# '
17416for ac_last_try in false false :; do
17417  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
17418  if test -z "$ac_tt"; then
17419    break
17420  elif $ac_last_try; then
17421    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
17422  else
17423    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17424  fi
17425done
17426
17427# For the awk script, D is an array of macro values keyed by name,
17428# likewise P contains macro parameters if any.  Preserve backslash
17429# newline sequences.
17430
17431ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17432sed -n '
17433s/.\{148\}/&'"$ac_delim"'/g
17434t rset
17435:rset
17436s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
17437t def
17438d
17439:def
17440s/\\$//
17441t bsnl
17442s/["\\]/\\&/g
17443s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
17444D["\1"]=" \3"/p
17445s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
17446d
17447:bsnl
17448s/["\\]/\\&/g
17449s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
17450D["\1"]=" \3\\\\\\n"\\/p
17451t cont
17452s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
17453t cont
17454d
17455:cont
17456n
17457s/.\{148\}/&'"$ac_delim"'/g
17458t clear
17459:clear
17460s/\\$//
17461t bsnlc
17462s/["\\]/\\&/g; s/^/"/; s/$/"/p
17463d
17464:bsnlc
17465s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
17466b cont
17467' <confdefs.h | sed '
17468s/'"$ac_delim"'/"\\\
17469"/g' >>$CONFIG_STATUS || ac_write_fail=1
17470
17471cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17472  for (key in D) D_is_set[key] = 1
17473  FS = ""
17474}
17475/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17476  line = \$ 0
17477  split(line, arg, " ")
17478  if (arg[1] == "#") {
17479    defundef = arg[2]
17480    mac1 = arg[3]
17481  } else {
17482    defundef = substr(arg[1], 2)
17483    mac1 = arg[2]
17484  }
17485  split(mac1, mac2, "(") #)
17486  macro = mac2[1]
17487  prefix = substr(line, 1, index(line, defundef) - 1)
17488  if (D_is_set[macro]) {
17489    # Preserve the white space surrounding the "#".
17490    print prefix "define", macro P[macro] D[macro]
17491    next
17492  } else {
17493    # Replace #undef with comments.  This is necessary, for example,
17494    # in the case of _POSIX_SOURCE, which is predefined and required
17495    # on some systems where configure will not decide to define it.
17496    if (defundef == "undef") {
17497      print "/*", prefix defundef, macro, "*/"
17498      next
17499    }
17500  }
17501}
17502{ print }
17503_ACAWK
17504_ACEOF
17505cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17506  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
17507fi # test -n "$CONFIG_HEADERS"
17508
17509
17510eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
17511shift
17512for ac_tag
17513do
17514  case $ac_tag in
17515  :[FHLC]) ac_mode=$ac_tag; continue;;
17516  esac
17517  case $ac_mode$ac_tag in
17518  :[FHL]*:*);;
17519  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
17520  :[FH]-) ac_tag=-:-;;
17521  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
17522  esac
17523  ac_save_IFS=$IFS
17524  IFS=:
17525  set x $ac_tag
17526  IFS=$ac_save_IFS
17527  shift
17528  ac_file=$1
17529  shift
17530
17531  case $ac_mode in
17532  :L) ac_source=$1;;
17533  :[FH])
17534    ac_file_inputs=
17535    for ac_f
17536    do
17537      case $ac_f in
17538      -) ac_f="$ac_tmp/stdin";;
17539      *) # Look for the file first in the build tree, then in the source tree
17540	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
17541	 # because $ac_f cannot contain `:'.
17542	 test -f "$ac_f" ||
17543	   case $ac_f in
17544	   [\\/$]*) false;;
17545	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
17546	   esac ||
17547	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17548      esac
17549      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17550      as_fn_append ac_file_inputs " '$ac_f'"
17551    done
17552
17553    # Let's still pretend it is `configure' which instantiates (i.e., don't
17554    # use $as_me), people would be surprised to read:
17555    #    /* config.h.  Generated by config.status.  */
17556    configure_input='Generated from '`
17557	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17558	`' by configure.'
17559    if test x"$ac_file" != x-; then
17560      configure_input="$ac_file.  $configure_input"
17561      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17562$as_echo "$as_me: creating $ac_file" >&6;}
17563    fi
17564    # Neutralize special characters interpreted by sed in replacement strings.
17565    case $configure_input in #(
17566    *\&* | *\|* | *\\* )
17567       ac_sed_conf_input=`$as_echo "$configure_input" |
17568       sed 's/[\\\\&|]/\\\\&/g'`;; #(
17569    *) ac_sed_conf_input=$configure_input;;
17570    esac
17571
17572    case $ac_tag in
17573    *:-:* | *:-) cat >"$ac_tmp/stdin" \
17574      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
17575    esac
17576    ;;
17577  esac
17578
17579  ac_dir=`$as_dirname -- "$ac_file" ||
17580$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17581	 X"$ac_file" : 'X\(//\)[^/]' \| \
17582	 X"$ac_file" : 'X\(//\)$' \| \
17583	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17584$as_echo X"$ac_file" |
17585    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17586	    s//\1/
17587	    q
17588	  }
17589	  /^X\(\/\/\)[^/].*/{
17590	    s//\1/
17591	    q
17592	  }
17593	  /^X\(\/\/\)$/{
17594	    s//\1/
17595	    q
17596	  }
17597	  /^X\(\/\).*/{
17598	    s//\1/
17599	    q
17600	  }
17601	  s/.*/./; q'`
17602  as_dir="$ac_dir"; as_fn_mkdir_p
17603  ac_builddir=.
17604
17605case "$ac_dir" in
17606.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
17607*)
17608  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17609  # A ".." for each directory in $ac_dir_suffix.
17610  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17611  case $ac_top_builddir_sub in
17612  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
17613  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
17614  esac ;;
17615esac
17616ac_abs_top_builddir=$ac_pwd
17617ac_abs_builddir=$ac_pwd$ac_dir_suffix
17618# for backward compatibility:
17619ac_top_builddir=$ac_top_build_prefix
17620
17621case $srcdir in
17622  .)  # We are building in place.
17623    ac_srcdir=.
17624    ac_top_srcdir=$ac_top_builddir_sub
17625    ac_abs_top_srcdir=$ac_pwd ;;
17626  [\\/]* | ?:[\\/]* )  # Absolute name.
17627    ac_srcdir=$srcdir$ac_dir_suffix;
17628    ac_top_srcdir=$srcdir
17629    ac_abs_top_srcdir=$srcdir ;;
17630  *) # Relative name.
17631    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
17632    ac_top_srcdir=$ac_top_build_prefix$srcdir
17633    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
17634esac
17635ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
17636
17637
17638  case $ac_mode in
17639  :F)
17640  #
17641  # CONFIG_FILE
17642  #
17643
17644  case $INSTALL in
17645  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
17646  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
17647  esac
17648  ac_MKDIR_P=$MKDIR_P
17649  case $MKDIR_P in
17650  [\\/$]* | ?:[\\/]* ) ;;
17651  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
17652  esac
17653_ACEOF
17654
17655cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17656# If the template does not know about datarootdir, expand it.
17657# FIXME: This hack should be removed a few years after 2.60.
17658ac_datarootdir_hack=; ac_datarootdir_seen=
17659ac_sed_dataroot='
17660/datarootdir/ {
17661  p
17662  q
17663}
17664/@datadir@/p
17665/@docdir@/p
17666/@infodir@/p
17667/@localedir@/p
17668/@mandir@/p'
17669case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17670*datarootdir*) ac_datarootdir_seen=yes;;
17671*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
17672  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17673$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17674_ACEOF
17675cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17676  ac_datarootdir_hack='
17677  s&@datadir@&$datadir&g
17678  s&@docdir@&$docdir&g
17679  s&@infodir@&$infodir&g
17680  s&@localedir@&$localedir&g
17681  s&@mandir@&$mandir&g
17682  s&\\\${datarootdir}&$datarootdir&g' ;;
17683esac
17684_ACEOF
17685
17686# Neutralize VPATH when `$srcdir' = `.'.
17687# Shell code in configure.ac might set extrasub.
17688# FIXME: do we really want to maintain this feature?
17689cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17690ac_sed_extra="$ac_vpsub
17691$extrasub
17692_ACEOF
17693cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17694:t
17695/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
17696s|@configure_input@|$ac_sed_conf_input|;t t
17697s&@top_builddir@&$ac_top_builddir_sub&;t t
17698s&@top_build_prefix@&$ac_top_build_prefix&;t t
17699s&@srcdir@&$ac_srcdir&;t t
17700s&@abs_srcdir@&$ac_abs_srcdir&;t t
17701s&@top_srcdir@&$ac_top_srcdir&;t t
17702s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
17703s&@builddir@&$ac_builddir&;t t
17704s&@abs_builddir@&$ac_abs_builddir&;t t
17705s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
17706s&@INSTALL@&$ac_INSTALL&;t t
17707s&@MKDIR_P@&$ac_MKDIR_P&;t t
17708$ac_datarootdir_hack
17709"
17710eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
17711  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17712
17713test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17714  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
17715  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
17716      "$ac_tmp/out"`; test -z "$ac_out"; } &&
17717  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17718which seems to be undefined.  Please make sure it is defined" >&5
17719$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17720which seems to be undefined.  Please make sure it is defined" >&2;}
17721
17722  rm -f "$ac_tmp/stdin"
17723  case $ac_file in
17724  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17725  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17726  esac \
17727  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17728 ;;
17729  :H)
17730  #
17731  # CONFIG_HEADER
17732  #
17733  if test x"$ac_file" != x-; then
17734    {
17735      $as_echo "/* $configure_input  */" \
17736      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
17737    } >"$ac_tmp/config.h" \
17738      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17739    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
17740      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17741$as_echo "$as_me: $ac_file is unchanged" >&6;}
17742    else
17743      rm -f "$ac_file"
17744      mv "$ac_tmp/config.h" "$ac_file" \
17745	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
17746    fi
17747  else
17748    $as_echo "/* $configure_input  */" \
17749      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
17750      || as_fn_error $? "could not create -" "$LINENO" 5
17751  fi
17752# Compute "$ac_file"'s index in $config_headers.
17753_am_arg="$ac_file"
17754_am_stamp_count=1
17755for _am_header in $config_headers :; do
17756  case $_am_header in
17757    $_am_arg | $_am_arg:* )
17758      break ;;
17759    * )
17760      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
17761  esac
17762done
17763echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17764$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17765	 X"$_am_arg" : 'X\(//\)[^/]' \| \
17766	 X"$_am_arg" : 'X\(//\)$' \| \
17767	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17768$as_echo X"$_am_arg" |
17769    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17770	    s//\1/
17771	    q
17772	  }
17773	  /^X\(\/\/\)[^/].*/{
17774	    s//\1/
17775	    q
17776	  }
17777	  /^X\(\/\/\)$/{
17778	    s//\1/
17779	    q
17780	  }
17781	  /^X\(\/\).*/{
17782	    s//\1/
17783	    q
17784	  }
17785	  s/.*/./; q'`/stamp-h$_am_stamp_count
17786 ;;
17787
17788  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17789$as_echo "$as_me: executing $ac_file commands" >&6;}
17790 ;;
17791  esac
17792
17793
17794  case $ac_file$ac_mode in
17795    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17796  # Older Autoconf quotes --file arguments for eval, but not when files
17797  # are listed without --file.  Let's play safe and only enable the eval
17798  # if we detect the quoting.
17799  case $CONFIG_FILES in
17800  *\'*) eval set x "$CONFIG_FILES" ;;
17801  *)   set x $CONFIG_FILES ;;
17802  esac
17803  shift
17804  for mf
17805  do
17806    # Strip MF so we end up with the name of the file.
17807    mf=`echo "$mf" | sed -e 's/:.*$//'`
17808    # Check whether this is an Automake generated Makefile or not.
17809    # We used to match only the files named 'Makefile.in', but
17810    # some people rename them; so instead we look at the file content.
17811    # Grep'ing the first line is not enough: some people post-process
17812    # each Makefile.in and add a new line on top of each file to say so.
17813    # Grep'ing the whole file is not good either: AIX grep has a line
17814    # limit of 2048, but all sed's we know have understand at least 4000.
17815    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
17816      dirpart=`$as_dirname -- "$mf" ||
17817$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17818	 X"$mf" : 'X\(//\)[^/]' \| \
17819	 X"$mf" : 'X\(//\)$' \| \
17820	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17821$as_echo X"$mf" |
17822    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17823	    s//\1/
17824	    q
17825	  }
17826	  /^X\(\/\/\)[^/].*/{
17827	    s//\1/
17828	    q
17829	  }
17830	  /^X\(\/\/\)$/{
17831	    s//\1/
17832	    q
17833	  }
17834	  /^X\(\/\).*/{
17835	    s//\1/
17836	    q
17837	  }
17838	  s/.*/./; q'`
17839    else
17840      continue
17841    fi
17842    # Extract the definition of DEPDIR, am__include, and am__quote
17843    # from the Makefile without running 'make'.
17844    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17845    test -z "$DEPDIR" && continue
17846    am__include=`sed -n 's/^am__include = //p' < "$mf"`
17847    test -z "$am__include" && continue
17848    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
17849    # Find all dependency output files, they are included files with
17850    # $(DEPDIR) in their names.  We invoke sed twice because it is the
17851    # simplest approach to changing $(DEPDIR) to its actual value in the
17852    # expansion.
17853    for file in `sed -n "
17854      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17855	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
17856      # Make sure the directory exists.
17857      test -f "$dirpart/$file" && continue
17858      fdir=`$as_dirname -- "$file" ||
17859$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17860	 X"$file" : 'X\(//\)[^/]' \| \
17861	 X"$file" : 'X\(//\)$' \| \
17862	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17863$as_echo X"$file" |
17864    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17865	    s//\1/
17866	    q
17867	  }
17868	  /^X\(\/\/\)[^/].*/{
17869	    s//\1/
17870	    q
17871	  }
17872	  /^X\(\/\/\)$/{
17873	    s//\1/
17874	    q
17875	  }
17876	  /^X\(\/\).*/{
17877	    s//\1/
17878	    q
17879	  }
17880	  s/.*/./; q'`
17881      as_dir=$dirpart/$fdir; as_fn_mkdir_p
17882      # echo "creating $dirpart/$file"
17883      echo '# dummy' > "$dirpart/$file"
17884    done
17885  done
17886}
17887 ;;
17888    "libtool":C)
17889
17890    # See if we are running on zsh, and set the options that allow our
17891    # commands through without removal of \ escapes.
17892    if test -n "${ZSH_VERSION+set}"; then
17893      setopt NO_GLOB_SUBST
17894    fi
17895
17896    cfgfile=${ofile}T
17897    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17898    $RM "$cfgfile"
17899
17900    cat <<_LT_EOF >> "$cfgfile"
17901#! $SHELL
17902# Generated automatically by $as_me ($PACKAGE) $VERSION
17903# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17904# NOTE: Changes made to this file will be lost: look at ltmain.sh.
17905
17906# Provide generalized library-building support services.
17907# Written by Gordon Matzigkeit, 1996
17908
17909# Copyright (C) 2014 Free Software Foundation, Inc.
17910# This is free software; see the source for copying conditions.  There is NO
17911# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
17912
17913# GNU Libtool is free software; you can redistribute it and/or modify
17914# it under the terms of the GNU General Public License as published by
17915# the Free Software Foundation; either version 2 of of the License, or
17916# (at your option) any later version.
17917#
17918# As a special exception to the GNU General Public License, if you
17919# distribute this file as part of a program or library that is built
17920# using GNU Libtool, you may include this file under the  same
17921# distribution terms that you use for the rest of that program.
17922#
17923# GNU Libtool is distributed in the hope that it will be useful, but
17924# WITHOUT ANY WARRANTY; without even the implied warranty of
17925# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17926# GNU General Public License for more details.
17927#
17928# You should have received a copy of the GNU General Public License
17929# along with this program.  If not, see <http://www.gnu.org/licenses/>.
17930
17931
17932# The names of the tagged configurations supported by this script.
17933available_tags=''
17934
17935# Configured defaults for sys_lib_dlsearch_path munging.
17936: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
17937
17938# ### BEGIN LIBTOOL CONFIG
17939
17940# Which release of libtool.m4 was used?
17941macro_version=$macro_version
17942macro_revision=$macro_revision
17943
17944# Whether or not to build shared libraries.
17945build_libtool_libs=$enable_shared
17946
17947# Whether or not to build static libraries.
17948build_old_libs=$enable_static
17949
17950# What type of objects to build.
17951pic_mode=$pic_mode
17952
17953# Whether or not to optimize for fast installation.
17954fast_install=$enable_fast_install
17955
17956# Shared archive member basename,for filename based shared library versioning on AIX.
17957shared_archive_member_spec=$shared_archive_member_spec
17958
17959# Shell to use when invoking shell scripts.
17960SHELL=$lt_SHELL
17961
17962# An echo program that protects backslashes.
17963ECHO=$lt_ECHO
17964
17965# The PATH separator for the build system.
17966PATH_SEPARATOR=$lt_PATH_SEPARATOR
17967
17968# The host system.
17969host_alias=$host_alias
17970host=$host
17971host_os=$host_os
17972
17973# The build system.
17974build_alias=$build_alias
17975build=$build
17976build_os=$build_os
17977
17978# A sed program that does not truncate output.
17979SED=$lt_SED
17980
17981# Sed that helps us avoid accidentally triggering echo(1) options like -n.
17982Xsed="\$SED -e 1s/^X//"
17983
17984# A grep program that handles long lines.
17985GREP=$lt_GREP
17986
17987# An ERE matcher.
17988EGREP=$lt_EGREP
17989
17990# A literal string matcher.
17991FGREP=$lt_FGREP
17992
17993# A BSD- or MS-compatible name lister.
17994NM=$lt_NM
17995
17996# Whether we need soft or hard links.
17997LN_S=$lt_LN_S
17998
17999# What is the maximum length of a command?
18000max_cmd_len=$max_cmd_len
18001
18002# Object file suffix (normally "o").
18003objext=$ac_objext
18004
18005# Executable file suffix (normally "").
18006exeext=$exeext
18007
18008# whether the shell understands "unset".
18009lt_unset=$lt_unset
18010
18011# turn spaces into newlines.
18012SP2NL=$lt_lt_SP2NL
18013
18014# turn newlines into spaces.
18015NL2SP=$lt_lt_NL2SP
18016
18017# convert \$build file names to \$host format.
18018to_host_file_cmd=$lt_cv_to_host_file_cmd
18019
18020# convert \$build files to toolchain format.
18021to_tool_file_cmd=$lt_cv_to_tool_file_cmd
18022
18023# An object symbol dumper.
18024OBJDUMP=$lt_OBJDUMP
18025
18026# Method to check whether dependent libraries are shared objects.
18027deplibs_check_method=$lt_deplibs_check_method
18028
18029# Command to use when deplibs_check_method = "file_magic".
18030file_magic_cmd=$lt_file_magic_cmd
18031
18032# How to find potential files when deplibs_check_method = "file_magic".
18033file_magic_glob=$lt_file_magic_glob
18034
18035# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
18036want_nocaseglob=$lt_want_nocaseglob
18037
18038# DLL creation program.
18039DLLTOOL=$lt_DLLTOOL
18040
18041# Command to associate shared and link libraries.
18042sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
18043
18044# The archiver.
18045AR=$lt_AR
18046
18047# Flags to create an archive.
18048AR_FLAGS=$lt_AR_FLAGS
18049
18050# How to feed a file listing to the archiver.
18051archiver_list_spec=$lt_archiver_list_spec
18052
18053# A symbol stripping program.
18054STRIP=$lt_STRIP
18055
18056# Commands used to install an old-style archive.
18057RANLIB=$lt_RANLIB
18058old_postinstall_cmds=$lt_old_postinstall_cmds
18059old_postuninstall_cmds=$lt_old_postuninstall_cmds
18060
18061# Whether to use a lock for old archive extraction.
18062lock_old_archive_extraction=$lock_old_archive_extraction
18063
18064# A C compiler.
18065LTCC=$lt_CC
18066
18067# LTCC compiler flags.
18068LTCFLAGS=$lt_CFLAGS
18069
18070# Take the output of nm and produce a listing of raw symbols and C names.
18071global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18072
18073# Transform the output of nm in a proper C declaration.
18074global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18075
18076# Transform the output of nm into a list of symbols to manually relocate.
18077global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
18078
18079# Transform the output of nm in a C name address pair.
18080global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18081
18082# Transform the output of nm in a C name address pair when lib prefix is needed.
18083global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18084
18085# The name lister interface.
18086nm_interface=$lt_lt_cv_nm_interface
18087
18088# Specify filename containing input files for \$NM.
18089nm_file_list_spec=$lt_nm_file_list_spec
18090
18091# The root where to search for dependent libraries,and where our libraries should be installed.
18092lt_sysroot=$lt_sysroot
18093
18094# Command to truncate a binary pipe.
18095lt_truncate_bin=$lt_lt_cv_truncate_bin
18096
18097# The name of the directory that contains temporary libtool files.
18098objdir=$objdir
18099
18100# Used to examine libraries when file_magic_cmd begins with "file".
18101MAGIC_CMD=$MAGIC_CMD
18102
18103# Must we lock files when doing compilation?
18104need_locks=$lt_need_locks
18105
18106# Manifest tool.
18107MANIFEST_TOOL=$lt_MANIFEST_TOOL
18108
18109# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18110DSYMUTIL=$lt_DSYMUTIL
18111
18112# Tool to change global to local symbols on Mac OS X.
18113NMEDIT=$lt_NMEDIT
18114
18115# Tool to manipulate fat objects and archives on Mac OS X.
18116LIPO=$lt_LIPO
18117
18118# ldd/readelf like tool for Mach-O binaries on Mac OS X.
18119OTOOL=$lt_OTOOL
18120
18121# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18122OTOOL64=$lt_OTOOL64
18123
18124# Old archive suffix (normally "a").
18125libext=$libext
18126
18127# Shared library suffix (normally ".so").
18128shrext_cmds=$lt_shrext_cmds
18129
18130# The commands to extract the exported symbol list from a shared archive.
18131extract_expsyms_cmds=$lt_extract_expsyms_cmds
18132
18133# Variables whose values should be saved in libtool wrapper scripts and
18134# restored at link time.
18135variables_saved_for_relink=$lt_variables_saved_for_relink
18136
18137# Do we need the "lib" prefix for modules?
18138need_lib_prefix=$need_lib_prefix
18139
18140# Do we need a version for libraries?
18141need_version=$need_version
18142
18143# Library versioning type.
18144version_type=$version_type
18145
18146# Shared library runtime path variable.
18147runpath_var=$runpath_var
18148
18149# Shared library path variable.
18150shlibpath_var=$shlibpath_var
18151
18152# Is shlibpath searched before the hard-coded library search path?
18153shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18154
18155# Format of library name prefix.
18156libname_spec=$lt_libname_spec
18157
18158# List of archive names.  First name is the real one, the rest are links.
18159# The last name is the one that the linker finds with -lNAME
18160library_names_spec=$lt_library_names_spec
18161
18162# The coded name of the library, if different from the real name.
18163soname_spec=$lt_soname_spec
18164
18165# Permission mode override for installation of shared libraries.
18166install_override_mode=$lt_install_override_mode
18167
18168# Command to use after installation of a shared archive.
18169postinstall_cmds=$lt_postinstall_cmds
18170
18171# Command to use after uninstallation of a shared archive.
18172postuninstall_cmds=$lt_postuninstall_cmds
18173
18174# Commands used to finish a libtool library installation in a directory.
18175finish_cmds=$lt_finish_cmds
18176
18177# As "finish_cmds", except a single script fragment to be evaled but
18178# not shown.
18179finish_eval=$lt_finish_eval
18180
18181# Whether we should hardcode library paths into libraries.
18182hardcode_into_libs=$hardcode_into_libs
18183
18184# Compile-time system search path for libraries.
18185sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18186
18187# Detected run-time system search path for libraries.
18188sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
18189
18190# Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
18191configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
18192
18193# Whether dlopen is supported.
18194dlopen_support=$enable_dlopen
18195
18196# Whether dlopen of programs is supported.
18197dlopen_self=$enable_dlopen_self
18198
18199# Whether dlopen of statically linked programs is supported.
18200dlopen_self_static=$enable_dlopen_self_static
18201
18202# Commands to strip libraries.
18203old_striplib=$lt_old_striplib
18204striplib=$lt_striplib
18205
18206
18207# The linker used to build libraries.
18208LD=$lt_LD
18209
18210# How to create reloadable object files.
18211reload_flag=$lt_reload_flag
18212reload_cmds=$lt_reload_cmds
18213
18214# Commands used to build an old-style archive.
18215old_archive_cmds=$lt_old_archive_cmds
18216
18217# A language specific compiler.
18218CC=$lt_compiler
18219
18220# Is the compiler the GNU compiler?
18221with_gcc=$GCC
18222
18223# Compiler flag to turn off builtin functions.
18224no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18225
18226# Additional compiler flags for building library objects.
18227pic_flag=$lt_lt_prog_compiler_pic
18228
18229# How to pass a linker flag through the compiler.
18230wl=$lt_lt_prog_compiler_wl
18231
18232# Compiler flag to prevent dynamic linking.
18233link_static_flag=$lt_lt_prog_compiler_static
18234
18235# Does compiler simultaneously support -c and -o options?
18236compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18237
18238# Whether or not to add -lc for building shared libraries.
18239build_libtool_need_lc=$archive_cmds_need_lc
18240
18241# Whether or not to disallow shared libs when runtime libs are static.
18242allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18243
18244# Compiler flag to allow reflexive dlopens.
18245export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18246
18247# Compiler flag to generate shared objects directly from archives.
18248whole_archive_flag_spec=$lt_whole_archive_flag_spec
18249
18250# Whether the compiler copes with passing no objects directly.
18251compiler_needs_object=$lt_compiler_needs_object
18252
18253# Create an old-style archive from a shared archive.
18254old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18255
18256# Create a temporary old-style archive to link instead of a shared archive.
18257old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18258
18259# Commands used to build a shared archive.
18260archive_cmds=$lt_archive_cmds
18261archive_expsym_cmds=$lt_archive_expsym_cmds
18262
18263# Commands used to build a loadable module if different from building
18264# a shared archive.
18265module_cmds=$lt_module_cmds
18266module_expsym_cmds=$lt_module_expsym_cmds
18267
18268# Whether we are building with GNU ld or not.
18269with_gnu_ld=$lt_with_gnu_ld
18270
18271# Flag that allows shared libraries with undefined symbols to be built.
18272allow_undefined_flag=$lt_allow_undefined_flag
18273
18274# Flag that enforces no undefined symbols.
18275no_undefined_flag=$lt_no_undefined_flag
18276
18277# Flag to hardcode \$libdir into a binary during linking.
18278# This must work even if \$libdir does not exist
18279hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18280
18281# Whether we need a single "-rpath" flag with a separated argument.
18282hardcode_libdir_separator=$lt_hardcode_libdir_separator
18283
18284# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
18285# DIR into the resulting binary.
18286hardcode_direct=$hardcode_direct
18287
18288# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
18289# DIR into the resulting binary and the resulting library dependency is
18290# "absolute",i.e impossible to change by setting \$shlibpath_var if the
18291# library is relocated.
18292hardcode_direct_absolute=$hardcode_direct_absolute
18293
18294# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18295# into the resulting binary.
18296hardcode_minus_L=$hardcode_minus_L
18297
18298# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18299# into the resulting binary.
18300hardcode_shlibpath_var=$hardcode_shlibpath_var
18301
18302# Set to "yes" if building a shared library automatically hardcodes DIR
18303# into the library and all subsequent libraries and executables linked
18304# against it.
18305hardcode_automatic=$hardcode_automatic
18306
18307# Set to yes if linker adds runtime paths of dependent libraries
18308# to runtime path list.
18309inherit_rpath=$inherit_rpath
18310
18311# Whether libtool must link a program against all its dependency libraries.
18312link_all_deplibs=$link_all_deplibs
18313
18314# Set to "yes" if exported symbols are required.
18315always_export_symbols=$always_export_symbols
18316
18317# The commands to list exported symbols.
18318export_symbols_cmds=$lt_export_symbols_cmds
18319
18320# Symbols that should not be listed in the preloaded symbols.
18321exclude_expsyms=$lt_exclude_expsyms
18322
18323# Symbols that must always be exported.
18324include_expsyms=$lt_include_expsyms
18325
18326# Commands necessary for linking programs (against libraries) with templates.
18327prelink_cmds=$lt_prelink_cmds
18328
18329# Commands necessary for finishing linking programs.
18330postlink_cmds=$lt_postlink_cmds
18331
18332# Specify filename containing input files.
18333file_list_spec=$lt_file_list_spec
18334
18335# How to hardcode a shared library path into an executable.
18336hardcode_action=$hardcode_action
18337
18338# ### END LIBTOOL CONFIG
18339
18340_LT_EOF
18341
18342    cat <<'_LT_EOF' >> "$cfgfile"
18343
18344# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
18345
18346# func_munge_path_list VARIABLE PATH
18347# -----------------------------------
18348# VARIABLE is name of variable containing _space_ separated list of
18349# directories to be munged by the contents of PATH, which is string
18350# having a format:
18351# "DIR[:DIR]:"
18352#       string "DIR[ DIR]" will be prepended to VARIABLE
18353# ":DIR[:DIR]"
18354#       string "DIR[ DIR]" will be appended to VARIABLE
18355# "DIRP[:DIRP]::[DIRA:]DIRA"
18356#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
18357#       "DIRA[ DIRA]" will be appended to VARIABLE
18358# "DIR[:DIR]"
18359#       VARIABLE will be replaced by "DIR[ DIR]"
18360func_munge_path_list ()
18361{
18362    case x$2 in
18363    x)
18364        ;;
18365    *:)
18366        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
18367        ;;
18368    x:*)
18369        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
18370        ;;
18371    *::*)
18372        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
18373        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
18374        ;;
18375    *)
18376        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
18377        ;;
18378    esac
18379}
18380
18381
18382# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
18383func_cc_basename ()
18384{
18385    for cc_temp in $*""; do
18386      case $cc_temp in
18387        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
18388        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
18389        \-*) ;;
18390        *) break;;
18391      esac
18392    done
18393    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
18394}
18395
18396
18397# ### END FUNCTIONS SHARED WITH CONFIGURE
18398
18399_LT_EOF
18400
18401  case $host_os in
18402  aix3*)
18403    cat <<\_LT_EOF >> "$cfgfile"
18404# AIX sometimes has problems with the GCC collect2 program.  For some
18405# reason, if we set the COLLECT_NAMES environment variable, the problems
18406# vanish in a puff of smoke.
18407if test set != "${COLLECT_NAMES+set}"; then
18408  COLLECT_NAMES=
18409  export COLLECT_NAMES
18410fi
18411_LT_EOF
18412    ;;
18413  esac
18414
18415
18416ltmain=$ac_aux_dir/ltmain.sh
18417
18418
18419  # We use sed instead of cat because bash on DJGPP gets confused if
18420  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
18421  # text mode, it properly converts lines to CR/LF.  This bash problem
18422  # is reportedly fixed, but why not run on old versions too?
18423  sed '$q' "$ltmain" >> "$cfgfile" \
18424     || (rm -f "$cfgfile"; exit 1)
18425
18426   mv -f "$cfgfile" "$ofile" ||
18427    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18428  chmod +x "$ofile"
18429
18430 ;;
18431    "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
18432        sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
18433      esac ;;
18434    "po/stamp-it":C)
18435    if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
18436       as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
18437    fi
18438    rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
18439    >"po/stamp-it.tmp"
18440    sed '/^#/d
18441	 s/^[[].*] *//
18442	 /^[ 	]*$/d
18443	'"s|^|	$ac_top_srcdir/|" \
18444      "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
18445
18446    sed '/^POTFILES =/,/[^\\]$/ {
18447		/^POTFILES =/!d
18448		r po/POTFILES
18449	  }
18450	 ' "po/Makefile.in" >"po/Makefile"
18451    rm -f "po/Makefile.tmp"
18452    mv "po/stamp-it.tmp" "po/stamp-it"
18453   ;;
18454
18455  esac
18456done # for ac_tag
18457
18458
18459as_fn_exit 0
18460_ACEOF
18461ac_clean_files=$ac_clean_files_save
18462
18463test $ac_write_fail = 0 ||
18464  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18465
18466
18467# configure is writing to config.log, and then calls config.status.
18468# config.status does its own redirection, appending to config.log.
18469# Unfortunately, on DOS this fails, as config.log is still kept open
18470# by configure, so config.status won't be able to write to it; its
18471# output is simply discarded.  So we exec the FD to /dev/null,
18472# effectively closing config.log, so it can be properly (re)opened and
18473# appended to by config.status.  When coming back to configure, we
18474# need to make the FD available again.
18475if test "$no_create" != yes; then
18476  ac_cs_success=:
18477  ac_config_status_args=
18478  test "$silent" = yes &&
18479    ac_config_status_args="$ac_config_status_args --quiet"
18480  exec 5>/dev/null
18481  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
18482  exec 5>>config.log
18483  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18484  # would make configure fail if this is the last instruction.
18485  $ac_cs_success || as_fn_exit 1
18486fi
18487if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
18488  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18489$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
18490fi
18491
18492
18493###########################
18494# Results
18495###########################
18496
18497{ $as_echo "$as_me:${as_lineno-$LINENO}:
18498
18499libdbusmenu Configuration:
18500
18501	Prefix:                 $prefix
18502	Massive Debugging:      $with_massivedebugging
18503	GTK+ Version:           $with_gtk
18504" >&5
18505$as_echo "$as_me:
18506
18507libdbusmenu Configuration:
18508
18509	Prefix:                 $prefix
18510	Massive Debugging:      $with_massivedebugging
18511	GTK+ Version:           $with_gtk
18512" >&6;}
18513
18514if test "x$have_tests" = "xyes"; then :
18515  { $as_echo "$as_me:${as_lineno-$LINENO}: 	Tests:                  yes" >&5
18516$as_echo "$as_me: 	Tests:                  yes" >&6;}
18517else
18518  { $as_echo "$as_me:${as_lineno-$LINENO}: 	Tests:                  no" >&5
18519$as_echo "$as_me: 	Tests:                  no" >&6;}
18520
18521fi
18522
18523if test "x$enable_gtk" = "xno"; then :
18524  { $as_echo "$as_me:${as_lineno-$LINENO}: 	Gtk:                    no" >&5
18525$as_echo "$as_me: 	Gtk:                    no" >&6;}
18526else
18527  { $as_echo "$as_me:${as_lineno-$LINENO}: 	Gtk:                    yes (gtk$with_gtk)" >&5
18528$as_echo "$as_me: 	Gtk:                    yes (gtk$with_gtk)" >&6;}
18529
18530fi
18531
18532if test -z "$HAVE_VALA_TRUE"; then :
18533  { $as_echo "$as_me:${as_lineno-$LINENO}: 	Vala bindings:          yes" >&5
18534$as_echo "$as_me: 	Vala bindings:          yes" >&6;}
18535else
18536  { $as_echo "$as_me:${as_lineno-$LINENO}: 	Vala bindings           no" >&5
18537$as_echo "$as_me: 	Vala bindings           no" >&6;}
18538
18539fi
18540
18541if test "x$have_dumper" = "xyes"; then :
18542  { $as_echo "$as_me:${as_lineno-$LINENO}: 	Dumper:                 yes" >&5
18543$as_echo "$as_me: 	Dumper:                 yes" >&6;}
18544else
18545  { $as_echo "$as_me:${as_lineno-$LINENO}: 	Dumper:                 no" >&5
18546$as_echo "$as_me: 	Dumper:                 no" >&6;}
18547
18548fi
18549
18550if test "x$use_gcov" = "xyes"; then :
18551  { $as_echo "$as_me:${as_lineno-$LINENO}: 	Coverage reporting:     yes" >&5
18552$as_echo "$as_me: 	Coverage reporting:     yes" >&6;}
18553else
18554  { $as_echo "$as_me:${as_lineno-$LINENO}: 	Coverage reporting:     no" >&5
18555$as_echo "$as_me: 	Coverage reporting:     no" >&6;}
18556
18557fi
18558