1#! /bin/sh
2# From configure.ac d79575d.
3# Guess values for system-dependent variables and create Makefiles.
4# Generated by GNU Autoconf 2.69 for Notes 1.9.0.
5#
6# Report bugs to <https://gitlab.xfce.org/panel-plugins/xfce4-notes-plugin>.
7#
8#
9# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
10#
11#
12# This configure script is free software; the Free Software Foundation
13# gives unlimited permission to copy, distribute and modify it.
14## -------------------- ##
15## M4sh Initialization. ##
16## -------------------- ##
17
18# Be more Bourne compatible
19DUALCASE=1; export DUALCASE # for MKS sh
20if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21  emulate sh
22  NULLCMD=:
23  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
24  # is contrary to our usage.  Disable this feature.
25  alias -g '${1+"$@"}'='"$@"'
26  setopt NO_GLOB_SUBST
27else
28  case `(set -o) 2>/dev/null` in #(
29  *posix*) :
30    set -o posix ;; #(
31  *) :
32     ;;
33esac
34fi
35
36
37as_nl='
38'
39export as_nl
40# Printing a long string crashes Solaris 7 /usr/bin/printf.
41as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
42as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
43as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
44# Prefer a ksh shell builtin over an external printf program on Solaris,
45# but without wasting forks for bash or zsh.
46if test -z "$BASH_VERSION$ZSH_VERSION" \
47    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48  as_echo='print -r --'
49  as_echo_n='print -rn --'
50elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51  as_echo='printf %s\n'
52  as_echo_n='printf %s'
53else
54  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
55    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
56    as_echo_n='/usr/ucb/echo -n'
57  else
58    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
59    as_echo_n_body='eval
60      arg=$1;
61      case $arg in #(
62      *"$as_nl"*)
63	expr "X$arg" : "X\\(.*\\)$as_nl";
64	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65      esac;
66      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67    '
68    export as_echo_n_body
69    as_echo_n='sh -c $as_echo_n_body as_echo'
70  fi
71  export as_echo_body
72  as_echo='sh -c $as_echo_body as_echo'
73fi
74
75# The user is always right.
76if test "${PATH_SEPARATOR+set}" != set; then
77  PATH_SEPARATOR=:
78  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
79    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
80      PATH_SEPARATOR=';'
81  }
82fi
83
84
85# IFS
86# We need space, tab and new line, in precisely that order.  Quoting is
87# there to prevent editors from complaining about space-tab.
88# (If _AS_PATH_WALK were called with IFS unset, it would disable word
89# splitting by setting IFS to empty value.)
90IFS=" ""	$as_nl"
91
92# Find who we are.  Look in the path if we contain no directory separator.
93as_myself=
94case $0 in #((
95  *[\\/]* ) as_myself=$0 ;;
96  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97for as_dir in $PATH
98do
99  IFS=$as_save_IFS
100  test -z "$as_dir" && as_dir=.
101    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
102  done
103IFS=$as_save_IFS
104
105     ;;
106esac
107# We did not find ourselves, most probably we were run as `sh COMMAND'
108# in which case we are not to be found in the path.
109if test "x$as_myself" = x; then
110  as_myself=$0
111fi
112if test ! -f "$as_myself"; then
113  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114  exit 1
115fi
116
117# Unset variables that we do not need and which cause bugs (e.g. in
118# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
119# suppresses any "Segmentation fault" message there.  '((' could
120# trigger a bug in pdksh 5.2.14.
121for as_var in BASH_ENV ENV MAIL MAILPATH
122do eval test x\${$as_var+set} = xset \
123  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
124done
125PS1='$ '
126PS2='> '
127PS4='+ '
128
129# NLS nuisances.
130LC_ALL=C
131export LC_ALL
132LANGUAGE=C
133export LANGUAGE
134
135# CDPATH.
136(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137
138# Use a proper internal environment variable to ensure we don't fall
139  # into an infinite loop, continuously re-executing ourselves.
140  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
141    _as_can_reexec=no; export _as_can_reexec;
142    # We cannot yet assume a decent shell, so we have to provide a
143# neutralization value for shells without unset; and this also
144# works around shells that cannot unset nonexistent variables.
145# Preserve -v and -x to the replacement shell.
146BASH_ENV=/dev/null
147ENV=/dev/null
148(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
149case $- in # ((((
150  *v*x* | *x*v* ) as_opts=-vx ;;
151  *v* ) as_opts=-v ;;
152  *x* ) as_opts=-x ;;
153  * ) as_opts= ;;
154esac
155exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
156# Admittedly, this is quite paranoid, since all the known shells bail
157# out after a failed `exec'.
158$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
159as_fn_exit 255
160  fi
161  # We don't want this to propagate to other subprocesses.
162          { _as_can_reexec=; unset _as_can_reexec;}
163if test "x$CONFIG_SHELL" = x; then
164  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
165  emulate sh
166  NULLCMD=:
167  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
168  # is contrary to our usage.  Disable this feature.
169  alias -g '\${1+\"\$@\"}'='\"\$@\"'
170  setopt NO_GLOB_SUBST
171else
172  case \`(set -o) 2>/dev/null\` in #(
173  *posix*) :
174    set -o posix ;; #(
175  *) :
176     ;;
177esac
178fi
179"
180  as_required="as_fn_return () { (exit \$1); }
181as_fn_success () { as_fn_return 0; }
182as_fn_failure () { as_fn_return 1; }
183as_fn_ret_success () { return 0; }
184as_fn_ret_failure () { return 1; }
185
186exitcode=0
187as_fn_success || { exitcode=1; echo as_fn_success failed.; }
188as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
189as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
190as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
191if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
192
193else
194  exitcode=1; echo positional parameters were not saved.
195fi
196test x\$exitcode = x0 || exit 1
197test -x / || exit 1"
198  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
199  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
200  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
201  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
202
203  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
204    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
205    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
207    PATH=/empty FPATH=/empty; export PATH FPATH
208    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
209      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
210test \$(( 1 + 1 )) = 2 || exit 1"
211  if (eval "$as_required") 2>/dev/null; then :
212  as_have_required=yes
213else
214  as_have_required=no
215fi
216  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
217
218else
219  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
220as_found=false
221for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
222do
223  IFS=$as_save_IFS
224  test -z "$as_dir" && as_dir=.
225  as_found=:
226  case $as_dir in #(
227	 /*)
228	   for as_base in sh bash ksh sh5; do
229	     # Try only shells that exist, to save several forks.
230	     as_shell=$as_dir/$as_base
231	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
232		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
233  CONFIG_SHELL=$as_shell as_have_required=yes
234		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
235  break 2
236fi
237fi
238	   done;;
239       esac
240  as_found=false
241done
242$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
243	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
244  CONFIG_SHELL=$SHELL as_have_required=yes
245fi; }
246IFS=$as_save_IFS
247
248
249      if test "x$CONFIG_SHELL" != x; then :
250  export CONFIG_SHELL
251             # We cannot yet assume a decent shell, so we have to provide a
252# neutralization value for shells without unset; and this also
253# works around shells that cannot unset nonexistent variables.
254# Preserve -v and -x to the replacement shell.
255BASH_ENV=/dev/null
256ENV=/dev/null
257(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
258case $- in # ((((
259  *v*x* | *x*v* ) as_opts=-vx ;;
260  *v* ) as_opts=-v ;;
261  *x* ) as_opts=-x ;;
262  * ) as_opts= ;;
263esac
264exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
265# Admittedly, this is quite paranoid, since all the known shells bail
266# out after a failed `exec'.
267$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
268exit 255
269fi
270
271    if test x$as_have_required = xno; then :
272  $as_echo "$0: This script requires a shell more modern than all"
273  $as_echo "$0: the shells that I found on your system."
274  if test x${ZSH_VERSION+set} = xset ; then
275    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
276    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
277  else
278    $as_echo "$0: Please tell bug-autoconf@gnu.org and
279$0: https://gitlab.xfce.org/panel-plugins/xfce4-notes-plugin
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
571as_awk_strverscmp='
572  # Use only awk features that work with 7th edition Unix awk (1978).
573  # My, what an old awk you have, Mr. Solaris!
574  END {
575    while (length(v1) && length(v2)) {
576      # Set d1 to be the next thing to compare from v1, and likewise for d2.
577      # Normally this is a single character, but if v1 and v2 contain digits,
578      # compare them as integers and fractions as strverscmp does.
579      if (v1 ~ /^[0-9]/ && v2 ~ /^[0-9]/) {
580	# Split v1 and v2 into their leading digit string components d1 and d2,
581	# and advance v1 and v2 past the leading digit strings.
582	for (len1 = 1; substr(v1, len1 + 1) ~ /^[0-9]/; len1++) continue
583	for (len2 = 1; substr(v2, len2 + 1) ~ /^[0-9]/; len2++) continue
584	d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
585	d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
586	if (d1 ~ /^0/) {
587	  if (d2 ~ /^0/) {
588	    # Compare two fractions.
589	    while (d1 ~ /^0/ && d2 ~ /^0/) {
590	      d1 = substr(d1, 2); len1--
591	      d2 = substr(d2, 2); len2--
592	    }
593	    if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
594	      # The two components differ in length, and the common prefix
595	      # contains only leading zeros.  Consider the longer to be less.
596	      d1 = -len1
597	      d2 = -len2
598	    } else {
599	      # Otherwise, compare as strings.
600	      d1 = "x" d1
601	      d2 = "x" d2
602	    }
603	  } else {
604	    # A fraction is less than an integer.
605	    exit 1
606	  }
607	} else {
608	  if (d2 ~ /^0/) {
609	    # An integer is greater than a fraction.
610	    exit 2
611	  } else {
612	    # Compare two integers.
613	    d1 += 0
614	    d2 += 0
615	  }
616	}
617      } else {
618	# The normal case, without worrying about digits.
619	d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
620	d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
621      }
622      if (d1 < d2) exit 1
623      if (d1 > d2) exit 2
624    }
625    # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
626    # which mishandles some comparisons of empty strings to integers.
627    if (length(v2)) exit 1
628    if (length(v1)) exit 2
629  }
630'
631
632test -n "$DJDIR" || exec 7<&0 </dev/null
633exec 6>&1
634
635# Name of the host.
636# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
637# so uname gets run too.
638ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
639
640#
641# Initializations.
642#
643ac_default_prefix=/usr/local
644ac_clean_files=
645ac_config_libobj_dir=.
646LIBOBJS=
647cross_compiling=no
648subdirs=
649MFLAGS=
650MAKEFLAGS=
651
652# Identity of this package.
653PACKAGE_NAME='Notes'
654PACKAGE_TARNAME='xfce4-notes-plugin'
655PACKAGE_VERSION='1.9.0'
656PACKAGE_STRING='Notes 1.9.0'
657PACKAGE_BUGREPORT='https://gitlab.xfce.org/panel-plugins/xfce4-notes-plugin'
658PACKAGE_URL='https://docs.xfce.org/panel-plugins/xfce4-notes-plugin'
659
660# Factoring default headers for most tests.
661ac_includes_default="\
662#include <stdio.h>
663#ifdef HAVE_SYS_TYPES_H
664# include <sys/types.h>
665#endif
666#ifdef HAVE_SYS_STAT_H
667# include <sys/stat.h>
668#endif
669#ifdef STDC_HEADERS
670# include <stdlib.h>
671# include <stddef.h>
672#else
673# ifdef HAVE_STDLIB_H
674#  include <stdlib.h>
675# endif
676#endif
677#ifdef HAVE_STRING_H
678# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
679#  include <memory.h>
680# endif
681# include <string.h>
682#endif
683#ifdef HAVE_STRINGS_H
684# include <strings.h>
685#endif
686#ifdef HAVE_INTTYPES_H
687# include <inttypes.h>
688#endif
689#ifdef HAVE_STDINT_H
690# include <stdint.h>
691#endif
692#ifdef HAVE_UNISTD_H
693# include <unistd.h>
694#endif"
695
696ac_subst_vars='am__EXEEXT_FALSE
697am__EXEEXT_TRUE
698LTLIBOBJS
699LIBOBJS
700XGETTEXT_ARGS
701MKINSTALLDIRS
702POSUB
703POFILES
704PO_IN_DATADIR_FALSE
705PO_IN_DATADIR_TRUE
706INTLLIBS
707INSTOBJEXT
708GMOFILES
709DATADIRNAME
710CATOBJEXT
711CATALOGS
712MSGFMT_OPTS
713INTL_MACOSX_LIBS
714GETTEXT_PACKAGE
715ALL_LINGUAS
716INTLTOOL_PERL
717GMSGFMT
718MSGFMT
719MSGMERGE
720XGETTEXT
721INTLTOOL_POLICY_RULE
722INTLTOOL_SERVICE_RULE
723INTLTOOL_THEME_RULE
724INTLTOOL_SCHEMAS_RULE
725INTLTOOL_CAVES_RULE
726INTLTOOL_XML_NOMERGE_RULE
727INTLTOOL_XML_RULE
728INTLTOOL_KBD_RULE
729INTLTOOL_XAM_RULE
730INTLTOOL_UI_RULE
731INTLTOOL_SOUNDLIST_RULE
732INTLTOOL_SHEET_RULE
733INTLTOOL_SERVER_RULE
734INTLTOOL_PONG_RULE
735INTLTOOL_OAF_RULE
736INTLTOOL_PROP_RULE
737INTLTOOL_KEYS_RULE
738INTLTOOL_DIRECTORY_RULE
739INTLTOOL_DESKTOP_RULE
740intltool__v_merge_options_0
741intltool__v_merge_options_
742INTLTOOL_V_MERGE_OPTIONS
743INTLTOOL__v_MERGE_0
744INTLTOOL__v_MERGE_
745INTLTOOL_V_MERGE
746INTLTOOL_EXTRACT
747INTLTOOL_MERGE
748INTLTOOL_UPDATE
749USE_NLS
750VALAC
751LIBXFCE4PANEL_REQUIRED_VERSION
752LIBXFCE4PANEL_LIBS
753LIBXFCE4PANEL_CFLAGS
754LIBXFCE4PANEL_VERSION
755XFCONF_REQUIRED_VERSION
756XFCONF_LIBS
757XFCONF_CFLAGS
758XFCONF_VERSION
759LIBXFCE4UI_REQUIRED_VERSION
760LIBXFCE4UI_LIBS
761LIBXFCE4UI_CFLAGS
762LIBXFCE4UI_VERSION
763LIBXFCE4UTIL_REQUIRED_VERSION
764LIBXFCE4UTIL_LIBS
765LIBXFCE4UTIL_CFLAGS
766LIBXFCE4UTIL_VERSION
767GTK_REQUIRED_VERSION
768GTK_LIBS
769GTK_CFLAGS
770GTK_VERSION
771GIO_REQUIRED_VERSION
772GIO_LIBS
773GIO_CFLAGS
774GIO_VERSION
775GLIB_REQUIRED_VERSION
776GLIB_LIBS
777GLIB_CFLAGS
778GLIB_VERSION
779PKG_CONFIG_LIBDIR
780PKG_CONFIG_PATH
781PKG_CONFIG
782LIBX11_LIBS
783LIBX11_LDFLAGS
784LIBX11_CFLAGS
785X_EXTRA_LIBS
786X_LIBS
787X_PRE_LIBS
788X_CFLAGS
789XMKMF
790MATH_LIBS
791MAINT
792MAINTAINER_MODE_FALSE
793MAINTAINER_MODE_TRUE
794AM_BACKSLASH
795AM_DEFAULT_VERBOSITY
796AM_DEFAULT_V
797AM_V
798am__fastdepCC_FALSE
799am__fastdepCC_TRUE
800CCDEPMODE
801am__nodep
802AMDEPBACKSLASH
803AMDEP_FALSE
804AMDEP_TRUE
805am__include
806DEPDIR
807am__untar
808am__tar
809AMTAR
810am__leading_dot
811SET_MAKE
812mkdir_p
813MKDIR_P
814INSTALL_STRIP_PROGRAM
815install_sh
816MAKEINFO
817AUTOHEADER
818AUTOMAKE
819AUTOCONF
820ACLOCAL
821VERSION
822PACKAGE
823CYGPATH_W
824am__isrc
825INSTALL_DATA
826INSTALL_SCRIPT
827INSTALL_PROGRAM
828CPP
829LT_SYS_LIBRARY_PATH
830OTOOL64
831OTOOL
832LIPO
833NMEDIT
834DSYMUTIL
835MANIFEST_TOOL
836AWK
837RANLIB
838STRIP
839ac_ct_AR
840AR
841DLLTOOL
842OBJDUMP
843LN_S
844NM
845ac_ct_DUMPBIN
846DUMPBIN
847LD
848FGREP
849EGREP
850GREP
851SED
852OBJEXT
853EXEEXT
854ac_ct_CC
855CPPFLAGS
856LDFLAGS
857CFLAGS
858CC
859LIBTOOL
860target_os
861target_vendor
862target_cpu
863target
864host_os
865host_vendor
866host_cpu
867host
868build_os
869build_vendor
870build_cpu
871build
872target_alias
873host_alias
874build_alias
875LIBS
876ECHO_T
877ECHO_N
878ECHO_C
879DEFS
880mandir
881localedir
882libdir
883psdir
884pdfdir
885dvidir
886htmldir
887infodir
888docdir
889oldincludedir
890includedir
891runstatedir
892localstatedir
893sharedstatedir
894sysconfdir
895datadir
896datarootdir
897libexecdir
898sbindir
899bindir
900program_transform_name
901prefix
902exec_prefix
903PACKAGE_URL
904PACKAGE_BUGREPORT
905PACKAGE_STRING
906PACKAGE_VERSION
907PACKAGE_TARNAME
908PACKAGE_NAME
909PATH_SEPARATOR
910SHELL
911am__quote'
912ac_subst_files=''
913ac_user_opts='
914enable_option_checking
915enable_static
916enable_shared
917with_pic
918enable_fast_install
919with_aix_soname
920with_gnu_ld
921with_sysroot
922enable_libtool_lock
923enable_dependency_tracking
924enable_silent_rules
925enable_maintainer_mode
926with_x
927enable_nls
928with_locales_dir
929enable_debug
930'
931      ac_precious_vars='build_alias
932host_alias
933target_alias
934CC
935CFLAGS
936LDFLAGS
937LIBS
938CPPFLAGS
939LT_SYS_LIBRARY_PATH
940CPP
941XMKMF
942PKG_CONFIG
943PKG_CONFIG_PATH
944PKG_CONFIG_LIBDIR'
945
946
947# Initialize some variables set by options.
948ac_init_help=
949ac_init_version=false
950ac_unrecognized_opts=
951ac_unrecognized_sep=
952# The variables have the same names as the options, with
953# dashes changed to underlines.
954cache_file=/dev/null
955exec_prefix=NONE
956no_create=
957no_recursion=
958prefix=NONE
959program_prefix=NONE
960program_suffix=NONE
961program_transform_name=s,x,x,
962silent=
963site=
964srcdir=
965verbose=
966x_includes=NONE
967x_libraries=NONE
968
969# Installation directory options.
970# These are left unexpanded so users can "make install exec_prefix=/foo"
971# and all the variables that are supposed to be based on exec_prefix
972# by default will actually change.
973# Use braces instead of parens because sh, perl, etc. also accept them.
974# (The list follows the same order as the GNU Coding Standards.)
975bindir='${exec_prefix}/bin'
976sbindir='${exec_prefix}/sbin'
977libexecdir='${exec_prefix}/libexec'
978datarootdir='${prefix}/share'
979datadir='${datarootdir}'
980sysconfdir='${prefix}/etc'
981sharedstatedir='${prefix}/com'
982localstatedir='${prefix}/var'
983runstatedir='${localstatedir}/run'
984includedir='${prefix}/include'
985oldincludedir='/usr/include'
986docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
987infodir='${datarootdir}/info'
988htmldir='${docdir}'
989dvidir='${docdir}'
990pdfdir='${docdir}'
991psdir='${docdir}'
992libdir='${exec_prefix}/lib'
993localedir='${datarootdir}/locale'
994mandir='${datarootdir}/man'
995
996ac_prev=
997ac_dashdash=
998for ac_option
999do
1000  # If the previous option needs an argument, assign it.
1001  if test -n "$ac_prev"; then
1002    eval $ac_prev=\$ac_option
1003    ac_prev=
1004    continue
1005  fi
1006
1007  case $ac_option in
1008  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1009  *=)   ac_optarg= ;;
1010  *)    ac_optarg=yes ;;
1011  esac
1012
1013  # Accept the important Cygnus configure options, so we can diagnose typos.
1014
1015  case $ac_dashdash$ac_option in
1016  --)
1017    ac_dashdash=yes ;;
1018
1019  -bindir | --bindir | --bindi | --bind | --bin | --bi)
1020    ac_prev=bindir ;;
1021  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1022    bindir=$ac_optarg ;;
1023
1024  -build | --build | --buil | --bui | --bu)
1025    ac_prev=build_alias ;;
1026  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1027    build_alias=$ac_optarg ;;
1028
1029  -cache-file | --cache-file | --cache-fil | --cache-fi \
1030  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1031    ac_prev=cache_file ;;
1032  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1033  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1034    cache_file=$ac_optarg ;;
1035
1036  --config-cache | -C)
1037    cache_file=config.cache ;;
1038
1039  -datadir | --datadir | --datadi | --datad)
1040    ac_prev=datadir ;;
1041  -datadir=* | --datadir=* | --datadi=* | --datad=*)
1042    datadir=$ac_optarg ;;
1043
1044  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1045  | --dataroo | --dataro | --datar)
1046    ac_prev=datarootdir ;;
1047  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1048  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1049    datarootdir=$ac_optarg ;;
1050
1051  -disable-* | --disable-*)
1052    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1053    # Reject names that are not valid shell variable names.
1054    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1055      as_fn_error $? "invalid feature name: $ac_useropt"
1056    ac_useropt_orig=$ac_useropt
1057    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1058    case $ac_user_opts in
1059      *"
1060"enable_$ac_useropt"
1061"*) ;;
1062      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1063	 ac_unrecognized_sep=', ';;
1064    esac
1065    eval enable_$ac_useropt=no ;;
1066
1067  -docdir | --docdir | --docdi | --doc | --do)
1068    ac_prev=docdir ;;
1069  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1070    docdir=$ac_optarg ;;
1071
1072  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1073    ac_prev=dvidir ;;
1074  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1075    dvidir=$ac_optarg ;;
1076
1077  -enable-* | --enable-*)
1078    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1079    # Reject names that are not valid shell variable names.
1080    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1081      as_fn_error $? "invalid feature name: $ac_useropt"
1082    ac_useropt_orig=$ac_useropt
1083    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1084    case $ac_user_opts in
1085      *"
1086"enable_$ac_useropt"
1087"*) ;;
1088      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1089	 ac_unrecognized_sep=', ';;
1090    esac
1091    eval enable_$ac_useropt=\$ac_optarg ;;
1092
1093  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1094  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1095  | --exec | --exe | --ex)
1096    ac_prev=exec_prefix ;;
1097  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1098  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1099  | --exec=* | --exe=* | --ex=*)
1100    exec_prefix=$ac_optarg ;;
1101
1102  -gas | --gas | --ga | --g)
1103    # Obsolete; use --with-gas.
1104    with_gas=yes ;;
1105
1106  -help | --help | --hel | --he | -h)
1107    ac_init_help=long ;;
1108  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1109    ac_init_help=recursive ;;
1110  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1111    ac_init_help=short ;;
1112
1113  -host | --host | --hos | --ho)
1114    ac_prev=host_alias ;;
1115  -host=* | --host=* | --hos=* | --ho=*)
1116    host_alias=$ac_optarg ;;
1117
1118  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1119    ac_prev=htmldir ;;
1120  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1121  | --ht=*)
1122    htmldir=$ac_optarg ;;
1123
1124  -includedir | --includedir | --includedi | --included | --include \
1125  | --includ | --inclu | --incl | --inc)
1126    ac_prev=includedir ;;
1127  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1128  | --includ=* | --inclu=* | --incl=* | --inc=*)
1129    includedir=$ac_optarg ;;
1130
1131  -infodir | --infodir | --infodi | --infod | --info | --inf)
1132    ac_prev=infodir ;;
1133  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1134    infodir=$ac_optarg ;;
1135
1136  -libdir | --libdir | --libdi | --libd)
1137    ac_prev=libdir ;;
1138  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1139    libdir=$ac_optarg ;;
1140
1141  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1142  | --libexe | --libex | --libe)
1143    ac_prev=libexecdir ;;
1144  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1145  | --libexe=* | --libex=* | --libe=*)
1146    libexecdir=$ac_optarg ;;
1147
1148  -localedir | --localedir | --localedi | --localed | --locale)
1149    ac_prev=localedir ;;
1150  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1151    localedir=$ac_optarg ;;
1152
1153  -localstatedir | --localstatedir | --localstatedi | --localstated \
1154  | --localstate | --localstat | --localsta | --localst | --locals)
1155    ac_prev=localstatedir ;;
1156  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1157  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1158    localstatedir=$ac_optarg ;;
1159
1160  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1161    ac_prev=mandir ;;
1162  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1163    mandir=$ac_optarg ;;
1164
1165  -nfp | --nfp | --nf)
1166    # Obsolete; use --without-fp.
1167    with_fp=no ;;
1168
1169  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1170  | --no-cr | --no-c | -n)
1171    no_create=yes ;;
1172
1173  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1174  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1175    no_recursion=yes ;;
1176
1177  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1178  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1179  | --oldin | --oldi | --old | --ol | --o)
1180    ac_prev=oldincludedir ;;
1181  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1182  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1183  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1184    oldincludedir=$ac_optarg ;;
1185
1186  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1187    ac_prev=prefix ;;
1188  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1189    prefix=$ac_optarg ;;
1190
1191  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1192  | --program-pre | --program-pr | --program-p)
1193    ac_prev=program_prefix ;;
1194  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1195  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1196    program_prefix=$ac_optarg ;;
1197
1198  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1199  | --program-suf | --program-su | --program-s)
1200    ac_prev=program_suffix ;;
1201  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1202  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1203    program_suffix=$ac_optarg ;;
1204
1205  -program-transform-name | --program-transform-name \
1206  | --program-transform-nam | --program-transform-na \
1207  | --program-transform-n | --program-transform- \
1208  | --program-transform | --program-transfor \
1209  | --program-transfo | --program-transf \
1210  | --program-trans | --program-tran \
1211  | --progr-tra | --program-tr | --program-t)
1212    ac_prev=program_transform_name ;;
1213  -program-transform-name=* | --program-transform-name=* \
1214  | --program-transform-nam=* | --program-transform-na=* \
1215  | --program-transform-n=* | --program-transform-=* \
1216  | --program-transform=* | --program-transfor=* \
1217  | --program-transfo=* | --program-transf=* \
1218  | --program-trans=* | --program-tran=* \
1219  | --progr-tra=* | --program-tr=* | --program-t=*)
1220    program_transform_name=$ac_optarg ;;
1221
1222  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1223    ac_prev=pdfdir ;;
1224  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1225    pdfdir=$ac_optarg ;;
1226
1227  -psdir | --psdir | --psdi | --psd | --ps)
1228    ac_prev=psdir ;;
1229  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1230    psdir=$ac_optarg ;;
1231
1232  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1233  | -silent | --silent | --silen | --sile | --sil)
1234    silent=yes ;;
1235
1236  -runstatedir | --runstatedir | --runstatedi | --runstated \
1237  | --runstate | --runstat | --runsta | --runst | --runs \
1238  | --run | --ru | --r)
1239    ac_prev=runstatedir ;;
1240  -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1241  | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1242  | --run=* | --ru=* | --r=*)
1243    runstatedir=$ac_optarg ;;
1244
1245  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1246    ac_prev=sbindir ;;
1247  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1248  | --sbi=* | --sb=*)
1249    sbindir=$ac_optarg ;;
1250
1251  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1252  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1253  | --sharedst | --shareds | --shared | --share | --shar \
1254  | --sha | --sh)
1255    ac_prev=sharedstatedir ;;
1256  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1257  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1258  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1259  | --sha=* | --sh=*)
1260    sharedstatedir=$ac_optarg ;;
1261
1262  -site | --site | --sit)
1263    ac_prev=site ;;
1264  -site=* | --site=* | --sit=*)
1265    site=$ac_optarg ;;
1266
1267  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1268    ac_prev=srcdir ;;
1269  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1270    srcdir=$ac_optarg ;;
1271
1272  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1273  | --syscon | --sysco | --sysc | --sys | --sy)
1274    ac_prev=sysconfdir ;;
1275  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1276  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1277    sysconfdir=$ac_optarg ;;
1278
1279  -target | --target | --targe | --targ | --tar | --ta | --t)
1280    ac_prev=target_alias ;;
1281  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1282    target_alias=$ac_optarg ;;
1283
1284  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1285    verbose=yes ;;
1286
1287  -version | --version | --versio | --versi | --vers | -V)
1288    ac_init_version=: ;;
1289
1290  -with-* | --with-*)
1291    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1292    # Reject names that are not valid shell variable names.
1293    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1294      as_fn_error $? "invalid package name: $ac_useropt"
1295    ac_useropt_orig=$ac_useropt
1296    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1297    case $ac_user_opts in
1298      *"
1299"with_$ac_useropt"
1300"*) ;;
1301      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1302	 ac_unrecognized_sep=', ';;
1303    esac
1304    eval with_$ac_useropt=\$ac_optarg ;;
1305
1306  -without-* | --without-*)
1307    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1308    # Reject names that are not valid shell variable names.
1309    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1310      as_fn_error $? "invalid package name: $ac_useropt"
1311    ac_useropt_orig=$ac_useropt
1312    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1313    case $ac_user_opts in
1314      *"
1315"with_$ac_useropt"
1316"*) ;;
1317      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1318	 ac_unrecognized_sep=', ';;
1319    esac
1320    eval with_$ac_useropt=no ;;
1321
1322  --x)
1323    # Obsolete; use --with-x.
1324    with_x=yes ;;
1325
1326  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1327  | --x-incl | --x-inc | --x-in | --x-i)
1328    ac_prev=x_includes ;;
1329  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1330  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1331    x_includes=$ac_optarg ;;
1332
1333  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1334  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1335    ac_prev=x_libraries ;;
1336  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1337  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1338    x_libraries=$ac_optarg ;;
1339
1340  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1341Try \`$0 --help' for more information"
1342    ;;
1343
1344  *=*)
1345    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1346    # Reject names that are not valid shell variable names.
1347    case $ac_envvar in #(
1348      '' | [0-9]* | *[!_$as_cr_alnum]* )
1349      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1350    esac
1351    eval $ac_envvar=\$ac_optarg
1352    export $ac_envvar ;;
1353
1354  *)
1355    # FIXME: should be removed in autoconf 3.0.
1356    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1357    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1358      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1359    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1360    ;;
1361
1362  esac
1363done
1364
1365if test -n "$ac_prev"; then
1366  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1367  as_fn_error $? "missing argument to $ac_option"
1368fi
1369
1370if test -n "$ac_unrecognized_opts"; then
1371  case $enable_option_checking in
1372    no) ;;
1373    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1374    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1375  esac
1376fi
1377
1378# Check all directory arguments for consistency.
1379for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1380		datadir sysconfdir sharedstatedir localstatedir includedir \
1381		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1382		libdir localedir mandir runstatedir
1383do
1384  eval ac_val=\$$ac_var
1385  # Remove trailing slashes.
1386  case $ac_val in
1387    */ )
1388      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1389      eval $ac_var=\$ac_val;;
1390  esac
1391  # Be sure to have absolute directory names.
1392  case $ac_val in
1393    [\\/$]* | ?:[\\/]* )  continue;;
1394    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1395  esac
1396  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1397done
1398
1399# There might be people who depend on the old broken behavior: `$host'
1400# used to hold the argument of --host etc.
1401# FIXME: To remove some day.
1402build=$build_alias
1403host=$host_alias
1404target=$target_alias
1405
1406# FIXME: To remove some day.
1407if test "x$host_alias" != x; then
1408  if test "x$build_alias" = x; then
1409    cross_compiling=maybe
1410  elif test "x$build_alias" != "x$host_alias"; then
1411    cross_compiling=yes
1412  fi
1413fi
1414
1415ac_tool_prefix=
1416test -n "$host_alias" && ac_tool_prefix=$host_alias-
1417
1418test "$silent" = yes && exec 6>/dev/null
1419
1420
1421ac_pwd=`pwd` && test -n "$ac_pwd" &&
1422ac_ls_di=`ls -di .` &&
1423ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1424  as_fn_error $? "working directory cannot be determined"
1425test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1426  as_fn_error $? "pwd does not report name of working directory"
1427
1428
1429# Find the source files, if location was not specified.
1430if test -z "$srcdir"; then
1431  ac_srcdir_defaulted=yes
1432  # Try the directory containing this script, then the parent directory.
1433  ac_confdir=`$as_dirname -- "$as_myself" ||
1434$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1435	 X"$as_myself" : 'X\(//\)[^/]' \| \
1436	 X"$as_myself" : 'X\(//\)$' \| \
1437	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1438$as_echo X"$as_myself" |
1439    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1440	    s//\1/
1441	    q
1442	  }
1443	  /^X\(\/\/\)[^/].*/{
1444	    s//\1/
1445	    q
1446	  }
1447	  /^X\(\/\/\)$/{
1448	    s//\1/
1449	    q
1450	  }
1451	  /^X\(\/\).*/{
1452	    s//\1/
1453	    q
1454	  }
1455	  s/.*/./; q'`
1456  srcdir=$ac_confdir
1457  if test ! -r "$srcdir/$ac_unique_file"; then
1458    srcdir=..
1459  fi
1460else
1461  ac_srcdir_defaulted=no
1462fi
1463if test ! -r "$srcdir/$ac_unique_file"; then
1464  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1465  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1466fi
1467ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1468ac_abs_confdir=`(
1469	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1470	pwd)`
1471# When building in place, set srcdir=.
1472if test "$ac_abs_confdir" = "$ac_pwd"; then
1473  srcdir=.
1474fi
1475# Remove unnecessary trailing slashes from srcdir.
1476# Double slashes in file names in object file debugging info
1477# mess up M-x gdb in Emacs.
1478case $srcdir in
1479*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1480esac
1481for ac_var in $ac_precious_vars; do
1482  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1483  eval ac_env_${ac_var}_value=\$${ac_var}
1484  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1485  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1486done
1487
1488#
1489# Report the --help message.
1490#
1491if test "$ac_init_help" = "long"; then
1492  # Omit some internal or obsolete options to make the list less imposing.
1493  # This message is too long to be a string in the A/UX 3.1 sh.
1494  cat <<_ACEOF
1495\`configure' configures Notes 1.9.0 to adapt to many kinds of systems.
1496
1497Usage: $0 [OPTION]... [VAR=VALUE]...
1498
1499To assign environment variables (e.g., CC, CFLAGS...), specify them as
1500VAR=VALUE.  See below for descriptions of some of the useful variables.
1501
1502Defaults for the options are specified in brackets.
1503
1504Configuration:
1505  -h, --help              display this help and exit
1506      --help=short        display options specific to this package
1507      --help=recursive    display the short help of all the included packages
1508  -V, --version           display version information and exit
1509  -q, --quiet, --silent   do not print \`checking ...' messages
1510      --cache-file=FILE   cache test results in FILE [disabled]
1511  -C, --config-cache      alias for \`--cache-file=config.cache'
1512  -n, --no-create         do not create output files
1513      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1514
1515Installation directories:
1516  --prefix=PREFIX         install architecture-independent files in PREFIX
1517                          [$ac_default_prefix]
1518  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1519                          [PREFIX]
1520
1521By default, \`make install' will install all the files in
1522\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1523an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1524for instance \`--prefix=\$HOME'.
1525
1526For better control, use the options below.
1527
1528Fine tuning of the installation directories:
1529  --bindir=DIR            user executables [EPREFIX/bin]
1530  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1531  --libexecdir=DIR        program executables [EPREFIX/libexec]
1532  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1533  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1534  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1535  --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
1536  --libdir=DIR            object code libraries [EPREFIX/lib]
1537  --includedir=DIR        C header files [PREFIX/include]
1538  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1539  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1540  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1541  --infodir=DIR           info documentation [DATAROOTDIR/info]
1542  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1543  --mandir=DIR            man documentation [DATAROOTDIR/man]
1544  --docdir=DIR            documentation root
1545                          [DATAROOTDIR/doc/xfce4-notes-plugin]
1546  --htmldir=DIR           html documentation [DOCDIR]
1547  --dvidir=DIR            dvi documentation [DOCDIR]
1548  --pdfdir=DIR            pdf documentation [DOCDIR]
1549  --psdir=DIR             ps documentation [DOCDIR]
1550_ACEOF
1551
1552  cat <<\_ACEOF
1553
1554Program names:
1555  --program-prefix=PREFIX            prepend PREFIX to installed program names
1556  --program-suffix=SUFFIX            append SUFFIX to installed program names
1557  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1558
1559X features:
1560  --x-includes=DIR    X include files are in DIR
1561  --x-libraries=DIR   X library files are in DIR
1562
1563System types:
1564  --build=BUILD     configure for building on BUILD [guessed]
1565  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1566  --target=TARGET   configure for building compilers for TARGET [HOST]
1567_ACEOF
1568fi
1569
1570if test -n "$ac_init_help"; then
1571  case $ac_init_help in
1572     short | recursive ) echo "Configuration of Notes 1.9.0:";;
1573   esac
1574  cat <<\_ACEOF
1575
1576Optional Features:
1577  --disable-option-checking  ignore unrecognized --enable/--with options
1578  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1579  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1580  --enable-static[=PKGS]  build static libraries [default=no]
1581  --enable-shared[=PKGS]  build shared libraries [default=yes]
1582  --enable-fast-install[=PKGS]
1583                          optimize for fast installation [default=yes]
1584  --disable-libtool-lock  avoid locking (might break parallel builds)
1585  --enable-dependency-tracking
1586                          do not reject slow dependency extractors
1587  --disable-dependency-tracking
1588                          speeds up one-time build
1589  --enable-silent-rules   less verbose build output (undo: "make V=1")
1590  --disable-silent-rules  verbose build output (undo: "make V=0")
1591  --enable-maintainer-mode
1592                          enable make rules and dependencies not useful (and
1593                          sometimes confusing) to the casual installer
1594  --disable-nls           do not use Native Language Support
1595  --enable-debug[=no|minimum|yes|full]
1596                          Build with debugging support [default=[]]
1597  --disable-debug         Include no debugging support
1598
1599Optional Packages:
1600  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1601  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1602  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1603                          both]
1604  --with-aix-soname=aix|svr4|both
1605                          shared library versioning (aka "SONAME") variant to
1606                          provide on AIX, [default=aix].
1607  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1608  --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
1609                          compiler's sysroot if not specified).
1610  --with-x                use the X Window System
1611
1612      --with-locales-dir=DIR  Install locales into DIR
1613
1614
1615Some influential environment variables:
1616  CC          C compiler command
1617  CFLAGS      C compiler flags
1618  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1619              nonstandard directory <lib dir>
1620  LIBS        libraries to pass to the linker, e.g. -l<library>
1621  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1622              you have headers in a nonstandard directory <include dir>
1623  LT_SYS_LIBRARY_PATH
1624              User-defined run-time library search path.
1625  CPP         C preprocessor
1626  XMKMF       Path to xmkmf, Makefile generator for X Window System
1627  PKG_CONFIG  path to pkg-config utility
1628  PKG_CONFIG_PATH
1629              directories to add to pkg-config's search path
1630  PKG_CONFIG_LIBDIR
1631              path overriding pkg-config's built-in search path
1632
1633Use these variables to override the choices made by `configure' or to help
1634it to find libraries and programs with nonstandard names/locations.
1635
1636Report bugs to <https://gitlab.xfce.org/panel-plugins/xfce4-notes-plugin>.
1637Notes home page: <https://docs.xfce.org/panel-plugins/xfce4-notes-plugin>.
1638_ACEOF
1639ac_status=$?
1640fi
1641
1642if test "$ac_init_help" = "recursive"; then
1643  # If there are subdirs, report their specific --help.
1644  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1645    test -d "$ac_dir" ||
1646      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1647      continue
1648    ac_builddir=.
1649
1650case "$ac_dir" in
1651.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1652*)
1653  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1654  # A ".." for each directory in $ac_dir_suffix.
1655  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1656  case $ac_top_builddir_sub in
1657  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1658  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1659  esac ;;
1660esac
1661ac_abs_top_builddir=$ac_pwd
1662ac_abs_builddir=$ac_pwd$ac_dir_suffix
1663# for backward compatibility:
1664ac_top_builddir=$ac_top_build_prefix
1665
1666case $srcdir in
1667  .)  # We are building in place.
1668    ac_srcdir=.
1669    ac_top_srcdir=$ac_top_builddir_sub
1670    ac_abs_top_srcdir=$ac_pwd ;;
1671  [\\/]* | ?:[\\/]* )  # Absolute name.
1672    ac_srcdir=$srcdir$ac_dir_suffix;
1673    ac_top_srcdir=$srcdir
1674    ac_abs_top_srcdir=$srcdir ;;
1675  *) # Relative name.
1676    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1677    ac_top_srcdir=$ac_top_build_prefix$srcdir
1678    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1679esac
1680ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1681
1682    cd "$ac_dir" || { ac_status=$?; continue; }
1683    # Check for guested configure.
1684    if test -f "$ac_srcdir/configure.gnu"; then
1685      echo &&
1686      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1687    elif test -f "$ac_srcdir/configure"; then
1688      echo &&
1689      $SHELL "$ac_srcdir/configure" --help=recursive
1690    else
1691      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1692    fi || ac_status=$?
1693    cd "$ac_pwd" || { ac_status=$?; break; }
1694  done
1695fi
1696
1697test -n "$ac_init_help" && exit $ac_status
1698if $ac_init_version; then
1699  cat <<\_ACEOF
1700Notes configure 1.9.0
1701generated by GNU Autoconf 2.69
1702
1703Copyright (C) 2012 Free Software Foundation, Inc.
1704This configure script is free software; the Free Software Foundation
1705gives unlimited permission to copy, distribute and modify it.
1706_ACEOF
1707  exit
1708fi
1709
1710## ------------------------ ##
1711## Autoconf initialization. ##
1712## ------------------------ ##
1713
1714# ac_fn_c_try_compile LINENO
1715# --------------------------
1716# Try to compile conftest.$ac_ext, and return whether this succeeded.
1717ac_fn_c_try_compile ()
1718{
1719  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1720  rm -f conftest.$ac_objext
1721  if { { ac_try="$ac_compile"
1722case "(($ac_try" in
1723  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1724  *) ac_try_echo=$ac_try;;
1725esac
1726eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1727$as_echo "$ac_try_echo"; } >&5
1728  (eval "$ac_compile") 2>conftest.err
1729  ac_status=$?
1730  if test -s conftest.err; then
1731    grep -v '^ *+' conftest.err >conftest.er1
1732    cat conftest.er1 >&5
1733    mv -f conftest.er1 conftest.err
1734  fi
1735  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1736  test $ac_status = 0; } && {
1737	 test -z "$ac_c_werror_flag" ||
1738	 test ! -s conftest.err
1739       } && test -s conftest.$ac_objext; then :
1740  ac_retval=0
1741else
1742  $as_echo "$as_me: failed program was:" >&5
1743sed 's/^/| /' conftest.$ac_ext >&5
1744
1745	ac_retval=1
1746fi
1747  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1748  as_fn_set_status $ac_retval
1749
1750} # ac_fn_c_try_compile
1751
1752# ac_fn_c_try_link LINENO
1753# -----------------------
1754# Try to link conftest.$ac_ext, and return whether this succeeded.
1755ac_fn_c_try_link ()
1756{
1757  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1758  rm -f conftest.$ac_objext conftest$ac_exeext
1759  if { { ac_try="$ac_link"
1760case "(($ac_try" in
1761  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1762  *) ac_try_echo=$ac_try;;
1763esac
1764eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1765$as_echo "$ac_try_echo"; } >&5
1766  (eval "$ac_link") 2>conftest.err
1767  ac_status=$?
1768  if test -s conftest.err; then
1769    grep -v '^ *+' conftest.err >conftest.er1
1770    cat conftest.er1 >&5
1771    mv -f conftest.er1 conftest.err
1772  fi
1773  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1774  test $ac_status = 0; } && {
1775	 test -z "$ac_c_werror_flag" ||
1776	 test ! -s conftest.err
1777       } && test -s conftest$ac_exeext && {
1778	 test "$cross_compiling" = yes ||
1779	 test -x conftest$ac_exeext
1780       }; then :
1781  ac_retval=0
1782else
1783  $as_echo "$as_me: failed program was:" >&5
1784sed 's/^/| /' conftest.$ac_ext >&5
1785
1786	ac_retval=1
1787fi
1788  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1789  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1790  # interfere with the next link command; also delete a directory that is
1791  # left behind by Apple's compiler.  We do this before executing the actions.
1792  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1793  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1794  as_fn_set_status $ac_retval
1795
1796} # ac_fn_c_try_link
1797
1798# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1799# -------------------------------------------------------
1800# Tests whether HEADER exists and can be compiled using the include files in
1801# INCLUDES, setting the cache variable VAR accordingly.
1802ac_fn_c_check_header_compile ()
1803{
1804  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1805  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1806$as_echo_n "checking for $2... " >&6; }
1807if eval \${$3+:} false; then :
1808  $as_echo_n "(cached) " >&6
1809else
1810  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1811/* end confdefs.h.  */
1812$4
1813#include <$2>
1814_ACEOF
1815if ac_fn_c_try_compile "$LINENO"; then :
1816  eval "$3=yes"
1817else
1818  eval "$3=no"
1819fi
1820rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1821fi
1822eval ac_res=\$$3
1823	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1824$as_echo "$ac_res" >&6; }
1825  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1826
1827} # ac_fn_c_check_header_compile
1828
1829# ac_fn_c_try_cpp LINENO
1830# ----------------------
1831# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1832ac_fn_c_try_cpp ()
1833{
1834  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1835  if { { ac_try="$ac_cpp conftest.$ac_ext"
1836case "(($ac_try" in
1837  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1838  *) ac_try_echo=$ac_try;;
1839esac
1840eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1841$as_echo "$ac_try_echo"; } >&5
1842  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1843  ac_status=$?
1844  if test -s conftest.err; then
1845    grep -v '^ *+' conftest.err >conftest.er1
1846    cat conftest.er1 >&5
1847    mv -f conftest.er1 conftest.err
1848  fi
1849  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1850  test $ac_status = 0; } > conftest.i && {
1851	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1852	 test ! -s conftest.err
1853       }; then :
1854  ac_retval=0
1855else
1856  $as_echo "$as_me: failed program was:" >&5
1857sed 's/^/| /' conftest.$ac_ext >&5
1858
1859    ac_retval=1
1860fi
1861  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1862  as_fn_set_status $ac_retval
1863
1864} # ac_fn_c_try_cpp
1865
1866# ac_fn_c_try_run LINENO
1867# ----------------------
1868# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1869# that executables *can* be run.
1870ac_fn_c_try_run ()
1871{
1872  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1873  if { { ac_try="$ac_link"
1874case "(($ac_try" in
1875  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1876  *) ac_try_echo=$ac_try;;
1877esac
1878eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1879$as_echo "$ac_try_echo"; } >&5
1880  (eval "$ac_link") 2>&5
1881  ac_status=$?
1882  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1883  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1884  { { case "(($ac_try" in
1885  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1886  *) ac_try_echo=$ac_try;;
1887esac
1888eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1889$as_echo "$ac_try_echo"; } >&5
1890  (eval "$ac_try") 2>&5
1891  ac_status=$?
1892  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1893  test $ac_status = 0; }; }; then :
1894  ac_retval=0
1895else
1896  $as_echo "$as_me: program exited with status $ac_status" >&5
1897       $as_echo "$as_me: failed program was:" >&5
1898sed 's/^/| /' conftest.$ac_ext >&5
1899
1900       ac_retval=$ac_status
1901fi
1902  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1903  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1904  as_fn_set_status $ac_retval
1905
1906} # ac_fn_c_try_run
1907
1908# ac_fn_c_check_func LINENO FUNC VAR
1909# ----------------------------------
1910# Tests whether FUNC exists, setting the cache variable VAR accordingly
1911ac_fn_c_check_func ()
1912{
1913  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1914  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1915$as_echo_n "checking for $2... " >&6; }
1916if eval \${$3+:} false; then :
1917  $as_echo_n "(cached) " >&6
1918else
1919  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1920/* end confdefs.h.  */
1921/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1922   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1923#define $2 innocuous_$2
1924
1925/* System header to define __stub macros and hopefully few prototypes,
1926    which can conflict with char $2 (); below.
1927    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1928    <limits.h> exists even on freestanding compilers.  */
1929
1930#ifdef __STDC__
1931# include <limits.h>
1932#else
1933# include <assert.h>
1934#endif
1935
1936#undef $2
1937
1938/* Override any GCC internal prototype to avoid an error.
1939   Use char because int might match the return type of a GCC
1940   builtin and then its argument prototype would still apply.  */
1941#ifdef __cplusplus
1942extern "C"
1943#endif
1944char $2 ();
1945/* The GNU C library defines this for functions which it implements
1946    to always fail with ENOSYS.  Some functions are actually named
1947    something starting with __ and the normal name is an alias.  */
1948#if defined __stub_$2 || defined __stub___$2
1949choke me
1950#endif
1951
1952int
1953main ()
1954{
1955return $2 ();
1956  ;
1957  return 0;
1958}
1959_ACEOF
1960if ac_fn_c_try_link "$LINENO"; then :
1961  eval "$3=yes"
1962else
1963  eval "$3=no"
1964fi
1965rm -f core conftest.err conftest.$ac_objext \
1966    conftest$ac_exeext conftest.$ac_ext
1967fi
1968eval ac_res=\$$3
1969	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1970$as_echo "$ac_res" >&6; }
1971  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1972
1973} # ac_fn_c_check_func
1974
1975# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1976# -------------------------------------------------------
1977# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1978# the include files in INCLUDES and setting the cache variable VAR
1979# accordingly.
1980ac_fn_c_check_header_mongrel ()
1981{
1982  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1983  if eval \${$3+:} false; then :
1984  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1985$as_echo_n "checking for $2... " >&6; }
1986if eval \${$3+:} false; then :
1987  $as_echo_n "(cached) " >&6
1988fi
1989eval ac_res=\$$3
1990	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1991$as_echo "$ac_res" >&6; }
1992else
1993  # Is the header compilable?
1994{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1995$as_echo_n "checking $2 usability... " >&6; }
1996cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1997/* end confdefs.h.  */
1998$4
1999#include <$2>
2000_ACEOF
2001if ac_fn_c_try_compile "$LINENO"; then :
2002  ac_header_compiler=yes
2003else
2004  ac_header_compiler=no
2005fi
2006rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2007{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2008$as_echo "$ac_header_compiler" >&6; }
2009
2010# Is the header present?
2011{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2012$as_echo_n "checking $2 presence... " >&6; }
2013cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2014/* end confdefs.h.  */
2015#include <$2>
2016_ACEOF
2017if ac_fn_c_try_cpp "$LINENO"; then :
2018  ac_header_preproc=yes
2019else
2020  ac_header_preproc=no
2021fi
2022rm -f conftest.err conftest.i conftest.$ac_ext
2023{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2024$as_echo "$ac_header_preproc" >&6; }
2025
2026# So?  What about this header?
2027case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2028  yes:no: )
2029    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2030$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2031    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2032$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2033    ;;
2034  no:yes:* )
2035    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2036$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2037    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2038$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2039    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2040$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2041    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2042$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2043    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2044$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2045( $as_echo "## ----------------------------------------------------------------------- ##
2046## Report this to https://gitlab.xfce.org/panel-plugins/xfce4-notes-plugin ##
2047## ----------------------------------------------------------------------- ##"
2048     ) | sed "s/^/$as_me: WARNING:     /" >&2
2049    ;;
2050esac
2051  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2052$as_echo_n "checking for $2... " >&6; }
2053if eval \${$3+:} false; then :
2054  $as_echo_n "(cached) " >&6
2055else
2056  eval "$3=\$ac_header_compiler"
2057fi
2058eval ac_res=\$$3
2059	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2060$as_echo "$ac_res" >&6; }
2061fi
2062  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2063
2064} # ac_fn_c_check_header_mongrel
2065cat >config.log <<_ACEOF
2066This file contains any messages produced by compilers while
2067running configure, to aid debugging if configure makes a mistake.
2068
2069It was created by Notes $as_me 1.9.0, which was
2070generated by GNU Autoconf 2.69.  Invocation command line was
2071
2072  $ $0 $@
2073
2074_ACEOF
2075exec 5>>config.log
2076{
2077cat <<_ASUNAME
2078## --------- ##
2079## Platform. ##
2080## --------- ##
2081
2082hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2083uname -m = `(uname -m) 2>/dev/null || echo unknown`
2084uname -r = `(uname -r) 2>/dev/null || echo unknown`
2085uname -s = `(uname -s) 2>/dev/null || echo unknown`
2086uname -v = `(uname -v) 2>/dev/null || echo unknown`
2087
2088/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2089/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2090
2091/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2092/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2093/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2094/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2095/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2096/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2097/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2098
2099_ASUNAME
2100
2101as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2102for as_dir in $PATH
2103do
2104  IFS=$as_save_IFS
2105  test -z "$as_dir" && as_dir=.
2106    $as_echo "PATH: $as_dir"
2107  done
2108IFS=$as_save_IFS
2109
2110} >&5
2111
2112cat >&5 <<_ACEOF
2113
2114
2115## ----------- ##
2116## Core tests. ##
2117## ----------- ##
2118
2119_ACEOF
2120
2121
2122# Keep a trace of the command line.
2123# Strip out --no-create and --no-recursion so they do not pile up.
2124# Strip out --silent because we don't want to record it for future runs.
2125# Also quote any args containing shell meta-characters.
2126# Make two passes to allow for proper duplicate-argument suppression.
2127ac_configure_args=
2128ac_configure_args0=
2129ac_configure_args1=
2130ac_must_keep_next=false
2131for ac_pass in 1 2
2132do
2133  for ac_arg
2134  do
2135    case $ac_arg in
2136    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2137    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2138    | -silent | --silent | --silen | --sile | --sil)
2139      continue ;;
2140    *\'*)
2141      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2142    esac
2143    case $ac_pass in
2144    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2145    2)
2146      as_fn_append ac_configure_args1 " '$ac_arg'"
2147      if test $ac_must_keep_next = true; then
2148	ac_must_keep_next=false # Got value, back to normal.
2149      else
2150	case $ac_arg in
2151	  *=* | --config-cache | -C | -disable-* | --disable-* \
2152	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2153	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2154	  | -with-* | --with-* | -without-* | --without-* | --x)
2155	    case "$ac_configure_args0 " in
2156	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2157	    esac
2158	    ;;
2159	  -* ) ac_must_keep_next=true ;;
2160	esac
2161      fi
2162      as_fn_append ac_configure_args " '$ac_arg'"
2163      ;;
2164    esac
2165  done
2166done
2167{ ac_configure_args0=; unset ac_configure_args0;}
2168{ ac_configure_args1=; unset ac_configure_args1;}
2169
2170# When interrupted or exit'd, cleanup temporary files, and complete
2171# config.log.  We remove comments because anyway the quotes in there
2172# would cause problems or look ugly.
2173# WARNING: Use '\'' to represent an apostrophe within the trap.
2174# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2175trap 'exit_status=$?
2176  # Save into config.log some information that might help in debugging.
2177  {
2178    echo
2179
2180    $as_echo "## ---------------- ##
2181## Cache variables. ##
2182## ---------------- ##"
2183    echo
2184    # The following way of writing the cache mishandles newlines in values,
2185(
2186  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2187    eval ac_val=\$$ac_var
2188    case $ac_val in #(
2189    *${as_nl}*)
2190      case $ac_var in #(
2191      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2192$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2193      esac
2194      case $ac_var in #(
2195      _ | IFS | as_nl) ;; #(
2196      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2197      *) { eval $ac_var=; unset $ac_var;} ;;
2198      esac ;;
2199    esac
2200  done
2201  (set) 2>&1 |
2202    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2203    *${as_nl}ac_space=\ *)
2204      sed -n \
2205	"s/'\''/'\''\\\\'\'''\''/g;
2206	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2207      ;; #(
2208    *)
2209      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2210      ;;
2211    esac |
2212    sort
2213)
2214    echo
2215
2216    $as_echo "## ----------------- ##
2217## Output variables. ##
2218## ----------------- ##"
2219    echo
2220    for ac_var in $ac_subst_vars
2221    do
2222      eval ac_val=\$$ac_var
2223      case $ac_val in
2224      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2225      esac
2226      $as_echo "$ac_var='\''$ac_val'\''"
2227    done | sort
2228    echo
2229
2230    if test -n "$ac_subst_files"; then
2231      $as_echo "## ------------------- ##
2232## File substitutions. ##
2233## ------------------- ##"
2234      echo
2235      for ac_var in $ac_subst_files
2236      do
2237	eval ac_val=\$$ac_var
2238	case $ac_val in
2239	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2240	esac
2241	$as_echo "$ac_var='\''$ac_val'\''"
2242      done | sort
2243      echo
2244    fi
2245
2246    if test -s confdefs.h; then
2247      $as_echo "## ----------- ##
2248## confdefs.h. ##
2249## ----------- ##"
2250      echo
2251      cat confdefs.h
2252      echo
2253    fi
2254    test "$ac_signal" != 0 &&
2255      $as_echo "$as_me: caught signal $ac_signal"
2256    $as_echo "$as_me: exit $exit_status"
2257  } >&5
2258  rm -f core *.core core.conftest.* &&
2259    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2260    exit $exit_status
2261' 0
2262for ac_signal in 1 2 13 15; do
2263  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2264done
2265ac_signal=0
2266
2267# confdefs.h avoids OS command line length limits that DEFS can exceed.
2268rm -f -r conftest* confdefs.h
2269
2270$as_echo "/* confdefs.h */" > confdefs.h
2271
2272# Predefined preprocessor variables.
2273
2274cat >>confdefs.h <<_ACEOF
2275#define PACKAGE_NAME "$PACKAGE_NAME"
2276_ACEOF
2277
2278cat >>confdefs.h <<_ACEOF
2279#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2280_ACEOF
2281
2282cat >>confdefs.h <<_ACEOF
2283#define PACKAGE_VERSION "$PACKAGE_VERSION"
2284_ACEOF
2285
2286cat >>confdefs.h <<_ACEOF
2287#define PACKAGE_STRING "$PACKAGE_STRING"
2288_ACEOF
2289
2290cat >>confdefs.h <<_ACEOF
2291#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2292_ACEOF
2293
2294cat >>confdefs.h <<_ACEOF
2295#define PACKAGE_URL "$PACKAGE_URL"
2296_ACEOF
2297
2298
2299# Let the site file select an alternate cache file if it wants to.
2300# Prefer an explicitly selected file to automatically selected ones.
2301ac_site_file1=NONE
2302ac_site_file2=NONE
2303if test -n "$CONFIG_SITE"; then
2304  # We do not want a PATH search for config.site.
2305  case $CONFIG_SITE in #((
2306    -*)  ac_site_file1=./$CONFIG_SITE;;
2307    */*) ac_site_file1=$CONFIG_SITE;;
2308    *)   ac_site_file1=./$CONFIG_SITE;;
2309  esac
2310elif test "x$prefix" != xNONE; then
2311  ac_site_file1=$prefix/share/config.site
2312  ac_site_file2=$prefix/etc/config.site
2313else
2314  ac_site_file1=$ac_default_prefix/share/config.site
2315  ac_site_file2=$ac_default_prefix/etc/config.site
2316fi
2317for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2318do
2319  test "x$ac_site_file" = xNONE && continue
2320  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2321    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2322$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2323    sed 's/^/| /' "$ac_site_file" >&5
2324    . "$ac_site_file" \
2325      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2326$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2327as_fn_error $? "failed to load site script $ac_site_file
2328See \`config.log' for more details" "$LINENO" 5; }
2329  fi
2330done
2331
2332if test -r "$cache_file"; then
2333  # Some versions of bash will fail to source /dev/null (special files
2334  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2335  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2336    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2337$as_echo "$as_me: loading cache $cache_file" >&6;}
2338    case $cache_file in
2339      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2340      *)                      . "./$cache_file";;
2341    esac
2342  fi
2343else
2344  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2345$as_echo "$as_me: creating cache $cache_file" >&6;}
2346  >$cache_file
2347fi
2348
2349# Check that the precious variables saved in the cache have kept the same
2350# value.
2351ac_cache_corrupted=false
2352for ac_var in $ac_precious_vars; do
2353  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2354  eval ac_new_set=\$ac_env_${ac_var}_set
2355  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2356  eval ac_new_val=\$ac_env_${ac_var}_value
2357  case $ac_old_set,$ac_new_set in
2358    set,)
2359      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2360$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2361      ac_cache_corrupted=: ;;
2362    ,set)
2363      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2364$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2365      ac_cache_corrupted=: ;;
2366    ,);;
2367    *)
2368      if test "x$ac_old_val" != "x$ac_new_val"; then
2369	# differences in whitespace do not lead to failure.
2370	ac_old_val_w=`echo x $ac_old_val`
2371	ac_new_val_w=`echo x $ac_new_val`
2372	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2373	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2374$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2375	  ac_cache_corrupted=:
2376	else
2377	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2378$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2379	  eval $ac_var=\$ac_old_val
2380	fi
2381	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2382$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2383	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2384$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2385      fi;;
2386  esac
2387  # Pass precious variables to config.status.
2388  if test "$ac_new_set" = set; then
2389    case $ac_new_val in
2390    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2391    *) ac_arg=$ac_var=$ac_new_val ;;
2392    esac
2393    case " $ac_configure_args " in
2394      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2395      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2396    esac
2397  fi
2398done
2399if $ac_cache_corrupted; then
2400  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2401$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2402  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2403$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2404  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2405fi
2406## -------------------- ##
2407## Main body of script. ##
2408## -------------------- ##
2409
2410ac_ext=c
2411ac_cpp='$CPP $CPPFLAGS'
2412ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2413ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2414ac_compiler_gnu=$ac_cv_c_compiler_gnu
2415
2416
2417
2418ac_aux_dir=
2419for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2420  if test -f "$ac_dir/install-sh"; then
2421    ac_aux_dir=$ac_dir
2422    ac_install_sh="$ac_aux_dir/install-sh -c"
2423    break
2424  elif test -f "$ac_dir/install.sh"; then
2425    ac_aux_dir=$ac_dir
2426    ac_install_sh="$ac_aux_dir/install.sh -c"
2427    break
2428  elif test -f "$ac_dir/shtool"; then
2429    ac_aux_dir=$ac_dir
2430    ac_install_sh="$ac_aux_dir/shtool install -c"
2431    break
2432  fi
2433done
2434if test -z "$ac_aux_dir"; then
2435  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2436fi
2437
2438# These three variables are undocumented and unsupported,
2439# and are intended to be withdrawn in a future Autoconf release.
2440# They can cause serious problems if a builder's source tree is in a directory
2441# whose full name contains unusual characters.
2442ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2443ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2444ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2445
2446
2447# Make sure we can run config.sub.
2448$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2449  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2450
2451{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2452$as_echo_n "checking build system type... " >&6; }
2453if ${ac_cv_build+:} false; then :
2454  $as_echo_n "(cached) " >&6
2455else
2456  ac_build_alias=$build_alias
2457test "x$ac_build_alias" = x &&
2458  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2459test "x$ac_build_alias" = x &&
2460  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2461ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2462  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2463
2464fi
2465{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2466$as_echo "$ac_cv_build" >&6; }
2467case $ac_cv_build in
2468*-*-*) ;;
2469*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2470esac
2471build=$ac_cv_build
2472ac_save_IFS=$IFS; IFS='-'
2473set x $ac_cv_build
2474shift
2475build_cpu=$1
2476build_vendor=$2
2477shift; shift
2478# Remember, the first character of IFS is used to create $*,
2479# except with old shells:
2480build_os=$*
2481IFS=$ac_save_IFS
2482case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2483
2484
2485{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2486$as_echo_n "checking host system type... " >&6; }
2487if ${ac_cv_host+:} false; then :
2488  $as_echo_n "(cached) " >&6
2489else
2490  if test "x$host_alias" = x; then
2491  ac_cv_host=$ac_cv_build
2492else
2493  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2494    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2495fi
2496
2497fi
2498{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2499$as_echo "$ac_cv_host" >&6; }
2500case $ac_cv_host in
2501*-*-*) ;;
2502*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2503esac
2504host=$ac_cv_host
2505ac_save_IFS=$IFS; IFS='-'
2506set x $ac_cv_host
2507shift
2508host_cpu=$1
2509host_vendor=$2
2510shift; shift
2511# Remember, the first character of IFS is used to create $*,
2512# except with old shells:
2513host_os=$*
2514IFS=$ac_save_IFS
2515case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2516
2517
2518{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2519$as_echo_n "checking target system type... " >&6; }
2520if ${ac_cv_target+:} false; then :
2521  $as_echo_n "(cached) " >&6
2522else
2523  if test "x$target_alias" = x; then
2524  ac_cv_target=$ac_cv_host
2525else
2526  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2527    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2528fi
2529
2530fi
2531{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2532$as_echo "$ac_cv_target" >&6; }
2533case $ac_cv_target in
2534*-*-*) ;;
2535*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2536esac
2537target=$ac_cv_target
2538ac_save_IFS=$IFS; IFS='-'
2539set x $ac_cv_target
2540shift
2541target_cpu=$1
2542target_vendor=$2
2543shift; shift
2544# Remember, the first character of IFS is used to create $*,
2545# except with old shells:
2546target_os=$*
2547IFS=$ac_save_IFS
2548case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2549
2550
2551# The aliases save the names the user supplied, while $host etc.
2552# will get canonicalized.
2553test -n "$target_alias" &&
2554  test "$program_prefix$program_suffix$program_transform_name" = \
2555    NONENONEs,x,x, &&
2556  program_prefix=${target_alias}-
2557ac_config_headers="$ac_config_headers config.h"
2558
2559
2560
2561case `pwd` in
2562  *\ * | *\	*)
2563    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
2564$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
2565esac
2566
2567
2568
2569macro_version='2.4.6'
2570macro_revision='2.4.6'
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584ltmain=$ac_aux_dir/ltmain.sh
2585
2586# Backslashify metacharacters that are still active within
2587# double-quoted strings.
2588sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
2589
2590# Same as above, but do not quote variable references.
2591double_quote_subst='s/\(["`\\]\)/\\\1/g'
2592
2593# Sed substitution to delay expansion of an escaped shell variable in a
2594# double_quote_subst'ed string.
2595delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
2596
2597# Sed substitution to delay expansion of an escaped single quote.
2598delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
2599
2600# Sed substitution to avoid accidental globbing in evaled expressions
2601no_glob_subst='s/\*/\\\*/g'
2602
2603ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2604ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
2605ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
2606
2607{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
2608$as_echo_n "checking how to print strings... " >&6; }
2609# Test print first, because it will be a builtin if present.
2610if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
2611   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
2612  ECHO='print -r --'
2613elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
2614  ECHO='printf %s\n'
2615else
2616  # Use this function as a fallback that always works.
2617  func_fallback_echo ()
2618  {
2619    eval 'cat <<_LTECHO_EOF
2620$1
2621_LTECHO_EOF'
2622  }
2623  ECHO='func_fallback_echo'
2624fi
2625
2626# func_echo_all arg...
2627# Invoke $ECHO with all args, space-separated.
2628func_echo_all ()
2629{
2630    $ECHO ""
2631}
2632
2633case $ECHO in
2634  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
2635$as_echo "printf" >&6; } ;;
2636  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
2637$as_echo "print -r" >&6; } ;;
2638  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
2639$as_echo "cat" >&6; } ;;
2640esac
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655# Expand $ac_aux_dir to an absolute path.
2656am_aux_dir=`cd "$ac_aux_dir" && pwd`
2657
2658ac_ext=c
2659ac_cpp='$CPP $CPPFLAGS'
2660ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2661ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2662ac_compiler_gnu=$ac_cv_c_compiler_gnu
2663if test -n "$ac_tool_prefix"; then
2664  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2665set dummy ${ac_tool_prefix}gcc; ac_word=$2
2666{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2667$as_echo_n "checking for $ac_word... " >&6; }
2668if ${ac_cv_prog_CC+:} false; then :
2669  $as_echo_n "(cached) " >&6
2670else
2671  if test -n "$CC"; then
2672  ac_cv_prog_CC="$CC" # Let the user override the test.
2673else
2674as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2675for as_dir in $PATH
2676do
2677  IFS=$as_save_IFS
2678  test -z "$as_dir" && as_dir=.
2679    for ac_exec_ext in '' $ac_executable_extensions; do
2680  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2681    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2682    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2683    break 2
2684  fi
2685done
2686  done
2687IFS=$as_save_IFS
2688
2689fi
2690fi
2691CC=$ac_cv_prog_CC
2692if test -n "$CC"; then
2693  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2694$as_echo "$CC" >&6; }
2695else
2696  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2697$as_echo "no" >&6; }
2698fi
2699
2700
2701fi
2702if test -z "$ac_cv_prog_CC"; then
2703  ac_ct_CC=$CC
2704  # Extract the first word of "gcc", so it can be a program name with args.
2705set dummy gcc; ac_word=$2
2706{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2707$as_echo_n "checking for $ac_word... " >&6; }
2708if ${ac_cv_prog_ac_ct_CC+:} false; then :
2709  $as_echo_n "(cached) " >&6
2710else
2711  if test -n "$ac_ct_CC"; then
2712  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2713else
2714as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2715for as_dir in $PATH
2716do
2717  IFS=$as_save_IFS
2718  test -z "$as_dir" && as_dir=.
2719    for ac_exec_ext in '' $ac_executable_extensions; do
2720  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2721    ac_cv_prog_ac_ct_CC="gcc"
2722    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2723    break 2
2724  fi
2725done
2726  done
2727IFS=$as_save_IFS
2728
2729fi
2730fi
2731ac_ct_CC=$ac_cv_prog_ac_ct_CC
2732if test -n "$ac_ct_CC"; then
2733  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2734$as_echo "$ac_ct_CC" >&6; }
2735else
2736  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2737$as_echo "no" >&6; }
2738fi
2739
2740  if test "x$ac_ct_CC" = x; then
2741    CC=""
2742  else
2743    case $cross_compiling:$ac_tool_warned in
2744yes:)
2745{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2746$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2747ac_tool_warned=yes ;;
2748esac
2749    CC=$ac_ct_CC
2750  fi
2751else
2752  CC="$ac_cv_prog_CC"
2753fi
2754
2755if test -z "$CC"; then
2756          if test -n "$ac_tool_prefix"; then
2757    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2758set dummy ${ac_tool_prefix}cc; ac_word=$2
2759{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2760$as_echo_n "checking for $ac_word... " >&6; }
2761if ${ac_cv_prog_CC+:} false; then :
2762  $as_echo_n "(cached) " >&6
2763else
2764  if test -n "$CC"; then
2765  ac_cv_prog_CC="$CC" # Let the user override the test.
2766else
2767as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2768for as_dir in $PATH
2769do
2770  IFS=$as_save_IFS
2771  test -z "$as_dir" && as_dir=.
2772    for ac_exec_ext in '' $ac_executable_extensions; do
2773  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2774    ac_cv_prog_CC="${ac_tool_prefix}cc"
2775    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2776    break 2
2777  fi
2778done
2779  done
2780IFS=$as_save_IFS
2781
2782fi
2783fi
2784CC=$ac_cv_prog_CC
2785if test -n "$CC"; then
2786  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2787$as_echo "$CC" >&6; }
2788else
2789  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2790$as_echo "no" >&6; }
2791fi
2792
2793
2794  fi
2795fi
2796if test -z "$CC"; then
2797  # Extract the first word of "cc", so it can be a program name with args.
2798set dummy cc; ac_word=$2
2799{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2800$as_echo_n "checking for $ac_word... " >&6; }
2801if ${ac_cv_prog_CC+:} false; then :
2802  $as_echo_n "(cached) " >&6
2803else
2804  if test -n "$CC"; then
2805  ac_cv_prog_CC="$CC" # Let the user override the test.
2806else
2807  ac_prog_rejected=no
2808as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2809for as_dir in $PATH
2810do
2811  IFS=$as_save_IFS
2812  test -z "$as_dir" && as_dir=.
2813    for ac_exec_ext in '' $ac_executable_extensions; do
2814  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2815    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2816       ac_prog_rejected=yes
2817       continue
2818     fi
2819    ac_cv_prog_CC="cc"
2820    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2821    break 2
2822  fi
2823done
2824  done
2825IFS=$as_save_IFS
2826
2827if test $ac_prog_rejected = yes; then
2828  # We found a bogon in the path, so make sure we never use it.
2829  set dummy $ac_cv_prog_CC
2830  shift
2831  if test $# != 0; then
2832    # We chose a different compiler from the bogus one.
2833    # However, it has the same basename, so the bogon will be chosen
2834    # first if we set CC to just the basename; use the full file name.
2835    shift
2836    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2837  fi
2838fi
2839fi
2840fi
2841CC=$ac_cv_prog_CC
2842if test -n "$CC"; then
2843  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2844$as_echo "$CC" >&6; }
2845else
2846  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2847$as_echo "no" >&6; }
2848fi
2849
2850
2851fi
2852if test -z "$CC"; then
2853  if test -n "$ac_tool_prefix"; then
2854  for ac_prog in cl.exe
2855  do
2856    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2857set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2858{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2859$as_echo_n "checking for $ac_word... " >&6; }
2860if ${ac_cv_prog_CC+:} false; then :
2861  $as_echo_n "(cached) " >&6
2862else
2863  if test -n "$CC"; then
2864  ac_cv_prog_CC="$CC" # Let the user override the test.
2865else
2866as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2867for as_dir in $PATH
2868do
2869  IFS=$as_save_IFS
2870  test -z "$as_dir" && as_dir=.
2871    for ac_exec_ext in '' $ac_executable_extensions; do
2872  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2873    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2874    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2875    break 2
2876  fi
2877done
2878  done
2879IFS=$as_save_IFS
2880
2881fi
2882fi
2883CC=$ac_cv_prog_CC
2884if test -n "$CC"; then
2885  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2886$as_echo "$CC" >&6; }
2887else
2888  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2889$as_echo "no" >&6; }
2890fi
2891
2892
2893    test -n "$CC" && break
2894  done
2895fi
2896if test -z "$CC"; then
2897  ac_ct_CC=$CC
2898  for ac_prog in cl.exe
2899do
2900  # Extract the first word of "$ac_prog", so it can be a program name with args.
2901set dummy $ac_prog; ac_word=$2
2902{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2903$as_echo_n "checking for $ac_word... " >&6; }
2904if ${ac_cv_prog_ac_ct_CC+:} false; then :
2905  $as_echo_n "(cached) " >&6
2906else
2907  if test -n "$ac_ct_CC"; then
2908  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2909else
2910as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2911for as_dir in $PATH
2912do
2913  IFS=$as_save_IFS
2914  test -z "$as_dir" && as_dir=.
2915    for ac_exec_ext in '' $ac_executable_extensions; do
2916  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2917    ac_cv_prog_ac_ct_CC="$ac_prog"
2918    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2919    break 2
2920  fi
2921done
2922  done
2923IFS=$as_save_IFS
2924
2925fi
2926fi
2927ac_ct_CC=$ac_cv_prog_ac_ct_CC
2928if test -n "$ac_ct_CC"; then
2929  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2930$as_echo "$ac_ct_CC" >&6; }
2931else
2932  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2933$as_echo "no" >&6; }
2934fi
2935
2936
2937  test -n "$ac_ct_CC" && break
2938done
2939
2940  if test "x$ac_ct_CC" = x; then
2941    CC=""
2942  else
2943    case $cross_compiling:$ac_tool_warned in
2944yes:)
2945{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2946$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2947ac_tool_warned=yes ;;
2948esac
2949    CC=$ac_ct_CC
2950  fi
2951fi
2952
2953fi
2954
2955
2956test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2957$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2958as_fn_error $? "no acceptable C compiler found in \$PATH
2959See \`config.log' for more details" "$LINENO" 5; }
2960
2961# Provide some information about the compiler.
2962$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2963set X $ac_compile
2964ac_compiler=$2
2965for ac_option in --version -v -V -qversion; do
2966  { { ac_try="$ac_compiler $ac_option >&5"
2967case "(($ac_try" in
2968  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2969  *) ac_try_echo=$ac_try;;
2970esac
2971eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2972$as_echo "$ac_try_echo"; } >&5
2973  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2974  ac_status=$?
2975  if test -s conftest.err; then
2976    sed '10a\
2977... rest of stderr output deleted ...
2978         10q' conftest.err >conftest.er1
2979    cat conftest.er1 >&5
2980  fi
2981  rm -f conftest.er1 conftest.err
2982  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2983  test $ac_status = 0; }
2984done
2985
2986cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2987/* end confdefs.h.  */
2988
2989int
2990main ()
2991{
2992
2993  ;
2994  return 0;
2995}
2996_ACEOF
2997ac_clean_files_save=$ac_clean_files
2998ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2999# Try to create an executable without -o first, disregard a.out.
3000# It will help us diagnose broken compilers, and finding out an intuition
3001# of exeext.
3002{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3003$as_echo_n "checking whether the C compiler works... " >&6; }
3004ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3005
3006# The possible output files:
3007ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3008
3009ac_rmfiles=
3010for ac_file in $ac_files
3011do
3012  case $ac_file in
3013    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3014    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3015  esac
3016done
3017rm -f $ac_rmfiles
3018
3019if { { ac_try="$ac_link_default"
3020case "(($ac_try" in
3021  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3022  *) ac_try_echo=$ac_try;;
3023esac
3024eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3025$as_echo "$ac_try_echo"; } >&5
3026  (eval "$ac_link_default") 2>&5
3027  ac_status=$?
3028  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3029  test $ac_status = 0; }; then :
3030  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3031# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3032# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3033# so that the user can short-circuit this test for compilers unknown to
3034# Autoconf.
3035for ac_file in $ac_files ''
3036do
3037  test -f "$ac_file" || continue
3038  case $ac_file in
3039    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3040	;;
3041    [ab].out )
3042	# We found the default executable, but exeext='' is most
3043	# certainly right.
3044	break;;
3045    *.* )
3046	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3047	then :; else
3048	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3049	fi
3050	# We set ac_cv_exeext here because the later test for it is not
3051	# safe: cross compilers may not add the suffix if given an `-o'
3052	# argument, so we may need to know it at that point already.
3053	# Even if this section looks crufty: it has the advantage of
3054	# actually working.
3055	break;;
3056    * )
3057	break;;
3058  esac
3059done
3060test "$ac_cv_exeext" = no && ac_cv_exeext=
3061
3062else
3063  ac_file=''
3064fi
3065if test -z "$ac_file"; then :
3066  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3067$as_echo "no" >&6; }
3068$as_echo "$as_me: failed program was:" >&5
3069sed 's/^/| /' conftest.$ac_ext >&5
3070
3071{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3072$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3073as_fn_error 77 "C compiler cannot create executables
3074See \`config.log' for more details" "$LINENO" 5; }
3075else
3076  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3077$as_echo "yes" >&6; }
3078fi
3079{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3080$as_echo_n "checking for C compiler default output file name... " >&6; }
3081{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3082$as_echo "$ac_file" >&6; }
3083ac_exeext=$ac_cv_exeext
3084
3085rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3086ac_clean_files=$ac_clean_files_save
3087{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3088$as_echo_n "checking for suffix of executables... " >&6; }
3089if { { ac_try="$ac_link"
3090case "(($ac_try" in
3091  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3092  *) ac_try_echo=$ac_try;;
3093esac
3094eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3095$as_echo "$ac_try_echo"; } >&5
3096  (eval "$ac_link") 2>&5
3097  ac_status=$?
3098  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3099  test $ac_status = 0; }; then :
3100  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3101# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3102# work properly (i.e., refer to `conftest.exe'), while it won't with
3103# `rm'.
3104for ac_file in conftest.exe conftest conftest.*; do
3105  test -f "$ac_file" || continue
3106  case $ac_file in
3107    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3108    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3109	  break;;
3110    * ) break;;
3111  esac
3112done
3113else
3114  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3115$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3116as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3117See \`config.log' for more details" "$LINENO" 5; }
3118fi
3119rm -f conftest conftest$ac_cv_exeext
3120{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3121$as_echo "$ac_cv_exeext" >&6; }
3122
3123rm -f conftest.$ac_ext
3124EXEEXT=$ac_cv_exeext
3125ac_exeext=$EXEEXT
3126cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3127/* end confdefs.h.  */
3128#include <stdio.h>
3129int
3130main ()
3131{
3132FILE *f = fopen ("conftest.out", "w");
3133 return ferror (f) || fclose (f) != 0;
3134
3135  ;
3136  return 0;
3137}
3138_ACEOF
3139ac_clean_files="$ac_clean_files conftest.out"
3140# Check that the compiler produces executables we can run.  If not, either
3141# the compiler is broken, or we cross compile.
3142{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3143$as_echo_n "checking whether we are cross compiling... " >&6; }
3144if test "$cross_compiling" != yes; then
3145  { { ac_try="$ac_link"
3146case "(($ac_try" in
3147  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3148  *) ac_try_echo=$ac_try;;
3149esac
3150eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3151$as_echo "$ac_try_echo"; } >&5
3152  (eval "$ac_link") 2>&5
3153  ac_status=$?
3154  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3155  test $ac_status = 0; }
3156  if { ac_try='./conftest$ac_cv_exeext'
3157  { { case "(($ac_try" in
3158  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3159  *) ac_try_echo=$ac_try;;
3160esac
3161eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3162$as_echo "$ac_try_echo"; } >&5
3163  (eval "$ac_try") 2>&5
3164  ac_status=$?
3165  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3166  test $ac_status = 0; }; }; then
3167    cross_compiling=no
3168  else
3169    if test "$cross_compiling" = maybe; then
3170	cross_compiling=yes
3171    else
3172	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3173$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3174as_fn_error $? "cannot run C compiled programs.
3175If you meant to cross compile, use \`--host'.
3176See \`config.log' for more details" "$LINENO" 5; }
3177    fi
3178  fi
3179fi
3180{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3181$as_echo "$cross_compiling" >&6; }
3182
3183rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3184ac_clean_files=$ac_clean_files_save
3185{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3186$as_echo_n "checking for suffix of object files... " >&6; }
3187if ${ac_cv_objext+:} false; then :
3188  $as_echo_n "(cached) " >&6
3189else
3190  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3191/* end confdefs.h.  */
3192
3193int
3194main ()
3195{
3196
3197  ;
3198  return 0;
3199}
3200_ACEOF
3201rm -f conftest.o conftest.obj
3202if { { ac_try="$ac_compile"
3203case "(($ac_try" in
3204  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3205  *) ac_try_echo=$ac_try;;
3206esac
3207eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3208$as_echo "$ac_try_echo"; } >&5
3209  (eval "$ac_compile") 2>&5
3210  ac_status=$?
3211  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3212  test $ac_status = 0; }; then :
3213  for ac_file in conftest.o conftest.obj conftest.*; do
3214  test -f "$ac_file" || continue;
3215  case $ac_file in
3216    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3217    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3218       break;;
3219  esac
3220done
3221else
3222  $as_echo "$as_me: failed program was:" >&5
3223sed 's/^/| /' conftest.$ac_ext >&5
3224
3225{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3226$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3227as_fn_error $? "cannot compute suffix of object files: cannot compile
3228See \`config.log' for more details" "$LINENO" 5; }
3229fi
3230rm -f conftest.$ac_cv_objext conftest.$ac_ext
3231fi
3232{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3233$as_echo "$ac_cv_objext" >&6; }
3234OBJEXT=$ac_cv_objext
3235ac_objext=$OBJEXT
3236{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3237$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3238if ${ac_cv_c_compiler_gnu+:} false; then :
3239  $as_echo_n "(cached) " >&6
3240else
3241  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3242/* end confdefs.h.  */
3243
3244int
3245main ()
3246{
3247#ifndef __GNUC__
3248       choke me
3249#endif
3250
3251  ;
3252  return 0;
3253}
3254_ACEOF
3255if ac_fn_c_try_compile "$LINENO"; then :
3256  ac_compiler_gnu=yes
3257else
3258  ac_compiler_gnu=no
3259fi
3260rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3261ac_cv_c_compiler_gnu=$ac_compiler_gnu
3262
3263fi
3264{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3265$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3266if test $ac_compiler_gnu = yes; then
3267  GCC=yes
3268else
3269  GCC=
3270fi
3271ac_test_CFLAGS=${CFLAGS+set}
3272ac_save_CFLAGS=$CFLAGS
3273{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3274$as_echo_n "checking whether $CC accepts -g... " >&6; }
3275if ${ac_cv_prog_cc_g+:} false; then :
3276  $as_echo_n "(cached) " >&6
3277else
3278  ac_save_c_werror_flag=$ac_c_werror_flag
3279   ac_c_werror_flag=yes
3280   ac_cv_prog_cc_g=no
3281   CFLAGS="-g"
3282   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3283/* end confdefs.h.  */
3284
3285int
3286main ()
3287{
3288
3289  ;
3290  return 0;
3291}
3292_ACEOF
3293if ac_fn_c_try_compile "$LINENO"; then :
3294  ac_cv_prog_cc_g=yes
3295else
3296  CFLAGS=""
3297      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3298/* end confdefs.h.  */
3299
3300int
3301main ()
3302{
3303
3304  ;
3305  return 0;
3306}
3307_ACEOF
3308if ac_fn_c_try_compile "$LINENO"; then :
3309
3310else
3311  ac_c_werror_flag=$ac_save_c_werror_flag
3312	 CFLAGS="-g"
3313	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3314/* end confdefs.h.  */
3315
3316int
3317main ()
3318{
3319
3320  ;
3321  return 0;
3322}
3323_ACEOF
3324if ac_fn_c_try_compile "$LINENO"; then :
3325  ac_cv_prog_cc_g=yes
3326fi
3327rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3328fi
3329rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3330fi
3331rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3332   ac_c_werror_flag=$ac_save_c_werror_flag
3333fi
3334{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3335$as_echo "$ac_cv_prog_cc_g" >&6; }
3336if test "$ac_test_CFLAGS" = set; then
3337  CFLAGS=$ac_save_CFLAGS
3338elif test $ac_cv_prog_cc_g = yes; then
3339  if test "$GCC" = yes; then
3340    CFLAGS="-g -O2"
3341  else
3342    CFLAGS="-g"
3343  fi
3344else
3345  if test "$GCC" = yes; then
3346    CFLAGS="-O2"
3347  else
3348    CFLAGS=
3349  fi
3350fi
3351{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3352$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3353if ${ac_cv_prog_cc_c89+:} false; then :
3354  $as_echo_n "(cached) " >&6
3355else
3356  ac_cv_prog_cc_c89=no
3357ac_save_CC=$CC
3358cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3359/* end confdefs.h.  */
3360#include <stdarg.h>
3361#include <stdio.h>
3362struct stat;
3363/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3364struct buf { int x; };
3365FILE * (*rcsopen) (struct buf *, struct stat *, int);
3366static char *e (p, i)
3367     char **p;
3368     int i;
3369{
3370  return p[i];
3371}
3372static char *f (char * (*g) (char **, int), char **p, ...)
3373{
3374  char *s;
3375  va_list v;
3376  va_start (v,p);
3377  s = g (p, va_arg (v,int));
3378  va_end (v);
3379  return s;
3380}
3381
3382/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3383   function prototypes and stuff, but not '\xHH' hex character constants.
3384   These don't provoke an error unfortunately, instead are silently treated
3385   as 'x'.  The following induces an error, until -std is added to get
3386   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3387   array size at least.  It's necessary to write '\x00'==0 to get something
3388   that's true only with -std.  */
3389int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3390
3391/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3392   inside strings and character constants.  */
3393#define FOO(x) 'x'
3394int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3395
3396int test (int i, double x);
3397struct s1 {int (*f) (int a);};
3398struct s2 {int (*f) (double a);};
3399int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3400int argc;
3401char **argv;
3402int
3403main ()
3404{
3405return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3406  ;
3407  return 0;
3408}
3409_ACEOF
3410for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3411	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3412do
3413  CC="$ac_save_CC $ac_arg"
3414  if ac_fn_c_try_compile "$LINENO"; then :
3415  ac_cv_prog_cc_c89=$ac_arg
3416fi
3417rm -f core conftest.err conftest.$ac_objext
3418  test "x$ac_cv_prog_cc_c89" != "xno" && break
3419done
3420rm -f conftest.$ac_ext
3421CC=$ac_save_CC
3422
3423fi
3424# AC_CACHE_VAL
3425case "x$ac_cv_prog_cc_c89" in
3426  x)
3427    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3428$as_echo "none needed" >&6; } ;;
3429  xno)
3430    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3431$as_echo "unsupported" >&6; } ;;
3432  *)
3433    CC="$CC $ac_cv_prog_cc_c89"
3434    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3435$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3436esac
3437if test "x$ac_cv_prog_cc_c89" != xno; then :
3438
3439fi
3440
3441ac_ext=c
3442ac_cpp='$CPP $CPPFLAGS'
3443ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3444ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3445ac_compiler_gnu=$ac_cv_c_compiler_gnu
3446
3447ac_ext=c
3448ac_cpp='$CPP $CPPFLAGS'
3449ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3450ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3451ac_compiler_gnu=$ac_cv_c_compiler_gnu
3452{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3453$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3454if ${am_cv_prog_cc_c_o+:} false; then :
3455  $as_echo_n "(cached) " >&6
3456else
3457  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3458/* end confdefs.h.  */
3459
3460int
3461main ()
3462{
3463
3464  ;
3465  return 0;
3466}
3467_ACEOF
3468  # Make sure it works both with $CC and with simple cc.
3469  # Following AC_PROG_CC_C_O, we do the test twice because some
3470  # compilers refuse to overwrite an existing .o file with -o,
3471  # though they will create one.
3472  am_cv_prog_cc_c_o=yes
3473  for am_i in 1 2; do
3474    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3475   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3476   ac_status=$?
3477   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3478   (exit $ac_status); } \
3479         && test -f conftest2.$ac_objext; then
3480      : OK
3481    else
3482      am_cv_prog_cc_c_o=no
3483      break
3484    fi
3485  done
3486  rm -f core conftest*
3487  unset am_i
3488fi
3489{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3490$as_echo "$am_cv_prog_cc_c_o" >&6; }
3491if test "$am_cv_prog_cc_c_o" != yes; then
3492   # Losing compiler, so override with the script.
3493   # FIXME: It is wrong to rewrite CC.
3494   # But if we don't then we get into trouble of one sort or another.
3495   # A longer-term fix would be to have automake use am__CC in this case,
3496   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3497   CC="$am_aux_dir/compile $CC"
3498fi
3499ac_ext=c
3500ac_cpp='$CPP $CPPFLAGS'
3501ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3502ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3503ac_compiler_gnu=$ac_cv_c_compiler_gnu
3504
3505
3506{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
3507$as_echo_n "checking for a sed that does not truncate output... " >&6; }
3508if ${ac_cv_path_SED+:} false; then :
3509  $as_echo_n "(cached) " >&6
3510else
3511            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3512     for ac_i in 1 2 3 4 5 6 7; do
3513       ac_script="$ac_script$as_nl$ac_script"
3514     done
3515     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
3516     { ac_script=; unset ac_script;}
3517     if test -z "$SED"; then
3518  ac_path_SED_found=false
3519  # Loop through the user's path and test for each of PROGNAME-LIST
3520  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3521for as_dir in $PATH
3522do
3523  IFS=$as_save_IFS
3524  test -z "$as_dir" && as_dir=.
3525    for ac_prog in sed gsed; do
3526    for ac_exec_ext in '' $ac_executable_extensions; do
3527      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
3528      as_fn_executable_p "$ac_path_SED" || continue
3529# Check for GNU ac_path_SED and select it if it is found.
3530  # Check for GNU $ac_path_SED
3531case `"$ac_path_SED" --version 2>&1` in
3532*GNU*)
3533  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
3534*)
3535  ac_count=0
3536  $as_echo_n 0123456789 >"conftest.in"
3537  while :
3538  do
3539    cat "conftest.in" "conftest.in" >"conftest.tmp"
3540    mv "conftest.tmp" "conftest.in"
3541    cp "conftest.in" "conftest.nl"
3542    $as_echo '' >> "conftest.nl"
3543    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
3544    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3545    as_fn_arith $ac_count + 1 && ac_count=$as_val
3546    if test $ac_count -gt ${ac_path_SED_max-0}; then
3547      # Best one so far, save it but keep looking for a better one
3548      ac_cv_path_SED="$ac_path_SED"
3549      ac_path_SED_max=$ac_count
3550    fi
3551    # 10*(2^10) chars as input seems more than enough
3552    test $ac_count -gt 10 && break
3553  done
3554  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3555esac
3556
3557      $ac_path_SED_found && break 3
3558    done
3559  done
3560  done
3561IFS=$as_save_IFS
3562  if test -z "$ac_cv_path_SED"; then
3563    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
3564  fi
3565else
3566  ac_cv_path_SED=$SED
3567fi
3568
3569fi
3570{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
3571$as_echo "$ac_cv_path_SED" >&6; }
3572 SED="$ac_cv_path_SED"
3573  rm -f conftest.sed
3574
3575test -z "$SED" && SED=sed
3576Xsed="$SED -e 1s/^X//"
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3589$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3590if ${ac_cv_path_GREP+:} false; then :
3591  $as_echo_n "(cached) " >&6
3592else
3593  if test -z "$GREP"; then
3594  ac_path_GREP_found=false
3595  # Loop through the user's path and test for each of PROGNAME-LIST
3596  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3597for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3598do
3599  IFS=$as_save_IFS
3600  test -z "$as_dir" && as_dir=.
3601    for ac_prog in grep ggrep; do
3602    for ac_exec_ext in '' $ac_executable_extensions; do
3603      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3604      as_fn_executable_p "$ac_path_GREP" || continue
3605# Check for GNU ac_path_GREP and select it if it is found.
3606  # Check for GNU $ac_path_GREP
3607case `"$ac_path_GREP" --version 2>&1` in
3608*GNU*)
3609  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3610*)
3611  ac_count=0
3612  $as_echo_n 0123456789 >"conftest.in"
3613  while :
3614  do
3615    cat "conftest.in" "conftest.in" >"conftest.tmp"
3616    mv "conftest.tmp" "conftest.in"
3617    cp "conftest.in" "conftest.nl"
3618    $as_echo 'GREP' >> "conftest.nl"
3619    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3620    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3621    as_fn_arith $ac_count + 1 && ac_count=$as_val
3622    if test $ac_count -gt ${ac_path_GREP_max-0}; then
3623      # Best one so far, save it but keep looking for a better one
3624      ac_cv_path_GREP="$ac_path_GREP"
3625      ac_path_GREP_max=$ac_count
3626    fi
3627    # 10*(2^10) chars as input seems more than enough
3628    test $ac_count -gt 10 && break
3629  done
3630  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3631esac
3632
3633      $ac_path_GREP_found && break 3
3634    done
3635  done
3636  done
3637IFS=$as_save_IFS
3638  if test -z "$ac_cv_path_GREP"; then
3639    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3640  fi
3641else
3642  ac_cv_path_GREP=$GREP
3643fi
3644
3645fi
3646{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3647$as_echo "$ac_cv_path_GREP" >&6; }
3648 GREP="$ac_cv_path_GREP"
3649
3650
3651{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3652$as_echo_n "checking for egrep... " >&6; }
3653if ${ac_cv_path_EGREP+:} false; then :
3654  $as_echo_n "(cached) " >&6
3655else
3656  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3657   then ac_cv_path_EGREP="$GREP -E"
3658   else
3659     if test -z "$EGREP"; then
3660  ac_path_EGREP_found=false
3661  # Loop through the user's path and test for each of PROGNAME-LIST
3662  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3663for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3664do
3665  IFS=$as_save_IFS
3666  test -z "$as_dir" && as_dir=.
3667    for ac_prog in egrep; do
3668    for ac_exec_ext in '' $ac_executable_extensions; do
3669      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3670      as_fn_executable_p "$ac_path_EGREP" || continue
3671# Check for GNU ac_path_EGREP and select it if it is found.
3672  # Check for GNU $ac_path_EGREP
3673case `"$ac_path_EGREP" --version 2>&1` in
3674*GNU*)
3675  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3676*)
3677  ac_count=0
3678  $as_echo_n 0123456789 >"conftest.in"
3679  while :
3680  do
3681    cat "conftest.in" "conftest.in" >"conftest.tmp"
3682    mv "conftest.tmp" "conftest.in"
3683    cp "conftest.in" "conftest.nl"
3684    $as_echo 'EGREP' >> "conftest.nl"
3685    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3686    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3687    as_fn_arith $ac_count + 1 && ac_count=$as_val
3688    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3689      # Best one so far, save it but keep looking for a better one
3690      ac_cv_path_EGREP="$ac_path_EGREP"
3691      ac_path_EGREP_max=$ac_count
3692    fi
3693    # 10*(2^10) chars as input seems more than enough
3694    test $ac_count -gt 10 && break
3695  done
3696  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3697esac
3698
3699      $ac_path_EGREP_found && break 3
3700    done
3701  done
3702  done
3703IFS=$as_save_IFS
3704  if test -z "$ac_cv_path_EGREP"; then
3705    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3706  fi
3707else
3708  ac_cv_path_EGREP=$EGREP
3709fi
3710
3711   fi
3712fi
3713{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3714$as_echo "$ac_cv_path_EGREP" >&6; }
3715 EGREP="$ac_cv_path_EGREP"
3716
3717
3718{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
3719$as_echo_n "checking for fgrep... " >&6; }
3720if ${ac_cv_path_FGREP+:} false; then :
3721  $as_echo_n "(cached) " >&6
3722else
3723  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
3724   then ac_cv_path_FGREP="$GREP -F"
3725   else
3726     if test -z "$FGREP"; then
3727  ac_path_FGREP_found=false
3728  # Loop through the user's path and test for each of PROGNAME-LIST
3729  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3730for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3731do
3732  IFS=$as_save_IFS
3733  test -z "$as_dir" && as_dir=.
3734    for ac_prog in fgrep; do
3735    for ac_exec_ext in '' $ac_executable_extensions; do
3736      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
3737      as_fn_executable_p "$ac_path_FGREP" || continue
3738# Check for GNU ac_path_FGREP and select it if it is found.
3739  # Check for GNU $ac_path_FGREP
3740case `"$ac_path_FGREP" --version 2>&1` in
3741*GNU*)
3742  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
3743*)
3744  ac_count=0
3745  $as_echo_n 0123456789 >"conftest.in"
3746  while :
3747  do
3748    cat "conftest.in" "conftest.in" >"conftest.tmp"
3749    mv "conftest.tmp" "conftest.in"
3750    cp "conftest.in" "conftest.nl"
3751    $as_echo 'FGREP' >> "conftest.nl"
3752    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
3753    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3754    as_fn_arith $ac_count + 1 && ac_count=$as_val
3755    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
3756      # Best one so far, save it but keep looking for a better one
3757      ac_cv_path_FGREP="$ac_path_FGREP"
3758      ac_path_FGREP_max=$ac_count
3759    fi
3760    # 10*(2^10) chars as input seems more than enough
3761    test $ac_count -gt 10 && break
3762  done
3763  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3764esac
3765
3766      $ac_path_FGREP_found && break 3
3767    done
3768  done
3769  done
3770IFS=$as_save_IFS
3771  if test -z "$ac_cv_path_FGREP"; then
3772    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3773  fi
3774else
3775  ac_cv_path_FGREP=$FGREP
3776fi
3777
3778   fi
3779fi
3780{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
3781$as_echo "$ac_cv_path_FGREP" >&6; }
3782 FGREP="$ac_cv_path_FGREP"
3783
3784
3785test -z "$GREP" && GREP=grep
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805# Check whether --with-gnu-ld was given.
3806if test "${with_gnu_ld+set}" = set; then :
3807  withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
3808else
3809  with_gnu_ld=no
3810fi
3811
3812ac_prog=ld
3813if test yes = "$GCC"; then
3814  # Check if gcc -print-prog-name=ld gives a path.
3815  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
3816$as_echo_n "checking for ld used by $CC... " >&6; }
3817  case $host in
3818  *-*-mingw*)
3819    # gcc leaves a trailing carriage return, which upsets mingw
3820    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3821  *)
3822    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3823  esac
3824  case $ac_prog in
3825    # Accept absolute paths.
3826    [\\/]* | ?:[\\/]*)
3827      re_direlt='/[^/][^/]*/\.\./'
3828      # Canonicalize the pathname of ld
3829      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
3830      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
3831	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
3832      done
3833      test -z "$LD" && LD=$ac_prog
3834      ;;
3835  "")
3836    # If it fails, then pretend we aren't using GCC.
3837    ac_prog=ld
3838    ;;
3839  *)
3840    # If it is relative, then search for the first ld in PATH.
3841    with_gnu_ld=unknown
3842    ;;
3843  esac
3844elif test yes = "$with_gnu_ld"; then
3845  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
3846$as_echo_n "checking for GNU ld... " >&6; }
3847else
3848  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
3849$as_echo_n "checking for non-GNU ld... " >&6; }
3850fi
3851if ${lt_cv_path_LD+:} false; then :
3852  $as_echo_n "(cached) " >&6
3853else
3854  if test -z "$LD"; then
3855  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
3856  for ac_dir in $PATH; do
3857    IFS=$lt_save_ifs
3858    test -z "$ac_dir" && ac_dir=.
3859    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3860      lt_cv_path_LD=$ac_dir/$ac_prog
3861      # Check to see if the program is GNU ld.  I'd rather use --version,
3862      # but apparently some variants of GNU ld only accept -v.
3863      # Break only if it was the GNU/non-GNU ld that we prefer.
3864      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
3865      *GNU* | *'with BFD'*)
3866	test no != "$with_gnu_ld" && break
3867	;;
3868      *)
3869	test yes != "$with_gnu_ld" && break
3870	;;
3871      esac
3872    fi
3873  done
3874  IFS=$lt_save_ifs
3875else
3876  lt_cv_path_LD=$LD # Let the user override the test with a path.
3877fi
3878fi
3879
3880LD=$lt_cv_path_LD
3881if test -n "$LD"; then
3882  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
3883$as_echo "$LD" >&6; }
3884else
3885  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3886$as_echo "no" >&6; }
3887fi
3888test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
3889{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
3890$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
3891if ${lt_cv_prog_gnu_ld+:} false; then :
3892  $as_echo_n "(cached) " >&6
3893else
3894  # I'd rather use --version here, but apparently some GNU lds only accept -v.
3895case `$LD -v 2>&1 </dev/null` in
3896*GNU* | *'with BFD'*)
3897  lt_cv_prog_gnu_ld=yes
3898  ;;
3899*)
3900  lt_cv_prog_gnu_ld=no
3901  ;;
3902esac
3903fi
3904{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
3905$as_echo "$lt_cv_prog_gnu_ld" >&6; }
3906with_gnu_ld=$lt_cv_prog_gnu_ld
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
3917$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
3918if ${lt_cv_path_NM+:} false; then :
3919  $as_echo_n "(cached) " >&6
3920else
3921  if test -n "$NM"; then
3922  # Let the user override the test.
3923  lt_cv_path_NM=$NM
3924else
3925  lt_nm_to_check=${ac_tool_prefix}nm
3926  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
3927    lt_nm_to_check="$lt_nm_to_check nm"
3928  fi
3929  for lt_tmp_nm in $lt_nm_to_check; do
3930    lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
3931    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
3932      IFS=$lt_save_ifs
3933      test -z "$ac_dir" && ac_dir=.
3934      tmp_nm=$ac_dir/$lt_tmp_nm
3935      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
3936	# Check to see if the nm accepts a BSD-compat flag.
3937	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
3938	#   nm: unknown option "B" ignored
3939	# Tru64's nm complains that /dev/null is an invalid object file
3940	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
3941	case $build_os in
3942	mingw*) lt_bad_file=conftest.nm/nofile ;;
3943	*) lt_bad_file=/dev/null ;;
3944	esac
3945	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
3946	*$lt_bad_file* | *'Invalid file or object type'*)
3947	  lt_cv_path_NM="$tmp_nm -B"
3948	  break 2
3949	  ;;
3950	*)
3951	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3952	  */dev/null*)
3953	    lt_cv_path_NM="$tmp_nm -p"
3954	    break 2
3955	    ;;
3956	  *)
3957	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3958	    continue # so that we can try to find one that supports BSD flags
3959	    ;;
3960	  esac
3961	  ;;
3962	esac
3963      fi
3964    done
3965    IFS=$lt_save_ifs
3966  done
3967  : ${lt_cv_path_NM=no}
3968fi
3969fi
3970{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
3971$as_echo "$lt_cv_path_NM" >&6; }
3972if test no != "$lt_cv_path_NM"; then
3973  NM=$lt_cv_path_NM
3974else
3975  # Didn't find any BSD compatible name lister, look for dumpbin.
3976  if test -n "$DUMPBIN"; then :
3977    # Let the user override the test.
3978  else
3979    if test -n "$ac_tool_prefix"; then
3980  for ac_prog in dumpbin "link -dump"
3981  do
3982    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3983set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3984{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3985$as_echo_n "checking for $ac_word... " >&6; }
3986if ${ac_cv_prog_DUMPBIN+:} false; then :
3987  $as_echo_n "(cached) " >&6
3988else
3989  if test -n "$DUMPBIN"; then
3990  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
3991else
3992as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3993for as_dir in $PATH
3994do
3995  IFS=$as_save_IFS
3996  test -z "$as_dir" && as_dir=.
3997    for ac_exec_ext in '' $ac_executable_extensions; do
3998  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3999    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4000    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4001    break 2
4002  fi
4003done
4004  done
4005IFS=$as_save_IFS
4006
4007fi
4008fi
4009DUMPBIN=$ac_cv_prog_DUMPBIN
4010if test -n "$DUMPBIN"; then
4011  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4012$as_echo "$DUMPBIN" >&6; }
4013else
4014  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4015$as_echo "no" >&6; }
4016fi
4017
4018
4019    test -n "$DUMPBIN" && break
4020  done
4021fi
4022if test -z "$DUMPBIN"; then
4023  ac_ct_DUMPBIN=$DUMPBIN
4024  for ac_prog in dumpbin "link -dump"
4025do
4026  # Extract the first word of "$ac_prog", so it can be a program name with args.
4027set dummy $ac_prog; ac_word=$2
4028{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4029$as_echo_n "checking for $ac_word... " >&6; }
4030if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4031  $as_echo_n "(cached) " >&6
4032else
4033  if test -n "$ac_ct_DUMPBIN"; then
4034  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4035else
4036as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4037for as_dir in $PATH
4038do
4039  IFS=$as_save_IFS
4040  test -z "$as_dir" && as_dir=.
4041    for ac_exec_ext in '' $ac_executable_extensions; do
4042  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4043    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4044    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4045    break 2
4046  fi
4047done
4048  done
4049IFS=$as_save_IFS
4050
4051fi
4052fi
4053ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4054if test -n "$ac_ct_DUMPBIN"; then
4055  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4056$as_echo "$ac_ct_DUMPBIN" >&6; }
4057else
4058  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4059$as_echo "no" >&6; }
4060fi
4061
4062
4063  test -n "$ac_ct_DUMPBIN" && break
4064done
4065
4066  if test "x$ac_ct_DUMPBIN" = x; then
4067    DUMPBIN=":"
4068  else
4069    case $cross_compiling:$ac_tool_warned in
4070yes:)
4071{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4072$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4073ac_tool_warned=yes ;;
4074esac
4075    DUMPBIN=$ac_ct_DUMPBIN
4076  fi
4077fi
4078
4079    case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
4080    *COFF*)
4081      DUMPBIN="$DUMPBIN -symbols -headers"
4082      ;;
4083    *)
4084      DUMPBIN=:
4085      ;;
4086    esac
4087  fi
4088
4089  if test : != "$DUMPBIN"; then
4090    NM=$DUMPBIN
4091  fi
4092fi
4093test -z "$NM" && NM=nm
4094
4095
4096
4097
4098
4099
4100{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4101$as_echo_n "checking the name lister ($NM) interface... " >&6; }
4102if ${lt_cv_nm_interface+:} false; then :
4103  $as_echo_n "(cached) " >&6
4104else
4105  lt_cv_nm_interface="BSD nm"
4106  echo "int some_variable = 0;" > conftest.$ac_ext
4107  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4108  (eval "$ac_compile" 2>conftest.err)
4109  cat conftest.err >&5
4110  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4111  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4112  cat conftest.err >&5
4113  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4114  cat conftest.out >&5
4115  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4116    lt_cv_nm_interface="MS dumpbin"
4117  fi
4118  rm -f conftest*
4119fi
4120{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4121$as_echo "$lt_cv_nm_interface" >&6; }
4122
4123{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4124$as_echo_n "checking whether ln -s works... " >&6; }
4125LN_S=$as_ln_s
4126if test "$LN_S" = "ln -s"; then
4127  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4128$as_echo "yes" >&6; }
4129else
4130  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4131$as_echo "no, using $LN_S" >&6; }
4132fi
4133
4134# find the maximum length of command line arguments
4135{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4136$as_echo_n "checking the maximum length of command line arguments... " >&6; }
4137if ${lt_cv_sys_max_cmd_len+:} false; then :
4138  $as_echo_n "(cached) " >&6
4139else
4140    i=0
4141  teststring=ABCD
4142
4143  case $build_os in
4144  msdosdjgpp*)
4145    # On DJGPP, this test can blow up pretty badly due to problems in libc
4146    # (any single argument exceeding 2000 bytes causes a buffer overrun
4147    # during glob expansion).  Even if it were fixed, the result of this
4148    # check would be larger than it should be.
4149    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
4150    ;;
4151
4152  gnu*)
4153    # Under GNU Hurd, this test is not required because there is
4154    # no limit to the length of command line arguments.
4155    # Libtool will interpret -1 as no limit whatsoever
4156    lt_cv_sys_max_cmd_len=-1;
4157    ;;
4158
4159  cygwin* | mingw* | cegcc*)
4160    # On Win9x/ME, this test blows up -- it succeeds, but takes
4161    # about 5 minutes as the teststring grows exponentially.
4162    # Worse, since 9x/ME are not pre-emptively multitasking,
4163    # you end up with a "frozen" computer, even though with patience
4164    # the test eventually succeeds (with a max line length of 256k).
4165    # Instead, let's just punt: use the minimum linelength reported by
4166    # all of the supported platforms: 8192 (on NT/2K/XP).
4167    lt_cv_sys_max_cmd_len=8192;
4168    ;;
4169
4170  mint*)
4171    # On MiNT this can take a long time and run out of memory.
4172    lt_cv_sys_max_cmd_len=8192;
4173    ;;
4174
4175  amigaos*)
4176    # On AmigaOS with pdksh, this test takes hours, literally.
4177    # So we just punt and use a minimum line length of 8192.
4178    lt_cv_sys_max_cmd_len=8192;
4179    ;;
4180
4181  bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
4182    # This has been around since 386BSD, at least.  Likely further.
4183    if test -x /sbin/sysctl; then
4184      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4185    elif test -x /usr/sbin/sysctl; then
4186      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4187    else
4188      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
4189    fi
4190    # And add a safety zone
4191    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4192    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4193    ;;
4194
4195  interix*)
4196    # We know the value 262144 and hardcode it with a safety zone (like BSD)
4197    lt_cv_sys_max_cmd_len=196608
4198    ;;
4199
4200  os2*)
4201    # The test takes a long time on OS/2.
4202    lt_cv_sys_max_cmd_len=8192
4203    ;;
4204
4205  osf*)
4206    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4207    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4208    # nice to cause kernel panics so lets avoid the loop below.
4209    # First set a reasonable default.
4210    lt_cv_sys_max_cmd_len=16384
4211    #
4212    if test -x /sbin/sysconfig; then
4213      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4214        *1*) lt_cv_sys_max_cmd_len=-1 ;;
4215      esac
4216    fi
4217    ;;
4218  sco3.2v5*)
4219    lt_cv_sys_max_cmd_len=102400
4220    ;;
4221  sysv5* | sco5v6* | sysv4.2uw2*)
4222    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4223    if test -n "$kargmax"; then
4224      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
4225    else
4226      lt_cv_sys_max_cmd_len=32768
4227    fi
4228    ;;
4229  *)
4230    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4231    if test -n "$lt_cv_sys_max_cmd_len" && \
4232       test undefined != "$lt_cv_sys_max_cmd_len"; then
4233      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4234      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4235    else
4236      # Make teststring a little bigger before we do anything with it.
4237      # a 1K string should be a reasonable start.
4238      for i in 1 2 3 4 5 6 7 8; do
4239        teststring=$teststring$teststring
4240      done
4241      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4242      # If test is not a shell built-in, we'll probably end up computing a
4243      # maximum length that is only half of the actual maximum length, but
4244      # we can't tell.
4245      while { test X`env echo "$teststring$teststring" 2>/dev/null` \
4246	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4247	      test 17 != "$i" # 1/2 MB should be enough
4248      do
4249        i=`expr $i + 1`
4250        teststring=$teststring$teststring
4251      done
4252      # Only check the string length outside the loop.
4253      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4254      teststring=
4255      # Add a significant safety factor because C++ compilers can tack on
4256      # massive amounts of additional arguments before passing them to the
4257      # linker.  It appears as though 1/2 is a usable value.
4258      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4259    fi
4260    ;;
4261  esac
4262
4263fi
4264
4265if test -n "$lt_cv_sys_max_cmd_len"; then
4266  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4267$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4268else
4269  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4270$as_echo "none" >&6; }
4271fi
4272max_cmd_len=$lt_cv_sys_max_cmd_len
4273
4274
4275
4276
4277
4278
4279: ${CP="cp -f"}
4280: ${MV="mv -f"}
4281: ${RM="rm -f"}
4282
4283if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4284  lt_unset=unset
4285else
4286  lt_unset=false
4287fi
4288
4289
4290
4291
4292
4293# test EBCDIC or ASCII
4294case `echo X|tr X '\101'` in
4295 A) # ASCII based system
4296    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4297  lt_SP2NL='tr \040 \012'
4298  lt_NL2SP='tr \015\012 \040\040'
4299  ;;
4300 *) # EBCDIC based system
4301  lt_SP2NL='tr \100 \n'
4302  lt_NL2SP='tr \r\n \100\100'
4303  ;;
4304esac
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
4315$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
4316if ${lt_cv_to_host_file_cmd+:} false; then :
4317  $as_echo_n "(cached) " >&6
4318else
4319  case $host in
4320  *-*-mingw* )
4321    case $build in
4322      *-*-mingw* ) # actually msys
4323        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
4324        ;;
4325      *-*-cygwin* )
4326        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
4327        ;;
4328      * ) # otherwise, assume *nix
4329        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
4330        ;;
4331    esac
4332    ;;
4333  *-*-cygwin* )
4334    case $build in
4335      *-*-mingw* ) # actually msys
4336        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
4337        ;;
4338      *-*-cygwin* )
4339        lt_cv_to_host_file_cmd=func_convert_file_noop
4340        ;;
4341      * ) # otherwise, assume *nix
4342        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
4343        ;;
4344    esac
4345    ;;
4346  * ) # unhandled hosts (and "normal" native builds)
4347    lt_cv_to_host_file_cmd=func_convert_file_noop
4348    ;;
4349esac
4350
4351fi
4352
4353to_host_file_cmd=$lt_cv_to_host_file_cmd
4354{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
4355$as_echo "$lt_cv_to_host_file_cmd" >&6; }
4356
4357
4358
4359
4360
4361{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
4362$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
4363if ${lt_cv_to_tool_file_cmd+:} false; then :
4364  $as_echo_n "(cached) " >&6
4365else
4366  #assume ordinary cross tools, or native build.
4367lt_cv_to_tool_file_cmd=func_convert_file_noop
4368case $host in
4369  *-*-mingw* )
4370    case $build in
4371      *-*-mingw* ) # actually msys
4372        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
4373        ;;
4374    esac
4375    ;;
4376esac
4377
4378fi
4379
4380to_tool_file_cmd=$lt_cv_to_tool_file_cmd
4381{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
4382$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
4383
4384
4385
4386
4387
4388{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4389$as_echo_n "checking for $LD option to reload object files... " >&6; }
4390if ${lt_cv_ld_reload_flag+:} false; then :
4391  $as_echo_n "(cached) " >&6
4392else
4393  lt_cv_ld_reload_flag='-r'
4394fi
4395{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4396$as_echo "$lt_cv_ld_reload_flag" >&6; }
4397reload_flag=$lt_cv_ld_reload_flag
4398case $reload_flag in
4399"" | " "*) ;;
4400*) reload_flag=" $reload_flag" ;;
4401esac
4402reload_cmds='$LD$reload_flag -o $output$reload_objs'
4403case $host_os in
4404  cygwin* | mingw* | pw32* | cegcc*)
4405    if test yes != "$GCC"; then
4406      reload_cmds=false
4407    fi
4408    ;;
4409  darwin*)
4410    if test yes = "$GCC"; then
4411      reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
4412    else
4413      reload_cmds='$LD$reload_flag -o $output$reload_objs'
4414    fi
4415    ;;
4416esac
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426if test -n "$ac_tool_prefix"; then
4427  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4428set dummy ${ac_tool_prefix}objdump; ac_word=$2
4429{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4430$as_echo_n "checking for $ac_word... " >&6; }
4431if ${ac_cv_prog_OBJDUMP+:} false; then :
4432  $as_echo_n "(cached) " >&6
4433else
4434  if test -n "$OBJDUMP"; then
4435  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4436else
4437as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4438for as_dir in $PATH
4439do
4440  IFS=$as_save_IFS
4441  test -z "$as_dir" && as_dir=.
4442    for ac_exec_ext in '' $ac_executable_extensions; do
4443  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4444    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4445    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4446    break 2
4447  fi
4448done
4449  done
4450IFS=$as_save_IFS
4451
4452fi
4453fi
4454OBJDUMP=$ac_cv_prog_OBJDUMP
4455if test -n "$OBJDUMP"; then
4456  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4457$as_echo "$OBJDUMP" >&6; }
4458else
4459  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4460$as_echo "no" >&6; }
4461fi
4462
4463
4464fi
4465if test -z "$ac_cv_prog_OBJDUMP"; then
4466  ac_ct_OBJDUMP=$OBJDUMP
4467  # Extract the first word of "objdump", so it can be a program name with args.
4468set dummy objdump; ac_word=$2
4469{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4470$as_echo_n "checking for $ac_word... " >&6; }
4471if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
4472  $as_echo_n "(cached) " >&6
4473else
4474  if test -n "$ac_ct_OBJDUMP"; then
4475  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4476else
4477as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4478for as_dir in $PATH
4479do
4480  IFS=$as_save_IFS
4481  test -z "$as_dir" && as_dir=.
4482    for ac_exec_ext in '' $ac_executable_extensions; do
4483  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4484    ac_cv_prog_ac_ct_OBJDUMP="objdump"
4485    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4486    break 2
4487  fi
4488done
4489  done
4490IFS=$as_save_IFS
4491
4492fi
4493fi
4494ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4495if test -n "$ac_ct_OBJDUMP"; then
4496  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4497$as_echo "$ac_ct_OBJDUMP" >&6; }
4498else
4499  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4500$as_echo "no" >&6; }
4501fi
4502
4503  if test "x$ac_ct_OBJDUMP" = x; then
4504    OBJDUMP="false"
4505  else
4506    case $cross_compiling:$ac_tool_warned in
4507yes:)
4508{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4509$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4510ac_tool_warned=yes ;;
4511esac
4512    OBJDUMP=$ac_ct_OBJDUMP
4513  fi
4514else
4515  OBJDUMP="$ac_cv_prog_OBJDUMP"
4516fi
4517
4518test -z "$OBJDUMP" && OBJDUMP=objdump
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
4529$as_echo_n "checking how to recognize dependent libraries... " >&6; }
4530if ${lt_cv_deplibs_check_method+:} false; then :
4531  $as_echo_n "(cached) " >&6
4532else
4533  lt_cv_file_magic_cmd='$MAGIC_CMD'
4534lt_cv_file_magic_test_file=
4535lt_cv_deplibs_check_method='unknown'
4536# Need to set the preceding variable on all platforms that support
4537# interlibrary dependencies.
4538# 'none' -- dependencies not supported.
4539# 'unknown' -- same as none, but documents that we really don't know.
4540# 'pass_all' -- all dependencies passed with no checks.
4541# 'test_compile' -- check by making test program.
4542# 'file_magic [[regex]]' -- check by looking for files in library path
4543# that responds to the $file_magic_cmd with a given extended regex.
4544# If you have 'file' or equivalent on your system and you're not sure
4545# whether 'pass_all' will *always* work, you probably want this one.
4546
4547case $host_os in
4548aix[4-9]*)
4549  lt_cv_deplibs_check_method=pass_all
4550  ;;
4551
4552beos*)
4553  lt_cv_deplibs_check_method=pass_all
4554  ;;
4555
4556bsdi[45]*)
4557  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4558  lt_cv_file_magic_cmd='/usr/bin/file -L'
4559  lt_cv_file_magic_test_file=/shlib/libc.so
4560  ;;
4561
4562cygwin*)
4563  # func_win32_libid is a shell function defined in ltmain.sh
4564  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4565  lt_cv_file_magic_cmd='func_win32_libid'
4566  ;;
4567
4568mingw* | pw32*)
4569  # Base MSYS/MinGW do not provide the 'file' command needed by
4570  # func_win32_libid shell function, so use a weaker test based on 'objdump',
4571  # unless we find 'file', for example because we are cross-compiling.
4572  if ( file / ) >/dev/null 2>&1; then
4573    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4574    lt_cv_file_magic_cmd='func_win32_libid'
4575  else
4576    # Keep this pattern in sync with the one in func_win32_libid.
4577    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
4578    lt_cv_file_magic_cmd='$OBJDUMP -f'
4579  fi
4580  ;;
4581
4582cegcc*)
4583  # use the weaker test based on 'objdump'. See mingw*.
4584  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
4585  lt_cv_file_magic_cmd='$OBJDUMP -f'
4586  ;;
4587
4588darwin* | rhapsody*)
4589  lt_cv_deplibs_check_method=pass_all
4590  ;;
4591
4592freebsd* | dragonfly*)
4593  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4594    case $host_cpu in
4595    i*86 )
4596      # Not sure whether the presence of OpenBSD here was a mistake.
4597      # Let's accept both of them until this is cleared up.
4598      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4599      lt_cv_file_magic_cmd=/usr/bin/file
4600      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4601      ;;
4602    esac
4603  else
4604    lt_cv_deplibs_check_method=pass_all
4605  fi
4606  ;;
4607
4608haiku*)
4609  lt_cv_deplibs_check_method=pass_all
4610  ;;
4611
4612hpux10.20* | hpux11*)
4613  lt_cv_file_magic_cmd=/usr/bin/file
4614  case $host_cpu in
4615  ia64*)
4616    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4617    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4618    ;;
4619  hppa*64*)
4620    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]'
4621    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4622    ;;
4623  *)
4624    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
4625    lt_cv_file_magic_test_file=/usr/lib/libc.sl
4626    ;;
4627  esac
4628  ;;
4629
4630interix[3-9]*)
4631  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4632  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4633  ;;
4634
4635irix5* | irix6* | nonstopux*)
4636  case $LD in
4637  *-32|*"-32 ") libmagic=32-bit;;
4638  *-n32|*"-n32 ") libmagic=N32;;
4639  *-64|*"-64 ") libmagic=64-bit;;
4640  *) libmagic=never-match;;
4641  esac
4642  lt_cv_deplibs_check_method=pass_all
4643  ;;
4644
4645# This must be glibc/ELF.
4646linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
4647  lt_cv_deplibs_check_method=pass_all
4648  ;;
4649
4650netbsd* | netbsdelf*-gnu)
4651  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4652    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4653  else
4654    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4655  fi
4656  ;;
4657
4658newos6*)
4659  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4660  lt_cv_file_magic_cmd=/usr/bin/file
4661  lt_cv_file_magic_test_file=/usr/lib/libnls.so
4662  ;;
4663
4664*nto* | *qnx*)
4665  lt_cv_deplibs_check_method=pass_all
4666  ;;
4667
4668openbsd* | bitrig*)
4669  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
4670    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4671  else
4672    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4673  fi
4674  ;;
4675
4676osf3* | osf4* | osf5*)
4677  lt_cv_deplibs_check_method=pass_all
4678  ;;
4679
4680rdos*)
4681  lt_cv_deplibs_check_method=pass_all
4682  ;;
4683
4684solaris*)
4685  lt_cv_deplibs_check_method=pass_all
4686  ;;
4687
4688sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4689  lt_cv_deplibs_check_method=pass_all
4690  ;;
4691
4692sysv4 | sysv4.3*)
4693  case $host_vendor in
4694  motorola)
4695    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]'
4696    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4697    ;;
4698  ncr)
4699    lt_cv_deplibs_check_method=pass_all
4700    ;;
4701  sequent)
4702    lt_cv_file_magic_cmd='/bin/file'
4703    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4704    ;;
4705  sni)
4706    lt_cv_file_magic_cmd='/bin/file'
4707    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4708    lt_cv_file_magic_test_file=/lib/libc.so
4709    ;;
4710  siemens)
4711    lt_cv_deplibs_check_method=pass_all
4712    ;;
4713  pc)
4714    lt_cv_deplibs_check_method=pass_all
4715    ;;
4716  esac
4717  ;;
4718
4719tpf*)
4720  lt_cv_deplibs_check_method=pass_all
4721  ;;
4722os2*)
4723  lt_cv_deplibs_check_method=pass_all
4724  ;;
4725esac
4726
4727fi
4728{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
4729$as_echo "$lt_cv_deplibs_check_method" >&6; }
4730
4731file_magic_glob=
4732want_nocaseglob=no
4733if test "$build" = "$host"; then
4734  case $host_os in
4735  mingw* | pw32*)
4736    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
4737      want_nocaseglob=yes
4738    else
4739      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
4740    fi
4741    ;;
4742  esac
4743fi
4744
4745file_magic_cmd=$lt_cv_file_magic_cmd
4746deplibs_check_method=$lt_cv_deplibs_check_method
4747test -z "$deplibs_check_method" && deplibs_check_method=unknown
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770if test -n "$ac_tool_prefix"; then
4771  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
4772set dummy ${ac_tool_prefix}dlltool; ac_word=$2
4773{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4774$as_echo_n "checking for $ac_word... " >&6; }
4775if ${ac_cv_prog_DLLTOOL+:} false; then :
4776  $as_echo_n "(cached) " >&6
4777else
4778  if test -n "$DLLTOOL"; then
4779  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
4780else
4781as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4782for as_dir in $PATH
4783do
4784  IFS=$as_save_IFS
4785  test -z "$as_dir" && as_dir=.
4786    for ac_exec_ext in '' $ac_executable_extensions; do
4787  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4788    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
4789    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4790    break 2
4791  fi
4792done
4793  done
4794IFS=$as_save_IFS
4795
4796fi
4797fi
4798DLLTOOL=$ac_cv_prog_DLLTOOL
4799if test -n "$DLLTOOL"; then
4800  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
4801$as_echo "$DLLTOOL" >&6; }
4802else
4803  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4804$as_echo "no" >&6; }
4805fi
4806
4807
4808fi
4809if test -z "$ac_cv_prog_DLLTOOL"; then
4810  ac_ct_DLLTOOL=$DLLTOOL
4811  # Extract the first word of "dlltool", so it can be a program name with args.
4812set dummy dlltool; ac_word=$2
4813{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4814$as_echo_n "checking for $ac_word... " >&6; }
4815if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
4816  $as_echo_n "(cached) " >&6
4817else
4818  if test -n "$ac_ct_DLLTOOL"; then
4819  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
4820else
4821as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4822for as_dir in $PATH
4823do
4824  IFS=$as_save_IFS
4825  test -z "$as_dir" && as_dir=.
4826    for ac_exec_ext in '' $ac_executable_extensions; do
4827  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4828    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
4829    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4830    break 2
4831  fi
4832done
4833  done
4834IFS=$as_save_IFS
4835
4836fi
4837fi
4838ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
4839if test -n "$ac_ct_DLLTOOL"; then
4840  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
4841$as_echo "$ac_ct_DLLTOOL" >&6; }
4842else
4843  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4844$as_echo "no" >&6; }
4845fi
4846
4847  if test "x$ac_ct_DLLTOOL" = x; then
4848    DLLTOOL="false"
4849  else
4850    case $cross_compiling:$ac_tool_warned in
4851yes:)
4852{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4853$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4854ac_tool_warned=yes ;;
4855esac
4856    DLLTOOL=$ac_ct_DLLTOOL
4857  fi
4858else
4859  DLLTOOL="$ac_cv_prog_DLLTOOL"
4860fi
4861
4862test -z "$DLLTOOL" && DLLTOOL=dlltool
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
4874$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
4875if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
4876  $as_echo_n "(cached) " >&6
4877else
4878  lt_cv_sharedlib_from_linklib_cmd='unknown'
4879
4880case $host_os in
4881cygwin* | mingw* | pw32* | cegcc*)
4882  # two different shell functions defined in ltmain.sh;
4883  # decide which one to use based on capabilities of $DLLTOOL
4884  case `$DLLTOOL --help 2>&1` in
4885  *--identify-strict*)
4886    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
4887    ;;
4888  *)
4889    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
4890    ;;
4891  esac
4892  ;;
4893*)
4894  # fallback: assume linklib IS sharedlib
4895  lt_cv_sharedlib_from_linklib_cmd=$ECHO
4896  ;;
4897esac
4898
4899fi
4900{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
4901$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
4902sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
4903test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
4904
4905
4906
4907
4908
4909
4910
4911
4912if test -n "$ac_tool_prefix"; then
4913  for ac_prog in ar
4914  do
4915    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4916set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4917{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4918$as_echo_n "checking for $ac_word... " >&6; }
4919if ${ac_cv_prog_AR+:} false; then :
4920  $as_echo_n "(cached) " >&6
4921else
4922  if test -n "$AR"; then
4923  ac_cv_prog_AR="$AR" # Let the user override the test.
4924else
4925as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4926for as_dir in $PATH
4927do
4928  IFS=$as_save_IFS
4929  test -z "$as_dir" && as_dir=.
4930    for ac_exec_ext in '' $ac_executable_extensions; do
4931  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4932    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4933    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4934    break 2
4935  fi
4936done
4937  done
4938IFS=$as_save_IFS
4939
4940fi
4941fi
4942AR=$ac_cv_prog_AR
4943if test -n "$AR"; then
4944  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4945$as_echo "$AR" >&6; }
4946else
4947  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4948$as_echo "no" >&6; }
4949fi
4950
4951
4952    test -n "$AR" && break
4953  done
4954fi
4955if test -z "$AR"; then
4956  ac_ct_AR=$AR
4957  for ac_prog in ar
4958do
4959  # Extract the first word of "$ac_prog", so it can be a program name with args.
4960set dummy $ac_prog; ac_word=$2
4961{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4962$as_echo_n "checking for $ac_word... " >&6; }
4963if ${ac_cv_prog_ac_ct_AR+:} false; then :
4964  $as_echo_n "(cached) " >&6
4965else
4966  if test -n "$ac_ct_AR"; then
4967  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4968else
4969as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4970for as_dir in $PATH
4971do
4972  IFS=$as_save_IFS
4973  test -z "$as_dir" && as_dir=.
4974    for ac_exec_ext in '' $ac_executable_extensions; do
4975  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4976    ac_cv_prog_ac_ct_AR="$ac_prog"
4977    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4978    break 2
4979  fi
4980done
4981  done
4982IFS=$as_save_IFS
4983
4984fi
4985fi
4986ac_ct_AR=$ac_cv_prog_ac_ct_AR
4987if test -n "$ac_ct_AR"; then
4988  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4989$as_echo "$ac_ct_AR" >&6; }
4990else
4991  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4992$as_echo "no" >&6; }
4993fi
4994
4995
4996  test -n "$ac_ct_AR" && break
4997done
4998
4999  if test "x$ac_ct_AR" = x; then
5000    AR="false"
5001  else
5002    case $cross_compiling:$ac_tool_warned in
5003yes:)
5004{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5005$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5006ac_tool_warned=yes ;;
5007esac
5008    AR=$ac_ct_AR
5009  fi
5010fi
5011
5012: ${AR=ar}
5013: ${AR_FLAGS=cr}
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5026$as_echo_n "checking for archiver @FILE support... " >&6; }
5027if ${lt_cv_ar_at_file+:} false; then :
5028  $as_echo_n "(cached) " >&6
5029else
5030  lt_cv_ar_at_file=no
5031   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5032/* end confdefs.h.  */
5033
5034int
5035main ()
5036{
5037
5038  ;
5039  return 0;
5040}
5041_ACEOF
5042if ac_fn_c_try_compile "$LINENO"; then :
5043  echo conftest.$ac_objext > conftest.lst
5044      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5045      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5046  (eval $lt_ar_try) 2>&5
5047  ac_status=$?
5048  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5049  test $ac_status = 0; }
5050      if test 0 -eq "$ac_status"; then
5051	# Ensure the archiver fails upon bogus file names.
5052	rm -f conftest.$ac_objext libconftest.a
5053	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5054  (eval $lt_ar_try) 2>&5
5055  ac_status=$?
5056  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5057  test $ac_status = 0; }
5058	if test 0 -ne "$ac_status"; then
5059          lt_cv_ar_at_file=@
5060        fi
5061      fi
5062      rm -f conftest.* libconftest.a
5063
5064fi
5065rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5066
5067fi
5068{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5069$as_echo "$lt_cv_ar_at_file" >&6; }
5070
5071if test no = "$lt_cv_ar_at_file"; then
5072  archiver_list_spec=
5073else
5074  archiver_list_spec=$lt_cv_ar_at_file
5075fi
5076
5077
5078
5079
5080
5081
5082
5083if test -n "$ac_tool_prefix"; then
5084  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5085set dummy ${ac_tool_prefix}strip; ac_word=$2
5086{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5087$as_echo_n "checking for $ac_word... " >&6; }
5088if ${ac_cv_prog_STRIP+:} false; then :
5089  $as_echo_n "(cached) " >&6
5090else
5091  if test -n "$STRIP"; then
5092  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5093else
5094as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5095for as_dir in $PATH
5096do
5097  IFS=$as_save_IFS
5098  test -z "$as_dir" && as_dir=.
5099    for ac_exec_ext in '' $ac_executable_extensions; do
5100  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5101    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5102    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5103    break 2
5104  fi
5105done
5106  done
5107IFS=$as_save_IFS
5108
5109fi
5110fi
5111STRIP=$ac_cv_prog_STRIP
5112if test -n "$STRIP"; then
5113  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5114$as_echo "$STRIP" >&6; }
5115else
5116  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5117$as_echo "no" >&6; }
5118fi
5119
5120
5121fi
5122if test -z "$ac_cv_prog_STRIP"; then
5123  ac_ct_STRIP=$STRIP
5124  # Extract the first word of "strip", so it can be a program name with args.
5125set dummy strip; ac_word=$2
5126{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5127$as_echo_n "checking for $ac_word... " >&6; }
5128if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5129  $as_echo_n "(cached) " >&6
5130else
5131  if test -n "$ac_ct_STRIP"; then
5132  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5133else
5134as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5135for as_dir in $PATH
5136do
5137  IFS=$as_save_IFS
5138  test -z "$as_dir" && as_dir=.
5139    for ac_exec_ext in '' $ac_executable_extensions; do
5140  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5141    ac_cv_prog_ac_ct_STRIP="strip"
5142    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5143    break 2
5144  fi
5145done
5146  done
5147IFS=$as_save_IFS
5148
5149fi
5150fi
5151ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5152if test -n "$ac_ct_STRIP"; then
5153  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5154$as_echo "$ac_ct_STRIP" >&6; }
5155else
5156  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5157$as_echo "no" >&6; }
5158fi
5159
5160  if test "x$ac_ct_STRIP" = x; then
5161    STRIP=":"
5162  else
5163    case $cross_compiling:$ac_tool_warned in
5164yes:)
5165{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5166$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5167ac_tool_warned=yes ;;
5168esac
5169    STRIP=$ac_ct_STRIP
5170  fi
5171else
5172  STRIP="$ac_cv_prog_STRIP"
5173fi
5174
5175test -z "$STRIP" && STRIP=:
5176
5177
5178
5179
5180
5181
5182if test -n "$ac_tool_prefix"; then
5183  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5184set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5185{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5186$as_echo_n "checking for $ac_word... " >&6; }
5187if ${ac_cv_prog_RANLIB+:} false; then :
5188  $as_echo_n "(cached) " >&6
5189else
5190  if test -n "$RANLIB"; then
5191  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5192else
5193as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5194for as_dir in $PATH
5195do
5196  IFS=$as_save_IFS
5197  test -z "$as_dir" && as_dir=.
5198    for ac_exec_ext in '' $ac_executable_extensions; do
5199  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5200    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5201    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5202    break 2
5203  fi
5204done
5205  done
5206IFS=$as_save_IFS
5207
5208fi
5209fi
5210RANLIB=$ac_cv_prog_RANLIB
5211if test -n "$RANLIB"; then
5212  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5213$as_echo "$RANLIB" >&6; }
5214else
5215  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5216$as_echo "no" >&6; }
5217fi
5218
5219
5220fi
5221if test -z "$ac_cv_prog_RANLIB"; then
5222  ac_ct_RANLIB=$RANLIB
5223  # Extract the first word of "ranlib", so it can be a program name with args.
5224set dummy ranlib; ac_word=$2
5225{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5226$as_echo_n "checking for $ac_word... " >&6; }
5227if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5228  $as_echo_n "(cached) " >&6
5229else
5230  if test -n "$ac_ct_RANLIB"; then
5231  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5232else
5233as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5234for as_dir in $PATH
5235do
5236  IFS=$as_save_IFS
5237  test -z "$as_dir" && as_dir=.
5238    for ac_exec_ext in '' $ac_executable_extensions; do
5239  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5240    ac_cv_prog_ac_ct_RANLIB="ranlib"
5241    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5242    break 2
5243  fi
5244done
5245  done
5246IFS=$as_save_IFS
5247
5248fi
5249fi
5250ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5251if test -n "$ac_ct_RANLIB"; then
5252  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5253$as_echo "$ac_ct_RANLIB" >&6; }
5254else
5255  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5256$as_echo "no" >&6; }
5257fi
5258
5259  if test "x$ac_ct_RANLIB" = x; then
5260    RANLIB=":"
5261  else
5262    case $cross_compiling:$ac_tool_warned in
5263yes:)
5264{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5265$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5266ac_tool_warned=yes ;;
5267esac
5268    RANLIB=$ac_ct_RANLIB
5269  fi
5270else
5271  RANLIB="$ac_cv_prog_RANLIB"
5272fi
5273
5274test -z "$RANLIB" && RANLIB=:
5275
5276
5277
5278
5279
5280
5281# Determine commands to create old-style static archives.
5282old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5283old_postinstall_cmds='chmod 644 $oldlib'
5284old_postuninstall_cmds=
5285
5286if test -n "$RANLIB"; then
5287  case $host_os in
5288  bitrig* | openbsd*)
5289    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
5290    ;;
5291  *)
5292    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
5293    ;;
5294  esac
5295  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
5296fi
5297
5298case $host_os in
5299  darwin*)
5300    lock_old_archive_extraction=yes ;;
5301  *)
5302    lock_old_archive_extraction=no ;;
5303esac
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325for ac_prog in gawk mawk nawk awk
5326do
5327  # Extract the first word of "$ac_prog", so it can be a program name with args.
5328set dummy $ac_prog; ac_word=$2
5329{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5330$as_echo_n "checking for $ac_word... " >&6; }
5331if ${ac_cv_prog_AWK+:} false; then :
5332  $as_echo_n "(cached) " >&6
5333else
5334  if test -n "$AWK"; then
5335  ac_cv_prog_AWK="$AWK" # Let the user override the test.
5336else
5337as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5338for as_dir in $PATH
5339do
5340  IFS=$as_save_IFS
5341  test -z "$as_dir" && as_dir=.
5342    for ac_exec_ext in '' $ac_executable_extensions; do
5343  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5344    ac_cv_prog_AWK="$ac_prog"
5345    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5346    break 2
5347  fi
5348done
5349  done
5350IFS=$as_save_IFS
5351
5352fi
5353fi
5354AWK=$ac_cv_prog_AWK
5355if test -n "$AWK"; then
5356  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
5357$as_echo "$AWK" >&6; }
5358else
5359  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5360$as_echo "no" >&6; }
5361fi
5362
5363
5364  test -n "$AWK" && break
5365done
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385# If no C compiler was specified, use CC.
5386LTCC=${LTCC-"$CC"}
5387
5388# If no C compiler flags were specified, use CFLAGS.
5389LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5390
5391# Allow CC to be a program name with arguments.
5392compiler=$CC
5393
5394
5395# Check for command to grab the raw symbol name followed by C symbol from nm.
5396{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5397$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5398if ${lt_cv_sys_global_symbol_pipe+:} false; then :
5399  $as_echo_n "(cached) " >&6
5400else
5401
5402# These are sane defaults that work on at least a few old systems.
5403# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
5404
5405# Character class describing NM global symbol codes.
5406symcode='[BCDEGRST]'
5407
5408# Regexp to match symbols that can be accessed directly from C.
5409sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5410
5411# Define system-specific variables.
5412case $host_os in
5413aix*)
5414  symcode='[BCDT]'
5415  ;;
5416cygwin* | mingw* | pw32* | cegcc*)
5417  symcode='[ABCDGISTW]'
5418  ;;
5419hpux*)
5420  if test ia64 = "$host_cpu"; then
5421    symcode='[ABCDEGRST]'
5422  fi
5423  ;;
5424irix* | nonstopux*)
5425  symcode='[BCDEGRST]'
5426  ;;
5427osf*)
5428  symcode='[BCDEGQRST]'
5429  ;;
5430solaris*)
5431  symcode='[BDRT]'
5432  ;;
5433sco3.2v5*)
5434  symcode='[DT]'
5435  ;;
5436sysv4.2uw2*)
5437  symcode='[DT]'
5438  ;;
5439sysv5* | sco5v6* | unixware* | OpenUNIX*)
5440  symcode='[ABDT]'
5441  ;;
5442sysv4)
5443  symcode='[DFNSTU]'
5444  ;;
5445esac
5446
5447# If we're using GNU nm, then use its standard symbol codes.
5448case `$NM -V 2>&1` in
5449*GNU* | *'with BFD'*)
5450  symcode='[ABCDGIRSTW]' ;;
5451esac
5452
5453if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5454  # Gets list of data symbols to import.
5455  lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
5456  # Adjust the below global symbol transforms to fixup imported variables.
5457  lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
5458  lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
5459  lt_c_name_lib_hook="\
5460  -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
5461  -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
5462else
5463  # Disable hooks by default.
5464  lt_cv_sys_global_symbol_to_import=
5465  lt_cdecl_hook=
5466  lt_c_name_hook=
5467  lt_c_name_lib_hook=
5468fi
5469
5470# Transform an extracted symbol line into a proper C declaration.
5471# Some systems (esp. on ia64) link data and code symbols differently,
5472# so use this general approach.
5473lt_cv_sys_global_symbol_to_cdecl="sed -n"\
5474$lt_cdecl_hook\
5475" -e 's/^T .* \(.*\)$/extern int \1();/p'"\
5476" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
5477
5478# Transform an extracted symbol line into symbol name and symbol address
5479lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
5480$lt_c_name_hook\
5481" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
5482" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
5483
5484# Transform an extracted symbol line into symbol name with lib prefix and
5485# symbol address.
5486lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
5487$lt_c_name_lib_hook\
5488" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
5489" -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
5490" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
5491
5492# Handle CRLF in mingw tool chain
5493opt_cr=
5494case $build_os in
5495mingw*)
5496  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5497  ;;
5498esac
5499
5500# Try without a prefix underscore, then with it.
5501for ac_symprfx in "" "_"; do
5502
5503  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5504  symxfrm="\\1 $ac_symprfx\\2 \\2"
5505
5506  # Write the raw and C identifiers.
5507  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5508    # Fake it for dumpbin and say T for any non-static function,
5509    # D for any global variable and I for any imported variable.
5510    # Also find C++ and __fastcall symbols from MSVC++,
5511    # which start with @ or ?.
5512    lt_cv_sys_global_symbol_pipe="$AWK '"\
5513"     {last_section=section; section=\$ 3};"\
5514"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
5515"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5516"     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
5517"     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
5518"     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
5519"     \$ 0!~/External *\|/{next};"\
5520"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5521"     {if(hide[section]) next};"\
5522"     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
5523"     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
5524"     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
5525"     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
5526"     ' prfx=^$ac_symprfx"
5527  else
5528    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5529  fi
5530  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
5531
5532  # Check to see that the pipe works correctly.
5533  pipe_works=no
5534
5535  rm -f conftest*
5536  cat > conftest.$ac_ext <<_LT_EOF
5537#ifdef __cplusplus
5538extern "C" {
5539#endif
5540char nm_test_var;
5541void nm_test_func(void);
5542void nm_test_func(void){}
5543#ifdef __cplusplus
5544}
5545#endif
5546int main(){nm_test_var='a';nm_test_func();return(0);}
5547_LT_EOF
5548
5549  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5550  (eval $ac_compile) 2>&5
5551  ac_status=$?
5552  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5553  test $ac_status = 0; }; then
5554    # Now try to grab the symbols.
5555    nlist=conftest.nm
5556    $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&5
5557    if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && test -s "$nlist"; then
5558      # Try sorting and uniquifying the output.
5559      if sort "$nlist" | uniq > "$nlist"T; then
5560	mv -f "$nlist"T "$nlist"
5561      else
5562	rm -f "$nlist"T
5563      fi
5564
5565      # Make sure that we snagged all the symbols we need.
5566      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5567	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5568	  cat <<_LT_EOF > conftest.$ac_ext
5569/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
5570#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
5571/* DATA imports from DLLs on WIN32 can't be const, because runtime
5572   relocations are performed -- see ld's documentation on pseudo-relocs.  */
5573# define LT_DLSYM_CONST
5574#elif defined __osf__
5575/* This system does not cope well with relocations in const data.  */
5576# define LT_DLSYM_CONST
5577#else
5578# define LT_DLSYM_CONST const
5579#endif
5580
5581#ifdef __cplusplus
5582extern "C" {
5583#endif
5584
5585_LT_EOF
5586	  # Now generate the symbol file.
5587	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5588
5589	  cat <<_LT_EOF >> conftest.$ac_ext
5590
5591/* The mapping between symbol names and symbols.  */
5592LT_DLSYM_CONST struct {
5593  const char *name;
5594  void       *address;
5595}
5596lt__PROGRAM__LTX_preloaded_symbols[] =
5597{
5598  { "@PROGRAM@", (void *) 0 },
5599_LT_EOF
5600	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5601	  cat <<\_LT_EOF >> conftest.$ac_ext
5602  {0, (void *) 0}
5603};
5604
5605/* This works around a problem in FreeBSD linker */
5606#ifdef FREEBSD_WORKAROUND
5607static const void *lt_preloaded_setup() {
5608  return lt__PROGRAM__LTX_preloaded_symbols;
5609}
5610#endif
5611
5612#ifdef __cplusplus
5613}
5614#endif
5615_LT_EOF
5616	  # Now try linking the two files.
5617	  mv conftest.$ac_objext conftstm.$ac_objext
5618	  lt_globsym_save_LIBS=$LIBS
5619	  lt_globsym_save_CFLAGS=$CFLAGS
5620	  LIBS=conftstm.$ac_objext
5621	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5622	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5623  (eval $ac_link) 2>&5
5624  ac_status=$?
5625  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5626  test $ac_status = 0; } && test -s conftest$ac_exeext; then
5627	    pipe_works=yes
5628	  fi
5629	  LIBS=$lt_globsym_save_LIBS
5630	  CFLAGS=$lt_globsym_save_CFLAGS
5631	else
5632	  echo "cannot find nm_test_func in $nlist" >&5
5633	fi
5634      else
5635	echo "cannot find nm_test_var in $nlist" >&5
5636      fi
5637    else
5638      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5639    fi
5640  else
5641    echo "$progname: failed program was:" >&5
5642    cat conftest.$ac_ext >&5
5643  fi
5644  rm -rf conftest* conftst*
5645
5646  # Do not use the global_symbol_pipe unless it works.
5647  if test yes = "$pipe_works"; then
5648    break
5649  else
5650    lt_cv_sys_global_symbol_pipe=
5651  fi
5652done
5653
5654fi
5655
5656if test -z "$lt_cv_sys_global_symbol_pipe"; then
5657  lt_cv_sys_global_symbol_to_cdecl=
5658fi
5659if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5660  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
5661$as_echo "failed" >&6; }
5662else
5663  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
5664$as_echo "ok" >&6; }
5665fi
5666
5667# Response file support.
5668if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5669  nm_file_list_spec='@'
5670elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
5671  nm_file_list_spec='@'
5672fi
5673
5674
5675
5676
5677
5678
5679
5680
5681
5682
5683
5684
5685
5686
5687
5688
5689
5690
5691
5692
5693
5694
5695
5696
5697
5698
5699
5700
5701
5702
5703
5704
5705
5706
5707
5708
5709
5710{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
5711$as_echo_n "checking for sysroot... " >&6; }
5712
5713# Check whether --with-sysroot was given.
5714if test "${with_sysroot+set}" = set; then :
5715  withval=$with_sysroot;
5716else
5717  with_sysroot=no
5718fi
5719
5720
5721lt_sysroot=
5722case $with_sysroot in #(
5723 yes)
5724   if test yes = "$GCC"; then
5725     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
5726   fi
5727   ;; #(
5728 /*)
5729   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
5730   ;; #(
5731 no|'')
5732   ;; #(
5733 *)
5734   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
5735$as_echo "$with_sysroot" >&6; }
5736   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
5737   ;;
5738esac
5739
5740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
5741$as_echo "${lt_sysroot:-no}" >&6; }
5742
5743
5744
5745
5746
5747{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
5748$as_echo_n "checking for a working dd... " >&6; }
5749if ${ac_cv_path_lt_DD+:} false; then :
5750  $as_echo_n "(cached) " >&6
5751else
5752  printf 0123456789abcdef0123456789abcdef >conftest.i
5753cat conftest.i conftest.i >conftest2.i
5754: ${lt_DD:=$DD}
5755if test -z "$lt_DD"; then
5756  ac_path_lt_DD_found=false
5757  # Loop through the user's path and test for each of PROGNAME-LIST
5758  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5759for as_dir in $PATH
5760do
5761  IFS=$as_save_IFS
5762  test -z "$as_dir" && as_dir=.
5763    for ac_prog in dd; do
5764    for ac_exec_ext in '' $ac_executable_extensions; do
5765      ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
5766      as_fn_executable_p "$ac_path_lt_DD" || continue
5767if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
5768  cmp -s conftest.i conftest.out \
5769  && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
5770fi
5771      $ac_path_lt_DD_found && break 3
5772    done
5773  done
5774  done
5775IFS=$as_save_IFS
5776  if test -z "$ac_cv_path_lt_DD"; then
5777    :
5778  fi
5779else
5780  ac_cv_path_lt_DD=$lt_DD
5781fi
5782
5783rm -f conftest.i conftest2.i conftest.out
5784fi
5785{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
5786$as_echo "$ac_cv_path_lt_DD" >&6; }
5787
5788
5789{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
5790$as_echo_n "checking how to truncate binary pipes... " >&6; }
5791if ${lt_cv_truncate_bin+:} false; then :
5792  $as_echo_n "(cached) " >&6
5793else
5794  printf 0123456789abcdef0123456789abcdef >conftest.i
5795cat conftest.i conftest.i >conftest2.i
5796lt_cv_truncate_bin=
5797if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
5798  cmp -s conftest.i conftest.out \
5799  && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
5800fi
5801rm -f conftest.i conftest2.i conftest.out
5802test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
5803fi
5804{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
5805$as_echo "$lt_cv_truncate_bin" >&6; }
5806
5807
5808
5809
5810
5811
5812
5813# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
5814func_cc_basename ()
5815{
5816    for cc_temp in $*""; do
5817      case $cc_temp in
5818        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
5819        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
5820        \-*) ;;
5821        *) break;;
5822      esac
5823    done
5824    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
5825}
5826
5827# Check whether --enable-libtool-lock was given.
5828if test "${enable_libtool_lock+set}" = set; then :
5829  enableval=$enable_libtool_lock;
5830fi
5831
5832test no = "$enable_libtool_lock" || enable_libtool_lock=yes
5833
5834# Some flags need to be propagated to the compiler or linker for good
5835# libtool support.
5836case $host in
5837ia64-*-hpux*)
5838  # Find out what ABI is being produced by ac_compile, and set mode
5839  # options accordingly.
5840  echo 'int i;' > conftest.$ac_ext
5841  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5842  (eval $ac_compile) 2>&5
5843  ac_status=$?
5844  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5845  test $ac_status = 0; }; then
5846    case `/usr/bin/file conftest.$ac_objext` in
5847      *ELF-32*)
5848	HPUX_IA64_MODE=32
5849	;;
5850      *ELF-64*)
5851	HPUX_IA64_MODE=64
5852	;;
5853    esac
5854  fi
5855  rm -rf conftest*
5856  ;;
5857*-*-irix6*)
5858  # Find out what ABI is being produced by ac_compile, and set linker
5859  # options accordingly.
5860  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
5861  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5862  (eval $ac_compile) 2>&5
5863  ac_status=$?
5864  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5865  test $ac_status = 0; }; then
5866    if test yes = "$lt_cv_prog_gnu_ld"; then
5867      case `/usr/bin/file conftest.$ac_objext` in
5868	*32-bit*)
5869	  LD="${LD-ld} -melf32bsmip"
5870	  ;;
5871	*N32*)
5872	  LD="${LD-ld} -melf32bmipn32"
5873	  ;;
5874	*64-bit*)
5875	  LD="${LD-ld} -melf64bmip"
5876	;;
5877      esac
5878    else
5879      case `/usr/bin/file conftest.$ac_objext` in
5880	*32-bit*)
5881	  LD="${LD-ld} -32"
5882	  ;;
5883	*N32*)
5884	  LD="${LD-ld} -n32"
5885	  ;;
5886	*64-bit*)
5887	  LD="${LD-ld} -64"
5888	  ;;
5889      esac
5890    fi
5891  fi
5892  rm -rf conftest*
5893  ;;
5894
5895mips64*-*linux*)
5896  # Find out what ABI is being produced by ac_compile, and set linker
5897  # options accordingly.
5898  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
5899  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5900  (eval $ac_compile) 2>&5
5901  ac_status=$?
5902  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5903  test $ac_status = 0; }; then
5904    emul=elf
5905    case `/usr/bin/file conftest.$ac_objext` in
5906      *32-bit*)
5907	emul="${emul}32"
5908	;;
5909      *64-bit*)
5910	emul="${emul}64"
5911	;;
5912    esac
5913    case `/usr/bin/file conftest.$ac_objext` in
5914      *MSB*)
5915	emul="${emul}btsmip"
5916	;;
5917      *LSB*)
5918	emul="${emul}ltsmip"
5919	;;
5920    esac
5921    case `/usr/bin/file conftest.$ac_objext` in
5922      *N32*)
5923	emul="${emul}n32"
5924	;;
5925    esac
5926    LD="${LD-ld} -m $emul"
5927  fi
5928  rm -rf conftest*
5929  ;;
5930
5931x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
5932s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5933  # Find out what ABI is being produced by ac_compile, and set linker
5934  # options accordingly.  Note that the listed cases only cover the
5935  # situations where additional linker options are needed (such as when
5936  # doing 32-bit compilation for a host where ld defaults to 64-bit, or
5937  # vice versa); the common cases where no linker options are needed do
5938  # not appear in the list.
5939  echo 'int i;' > conftest.$ac_ext
5940  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5941  (eval $ac_compile) 2>&5
5942  ac_status=$?
5943  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5944  test $ac_status = 0; }; then
5945    case `/usr/bin/file conftest.o` in
5946      *32-bit*)
5947	case $host in
5948	  x86_64-*kfreebsd*-gnu)
5949	    LD="${LD-ld} -m elf_i386_fbsd"
5950	    ;;
5951	  x86_64-*linux*)
5952	    case `/usr/bin/file conftest.o` in
5953	      *x86-64*)
5954		LD="${LD-ld} -m elf32_x86_64"
5955		;;
5956	      *)
5957		LD="${LD-ld} -m elf_i386"
5958		;;
5959	    esac
5960	    ;;
5961	  powerpc64le-*linux*)
5962	    LD="${LD-ld} -m elf32lppclinux"
5963	    ;;
5964	  powerpc64-*linux*)
5965	    LD="${LD-ld} -m elf32ppclinux"
5966	    ;;
5967	  s390x-*linux*)
5968	    LD="${LD-ld} -m elf_s390"
5969	    ;;
5970	  sparc64-*linux*)
5971	    LD="${LD-ld} -m elf32_sparc"
5972	    ;;
5973	esac
5974	;;
5975      *64-bit*)
5976	case $host in
5977	  x86_64-*kfreebsd*-gnu)
5978	    LD="${LD-ld} -m elf_x86_64_fbsd"
5979	    ;;
5980	  x86_64-*linux*)
5981	    LD="${LD-ld} -m elf_x86_64"
5982	    ;;
5983	  powerpcle-*linux*)
5984	    LD="${LD-ld} -m elf64lppc"
5985	    ;;
5986	  powerpc-*linux*)
5987	    LD="${LD-ld} -m elf64ppc"
5988	    ;;
5989	  s390*-*linux*|s390*-*tpf*)
5990	    LD="${LD-ld} -m elf64_s390"
5991	    ;;
5992	  sparc*-*linux*)
5993	    LD="${LD-ld} -m elf64_sparc"
5994	    ;;
5995	esac
5996	;;
5997    esac
5998  fi
5999  rm -rf conftest*
6000  ;;
6001
6002*-*-sco3.2v5*)
6003  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6004  SAVE_CFLAGS=$CFLAGS
6005  CFLAGS="$CFLAGS -belf"
6006  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6007$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6008if ${lt_cv_cc_needs_belf+:} false; then :
6009  $as_echo_n "(cached) " >&6
6010else
6011  ac_ext=c
6012ac_cpp='$CPP $CPPFLAGS'
6013ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6014ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6015ac_compiler_gnu=$ac_cv_c_compiler_gnu
6016
6017     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6018/* end confdefs.h.  */
6019
6020int
6021main ()
6022{
6023
6024  ;
6025  return 0;
6026}
6027_ACEOF
6028if ac_fn_c_try_link "$LINENO"; then :
6029  lt_cv_cc_needs_belf=yes
6030else
6031  lt_cv_cc_needs_belf=no
6032fi
6033rm -f core conftest.err conftest.$ac_objext \
6034    conftest$ac_exeext conftest.$ac_ext
6035     ac_ext=c
6036ac_cpp='$CPP $CPPFLAGS'
6037ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6038ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6039ac_compiler_gnu=$ac_cv_c_compiler_gnu
6040
6041fi
6042{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6043$as_echo "$lt_cv_cc_needs_belf" >&6; }
6044  if test yes != "$lt_cv_cc_needs_belf"; then
6045    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6046    CFLAGS=$SAVE_CFLAGS
6047  fi
6048  ;;
6049*-*solaris*)
6050  # Find out what ABI is being produced by ac_compile, and set linker
6051  # options accordingly.
6052  echo 'int i;' > conftest.$ac_ext
6053  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6054  (eval $ac_compile) 2>&5
6055  ac_status=$?
6056  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6057  test $ac_status = 0; }; then
6058    case `/usr/bin/file conftest.o` in
6059    *64-bit*)
6060      case $lt_cv_prog_gnu_ld in
6061      yes*)
6062        case $host in
6063        i?86-*-solaris*|x86_64-*-solaris*)
6064          LD="${LD-ld} -m elf_x86_64"
6065          ;;
6066        sparc*-*-solaris*)
6067          LD="${LD-ld} -m elf64_sparc"
6068          ;;
6069        esac
6070        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6071        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6072          LD=${LD-ld}_sol2
6073        fi
6074        ;;
6075      *)
6076	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6077	  LD="${LD-ld} -64"
6078	fi
6079	;;
6080      esac
6081      ;;
6082    esac
6083  fi
6084  rm -rf conftest*
6085  ;;
6086esac
6087
6088need_locks=$enable_libtool_lock
6089
6090if test -n "$ac_tool_prefix"; then
6091  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6092set dummy ${ac_tool_prefix}mt; ac_word=$2
6093{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6094$as_echo_n "checking for $ac_word... " >&6; }
6095if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6096  $as_echo_n "(cached) " >&6
6097else
6098  if test -n "$MANIFEST_TOOL"; then
6099  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6100else
6101as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6102for as_dir in $PATH
6103do
6104  IFS=$as_save_IFS
6105  test -z "$as_dir" && as_dir=.
6106    for ac_exec_ext in '' $ac_executable_extensions; do
6107  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6108    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6109    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6110    break 2
6111  fi
6112done
6113  done
6114IFS=$as_save_IFS
6115
6116fi
6117fi
6118MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6119if test -n "$MANIFEST_TOOL"; then
6120  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6121$as_echo "$MANIFEST_TOOL" >&6; }
6122else
6123  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6124$as_echo "no" >&6; }
6125fi
6126
6127
6128fi
6129if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6130  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6131  # Extract the first word of "mt", so it can be a program name with args.
6132set dummy mt; ac_word=$2
6133{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6134$as_echo_n "checking for $ac_word... " >&6; }
6135if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6136  $as_echo_n "(cached) " >&6
6137else
6138  if test -n "$ac_ct_MANIFEST_TOOL"; then
6139  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6140else
6141as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6142for as_dir in $PATH
6143do
6144  IFS=$as_save_IFS
6145  test -z "$as_dir" && as_dir=.
6146    for ac_exec_ext in '' $ac_executable_extensions; do
6147  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6148    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6149    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6150    break 2
6151  fi
6152done
6153  done
6154IFS=$as_save_IFS
6155
6156fi
6157fi
6158ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6159if test -n "$ac_ct_MANIFEST_TOOL"; then
6160  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6161$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6162else
6163  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6164$as_echo "no" >&6; }
6165fi
6166
6167  if test "x$ac_ct_MANIFEST_TOOL" = x; then
6168    MANIFEST_TOOL=":"
6169  else
6170    case $cross_compiling:$ac_tool_warned in
6171yes:)
6172{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6173$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6174ac_tool_warned=yes ;;
6175esac
6176    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6177  fi
6178else
6179  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6180fi
6181
6182test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6183{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6184$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6185if ${lt_cv_path_mainfest_tool+:} false; then :
6186  $as_echo_n "(cached) " >&6
6187else
6188  lt_cv_path_mainfest_tool=no
6189  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6190  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6191  cat conftest.err >&5
6192  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6193    lt_cv_path_mainfest_tool=yes
6194  fi
6195  rm -f conftest*
6196fi
6197{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6198$as_echo "$lt_cv_path_mainfest_tool" >&6; }
6199if test yes != "$lt_cv_path_mainfest_tool"; then
6200  MANIFEST_TOOL=:
6201fi
6202
6203
6204
6205
6206
6207
6208  case $host_os in
6209    rhapsody* | darwin*)
6210    if test -n "$ac_tool_prefix"; then
6211  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6212set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6213{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6214$as_echo_n "checking for $ac_word... " >&6; }
6215if ${ac_cv_prog_DSYMUTIL+:} false; then :
6216  $as_echo_n "(cached) " >&6
6217else
6218  if test -n "$DSYMUTIL"; then
6219  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6220else
6221as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6222for as_dir in $PATH
6223do
6224  IFS=$as_save_IFS
6225  test -z "$as_dir" && as_dir=.
6226    for ac_exec_ext in '' $ac_executable_extensions; do
6227  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6228    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6229    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6230    break 2
6231  fi
6232done
6233  done
6234IFS=$as_save_IFS
6235
6236fi
6237fi
6238DSYMUTIL=$ac_cv_prog_DSYMUTIL
6239if test -n "$DSYMUTIL"; then
6240  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6241$as_echo "$DSYMUTIL" >&6; }
6242else
6243  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6244$as_echo "no" >&6; }
6245fi
6246
6247
6248fi
6249if test -z "$ac_cv_prog_DSYMUTIL"; then
6250  ac_ct_DSYMUTIL=$DSYMUTIL
6251  # Extract the first word of "dsymutil", so it can be a program name with args.
6252set dummy dsymutil; ac_word=$2
6253{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6254$as_echo_n "checking for $ac_word... " >&6; }
6255if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6256  $as_echo_n "(cached) " >&6
6257else
6258  if test -n "$ac_ct_DSYMUTIL"; then
6259  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6260else
6261as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6262for as_dir in $PATH
6263do
6264  IFS=$as_save_IFS
6265  test -z "$as_dir" && as_dir=.
6266    for ac_exec_ext in '' $ac_executable_extensions; do
6267  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6268    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6269    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6270    break 2
6271  fi
6272done
6273  done
6274IFS=$as_save_IFS
6275
6276fi
6277fi
6278ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6279if test -n "$ac_ct_DSYMUTIL"; then
6280  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6281$as_echo "$ac_ct_DSYMUTIL" >&6; }
6282else
6283  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6284$as_echo "no" >&6; }
6285fi
6286
6287  if test "x$ac_ct_DSYMUTIL" = x; then
6288    DSYMUTIL=":"
6289  else
6290    case $cross_compiling:$ac_tool_warned in
6291yes:)
6292{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6293$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6294ac_tool_warned=yes ;;
6295esac
6296    DSYMUTIL=$ac_ct_DSYMUTIL
6297  fi
6298else
6299  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6300fi
6301
6302    if test -n "$ac_tool_prefix"; then
6303  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6304set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6305{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6306$as_echo_n "checking for $ac_word... " >&6; }
6307if ${ac_cv_prog_NMEDIT+:} false; then :
6308  $as_echo_n "(cached) " >&6
6309else
6310  if test -n "$NMEDIT"; then
6311  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6312else
6313as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6314for as_dir in $PATH
6315do
6316  IFS=$as_save_IFS
6317  test -z "$as_dir" && as_dir=.
6318    for ac_exec_ext in '' $ac_executable_extensions; do
6319  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6320    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6321    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6322    break 2
6323  fi
6324done
6325  done
6326IFS=$as_save_IFS
6327
6328fi
6329fi
6330NMEDIT=$ac_cv_prog_NMEDIT
6331if test -n "$NMEDIT"; then
6332  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6333$as_echo "$NMEDIT" >&6; }
6334else
6335  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6336$as_echo "no" >&6; }
6337fi
6338
6339
6340fi
6341if test -z "$ac_cv_prog_NMEDIT"; then
6342  ac_ct_NMEDIT=$NMEDIT
6343  # Extract the first word of "nmedit", so it can be a program name with args.
6344set dummy nmedit; ac_word=$2
6345{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6346$as_echo_n "checking for $ac_word... " >&6; }
6347if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6348  $as_echo_n "(cached) " >&6
6349else
6350  if test -n "$ac_ct_NMEDIT"; then
6351  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6352else
6353as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6354for as_dir in $PATH
6355do
6356  IFS=$as_save_IFS
6357  test -z "$as_dir" && as_dir=.
6358    for ac_exec_ext in '' $ac_executable_extensions; do
6359  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6360    ac_cv_prog_ac_ct_NMEDIT="nmedit"
6361    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6362    break 2
6363  fi
6364done
6365  done
6366IFS=$as_save_IFS
6367
6368fi
6369fi
6370ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6371if test -n "$ac_ct_NMEDIT"; then
6372  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6373$as_echo "$ac_ct_NMEDIT" >&6; }
6374else
6375  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6376$as_echo "no" >&6; }
6377fi
6378
6379  if test "x$ac_ct_NMEDIT" = x; then
6380    NMEDIT=":"
6381  else
6382    case $cross_compiling:$ac_tool_warned in
6383yes:)
6384{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6385$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6386ac_tool_warned=yes ;;
6387esac
6388    NMEDIT=$ac_ct_NMEDIT
6389  fi
6390else
6391  NMEDIT="$ac_cv_prog_NMEDIT"
6392fi
6393
6394    if test -n "$ac_tool_prefix"; then
6395  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6396set dummy ${ac_tool_prefix}lipo; ac_word=$2
6397{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6398$as_echo_n "checking for $ac_word... " >&6; }
6399if ${ac_cv_prog_LIPO+:} false; then :
6400  $as_echo_n "(cached) " >&6
6401else
6402  if test -n "$LIPO"; then
6403  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6404else
6405as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6406for as_dir in $PATH
6407do
6408  IFS=$as_save_IFS
6409  test -z "$as_dir" && as_dir=.
6410    for ac_exec_ext in '' $ac_executable_extensions; do
6411  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6412    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6413    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6414    break 2
6415  fi
6416done
6417  done
6418IFS=$as_save_IFS
6419
6420fi
6421fi
6422LIPO=$ac_cv_prog_LIPO
6423if test -n "$LIPO"; then
6424  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6425$as_echo "$LIPO" >&6; }
6426else
6427  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6428$as_echo "no" >&6; }
6429fi
6430
6431
6432fi
6433if test -z "$ac_cv_prog_LIPO"; then
6434  ac_ct_LIPO=$LIPO
6435  # Extract the first word of "lipo", so it can be a program name with args.
6436set dummy lipo; ac_word=$2
6437{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6438$as_echo_n "checking for $ac_word... " >&6; }
6439if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6440  $as_echo_n "(cached) " >&6
6441else
6442  if test -n "$ac_ct_LIPO"; then
6443  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6444else
6445as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6446for as_dir in $PATH
6447do
6448  IFS=$as_save_IFS
6449  test -z "$as_dir" && as_dir=.
6450    for ac_exec_ext in '' $ac_executable_extensions; do
6451  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6452    ac_cv_prog_ac_ct_LIPO="lipo"
6453    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6454    break 2
6455  fi
6456done
6457  done
6458IFS=$as_save_IFS
6459
6460fi
6461fi
6462ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6463if test -n "$ac_ct_LIPO"; then
6464  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6465$as_echo "$ac_ct_LIPO" >&6; }
6466else
6467  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6468$as_echo "no" >&6; }
6469fi
6470
6471  if test "x$ac_ct_LIPO" = x; then
6472    LIPO=":"
6473  else
6474    case $cross_compiling:$ac_tool_warned in
6475yes:)
6476{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6477$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6478ac_tool_warned=yes ;;
6479esac
6480    LIPO=$ac_ct_LIPO
6481  fi
6482else
6483  LIPO="$ac_cv_prog_LIPO"
6484fi
6485
6486    if test -n "$ac_tool_prefix"; then
6487  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6488set dummy ${ac_tool_prefix}otool; ac_word=$2
6489{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6490$as_echo_n "checking for $ac_word... " >&6; }
6491if ${ac_cv_prog_OTOOL+:} false; then :
6492  $as_echo_n "(cached) " >&6
6493else
6494  if test -n "$OTOOL"; then
6495  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6496else
6497as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6498for as_dir in $PATH
6499do
6500  IFS=$as_save_IFS
6501  test -z "$as_dir" && as_dir=.
6502    for ac_exec_ext in '' $ac_executable_extensions; do
6503  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6504    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6505    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6506    break 2
6507  fi
6508done
6509  done
6510IFS=$as_save_IFS
6511
6512fi
6513fi
6514OTOOL=$ac_cv_prog_OTOOL
6515if test -n "$OTOOL"; then
6516  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6517$as_echo "$OTOOL" >&6; }
6518else
6519  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6520$as_echo "no" >&6; }
6521fi
6522
6523
6524fi
6525if test -z "$ac_cv_prog_OTOOL"; then
6526  ac_ct_OTOOL=$OTOOL
6527  # Extract the first word of "otool", so it can be a program name with args.
6528set dummy otool; ac_word=$2
6529{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6530$as_echo_n "checking for $ac_word... " >&6; }
6531if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
6532  $as_echo_n "(cached) " >&6
6533else
6534  if test -n "$ac_ct_OTOOL"; then
6535  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6536else
6537as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6538for as_dir in $PATH
6539do
6540  IFS=$as_save_IFS
6541  test -z "$as_dir" && as_dir=.
6542    for ac_exec_ext in '' $ac_executable_extensions; do
6543  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6544    ac_cv_prog_ac_ct_OTOOL="otool"
6545    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6546    break 2
6547  fi
6548done
6549  done
6550IFS=$as_save_IFS
6551
6552fi
6553fi
6554ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6555if test -n "$ac_ct_OTOOL"; then
6556  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6557$as_echo "$ac_ct_OTOOL" >&6; }
6558else
6559  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6560$as_echo "no" >&6; }
6561fi
6562
6563  if test "x$ac_ct_OTOOL" = x; then
6564    OTOOL=":"
6565  else
6566    case $cross_compiling:$ac_tool_warned in
6567yes:)
6568{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6569$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6570ac_tool_warned=yes ;;
6571esac
6572    OTOOL=$ac_ct_OTOOL
6573  fi
6574else
6575  OTOOL="$ac_cv_prog_OTOOL"
6576fi
6577
6578    if test -n "$ac_tool_prefix"; then
6579  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6580set dummy ${ac_tool_prefix}otool64; ac_word=$2
6581{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6582$as_echo_n "checking for $ac_word... " >&6; }
6583if ${ac_cv_prog_OTOOL64+:} false; then :
6584  $as_echo_n "(cached) " >&6
6585else
6586  if test -n "$OTOOL64"; then
6587  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6588else
6589as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6590for as_dir in $PATH
6591do
6592  IFS=$as_save_IFS
6593  test -z "$as_dir" && as_dir=.
6594    for ac_exec_ext in '' $ac_executable_extensions; do
6595  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6596    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6597    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6598    break 2
6599  fi
6600done
6601  done
6602IFS=$as_save_IFS
6603
6604fi
6605fi
6606OTOOL64=$ac_cv_prog_OTOOL64
6607if test -n "$OTOOL64"; then
6608  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6609$as_echo "$OTOOL64" >&6; }
6610else
6611  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6612$as_echo "no" >&6; }
6613fi
6614
6615
6616fi
6617if test -z "$ac_cv_prog_OTOOL64"; then
6618  ac_ct_OTOOL64=$OTOOL64
6619  # Extract the first word of "otool64", so it can be a program name with args.
6620set dummy otool64; ac_word=$2
6621{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6622$as_echo_n "checking for $ac_word... " >&6; }
6623if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
6624  $as_echo_n "(cached) " >&6
6625else
6626  if test -n "$ac_ct_OTOOL64"; then
6627  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6628else
6629as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6630for as_dir in $PATH
6631do
6632  IFS=$as_save_IFS
6633  test -z "$as_dir" && as_dir=.
6634    for ac_exec_ext in '' $ac_executable_extensions; do
6635  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6636    ac_cv_prog_ac_ct_OTOOL64="otool64"
6637    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6638    break 2
6639  fi
6640done
6641  done
6642IFS=$as_save_IFS
6643
6644fi
6645fi
6646ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6647if test -n "$ac_ct_OTOOL64"; then
6648  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6649$as_echo "$ac_ct_OTOOL64" >&6; }
6650else
6651  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6652$as_echo "no" >&6; }
6653fi
6654
6655  if test "x$ac_ct_OTOOL64" = x; then
6656    OTOOL64=":"
6657  else
6658    case $cross_compiling:$ac_tool_warned in
6659yes:)
6660{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6661$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6662ac_tool_warned=yes ;;
6663esac
6664    OTOOL64=$ac_ct_OTOOL64
6665  fi
6666else
6667  OTOOL64="$ac_cv_prog_OTOOL64"
6668fi
6669
6670
6671
6672
6673
6674
6675
6676
6677
6678
6679
6680
6681
6682
6683
6684
6685
6686
6687
6688
6689
6690
6691
6692
6693
6694
6695
6696    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6697$as_echo_n "checking for -single_module linker flag... " >&6; }
6698if ${lt_cv_apple_cc_single_mod+:} false; then :
6699  $as_echo_n "(cached) " >&6
6700else
6701  lt_cv_apple_cc_single_mod=no
6702      if test -z "$LT_MULTI_MODULE"; then
6703	# By default we will add the -single_module flag. You can override
6704	# by either setting the environment variable LT_MULTI_MODULE
6705	# non-empty at configure time, or by adding -multi_module to the
6706	# link flags.
6707	rm -rf libconftest.dylib*
6708	echo "int foo(void){return 1;}" > conftest.c
6709	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6710-dynamiclib -Wl,-single_module conftest.c" >&5
6711	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6712	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6713        _lt_result=$?
6714	# If there is a non-empty error log, and "single_module"
6715	# appears in it, assume the flag caused a linker warning
6716        if test -s conftest.err && $GREP single_module conftest.err; then
6717	  cat conftest.err >&5
6718	# Otherwise, if the output was created with a 0 exit code from
6719	# the compiler, it worked.
6720	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
6721	  lt_cv_apple_cc_single_mod=yes
6722	else
6723	  cat conftest.err >&5
6724	fi
6725	rm -rf libconftest.dylib*
6726	rm -f conftest.*
6727      fi
6728fi
6729{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
6730$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6731
6732    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
6733$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6734if ${lt_cv_ld_exported_symbols_list+:} false; then :
6735  $as_echo_n "(cached) " >&6
6736else
6737  lt_cv_ld_exported_symbols_list=no
6738      save_LDFLAGS=$LDFLAGS
6739      echo "_main" > conftest.sym
6740      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6741      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6742/* end confdefs.h.  */
6743
6744int
6745main ()
6746{
6747
6748  ;
6749  return 0;
6750}
6751_ACEOF
6752if ac_fn_c_try_link "$LINENO"; then :
6753  lt_cv_ld_exported_symbols_list=yes
6754else
6755  lt_cv_ld_exported_symbols_list=no
6756fi
6757rm -f core conftest.err conftest.$ac_objext \
6758    conftest$ac_exeext conftest.$ac_ext
6759	LDFLAGS=$save_LDFLAGS
6760
6761fi
6762{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
6763$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6764
6765    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
6766$as_echo_n "checking for -force_load linker flag... " >&6; }
6767if ${lt_cv_ld_force_load+:} false; then :
6768  $as_echo_n "(cached) " >&6
6769else
6770  lt_cv_ld_force_load=no
6771      cat > conftest.c << _LT_EOF
6772int forced_loaded() { return 2;}
6773_LT_EOF
6774      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
6775      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
6776      echo "$AR cr libconftest.a conftest.o" >&5
6777      $AR cr libconftest.a conftest.o 2>&5
6778      echo "$RANLIB libconftest.a" >&5
6779      $RANLIB libconftest.a 2>&5
6780      cat > conftest.c << _LT_EOF
6781int main() { return 0;}
6782_LT_EOF
6783      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
6784      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
6785      _lt_result=$?
6786      if test -s conftest.err && $GREP force_load conftest.err; then
6787	cat conftest.err >&5
6788      elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
6789	lt_cv_ld_force_load=yes
6790      else
6791	cat conftest.err >&5
6792      fi
6793        rm -f conftest.err libconftest.a conftest conftest.c
6794        rm -rf conftest.dSYM
6795
6796fi
6797{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
6798$as_echo "$lt_cv_ld_force_load" >&6; }
6799    case $host_os in
6800    rhapsody* | darwin1.[012])
6801      _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
6802    darwin1.*)
6803      _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
6804    darwin*) # darwin 5.x on
6805      # if running on 10.5 or later, the deployment target defaults
6806      # to the OS version, if on x86, and 10.4, the deployment
6807      # target defaults to 10.4. Don't you love it?
6808      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6809	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6810	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
6811	10.[012][,.]*)
6812	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
6813	10.*)
6814	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
6815      esac
6816    ;;
6817  esac
6818    if test yes = "$lt_cv_apple_cc_single_mod"; then
6819      _lt_dar_single_mod='$single_module'
6820    fi
6821    if test yes = "$lt_cv_ld_exported_symbols_list"; then
6822      _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
6823    else
6824      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
6825    fi
6826    if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
6827      _lt_dsymutil='~$DSYMUTIL $lib || :'
6828    else
6829      _lt_dsymutil=
6830    fi
6831    ;;
6832  esac
6833
6834# func_munge_path_list VARIABLE PATH
6835# -----------------------------------
6836# VARIABLE is name of variable containing _space_ separated list of
6837# directories to be munged by the contents of PATH, which is string
6838# having a format:
6839# "DIR[:DIR]:"
6840#       string "DIR[ DIR]" will be prepended to VARIABLE
6841# ":DIR[:DIR]"
6842#       string "DIR[ DIR]" will be appended to VARIABLE
6843# "DIRP[:DIRP]::[DIRA:]DIRA"
6844#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
6845#       "DIRA[ DIRA]" will be appended to VARIABLE
6846# "DIR[:DIR]"
6847#       VARIABLE will be replaced by "DIR[ DIR]"
6848func_munge_path_list ()
6849{
6850    case x$2 in
6851    x)
6852        ;;
6853    *:)
6854        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
6855        ;;
6856    x:*)
6857        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
6858        ;;
6859    *::*)
6860        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
6861        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
6862        ;;
6863    *)
6864        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
6865        ;;
6866    esac
6867}
6868
6869ac_ext=c
6870ac_cpp='$CPP $CPPFLAGS'
6871ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6872ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6873ac_compiler_gnu=$ac_cv_c_compiler_gnu
6874{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6875$as_echo_n "checking how to run the C preprocessor... " >&6; }
6876# On Suns, sometimes $CPP names a directory.
6877if test -n "$CPP" && test -d "$CPP"; then
6878  CPP=
6879fi
6880if test -z "$CPP"; then
6881  if ${ac_cv_prog_CPP+:} false; then :
6882  $as_echo_n "(cached) " >&6
6883else
6884      # Double quotes because CPP needs to be expanded
6885    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6886    do
6887      ac_preproc_ok=false
6888for ac_c_preproc_warn_flag in '' yes
6889do
6890  # Use a header file that comes with gcc, so configuring glibc
6891  # with a fresh cross-compiler works.
6892  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6893  # <limits.h> exists even on freestanding compilers.
6894  # On the NeXT, cc -E runs the code through the compiler's parser,
6895  # not just through cpp. "Syntax error" is here to catch this case.
6896  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6897/* end confdefs.h.  */
6898#ifdef __STDC__
6899# include <limits.h>
6900#else
6901# include <assert.h>
6902#endif
6903		     Syntax error
6904_ACEOF
6905if ac_fn_c_try_cpp "$LINENO"; then :
6906
6907else
6908  # Broken: fails on valid input.
6909continue
6910fi
6911rm -f conftest.err conftest.i conftest.$ac_ext
6912
6913  # OK, works on sane cases.  Now check whether nonexistent headers
6914  # can be detected and how.
6915  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6916/* end confdefs.h.  */
6917#include <ac_nonexistent.h>
6918_ACEOF
6919if ac_fn_c_try_cpp "$LINENO"; then :
6920  # Broken: success on invalid input.
6921continue
6922else
6923  # Passes both tests.
6924ac_preproc_ok=:
6925break
6926fi
6927rm -f conftest.err conftest.i conftest.$ac_ext
6928
6929done
6930# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6931rm -f conftest.i conftest.err conftest.$ac_ext
6932if $ac_preproc_ok; then :
6933  break
6934fi
6935
6936    done
6937    ac_cv_prog_CPP=$CPP
6938
6939fi
6940  CPP=$ac_cv_prog_CPP
6941else
6942  ac_cv_prog_CPP=$CPP
6943fi
6944{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6945$as_echo "$CPP" >&6; }
6946ac_preproc_ok=false
6947for ac_c_preproc_warn_flag in '' yes
6948do
6949  # Use a header file that comes with gcc, so configuring glibc
6950  # with a fresh cross-compiler works.
6951  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6952  # <limits.h> exists even on freestanding compilers.
6953  # On the NeXT, cc -E runs the code through the compiler's parser,
6954  # not just through cpp. "Syntax error" is here to catch this case.
6955  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6956/* end confdefs.h.  */
6957#ifdef __STDC__
6958# include <limits.h>
6959#else
6960# include <assert.h>
6961#endif
6962		     Syntax error
6963_ACEOF
6964if ac_fn_c_try_cpp "$LINENO"; then :
6965
6966else
6967  # Broken: fails on valid input.
6968continue
6969fi
6970rm -f conftest.err conftest.i conftest.$ac_ext
6971
6972  # OK, works on sane cases.  Now check whether nonexistent headers
6973  # can be detected and how.
6974  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6975/* end confdefs.h.  */
6976#include <ac_nonexistent.h>
6977_ACEOF
6978if ac_fn_c_try_cpp "$LINENO"; then :
6979  # Broken: success on invalid input.
6980continue
6981else
6982  # Passes both tests.
6983ac_preproc_ok=:
6984break
6985fi
6986rm -f conftest.err conftest.i conftest.$ac_ext
6987
6988done
6989# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6990rm -f conftest.i conftest.err conftest.$ac_ext
6991if $ac_preproc_ok; then :
6992
6993else
6994  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6995$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6996as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6997See \`config.log' for more details" "$LINENO" 5; }
6998fi
6999
7000ac_ext=c
7001ac_cpp='$CPP $CPPFLAGS'
7002ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7003ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7004ac_compiler_gnu=$ac_cv_c_compiler_gnu
7005
7006
7007{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7008$as_echo_n "checking for ANSI C header files... " >&6; }
7009if ${ac_cv_header_stdc+:} false; then :
7010  $as_echo_n "(cached) " >&6
7011else
7012  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7013/* end confdefs.h.  */
7014#include <stdlib.h>
7015#include <stdarg.h>
7016#include <string.h>
7017#include <float.h>
7018
7019int
7020main ()
7021{
7022
7023  ;
7024  return 0;
7025}
7026_ACEOF
7027if ac_fn_c_try_compile "$LINENO"; then :
7028  ac_cv_header_stdc=yes
7029else
7030  ac_cv_header_stdc=no
7031fi
7032rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7033
7034if test $ac_cv_header_stdc = yes; then
7035  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7036  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7037/* end confdefs.h.  */
7038#include <string.h>
7039
7040_ACEOF
7041if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7042  $EGREP "memchr" >/dev/null 2>&1; then :
7043
7044else
7045  ac_cv_header_stdc=no
7046fi
7047rm -f conftest*
7048
7049fi
7050
7051if test $ac_cv_header_stdc = yes; then
7052  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7053  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7054/* end confdefs.h.  */
7055#include <stdlib.h>
7056
7057_ACEOF
7058if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7059  $EGREP "free" >/dev/null 2>&1; then :
7060
7061else
7062  ac_cv_header_stdc=no
7063fi
7064rm -f conftest*
7065
7066fi
7067
7068if test $ac_cv_header_stdc = yes; then
7069  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7070  if test "$cross_compiling" = yes; then :
7071  :
7072else
7073  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7074/* end confdefs.h.  */
7075#include <ctype.h>
7076#include <stdlib.h>
7077#if ((' ' & 0x0FF) == 0x020)
7078# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7079# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7080#else
7081# define ISLOWER(c) \
7082		   (('a' <= (c) && (c) <= 'i') \
7083		     || ('j' <= (c) && (c) <= 'r') \
7084		     || ('s' <= (c) && (c) <= 'z'))
7085# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7086#endif
7087
7088#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7089int
7090main ()
7091{
7092  int i;
7093  for (i = 0; i < 256; i++)
7094    if (XOR (islower (i), ISLOWER (i))
7095	|| toupper (i) != TOUPPER (i))
7096      return 2;
7097  return 0;
7098}
7099_ACEOF
7100if ac_fn_c_try_run "$LINENO"; then :
7101
7102else
7103  ac_cv_header_stdc=no
7104fi
7105rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7106  conftest.$ac_objext conftest.beam conftest.$ac_ext
7107fi
7108
7109fi
7110fi
7111{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7112$as_echo "$ac_cv_header_stdc" >&6; }
7113if test $ac_cv_header_stdc = yes; then
7114
7115$as_echo "#define STDC_HEADERS 1" >>confdefs.h
7116
7117fi
7118
7119# On IRIX 5.3, sys/types and inttypes.h are conflicting.
7120for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7121		  inttypes.h stdint.h unistd.h
7122do :
7123  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7124ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7125"
7126if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7127  cat >>confdefs.h <<_ACEOF
7128#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7129_ACEOF
7130
7131fi
7132
7133done
7134
7135
7136for ac_header in dlfcn.h
7137do :
7138  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7139"
7140if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7141  cat >>confdefs.h <<_ACEOF
7142#define HAVE_DLFCN_H 1
7143_ACEOF
7144
7145fi
7146
7147done
7148
7149
7150
7151
7152
7153# Set options
7154# Check whether --enable-static was given.
7155if test "${enable_static+set}" = set; then :
7156  enableval=$enable_static; p=${PACKAGE-default}
7157    case $enableval in
7158    yes) enable_static=yes ;;
7159    no) enable_static=no ;;
7160    *)
7161     enable_static=no
7162      # Look at the argument we got.  We use all the common list separators.
7163      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
7164      for pkg in $enableval; do
7165	IFS=$lt_save_ifs
7166	if test "X$pkg" = "X$p"; then
7167	  enable_static=yes
7168	fi
7169      done
7170      IFS=$lt_save_ifs
7171      ;;
7172    esac
7173else
7174  enable_static=no
7175fi
7176
7177
7178
7179
7180
7181
7182
7183
7184
7185
7186        enable_dlopen=no
7187
7188
7189  enable_win32_dll=no
7190
7191
7192            # Check whether --enable-shared was given.
7193if test "${enable_shared+set}" = set; then :
7194  enableval=$enable_shared; p=${PACKAGE-default}
7195    case $enableval in
7196    yes) enable_shared=yes ;;
7197    no) enable_shared=no ;;
7198    *)
7199      enable_shared=no
7200      # Look at the argument we got.  We use all the common list separators.
7201      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
7202      for pkg in $enableval; do
7203	IFS=$lt_save_ifs
7204	if test "X$pkg" = "X$p"; then
7205	  enable_shared=yes
7206	fi
7207      done
7208      IFS=$lt_save_ifs
7209      ;;
7210    esac
7211else
7212  enable_shared=yes
7213fi
7214
7215
7216
7217
7218
7219
7220
7221
7222
7223
7224
7225# Check whether --with-pic was given.
7226if test "${with_pic+set}" = set; then :
7227  withval=$with_pic; lt_p=${PACKAGE-default}
7228    case $withval in
7229    yes|no) pic_mode=$withval ;;
7230    *)
7231      pic_mode=default
7232      # Look at the argument we got.  We use all the common list separators.
7233      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
7234      for lt_pkg in $withval; do
7235	IFS=$lt_save_ifs
7236	if test "X$lt_pkg" = "X$lt_p"; then
7237	  pic_mode=yes
7238	fi
7239      done
7240      IFS=$lt_save_ifs
7241      ;;
7242    esac
7243else
7244  pic_mode=default
7245fi
7246
7247
7248
7249
7250
7251
7252
7253
7254  # Check whether --enable-fast-install was given.
7255if test "${enable_fast_install+set}" = set; then :
7256  enableval=$enable_fast_install; p=${PACKAGE-default}
7257    case $enableval in
7258    yes) enable_fast_install=yes ;;
7259    no) enable_fast_install=no ;;
7260    *)
7261      enable_fast_install=no
7262      # Look at the argument we got.  We use all the common list separators.
7263      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
7264      for pkg in $enableval; do
7265	IFS=$lt_save_ifs
7266	if test "X$pkg" = "X$p"; then
7267	  enable_fast_install=yes
7268	fi
7269      done
7270      IFS=$lt_save_ifs
7271      ;;
7272    esac
7273else
7274  enable_fast_install=yes
7275fi
7276
7277
7278
7279
7280
7281
7282
7283
7284  shared_archive_member_spec=
7285case $host,$enable_shared in
7286power*-*-aix[5-9]*,yes)
7287  { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
7288$as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
7289
7290# Check whether --with-aix-soname was given.
7291if test "${with_aix_soname+set}" = set; then :
7292  withval=$with_aix_soname; case $withval in
7293    aix|svr4|both)
7294      ;;
7295    *)
7296      as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
7297      ;;
7298    esac
7299    lt_cv_with_aix_soname=$with_aix_soname
7300else
7301  if ${lt_cv_with_aix_soname+:} false; then :
7302  $as_echo_n "(cached) " >&6
7303else
7304  lt_cv_with_aix_soname=aix
7305fi
7306
7307    with_aix_soname=$lt_cv_with_aix_soname
7308fi
7309
7310  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
7311$as_echo "$with_aix_soname" >&6; }
7312  if test aix != "$with_aix_soname"; then
7313    # For the AIX way of multilib, we name the shared archive member
7314    # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
7315    # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
7316    # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
7317    # the AIX toolchain works better with OBJECT_MODE set (default 32).
7318    if test 64 = "${OBJECT_MODE-32}"; then
7319      shared_archive_member_spec=shr_64
7320    else
7321      shared_archive_member_spec=shr
7322    fi
7323  fi
7324  ;;
7325*)
7326  with_aix_soname=aix
7327  ;;
7328esac
7329
7330
7331
7332
7333
7334
7335
7336
7337
7338
7339# This can be used to rebuild libtool when needed
7340LIBTOOL_DEPS=$ltmain
7341
7342# Always use our own libtool.
7343LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7344
7345
7346
7347
7348
7349
7350
7351
7352
7353
7354
7355
7356
7357
7358
7359
7360
7361
7362
7363
7364
7365
7366
7367
7368
7369
7370
7371
7372
7373
7374test -z "$LN_S" && LN_S="ln -s"
7375
7376
7377
7378
7379
7380
7381
7382
7383
7384
7385
7386
7387
7388
7389if test -n "${ZSH_VERSION+set}"; then
7390   setopt NO_GLOB_SUBST
7391fi
7392
7393{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7394$as_echo_n "checking for objdir... " >&6; }
7395if ${lt_cv_objdir+:} false; then :
7396  $as_echo_n "(cached) " >&6
7397else
7398  rm -f .libs 2>/dev/null
7399mkdir .libs 2>/dev/null
7400if test -d .libs; then
7401  lt_cv_objdir=.libs
7402else
7403  # MS-DOS does not allow filenames that begin with a dot.
7404  lt_cv_objdir=_libs
7405fi
7406rmdir .libs 2>/dev/null
7407fi
7408{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7409$as_echo "$lt_cv_objdir" >&6; }
7410objdir=$lt_cv_objdir
7411
7412
7413
7414
7415
7416cat >>confdefs.h <<_ACEOF
7417#define LT_OBJDIR "$lt_cv_objdir/"
7418_ACEOF
7419
7420
7421
7422
7423case $host_os in
7424aix3*)
7425  # AIX sometimes has problems with the GCC collect2 program.  For some
7426  # reason, if we set the COLLECT_NAMES environment variable, the problems
7427  # vanish in a puff of smoke.
7428  if test set != "${COLLECT_NAMES+set}"; then
7429    COLLECT_NAMES=
7430    export COLLECT_NAMES
7431  fi
7432  ;;
7433esac
7434
7435# Global variables:
7436ofile=libtool
7437can_build_shared=yes
7438
7439# All known linkers require a '.a' archive for static linking (except MSVC,
7440# which needs '.lib').
7441libext=a
7442
7443with_gnu_ld=$lt_cv_prog_gnu_ld
7444
7445old_CC=$CC
7446old_CFLAGS=$CFLAGS
7447
7448# Set sane defaults for various variables
7449test -z "$CC" && CC=cc
7450test -z "$LTCC" && LTCC=$CC
7451test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7452test -z "$LD" && LD=ld
7453test -z "$ac_objext" && ac_objext=o
7454
7455func_cc_basename $compiler
7456cc_basename=$func_cc_basename_result
7457
7458
7459# Only perform the check for file, if the check method requires it
7460test -z "$MAGIC_CMD" && MAGIC_CMD=file
7461case $deplibs_check_method in
7462file_magic*)
7463  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7464    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7465$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7466if ${lt_cv_path_MAGIC_CMD+:} false; then :
7467  $as_echo_n "(cached) " >&6
7468else
7469  case $MAGIC_CMD in
7470[\\/*] |  ?:[\\/]*)
7471  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
7472  ;;
7473*)
7474  lt_save_MAGIC_CMD=$MAGIC_CMD
7475  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
7476  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7477  for ac_dir in $ac_dummy; do
7478    IFS=$lt_save_ifs
7479    test -z "$ac_dir" && ac_dir=.
7480    if test -f "$ac_dir/${ac_tool_prefix}file"; then
7481      lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
7482      if test -n "$file_magic_test_file"; then
7483	case $deplibs_check_method in
7484	"file_magic "*)
7485	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7486	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
7487	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7488	    $EGREP "$file_magic_regex" > /dev/null; then
7489	    :
7490	  else
7491	    cat <<_LT_EOF 1>&2
7492
7493*** Warning: the command libtool uses to detect shared libraries,
7494*** $file_magic_cmd, produces output that libtool cannot recognize.
7495*** The result is that libtool may fail to recognize shared libraries
7496*** as such.  This will affect the creation of libtool libraries that
7497*** depend on shared libraries, but programs linked with such libtool
7498*** libraries will work regardless of this problem.  Nevertheless, you
7499*** may want to report the problem to your system manager and/or to
7500*** bug-libtool@gnu.org
7501
7502_LT_EOF
7503	  fi ;;
7504	esac
7505      fi
7506      break
7507    fi
7508  done
7509  IFS=$lt_save_ifs
7510  MAGIC_CMD=$lt_save_MAGIC_CMD
7511  ;;
7512esac
7513fi
7514
7515MAGIC_CMD=$lt_cv_path_MAGIC_CMD
7516if test -n "$MAGIC_CMD"; then
7517  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7518$as_echo "$MAGIC_CMD" >&6; }
7519else
7520  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7521$as_echo "no" >&6; }
7522fi
7523
7524
7525
7526
7527
7528if test -z "$lt_cv_path_MAGIC_CMD"; then
7529  if test -n "$ac_tool_prefix"; then
7530    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7531$as_echo_n "checking for file... " >&6; }
7532if ${lt_cv_path_MAGIC_CMD+:} false; then :
7533  $as_echo_n "(cached) " >&6
7534else
7535  case $MAGIC_CMD in
7536[\\/*] |  ?:[\\/]*)
7537  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
7538  ;;
7539*)
7540  lt_save_MAGIC_CMD=$MAGIC_CMD
7541  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
7542  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7543  for ac_dir in $ac_dummy; do
7544    IFS=$lt_save_ifs
7545    test -z "$ac_dir" && ac_dir=.
7546    if test -f "$ac_dir/file"; then
7547      lt_cv_path_MAGIC_CMD=$ac_dir/"file"
7548      if test -n "$file_magic_test_file"; then
7549	case $deplibs_check_method in
7550	"file_magic "*)
7551	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7552	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
7553	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7554	    $EGREP "$file_magic_regex" > /dev/null; then
7555	    :
7556	  else
7557	    cat <<_LT_EOF 1>&2
7558
7559*** Warning: the command libtool uses to detect shared libraries,
7560*** $file_magic_cmd, produces output that libtool cannot recognize.
7561*** The result is that libtool may fail to recognize shared libraries
7562*** as such.  This will affect the creation of libtool libraries that
7563*** depend on shared libraries, but programs linked with such libtool
7564*** libraries will work regardless of this problem.  Nevertheless, you
7565*** may want to report the problem to your system manager and/or to
7566*** bug-libtool@gnu.org
7567
7568_LT_EOF
7569	  fi ;;
7570	esac
7571      fi
7572      break
7573    fi
7574  done
7575  IFS=$lt_save_ifs
7576  MAGIC_CMD=$lt_save_MAGIC_CMD
7577  ;;
7578esac
7579fi
7580
7581MAGIC_CMD=$lt_cv_path_MAGIC_CMD
7582if test -n "$MAGIC_CMD"; then
7583  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7584$as_echo "$MAGIC_CMD" >&6; }
7585else
7586  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7587$as_echo "no" >&6; }
7588fi
7589
7590
7591  else
7592    MAGIC_CMD=:
7593  fi
7594fi
7595
7596  fi
7597  ;;
7598esac
7599
7600# Use C for the default configuration in the libtool script
7601
7602lt_save_CC=$CC
7603ac_ext=c
7604ac_cpp='$CPP $CPPFLAGS'
7605ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7606ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7607ac_compiler_gnu=$ac_cv_c_compiler_gnu
7608
7609
7610# Source file extension for C test sources.
7611ac_ext=c
7612
7613# Object file extension for compiled C test sources.
7614objext=o
7615objext=$objext
7616
7617# Code to be used in simple compile tests
7618lt_simple_compile_test_code="int some_variable = 0;"
7619
7620# Code to be used in simple link tests
7621lt_simple_link_test_code='int main(){return(0);}'
7622
7623
7624
7625
7626
7627
7628
7629# If no C compiler was specified, use CC.
7630LTCC=${LTCC-"$CC"}
7631
7632# If no C compiler flags were specified, use CFLAGS.
7633LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7634
7635# Allow CC to be a program name with arguments.
7636compiler=$CC
7637
7638# Save the default compiler, since it gets overwritten when the other
7639# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7640compiler_DEFAULT=$CC
7641
7642# save warnings/boilerplate of simple test code
7643ac_outfile=conftest.$ac_objext
7644echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7645eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7646_lt_compiler_boilerplate=`cat conftest.err`
7647$RM conftest*
7648
7649ac_outfile=conftest.$ac_objext
7650echo "$lt_simple_link_test_code" >conftest.$ac_ext
7651eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7652_lt_linker_boilerplate=`cat conftest.err`
7653$RM -r conftest*
7654
7655
7656if test -n "$compiler"; then
7657
7658lt_prog_compiler_no_builtin_flag=
7659
7660if test yes = "$GCC"; then
7661  case $cc_basename in
7662  nvcc*)
7663    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
7664  *)
7665    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
7666  esac
7667
7668  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7669$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7670if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
7671  $as_echo_n "(cached) " >&6
7672else
7673  lt_cv_prog_compiler_rtti_exceptions=no
7674   ac_outfile=conftest.$ac_objext
7675   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7676   lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
7677   # Insert the option either (1) after the last *FLAGS variable, or
7678   # (2) before a word containing "conftest.", or (3) at the end.
7679   # Note that $ac_compile itself does not contain backslashes and begins
7680   # with a dollar sign (not a hyphen), so the echo should work correctly.
7681   # The option is referenced via a variable to avoid confusing sed.
7682   lt_compile=`echo "$ac_compile" | $SED \
7683   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7684   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7685   -e 's:$: $lt_compiler_flag:'`
7686   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7687   (eval "$lt_compile" 2>conftest.err)
7688   ac_status=$?
7689   cat conftest.err >&5
7690   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7691   if (exit $ac_status) && test -s "$ac_outfile"; then
7692     # The compiler can only warn and ignore the option if not recognized
7693     # So say no if there are warnings other than the usual output.
7694     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7695     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7696     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7697       lt_cv_prog_compiler_rtti_exceptions=yes
7698     fi
7699   fi
7700   $RM conftest*
7701
7702fi
7703{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7704$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7705
7706if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
7707    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7708else
7709    :
7710fi
7711
7712fi
7713
7714
7715
7716
7717
7718
7719  lt_prog_compiler_wl=
7720lt_prog_compiler_pic=
7721lt_prog_compiler_static=
7722
7723
7724  if test yes = "$GCC"; then
7725    lt_prog_compiler_wl='-Wl,'
7726    lt_prog_compiler_static='-static'
7727
7728    case $host_os in
7729      aix*)
7730      # All AIX code is PIC.
7731      if test ia64 = "$host_cpu"; then
7732	# AIX 5 now supports IA64 processor
7733	lt_prog_compiler_static='-Bstatic'
7734      fi
7735      lt_prog_compiler_pic='-fPIC'
7736      ;;
7737
7738    amigaos*)
7739      case $host_cpu in
7740      powerpc)
7741            # see comment about AmigaOS4 .so support
7742            lt_prog_compiler_pic='-fPIC'
7743        ;;
7744      m68k)
7745            # FIXME: we need at least 68020 code to build shared libraries, but
7746            # adding the '-m68020' flag to GCC prevents building anything better,
7747            # like '-m68040'.
7748            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7749        ;;
7750      esac
7751      ;;
7752
7753    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7754      # PIC is the default for these OSes.
7755      ;;
7756
7757    mingw* | cygwin* | pw32* | os2* | cegcc*)
7758      # This hack is so that the source file can tell whether it is being
7759      # built for inclusion in a dll (and should export symbols for example).
7760      # Although the cygwin gcc ignores -fPIC, still need this for old-style
7761      # (--disable-auto-import) libraries
7762      lt_prog_compiler_pic='-DDLL_EXPORT'
7763      case $host_os in
7764      os2*)
7765	lt_prog_compiler_static='$wl-static'
7766	;;
7767      esac
7768      ;;
7769
7770    darwin* | rhapsody*)
7771      # PIC is the default on this platform
7772      # Common symbols not allowed in MH_DYLIB files
7773      lt_prog_compiler_pic='-fno-common'
7774      ;;
7775
7776    haiku*)
7777      # PIC is the default for Haiku.
7778      # The "-static" flag exists, but is broken.
7779      lt_prog_compiler_static=
7780      ;;
7781
7782    hpux*)
7783      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7784      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
7785      # sets the default TLS model and affects inlining.
7786      case $host_cpu in
7787      hppa*64*)
7788	# +Z the default
7789	;;
7790      *)
7791	lt_prog_compiler_pic='-fPIC'
7792	;;
7793      esac
7794      ;;
7795
7796    interix[3-9]*)
7797      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7798      # Instead, we relocate shared libraries at runtime.
7799      ;;
7800
7801    msdosdjgpp*)
7802      # Just because we use GCC doesn't mean we suddenly get shared libraries
7803      # on systems that don't support them.
7804      lt_prog_compiler_can_build_shared=no
7805      enable_shared=no
7806      ;;
7807
7808    *nto* | *qnx*)
7809      # QNX uses GNU C++, but need to define -shared option too, otherwise
7810      # it will coredump.
7811      lt_prog_compiler_pic='-fPIC -shared'
7812      ;;
7813
7814    sysv4*MP*)
7815      if test -d /usr/nec; then
7816	lt_prog_compiler_pic=-Kconform_pic
7817      fi
7818      ;;
7819
7820    *)
7821      lt_prog_compiler_pic='-fPIC'
7822      ;;
7823    esac
7824
7825    case $cc_basename in
7826    nvcc*) # Cuda Compiler Driver 2.2
7827      lt_prog_compiler_wl='-Xlinker '
7828      if test -n "$lt_prog_compiler_pic"; then
7829        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
7830      fi
7831      ;;
7832    esac
7833  else
7834    # PORTME Check for flag to pass linker flags through the system compiler.
7835    case $host_os in
7836    aix*)
7837      lt_prog_compiler_wl='-Wl,'
7838      if test ia64 = "$host_cpu"; then
7839	# AIX 5 now supports IA64 processor
7840	lt_prog_compiler_static='-Bstatic'
7841      else
7842	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7843      fi
7844      ;;
7845
7846    darwin* | rhapsody*)
7847      # PIC is the default on this platform
7848      # Common symbols not allowed in MH_DYLIB files
7849      lt_prog_compiler_pic='-fno-common'
7850      case $cc_basename in
7851      nagfor*)
7852        # NAG Fortran compiler
7853        lt_prog_compiler_wl='-Wl,-Wl,,'
7854        lt_prog_compiler_pic='-PIC'
7855        lt_prog_compiler_static='-Bstatic'
7856        ;;
7857      esac
7858      ;;
7859
7860    mingw* | cygwin* | pw32* | os2* | cegcc*)
7861      # This hack is so that the source file can tell whether it is being
7862      # built for inclusion in a dll (and should export symbols for example).
7863      lt_prog_compiler_pic='-DDLL_EXPORT'
7864      case $host_os in
7865      os2*)
7866	lt_prog_compiler_static='$wl-static'
7867	;;
7868      esac
7869      ;;
7870
7871    hpux9* | hpux10* | hpux11*)
7872      lt_prog_compiler_wl='-Wl,'
7873      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7874      # not for PA HP-UX.
7875      case $host_cpu in
7876      hppa*64*|ia64*)
7877	# +Z the default
7878	;;
7879      *)
7880	lt_prog_compiler_pic='+Z'
7881	;;
7882      esac
7883      # Is there a better lt_prog_compiler_static that works with the bundled CC?
7884      lt_prog_compiler_static='$wl-a ${wl}archive'
7885      ;;
7886
7887    irix5* | irix6* | nonstopux*)
7888      lt_prog_compiler_wl='-Wl,'
7889      # PIC (with -KPIC) is the default.
7890      lt_prog_compiler_static='-non_shared'
7891      ;;
7892
7893    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
7894      case $cc_basename in
7895      # old Intel for x86_64, which still supported -KPIC.
7896      ecc*)
7897	lt_prog_compiler_wl='-Wl,'
7898	lt_prog_compiler_pic='-KPIC'
7899	lt_prog_compiler_static='-static'
7900        ;;
7901      # flang / f18. f95 an alias for gfortran or flang on Debian
7902      flang* | f18* | f95*)
7903	lt_prog_compiler_wl='-Wl,'
7904	lt_prog_compiler_pic='-fPIC'
7905	lt_prog_compiler_static='-static'
7906        ;;
7907      # icc used to be incompatible with GCC.
7908      # ICC 10 doesn't accept -KPIC any more.
7909      icc* | ifort*)
7910	lt_prog_compiler_wl='-Wl,'
7911	lt_prog_compiler_pic='-fPIC'
7912	lt_prog_compiler_static='-static'
7913        ;;
7914      # Lahey Fortran 8.1.
7915      lf95*)
7916	lt_prog_compiler_wl='-Wl,'
7917	lt_prog_compiler_pic='--shared'
7918	lt_prog_compiler_static='--static'
7919	;;
7920      nagfor*)
7921	# NAG Fortran compiler
7922	lt_prog_compiler_wl='-Wl,-Wl,,'
7923	lt_prog_compiler_pic='-PIC'
7924	lt_prog_compiler_static='-Bstatic'
7925	;;
7926      tcc*)
7927	# Fabrice Bellard et al's Tiny C Compiler
7928	lt_prog_compiler_wl='-Wl,'
7929	lt_prog_compiler_pic='-fPIC'
7930	lt_prog_compiler_static='-static'
7931	;;
7932      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
7933        # Portland Group compilers (*not* the Pentium gcc compiler,
7934	# which looks to be a dead project)
7935	lt_prog_compiler_wl='-Wl,'
7936	lt_prog_compiler_pic='-fpic'
7937	lt_prog_compiler_static='-Bstatic'
7938        ;;
7939      ccc*)
7940        lt_prog_compiler_wl='-Wl,'
7941        # All Alpha code is PIC.
7942        lt_prog_compiler_static='-non_shared'
7943        ;;
7944      xl* | bgxl* | bgf* | mpixl*)
7945	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
7946	lt_prog_compiler_wl='-Wl,'
7947	lt_prog_compiler_pic='-qpic'
7948	lt_prog_compiler_static='-qstaticlink'
7949	;;
7950      *)
7951	case `$CC -V 2>&1 | sed 5q` in
7952	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
7953	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
7954	  lt_prog_compiler_pic='-KPIC'
7955	  lt_prog_compiler_static='-Bstatic'
7956	  lt_prog_compiler_wl=''
7957	  ;;
7958	*Sun\ F* | *Sun*Fortran*)
7959	  lt_prog_compiler_pic='-KPIC'
7960	  lt_prog_compiler_static='-Bstatic'
7961	  lt_prog_compiler_wl='-Qoption ld '
7962	  ;;
7963	*Sun\ C*)
7964	  # Sun C 5.9
7965	  lt_prog_compiler_pic='-KPIC'
7966	  lt_prog_compiler_static='-Bstatic'
7967	  lt_prog_compiler_wl='-Wl,'
7968	  ;;
7969        *Intel*\ [CF]*Compiler*)
7970	  lt_prog_compiler_wl='-Wl,'
7971	  lt_prog_compiler_pic='-fPIC'
7972	  lt_prog_compiler_static='-static'
7973	  ;;
7974	*Portland\ Group*)
7975	  lt_prog_compiler_wl='-Wl,'
7976	  lt_prog_compiler_pic='-fpic'
7977	  lt_prog_compiler_static='-Bstatic'
7978	  ;;
7979	esac
7980	;;
7981      esac
7982      ;;
7983
7984    newsos6)
7985      lt_prog_compiler_pic='-KPIC'
7986      lt_prog_compiler_static='-Bstatic'
7987      ;;
7988
7989    *nto* | *qnx*)
7990      # QNX uses GNU C++, but need to define -shared option too, otherwise
7991      # it will coredump.
7992      lt_prog_compiler_pic='-fPIC -shared'
7993      ;;
7994
7995    osf3* | osf4* | osf5*)
7996      lt_prog_compiler_wl='-Wl,'
7997      # All OSF/1 code is PIC.
7998      lt_prog_compiler_static='-non_shared'
7999      ;;
8000
8001    rdos*)
8002      lt_prog_compiler_static='-non_shared'
8003      ;;
8004
8005    solaris*)
8006      lt_prog_compiler_pic='-KPIC'
8007      lt_prog_compiler_static='-Bstatic'
8008      case $cc_basename in
8009      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8010	lt_prog_compiler_wl='-Qoption ld ';;
8011      *)
8012	lt_prog_compiler_wl='-Wl,';;
8013      esac
8014      ;;
8015
8016    sunos4*)
8017      lt_prog_compiler_wl='-Qoption ld '
8018      lt_prog_compiler_pic='-PIC'
8019      lt_prog_compiler_static='-Bstatic'
8020      ;;
8021
8022    sysv4 | sysv4.2uw2* | sysv4.3*)
8023      lt_prog_compiler_wl='-Wl,'
8024      lt_prog_compiler_pic='-KPIC'
8025      lt_prog_compiler_static='-Bstatic'
8026      ;;
8027
8028    sysv4*MP*)
8029      if test -d /usr/nec; then
8030	lt_prog_compiler_pic='-Kconform_pic'
8031	lt_prog_compiler_static='-Bstatic'
8032      fi
8033      ;;
8034
8035    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8036      lt_prog_compiler_wl='-Wl,'
8037      lt_prog_compiler_pic='-KPIC'
8038      lt_prog_compiler_static='-Bstatic'
8039      ;;
8040
8041    unicos*)
8042      lt_prog_compiler_wl='-Wl,'
8043      lt_prog_compiler_can_build_shared=no
8044      ;;
8045
8046    uts4*)
8047      lt_prog_compiler_pic='-pic'
8048      lt_prog_compiler_static='-Bstatic'
8049      ;;
8050
8051    *)
8052      lt_prog_compiler_can_build_shared=no
8053      ;;
8054    esac
8055  fi
8056
8057case $host_os in
8058  # For platforms that do not support PIC, -DPIC is meaningless:
8059  *djgpp*)
8060    lt_prog_compiler_pic=
8061    ;;
8062  *)
8063    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8064    ;;
8065esac
8066
8067{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8068$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8069if ${lt_cv_prog_compiler_pic+:} false; then :
8070  $as_echo_n "(cached) " >&6
8071else
8072  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8073fi
8074{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8075$as_echo "$lt_cv_prog_compiler_pic" >&6; }
8076lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8077
8078#
8079# Check to make sure the PIC flag actually works.
8080#
8081if test -n "$lt_prog_compiler_pic"; then
8082  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8083$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8084if ${lt_cv_prog_compiler_pic_works+:} false; then :
8085  $as_echo_n "(cached) " >&6
8086else
8087  lt_cv_prog_compiler_pic_works=no
8088   ac_outfile=conftest.$ac_objext
8089   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8090   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
8091   # Insert the option either (1) after the last *FLAGS variable, or
8092   # (2) before a word containing "conftest.", or (3) at the end.
8093   # Note that $ac_compile itself does not contain backslashes and begins
8094   # with a dollar sign (not a hyphen), so the echo should work correctly.
8095   # The option is referenced via a variable to avoid confusing sed.
8096   lt_compile=`echo "$ac_compile" | $SED \
8097   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8098   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8099   -e 's:$: $lt_compiler_flag:'`
8100   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8101   (eval "$lt_compile" 2>conftest.err)
8102   ac_status=$?
8103   cat conftest.err >&5
8104   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8105   if (exit $ac_status) && test -s "$ac_outfile"; then
8106     # The compiler can only warn and ignore the option if not recognized
8107     # So say no if there are warnings other than the usual output.
8108     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8109     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8110     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8111       lt_cv_prog_compiler_pic_works=yes
8112     fi
8113   fi
8114   $RM conftest*
8115
8116fi
8117{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8118$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8119
8120if test yes = "$lt_cv_prog_compiler_pic_works"; then
8121    case $lt_prog_compiler_pic in
8122     "" | " "*) ;;
8123     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8124     esac
8125else
8126    lt_prog_compiler_pic=
8127     lt_prog_compiler_can_build_shared=no
8128fi
8129
8130fi
8131
8132
8133
8134
8135
8136
8137
8138
8139
8140
8141
8142#
8143# Check to make sure the static flag actually works.
8144#
8145wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8146{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8147$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8148if ${lt_cv_prog_compiler_static_works+:} false; then :
8149  $as_echo_n "(cached) " >&6
8150else
8151  lt_cv_prog_compiler_static_works=no
8152   save_LDFLAGS=$LDFLAGS
8153   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8154   echo "$lt_simple_link_test_code" > conftest.$ac_ext
8155   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8156     # The linker can only warn and ignore the option if not recognized
8157     # So say no if there are warnings
8158     if test -s conftest.err; then
8159       # Append any errors to the config.log.
8160       cat conftest.err 1>&5
8161       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8162       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8163       if diff conftest.exp conftest.er2 >/dev/null; then
8164         lt_cv_prog_compiler_static_works=yes
8165       fi
8166     else
8167       lt_cv_prog_compiler_static_works=yes
8168     fi
8169   fi
8170   $RM -r conftest*
8171   LDFLAGS=$save_LDFLAGS
8172
8173fi
8174{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8175$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8176
8177if test yes = "$lt_cv_prog_compiler_static_works"; then
8178    :
8179else
8180    lt_prog_compiler_static=
8181fi
8182
8183
8184
8185
8186
8187
8188
8189  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8190$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8191if ${lt_cv_prog_compiler_c_o+:} false; then :
8192  $as_echo_n "(cached) " >&6
8193else
8194  lt_cv_prog_compiler_c_o=no
8195   $RM -r conftest 2>/dev/null
8196   mkdir conftest
8197   cd conftest
8198   mkdir out
8199   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8200
8201   lt_compiler_flag="-o out/conftest2.$ac_objext"
8202   # Insert the option either (1) after the last *FLAGS variable, or
8203   # (2) before a word containing "conftest.", or (3) at the end.
8204   # Note that $ac_compile itself does not contain backslashes and begins
8205   # with a dollar sign (not a hyphen), so the echo should work correctly.
8206   lt_compile=`echo "$ac_compile" | $SED \
8207   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8208   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8209   -e 's:$: $lt_compiler_flag:'`
8210   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8211   (eval "$lt_compile" 2>out/conftest.err)
8212   ac_status=$?
8213   cat out/conftest.err >&5
8214   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8215   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8216   then
8217     # The compiler can only warn and ignore the option if not recognized
8218     # So say no if there are warnings
8219     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8220     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8221     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8222       lt_cv_prog_compiler_c_o=yes
8223     fi
8224   fi
8225   chmod u+w . 2>&5
8226   $RM conftest*
8227   # SGI C++ compiler will create directory out/ii_files/ for
8228   # template instantiation
8229   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8230   $RM out/* && rmdir out
8231   cd ..
8232   $RM -r conftest
8233   $RM conftest*
8234
8235fi
8236{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8237$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8238
8239
8240
8241
8242
8243
8244  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8245$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8246if ${lt_cv_prog_compiler_c_o+:} false; then :
8247  $as_echo_n "(cached) " >&6
8248else
8249  lt_cv_prog_compiler_c_o=no
8250   $RM -r conftest 2>/dev/null
8251   mkdir conftest
8252   cd conftest
8253   mkdir out
8254   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8255
8256   lt_compiler_flag="-o out/conftest2.$ac_objext"
8257   # Insert the option either (1) after the last *FLAGS variable, or
8258   # (2) before a word containing "conftest.", or (3) at the end.
8259   # Note that $ac_compile itself does not contain backslashes and begins
8260   # with a dollar sign (not a hyphen), so the echo should work correctly.
8261   lt_compile=`echo "$ac_compile" | $SED \
8262   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8263   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8264   -e 's:$: $lt_compiler_flag:'`
8265   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8266   (eval "$lt_compile" 2>out/conftest.err)
8267   ac_status=$?
8268   cat out/conftest.err >&5
8269   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8270   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8271   then
8272     # The compiler can only warn and ignore the option if not recognized
8273     # So say no if there are warnings
8274     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8275     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8276     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8277       lt_cv_prog_compiler_c_o=yes
8278     fi
8279   fi
8280   chmod u+w . 2>&5
8281   $RM conftest*
8282   # SGI C++ compiler will create directory out/ii_files/ for
8283   # template instantiation
8284   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8285   $RM out/* && rmdir out
8286   cd ..
8287   $RM -r conftest
8288   $RM conftest*
8289
8290fi
8291{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8292$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8293
8294
8295
8296
8297hard_links=nottested
8298if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
8299  # do not overwrite the value of need_locks provided by the user
8300  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8301$as_echo_n "checking if we can lock with hard links... " >&6; }
8302  hard_links=yes
8303  $RM conftest*
8304  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8305  touch conftest.a
8306  ln conftest.a conftest.b 2>&5 || hard_links=no
8307  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8308  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8309$as_echo "$hard_links" >&6; }
8310  if test no = "$hard_links"; then
8311    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
8312$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
8313    need_locks=warn
8314  fi
8315else
8316  need_locks=no
8317fi
8318
8319
8320
8321
8322
8323
8324  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8325$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8326
8327  runpath_var=
8328  allow_undefined_flag=
8329  always_export_symbols=no
8330  archive_cmds=
8331  archive_expsym_cmds=
8332  compiler_needs_object=no
8333  enable_shared_with_static_runtimes=no
8334  export_dynamic_flag_spec=
8335  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8336  hardcode_automatic=no
8337  hardcode_direct=no
8338  hardcode_direct_absolute=no
8339  hardcode_libdir_flag_spec=
8340  hardcode_libdir_separator=
8341  hardcode_minus_L=no
8342  hardcode_shlibpath_var=unsupported
8343  inherit_rpath=no
8344  link_all_deplibs=unknown
8345  module_cmds=
8346  module_expsym_cmds=
8347  old_archive_from_new_cmds=
8348  old_archive_from_expsyms_cmds=
8349  thread_safe_flag_spec=
8350  whole_archive_flag_spec=
8351  # include_expsyms should be a list of space-separated symbols to be *always*
8352  # included in the symbol list
8353  include_expsyms=
8354  # exclude_expsyms can be an extended regexp of symbols to exclude
8355  # it will be wrapped by ' (' and ')$', so one must not match beginning or
8356  # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
8357  # as well as any symbol that contains 'd'.
8358  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8359  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8360  # platforms (ab)use it in PIC code, but their linkers get confused if
8361  # the symbol is explicitly referenced.  Since portable code cannot
8362  # rely on this symbol name, it's probably fine to never include it in
8363  # preloaded symbol tables.
8364  # Exclude shared library initialization/finalization symbols.
8365  extract_expsyms_cmds=
8366
8367  case $host_os in
8368  cygwin* | mingw* | pw32* | cegcc*)
8369    # FIXME: the MSVC++ port hasn't been tested in a loooong time
8370    # When not using gcc, we currently assume that we are using
8371    # Microsoft Visual C++.
8372    if test yes != "$GCC"; then
8373      with_gnu_ld=no
8374    fi
8375    ;;
8376  interix*)
8377    # we just hope/assume this is gcc and not c89 (= MSVC++)
8378    with_gnu_ld=yes
8379    ;;
8380  openbsd* | bitrig*)
8381    with_gnu_ld=no
8382    ;;
8383  linux* | k*bsd*-gnu | gnu*)
8384    link_all_deplibs=no
8385    ;;
8386  esac
8387
8388  ld_shlibs=yes
8389
8390  # On some targets, GNU ld is compatible enough with the native linker
8391  # that we're better off using the native interface for both.
8392  lt_use_gnu_ld_interface=no
8393  if test yes = "$with_gnu_ld"; then
8394    case $host_os in
8395      aix*)
8396	# The AIX port of GNU ld has always aspired to compatibility
8397	# with the native linker.  However, as the warning in the GNU ld
8398	# block says, versions before 2.19.5* couldn't really create working
8399	# shared libraries, regardless of the interface used.
8400	case `$LD -v 2>&1` in
8401	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8402	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8403	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8404	  *)
8405	    lt_use_gnu_ld_interface=yes
8406	    ;;
8407	esac
8408	;;
8409      *)
8410	lt_use_gnu_ld_interface=yes
8411	;;
8412    esac
8413  fi
8414
8415  if test yes = "$lt_use_gnu_ld_interface"; then
8416    # If archive_cmds runs LD, not CC, wlarc should be empty
8417    wlarc='$wl'
8418
8419    # Set some defaults for GNU ld with shared library support. These
8420    # are reset later if shared libraries are not supported. Putting them
8421    # here allows them to be overridden if necessary.
8422    runpath_var=LD_RUN_PATH
8423    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
8424    export_dynamic_flag_spec='$wl--export-dynamic'
8425    # ancient GNU ld didn't support --whole-archive et. al.
8426    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8427      whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
8428    else
8429      whole_archive_flag_spec=
8430    fi
8431    supports_anon_versioning=no
8432    case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
8433      *GNU\ gold*) supports_anon_versioning=yes ;;
8434      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8435      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8436      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8437      *\ 2.11.*) ;; # other 2.11 versions
8438      *) supports_anon_versioning=yes ;;
8439    esac
8440
8441    # See if GNU ld supports shared libraries.
8442    case $host_os in
8443    aix[3-9]*)
8444      # On AIX/PPC, the GNU linker is very broken
8445      if test ia64 != "$host_cpu"; then
8446	ld_shlibs=no
8447	cat <<_LT_EOF 1>&2
8448
8449*** Warning: the GNU linker, at least up to release 2.19, is reported
8450*** to be unable to reliably create shared libraries on AIX.
8451*** Therefore, libtool is disabling shared libraries support.  If you
8452*** really care for shared libraries, you may want to install binutils
8453*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8454*** You will then need to restart the configuration process.
8455
8456_LT_EOF
8457      fi
8458      ;;
8459
8460    amigaos*)
8461      case $host_cpu in
8462      powerpc)
8463            # see comment about AmigaOS4 .so support
8464            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
8465            archive_expsym_cmds=''
8466        ;;
8467      m68k)
8468            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)'
8469            hardcode_libdir_flag_spec='-L$libdir'
8470            hardcode_minus_L=yes
8471        ;;
8472      esac
8473      ;;
8474
8475    beos*)
8476      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8477	allow_undefined_flag=unsupported
8478	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8479	# support --undefined.  This deserves some investigation.  FIXME
8480	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
8481      else
8482	ld_shlibs=no
8483      fi
8484      ;;
8485
8486    cygwin* | mingw* | pw32* | cegcc*)
8487      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8488      # as there is no search path for DLLs.
8489      hardcode_libdir_flag_spec='-L$libdir'
8490      export_dynamic_flag_spec='$wl--export-all-symbols'
8491      allow_undefined_flag=unsupported
8492      always_export_symbols=no
8493      enable_shared_with_static_runtimes=yes
8494      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'
8495      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8496
8497      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8498        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8499	# If the export-symbols file already is a .def file, use it as
8500	# is; otherwise, prepend EXPORTS...
8501	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
8502          cp $export_symbols $output_objdir/$soname.def;
8503        else
8504          echo EXPORTS > $output_objdir/$soname.def;
8505          cat $export_symbols >> $output_objdir/$soname.def;
8506        fi~
8507        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8508      else
8509	ld_shlibs=no
8510      fi
8511      ;;
8512
8513    haiku*)
8514      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
8515      link_all_deplibs=yes
8516      ;;
8517
8518    os2*)
8519      hardcode_libdir_flag_spec='-L$libdir'
8520      hardcode_minus_L=yes
8521      allow_undefined_flag=unsupported
8522      shrext_cmds=.dll
8523      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
8524	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
8525	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
8526	$ECHO EXPORTS >> $output_objdir/$libname.def~
8527	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
8528	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
8529	emximp -o $lib $output_objdir/$libname.def'
8530      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
8531	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
8532	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
8533	$ECHO EXPORTS >> $output_objdir/$libname.def~
8534	prefix_cmds="$SED"~
8535	if test EXPORTS = "`$SED 1q $export_symbols`"; then
8536	  prefix_cmds="$prefix_cmds -e 1d";
8537	fi~
8538	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
8539	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
8540	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
8541	emximp -o $lib $output_objdir/$libname.def'
8542      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
8543      enable_shared_with_static_runtimes=yes
8544      ;;
8545
8546    interix[3-9]*)
8547      hardcode_direct=no
8548      hardcode_shlibpath_var=no
8549      hardcode_libdir_flag_spec='$wl-rpath,$libdir'
8550      export_dynamic_flag_spec='$wl-E'
8551      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8552      # Instead, shared libraries are loaded at an image base (0x10000000 by
8553      # default) and relocated if they conflict, which is a slow very memory
8554      # consuming and fragmenting process.  To avoid this, we pick a random,
8555      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8556      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
8557      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8558      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'
8559      ;;
8560
8561    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8562      tmp_diet=no
8563      if test linux-dietlibc = "$host_os"; then
8564	case $cc_basename in
8565	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
8566	esac
8567      fi
8568      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8569	 && test no = "$tmp_diet"
8570      then
8571	tmp_addflag=' $pic_flag'
8572	tmp_sharedflag='-shared'
8573	case $cc_basename,$host_cpu in
8574        pgcc*)				# Portland Group C compiler
8575	  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'
8576	  tmp_addflag=' $pic_flag'
8577	  ;;
8578	pgf77* | pgf90* | pgf95* | pgfortran*)
8579					# Portland Group f77 and f90 compilers
8580	  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'
8581	  tmp_addflag=' $pic_flag -Mnomain' ;;
8582	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
8583	  tmp_addflag=' -i_dynamic' ;;
8584	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
8585	  tmp_addflag=' -i_dynamic -nofor_main' ;;
8586	ifc* | ifort*)			# Intel Fortran compiler
8587	  tmp_addflag=' -nofor_main' ;;
8588	lf95*)				# Lahey Fortran 8.1
8589	  whole_archive_flag_spec=
8590	  tmp_sharedflag='--shared' ;;
8591        nagfor*)                        # NAGFOR 5.3
8592          tmp_sharedflag='-Wl,-shared' ;;
8593	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8594	  tmp_sharedflag='-qmkshrobj'
8595	  tmp_addflag= ;;
8596	nvcc*)	# Cuda Compiler Driver 2.2
8597	  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'
8598	  compiler_needs_object=yes
8599	  ;;
8600	esac
8601	case `$CC -V 2>&1 | sed 5q` in
8602	*Sun\ C*)			# Sun C 5.9
8603	  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'
8604	  compiler_needs_object=yes
8605	  tmp_sharedflag='-G' ;;
8606	*Sun\ F*)			# Sun Fortran 8.3
8607	  tmp_sharedflag='-G' ;;
8608	esac
8609	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
8610
8611        if test yes = "$supports_anon_versioning"; then
8612          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8613            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8614            echo "local: *; };" >> $output_objdir/$libname.ver~
8615            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
8616        fi
8617
8618	case $cc_basename in
8619	tcc*)
8620	  export_dynamic_flag_spec='-rdynamic'
8621	  ;;
8622	xlf* | bgf* | bgxlf* | mpixlf*)
8623	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8624	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8625	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
8626	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8627	  if test yes = "$supports_anon_versioning"; then
8628	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8629              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8630              echo "local: *; };" >> $output_objdir/$libname.ver~
8631              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8632	  fi
8633	  ;;
8634	esac
8635      else
8636        ld_shlibs=no
8637      fi
8638      ;;
8639
8640    netbsd* | netbsdelf*-gnu)
8641      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8642	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8643	wlarc=
8644      else
8645	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
8646	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
8647      fi
8648      ;;
8649
8650    solaris*)
8651      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8652	ld_shlibs=no
8653	cat <<_LT_EOF 1>&2
8654
8655*** Warning: The releases 2.8.* of the GNU linker cannot reliably
8656*** create shared libraries on Solaris systems.  Therefore, libtool
8657*** is disabling shared libraries support.  We urge you to upgrade GNU
8658*** binutils to release 2.9.1 or newer.  Another option is to modify
8659*** your PATH or compiler configuration so that the native linker is
8660*** used, and then restart.
8661
8662_LT_EOF
8663      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8664	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
8665	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
8666      else
8667	ld_shlibs=no
8668      fi
8669      ;;
8670
8671    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8672      case `$LD -v 2>&1` in
8673        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8674	ld_shlibs=no
8675	cat <<_LT_EOF 1>&2
8676
8677*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
8678*** reliably create shared libraries on SCO systems.  Therefore, libtool
8679*** is disabling shared libraries support.  We urge you to upgrade GNU
8680*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
8681*** your PATH or compiler configuration so that the native linker is
8682*** used, and then restart.
8683
8684_LT_EOF
8685	;;
8686	*)
8687	  # For security reasons, it is highly recommended that you always
8688	  # use absolute paths for naming shared libraries, and exclude the
8689	  # DT_RUNPATH tag from executables and libraries.  But doing so
8690	  # requires that you compile everything twice, which is a pain.
8691	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8692	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
8693	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
8694	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
8695	  else
8696	    ld_shlibs=no
8697	  fi
8698	;;
8699      esac
8700      ;;
8701
8702    sunos4*)
8703      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8704      wlarc=
8705      hardcode_direct=yes
8706      hardcode_shlibpath_var=no
8707      ;;
8708
8709    *)
8710      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8711	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
8712	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
8713      else
8714	ld_shlibs=no
8715      fi
8716      ;;
8717    esac
8718
8719    if test no = "$ld_shlibs"; then
8720      runpath_var=
8721      hardcode_libdir_flag_spec=
8722      export_dynamic_flag_spec=
8723      whole_archive_flag_spec=
8724    fi
8725  else
8726    # PORTME fill in a description of your system's linker (not GNU ld)
8727    case $host_os in
8728    aix3*)
8729      allow_undefined_flag=unsupported
8730      always_export_symbols=yes
8731      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'
8732      # Note: this linker hardcodes the directories in LIBPATH if there
8733      # are no directories specified by -L.
8734      hardcode_minus_L=yes
8735      if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
8736	# Neither direct hardcoding nor static linking is supported with a
8737	# broken collect2.
8738	hardcode_direct=unsupported
8739      fi
8740      ;;
8741
8742    aix[4-9]*)
8743      if test ia64 = "$host_cpu"; then
8744	# On IA64, the linker does run time linking by default, so we don't
8745	# have to do anything special.
8746	aix_use_runtimelinking=no
8747	exp_sym_flag='-Bexport'
8748	no_entry_flag=
8749      else
8750	# If we're using GNU nm, then we don't want the "-C" option.
8751	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
8752	# Without the "-l" option, or with the "-B" option, AIX nm treats
8753	# weak defined symbols like other global defined symbols, whereas
8754	# GNU nm marks them as "W".
8755	# While the 'weak' keyword is ignored in the Export File, we need
8756	# it in the Import File for the 'aix-soname' feature, so we have
8757	# to replace the "-B" option with "-P" for AIX nm.
8758	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8759	  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'
8760	else
8761	  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'
8762	fi
8763	aix_use_runtimelinking=no
8764
8765	# Test if we are trying to use run time linking or normal
8766	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
8767	# have runtime linking enabled, and use it for executables.
8768	# For shared libraries, we enable/disable runtime linking
8769	# depending on the kind of the shared library created -
8770	# when "with_aix_soname,aix_use_runtimelinking" is:
8771	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
8772	# "aix,yes"  lib.so          shared, rtl:yes, for executables
8773	#            lib.a           static archive
8774	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
8775	#            lib.a(lib.so.V) shared, rtl:no,  for executables
8776	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
8777	#            lib.a(lib.so.V) shared, rtl:no
8778	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
8779	#            lib.a           static archive
8780	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8781	  for ld_flag in $LDFLAGS; do
8782	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
8783	    aix_use_runtimelinking=yes
8784	    break
8785	  fi
8786	  done
8787	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
8788	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
8789	    # so we don't have lib.a shared libs to link our executables.
8790	    # We have to force runtime linking in this case.
8791	    aix_use_runtimelinking=yes
8792	    LDFLAGS="$LDFLAGS -Wl,-brtl"
8793	  fi
8794	  ;;
8795	esac
8796
8797	exp_sym_flag='-bexport'
8798	no_entry_flag='-bnoentry'
8799      fi
8800
8801      # When large executables or shared objects are built, AIX ld can
8802      # have problems creating the table of contents.  If linking a library
8803      # or program results in "error TOC overflow" add -mminimal-toc to
8804      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
8805      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8806
8807      archive_cmds=''
8808      hardcode_direct=yes
8809      hardcode_direct_absolute=yes
8810      hardcode_libdir_separator=':'
8811      link_all_deplibs=yes
8812      file_list_spec='$wl-f,'
8813      case $with_aix_soname,$aix_use_runtimelinking in
8814      aix,*) ;; # traditional, no import file
8815      svr4,* | *,yes) # use import file
8816	# The Import File defines what to hardcode.
8817	hardcode_direct=no
8818	hardcode_direct_absolute=no
8819	;;
8820      esac
8821
8822      if test yes = "$GCC"; then
8823	case $host_os in aix4.[012]|aix4.[012].*)
8824	# We only want to do this on AIX 4.2 and lower, the check
8825	# below for broken collect2 doesn't work under 4.3+
8826	  collect2name=`$CC -print-prog-name=collect2`
8827	  if test -f "$collect2name" &&
8828	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8829	  then
8830	  # We have reworked collect2
8831	  :
8832	  else
8833	  # We have old collect2
8834	  hardcode_direct=unsupported
8835	  # It fails to find uninstalled libraries when the uninstalled
8836	  # path is not listed in the libpath.  Setting hardcode_minus_L
8837	  # to unsupported forces relinking
8838	  hardcode_minus_L=yes
8839	  hardcode_libdir_flag_spec='-L$libdir'
8840	  hardcode_libdir_separator=
8841	  fi
8842	  ;;
8843	esac
8844	shared_flag='-shared'
8845	if test yes = "$aix_use_runtimelinking"; then
8846	  shared_flag="$shared_flag "'$wl-G'
8847	fi
8848	# Need to ensure runtime linking is disabled for the traditional
8849	# shared library, or the linker may eventually find shared libraries
8850	# /with/ Import File - we do not want to mix them.
8851	shared_flag_aix='-shared'
8852	shared_flag_svr4='-shared $wl-G'
8853      else
8854	# not using gcc
8855	if test ia64 = "$host_cpu"; then
8856	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8857	# chokes on -Wl,-G. The following line is correct:
8858	  shared_flag='-G'
8859	else
8860	  if test yes = "$aix_use_runtimelinking"; then
8861	    shared_flag='$wl-G'
8862	  else
8863	    shared_flag='$wl-bM:SRE'
8864	  fi
8865	  shared_flag_aix='$wl-bM:SRE'
8866	  shared_flag_svr4='$wl-G'
8867	fi
8868      fi
8869
8870      export_dynamic_flag_spec='$wl-bexpall'
8871      # It seems that -bexpall does not export symbols beginning with
8872      # underscore (_), so it is better to generate a list of symbols to export.
8873      always_export_symbols=yes
8874      if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
8875	# Warning - without using the other runtime loading flags (-brtl),
8876	# -berok will link without error, but may produce a broken library.
8877	allow_undefined_flag='-berok'
8878        # Determine the default libpath from the value encoded in an
8879        # empty executable.
8880        if test set = "${lt_cv_aix_libpath+set}"; then
8881  aix_libpath=$lt_cv_aix_libpath
8882else
8883  if ${lt_cv_aix_libpath_+:} false; then :
8884  $as_echo_n "(cached) " >&6
8885else
8886  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8887/* end confdefs.h.  */
8888
8889int
8890main ()
8891{
8892
8893  ;
8894  return 0;
8895}
8896_ACEOF
8897if ac_fn_c_try_link "$LINENO"; then :
8898
8899  lt_aix_libpath_sed='
8900      /Import File Strings/,/^$/ {
8901	  /^0/ {
8902	      s/^0  *\([^ ]*\) *$/\1/
8903	      p
8904	  }
8905      }'
8906  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8907  # Check for a 64-bit object if we didn't find anything.
8908  if test -z "$lt_cv_aix_libpath_"; then
8909    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8910  fi
8911fi
8912rm -f core conftest.err conftest.$ac_objext \
8913    conftest$ac_exeext conftest.$ac_ext
8914  if test -z "$lt_cv_aix_libpath_"; then
8915    lt_cv_aix_libpath_=/usr/lib:/lib
8916  fi
8917
8918fi
8919
8920  aix_libpath=$lt_cv_aix_libpath_
8921fi
8922
8923        hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
8924        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
8925      else
8926	if test ia64 = "$host_cpu"; then
8927	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
8928	  allow_undefined_flag="-z nodefs"
8929	  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"
8930	else
8931	 # Determine the default libpath from the value encoded in an
8932	 # empty executable.
8933	 if test set = "${lt_cv_aix_libpath+set}"; then
8934  aix_libpath=$lt_cv_aix_libpath
8935else
8936  if ${lt_cv_aix_libpath_+:} false; then :
8937  $as_echo_n "(cached) " >&6
8938else
8939  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8940/* end confdefs.h.  */
8941
8942int
8943main ()
8944{
8945
8946  ;
8947  return 0;
8948}
8949_ACEOF
8950if ac_fn_c_try_link "$LINENO"; then :
8951
8952  lt_aix_libpath_sed='
8953      /Import File Strings/,/^$/ {
8954	  /^0/ {
8955	      s/^0  *\([^ ]*\) *$/\1/
8956	      p
8957	  }
8958      }'
8959  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8960  # Check for a 64-bit object if we didn't find anything.
8961  if test -z "$lt_cv_aix_libpath_"; then
8962    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8963  fi
8964fi
8965rm -f core conftest.err conftest.$ac_objext \
8966    conftest$ac_exeext conftest.$ac_ext
8967  if test -z "$lt_cv_aix_libpath_"; then
8968    lt_cv_aix_libpath_=/usr/lib:/lib
8969  fi
8970
8971fi
8972
8973  aix_libpath=$lt_cv_aix_libpath_
8974fi
8975
8976	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
8977	  # Warning - without using the other run time loading flags,
8978	  # -berok will link without error, but may produce a broken library.
8979	  no_undefined_flag=' $wl-bernotok'
8980	  allow_undefined_flag=' $wl-berok'
8981	  if test yes = "$with_gnu_ld"; then
8982	    # We only use this code for GNU lds that support --whole-archive.
8983	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
8984	  else
8985	    # Exported symbols can be pulled into shared objects from archives
8986	    whole_archive_flag_spec='$convenience'
8987	  fi
8988	  archive_cmds_need_lc=yes
8989	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
8990	  # -brtl affects multiple linker settings, -berok does not and is overridden later
8991	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
8992	  if test svr4 != "$with_aix_soname"; then
8993	    # This is similar to how AIX traditionally builds its shared libraries.
8994	    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'
8995	  fi
8996	  if test aix != "$with_aix_soname"; then
8997	    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'
8998	  else
8999	    # used by -dlpreopen to get the symbols
9000	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
9001	  fi
9002	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
9003	fi
9004      fi
9005      ;;
9006
9007    amigaos*)
9008      case $host_cpu in
9009      powerpc)
9010            # see comment about AmigaOS4 .so support
9011            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9012            archive_expsym_cmds=''
9013        ;;
9014      m68k)
9015            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)'
9016            hardcode_libdir_flag_spec='-L$libdir'
9017            hardcode_minus_L=yes
9018        ;;
9019      esac
9020      ;;
9021
9022    bsdi[45]*)
9023      export_dynamic_flag_spec=-rdynamic
9024      ;;
9025
9026    cygwin* | mingw* | pw32* | cegcc*)
9027      # When not using gcc, we currently assume that we are using
9028      # Microsoft Visual C++.
9029      # hardcode_libdir_flag_spec is actually meaningless, as there is
9030      # no search path for DLLs.
9031      case $cc_basename in
9032      cl*)
9033	# Native MSVC
9034	hardcode_libdir_flag_spec=' '
9035	allow_undefined_flag=unsupported
9036	always_export_symbols=yes
9037	file_list_spec='@'
9038	# Tell ltmain to make .lib files, not .a files.
9039	libext=lib
9040	# Tell ltmain to make .dll files, not .so files.
9041	shrext_cmds=.dll
9042	# FIXME: Setting linknames here is a bad hack.
9043	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
9044	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
9045            cp "$export_symbols" "$output_objdir/$soname.def";
9046            echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
9047          else
9048            $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
9049          fi~
9050          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9051          linknames='
9052	# The linker will not automatically build a static lib if we build a DLL.
9053	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9054	enable_shared_with_static_runtimes=yes
9055	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9056	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9057	# Don't use ranlib
9058	old_postinstall_cmds='chmod 644 $oldlib'
9059	postlink_cmds='lt_outputfile="@OUTPUT@"~
9060          lt_tool_outputfile="@TOOL_OUTPUT@"~
9061          case $lt_outputfile in
9062            *.exe|*.EXE) ;;
9063            *)
9064              lt_outputfile=$lt_outputfile.exe
9065              lt_tool_outputfile=$lt_tool_outputfile.exe
9066              ;;
9067          esac~
9068          if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
9069            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9070            $RM "$lt_outputfile.manifest";
9071          fi'
9072	;;
9073      *)
9074	# Assume MSVC wrapper
9075	hardcode_libdir_flag_spec=' '
9076	allow_undefined_flag=unsupported
9077	# Tell ltmain to make .lib files, not .a files.
9078	libext=lib
9079	# Tell ltmain to make .dll files, not .so files.
9080	shrext_cmds=.dll
9081	# FIXME: Setting linknames here is a bad hack.
9082	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9083	# The linker will automatically build a .lib file if we build a DLL.
9084	old_archive_from_new_cmds='true'
9085	# FIXME: Should let the user specify the lib program.
9086	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9087	enable_shared_with_static_runtimes=yes
9088	;;
9089      esac
9090      ;;
9091
9092    darwin* | rhapsody*)
9093
9094
9095  archive_cmds_need_lc=no
9096  hardcode_direct=no
9097  hardcode_automatic=yes
9098  hardcode_shlibpath_var=unsupported
9099  if test yes = "$lt_cv_ld_force_load"; then
9100    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\"`'
9101
9102  else
9103    whole_archive_flag_spec=''
9104  fi
9105  link_all_deplibs=yes
9106  allow_undefined_flag=$_lt_dar_allow_undefined
9107  case $cc_basename in
9108     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
9109     *) _lt_dar_can_shared=$GCC ;;
9110  esac
9111  if test yes = "$_lt_dar_can_shared"; then
9112    output_verbose_link_cmd=func_echo_all
9113    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
9114    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
9115    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"
9116    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"
9117
9118  else
9119  ld_shlibs=no
9120  fi
9121
9122      ;;
9123
9124    dgux*)
9125      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9126      hardcode_libdir_flag_spec='-L$libdir'
9127      hardcode_shlibpath_var=no
9128      ;;
9129
9130    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9131    # support.  Future versions do this automatically, but an explicit c++rt0.o
9132    # does not break anything, and helps significantly (at the cost of a little
9133    # extra space).
9134    freebsd2.2*)
9135      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9136      hardcode_libdir_flag_spec='-R$libdir'
9137      hardcode_direct=yes
9138      hardcode_shlibpath_var=no
9139      ;;
9140
9141    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9142    freebsd2.*)
9143      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9144      hardcode_direct=yes
9145      hardcode_minus_L=yes
9146      hardcode_shlibpath_var=no
9147      ;;
9148
9149    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9150    freebsd* | dragonfly*)
9151      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9152      hardcode_libdir_flag_spec='-R$libdir'
9153      hardcode_direct=yes
9154      hardcode_shlibpath_var=no
9155      ;;
9156
9157    hpux9*)
9158      if test yes = "$GCC"; then
9159	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'
9160      else
9161	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'
9162      fi
9163      hardcode_libdir_flag_spec='$wl+b $wl$libdir'
9164      hardcode_libdir_separator=:
9165      hardcode_direct=yes
9166
9167      # hardcode_minus_L: Not really in the search PATH,
9168      # but as the default location of the library.
9169      hardcode_minus_L=yes
9170      export_dynamic_flag_spec='$wl-E'
9171      ;;
9172
9173    hpux10*)
9174      if test yes,no = "$GCC,$with_gnu_ld"; then
9175	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9176      else
9177	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9178      fi
9179      if test no = "$with_gnu_ld"; then
9180	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
9181	hardcode_libdir_separator=:
9182	hardcode_direct=yes
9183	hardcode_direct_absolute=yes
9184	export_dynamic_flag_spec='$wl-E'
9185	# hardcode_minus_L: Not really in the search PATH,
9186	# but as the default location of the library.
9187	hardcode_minus_L=yes
9188      fi
9189      ;;
9190
9191    hpux11*)
9192      if test yes,no = "$GCC,$with_gnu_ld"; then
9193	case $host_cpu in
9194	hppa*64*)
9195	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
9196	  ;;
9197	ia64*)
9198	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9199	  ;;
9200	*)
9201	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9202	  ;;
9203	esac
9204      else
9205	case $host_cpu in
9206	hppa*64*)
9207	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
9208	  ;;
9209	ia64*)
9210	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9211	  ;;
9212	*)
9213
9214	  # Older versions of the 11.00 compiler do not understand -b yet
9215	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9216	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9217$as_echo_n "checking if $CC understands -b... " >&6; }
9218if ${lt_cv_prog_compiler__b+:} false; then :
9219  $as_echo_n "(cached) " >&6
9220else
9221  lt_cv_prog_compiler__b=no
9222   save_LDFLAGS=$LDFLAGS
9223   LDFLAGS="$LDFLAGS -b"
9224   echo "$lt_simple_link_test_code" > conftest.$ac_ext
9225   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9226     # The linker can only warn and ignore the option if not recognized
9227     # So say no if there are warnings
9228     if test -s conftest.err; then
9229       # Append any errors to the config.log.
9230       cat conftest.err 1>&5
9231       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9232       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9233       if diff conftest.exp conftest.er2 >/dev/null; then
9234         lt_cv_prog_compiler__b=yes
9235       fi
9236     else
9237       lt_cv_prog_compiler__b=yes
9238     fi
9239   fi
9240   $RM -r conftest*
9241   LDFLAGS=$save_LDFLAGS
9242
9243fi
9244{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9245$as_echo "$lt_cv_prog_compiler__b" >&6; }
9246
9247if test yes = "$lt_cv_prog_compiler__b"; then
9248    archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9249else
9250    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9251fi
9252
9253	  ;;
9254	esac
9255      fi
9256      if test no = "$with_gnu_ld"; then
9257	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
9258	hardcode_libdir_separator=:
9259
9260	case $host_cpu in
9261	hppa*64*|ia64*)
9262	  hardcode_direct=no
9263	  hardcode_shlibpath_var=no
9264	  ;;
9265	*)
9266	  hardcode_direct=yes
9267	  hardcode_direct_absolute=yes
9268	  export_dynamic_flag_spec='$wl-E'
9269
9270	  # hardcode_minus_L: Not really in the search PATH,
9271	  # but as the default location of the library.
9272	  hardcode_minus_L=yes
9273	  ;;
9274	esac
9275      fi
9276      ;;
9277
9278    irix5* | irix6* | nonstopux*)
9279      if test yes = "$GCC"; then
9280	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'
9281	# Try to use the -exported_symbol ld option, if it does not
9282	# work, assume that -exports_file does not work either and
9283	# implicitly export all symbols.
9284	# This should be the same for all languages, so no per-tag cache variable.
9285	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9286$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9287if ${lt_cv_irix_exported_symbol+:} false; then :
9288  $as_echo_n "(cached) " >&6
9289else
9290  save_LDFLAGS=$LDFLAGS
9291	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
9292	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9293/* end confdefs.h.  */
9294int foo (void) { return 0; }
9295_ACEOF
9296if ac_fn_c_try_link "$LINENO"; then :
9297  lt_cv_irix_exported_symbol=yes
9298else
9299  lt_cv_irix_exported_symbol=no
9300fi
9301rm -f core conftest.err conftest.$ac_objext \
9302    conftest$ac_exeext conftest.$ac_ext
9303           LDFLAGS=$save_LDFLAGS
9304fi
9305{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9306$as_echo "$lt_cv_irix_exported_symbol" >&6; }
9307	if test yes = "$lt_cv_irix_exported_symbol"; then
9308          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'
9309	fi
9310	link_all_deplibs=no
9311      else
9312	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'
9313	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'
9314      fi
9315      archive_cmds_need_lc='no'
9316      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9317      hardcode_libdir_separator=:
9318      inherit_rpath=yes
9319      link_all_deplibs=yes
9320      ;;
9321
9322    linux*)
9323      case $cc_basename in
9324      tcc*)
9325	# Fabrice Bellard et al's Tiny C Compiler
9326	ld_shlibs=yes
9327	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9328	;;
9329      esac
9330      ;;
9331
9332    netbsd* | netbsdelf*-gnu)
9333      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9334	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9335      else
9336	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9337      fi
9338      hardcode_libdir_flag_spec='-R$libdir'
9339      hardcode_direct=yes
9340      hardcode_shlibpath_var=no
9341      ;;
9342
9343    newsos6)
9344      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9345      hardcode_direct=yes
9346      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9347      hardcode_libdir_separator=:
9348      hardcode_shlibpath_var=no
9349      ;;
9350
9351    *nto* | *qnx*)
9352      ;;
9353
9354    openbsd* | bitrig*)
9355      if test -f /usr/libexec/ld.so; then
9356	hardcode_direct=yes
9357	hardcode_shlibpath_var=no
9358	hardcode_direct_absolute=yes
9359	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
9360	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9361	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
9362	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
9363	  export_dynamic_flag_spec='$wl-E'
9364	else
9365	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9366	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
9367	fi
9368      else
9369	ld_shlibs=no
9370      fi
9371      ;;
9372
9373    os2*)
9374      hardcode_libdir_flag_spec='-L$libdir'
9375      hardcode_minus_L=yes
9376      allow_undefined_flag=unsupported
9377      shrext_cmds=.dll
9378      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9379	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9380	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9381	$ECHO EXPORTS >> $output_objdir/$libname.def~
9382	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
9383	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9384	emximp -o $lib $output_objdir/$libname.def'
9385      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9386	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9387	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9388	$ECHO EXPORTS >> $output_objdir/$libname.def~
9389	prefix_cmds="$SED"~
9390	if test EXPORTS = "`$SED 1q $export_symbols`"; then
9391	  prefix_cmds="$prefix_cmds -e 1d";
9392	fi~
9393	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
9394	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
9395	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9396	emximp -o $lib $output_objdir/$libname.def'
9397      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
9398      enable_shared_with_static_runtimes=yes
9399      ;;
9400
9401    osf3*)
9402      if test yes = "$GCC"; then
9403	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
9404	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'
9405      else
9406	allow_undefined_flag=' -expect_unresolved \*'
9407	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'
9408      fi
9409      archive_cmds_need_lc='no'
9410      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9411      hardcode_libdir_separator=:
9412      ;;
9413
9414    osf4* | osf5*)	# as osf3* with the addition of -msym flag
9415      if test yes = "$GCC"; then
9416	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
9417	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'
9418	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9419      else
9420	allow_undefined_flag=' -expect_unresolved \*'
9421	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'
9422	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~
9423          $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'
9424
9425	# Both c and cxx compiler support -rpath directly
9426	hardcode_libdir_flag_spec='-rpath $libdir'
9427      fi
9428      archive_cmds_need_lc='no'
9429      hardcode_libdir_separator=:
9430      ;;
9431
9432    solaris*)
9433      no_undefined_flag=' -z defs'
9434      if test yes = "$GCC"; then
9435	wlarc='$wl'
9436	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
9437	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9438          $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'
9439      else
9440	case `$CC -V 2>&1` in
9441	*"Compilers 5.0"*)
9442	  wlarc=''
9443	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
9444	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9445            $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9446	  ;;
9447	*)
9448	  wlarc='$wl'
9449	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9450	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9451            $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9452	  ;;
9453	esac
9454      fi
9455      hardcode_libdir_flag_spec='-R$libdir'
9456      hardcode_shlibpath_var=no
9457      case $host_os in
9458      solaris2.[0-5] | solaris2.[0-5].*) ;;
9459      *)
9460	# The compiler driver will combine and reorder linker options,
9461	# but understands '-z linker_flag'.  GCC discards it without '$wl',
9462	# but is careful enough not to reorder.
9463	# Supported since Solaris 2.6 (maybe 2.5.1?)
9464	if test yes = "$GCC"; then
9465	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
9466	else
9467	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9468	fi
9469	;;
9470      esac
9471      link_all_deplibs=yes
9472      ;;
9473
9474    sunos4*)
9475      if test sequent = "$host_vendor"; then
9476	# Use $CC to link under sequent, because it throws in some extra .o
9477	# files that make .init and .fini sections work.
9478	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9479      else
9480	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9481      fi
9482      hardcode_libdir_flag_spec='-L$libdir'
9483      hardcode_direct=yes
9484      hardcode_minus_L=yes
9485      hardcode_shlibpath_var=no
9486      ;;
9487
9488    sysv4)
9489      case $host_vendor in
9490	sni)
9491	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9492	  hardcode_direct=yes # is this really true???
9493	;;
9494	siemens)
9495	  ## LD is ld it makes a PLAMLIB
9496	  ## CC just makes a GrossModule.
9497	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9498	  reload_cmds='$CC -r -o $output$reload_objs'
9499	  hardcode_direct=no
9500        ;;
9501	motorola)
9502	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9503	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9504	;;
9505      esac
9506      runpath_var='LD_RUN_PATH'
9507      hardcode_shlibpath_var=no
9508      ;;
9509
9510    sysv4.3*)
9511      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9512      hardcode_shlibpath_var=no
9513      export_dynamic_flag_spec='-Bexport'
9514      ;;
9515
9516    sysv4*MP*)
9517      if test -d /usr/nec; then
9518	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9519	hardcode_shlibpath_var=no
9520	runpath_var=LD_RUN_PATH
9521	hardcode_runpath_var=yes
9522	ld_shlibs=yes
9523      fi
9524      ;;
9525
9526    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9527      no_undefined_flag='$wl-z,text'
9528      archive_cmds_need_lc=no
9529      hardcode_shlibpath_var=no
9530      runpath_var='LD_RUN_PATH'
9531
9532      if test yes = "$GCC"; then
9533	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9534	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9535      else
9536	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9537	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9538      fi
9539      ;;
9540
9541    sysv5* | sco3.2v5* | sco5v6*)
9542      # Note: We CANNOT use -z defs as we might desire, because we do not
9543      # link with -lc, and that would cause any symbols used from libc to
9544      # always be unresolved, which means just about no library would
9545      # ever link correctly.  If we're not using GNU ld we use -z text
9546      # though, which does catch some bad symbols but isn't as heavy-handed
9547      # as -z defs.
9548      no_undefined_flag='$wl-z,text'
9549      allow_undefined_flag='$wl-z,nodefs'
9550      archive_cmds_need_lc=no
9551      hardcode_shlibpath_var=no
9552      hardcode_libdir_flag_spec='$wl-R,$libdir'
9553      hardcode_libdir_separator=':'
9554      link_all_deplibs=yes
9555      export_dynamic_flag_spec='$wl-Bexport'
9556      runpath_var='LD_RUN_PATH'
9557
9558      if test yes = "$GCC"; then
9559	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9560	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9561      else
9562	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9563	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9564      fi
9565      ;;
9566
9567    uts4*)
9568      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9569      hardcode_libdir_flag_spec='-L$libdir'
9570      hardcode_shlibpath_var=no
9571      ;;
9572
9573    *)
9574      ld_shlibs=no
9575      ;;
9576    esac
9577
9578    if test sni = "$host_vendor"; then
9579      case $host in
9580      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9581	export_dynamic_flag_spec='$wl-Blargedynsym'
9582	;;
9583      esac
9584    fi
9585  fi
9586
9587{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9588$as_echo "$ld_shlibs" >&6; }
9589test no = "$ld_shlibs" && can_build_shared=no
9590
9591with_gnu_ld=$with_gnu_ld
9592
9593
9594
9595
9596
9597
9598
9599
9600
9601
9602
9603
9604
9605
9606
9607#
9608# Do we need to explicitly link libc?
9609#
9610case "x$archive_cmds_need_lc" in
9611x|xyes)
9612  # Assume -lc should be added
9613  archive_cmds_need_lc=yes
9614
9615  if test yes,yes = "$GCC,$enable_shared"; then
9616    case $archive_cmds in
9617    *'~'*)
9618      # FIXME: we may have to deal with multi-command sequences.
9619      ;;
9620    '$CC '*)
9621      # Test whether the compiler implicitly links with -lc since on some
9622      # systems, -lgcc has to come before -lc. If gcc already passes -lc
9623      # to ld, don't add -lc before -lgcc.
9624      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9625$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9626if ${lt_cv_archive_cmds_need_lc+:} false; then :
9627  $as_echo_n "(cached) " >&6
9628else
9629  $RM conftest*
9630	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9631
9632	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9633  (eval $ac_compile) 2>&5
9634  ac_status=$?
9635  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9636  test $ac_status = 0; } 2>conftest.err; then
9637	  soname=conftest
9638	  lib=conftest
9639	  libobjs=conftest.$ac_objext
9640	  deplibs=
9641	  wl=$lt_prog_compiler_wl
9642	  pic_flag=$lt_prog_compiler_pic
9643	  compiler_flags=-v
9644	  linker_flags=-v
9645	  verstring=
9646	  output_objdir=.
9647	  libname=conftest
9648	  lt_save_allow_undefined_flag=$allow_undefined_flag
9649	  allow_undefined_flag=
9650	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9651  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9652  ac_status=$?
9653  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9654  test $ac_status = 0; }
9655	  then
9656	    lt_cv_archive_cmds_need_lc=no
9657	  else
9658	    lt_cv_archive_cmds_need_lc=yes
9659	  fi
9660	  allow_undefined_flag=$lt_save_allow_undefined_flag
9661	else
9662	  cat conftest.err 1>&5
9663	fi
9664	$RM conftest*
9665
9666fi
9667{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9668$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9669      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9670      ;;
9671    esac
9672  fi
9673  ;;
9674esac
9675
9676
9677
9678
9679
9680
9681
9682
9683
9684
9685
9686
9687
9688
9689
9690
9691
9692
9693
9694
9695
9696
9697
9698
9699
9700
9701
9702
9703
9704
9705
9706
9707
9708
9709
9710
9711
9712
9713
9714
9715
9716
9717
9718
9719
9720
9721
9722
9723
9724
9725
9726
9727
9728
9729
9730
9731
9732
9733
9734
9735
9736
9737
9738
9739
9740
9741
9742
9743
9744
9745
9746
9747
9748
9749
9750
9751
9752
9753
9754
9755
9756
9757
9758
9759
9760
9761
9762
9763
9764
9765
9766
9767
9768
9769
9770
9771
9772
9773
9774
9775
9776
9777
9778
9779
9780
9781
9782
9783
9784
9785
9786
9787
9788
9789
9790
9791
9792
9793
9794
9795
9796
9797
9798
9799
9800
9801
9802
9803
9804
9805
9806
9807
9808
9809
9810
9811
9812
9813
9814
9815
9816
9817
9818
9819
9820
9821
9822
9823
9824
9825
9826
9827  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9828$as_echo_n "checking dynamic linker characteristics... " >&6; }
9829
9830if test yes = "$GCC"; then
9831  case $host_os in
9832    darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
9833    *) lt_awk_arg='/^libraries:/' ;;
9834  esac
9835  case $host_os in
9836    mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
9837    *) lt_sed_strip_eq='s|=/|/|g' ;;
9838  esac
9839  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9840  case $lt_search_path_spec in
9841  *\;*)
9842    # if the path contains ";" then we assume it to be the separator
9843    # otherwise default to the standard path separator (i.e. ":") - it is
9844    # assumed that no part of a normal pathname contains ";" but that should
9845    # okay in the real world where ";" in dirpaths is itself problematic.
9846    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9847    ;;
9848  *)
9849    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9850    ;;
9851  esac
9852  # Ok, now we have the path, separated by spaces, we can step through it
9853  # and add multilib dir if necessary...
9854  lt_tmp_lt_search_path_spec=
9855  lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9856  # ...but if some path component already ends with the multilib dir we assume
9857  # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
9858  case "$lt_multi_os_dir; $lt_search_path_spec " in
9859  "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
9860    lt_multi_os_dir=
9861    ;;
9862  esac
9863  for lt_sys_path in $lt_search_path_spec; do
9864    if test -d "$lt_sys_path$lt_multi_os_dir"; then
9865      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
9866    elif test -n "$lt_multi_os_dir"; then
9867      test -d "$lt_sys_path" && \
9868	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9869    fi
9870  done
9871  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9872BEGIN {RS = " "; FS = "/|\n";} {
9873  lt_foo = "";
9874  lt_count = 0;
9875  for (lt_i = NF; lt_i > 0; lt_i--) {
9876    if ($lt_i != "" && $lt_i != ".") {
9877      if ($lt_i == "..") {
9878        lt_count++;
9879      } else {
9880        if (lt_count == 0) {
9881          lt_foo = "/" $lt_i lt_foo;
9882        } else {
9883          lt_count--;
9884        }
9885      }
9886    }
9887  }
9888  if (lt_foo != "") { lt_freq[lt_foo]++; }
9889  if (lt_freq[lt_foo] == 1) { print lt_foo; }
9890}'`
9891  # AWK program above erroneously prepends '/' to C:/dos/paths
9892  # for these hosts.
9893  case $host_os in
9894    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
9895      $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
9896  esac
9897  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9898else
9899  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9900fi
9901library_names_spec=
9902libname_spec='lib$name'
9903soname_spec=
9904shrext_cmds=.so
9905postinstall_cmds=
9906postuninstall_cmds=
9907finish_cmds=
9908finish_eval=
9909shlibpath_var=
9910shlibpath_overrides_runpath=unknown
9911version_type=none
9912dynamic_linker="$host_os ld.so"
9913sys_lib_dlsearch_path_spec="/lib /usr/lib"
9914need_lib_prefix=unknown
9915hardcode_into_libs=no
9916
9917# when you set need_version to no, make sure it does not cause -set_version
9918# flags to be left without arguments
9919need_version=unknown
9920
9921
9922
9923case $host_os in
9924aix3*)
9925  version_type=linux # correct to gnu/linux during the next big refactor
9926  library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
9927  shlibpath_var=LIBPATH
9928
9929  # AIX 3 has no versioning support, so we append a major version to the name.
9930  soname_spec='$libname$release$shared_ext$major'
9931  ;;
9932
9933aix[4-9]*)
9934  version_type=linux # correct to gnu/linux during the next big refactor
9935  need_lib_prefix=no
9936  need_version=no
9937  hardcode_into_libs=yes
9938  if test ia64 = "$host_cpu"; then
9939    # AIX 5 supports IA64
9940    library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
9941    shlibpath_var=LD_LIBRARY_PATH
9942  else
9943    # With GCC up to 2.95.x, collect2 would create an import file
9944    # for dependence libraries.  The import file would start with
9945    # the line '#! .'.  This would cause the generated library to
9946    # depend on '.', always an invalid library.  This was fixed in
9947    # development snapshots of GCC prior to 3.0.
9948    case $host_os in
9949      aix4 | aix4.[01] | aix4.[01].*)
9950      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9951	   echo ' yes '
9952	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
9953	:
9954      else
9955	can_build_shared=no
9956      fi
9957      ;;
9958    esac
9959    # Using Import Files as archive members, it is possible to support
9960    # filename-based versioning of shared library archives on AIX. While
9961    # this would work for both with and without runtime linking, it will
9962    # prevent static linking of such archives. So we do filename-based
9963    # shared library versioning with .so extension only, which is used
9964    # when both runtime linking and shared linking is enabled.
9965    # Unfortunately, runtime linking may impact performance, so we do
9966    # not want this to be the default eventually. Also, we use the
9967    # versioned .so libs for executables only if there is the -brtl
9968    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
9969    # To allow for filename-based versioning support, we need to create
9970    # libNAME.so.V as an archive file, containing:
9971    # *) an Import File, referring to the versioned filename of the
9972    #    archive as well as the shared archive member, telling the
9973    #    bitwidth (32 or 64) of that shared object, and providing the
9974    #    list of exported symbols of that shared object, eventually
9975    #    decorated with the 'weak' keyword
9976    # *) the shared object with the F_LOADONLY flag set, to really avoid
9977    #    it being seen by the linker.
9978    # At run time we better use the real file rather than another symlink,
9979    # but for link time we create the symlink libNAME.so -> libNAME.so.V
9980
9981    case $with_aix_soname,$aix_use_runtimelinking in
9982    # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
9983    # soname into executable. Probably we can add versioning support to
9984    # collect2, so additional links can be useful in future.
9985    aix,yes) # traditional libtool
9986      dynamic_linker='AIX unversionable lib.so'
9987      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9988      # instead of lib<name>.a to let people know that these are not
9989      # typical AIX shared libraries.
9990      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
9991      ;;
9992    aix,no) # traditional AIX only
9993      dynamic_linker='AIX lib.a(lib.so.V)'
9994      # We preserve .a as extension for shared libraries through AIX4.2
9995      # and later when we are not doing run time linking.
9996      library_names_spec='$libname$release.a $libname.a'
9997      soname_spec='$libname$release$shared_ext$major'
9998      ;;
9999    svr4,*) # full svr4 only
10000      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
10001      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
10002      # We do not specify a path in Import Files, so LIBPATH fires.
10003      shlibpath_overrides_runpath=yes
10004      ;;
10005    *,yes) # both, prefer svr4
10006      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
10007      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
10008      # unpreferred sharedlib libNAME.a needs extra handling
10009      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"'
10010      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"'
10011      # We do not specify a path in Import Files, so LIBPATH fires.
10012      shlibpath_overrides_runpath=yes
10013      ;;
10014    *,no) # both, prefer aix
10015      dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
10016      library_names_spec='$libname$release.a $libname.a'
10017      soname_spec='$libname$release$shared_ext$major'
10018      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
10019      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)'
10020      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"'
10021      ;;
10022    esac
10023    shlibpath_var=LIBPATH
10024  fi
10025  ;;
10026
10027amigaos*)
10028  case $host_cpu in
10029  powerpc)
10030    # Since July 2007 AmigaOS4 officially supports .so libraries.
10031    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10032    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10033    ;;
10034  m68k)
10035    library_names_spec='$libname.ixlibrary $libname.a'
10036    # Create ${libname}_ixlibrary.a entries in /sys/libs.
10037    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'
10038    ;;
10039  esac
10040  ;;
10041
10042beos*)
10043  library_names_spec='$libname$shared_ext'
10044  dynamic_linker="$host_os ld.so"
10045  shlibpath_var=LIBRARY_PATH
10046  ;;
10047
10048bsdi[45]*)
10049  version_type=linux # correct to gnu/linux during the next big refactor
10050  need_version=no
10051  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10052  soname_spec='$libname$release$shared_ext$major'
10053  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10054  shlibpath_var=LD_LIBRARY_PATH
10055  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10056  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10057  # the default ld.so.conf also contains /usr/contrib/lib and
10058  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10059  # libtool to hard-code these into programs
10060  ;;
10061
10062cygwin* | mingw* | pw32* | cegcc*)
10063  version_type=windows
10064  shrext_cmds=.dll
10065  need_version=no
10066  need_lib_prefix=no
10067
10068  case $GCC,$cc_basename in
10069  yes,*)
10070    # gcc
10071    library_names_spec='$libname.dll.a'
10072    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10073    postinstall_cmds='base_file=`basename \$file`~
10074      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
10075      dldir=$destdir/`dirname \$dlpath`~
10076      test -d \$dldir || mkdir -p \$dldir~
10077      $install_prog $dir/$dlname \$dldir/$dlname~
10078      chmod a+x \$dldir/$dlname~
10079      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10080        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10081      fi'
10082    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10083      dlpath=$dir/\$dldll~
10084       $RM \$dlpath'
10085    shlibpath_overrides_runpath=yes
10086
10087    case $host_os in
10088    cygwin*)
10089      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10090      soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10091
10092      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10093      ;;
10094    mingw* | cegcc*)
10095      # MinGW DLLs use traditional 'lib' prefix
10096      soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10097      ;;
10098    pw32*)
10099      # pw32 DLLs use 'pw' prefix rather than 'lib'
10100      library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10101      ;;
10102    esac
10103    dynamic_linker='Win32 ld.exe'
10104    ;;
10105
10106  *,cl*)
10107    # Native MSVC
10108    libname_spec='$name'
10109    soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10110    library_names_spec='$libname.dll.lib'
10111
10112    case $build_os in
10113    mingw*)
10114      sys_lib_search_path_spec=
10115      lt_save_ifs=$IFS
10116      IFS=';'
10117      for lt_path in $LIB
10118      do
10119        IFS=$lt_save_ifs
10120        # Let DOS variable expansion print the short 8.3 style file name.
10121        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10122        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10123      done
10124      IFS=$lt_save_ifs
10125      # Convert to MSYS style.
10126      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10127      ;;
10128    cygwin*)
10129      # Convert to unix form, then to dos form, then back to unix form
10130      # but this time dos style (no spaces!) so that the unix form looks
10131      # like /cygdrive/c/PROGRA~1:/cygdr...
10132      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10133      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10134      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10135      ;;
10136    *)
10137      sys_lib_search_path_spec=$LIB
10138      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10139        # It is most probably a Windows format PATH.
10140        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10141      else
10142        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10143      fi
10144      # FIXME: find the short name or the path components, as spaces are
10145      # common. (e.g. "Program Files" -> "PROGRA~1")
10146      ;;
10147    esac
10148
10149    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10150    postinstall_cmds='base_file=`basename \$file`~
10151      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
10152      dldir=$destdir/`dirname \$dlpath`~
10153      test -d \$dldir || mkdir -p \$dldir~
10154      $install_prog $dir/$dlname \$dldir/$dlname'
10155    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10156      dlpath=$dir/\$dldll~
10157       $RM \$dlpath'
10158    shlibpath_overrides_runpath=yes
10159    dynamic_linker='Win32 link.exe'
10160    ;;
10161
10162  *)
10163    # Assume MSVC wrapper
10164    library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
10165    dynamic_linker='Win32 ld.exe'
10166    ;;
10167  esac
10168  # FIXME: first we should search . and the directory the executable is in
10169  shlibpath_var=PATH
10170  ;;
10171
10172darwin* | rhapsody*)
10173  dynamic_linker="$host_os dyld"
10174  version_type=darwin
10175  need_lib_prefix=no
10176  need_version=no
10177  library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
10178  soname_spec='$libname$release$major$shared_ext'
10179  shlibpath_overrides_runpath=yes
10180  shlibpath_var=DYLD_LIBRARY_PATH
10181  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10182
10183  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10184  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10185  ;;
10186
10187dgux*)
10188  version_type=linux # correct to gnu/linux during the next big refactor
10189  need_lib_prefix=no
10190  need_version=no
10191  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10192  soname_spec='$libname$release$shared_ext$major'
10193  shlibpath_var=LD_LIBRARY_PATH
10194  ;;
10195
10196freebsd* | dragonfly*)
10197  # DragonFly does not have aout.  When/if they implement a new
10198  # versioning mechanism, adjust this.
10199  if test -x /usr/bin/objformat; then
10200    objformat=`/usr/bin/objformat`
10201  else
10202    case $host_os in
10203    freebsd[23].*) objformat=aout ;;
10204    *) objformat=elf ;;
10205    esac
10206  fi
10207  version_type=freebsd-$objformat
10208  case $version_type in
10209    freebsd-elf*)
10210      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10211      soname_spec='$libname$release$shared_ext$major'
10212      need_version=no
10213      need_lib_prefix=no
10214      ;;
10215    freebsd-*)
10216      library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
10217      need_version=yes
10218      ;;
10219  esac
10220  shlibpath_var=LD_LIBRARY_PATH
10221  case $host_os in
10222  freebsd2.*)
10223    shlibpath_overrides_runpath=yes
10224    ;;
10225  freebsd3.[01]* | freebsdelf3.[01]*)
10226    shlibpath_overrides_runpath=yes
10227    hardcode_into_libs=yes
10228    ;;
10229  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10230  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10231    shlibpath_overrides_runpath=no
10232    hardcode_into_libs=yes
10233    ;;
10234  *) # from 4.6 on, and DragonFly
10235    shlibpath_overrides_runpath=yes
10236    hardcode_into_libs=yes
10237    ;;
10238  esac
10239  ;;
10240
10241haiku*)
10242  version_type=linux # correct to gnu/linux during the next big refactor
10243  need_lib_prefix=no
10244  need_version=no
10245  dynamic_linker="$host_os runtime_loader"
10246  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10247  soname_spec='$libname$release$shared_ext$major'
10248  shlibpath_var=LIBRARY_PATH
10249  shlibpath_overrides_runpath=no
10250  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10251  hardcode_into_libs=yes
10252  ;;
10253
10254hpux9* | hpux10* | hpux11*)
10255  # Give a soname corresponding to the major version so that dld.sl refuses to
10256  # link against other versions.
10257  version_type=sunos
10258  need_lib_prefix=no
10259  need_version=no
10260  case $host_cpu in
10261  ia64*)
10262    shrext_cmds='.so'
10263    hardcode_into_libs=yes
10264    dynamic_linker="$host_os dld.so"
10265    shlibpath_var=LD_LIBRARY_PATH
10266    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10267    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10268    soname_spec='$libname$release$shared_ext$major'
10269    if test 32 = "$HPUX_IA64_MODE"; then
10270      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10271      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
10272    else
10273      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10274      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
10275    fi
10276    ;;
10277  hppa*64*)
10278    shrext_cmds='.sl'
10279    hardcode_into_libs=yes
10280    dynamic_linker="$host_os dld.sl"
10281    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10282    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10283    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10284    soname_spec='$libname$release$shared_ext$major'
10285    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10286    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10287    ;;
10288  *)
10289    shrext_cmds='.sl'
10290    dynamic_linker="$host_os dld.sl"
10291    shlibpath_var=SHLIB_PATH
10292    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10293    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10294    soname_spec='$libname$release$shared_ext$major'
10295    ;;
10296  esac
10297  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10298  postinstall_cmds='chmod 555 $lib'
10299  # or fails outright, so override atomically:
10300  install_override_mode=555
10301  ;;
10302
10303interix[3-9]*)
10304  version_type=linux # correct to gnu/linux during the next big refactor
10305  need_lib_prefix=no
10306  need_version=no
10307  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10308  soname_spec='$libname$release$shared_ext$major'
10309  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10310  shlibpath_var=LD_LIBRARY_PATH
10311  shlibpath_overrides_runpath=no
10312  hardcode_into_libs=yes
10313  ;;
10314
10315irix5* | irix6* | nonstopux*)
10316  case $host_os in
10317    nonstopux*) version_type=nonstopux ;;
10318    *)
10319	if test yes = "$lt_cv_prog_gnu_ld"; then
10320		version_type=linux # correct to gnu/linux during the next big refactor
10321	else
10322		version_type=irix
10323	fi ;;
10324  esac
10325  need_lib_prefix=no
10326  need_version=no
10327  soname_spec='$libname$release$shared_ext$major'
10328  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
10329  case $host_os in
10330  irix5* | nonstopux*)
10331    libsuff= shlibsuff=
10332    ;;
10333  *)
10334    case $LD in # libtool.m4 will add one of these switches to LD
10335    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10336      libsuff= shlibsuff= libmagic=32-bit;;
10337    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10338      libsuff=32 shlibsuff=N32 libmagic=N32;;
10339    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10340      libsuff=64 shlibsuff=64 libmagic=64-bit;;
10341    *) libsuff= shlibsuff= libmagic=never-match;;
10342    esac
10343    ;;
10344  esac
10345  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10346  shlibpath_overrides_runpath=no
10347  sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
10348  sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
10349  hardcode_into_libs=yes
10350  ;;
10351
10352# No shared lib support for Linux oldld, aout, or coff.
10353linux*oldld* | linux*aout* | linux*coff*)
10354  dynamic_linker=no
10355  ;;
10356
10357linux*android*)
10358  version_type=none # Android doesn't support versioned libraries.
10359  need_lib_prefix=no
10360  need_version=no
10361  library_names_spec='$libname$release$shared_ext'
10362  soname_spec='$libname$release$shared_ext'
10363  finish_cmds=
10364  shlibpath_var=LD_LIBRARY_PATH
10365  shlibpath_overrides_runpath=yes
10366
10367  # This implies no fast_install, which is unacceptable.
10368  # Some rework will be needed to allow for fast_install
10369  # before this can be enabled.
10370  hardcode_into_libs=yes
10371
10372  dynamic_linker='Android linker'
10373  # Don't embed -rpath directories since the linker doesn't support them.
10374  hardcode_libdir_flag_spec='-L$libdir'
10375  ;;
10376
10377# This must be glibc/ELF.
10378linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
10379  version_type=linux # correct to gnu/linux during the next big refactor
10380  need_lib_prefix=no
10381  need_version=no
10382  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10383  soname_spec='$libname$release$shared_ext$major'
10384  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10385  shlibpath_var=LD_LIBRARY_PATH
10386  shlibpath_overrides_runpath=no
10387
10388  # Some binutils ld are patched to set DT_RUNPATH
10389  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10390  $as_echo_n "(cached) " >&6
10391else
10392  lt_cv_shlibpath_overrides_runpath=no
10393    save_LDFLAGS=$LDFLAGS
10394    save_libdir=$libdir
10395    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10396	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10397    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10398/* end confdefs.h.  */
10399
10400int
10401main ()
10402{
10403
10404  ;
10405  return 0;
10406}
10407_ACEOF
10408if ac_fn_c_try_link "$LINENO"; then :
10409  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10410  lt_cv_shlibpath_overrides_runpath=yes
10411fi
10412fi
10413rm -f core conftest.err conftest.$ac_objext \
10414    conftest$ac_exeext conftest.$ac_ext
10415    LDFLAGS=$save_LDFLAGS
10416    libdir=$save_libdir
10417
10418fi
10419
10420  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10421
10422  # This implies no fast_install, which is unacceptable.
10423  # Some rework will be needed to allow for fast_install
10424  # before this can be enabled.
10425  hardcode_into_libs=yes
10426
10427  # Ideally, we could use ldconfig to report *all* directores which are
10428  # searched for libraries, however this is still not possible.  Aside from not
10429  # being certain /sbin/ldconfig is available, command
10430  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
10431  # even though it is searched at run-time.  Try to do the best guess by
10432  # appending ld.so.conf contents (and includes) to the search path.
10433  if test -f /etc/ld.so.conf; then
10434    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' ' '`
10435    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10436  fi
10437
10438  # We used to test for /lib/ld.so.1 and disable shared libraries on
10439  # powerpc, because MkLinux only supported shared libraries with the
10440  # GNU dynamic linker.  Since this was broken with cross compilers,
10441  # most powerpc-linux boxes support dynamic linking these days and
10442  # people can always --disable-shared, the test was removed, and we
10443  # assume the GNU/Linux dynamic linker is in use.
10444  dynamic_linker='GNU/Linux ld.so'
10445  ;;
10446
10447netbsdelf*-gnu)
10448  version_type=linux
10449  need_lib_prefix=no
10450  need_version=no
10451  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10452  soname_spec='${libname}${release}${shared_ext}$major'
10453  shlibpath_var=LD_LIBRARY_PATH
10454  shlibpath_overrides_runpath=no
10455  hardcode_into_libs=yes
10456  dynamic_linker='NetBSD ld.elf_so'
10457  ;;
10458
10459netbsd*)
10460  version_type=sunos
10461  need_lib_prefix=no
10462  need_version=no
10463  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10464    library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
10465    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10466    dynamic_linker='NetBSD (a.out) ld.so'
10467  else
10468    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10469    soname_spec='$libname$release$shared_ext$major'
10470    dynamic_linker='NetBSD ld.elf_so'
10471  fi
10472  shlibpath_var=LD_LIBRARY_PATH
10473  shlibpath_overrides_runpath=yes
10474  hardcode_into_libs=yes
10475  ;;
10476
10477newsos6)
10478  version_type=linux # correct to gnu/linux during the next big refactor
10479  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10480  shlibpath_var=LD_LIBRARY_PATH
10481  shlibpath_overrides_runpath=yes
10482  ;;
10483
10484*nto* | *qnx*)
10485  version_type=qnx
10486  need_lib_prefix=no
10487  need_version=no
10488  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10489  soname_spec='$libname$release$shared_ext$major'
10490  shlibpath_var=LD_LIBRARY_PATH
10491  shlibpath_overrides_runpath=no
10492  hardcode_into_libs=yes
10493  dynamic_linker='ldqnx.so'
10494  ;;
10495
10496openbsd* | bitrig*)
10497  version_type=sunos
10498  sys_lib_dlsearch_path_spec=/usr/lib
10499  need_lib_prefix=no
10500  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
10501    need_version=no
10502  else
10503    need_version=yes
10504  fi
10505  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
10506  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10507  shlibpath_var=LD_LIBRARY_PATH
10508  shlibpath_overrides_runpath=yes
10509  ;;
10510
10511os2*)
10512  libname_spec='$name'
10513  version_type=windows
10514  shrext_cmds=.dll
10515  need_version=no
10516  need_lib_prefix=no
10517  # OS/2 can only load a DLL with a base name of 8 characters or less.
10518  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
10519    v=$($ECHO $release$versuffix | tr -d .-);
10520    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
10521    $ECHO $n$v`$shared_ext'
10522  library_names_spec='${libname}_dll.$libext'
10523  dynamic_linker='OS/2 ld.exe'
10524  shlibpath_var=BEGINLIBPATH
10525  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10526  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10527  postinstall_cmds='base_file=`basename \$file`~
10528    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
10529    dldir=$destdir/`dirname \$dlpath`~
10530    test -d \$dldir || mkdir -p \$dldir~
10531    $install_prog $dir/$dlname \$dldir/$dlname~
10532    chmod a+x \$dldir/$dlname~
10533    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10534      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10535    fi'
10536  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
10537    dlpath=$dir/\$dldll~
10538    $RM \$dlpath'
10539  ;;
10540
10541osf3* | osf4* | osf5*)
10542  version_type=osf
10543  need_lib_prefix=no
10544  need_version=no
10545  soname_spec='$libname$release$shared_ext$major'
10546  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10547  shlibpath_var=LD_LIBRARY_PATH
10548  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10549  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10550  ;;
10551
10552rdos*)
10553  dynamic_linker=no
10554  ;;
10555
10556solaris*)
10557  version_type=linux # correct to gnu/linux during the next big refactor
10558  need_lib_prefix=no
10559  need_version=no
10560  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10561  soname_spec='$libname$release$shared_ext$major'
10562  shlibpath_var=LD_LIBRARY_PATH
10563  shlibpath_overrides_runpath=yes
10564  hardcode_into_libs=yes
10565  # ldd complains unless libraries are executable
10566  postinstall_cmds='chmod +x $lib'
10567  ;;
10568
10569sunos4*)
10570  version_type=sunos
10571  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
10572  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10573  shlibpath_var=LD_LIBRARY_PATH
10574  shlibpath_overrides_runpath=yes
10575  if test yes = "$with_gnu_ld"; then
10576    need_lib_prefix=no
10577  fi
10578  need_version=yes
10579  ;;
10580
10581sysv4 | sysv4.3*)
10582  version_type=linux # correct to gnu/linux during the next big refactor
10583  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10584  soname_spec='$libname$release$shared_ext$major'
10585  shlibpath_var=LD_LIBRARY_PATH
10586  case $host_vendor in
10587    sni)
10588      shlibpath_overrides_runpath=no
10589      need_lib_prefix=no
10590      runpath_var=LD_RUN_PATH
10591      ;;
10592    siemens)
10593      need_lib_prefix=no
10594      ;;
10595    motorola)
10596      need_lib_prefix=no
10597      need_version=no
10598      shlibpath_overrides_runpath=no
10599      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10600      ;;
10601  esac
10602  ;;
10603
10604sysv4*MP*)
10605  if test -d /usr/nec; then
10606    version_type=linux # correct to gnu/linux during the next big refactor
10607    library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
10608    soname_spec='$libname$shared_ext.$major'
10609    shlibpath_var=LD_LIBRARY_PATH
10610  fi
10611  ;;
10612
10613sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10614  version_type=sco
10615  need_lib_prefix=no
10616  need_version=no
10617  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
10618  soname_spec='$libname$release$shared_ext$major'
10619  shlibpath_var=LD_LIBRARY_PATH
10620  shlibpath_overrides_runpath=yes
10621  hardcode_into_libs=yes
10622  if test yes = "$with_gnu_ld"; then
10623    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10624  else
10625    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10626    case $host_os in
10627      sco3.2v5*)
10628        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10629	;;
10630    esac
10631  fi
10632  sys_lib_dlsearch_path_spec='/usr/lib'
10633  ;;
10634
10635tpf*)
10636  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
10637  version_type=linux # correct to gnu/linux during the next big refactor
10638  need_lib_prefix=no
10639  need_version=no
10640  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10641  shlibpath_var=LD_LIBRARY_PATH
10642  shlibpath_overrides_runpath=no
10643  hardcode_into_libs=yes
10644  ;;
10645
10646uts4*)
10647  version_type=linux # correct to gnu/linux during the next big refactor
10648  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10649  soname_spec='$libname$release$shared_ext$major'
10650  shlibpath_var=LD_LIBRARY_PATH
10651  ;;
10652
10653*)
10654  dynamic_linker=no
10655  ;;
10656esac
10657{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10658$as_echo "$dynamic_linker" >&6; }
10659test no = "$dynamic_linker" && can_build_shared=no
10660
10661variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10662if test yes = "$GCC"; then
10663  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10664fi
10665
10666if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
10667  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
10668fi
10669
10670if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
10671  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
10672fi
10673
10674# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
10675configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
10676
10677# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
10678func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
10679
10680# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
10681configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
10682
10683
10684
10685
10686
10687
10688
10689
10690
10691
10692
10693
10694
10695
10696
10697
10698
10699
10700
10701
10702
10703
10704
10705
10706
10707
10708
10709
10710
10711
10712
10713
10714
10715
10716
10717
10718
10719
10720
10721
10722
10723
10724
10725
10726
10727
10728
10729
10730
10731
10732
10733
10734
10735
10736
10737
10738
10739
10740
10741
10742
10743
10744
10745
10746
10747
10748
10749
10750
10751
10752
10753
10754
10755
10756
10757
10758
10759
10760
10761
10762
10763
10764
10765
10766
10767
10768
10769
10770
10771
10772
10773
10774
10775
10776
10777
10778
10779  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10780$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10781hardcode_action=
10782if test -n "$hardcode_libdir_flag_spec" ||
10783   test -n "$runpath_var" ||
10784   test yes = "$hardcode_automatic"; then
10785
10786  # We can hardcode non-existent directories.
10787  if test no != "$hardcode_direct" &&
10788     # If the only mechanism to avoid hardcoding is shlibpath_var, we
10789     # have to relink, otherwise we might link with an installed library
10790     # when we should be linking with a yet-to-be-installed one
10791     ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
10792     test no != "$hardcode_minus_L"; then
10793    # Linking always hardcodes the temporary library directory.
10794    hardcode_action=relink
10795  else
10796    # We can link without hardcoding, and we can hardcode nonexisting dirs.
10797    hardcode_action=immediate
10798  fi
10799else
10800  # We cannot hardcode anything, or else we can only hardcode existing
10801  # directories.
10802  hardcode_action=unsupported
10803fi
10804{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10805$as_echo "$hardcode_action" >&6; }
10806
10807if test relink = "$hardcode_action" ||
10808   test yes = "$inherit_rpath"; then
10809  # Fast installation is not supported
10810  enable_fast_install=no
10811elif test yes = "$shlibpath_overrides_runpath" ||
10812     test no = "$enable_shared"; then
10813  # Fast installation is not necessary
10814  enable_fast_install=needless
10815fi
10816
10817
10818
10819
10820
10821
10822  if test yes != "$enable_dlopen"; then
10823  enable_dlopen=unknown
10824  enable_dlopen_self=unknown
10825  enable_dlopen_self_static=unknown
10826else
10827  lt_cv_dlopen=no
10828  lt_cv_dlopen_libs=
10829
10830  case $host_os in
10831  beos*)
10832    lt_cv_dlopen=load_add_on
10833    lt_cv_dlopen_libs=
10834    lt_cv_dlopen_self=yes
10835    ;;
10836
10837  mingw* | pw32* | cegcc*)
10838    lt_cv_dlopen=LoadLibrary
10839    lt_cv_dlopen_libs=
10840    ;;
10841
10842  cygwin*)
10843    lt_cv_dlopen=dlopen
10844    lt_cv_dlopen_libs=
10845    ;;
10846
10847  darwin*)
10848    # if libdl is installed we need to link against it
10849    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10850$as_echo_n "checking for dlopen in -ldl... " >&6; }
10851if ${ac_cv_lib_dl_dlopen+:} false; then :
10852  $as_echo_n "(cached) " >&6
10853else
10854  ac_check_lib_save_LIBS=$LIBS
10855LIBS="-ldl  $LIBS"
10856cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10857/* end confdefs.h.  */
10858
10859/* Override any GCC internal prototype to avoid an error.
10860   Use char because int might match the return type of a GCC
10861   builtin and then its argument prototype would still apply.  */
10862#ifdef __cplusplus
10863extern "C"
10864#endif
10865char dlopen ();
10866int
10867main ()
10868{
10869return dlopen ();
10870  ;
10871  return 0;
10872}
10873_ACEOF
10874if ac_fn_c_try_link "$LINENO"; then :
10875  ac_cv_lib_dl_dlopen=yes
10876else
10877  ac_cv_lib_dl_dlopen=no
10878fi
10879rm -f core conftest.err conftest.$ac_objext \
10880    conftest$ac_exeext conftest.$ac_ext
10881LIBS=$ac_check_lib_save_LIBS
10882fi
10883{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10884$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10885if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10886  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
10887else
10888
10889    lt_cv_dlopen=dyld
10890    lt_cv_dlopen_libs=
10891    lt_cv_dlopen_self=yes
10892
10893fi
10894
10895    ;;
10896
10897  tpf*)
10898    # Don't try to run any link tests for TPF.  We know it's impossible
10899    # because TPF is a cross-compiler, and we know how we open DSOs.
10900    lt_cv_dlopen=dlopen
10901    lt_cv_dlopen_libs=
10902    lt_cv_dlopen_self=no
10903    ;;
10904
10905  *)
10906    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10907if test "x$ac_cv_func_shl_load" = xyes; then :
10908  lt_cv_dlopen=shl_load
10909else
10910  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10911$as_echo_n "checking for shl_load in -ldld... " >&6; }
10912if ${ac_cv_lib_dld_shl_load+:} false; then :
10913  $as_echo_n "(cached) " >&6
10914else
10915  ac_check_lib_save_LIBS=$LIBS
10916LIBS="-ldld  $LIBS"
10917cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10918/* end confdefs.h.  */
10919
10920/* Override any GCC internal prototype to avoid an error.
10921   Use char because int might match the return type of a GCC
10922   builtin and then its argument prototype would still apply.  */
10923#ifdef __cplusplus
10924extern "C"
10925#endif
10926char shl_load ();
10927int
10928main ()
10929{
10930return shl_load ();
10931  ;
10932  return 0;
10933}
10934_ACEOF
10935if ac_fn_c_try_link "$LINENO"; then :
10936  ac_cv_lib_dld_shl_load=yes
10937else
10938  ac_cv_lib_dld_shl_load=no
10939fi
10940rm -f core conftest.err conftest.$ac_objext \
10941    conftest$ac_exeext conftest.$ac_ext
10942LIBS=$ac_check_lib_save_LIBS
10943fi
10944{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10945$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10946if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
10947  lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
10948else
10949  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10950if test "x$ac_cv_func_dlopen" = xyes; then :
10951  lt_cv_dlopen=dlopen
10952else
10953  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10954$as_echo_n "checking for dlopen in -ldl... " >&6; }
10955if ${ac_cv_lib_dl_dlopen+:} false; then :
10956  $as_echo_n "(cached) " >&6
10957else
10958  ac_check_lib_save_LIBS=$LIBS
10959LIBS="-ldl  $LIBS"
10960cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10961/* end confdefs.h.  */
10962
10963/* Override any GCC internal prototype to avoid an error.
10964   Use char because int might match the return type of a GCC
10965   builtin and then its argument prototype would still apply.  */
10966#ifdef __cplusplus
10967extern "C"
10968#endif
10969char dlopen ();
10970int
10971main ()
10972{
10973return dlopen ();
10974  ;
10975  return 0;
10976}
10977_ACEOF
10978if ac_fn_c_try_link "$LINENO"; then :
10979  ac_cv_lib_dl_dlopen=yes
10980else
10981  ac_cv_lib_dl_dlopen=no
10982fi
10983rm -f core conftest.err conftest.$ac_objext \
10984    conftest$ac_exeext conftest.$ac_ext
10985LIBS=$ac_check_lib_save_LIBS
10986fi
10987{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10988$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10989if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10990  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
10991else
10992  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10993$as_echo_n "checking for dlopen in -lsvld... " >&6; }
10994if ${ac_cv_lib_svld_dlopen+:} false; then :
10995  $as_echo_n "(cached) " >&6
10996else
10997  ac_check_lib_save_LIBS=$LIBS
10998LIBS="-lsvld  $LIBS"
10999cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11000/* end confdefs.h.  */
11001
11002/* Override any GCC internal prototype to avoid an error.
11003   Use char because int might match the return type of a GCC
11004   builtin and then its argument prototype would still apply.  */
11005#ifdef __cplusplus
11006extern "C"
11007#endif
11008char dlopen ();
11009int
11010main ()
11011{
11012return dlopen ();
11013  ;
11014  return 0;
11015}
11016_ACEOF
11017if ac_fn_c_try_link "$LINENO"; then :
11018  ac_cv_lib_svld_dlopen=yes
11019else
11020  ac_cv_lib_svld_dlopen=no
11021fi
11022rm -f core conftest.err conftest.$ac_objext \
11023    conftest$ac_exeext conftest.$ac_ext
11024LIBS=$ac_check_lib_save_LIBS
11025fi
11026{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11027$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11028if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11029  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
11030else
11031  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11032$as_echo_n "checking for dld_link in -ldld... " >&6; }
11033if ${ac_cv_lib_dld_dld_link+:} false; then :
11034  $as_echo_n "(cached) " >&6
11035else
11036  ac_check_lib_save_LIBS=$LIBS
11037LIBS="-ldld  $LIBS"
11038cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11039/* end confdefs.h.  */
11040
11041/* Override any GCC internal prototype to avoid an error.
11042   Use char because int might match the return type of a GCC
11043   builtin and then its argument prototype would still apply.  */
11044#ifdef __cplusplus
11045extern "C"
11046#endif
11047char dld_link ();
11048int
11049main ()
11050{
11051return dld_link ();
11052  ;
11053  return 0;
11054}
11055_ACEOF
11056if ac_fn_c_try_link "$LINENO"; then :
11057  ac_cv_lib_dld_dld_link=yes
11058else
11059  ac_cv_lib_dld_dld_link=no
11060fi
11061rm -f core conftest.err conftest.$ac_objext \
11062    conftest$ac_exeext conftest.$ac_ext
11063LIBS=$ac_check_lib_save_LIBS
11064fi
11065{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11066$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11067if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11068  lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
11069fi
11070
11071
11072fi
11073
11074
11075fi
11076
11077
11078fi
11079
11080
11081fi
11082
11083
11084fi
11085
11086    ;;
11087  esac
11088
11089  if test no = "$lt_cv_dlopen"; then
11090    enable_dlopen=no
11091  else
11092    enable_dlopen=yes
11093  fi
11094
11095  case $lt_cv_dlopen in
11096  dlopen)
11097    save_CPPFLAGS=$CPPFLAGS
11098    test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11099
11100    save_LDFLAGS=$LDFLAGS
11101    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11102
11103    save_LIBS=$LIBS
11104    LIBS="$lt_cv_dlopen_libs $LIBS"
11105
11106    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11107$as_echo_n "checking whether a program can dlopen itself... " >&6; }
11108if ${lt_cv_dlopen_self+:} false; then :
11109  $as_echo_n "(cached) " >&6
11110else
11111  	  if test yes = "$cross_compiling"; then :
11112  lt_cv_dlopen_self=cross
11113else
11114  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11115  lt_status=$lt_dlunknown
11116  cat > conftest.$ac_ext <<_LT_EOF
11117#line $LINENO "configure"
11118#include "confdefs.h"
11119
11120#if HAVE_DLFCN_H
11121#include <dlfcn.h>
11122#endif
11123
11124#include <stdio.h>
11125
11126#ifdef RTLD_GLOBAL
11127#  define LT_DLGLOBAL		RTLD_GLOBAL
11128#else
11129#  ifdef DL_GLOBAL
11130#    define LT_DLGLOBAL		DL_GLOBAL
11131#  else
11132#    define LT_DLGLOBAL		0
11133#  endif
11134#endif
11135
11136/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11137   find out it does not work in some platform. */
11138#ifndef LT_DLLAZY_OR_NOW
11139#  ifdef RTLD_LAZY
11140#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
11141#  else
11142#    ifdef DL_LAZY
11143#      define LT_DLLAZY_OR_NOW		DL_LAZY
11144#    else
11145#      ifdef RTLD_NOW
11146#        define LT_DLLAZY_OR_NOW	RTLD_NOW
11147#      else
11148#        ifdef DL_NOW
11149#          define LT_DLLAZY_OR_NOW	DL_NOW
11150#        else
11151#          define LT_DLLAZY_OR_NOW	0
11152#        endif
11153#      endif
11154#    endif
11155#  endif
11156#endif
11157
11158/* When -fvisibility=hidden is used, assume the code has been annotated
11159   correspondingly for the symbols needed.  */
11160#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11161int fnord () __attribute__((visibility("default")));
11162#endif
11163
11164int fnord () { return 42; }
11165int main ()
11166{
11167  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11168  int status = $lt_dlunknown;
11169
11170  if (self)
11171    {
11172      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11173      else
11174        {
11175	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11176          else puts (dlerror ());
11177	}
11178      /* dlclose (self); */
11179    }
11180  else
11181    puts (dlerror ());
11182
11183  return status;
11184}
11185_LT_EOF
11186  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11187  (eval $ac_link) 2>&5
11188  ac_status=$?
11189  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11190  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
11191    (./conftest; exit; ) >&5 2>/dev/null
11192    lt_status=$?
11193    case x$lt_status in
11194      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11195      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11196      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11197    esac
11198  else :
11199    # compilation failed
11200    lt_cv_dlopen_self=no
11201  fi
11202fi
11203rm -fr conftest*
11204
11205
11206fi
11207{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11208$as_echo "$lt_cv_dlopen_self" >&6; }
11209
11210    if test yes = "$lt_cv_dlopen_self"; then
11211      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11212      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11213$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11214if ${lt_cv_dlopen_self_static+:} false; then :
11215  $as_echo_n "(cached) " >&6
11216else
11217  	  if test yes = "$cross_compiling"; then :
11218  lt_cv_dlopen_self_static=cross
11219else
11220  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11221  lt_status=$lt_dlunknown
11222  cat > conftest.$ac_ext <<_LT_EOF
11223#line $LINENO "configure"
11224#include "confdefs.h"
11225
11226#if HAVE_DLFCN_H
11227#include <dlfcn.h>
11228#endif
11229
11230#include <stdio.h>
11231
11232#ifdef RTLD_GLOBAL
11233#  define LT_DLGLOBAL		RTLD_GLOBAL
11234#else
11235#  ifdef DL_GLOBAL
11236#    define LT_DLGLOBAL		DL_GLOBAL
11237#  else
11238#    define LT_DLGLOBAL		0
11239#  endif
11240#endif
11241
11242/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11243   find out it does not work in some platform. */
11244#ifndef LT_DLLAZY_OR_NOW
11245#  ifdef RTLD_LAZY
11246#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
11247#  else
11248#    ifdef DL_LAZY
11249#      define LT_DLLAZY_OR_NOW		DL_LAZY
11250#    else
11251#      ifdef RTLD_NOW
11252#        define LT_DLLAZY_OR_NOW	RTLD_NOW
11253#      else
11254#        ifdef DL_NOW
11255#          define LT_DLLAZY_OR_NOW	DL_NOW
11256#        else
11257#          define LT_DLLAZY_OR_NOW	0
11258#        endif
11259#      endif
11260#    endif
11261#  endif
11262#endif
11263
11264/* When -fvisibility=hidden is used, assume the code has been annotated
11265   correspondingly for the symbols needed.  */
11266#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11267int fnord () __attribute__((visibility("default")));
11268#endif
11269
11270int fnord () { return 42; }
11271int main ()
11272{
11273  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11274  int status = $lt_dlunknown;
11275
11276  if (self)
11277    {
11278      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11279      else
11280        {
11281	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11282          else puts (dlerror ());
11283	}
11284      /* dlclose (self); */
11285    }
11286  else
11287    puts (dlerror ());
11288
11289  return status;
11290}
11291_LT_EOF
11292  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11293  (eval $ac_link) 2>&5
11294  ac_status=$?
11295  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11296  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
11297    (./conftest; exit; ) >&5 2>/dev/null
11298    lt_status=$?
11299    case x$lt_status in
11300      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11301      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11302      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11303    esac
11304  else :
11305    # compilation failed
11306    lt_cv_dlopen_self_static=no
11307  fi
11308fi
11309rm -fr conftest*
11310
11311
11312fi
11313{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11314$as_echo "$lt_cv_dlopen_self_static" >&6; }
11315    fi
11316
11317    CPPFLAGS=$save_CPPFLAGS
11318    LDFLAGS=$save_LDFLAGS
11319    LIBS=$save_LIBS
11320    ;;
11321  esac
11322
11323  case $lt_cv_dlopen_self in
11324  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11325  *) enable_dlopen_self=unknown ;;
11326  esac
11327
11328  case $lt_cv_dlopen_self_static in
11329  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11330  *) enable_dlopen_self_static=unknown ;;
11331  esac
11332fi
11333
11334
11335
11336
11337
11338
11339
11340
11341
11342
11343
11344
11345
11346
11347
11348
11349
11350striplib=
11351old_striplib=
11352{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11353$as_echo_n "checking whether stripping libraries is possible... " >&6; }
11354if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11355  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11356  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11357  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11358$as_echo "yes" >&6; }
11359else
11360# FIXME - insert some real tests, host_os isn't really good enough
11361  case $host_os in
11362  darwin*)
11363    if test -n "$STRIP"; then
11364      striplib="$STRIP -x"
11365      old_striplib="$STRIP -S"
11366      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11367$as_echo "yes" >&6; }
11368    else
11369      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11370$as_echo "no" >&6; }
11371    fi
11372    ;;
11373  *)
11374    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11375$as_echo "no" >&6; }
11376    ;;
11377  esac
11378fi
11379
11380
11381
11382
11383
11384
11385
11386
11387
11388
11389
11390
11391  # Report what library types will actually be built
11392  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11393$as_echo_n "checking if libtool supports shared libraries... " >&6; }
11394  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11395$as_echo "$can_build_shared" >&6; }
11396
11397  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11398$as_echo_n "checking whether to build shared libraries... " >&6; }
11399  test no = "$can_build_shared" && enable_shared=no
11400
11401  # On AIX, shared libraries and static libraries use the same namespace, and
11402  # are all built from PIC.
11403  case $host_os in
11404  aix3*)
11405    test yes = "$enable_shared" && enable_static=no
11406    if test -n "$RANLIB"; then
11407      archive_cmds="$archive_cmds~\$RANLIB \$lib"
11408      postinstall_cmds='$RANLIB $lib'
11409    fi
11410    ;;
11411
11412  aix[4-9]*)
11413    if test ia64 != "$host_cpu"; then
11414      case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
11415      yes,aix,yes) ;;			# shared object as lib.so file only
11416      yes,svr4,*) ;;			# shared object as lib.so archive member only
11417      yes,*) enable_static=no ;;	# shared object in lib.a archive as well
11418      esac
11419    fi
11420    ;;
11421  esac
11422  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11423$as_echo "$enable_shared" >&6; }
11424
11425  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11426$as_echo_n "checking whether to build static libraries... " >&6; }
11427  # Make sure either enable_shared or enable_static is yes.
11428  test yes = "$enable_shared" || enable_static=yes
11429  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11430$as_echo "$enable_static" >&6; }
11431
11432
11433
11434
11435fi
11436ac_ext=c
11437ac_cpp='$CPP $CPPFLAGS'
11438ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11439ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11440ac_compiler_gnu=$ac_cv_c_compiler_gnu
11441
11442CC=$lt_save_CC
11443
11444
11445
11446
11447
11448
11449
11450
11451
11452
11453
11454
11455
11456
11457
11458        ac_config_commands="$ac_config_commands libtool"
11459
11460
11461
11462
11463# Only expand once:
11464
11465
11466
11467am__api_version='1.16'
11468
11469# Find a good install program.  We prefer a C program (faster),
11470# so one script is as good as another.  But avoid the broken or
11471# incompatible versions:
11472# SysV /etc/install, /usr/sbin/install
11473# SunOS /usr/etc/install
11474# IRIX /sbin/install
11475# AIX /bin/install
11476# AmigaOS /C/install, which installs bootblocks on floppy discs
11477# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11478# AFS /usr/afsws/bin/install, which mishandles nonexistent args
11479# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11480# OS/2's system install, which has a completely different semantic
11481# ./install, which can be erroneously created by make from ./install.sh.
11482# Reject install programs that cannot install multiple files.
11483{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
11484$as_echo_n "checking for a BSD-compatible install... " >&6; }
11485if test -z "$INSTALL"; then
11486if ${ac_cv_path_install+:} false; then :
11487  $as_echo_n "(cached) " >&6
11488else
11489  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11490for as_dir in $PATH
11491do
11492  IFS=$as_save_IFS
11493  test -z "$as_dir" && as_dir=.
11494    # Account for people who put trailing slashes in PATH elements.
11495case $as_dir/ in #((
11496  ./ | .// | /[cC]/* | \
11497  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
11498  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
11499  /usr/ucb/* ) ;;
11500  *)
11501    # OSF1 and SCO ODT 3.0 have their own names for install.
11502    # Don't use installbsd from OSF since it installs stuff as root
11503    # by default.
11504    for ac_prog in ginstall scoinst install; do
11505      for ac_exec_ext in '' $ac_executable_extensions; do
11506	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11507	  if test $ac_prog = install &&
11508	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11509	    # AIX install.  It has an incompatible calling convention.
11510	    :
11511	  elif test $ac_prog = install &&
11512	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11513	    # program-specific install script used by HP pwplus--don't use.
11514	    :
11515	  else
11516	    rm -rf conftest.one conftest.two conftest.dir
11517	    echo one > conftest.one
11518	    echo two > conftest.two
11519	    mkdir conftest.dir
11520	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
11521	      test -s conftest.one && test -s conftest.two &&
11522	      test -s conftest.dir/conftest.one &&
11523	      test -s conftest.dir/conftest.two
11524	    then
11525	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
11526	      break 3
11527	    fi
11528	  fi
11529	fi
11530      done
11531    done
11532    ;;
11533esac
11534
11535  done
11536IFS=$as_save_IFS
11537
11538rm -rf conftest.one conftest.two conftest.dir
11539
11540fi
11541  if test "${ac_cv_path_install+set}" = set; then
11542    INSTALL=$ac_cv_path_install
11543  else
11544    # As a last resort, use the slow shell script.  Don't cache a
11545    # value for INSTALL within a source directory, because that will
11546    # break other packages using the cache if that directory is
11547    # removed, or if the value is a relative name.
11548    INSTALL=$ac_install_sh
11549  fi
11550fi
11551{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
11552$as_echo "$INSTALL" >&6; }
11553
11554# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11555# It thinks the first close brace ends the variable substitution.
11556test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
11557
11558test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
11559
11560test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
11561
11562{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
11563$as_echo_n "checking whether build environment is sane... " >&6; }
11564# Reject unsafe characters in $srcdir or the absolute working directory
11565# name.  Accept space and tab only in the latter.
11566am_lf='
11567'
11568case `pwd` in
11569  *[\\\"\#\$\&\'\`$am_lf]*)
11570    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
11571esac
11572case $srcdir in
11573  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
11574    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
11575esac
11576
11577# Do 'set' in a subshell so we don't clobber the current shell's
11578# arguments.  Must try -L first in case configure is actually a
11579# symlink; some systems play weird games with the mod time of symlinks
11580# (eg FreeBSD returns the mod time of the symlink's containing
11581# directory).
11582if (
11583   am_has_slept=no
11584   for am_try in 1 2; do
11585     echo "timestamp, slept: $am_has_slept" > conftest.file
11586     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
11587     if test "$*" = "X"; then
11588	# -L didn't work.
11589	set X `ls -t "$srcdir/configure" conftest.file`
11590     fi
11591     if test "$*" != "X $srcdir/configure conftest.file" \
11592	&& test "$*" != "X conftest.file $srcdir/configure"; then
11593
11594	# If neither matched, then we have a broken ls.  This can happen
11595	# if, for instance, CONFIG_SHELL is bash and it inherits a
11596	# broken ls alias from the environment.  This has actually
11597	# happened.  Such a system could not be considered "sane".
11598	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
11599  alias in your environment" "$LINENO" 5
11600     fi
11601     if test "$2" = conftest.file || test $am_try -eq 2; then
11602       break
11603     fi
11604     # Just in case.
11605     sleep 1
11606     am_has_slept=yes
11607   done
11608   test "$2" = conftest.file
11609   )
11610then
11611   # Ok.
11612   :
11613else
11614   as_fn_error $? "newly created file is older than distributed files!
11615Check your system clock" "$LINENO" 5
11616fi
11617{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11618$as_echo "yes" >&6; }
11619# If we didn't sleep, we still need to ensure time stamps of config.status and
11620# generated files are strictly newer.
11621am_sleep_pid=
11622if grep 'slept: no' conftest.file >/dev/null 2>&1; then
11623  ( sleep 1 ) &
11624  am_sleep_pid=$!
11625fi
11626
11627rm -f conftest.file
11628
11629test "$program_prefix" != NONE &&
11630  program_transform_name="s&^&$program_prefix&;$program_transform_name"
11631# Use a double $ so make ignores it.
11632test "$program_suffix" != NONE &&
11633  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
11634# Double any \ or $.
11635# By default was `s,x,x', remove it if useless.
11636ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
11637program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
11638
11639if test x"${MISSING+set}" != xset; then
11640  case $am_aux_dir in
11641  *\ * | *\	*)
11642    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
11643  *)
11644    MISSING="\${SHELL} $am_aux_dir/missing" ;;
11645  esac
11646fi
11647# Use eval to expand $SHELL
11648if eval "$MISSING --is-lightweight"; then
11649  am_missing_run="$MISSING "
11650else
11651  am_missing_run=
11652  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
11653$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
11654fi
11655
11656if test x"${install_sh+set}" != xset; then
11657  case $am_aux_dir in
11658  *\ * | *\	*)
11659    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
11660  *)
11661    install_sh="\${SHELL} $am_aux_dir/install-sh"
11662  esac
11663fi
11664
11665# Installed binaries are usually stripped using 'strip' when the user
11666# run "make install-strip".  However 'strip' might not be the right
11667# tool to use in cross-compilation environments, therefore Automake
11668# will honor the 'STRIP' environment variable to overrule this program.
11669if test "$cross_compiling" != no; then
11670  if test -n "$ac_tool_prefix"; then
11671  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
11672set dummy ${ac_tool_prefix}strip; ac_word=$2
11673{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11674$as_echo_n "checking for $ac_word... " >&6; }
11675if ${ac_cv_prog_STRIP+:} false; then :
11676  $as_echo_n "(cached) " >&6
11677else
11678  if test -n "$STRIP"; then
11679  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
11680else
11681as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11682for as_dir in $PATH
11683do
11684  IFS=$as_save_IFS
11685  test -z "$as_dir" && as_dir=.
11686    for ac_exec_ext in '' $ac_executable_extensions; do
11687  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11688    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
11689    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11690    break 2
11691  fi
11692done
11693  done
11694IFS=$as_save_IFS
11695
11696fi
11697fi
11698STRIP=$ac_cv_prog_STRIP
11699if test -n "$STRIP"; then
11700  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
11701$as_echo "$STRIP" >&6; }
11702else
11703  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11704$as_echo "no" >&6; }
11705fi
11706
11707
11708fi
11709if test -z "$ac_cv_prog_STRIP"; then
11710  ac_ct_STRIP=$STRIP
11711  # Extract the first word of "strip", so it can be a program name with args.
11712set dummy strip; ac_word=$2
11713{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11714$as_echo_n "checking for $ac_word... " >&6; }
11715if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
11716  $as_echo_n "(cached) " >&6
11717else
11718  if test -n "$ac_ct_STRIP"; then
11719  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
11720else
11721as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11722for as_dir in $PATH
11723do
11724  IFS=$as_save_IFS
11725  test -z "$as_dir" && as_dir=.
11726    for ac_exec_ext in '' $ac_executable_extensions; do
11727  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11728    ac_cv_prog_ac_ct_STRIP="strip"
11729    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11730    break 2
11731  fi
11732done
11733  done
11734IFS=$as_save_IFS
11735
11736fi
11737fi
11738ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
11739if test -n "$ac_ct_STRIP"; then
11740  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
11741$as_echo "$ac_ct_STRIP" >&6; }
11742else
11743  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11744$as_echo "no" >&6; }
11745fi
11746
11747  if test "x$ac_ct_STRIP" = x; then
11748    STRIP=":"
11749  else
11750    case $cross_compiling:$ac_tool_warned in
11751yes:)
11752{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11753$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11754ac_tool_warned=yes ;;
11755esac
11756    STRIP=$ac_ct_STRIP
11757  fi
11758else
11759  STRIP="$ac_cv_prog_STRIP"
11760fi
11761
11762fi
11763INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
11764
11765{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
11766$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
11767if test -z "$MKDIR_P"; then
11768  if ${ac_cv_path_mkdir+:} false; then :
11769  $as_echo_n "(cached) " >&6
11770else
11771  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11772for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
11773do
11774  IFS=$as_save_IFS
11775  test -z "$as_dir" && as_dir=.
11776    for ac_prog in mkdir gmkdir; do
11777	 for ac_exec_ext in '' $ac_executable_extensions; do
11778	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
11779	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
11780	     'mkdir (GNU coreutils) '* | \
11781	     'mkdir (coreutils) '* | \
11782	     'mkdir (fileutils) '4.1*)
11783	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
11784	       break 3;;
11785	   esac
11786	 done
11787       done
11788  done
11789IFS=$as_save_IFS
11790
11791fi
11792
11793  test -d ./--version && rmdir ./--version
11794  if test "${ac_cv_path_mkdir+set}" = set; then
11795    MKDIR_P="$ac_cv_path_mkdir -p"
11796  else
11797    # As a last resort, use the slow shell script.  Don't cache a
11798    # value for MKDIR_P within a source directory, because that will
11799    # break other packages using the cache if that directory is
11800    # removed, or if the value is a relative name.
11801    MKDIR_P="$ac_install_sh -d"
11802  fi
11803fi
11804{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
11805$as_echo "$MKDIR_P" >&6; }
11806
11807{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
11808$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
11809set x ${MAKE-make}
11810ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
11811if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
11812  $as_echo_n "(cached) " >&6
11813else
11814  cat >conftest.make <<\_ACEOF
11815SHELL = /bin/sh
11816all:
11817	@echo '@@@%%%=$(MAKE)=@@@%%%'
11818_ACEOF
11819# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
11820case `${MAKE-make} -f conftest.make 2>/dev/null` in
11821  *@@@%%%=?*=@@@%%%*)
11822    eval ac_cv_prog_make_${ac_make}_set=yes;;
11823  *)
11824    eval ac_cv_prog_make_${ac_make}_set=no;;
11825esac
11826rm -f conftest.make
11827fi
11828if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
11829  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11830$as_echo "yes" >&6; }
11831  SET_MAKE=
11832else
11833  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11834$as_echo "no" >&6; }
11835  SET_MAKE="MAKE=${MAKE-make}"
11836fi
11837
11838rm -rf .tst 2>/dev/null
11839mkdir .tst 2>/dev/null
11840if test -d .tst; then
11841  am__leading_dot=.
11842else
11843  am__leading_dot=_
11844fi
11845rmdir .tst 2>/dev/null
11846
11847DEPDIR="${am__leading_dot}deps"
11848
11849ac_config_commands="$ac_config_commands depfiles"
11850
11851{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
11852$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
11853cat > confinc.mk << 'END'
11854am__doit:
11855	@echo this is the am__doit target >confinc.out
11856.PHONY: am__doit
11857END
11858am__include="#"
11859am__quote=
11860# BSD make does it like this.
11861echo '.include "confinc.mk" # ignored' > confmf.BSD
11862# Other make implementations (GNU, Solaris 10, AIX) do it like this.
11863echo 'include confinc.mk # ignored' > confmf.GNU
11864_am_result=no
11865for s in GNU BSD; do
11866  { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
11867   (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
11868   ac_status=$?
11869   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11870   (exit $ac_status); }
11871  case $?:`cat confinc.out 2>/dev/null` in #(
11872  '0:this is the am__doit target') :
11873    case $s in #(
11874  BSD) :
11875    am__include='.include' am__quote='"' ;; #(
11876  *) :
11877    am__include='include' am__quote='' ;;
11878esac ;; #(
11879  *) :
11880     ;;
11881esac
11882  if test "$am__include" != "#"; then
11883    _am_result="yes ($s style)"
11884    break
11885  fi
11886done
11887rm -f confinc.* confmf.*
11888{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
11889$as_echo "${_am_result}" >&6; }
11890
11891# Check whether --enable-dependency-tracking was given.
11892if test "${enable_dependency_tracking+set}" = set; then :
11893  enableval=$enable_dependency_tracking;
11894fi
11895
11896if test "x$enable_dependency_tracking" != xno; then
11897  am_depcomp="$ac_aux_dir/depcomp"
11898  AMDEPBACKSLASH='\'
11899  am__nodep='_no'
11900fi
11901 if test "x$enable_dependency_tracking" != xno; then
11902  AMDEP_TRUE=
11903  AMDEP_FALSE='#'
11904else
11905  AMDEP_TRUE='#'
11906  AMDEP_FALSE=
11907fi
11908
11909
11910# Check whether --enable-silent-rules was given.
11911if test "${enable_silent_rules+set}" = set; then :
11912  enableval=$enable_silent_rules;
11913fi
11914
11915case $enable_silent_rules in # (((
11916  yes) AM_DEFAULT_VERBOSITY=0;;
11917   no) AM_DEFAULT_VERBOSITY=1;;
11918    *) AM_DEFAULT_VERBOSITY=1;;
11919esac
11920am_make=${MAKE-make}
11921{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
11922$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
11923if ${am_cv_make_support_nested_variables+:} false; then :
11924  $as_echo_n "(cached) " >&6
11925else
11926  if $as_echo 'TRUE=$(BAR$(V))
11927BAR0=false
11928BAR1=true
11929V=1
11930am__doit:
11931	@$(TRUE)
11932.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
11933  am_cv_make_support_nested_variables=yes
11934else
11935  am_cv_make_support_nested_variables=no
11936fi
11937fi
11938{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
11939$as_echo "$am_cv_make_support_nested_variables" >&6; }
11940if test $am_cv_make_support_nested_variables = yes; then
11941    AM_V='$(V)'
11942  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
11943else
11944  AM_V=$AM_DEFAULT_VERBOSITY
11945  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
11946fi
11947AM_BACKSLASH='\'
11948
11949if test "`cd $srcdir && pwd`" != "`pwd`"; then
11950  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
11951  # is not polluted with repeated "-I."
11952  am__isrc=' -I$(srcdir)'
11953  # test to see if srcdir already configured
11954  if test -f $srcdir/config.status; then
11955    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
11956  fi
11957fi
11958
11959# test whether we have cygpath
11960if test -z "$CYGPATH_W"; then
11961  if (cygpath --version) >/dev/null 2>/dev/null; then
11962    CYGPATH_W='cygpath -w'
11963  else
11964    CYGPATH_W=echo
11965  fi
11966fi
11967
11968
11969# Define the identity of the package.
11970 PACKAGE='xfce4-notes-plugin'
11971 VERSION='1.9.0'
11972
11973
11974cat >>confdefs.h <<_ACEOF
11975#define PACKAGE "$PACKAGE"
11976_ACEOF
11977
11978
11979cat >>confdefs.h <<_ACEOF
11980#define VERSION "$VERSION"
11981_ACEOF
11982
11983# Some tools Automake needs.
11984
11985ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
11986
11987
11988AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
11989
11990
11991AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
11992
11993
11994AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
11995
11996
11997MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
11998
11999# For better backward compatibility.  To be removed once Automake 1.9.x
12000# dies out for good.  For more background, see:
12001# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
12002# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
12003mkdir_p='$(MKDIR_P)'
12004
12005# We need awk for the "check" target (and possibly the TAP driver).  The
12006# system "awk" is bad on some platforms.
12007# Always define AMTAR for backward compatibility.  Yes, it's still used
12008# in the wild :-(  We should find a proper way to deprecate it ...
12009AMTAR='$${TAR-tar}'
12010
12011
12012# We'll loop over all known methods to create a tar archive until one works.
12013_am_tools='gnutar  pax cpio none'
12014
12015am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
12016
12017
12018
12019
12020
12021depcc="$CC"   am_compiler_list=
12022
12023{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12024$as_echo_n "checking dependency style of $depcc... " >&6; }
12025if ${am_cv_CC_dependencies_compiler_type+:} false; then :
12026  $as_echo_n "(cached) " >&6
12027else
12028  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12029  # We make a subdir and do the tests there.  Otherwise we can end up
12030  # making bogus files that we don't know about and never remove.  For
12031  # instance it was reported that on HP-UX the gcc test will end up
12032  # making a dummy file named 'D' -- because '-MD' means "put the output
12033  # in D".
12034  rm -rf conftest.dir
12035  mkdir conftest.dir
12036  # Copy depcomp to subdir because otherwise we won't find it if we're
12037  # using a relative directory.
12038  cp "$am_depcomp" conftest.dir
12039  cd conftest.dir
12040  # We will build objects and dependencies in a subdirectory because
12041  # it helps to detect inapplicable dependency modes.  For instance
12042  # both Tru64's cc and ICC support -MD to output dependencies as a
12043  # side effect of compilation, but ICC will put the dependencies in
12044  # the current directory while Tru64 will put them in the object
12045  # directory.
12046  mkdir sub
12047
12048  am_cv_CC_dependencies_compiler_type=none
12049  if test "$am_compiler_list" = ""; then
12050     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12051  fi
12052  am__universal=false
12053  case " $depcc " in #(
12054     *\ -arch\ *\ -arch\ *) am__universal=true ;;
12055     esac
12056
12057  for depmode in $am_compiler_list; do
12058    # Setup a source with many dependencies, because some compilers
12059    # like to wrap large dependency lists on column 80 (with \), and
12060    # we should not choose a depcomp mode which is confused by this.
12061    #
12062    # We need to recreate these files for each test, as the compiler may
12063    # overwrite some of them when testing with obscure command lines.
12064    # This happens at least with the AIX C compiler.
12065    : > sub/conftest.c
12066    for i in 1 2 3 4 5 6; do
12067      echo '#include "conftst'$i'.h"' >> sub/conftest.c
12068      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
12069      # Solaris 10 /bin/sh.
12070      echo '/* dummy */' > sub/conftst$i.h
12071    done
12072    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12073
12074    # We check with '-c' and '-o' for the sake of the "dashmstdout"
12075    # mode.  It turns out that the SunPro C++ compiler does not properly
12076    # handle '-M -o', and we need to detect this.  Also, some Intel
12077    # versions had trouble with output in subdirs.
12078    am__obj=sub/conftest.${OBJEXT-o}
12079    am__minus_obj="-o $am__obj"
12080    case $depmode in
12081    gcc)
12082      # This depmode causes a compiler race in universal mode.
12083      test "$am__universal" = false || continue
12084      ;;
12085    nosideeffect)
12086      # After this tag, mechanisms are not by side-effect, so they'll
12087      # only be used when explicitly requested.
12088      if test "x$enable_dependency_tracking" = xyes; then
12089	continue
12090      else
12091	break
12092      fi
12093      ;;
12094    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
12095      # This compiler won't grok '-c -o', but also, the minuso test has
12096      # not run yet.  These depmodes are late enough in the game, and
12097      # so weak that their functioning should not be impacted.
12098      am__obj=conftest.${OBJEXT-o}
12099      am__minus_obj=
12100      ;;
12101    none) break ;;
12102    esac
12103    if depmode=$depmode \
12104       source=sub/conftest.c object=$am__obj \
12105       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12106       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
12107         >/dev/null 2>conftest.err &&
12108       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
12109       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12110       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
12111       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12112      # icc doesn't choke on unknown options, it will just issue warnings
12113      # or remarks (even with -Werror).  So we grep stderr for any message
12114      # that says an option was ignored or not supported.
12115      # When given -MP, icc 7.0 and 7.1 complain thusly:
12116      #   icc: Command line warning: ignoring option '-M'; no argument required
12117      # The diagnosis changed in icc 8.0:
12118      #   icc: Command line remark: option '-MP' not supported
12119      if (grep 'ignoring option' conftest.err ||
12120          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12121        am_cv_CC_dependencies_compiler_type=$depmode
12122        break
12123      fi
12124    fi
12125  done
12126
12127  cd ..
12128  rm -rf conftest.dir
12129else
12130  am_cv_CC_dependencies_compiler_type=none
12131fi
12132
12133fi
12134{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
12135$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
12136CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
12137
12138 if
12139  test "x$enable_dependency_tracking" != xno \
12140  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
12141  am__fastdepCC_TRUE=
12142  am__fastdepCC_FALSE='#'
12143else
12144  am__fastdepCC_TRUE='#'
12145  am__fastdepCC_FALSE=
12146fi
12147
12148
12149
12150# POSIX will say in a future version that running "rm -f" with no argument
12151# is OK; and we want to be able to make that assumption in our Makefile
12152# recipes.  So use an aggressive probe to check that the usage we want is
12153# actually supported "in the wild" to an acceptable degree.
12154# See automake bug#10828.
12155# To make any issue more visible, cause the running configure to be aborted
12156# by default if the 'rm' program in use doesn't match our expectations; the
12157# user can still override this though.
12158if rm -f && rm -fr && rm -rf; then : OK; else
12159  cat >&2 <<'END'
12160Oops!
12161
12162Your 'rm' program seems unable to run without file operands specified
12163on the command line, even when the '-f' option is present.  This is contrary
12164to the behaviour of most rm programs out there, and not conforming with
12165the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
12166
12167Please tell bug-automake@gnu.org about your system, including the value
12168of your $PATH and any error possibly output before this message.  This
12169can help us improve future automake versions.
12170
12171END
12172  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
12173    echo 'Configuration will proceed anyway, since you have set the' >&2
12174    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
12175    echo >&2
12176  else
12177    cat >&2 <<'END'
12178Aborting the configuration process, to ensure you take notice of the issue.
12179
12180You can download and install GNU coreutils to get an 'rm' implementation
12181that behaves properly: <https://www.gnu.org/software/coreutils/>.
12182
12183If you want to complete the configuration process using your problematic
12184'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
12185to "yes", and re-run configure.
12186
12187END
12188    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
12189  fi
12190fi
12191
12192
12193{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
12194$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
12195    # Check whether --enable-maintainer-mode was given.
12196if test "${enable_maintainer_mode+set}" = set; then :
12197  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
12198else
12199  USE_MAINTAINER_MODE=no
12200fi
12201
12202  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
12203$as_echo "$USE_MAINTAINER_MODE" >&6; }
12204   if test $USE_MAINTAINER_MODE = yes; then
12205  MAINTAINER_MODE_TRUE=
12206  MAINTAINER_MODE_FALSE='#'
12207else
12208  MAINTAINER_MODE_TRUE='#'
12209  MAINTAINER_MODE_FALSE=
12210fi
12211
12212  MAINT=$MAINTAINER_MODE_TRUE
12213
12214
12215# Check whether --enable-silent-rules was given.
12216if test "${enable_silent_rules+set}" = set; then :
12217  enableval=$enable_silent_rules;
12218fi
12219
12220case $enable_silent_rules in # (((
12221  yes) AM_DEFAULT_VERBOSITY=0;;
12222   no) AM_DEFAULT_VERBOSITY=1;;
12223    *) AM_DEFAULT_VERBOSITY=0;;
12224esac
12225am_make=${MAKE-make}
12226{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
12227$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
12228if ${am_cv_make_support_nested_variables+:} false; then :
12229  $as_echo_n "(cached) " >&6
12230else
12231  if $as_echo 'TRUE=$(BAR$(V))
12232BAR0=false
12233BAR1=true
12234V=1
12235am__doit:
12236	@$(TRUE)
12237.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
12238  am_cv_make_support_nested_variables=yes
12239else
12240  am_cv_make_support_nested_variables=no
12241fi
12242fi
12243{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
12244$as_echo "$am_cv_make_support_nested_variables" >&6; }
12245if test $am_cv_make_support_nested_variables = yes; then
12246    AM_V='$(V)'
12247  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
12248else
12249  AM_V=$AM_DEFAULT_VERBOSITY
12250  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
12251fi
12252AM_BACKSLASH='\'
12253
12254
12255
12256
12257
12258
12259# Check whether --with-gnu-ld was given.
12260if test "${with_gnu_ld+set}" = set; then :
12261  withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
12262else
12263  with_gnu_ld=no
12264fi
12265
12266ac_prog=ld
12267if test yes = "$GCC"; then
12268  # Check if gcc -print-prog-name=ld gives a path.
12269  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12270$as_echo_n "checking for ld used by $CC... " >&6; }
12271  case $host in
12272  *-*-mingw*)
12273    # gcc leaves a trailing carriage return, which upsets mingw
12274    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12275  *)
12276    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12277  esac
12278  case $ac_prog in
12279    # Accept absolute paths.
12280    [\\/]* | ?:[\\/]*)
12281      re_direlt='/[^/][^/]*/\.\./'
12282      # Canonicalize the pathname of ld
12283      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12284      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12285	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12286      done
12287      test -z "$LD" && LD=$ac_prog
12288      ;;
12289  "")
12290    # If it fails, then pretend we aren't using GCC.
12291    ac_prog=ld
12292    ;;
12293  *)
12294    # If it is relative, then search for the first ld in PATH.
12295    with_gnu_ld=unknown
12296    ;;
12297  esac
12298elif test yes = "$with_gnu_ld"; then
12299  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12300$as_echo_n "checking for GNU ld... " >&6; }
12301else
12302  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12303$as_echo_n "checking for non-GNU ld... " >&6; }
12304fi
12305if ${lt_cv_path_LD+:} false; then :
12306  $as_echo_n "(cached) " >&6
12307else
12308  if test -z "$LD"; then
12309  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
12310  for ac_dir in $PATH; do
12311    IFS=$lt_save_ifs
12312    test -z "$ac_dir" && ac_dir=.
12313    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12314      lt_cv_path_LD=$ac_dir/$ac_prog
12315      # Check to see if the program is GNU ld.  I'd rather use --version,
12316      # but apparently some variants of GNU ld only accept -v.
12317      # Break only if it was the GNU/non-GNU ld that we prefer.
12318      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12319      *GNU* | *'with BFD'*)
12320	test no != "$with_gnu_ld" && break
12321	;;
12322      *)
12323	test yes != "$with_gnu_ld" && break
12324	;;
12325      esac
12326    fi
12327  done
12328  IFS=$lt_save_ifs
12329else
12330  lt_cv_path_LD=$LD # Let the user override the test with a path.
12331fi
12332fi
12333
12334LD=$lt_cv_path_LD
12335if test -n "$LD"; then
12336  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12337$as_echo "$LD" >&6; }
12338else
12339  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12340$as_echo "no" >&6; }
12341fi
12342test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12343{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12344$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12345if ${lt_cv_prog_gnu_ld+:} false; then :
12346  $as_echo_n "(cached) " >&6
12347else
12348  # I'd rather use --version here, but apparently some GNU lds only accept -v.
12349case `$LD -v 2>&1 </dev/null` in
12350*GNU* | *'with BFD'*)
12351  lt_cv_prog_gnu_ld=yes
12352  ;;
12353*)
12354  lt_cv_prog_gnu_ld=no
12355  ;;
12356esac
12357fi
12358{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12359$as_echo "$lt_cv_prog_gnu_ld" >&6; }
12360with_gnu_ld=$lt_cv_prog_gnu_ld
12361
12362
12363
12364
12365
12366
12367
12368
12369for ac_header in math.h
12370do :
12371  ac_fn_c_check_header_mongrel "$LINENO" "math.h" "ac_cv_header_math_h" "$ac_includes_default"
12372if test "x$ac_cv_header_math_h" = xyes; then :
12373  cat >>confdefs.h <<_ACEOF
12374#define HAVE_MATH_H 1
12375_ACEOF
12376
12377fi
12378
12379done
12380
12381MATH_LIBS=" -lm"
12382
12383
12384{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
12385$as_echo_n "checking for X... " >&6; }
12386
12387
12388# Check whether --with-x was given.
12389if test "${with_x+set}" = set; then :
12390  withval=$with_x;
12391fi
12392
12393# $have_x is `yes', `no', `disabled', or empty when we do not yet know.
12394if test "x$with_x" = xno; then
12395  # The user explicitly disabled X.
12396  have_x=disabled
12397else
12398  case $x_includes,$x_libraries in #(
12399    *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
12400    *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
12401  $as_echo_n "(cached) " >&6
12402else
12403  # One or both of the vars are not set, and there is no cached value.
12404ac_x_includes=no ac_x_libraries=no
12405rm -f -r conftest.dir
12406if mkdir conftest.dir; then
12407  cd conftest.dir
12408  cat >Imakefile <<'_ACEOF'
12409incroot:
12410	@echo incroot='${INCROOT}'
12411usrlibdir:
12412	@echo usrlibdir='${USRLIBDIR}'
12413libdir:
12414	@echo libdir='${LIBDIR}'
12415_ACEOF
12416  if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
12417    # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
12418    for ac_var in incroot usrlibdir libdir; do
12419      eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
12420    done
12421    # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
12422    for ac_extension in a so sl dylib la dll; do
12423      if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
12424	 test -f "$ac_im_libdir/libX11.$ac_extension"; then
12425	ac_im_usrlibdir=$ac_im_libdir; break
12426      fi
12427    done
12428    # Screen out bogus values from the imake configuration.  They are
12429    # bogus both because they are the default anyway, and because
12430    # using them would break gcc on systems where it needs fixed includes.
12431    case $ac_im_incroot in
12432	/usr/include) ac_x_includes= ;;
12433	*) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
12434    esac
12435    case $ac_im_usrlibdir in
12436	/usr/lib | /usr/lib64 | /lib | /lib64) ;;
12437	*) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
12438    esac
12439  fi
12440  cd ..
12441  rm -f -r conftest.dir
12442fi
12443
12444# Standard set of common directories for X headers.
12445# Check X11 before X11Rn because it is often a symlink to the current release.
12446ac_x_header_dirs='
12447/usr/X11/include
12448/usr/X11R7/include
12449/usr/X11R6/include
12450/usr/X11R5/include
12451/usr/X11R4/include
12452
12453/usr/include/X11
12454/usr/include/X11R7
12455/usr/include/X11R6
12456/usr/include/X11R5
12457/usr/include/X11R4
12458
12459/usr/local/X11/include
12460/usr/local/X11R7/include
12461/usr/local/X11R6/include
12462/usr/local/X11R5/include
12463/usr/local/X11R4/include
12464
12465/usr/local/include/X11
12466/usr/local/include/X11R7
12467/usr/local/include/X11R6
12468/usr/local/include/X11R5
12469/usr/local/include/X11R4
12470
12471/usr/X386/include
12472/usr/x386/include
12473/usr/XFree86/include/X11
12474
12475/usr/include
12476/usr/local/include
12477/usr/unsupported/include
12478/usr/athena/include
12479/usr/local/x11r5/include
12480/usr/lpp/Xamples/include
12481
12482/usr/openwin/include
12483/usr/openwin/share/include'
12484
12485if test "$ac_x_includes" = no; then
12486  # Guess where to find include files, by looking for Xlib.h.
12487  # First, try using that file with no special directory specified.
12488  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12489/* end confdefs.h.  */
12490#include <X11/Xlib.h>
12491_ACEOF
12492if ac_fn_c_try_cpp "$LINENO"; then :
12493  # We can compile using X headers with no special include directory.
12494ac_x_includes=
12495else
12496  for ac_dir in $ac_x_header_dirs; do
12497  if test -r "$ac_dir/X11/Xlib.h"; then
12498    ac_x_includes=$ac_dir
12499    break
12500  fi
12501done
12502fi
12503rm -f conftest.err conftest.i conftest.$ac_ext
12504fi # $ac_x_includes = no
12505
12506if test "$ac_x_libraries" = no; then
12507  # Check for the libraries.
12508  # See if we find them without any special options.
12509  # Don't add to $LIBS permanently.
12510  ac_save_LIBS=$LIBS
12511  LIBS="-lX11 $LIBS"
12512  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12513/* end confdefs.h.  */
12514#include <X11/Xlib.h>
12515int
12516main ()
12517{
12518XrmInitialize ()
12519  ;
12520  return 0;
12521}
12522_ACEOF
12523if ac_fn_c_try_link "$LINENO"; then :
12524  LIBS=$ac_save_LIBS
12525# We can link X programs with no special library path.
12526ac_x_libraries=
12527else
12528  LIBS=$ac_save_LIBS
12529for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
12530do
12531  # Don't even attempt the hair of trying to link an X program!
12532  for ac_extension in a so sl dylib la dll; do
12533    if test -r "$ac_dir/libX11.$ac_extension"; then
12534      ac_x_libraries=$ac_dir
12535      break 2
12536    fi
12537  done
12538done
12539fi
12540rm -f core conftest.err conftest.$ac_objext \
12541    conftest$ac_exeext conftest.$ac_ext
12542fi # $ac_x_libraries = no
12543
12544case $ac_x_includes,$ac_x_libraries in #(
12545  no,* | *,no | *\'*)
12546    # Didn't find X, or a directory has "'" in its name.
12547    ac_cv_have_x="have_x=no";; #(
12548  *)
12549    # Record where we found X for the cache.
12550    ac_cv_have_x="have_x=yes\
12551	ac_x_includes='$ac_x_includes'\
12552	ac_x_libraries='$ac_x_libraries'"
12553esac
12554fi
12555;; #(
12556    *) have_x=yes;;
12557  esac
12558  eval "$ac_cv_have_x"
12559fi # $with_x != no
12560
12561if test "$have_x" != yes; then
12562  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
12563$as_echo "$have_x" >&6; }
12564  no_x=yes
12565else
12566  # If each of the values was on the command line, it overrides each guess.
12567  test "x$x_includes" = xNONE && x_includes=$ac_x_includes
12568  test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
12569  # Update the cache value to reflect the command line values.
12570  ac_cv_have_x="have_x=yes\
12571	ac_x_includes='$x_includes'\
12572	ac_x_libraries='$x_libraries'"
12573  { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
12574$as_echo "libraries $x_libraries, headers $x_includes" >&6; }
12575fi
12576
12577if test "$no_x" = yes; then
12578  # Not all programs may use this symbol, but it does not hurt to define it.
12579
12580$as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
12581
12582  X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
12583else
12584  if test -n "$x_includes"; then
12585    X_CFLAGS="$X_CFLAGS -I$x_includes"
12586  fi
12587
12588  # It would also be nice to do this for all -L options, not just this one.
12589  if test -n "$x_libraries"; then
12590    X_LIBS="$X_LIBS -L$x_libraries"
12591    # For Solaris; some versions of Sun CC require a space after -R and
12592    # others require no space.  Words are not sufficient . . . .
12593    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
12594$as_echo_n "checking whether -R must be followed by a space... " >&6; }
12595    ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
12596    ac_xsave_c_werror_flag=$ac_c_werror_flag
12597    ac_c_werror_flag=yes
12598    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12599/* end confdefs.h.  */
12600
12601int
12602main ()
12603{
12604
12605  ;
12606  return 0;
12607}
12608_ACEOF
12609if ac_fn_c_try_link "$LINENO"; then :
12610  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12611$as_echo "no" >&6; }
12612       X_LIBS="$X_LIBS -R$x_libraries"
12613else
12614  LIBS="$ac_xsave_LIBS -R $x_libraries"
12615       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12616/* end confdefs.h.  */
12617
12618int
12619main ()
12620{
12621
12622  ;
12623  return 0;
12624}
12625_ACEOF
12626if ac_fn_c_try_link "$LINENO"; then :
12627  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12628$as_echo "yes" >&6; }
12629	  X_LIBS="$X_LIBS -R $x_libraries"
12630else
12631  { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
12632$as_echo "neither works" >&6; }
12633fi
12634rm -f core conftest.err conftest.$ac_objext \
12635    conftest$ac_exeext conftest.$ac_ext
12636fi
12637rm -f core conftest.err conftest.$ac_objext \
12638    conftest$ac_exeext conftest.$ac_ext
12639    ac_c_werror_flag=$ac_xsave_c_werror_flag
12640    LIBS=$ac_xsave_LIBS
12641  fi
12642
12643  # Check for system-dependent libraries X programs must link with.
12644  # Do this before checking for the system-independent R6 libraries
12645  # (-lICE), since we may need -lsocket or whatever for X linking.
12646
12647  if test "$ISC" = yes; then
12648    X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
12649  else
12650    # Martyn Johnson says this is needed for Ultrix, if the X
12651    # libraries were built with DECnet support.  And Karl Berry says
12652    # the Alpha needs dnet_stub (dnet does not exist).
12653    ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
12654    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12655/* end confdefs.h.  */
12656
12657/* Override any GCC internal prototype to avoid an error.
12658   Use char because int might match the return type of a GCC
12659   builtin and then its argument prototype would still apply.  */
12660#ifdef __cplusplus
12661extern "C"
12662#endif
12663char XOpenDisplay ();
12664int
12665main ()
12666{
12667return XOpenDisplay ();
12668  ;
12669  return 0;
12670}
12671_ACEOF
12672if ac_fn_c_try_link "$LINENO"; then :
12673
12674else
12675  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
12676$as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
12677if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
12678  $as_echo_n "(cached) " >&6
12679else
12680  ac_check_lib_save_LIBS=$LIBS
12681LIBS="-ldnet  $LIBS"
12682cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12683/* end confdefs.h.  */
12684
12685/* Override any GCC internal prototype to avoid an error.
12686   Use char because int might match the return type of a GCC
12687   builtin and then its argument prototype would still apply.  */
12688#ifdef __cplusplus
12689extern "C"
12690#endif
12691char dnet_ntoa ();
12692int
12693main ()
12694{
12695return dnet_ntoa ();
12696  ;
12697  return 0;
12698}
12699_ACEOF
12700if ac_fn_c_try_link "$LINENO"; then :
12701  ac_cv_lib_dnet_dnet_ntoa=yes
12702else
12703  ac_cv_lib_dnet_dnet_ntoa=no
12704fi
12705rm -f core conftest.err conftest.$ac_objext \
12706    conftest$ac_exeext conftest.$ac_ext
12707LIBS=$ac_check_lib_save_LIBS
12708fi
12709{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
12710$as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
12711if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
12712  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
12713fi
12714
12715    if test $ac_cv_lib_dnet_dnet_ntoa = no; then
12716      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
12717$as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
12718if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
12719  $as_echo_n "(cached) " >&6
12720else
12721  ac_check_lib_save_LIBS=$LIBS
12722LIBS="-ldnet_stub  $LIBS"
12723cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12724/* end confdefs.h.  */
12725
12726/* Override any GCC internal prototype to avoid an error.
12727   Use char because int might match the return type of a GCC
12728   builtin and then its argument prototype would still apply.  */
12729#ifdef __cplusplus
12730extern "C"
12731#endif
12732char dnet_ntoa ();
12733int
12734main ()
12735{
12736return dnet_ntoa ();
12737  ;
12738  return 0;
12739}
12740_ACEOF
12741if ac_fn_c_try_link "$LINENO"; then :
12742  ac_cv_lib_dnet_stub_dnet_ntoa=yes
12743else
12744  ac_cv_lib_dnet_stub_dnet_ntoa=no
12745fi
12746rm -f core conftest.err conftest.$ac_objext \
12747    conftest$ac_exeext conftest.$ac_ext
12748LIBS=$ac_check_lib_save_LIBS
12749fi
12750{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
12751$as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
12752if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
12753  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
12754fi
12755
12756    fi
12757fi
12758rm -f core conftest.err conftest.$ac_objext \
12759    conftest$ac_exeext conftest.$ac_ext
12760    LIBS="$ac_xsave_LIBS"
12761
12762    # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
12763    # to get the SysV transport functions.
12764    # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
12765    # needs -lnsl.
12766    # The nsl library prevents programs from opening the X display
12767    # on Irix 5.2, according to T.E. Dickey.
12768    # The functions gethostbyname, getservbyname, and inet_addr are
12769    # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
12770    ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
12771if test "x$ac_cv_func_gethostbyname" = xyes; then :
12772
12773fi
12774
12775    if test $ac_cv_func_gethostbyname = no; then
12776      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
12777$as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
12778if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
12779  $as_echo_n "(cached) " >&6
12780else
12781  ac_check_lib_save_LIBS=$LIBS
12782LIBS="-lnsl  $LIBS"
12783cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12784/* end confdefs.h.  */
12785
12786/* Override any GCC internal prototype to avoid an error.
12787   Use char because int might match the return type of a GCC
12788   builtin and then its argument prototype would still apply.  */
12789#ifdef __cplusplus
12790extern "C"
12791#endif
12792char gethostbyname ();
12793int
12794main ()
12795{
12796return gethostbyname ();
12797  ;
12798  return 0;
12799}
12800_ACEOF
12801if ac_fn_c_try_link "$LINENO"; then :
12802  ac_cv_lib_nsl_gethostbyname=yes
12803else
12804  ac_cv_lib_nsl_gethostbyname=no
12805fi
12806rm -f core conftest.err conftest.$ac_objext \
12807    conftest$ac_exeext conftest.$ac_ext
12808LIBS=$ac_check_lib_save_LIBS
12809fi
12810{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
12811$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
12812if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
12813  X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
12814fi
12815
12816      if test $ac_cv_lib_nsl_gethostbyname = no; then
12817	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
12818$as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
12819if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
12820  $as_echo_n "(cached) " >&6
12821else
12822  ac_check_lib_save_LIBS=$LIBS
12823LIBS="-lbsd  $LIBS"
12824cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12825/* end confdefs.h.  */
12826
12827/* Override any GCC internal prototype to avoid an error.
12828   Use char because int might match the return type of a GCC
12829   builtin and then its argument prototype would still apply.  */
12830#ifdef __cplusplus
12831extern "C"
12832#endif
12833char gethostbyname ();
12834int
12835main ()
12836{
12837return gethostbyname ();
12838  ;
12839  return 0;
12840}
12841_ACEOF
12842if ac_fn_c_try_link "$LINENO"; then :
12843  ac_cv_lib_bsd_gethostbyname=yes
12844else
12845  ac_cv_lib_bsd_gethostbyname=no
12846fi
12847rm -f core conftest.err conftest.$ac_objext \
12848    conftest$ac_exeext conftest.$ac_ext
12849LIBS=$ac_check_lib_save_LIBS
12850fi
12851{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
12852$as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
12853if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
12854  X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
12855fi
12856
12857      fi
12858    fi
12859
12860    # lieder@skyler.mavd.honeywell.com says without -lsocket,
12861    # socket/setsockopt and other routines are undefined under SCO ODT
12862    # 2.0.  But -lsocket is broken on IRIX 5.2 (and is not necessary
12863    # on later versions), says Simon Leinen: it contains gethostby*
12864    # variants that don't use the name server (or something).  -lsocket
12865    # must be given before -lnsl if both are needed.  We assume that
12866    # if connect needs -lnsl, so does gethostbyname.
12867    ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
12868if test "x$ac_cv_func_connect" = xyes; then :
12869
12870fi
12871
12872    if test $ac_cv_func_connect = no; then
12873      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
12874$as_echo_n "checking for connect in -lsocket... " >&6; }
12875if ${ac_cv_lib_socket_connect+:} false; then :
12876  $as_echo_n "(cached) " >&6
12877else
12878  ac_check_lib_save_LIBS=$LIBS
12879LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
12880cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12881/* end confdefs.h.  */
12882
12883/* Override any GCC internal prototype to avoid an error.
12884   Use char because int might match the return type of a GCC
12885   builtin and then its argument prototype would still apply.  */
12886#ifdef __cplusplus
12887extern "C"
12888#endif
12889char connect ();
12890int
12891main ()
12892{
12893return connect ();
12894  ;
12895  return 0;
12896}
12897_ACEOF
12898if ac_fn_c_try_link "$LINENO"; then :
12899  ac_cv_lib_socket_connect=yes
12900else
12901  ac_cv_lib_socket_connect=no
12902fi
12903rm -f core conftest.err conftest.$ac_objext \
12904    conftest$ac_exeext conftest.$ac_ext
12905LIBS=$ac_check_lib_save_LIBS
12906fi
12907{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
12908$as_echo "$ac_cv_lib_socket_connect" >&6; }
12909if test "x$ac_cv_lib_socket_connect" = xyes; then :
12910  X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
12911fi
12912
12913    fi
12914
12915    # Guillermo Gomez says -lposix is necessary on A/UX.
12916    ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
12917if test "x$ac_cv_func_remove" = xyes; then :
12918
12919fi
12920
12921    if test $ac_cv_func_remove = no; then
12922      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
12923$as_echo_n "checking for remove in -lposix... " >&6; }
12924if ${ac_cv_lib_posix_remove+:} false; then :
12925  $as_echo_n "(cached) " >&6
12926else
12927  ac_check_lib_save_LIBS=$LIBS
12928LIBS="-lposix  $LIBS"
12929cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12930/* end confdefs.h.  */
12931
12932/* Override any GCC internal prototype to avoid an error.
12933   Use char because int might match the return type of a GCC
12934   builtin and then its argument prototype would still apply.  */
12935#ifdef __cplusplus
12936extern "C"
12937#endif
12938char remove ();
12939int
12940main ()
12941{
12942return remove ();
12943  ;
12944  return 0;
12945}
12946_ACEOF
12947if ac_fn_c_try_link "$LINENO"; then :
12948  ac_cv_lib_posix_remove=yes
12949else
12950  ac_cv_lib_posix_remove=no
12951fi
12952rm -f core conftest.err conftest.$ac_objext \
12953    conftest$ac_exeext conftest.$ac_ext
12954LIBS=$ac_check_lib_save_LIBS
12955fi
12956{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
12957$as_echo "$ac_cv_lib_posix_remove" >&6; }
12958if test "x$ac_cv_lib_posix_remove" = xyes; then :
12959  X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
12960fi
12961
12962    fi
12963
12964    # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
12965    ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
12966if test "x$ac_cv_func_shmat" = xyes; then :
12967
12968fi
12969
12970    if test $ac_cv_func_shmat = no; then
12971      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
12972$as_echo_n "checking for shmat in -lipc... " >&6; }
12973if ${ac_cv_lib_ipc_shmat+:} false; then :
12974  $as_echo_n "(cached) " >&6
12975else
12976  ac_check_lib_save_LIBS=$LIBS
12977LIBS="-lipc  $LIBS"
12978cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12979/* end confdefs.h.  */
12980
12981/* Override any GCC internal prototype to avoid an error.
12982   Use char because int might match the return type of a GCC
12983   builtin and then its argument prototype would still apply.  */
12984#ifdef __cplusplus
12985extern "C"
12986#endif
12987char shmat ();
12988int
12989main ()
12990{
12991return shmat ();
12992  ;
12993  return 0;
12994}
12995_ACEOF
12996if ac_fn_c_try_link "$LINENO"; then :
12997  ac_cv_lib_ipc_shmat=yes
12998else
12999  ac_cv_lib_ipc_shmat=no
13000fi
13001rm -f core conftest.err conftest.$ac_objext \
13002    conftest$ac_exeext conftest.$ac_ext
13003LIBS=$ac_check_lib_save_LIBS
13004fi
13005{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
13006$as_echo "$ac_cv_lib_ipc_shmat" >&6; }
13007if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
13008  X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
13009fi
13010
13011    fi
13012  fi
13013
13014  # Check for libraries that X11R6 Xt/Xaw programs need.
13015  ac_save_LDFLAGS=$LDFLAGS
13016  test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
13017  # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
13018  # check for ICE first), but we must link in the order -lSM -lICE or
13019  # we get undefined symbols.  So assume we have SM if we have ICE.
13020  # These have to be linked with before -lX11, unlike the other
13021  # libraries we check for below, so use a different variable.
13022  # John Interrante, Karl Berry
13023  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
13024$as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
13025if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
13026  $as_echo_n "(cached) " >&6
13027else
13028  ac_check_lib_save_LIBS=$LIBS
13029LIBS="-lICE $X_EXTRA_LIBS $LIBS"
13030cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13031/* end confdefs.h.  */
13032
13033/* Override any GCC internal prototype to avoid an error.
13034   Use char because int might match the return type of a GCC
13035   builtin and then its argument prototype would still apply.  */
13036#ifdef __cplusplus
13037extern "C"
13038#endif
13039char IceConnectionNumber ();
13040int
13041main ()
13042{
13043return IceConnectionNumber ();
13044  ;
13045  return 0;
13046}
13047_ACEOF
13048if ac_fn_c_try_link "$LINENO"; then :
13049  ac_cv_lib_ICE_IceConnectionNumber=yes
13050else
13051  ac_cv_lib_ICE_IceConnectionNumber=no
13052fi
13053rm -f core conftest.err conftest.$ac_objext \
13054    conftest$ac_exeext conftest.$ac_ext
13055LIBS=$ac_check_lib_save_LIBS
13056fi
13057{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
13058$as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
13059if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
13060  X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
13061fi
13062
13063  LDFLAGS=$ac_save_LDFLAGS
13064
13065fi
13066
13067
13068
13069
13070  LIBX11_CFLAGS= LIBX11_LDFLAGS= LIBX11_LIBS=
13071  if test x"$no_x" != x"yes"; then
13072    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lX11" >&5
13073$as_echo_n "checking for main in -lX11... " >&6; }
13074if ${ac_cv_lib_X11_main+:} false; then :
13075  $as_echo_n "(cached) " >&6
13076else
13077  ac_check_lib_save_LIBS=$LIBS
13078LIBS="-lX11 $X_CFLAGS $X_PRE_LIBS $X_EXTRA_LIBS $X_LIBS $LIBS"
13079cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13080/* end confdefs.h.  */
13081
13082
13083int
13084main ()
13085{
13086return main ();
13087  ;
13088  return 0;
13089}
13090_ACEOF
13091if ac_fn_c_try_link "$LINENO"; then :
13092  ac_cv_lib_X11_main=yes
13093else
13094  ac_cv_lib_X11_main=no
13095fi
13096rm -f core conftest.err conftest.$ac_objext \
13097    conftest$ac_exeext conftest.$ac_ext
13098LIBS=$ac_check_lib_save_LIBS
13099fi
13100{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_main" >&5
13101$as_echo "$ac_cv_lib_X11_main" >&6; }
13102if test "x$ac_cv_lib_X11_main" = xyes; then :
13103
13104
13105$as_echo "#define HAVE_LIBX11 1" >>confdefs.h
13106
13107      LIBX11_CFLAGS="$X_CFLAGS"
13108      for option in $X_PRE_LIBS $X_EXTRA_LIBS $X_LIBS; do
13109      	case "$option" in
13110        -L*)
13111          path=`echo $option | sed 's/^-L//'`
13112          if test x"$path" != x""; then
13113            LIBX11_LDFLAGS="$LIBX11_LDFLAGS -L$path"
13114          fi
13115          ;;
13116        *)
13117          LIBX11_LIBS="$LIBX11_LIBS $option"
13118          ;;
13119        esac
13120      done
13121      if ! echo $LIBX11_LIBS | grep -- '-lX11' >/dev/null; then
13122        LIBX11_LIBS="$LIBX11_LIBS -lX11"
13123      fi
13124
13125fi
13126
13127  fi
13128
13129
13130
13131
13132
13133
13134
13135  if test x"$no_x" = x"yes"; then
13136    as_fn_error $? "X Window system libraries and header files are required" "$LINENO" 5
13137  fi
13138
13139
13140
13141  # minimum supported version of pkg-config
13142  xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0
13143
13144
13145
13146
13147
13148
13149
13150
13151
13152if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
13153	if test -n "$ac_tool_prefix"; then
13154  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
13155set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
13156{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13157$as_echo_n "checking for $ac_word... " >&6; }
13158if ${ac_cv_path_PKG_CONFIG+:} false; then :
13159  $as_echo_n "(cached) " >&6
13160else
13161  case $PKG_CONFIG in
13162  [\\/]* | ?:[\\/]*)
13163  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13164  ;;
13165  *)
13166  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13167for as_dir in $PATH
13168do
13169  IFS=$as_save_IFS
13170  test -z "$as_dir" && as_dir=.
13171    for ac_exec_ext in '' $ac_executable_extensions; do
13172  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13173    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13174    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13175    break 2
13176  fi
13177done
13178  done
13179IFS=$as_save_IFS
13180
13181  ;;
13182esac
13183fi
13184PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13185if test -n "$PKG_CONFIG"; then
13186  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
13187$as_echo "$PKG_CONFIG" >&6; }
13188else
13189  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13190$as_echo "no" >&6; }
13191fi
13192
13193
13194fi
13195if test -z "$ac_cv_path_PKG_CONFIG"; then
13196  ac_pt_PKG_CONFIG=$PKG_CONFIG
13197  # Extract the first word of "pkg-config", so it can be a program name with args.
13198set dummy pkg-config; ac_word=$2
13199{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13200$as_echo_n "checking for $ac_word... " >&6; }
13201if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
13202  $as_echo_n "(cached) " >&6
13203else
13204  case $ac_pt_PKG_CONFIG in
13205  [\\/]* | ?:[\\/]*)
13206  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
13207  ;;
13208  *)
13209  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13210for as_dir in $PATH
13211do
13212  IFS=$as_save_IFS
13213  test -z "$as_dir" && as_dir=.
13214    for ac_exec_ext in '' $ac_executable_extensions; do
13215  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13216    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13217    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13218    break 2
13219  fi
13220done
13221  done
13222IFS=$as_save_IFS
13223
13224  ;;
13225esac
13226fi
13227ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
13228if test -n "$ac_pt_PKG_CONFIG"; then
13229  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
13230$as_echo "$ac_pt_PKG_CONFIG" >&6; }
13231else
13232  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13233$as_echo "no" >&6; }
13234fi
13235
13236  if test "x$ac_pt_PKG_CONFIG" = x; then
13237    PKG_CONFIG=""
13238  else
13239    case $cross_compiling:$ac_tool_warned in
13240yes:)
13241{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13242$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13243ac_tool_warned=yes ;;
13244esac
13245    PKG_CONFIG=$ac_pt_PKG_CONFIG
13246  fi
13247else
13248  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
13249fi
13250
13251fi
13252if test -n "$PKG_CONFIG"; then
13253	_pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION
13254	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
13255$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
13256	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
13257		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13258$as_echo "yes" >&6; }
13259	else
13260		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13261$as_echo "no" >&6; }
13262		PKG_CONFIG=""
13263	fi
13264fi
13265
13266      if test x"$PKG_CONFIG" = x""; then
13267        echo
13268        echo "*** Your version of pkg-config is too old. You need atleast"
13269        echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config"
13270        echo "*** from the freedesktop.org software repository at"
13271        echo "***"
13272        echo "***    https://www.freedesktop.org/wiki/Software/pkg-config/"
13273        echo "***"
13274        exit 1;
13275      fi
13276
13277
13278
13279  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glib-2.0 >= 2.30.0" >&5
13280$as_echo_n "checking for glib-2.0 >= 2.30.0... " >&6; }
13281  if $PKG_CONFIG "--atleast-version=2.30.0" "glib-2.0" >/dev/null 2>&1; then
13282    GLIB_VERSION=`$PKG_CONFIG --modversion "glib-2.0"`
13283    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_VERSION" >&5
13284$as_echo "$GLIB_VERSION" >&6; }
13285
13286    { $as_echo "$as_me:${as_lineno-$LINENO}: checking GLIB_CFLAGS" >&5
13287$as_echo_n "checking GLIB_CFLAGS... " >&6; }
13288    GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0"`
13289    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_CFLAGS" >&5
13290$as_echo "$GLIB_CFLAGS" >&6; }
13291
13292    { $as_echo "$as_me:${as_lineno-$LINENO}: checking GLIB_LIBS" >&5
13293$as_echo_n "checking GLIB_LIBS... " >&6; }
13294    GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0"`
13295    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_LIBS" >&5
13296$as_echo "$GLIB_LIBS" >&6; }
13297
13298    GLIB_REQUIRED_VERSION=2.30.0
13299
13300
13301
13302
13303
13304
13305
13306  elif $PKG_CONFIG --exists "glib-2.0" >/dev/null 2>&1; then
13307    xdt_cv_version=`$PKG_CONFIG --modversion "glib-2.0"`
13308    { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5
13309$as_echo "found, but $xdt_cv_version" >&6; }
13310
13311
13312      echo "*** The required package glib-2.0 was found on your system,"
13313      echo "*** but the installed version ($xdt_cv_version) is too old."
13314      echo "*** Please upgrade glib-2.0 to atleast version 2.30.0, or adjust"
13315      echo "*** the PKG_CONFIG_PATH environment variable if you installed"
13316      echo "*** the new version of the package in a nonstandard prefix so"
13317      echo "*** pkg-config is able to find it."
13318      exit 1
13319
13320  else
13321    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13322$as_echo "not found" >&6; }
13323
13324
13325      echo "*** The required package glib-2.0 was not found on your system."
13326      echo "*** Please install glib-2.0 (atleast version 2.30.0) or adjust"
13327      echo "*** the PKG_CONFIG_PATH environment variable if you"
13328      echo "*** installed the package in a nonstandard prefix so that"
13329      echo "*** pkg-config is able to find it."
13330      exit 1
13331
13332  fi
13333
13334
13335
13336  # minimum supported version of pkg-config
13337  xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0
13338
13339
13340
13341
13342
13343
13344
13345
13346
13347if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
13348	if test -n "$ac_tool_prefix"; then
13349  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
13350set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
13351{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13352$as_echo_n "checking for $ac_word... " >&6; }
13353if ${ac_cv_path_PKG_CONFIG+:} false; then :
13354  $as_echo_n "(cached) " >&6
13355else
13356  case $PKG_CONFIG in
13357  [\\/]* | ?:[\\/]*)
13358  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13359  ;;
13360  *)
13361  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13362for as_dir in $PATH
13363do
13364  IFS=$as_save_IFS
13365  test -z "$as_dir" && as_dir=.
13366    for ac_exec_ext in '' $ac_executable_extensions; do
13367  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13368    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13369    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13370    break 2
13371  fi
13372done
13373  done
13374IFS=$as_save_IFS
13375
13376  ;;
13377esac
13378fi
13379PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13380if test -n "$PKG_CONFIG"; then
13381  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
13382$as_echo "$PKG_CONFIG" >&6; }
13383else
13384  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13385$as_echo "no" >&6; }
13386fi
13387
13388
13389fi
13390if test -z "$ac_cv_path_PKG_CONFIG"; then
13391  ac_pt_PKG_CONFIG=$PKG_CONFIG
13392  # Extract the first word of "pkg-config", so it can be a program name with args.
13393set dummy pkg-config; ac_word=$2
13394{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13395$as_echo_n "checking for $ac_word... " >&6; }
13396if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
13397  $as_echo_n "(cached) " >&6
13398else
13399  case $ac_pt_PKG_CONFIG in
13400  [\\/]* | ?:[\\/]*)
13401  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
13402  ;;
13403  *)
13404  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13405for as_dir in $PATH
13406do
13407  IFS=$as_save_IFS
13408  test -z "$as_dir" && as_dir=.
13409    for ac_exec_ext in '' $ac_executable_extensions; do
13410  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13411    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13412    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13413    break 2
13414  fi
13415done
13416  done
13417IFS=$as_save_IFS
13418
13419  ;;
13420esac
13421fi
13422ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
13423if test -n "$ac_pt_PKG_CONFIG"; then
13424  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
13425$as_echo "$ac_pt_PKG_CONFIG" >&6; }
13426else
13427  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13428$as_echo "no" >&6; }
13429fi
13430
13431  if test "x$ac_pt_PKG_CONFIG" = x; then
13432    PKG_CONFIG=""
13433  else
13434    case $cross_compiling:$ac_tool_warned in
13435yes:)
13436{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13437$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13438ac_tool_warned=yes ;;
13439esac
13440    PKG_CONFIG=$ac_pt_PKG_CONFIG
13441  fi
13442else
13443  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
13444fi
13445
13446fi
13447if test -n "$PKG_CONFIG"; then
13448	_pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION
13449	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
13450$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
13451	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
13452		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13453$as_echo "yes" >&6; }
13454	else
13455		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13456$as_echo "no" >&6; }
13457		PKG_CONFIG=""
13458	fi
13459fi
13460
13461      if test x"$PKG_CONFIG" = x""; then
13462        echo
13463        echo "*** Your version of pkg-config is too old. You need atleast"
13464        echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config"
13465        echo "*** from the freedesktop.org software repository at"
13466        echo "***"
13467        echo "***    https://www.freedesktop.org/wiki/Software/pkg-config/"
13468        echo "***"
13469        exit 1;
13470      fi
13471
13472
13473
13474  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gio-2.0 >= 2.30.0" >&5
13475$as_echo_n "checking for gio-2.0 >= 2.30.0... " >&6; }
13476  if $PKG_CONFIG "--atleast-version=2.30.0" "gio-2.0" >/dev/null 2>&1; then
13477    GIO_VERSION=`$PKG_CONFIG --modversion "gio-2.0"`
13478    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GIO_VERSION" >&5
13479$as_echo "$GIO_VERSION" >&6; }
13480
13481    { $as_echo "$as_me:${as_lineno-$LINENO}: checking GIO_CFLAGS" >&5
13482$as_echo_n "checking GIO_CFLAGS... " >&6; }
13483    GIO_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0"`
13484    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GIO_CFLAGS" >&5
13485$as_echo "$GIO_CFLAGS" >&6; }
13486
13487    { $as_echo "$as_me:${as_lineno-$LINENO}: checking GIO_LIBS" >&5
13488$as_echo_n "checking GIO_LIBS... " >&6; }
13489    GIO_LIBS=`$PKG_CONFIG --libs "gio-2.0"`
13490    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GIO_LIBS" >&5
13491$as_echo "$GIO_LIBS" >&6; }
13492
13493    GIO_REQUIRED_VERSION=2.30.0
13494
13495
13496
13497
13498
13499
13500
13501  elif $PKG_CONFIG --exists "gio-2.0" >/dev/null 2>&1; then
13502    xdt_cv_version=`$PKG_CONFIG --modversion "gio-2.0"`
13503    { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5
13504$as_echo "found, but $xdt_cv_version" >&6; }
13505
13506
13507      echo "*** The required package gio-2.0 was found on your system,"
13508      echo "*** but the installed version ($xdt_cv_version) is too old."
13509      echo "*** Please upgrade gio-2.0 to atleast version 2.30.0, or adjust"
13510      echo "*** the PKG_CONFIG_PATH environment variable if you installed"
13511      echo "*** the new version of the package in a nonstandard prefix so"
13512      echo "*** pkg-config is able to find it."
13513      exit 1
13514
13515  else
13516    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13517$as_echo "not found" >&6; }
13518
13519
13520      echo "*** The required package gio-2.0 was not found on your system."
13521      echo "*** Please install gio-2.0 (atleast version 2.30.0) or adjust"
13522      echo "*** the PKG_CONFIG_PATH environment variable if you"
13523      echo "*** installed the package in a nonstandard prefix so that"
13524      echo "*** pkg-config is able to find it."
13525      exit 1
13526
13527  fi
13528
13529
13530
13531  # minimum supported version of pkg-config
13532  xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0
13533
13534
13535
13536
13537
13538
13539
13540
13541
13542if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
13543	if test -n "$ac_tool_prefix"; then
13544  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
13545set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
13546{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13547$as_echo_n "checking for $ac_word... " >&6; }
13548if ${ac_cv_path_PKG_CONFIG+:} false; then :
13549  $as_echo_n "(cached) " >&6
13550else
13551  case $PKG_CONFIG in
13552  [\\/]* | ?:[\\/]*)
13553  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13554  ;;
13555  *)
13556  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13557for as_dir in $PATH
13558do
13559  IFS=$as_save_IFS
13560  test -z "$as_dir" && as_dir=.
13561    for ac_exec_ext in '' $ac_executable_extensions; do
13562  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13563    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13564    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13565    break 2
13566  fi
13567done
13568  done
13569IFS=$as_save_IFS
13570
13571  ;;
13572esac
13573fi
13574PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13575if test -n "$PKG_CONFIG"; then
13576  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
13577$as_echo "$PKG_CONFIG" >&6; }
13578else
13579  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13580$as_echo "no" >&6; }
13581fi
13582
13583
13584fi
13585if test -z "$ac_cv_path_PKG_CONFIG"; then
13586  ac_pt_PKG_CONFIG=$PKG_CONFIG
13587  # Extract the first word of "pkg-config", so it can be a program name with args.
13588set dummy pkg-config; ac_word=$2
13589{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13590$as_echo_n "checking for $ac_word... " >&6; }
13591if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
13592  $as_echo_n "(cached) " >&6
13593else
13594  case $ac_pt_PKG_CONFIG in
13595  [\\/]* | ?:[\\/]*)
13596  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
13597  ;;
13598  *)
13599  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13600for as_dir in $PATH
13601do
13602  IFS=$as_save_IFS
13603  test -z "$as_dir" && as_dir=.
13604    for ac_exec_ext in '' $ac_executable_extensions; do
13605  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13606    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13607    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13608    break 2
13609  fi
13610done
13611  done
13612IFS=$as_save_IFS
13613
13614  ;;
13615esac
13616fi
13617ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
13618if test -n "$ac_pt_PKG_CONFIG"; then
13619  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
13620$as_echo "$ac_pt_PKG_CONFIG" >&6; }
13621else
13622  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13623$as_echo "no" >&6; }
13624fi
13625
13626  if test "x$ac_pt_PKG_CONFIG" = x; then
13627    PKG_CONFIG=""
13628  else
13629    case $cross_compiling:$ac_tool_warned in
13630yes:)
13631{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13632$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13633ac_tool_warned=yes ;;
13634esac
13635    PKG_CONFIG=$ac_pt_PKG_CONFIG
13636  fi
13637else
13638  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
13639fi
13640
13641fi
13642if test -n "$PKG_CONFIG"; then
13643	_pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION
13644	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
13645$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
13646	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
13647		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13648$as_echo "yes" >&6; }
13649	else
13650		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13651$as_echo "no" >&6; }
13652		PKG_CONFIG=""
13653	fi
13654fi
13655
13656      if test x"$PKG_CONFIG" = x""; then
13657        echo
13658        echo "*** Your version of pkg-config is too old. You need atleast"
13659        echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config"
13660        echo "*** from the freedesktop.org software repository at"
13661        echo "***"
13662        echo "***    https://www.freedesktop.org/wiki/Software/pkg-config/"
13663        echo "***"
13664        exit 1;
13665      fi
13666
13667
13668
13669  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk+-3.0 >= 3.22.0" >&5
13670$as_echo_n "checking for gtk+-3.0 >= 3.22.0... " >&6; }
13671  if $PKG_CONFIG "--atleast-version=3.22.0" "gtk+-3.0" >/dev/null 2>&1; then
13672    GTK_VERSION=`$PKG_CONFIG --modversion "gtk+-3.0"`
13673    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_VERSION" >&5
13674$as_echo "$GTK_VERSION" >&6; }
13675
13676    { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTK_CFLAGS" >&5
13677$as_echo_n "checking GTK_CFLAGS... " >&6; }
13678    GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-3.0"`
13679    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CFLAGS" >&5
13680$as_echo "$GTK_CFLAGS" >&6; }
13681
13682    { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTK_LIBS" >&5
13683$as_echo_n "checking GTK_LIBS... " >&6; }
13684    GTK_LIBS=`$PKG_CONFIG --libs "gtk+-3.0"`
13685    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_LIBS" >&5
13686$as_echo "$GTK_LIBS" >&6; }
13687
13688    GTK_REQUIRED_VERSION=3.22.0
13689
13690
13691
13692
13693
13694
13695
13696  elif $PKG_CONFIG --exists "gtk+-3.0" >/dev/null 2>&1; then
13697    xdt_cv_version=`$PKG_CONFIG --modversion "gtk+-3.0"`
13698    { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5
13699$as_echo "found, but $xdt_cv_version" >&6; }
13700
13701
13702      echo "*** The required package gtk+-3.0 was found on your system,"
13703      echo "*** but the installed version ($xdt_cv_version) is too old."
13704      echo "*** Please upgrade gtk+-3.0 to atleast version 3.22.0, or adjust"
13705      echo "*** the PKG_CONFIG_PATH environment variable if you installed"
13706      echo "*** the new version of the package in a nonstandard prefix so"
13707      echo "*** pkg-config is able to find it."
13708      exit 1
13709
13710  else
13711    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13712$as_echo "not found" >&6; }
13713
13714
13715      echo "*** The required package gtk+-3.0 was not found on your system."
13716      echo "*** Please install gtk+-3.0 (atleast version 3.22.0) or adjust"
13717      echo "*** the PKG_CONFIG_PATH environment variable if you"
13718      echo "*** installed the package in a nonstandard prefix so that"
13719      echo "*** pkg-config is able to find it."
13720      exit 1
13721
13722  fi
13723
13724
13725
13726  # minimum supported version of pkg-config
13727  xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0
13728
13729
13730
13731
13732
13733
13734
13735
13736
13737if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
13738	if test -n "$ac_tool_prefix"; then
13739  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
13740set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
13741{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13742$as_echo_n "checking for $ac_word... " >&6; }
13743if ${ac_cv_path_PKG_CONFIG+:} false; then :
13744  $as_echo_n "(cached) " >&6
13745else
13746  case $PKG_CONFIG in
13747  [\\/]* | ?:[\\/]*)
13748  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13749  ;;
13750  *)
13751  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13752for as_dir in $PATH
13753do
13754  IFS=$as_save_IFS
13755  test -z "$as_dir" && as_dir=.
13756    for ac_exec_ext in '' $ac_executable_extensions; do
13757  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13758    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13759    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13760    break 2
13761  fi
13762done
13763  done
13764IFS=$as_save_IFS
13765
13766  ;;
13767esac
13768fi
13769PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13770if test -n "$PKG_CONFIG"; then
13771  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
13772$as_echo "$PKG_CONFIG" >&6; }
13773else
13774  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13775$as_echo "no" >&6; }
13776fi
13777
13778
13779fi
13780if test -z "$ac_cv_path_PKG_CONFIG"; then
13781  ac_pt_PKG_CONFIG=$PKG_CONFIG
13782  # Extract the first word of "pkg-config", so it can be a program name with args.
13783set dummy pkg-config; ac_word=$2
13784{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13785$as_echo_n "checking for $ac_word... " >&6; }
13786if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
13787  $as_echo_n "(cached) " >&6
13788else
13789  case $ac_pt_PKG_CONFIG in
13790  [\\/]* | ?:[\\/]*)
13791  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
13792  ;;
13793  *)
13794  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13795for as_dir in $PATH
13796do
13797  IFS=$as_save_IFS
13798  test -z "$as_dir" && as_dir=.
13799    for ac_exec_ext in '' $ac_executable_extensions; do
13800  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13801    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13802    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13803    break 2
13804  fi
13805done
13806  done
13807IFS=$as_save_IFS
13808
13809  ;;
13810esac
13811fi
13812ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
13813if test -n "$ac_pt_PKG_CONFIG"; then
13814  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
13815$as_echo "$ac_pt_PKG_CONFIG" >&6; }
13816else
13817  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13818$as_echo "no" >&6; }
13819fi
13820
13821  if test "x$ac_pt_PKG_CONFIG" = x; then
13822    PKG_CONFIG=""
13823  else
13824    case $cross_compiling:$ac_tool_warned in
13825yes:)
13826{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13827$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13828ac_tool_warned=yes ;;
13829esac
13830    PKG_CONFIG=$ac_pt_PKG_CONFIG
13831  fi
13832else
13833  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
13834fi
13835
13836fi
13837if test -n "$PKG_CONFIG"; then
13838	_pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION
13839	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
13840$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
13841	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
13842		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13843$as_echo "yes" >&6; }
13844	else
13845		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13846$as_echo "no" >&6; }
13847		PKG_CONFIG=""
13848	fi
13849fi
13850
13851      if test x"$PKG_CONFIG" = x""; then
13852        echo
13853        echo "*** Your version of pkg-config is too old. You need atleast"
13854        echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config"
13855        echo "*** from the freedesktop.org software repository at"
13856        echo "***"
13857        echo "***    https://www.freedesktop.org/wiki/Software/pkg-config/"
13858        echo "***"
13859        exit 1;
13860      fi
13861
13862
13863
13864  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libxfce4util-1.0 >= 4.14.0" >&5
13865$as_echo_n "checking for libxfce4util-1.0 >= 4.14.0... " >&6; }
13866  if $PKG_CONFIG "--atleast-version=4.14.0" "libxfce4util-1.0" >/dev/null 2>&1; then
13867    LIBXFCE4UTIL_VERSION=`$PKG_CONFIG --modversion "libxfce4util-1.0"`
13868    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXFCE4UTIL_VERSION" >&5
13869$as_echo "$LIBXFCE4UTIL_VERSION" >&6; }
13870
13871    { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBXFCE4UTIL_CFLAGS" >&5
13872$as_echo_n "checking LIBXFCE4UTIL_CFLAGS... " >&6; }
13873    LIBXFCE4UTIL_CFLAGS=`$PKG_CONFIG --cflags "libxfce4util-1.0"`
13874    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXFCE4UTIL_CFLAGS" >&5
13875$as_echo "$LIBXFCE4UTIL_CFLAGS" >&6; }
13876
13877    { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBXFCE4UTIL_LIBS" >&5
13878$as_echo_n "checking LIBXFCE4UTIL_LIBS... " >&6; }
13879    LIBXFCE4UTIL_LIBS=`$PKG_CONFIG --libs "libxfce4util-1.0"`
13880    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXFCE4UTIL_LIBS" >&5
13881$as_echo "$LIBXFCE4UTIL_LIBS" >&6; }
13882
13883    LIBXFCE4UTIL_REQUIRED_VERSION=4.14.0
13884
13885
13886
13887
13888
13889
13890
13891  elif $PKG_CONFIG --exists "libxfce4util-1.0" >/dev/null 2>&1; then
13892    xdt_cv_version=`$PKG_CONFIG --modversion "libxfce4util-1.0"`
13893    { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5
13894$as_echo "found, but $xdt_cv_version" >&6; }
13895
13896
13897      echo "*** The required package libxfce4util-1.0 was found on your system,"
13898      echo "*** but the installed version ($xdt_cv_version) is too old."
13899      echo "*** Please upgrade libxfce4util-1.0 to atleast version 4.14.0, or adjust"
13900      echo "*** the PKG_CONFIG_PATH environment variable if you installed"
13901      echo "*** the new version of the package in a nonstandard prefix so"
13902      echo "*** pkg-config is able to find it."
13903      exit 1
13904
13905  else
13906    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13907$as_echo "not found" >&6; }
13908
13909
13910      echo "*** The required package libxfce4util-1.0 was not found on your system."
13911      echo "*** Please install libxfce4util-1.0 (atleast version 4.14.0) or adjust"
13912      echo "*** the PKG_CONFIG_PATH environment variable if you"
13913      echo "*** installed the package in a nonstandard prefix so that"
13914      echo "*** pkg-config is able to find it."
13915      exit 1
13916
13917  fi
13918
13919
13920
13921  # minimum supported version of pkg-config
13922  xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0
13923
13924
13925
13926
13927
13928
13929
13930
13931
13932if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
13933	if test -n "$ac_tool_prefix"; then
13934  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
13935set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
13936{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13937$as_echo_n "checking for $ac_word... " >&6; }
13938if ${ac_cv_path_PKG_CONFIG+:} false; then :
13939  $as_echo_n "(cached) " >&6
13940else
13941  case $PKG_CONFIG in
13942  [\\/]* | ?:[\\/]*)
13943  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13944  ;;
13945  *)
13946  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13947for as_dir in $PATH
13948do
13949  IFS=$as_save_IFS
13950  test -z "$as_dir" && as_dir=.
13951    for ac_exec_ext in '' $ac_executable_extensions; do
13952  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13953    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13954    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13955    break 2
13956  fi
13957done
13958  done
13959IFS=$as_save_IFS
13960
13961  ;;
13962esac
13963fi
13964PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13965if test -n "$PKG_CONFIG"; then
13966  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
13967$as_echo "$PKG_CONFIG" >&6; }
13968else
13969  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13970$as_echo "no" >&6; }
13971fi
13972
13973
13974fi
13975if test -z "$ac_cv_path_PKG_CONFIG"; then
13976  ac_pt_PKG_CONFIG=$PKG_CONFIG
13977  # Extract the first word of "pkg-config", so it can be a program name with args.
13978set dummy pkg-config; ac_word=$2
13979{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13980$as_echo_n "checking for $ac_word... " >&6; }
13981if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
13982  $as_echo_n "(cached) " >&6
13983else
13984  case $ac_pt_PKG_CONFIG in
13985  [\\/]* | ?:[\\/]*)
13986  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
13987  ;;
13988  *)
13989  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13990for as_dir in $PATH
13991do
13992  IFS=$as_save_IFS
13993  test -z "$as_dir" && as_dir=.
13994    for ac_exec_ext in '' $ac_executable_extensions; do
13995  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13996    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13997    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13998    break 2
13999  fi
14000done
14001  done
14002IFS=$as_save_IFS
14003
14004  ;;
14005esac
14006fi
14007ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
14008if test -n "$ac_pt_PKG_CONFIG"; then
14009  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
14010$as_echo "$ac_pt_PKG_CONFIG" >&6; }
14011else
14012  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14013$as_echo "no" >&6; }
14014fi
14015
14016  if test "x$ac_pt_PKG_CONFIG" = x; then
14017    PKG_CONFIG=""
14018  else
14019    case $cross_compiling:$ac_tool_warned in
14020yes:)
14021{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14022$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14023ac_tool_warned=yes ;;
14024esac
14025    PKG_CONFIG=$ac_pt_PKG_CONFIG
14026  fi
14027else
14028  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
14029fi
14030
14031fi
14032if test -n "$PKG_CONFIG"; then
14033	_pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION
14034	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
14035$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
14036	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
14037		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14038$as_echo "yes" >&6; }
14039	else
14040		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14041$as_echo "no" >&6; }
14042		PKG_CONFIG=""
14043	fi
14044fi
14045
14046      if test x"$PKG_CONFIG" = x""; then
14047        echo
14048        echo "*** Your version of pkg-config is too old. You need atleast"
14049        echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config"
14050        echo "*** from the freedesktop.org software repository at"
14051        echo "***"
14052        echo "***    https://www.freedesktop.org/wiki/Software/pkg-config/"
14053        echo "***"
14054        exit 1;
14055      fi
14056
14057
14058
14059  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libxfce4ui-2 >= 4.14.0" >&5
14060$as_echo_n "checking for libxfce4ui-2 >= 4.14.0... " >&6; }
14061  if $PKG_CONFIG "--atleast-version=4.14.0" "libxfce4ui-2" >/dev/null 2>&1; then
14062    LIBXFCE4UI_VERSION=`$PKG_CONFIG --modversion "libxfce4ui-2"`
14063    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXFCE4UI_VERSION" >&5
14064$as_echo "$LIBXFCE4UI_VERSION" >&6; }
14065
14066    { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBXFCE4UI_CFLAGS" >&5
14067$as_echo_n "checking LIBXFCE4UI_CFLAGS... " >&6; }
14068    LIBXFCE4UI_CFLAGS=`$PKG_CONFIG --cflags "libxfce4ui-2"`
14069    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXFCE4UI_CFLAGS" >&5
14070$as_echo "$LIBXFCE4UI_CFLAGS" >&6; }
14071
14072    { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBXFCE4UI_LIBS" >&5
14073$as_echo_n "checking LIBXFCE4UI_LIBS... " >&6; }
14074    LIBXFCE4UI_LIBS=`$PKG_CONFIG --libs "libxfce4ui-2"`
14075    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXFCE4UI_LIBS" >&5
14076$as_echo "$LIBXFCE4UI_LIBS" >&6; }
14077
14078    LIBXFCE4UI_REQUIRED_VERSION=4.14.0
14079
14080
14081
14082
14083
14084
14085
14086  elif $PKG_CONFIG --exists "libxfce4ui-2" >/dev/null 2>&1; then
14087    xdt_cv_version=`$PKG_CONFIG --modversion "libxfce4ui-2"`
14088    { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5
14089$as_echo "found, but $xdt_cv_version" >&6; }
14090
14091
14092      echo "*** The required package libxfce4ui-2 was found on your system,"
14093      echo "*** but the installed version ($xdt_cv_version) is too old."
14094      echo "*** Please upgrade libxfce4ui-2 to atleast version 4.14.0, or adjust"
14095      echo "*** the PKG_CONFIG_PATH environment variable if you installed"
14096      echo "*** the new version of the package in a nonstandard prefix so"
14097      echo "*** pkg-config is able to find it."
14098      exit 1
14099
14100  else
14101    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14102$as_echo "not found" >&6; }
14103
14104
14105      echo "*** The required package libxfce4ui-2 was not found on your system."
14106      echo "*** Please install libxfce4ui-2 (atleast version 4.14.0) or adjust"
14107      echo "*** the PKG_CONFIG_PATH environment variable if you"
14108      echo "*** installed the package in a nonstandard prefix so that"
14109      echo "*** pkg-config is able to find it."
14110      exit 1
14111
14112  fi
14113
14114
14115
14116  # minimum supported version of pkg-config
14117  xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0
14118
14119
14120
14121
14122
14123
14124
14125
14126
14127if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
14128	if test -n "$ac_tool_prefix"; then
14129  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
14130set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
14131{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14132$as_echo_n "checking for $ac_word... " >&6; }
14133if ${ac_cv_path_PKG_CONFIG+:} false; then :
14134  $as_echo_n "(cached) " >&6
14135else
14136  case $PKG_CONFIG in
14137  [\\/]* | ?:[\\/]*)
14138  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
14139  ;;
14140  *)
14141  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14142for as_dir in $PATH
14143do
14144  IFS=$as_save_IFS
14145  test -z "$as_dir" && as_dir=.
14146    for ac_exec_ext in '' $ac_executable_extensions; do
14147  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14148    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14149    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14150    break 2
14151  fi
14152done
14153  done
14154IFS=$as_save_IFS
14155
14156  ;;
14157esac
14158fi
14159PKG_CONFIG=$ac_cv_path_PKG_CONFIG
14160if test -n "$PKG_CONFIG"; then
14161  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
14162$as_echo "$PKG_CONFIG" >&6; }
14163else
14164  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14165$as_echo "no" >&6; }
14166fi
14167
14168
14169fi
14170if test -z "$ac_cv_path_PKG_CONFIG"; then
14171  ac_pt_PKG_CONFIG=$PKG_CONFIG
14172  # Extract the first word of "pkg-config", so it can be a program name with args.
14173set dummy pkg-config; ac_word=$2
14174{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14175$as_echo_n "checking for $ac_word... " >&6; }
14176if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
14177  $as_echo_n "(cached) " >&6
14178else
14179  case $ac_pt_PKG_CONFIG in
14180  [\\/]* | ?:[\\/]*)
14181  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
14182  ;;
14183  *)
14184  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14185for as_dir in $PATH
14186do
14187  IFS=$as_save_IFS
14188  test -z "$as_dir" && as_dir=.
14189    for ac_exec_ext in '' $ac_executable_extensions; do
14190  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14191    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14192    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14193    break 2
14194  fi
14195done
14196  done
14197IFS=$as_save_IFS
14198
14199  ;;
14200esac
14201fi
14202ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
14203if test -n "$ac_pt_PKG_CONFIG"; then
14204  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
14205$as_echo "$ac_pt_PKG_CONFIG" >&6; }
14206else
14207  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14208$as_echo "no" >&6; }
14209fi
14210
14211  if test "x$ac_pt_PKG_CONFIG" = x; then
14212    PKG_CONFIG=""
14213  else
14214    case $cross_compiling:$ac_tool_warned in
14215yes:)
14216{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14217$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14218ac_tool_warned=yes ;;
14219esac
14220    PKG_CONFIG=$ac_pt_PKG_CONFIG
14221  fi
14222else
14223  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
14224fi
14225
14226fi
14227if test -n "$PKG_CONFIG"; then
14228	_pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION
14229	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
14230$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
14231	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
14232		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14233$as_echo "yes" >&6; }
14234	else
14235		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14236$as_echo "no" >&6; }
14237		PKG_CONFIG=""
14238	fi
14239fi
14240
14241      if test x"$PKG_CONFIG" = x""; then
14242        echo
14243        echo "*** Your version of pkg-config is too old. You need atleast"
14244        echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config"
14245        echo "*** from the freedesktop.org software repository at"
14246        echo "***"
14247        echo "***    https://www.freedesktop.org/wiki/Software/pkg-config/"
14248        echo "***"
14249        exit 1;
14250      fi
14251
14252
14253
14254  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libxfconf-0 >= 4.14.0" >&5
14255$as_echo_n "checking for libxfconf-0 >= 4.14.0... " >&6; }
14256  if $PKG_CONFIG "--atleast-version=4.14.0" "libxfconf-0" >/dev/null 2>&1; then
14257    XFCONF_VERSION=`$PKG_CONFIG --modversion "libxfconf-0"`
14258    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XFCONF_VERSION" >&5
14259$as_echo "$XFCONF_VERSION" >&6; }
14260
14261    { $as_echo "$as_me:${as_lineno-$LINENO}: checking XFCONF_CFLAGS" >&5
14262$as_echo_n "checking XFCONF_CFLAGS... " >&6; }
14263    XFCONF_CFLAGS=`$PKG_CONFIG --cflags "libxfconf-0"`
14264    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XFCONF_CFLAGS" >&5
14265$as_echo "$XFCONF_CFLAGS" >&6; }
14266
14267    { $as_echo "$as_me:${as_lineno-$LINENO}: checking XFCONF_LIBS" >&5
14268$as_echo_n "checking XFCONF_LIBS... " >&6; }
14269    XFCONF_LIBS=`$PKG_CONFIG --libs "libxfconf-0"`
14270    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XFCONF_LIBS" >&5
14271$as_echo "$XFCONF_LIBS" >&6; }
14272
14273    XFCONF_REQUIRED_VERSION=4.14.0
14274
14275
14276
14277
14278
14279
14280
14281  elif $PKG_CONFIG --exists "libxfconf-0" >/dev/null 2>&1; then
14282    xdt_cv_version=`$PKG_CONFIG --modversion "libxfconf-0"`
14283    { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5
14284$as_echo "found, but $xdt_cv_version" >&6; }
14285
14286
14287      echo "*** The required package libxfconf-0 was found on your system,"
14288      echo "*** but the installed version ($xdt_cv_version) is too old."
14289      echo "*** Please upgrade libxfconf-0 to atleast version 4.14.0, or adjust"
14290      echo "*** the PKG_CONFIG_PATH environment variable if you installed"
14291      echo "*** the new version of the package in a nonstandard prefix so"
14292      echo "*** pkg-config is able to find it."
14293      exit 1
14294
14295  else
14296    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14297$as_echo "not found" >&6; }
14298
14299
14300      echo "*** The required package libxfconf-0 was not found on your system."
14301      echo "*** Please install libxfconf-0 (atleast version 4.14.0) or adjust"
14302      echo "*** the PKG_CONFIG_PATH environment variable if you"
14303      echo "*** installed the package in a nonstandard prefix so that"
14304      echo "*** pkg-config is able to find it."
14305      exit 1
14306
14307  fi
14308
14309
14310
14311  # minimum supported version of pkg-config
14312  xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0
14313
14314
14315
14316
14317
14318
14319
14320
14321
14322if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
14323	if test -n "$ac_tool_prefix"; then
14324  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
14325set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
14326{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14327$as_echo_n "checking for $ac_word... " >&6; }
14328if ${ac_cv_path_PKG_CONFIG+:} false; then :
14329  $as_echo_n "(cached) " >&6
14330else
14331  case $PKG_CONFIG in
14332  [\\/]* | ?:[\\/]*)
14333  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
14334  ;;
14335  *)
14336  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14337for as_dir in $PATH
14338do
14339  IFS=$as_save_IFS
14340  test -z "$as_dir" && as_dir=.
14341    for ac_exec_ext in '' $ac_executable_extensions; do
14342  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14343    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14344    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14345    break 2
14346  fi
14347done
14348  done
14349IFS=$as_save_IFS
14350
14351  ;;
14352esac
14353fi
14354PKG_CONFIG=$ac_cv_path_PKG_CONFIG
14355if test -n "$PKG_CONFIG"; then
14356  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
14357$as_echo "$PKG_CONFIG" >&6; }
14358else
14359  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14360$as_echo "no" >&6; }
14361fi
14362
14363
14364fi
14365if test -z "$ac_cv_path_PKG_CONFIG"; then
14366  ac_pt_PKG_CONFIG=$PKG_CONFIG
14367  # Extract the first word of "pkg-config", so it can be a program name with args.
14368set dummy pkg-config; ac_word=$2
14369{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14370$as_echo_n "checking for $ac_word... " >&6; }
14371if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
14372  $as_echo_n "(cached) " >&6
14373else
14374  case $ac_pt_PKG_CONFIG in
14375  [\\/]* | ?:[\\/]*)
14376  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
14377  ;;
14378  *)
14379  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14380for as_dir in $PATH
14381do
14382  IFS=$as_save_IFS
14383  test -z "$as_dir" && as_dir=.
14384    for ac_exec_ext in '' $ac_executable_extensions; do
14385  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14386    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14387    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14388    break 2
14389  fi
14390done
14391  done
14392IFS=$as_save_IFS
14393
14394  ;;
14395esac
14396fi
14397ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
14398if test -n "$ac_pt_PKG_CONFIG"; then
14399  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
14400$as_echo "$ac_pt_PKG_CONFIG" >&6; }
14401else
14402  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14403$as_echo "no" >&6; }
14404fi
14405
14406  if test "x$ac_pt_PKG_CONFIG" = x; then
14407    PKG_CONFIG=""
14408  else
14409    case $cross_compiling:$ac_tool_warned in
14410yes:)
14411{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14412$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14413ac_tool_warned=yes ;;
14414esac
14415    PKG_CONFIG=$ac_pt_PKG_CONFIG
14416  fi
14417else
14418  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
14419fi
14420
14421fi
14422if test -n "$PKG_CONFIG"; then
14423	_pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION
14424	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
14425$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
14426	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
14427		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14428$as_echo "yes" >&6; }
14429	else
14430		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14431$as_echo "no" >&6; }
14432		PKG_CONFIG=""
14433	fi
14434fi
14435
14436      if test x"$PKG_CONFIG" = x""; then
14437        echo
14438        echo "*** Your version of pkg-config is too old. You need atleast"
14439        echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config"
14440        echo "*** from the freedesktop.org software repository at"
14441        echo "***"
14442        echo "***    https://www.freedesktop.org/wiki/Software/pkg-config/"
14443        echo "***"
14444        exit 1;
14445      fi
14446
14447
14448
14449  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libxfce4panel-2.0 >= 4.14.0" >&5
14450$as_echo_n "checking for libxfce4panel-2.0 >= 4.14.0... " >&6; }
14451  if $PKG_CONFIG "--atleast-version=4.14.0" "libxfce4panel-2.0" >/dev/null 2>&1; then
14452    LIBXFCE4PANEL_VERSION=`$PKG_CONFIG --modversion "libxfce4panel-2.0"`
14453    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXFCE4PANEL_VERSION" >&5
14454$as_echo "$LIBXFCE4PANEL_VERSION" >&6; }
14455
14456    { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBXFCE4PANEL_CFLAGS" >&5
14457$as_echo_n "checking LIBXFCE4PANEL_CFLAGS... " >&6; }
14458    LIBXFCE4PANEL_CFLAGS=`$PKG_CONFIG --cflags "libxfce4panel-2.0"`
14459    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXFCE4PANEL_CFLAGS" >&5
14460$as_echo "$LIBXFCE4PANEL_CFLAGS" >&6; }
14461
14462    { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBXFCE4PANEL_LIBS" >&5
14463$as_echo_n "checking LIBXFCE4PANEL_LIBS... " >&6; }
14464    LIBXFCE4PANEL_LIBS=`$PKG_CONFIG --libs "libxfce4panel-2.0"`
14465    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXFCE4PANEL_LIBS" >&5
14466$as_echo "$LIBXFCE4PANEL_LIBS" >&6; }
14467
14468    LIBXFCE4PANEL_REQUIRED_VERSION=4.14.0
14469
14470
14471
14472
14473
14474
14475
14476  elif $PKG_CONFIG --exists "libxfce4panel-2.0" >/dev/null 2>&1; then
14477    xdt_cv_version=`$PKG_CONFIG --modversion "libxfce4panel-2.0"`
14478    { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5
14479$as_echo "found, but $xdt_cv_version" >&6; }
14480
14481
14482      echo "*** The required package libxfce4panel-2.0 was found on your system,"
14483      echo "*** but the installed version ($xdt_cv_version) is too old."
14484      echo "*** Please upgrade libxfce4panel-2.0 to atleast version 4.14.0, or adjust"
14485      echo "*** the PKG_CONFIG_PATH environment variable if you installed"
14486      echo "*** the new version of the package in a nonstandard prefix so"
14487      echo "*** pkg-config is able to find it."
14488      exit 1
14489
14490  else
14491    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14492$as_echo "not found" >&6; }
14493
14494
14495      echo "*** The required package libxfce4panel-2.0 was not found on your system."
14496      echo "*** Please install libxfce4panel-2.0 (atleast version 4.14.0) or adjust"
14497      echo "*** the PKG_CONFIG_PATH environment variable if you"
14498      echo "*** installed the package in a nonstandard prefix so that"
14499      echo "*** pkg-config is able to find it."
14500      exit 1
14501
14502  fi
14503
14504if test "x$USE_MAINTAINER_MODE" = "xyes" ; then
14505        # Extract the first word of "valac", so it can be a program name with args.
14506set dummy valac; ac_word=$2
14507{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14508$as_echo_n "checking for $ac_word... " >&6; }
14509if ${ac_cv_path_VALAC+:} false; then :
14510  $as_echo_n "(cached) " >&6
14511else
14512  case $VALAC in
14513  [\\/]* | ?:[\\/]*)
14514  ac_cv_path_VALAC="$VALAC" # Let the user override the test with a path.
14515  ;;
14516  *)
14517  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14518for as_dir in $PATH
14519do
14520  IFS=$as_save_IFS
14521  test -z "$as_dir" && as_dir=.
14522    for ac_exec_ext in '' $ac_executable_extensions; do
14523  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14524    ac_cv_path_VALAC="$as_dir/$ac_word$ac_exec_ext"
14525    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14526    break 2
14527  fi
14528done
14529  done
14530IFS=$as_save_IFS
14531
14532  test -z "$ac_cv_path_VALAC" && ac_cv_path_VALAC="valac"
14533  ;;
14534esac
14535fi
14536VALAC=$ac_cv_path_VALAC
14537if test -n "$VALAC"; then
14538  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALAC" >&5
14539$as_echo "$VALAC" >&6; }
14540else
14541  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14542$as_echo "no" >&6; }
14543fi
14544
14545
14546   if test "$VALAC" != valac && test -n "0.46.0"; then :
14547  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $VALAC is at least version 0.46.0" >&5
14548$as_echo_n "checking whether $VALAC is at least version 0.46.0... " >&6; }
14549       am__vala_version=`$VALAC --version | sed 's/Vala  *//'`
14550       as_arg_v1=0.46.0
14551as_arg_v2="$am__vala_version"
14552awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
14553case $? in #(
14554  1) :
14555    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14556$as_echo "yes" >&6; } ;; #(
14557  0) :
14558    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14559$as_echo "yes" >&6; } ;; #(
14560  2) :
14561    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14562$as_echo "no" >&6; }
14563          VALAC=valac ;; #(
14564  *) :
14565     ;;
14566esac
14567fi
14568    if test "$VALAC" = valac; then
14569      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no proper vala compiler found" >&5
14570$as_echo "$as_me: WARNING: no proper vala compiler found" >&2;}
14571         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: you will not be able to compile vala source files" >&5
14572$as_echo "$as_me: WARNING: you will not be able to compile vala source files" >&2;}
14573    else
14574      :
14575    fi
14576        if test "x$VALAC" = "x" ; then
14577                as_fn_error $? "Cannot find the \"valac\" compiler in your PATH" "$LINENO" 5
14578        fi
14579fi
14580
14581
14582  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
14583$as_echo_n "checking whether NLS is requested... " >&6; }
14584    # Check whether --enable-nls was given.
14585if test "${enable_nls+set}" = set; then :
14586  enableval=$enable_nls; USE_NLS=$enableval
14587else
14588  USE_NLS=yes
14589fi
14590
14591  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
14592$as_echo "$USE_NLS" >&6; }
14593
14594
14595
14596
14597case "$am__api_version" in
14598    1.01234)
14599	as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
14600    ;;
14601    *)
14602    ;;
14603esac
14604
14605INTLTOOL_REQUIRED_VERSION_AS_INT=`echo  | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
14606INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
14607INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
14608if test -n ""; then
14609    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= " >&5
14610$as_echo_n "checking for intltool >= ... " >&6; }
14611    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
14612$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
14613    test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
14614	as_fn_error $? "Your intltool is too old.  You need intltool  or later." "$LINENO" 5
14615fi
14616
14617# Extract the first word of "intltool-update", so it can be a program name with args.
14618set dummy intltool-update; ac_word=$2
14619{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14620$as_echo_n "checking for $ac_word... " >&6; }
14621if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
14622  $as_echo_n "(cached) " >&6
14623else
14624  case $INTLTOOL_UPDATE in
14625  [\\/]* | ?:[\\/]*)
14626  ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
14627  ;;
14628  *)
14629  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14630for as_dir in $PATH
14631do
14632  IFS=$as_save_IFS
14633  test -z "$as_dir" && as_dir=.
14634    for ac_exec_ext in '' $ac_executable_extensions; do
14635  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14636    ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
14637    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14638    break 2
14639  fi
14640done
14641  done
14642IFS=$as_save_IFS
14643
14644  ;;
14645esac
14646fi
14647INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
14648if test -n "$INTLTOOL_UPDATE"; then
14649  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
14650$as_echo "$INTLTOOL_UPDATE" >&6; }
14651else
14652  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14653$as_echo "no" >&6; }
14654fi
14655
14656
14657# Extract the first word of "intltool-merge", so it can be a program name with args.
14658set dummy intltool-merge; ac_word=$2
14659{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14660$as_echo_n "checking for $ac_word... " >&6; }
14661if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
14662  $as_echo_n "(cached) " >&6
14663else
14664  case $INTLTOOL_MERGE in
14665  [\\/]* | ?:[\\/]*)
14666  ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
14667  ;;
14668  *)
14669  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14670for as_dir in $PATH
14671do
14672  IFS=$as_save_IFS
14673  test -z "$as_dir" && as_dir=.
14674    for ac_exec_ext in '' $ac_executable_extensions; do
14675  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14676    ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
14677    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14678    break 2
14679  fi
14680done
14681  done
14682IFS=$as_save_IFS
14683
14684  ;;
14685esac
14686fi
14687INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
14688if test -n "$INTLTOOL_MERGE"; then
14689  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
14690$as_echo "$INTLTOOL_MERGE" >&6; }
14691else
14692  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14693$as_echo "no" >&6; }
14694fi
14695
14696
14697# Extract the first word of "intltool-extract", so it can be a program name with args.
14698set dummy intltool-extract; ac_word=$2
14699{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14700$as_echo_n "checking for $ac_word... " >&6; }
14701if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
14702  $as_echo_n "(cached) " >&6
14703else
14704  case $INTLTOOL_EXTRACT in
14705  [\\/]* | ?:[\\/]*)
14706  ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
14707  ;;
14708  *)
14709  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14710for as_dir in $PATH
14711do
14712  IFS=$as_save_IFS
14713  test -z "$as_dir" && as_dir=.
14714    for ac_exec_ext in '' $ac_executable_extensions; do
14715  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14716    ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
14717    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14718    break 2
14719  fi
14720done
14721  done
14722IFS=$as_save_IFS
14723
14724  ;;
14725esac
14726fi
14727INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
14728if test -n "$INTLTOOL_EXTRACT"; then
14729  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
14730$as_echo "$INTLTOOL_EXTRACT" >&6; }
14731else
14732  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14733$as_echo "no" >&6; }
14734fi
14735
14736
14737if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
14738    as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
14739fi
14740
14741if test -z "$AM_DEFAULT_VERBOSITY"; then
14742  AM_DEFAULT_VERBOSITY=1
14743fi
14744
14745
14746INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))'
14747INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))'
14748INTLTOOL__v_MERGE_0='@echo "  ITMRG " $@;'
14749
14750
14751
14752
14753INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))'
14754intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))'
14755intltool__v_merge_options_0='-q'
14756
14757
14758
14759
14760  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 $< $@'
14761INTLTOOL_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 $< $@'
14762     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 $< $@'
14763     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 $< $@'
14764      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 $< $@'
14765     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 $< $@'
14766   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 $< $@'
14767    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 $< $@'
14768INTLTOOL_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 $< $@'
14769       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 $< $@'
14770      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 $< $@'
14771if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then
14772      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 $< $@'
14773else
14774      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'
14775fi
14776      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 $< $@'
14777      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 $< $@'
14778    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 $< $@'
14779  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 $< $@'
14780    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 $< $@'
14781    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 $< $@'
14782   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 $< $@'
14783
14784
14785
14786
14787
14788
14789
14790
14791
14792
14793
14794
14795
14796
14797
14798
14799
14800
14801
14802
14803
14804
14805
14806
14807
14808
14809
14810
14811
14812
14813
14814
14815
14816
14817
14818
14819
14820
14821
14822
14823
14824
14825
14826
14827
14828
14829
14830
14831
14832
14833
14834
14835
14836
14837
14838
14839
14840
14841
14842
14843
14844
14845
14846
14847
14848
14849
14850
14851
14852
14853
14854
14855
14856
14857
14858
14859
14860
14861
14862
14863
14864
14865
14866
14867
14868
14869
14870
14871
14872
14873
14874
14875
14876
14877
14878
14879
14880# Check the gettext tools to make sure they are GNU
14881# Extract the first word of "xgettext", so it can be a program name with args.
14882set dummy xgettext; ac_word=$2
14883{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14884$as_echo_n "checking for $ac_word... " >&6; }
14885if ${ac_cv_path_XGETTEXT+:} false; then :
14886  $as_echo_n "(cached) " >&6
14887else
14888  case $XGETTEXT in
14889  [\\/]* | ?:[\\/]*)
14890  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
14891  ;;
14892  *)
14893  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14894for as_dir in $PATH
14895do
14896  IFS=$as_save_IFS
14897  test -z "$as_dir" && as_dir=.
14898    for ac_exec_ext in '' $ac_executable_extensions; do
14899  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14900    ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
14901    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14902    break 2
14903  fi
14904done
14905  done
14906IFS=$as_save_IFS
14907
14908  ;;
14909esac
14910fi
14911XGETTEXT=$ac_cv_path_XGETTEXT
14912if test -n "$XGETTEXT"; then
14913  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
14914$as_echo "$XGETTEXT" >&6; }
14915else
14916  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14917$as_echo "no" >&6; }
14918fi
14919
14920
14921# Extract the first word of "msgmerge", so it can be a program name with args.
14922set dummy msgmerge; ac_word=$2
14923{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14924$as_echo_n "checking for $ac_word... " >&6; }
14925if ${ac_cv_path_MSGMERGE+:} false; then :
14926  $as_echo_n "(cached) " >&6
14927else
14928  case $MSGMERGE in
14929  [\\/]* | ?:[\\/]*)
14930  ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
14931  ;;
14932  *)
14933  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14934for as_dir in $PATH
14935do
14936  IFS=$as_save_IFS
14937  test -z "$as_dir" && as_dir=.
14938    for ac_exec_ext in '' $ac_executable_extensions; do
14939  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14940    ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
14941    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14942    break 2
14943  fi
14944done
14945  done
14946IFS=$as_save_IFS
14947
14948  ;;
14949esac
14950fi
14951MSGMERGE=$ac_cv_path_MSGMERGE
14952if test -n "$MSGMERGE"; then
14953  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
14954$as_echo "$MSGMERGE" >&6; }
14955else
14956  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14957$as_echo "no" >&6; }
14958fi
14959
14960
14961# Extract the first word of "msgfmt", so it can be a program name with args.
14962set dummy msgfmt; ac_word=$2
14963{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14964$as_echo_n "checking for $ac_word... " >&6; }
14965if ${ac_cv_path_MSGFMT+:} false; then :
14966  $as_echo_n "(cached) " >&6
14967else
14968  case $MSGFMT in
14969  [\\/]* | ?:[\\/]*)
14970  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
14971  ;;
14972  *)
14973  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14974for as_dir in $PATH
14975do
14976  IFS=$as_save_IFS
14977  test -z "$as_dir" && as_dir=.
14978    for ac_exec_ext in '' $ac_executable_extensions; do
14979  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14980    ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
14981    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14982    break 2
14983  fi
14984done
14985  done
14986IFS=$as_save_IFS
14987
14988  ;;
14989esac
14990fi
14991MSGFMT=$ac_cv_path_MSGFMT
14992if test -n "$MSGFMT"; then
14993  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
14994$as_echo "$MSGFMT" >&6; }
14995else
14996  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14997$as_echo "no" >&6; }
14998fi
14999
15000
15001# Extract the first word of "gmsgfmt", so it can be a program name with args.
15002set dummy gmsgfmt; ac_word=$2
15003{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15004$as_echo_n "checking for $ac_word... " >&6; }
15005if ${ac_cv_path_GMSGFMT+:} false; then :
15006  $as_echo_n "(cached) " >&6
15007else
15008  case $GMSGFMT in
15009  [\\/]* | ?:[\\/]*)
15010  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
15011  ;;
15012  *)
15013  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15014for as_dir in $PATH
15015do
15016  IFS=$as_save_IFS
15017  test -z "$as_dir" && as_dir=.
15018    for ac_exec_ext in '' $ac_executable_extensions; do
15019  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15020    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
15021    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15022    break 2
15023  fi
15024done
15025  done
15026IFS=$as_save_IFS
15027
15028  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
15029  ;;
15030esac
15031fi
15032GMSGFMT=$ac_cv_path_GMSGFMT
15033if test -n "$GMSGFMT"; then
15034  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
15035$as_echo "$GMSGFMT" >&6; }
15036else
15037  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15038$as_echo "no" >&6; }
15039fi
15040
15041
15042if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
15043    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
15044fi
15045xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
15046mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
15047mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
15048if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
15049    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
15050fi
15051
15052# Extract the first word of "perl", so it can be a program name with args.
15053set dummy perl; ac_word=$2
15054{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15055$as_echo_n "checking for $ac_word... " >&6; }
15056if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
15057  $as_echo_n "(cached) " >&6
15058else
15059  case $INTLTOOL_PERL in
15060  [\\/]* | ?:[\\/]*)
15061  ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
15062  ;;
15063  *)
15064  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15065for as_dir in $PATH
15066do
15067  IFS=$as_save_IFS
15068  test -z "$as_dir" && as_dir=.
15069    for ac_exec_ext in '' $ac_executable_extensions; do
15070  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15071    ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
15072    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15073    break 2
15074  fi
15075done
15076  done
15077IFS=$as_save_IFS
15078
15079  ;;
15080esac
15081fi
15082INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
15083if test -n "$INTLTOOL_PERL"; then
15084  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
15085$as_echo "$INTLTOOL_PERL" >&6; }
15086else
15087  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15088$as_echo "no" >&6; }
15089fi
15090
15091
15092if test -z "$INTLTOOL_PERL"; then
15093   as_fn_error $? "perl not found" "$LINENO" 5
15094fi
15095{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
15096$as_echo_n "checking for perl >= 5.8.1... " >&6; }
15097$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
15098if test $? -ne 0; then
15099   as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
15100else
15101   IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"`
15102   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
15103$as_echo "$IT_PERL_VERSION" >&6; }
15104fi
15105if test "x" != "xno-xml"; then
15106   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
15107$as_echo_n "checking for XML::Parser... " >&6; }
15108   if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
15109       { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
15110$as_echo "ok" >&6; }
15111   else
15112       as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
15113   fi
15114fi
15115
15116# Substitute ALL_LINGUAS so we can use it in po/Makefile
15117
15118
15119
15120
15121
15122
15123    GETTEXT_PACKAGE=xfce4-notes-plugin
15124
15125cat >>confdefs.h <<_ACEOF
15126#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
15127_ACEOF
15128
15129
15130
15131    ALL_LINGUAS="am ar ast be bg ca cs da de el en_AU en_GB es et eu fi fr gl he hr hu hy_AM hye id ie is it ja kk ko lt lv ms nb nl oc pl pt pt_BR ro ru sk sl sq sr sv th tr ug uk ur ur_PK vi zh_CN zh_TW"
15132
15133   for ac_header in locale.h
15134do :
15135  ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
15136if test "x$ac_cv_header_locale_h" = xyes; then :
15137  cat >>confdefs.h <<_ACEOF
15138#define HAVE_LOCALE_H 1
15139_ACEOF
15140
15141fi
15142
15143done
15144
15145    if test $ac_cv_header_locale_h = yes; then
15146    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
15147$as_echo_n "checking for LC_MESSAGES... " >&6; }
15148if ${am_cv_val_LC_MESSAGES+:} false; then :
15149  $as_echo_n "(cached) " >&6
15150else
15151  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15152/* end confdefs.h.  */
15153#include <locale.h>
15154int
15155main ()
15156{
15157return LC_MESSAGES
15158  ;
15159  return 0;
15160}
15161_ACEOF
15162if ac_fn_c_try_link "$LINENO"; then :
15163  am_cv_val_LC_MESSAGES=yes
15164else
15165  am_cv_val_LC_MESSAGES=no
15166fi
15167rm -f core conftest.err conftest.$ac_objext \
15168    conftest$ac_exeext conftest.$ac_ext
15169fi
15170{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
15171$as_echo "$am_cv_val_LC_MESSAGES" >&6; }
15172    if test $am_cv_val_LC_MESSAGES = yes; then
15173
15174$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
15175
15176    fi
15177  fi
15178     USE_NLS=yes
15179
15180
15181    gt_cv_have_gettext=no
15182
15183    CATOBJEXT=NONE
15184    XGETTEXT=:
15185    INTLLIBS=
15186
15187
15188    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
15189$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
15190if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
15191  $as_echo_n "(cached) " >&6
15192else
15193  gt_save_LIBS="$LIBS"
15194     LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
15195     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15196/* end confdefs.h.  */
15197#include <CoreFoundation/CFPreferences.h>
15198int
15199main ()
15200{
15201CFPreferencesCopyAppValue(NULL, NULL)
15202  ;
15203  return 0;
15204}
15205_ACEOF
15206if ac_fn_c_try_link "$LINENO"; then :
15207  gt_cv_func_CFPreferencesCopyAppValue=yes
15208else
15209  gt_cv_func_CFPreferencesCopyAppValue=no
15210fi
15211rm -f core conftest.err conftest.$ac_objext \
15212    conftest$ac_exeext conftest.$ac_ext
15213     LIBS="$gt_save_LIBS"
15214fi
15215{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
15216$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
15217  if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
15218
15219$as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
15220
15221  fi
15222    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
15223$as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
15224if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
15225  $as_echo_n "(cached) " >&6
15226else
15227  gt_save_LIBS="$LIBS"
15228     LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
15229     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15230/* end confdefs.h.  */
15231#include <CoreFoundation/CFLocale.h>
15232int
15233main ()
15234{
15235CFLocaleCopyCurrent();
15236  ;
15237  return 0;
15238}
15239_ACEOF
15240if ac_fn_c_try_link "$LINENO"; then :
15241  gt_cv_func_CFLocaleCopyCurrent=yes
15242else
15243  gt_cv_func_CFLocaleCopyCurrent=no
15244fi
15245rm -f core conftest.err conftest.$ac_objext \
15246    conftest$ac_exeext conftest.$ac_ext
15247     LIBS="$gt_save_LIBS"
15248fi
15249{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
15250$as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
15251  if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
15252
15253$as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
15254
15255  fi
15256  INTL_MACOSX_LIBS=
15257  if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
15258    INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
15259  fi
15260
15261
15262
15263    ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
15264if test "x$ac_cv_header_libintl_h" = xyes; then :
15265  gt_cv_func_dgettext_libintl="no"
15266      libintl_extra_libs=""
15267
15268      #
15269      # First check in libc
15270      #
15271      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
15272$as_echo_n "checking for ngettext in libc... " >&6; }
15273if ${gt_cv_func_ngettext_libc+:} false; then :
15274  $as_echo_n "(cached) " >&6
15275else
15276  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15277/* end confdefs.h.  */
15278
15279#include <libintl.h>
15280
15281int
15282main ()
15283{
15284return !ngettext ("","", 1)
15285  ;
15286  return 0;
15287}
15288_ACEOF
15289if ac_fn_c_try_link "$LINENO"; then :
15290  gt_cv_func_ngettext_libc=yes
15291else
15292  gt_cv_func_ngettext_libc=no
15293fi
15294rm -f core conftest.err conftest.$ac_objext \
15295    conftest$ac_exeext conftest.$ac_ext
15296
15297fi
15298{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
15299$as_echo "$gt_cv_func_ngettext_libc" >&6; }
15300
15301      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
15302	      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
15303$as_echo_n "checking for dgettext in libc... " >&6; }
15304if ${gt_cv_func_dgettext_libc+:} false; then :
15305  $as_echo_n "(cached) " >&6
15306else
15307  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15308/* end confdefs.h.  */
15309
15310#include <libintl.h>
15311
15312int
15313main ()
15314{
15315return !dgettext ("","")
15316  ;
15317  return 0;
15318}
15319_ACEOF
15320if ac_fn_c_try_link "$LINENO"; then :
15321  gt_cv_func_dgettext_libc=yes
15322else
15323  gt_cv_func_dgettext_libc=no
15324fi
15325rm -f core conftest.err conftest.$ac_objext \
15326    conftest$ac_exeext conftest.$ac_ext
15327
15328fi
15329{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
15330$as_echo "$gt_cv_func_dgettext_libc" >&6; }
15331      fi
15332
15333      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
15334        for ac_func in bind_textdomain_codeset
15335do :
15336  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
15337if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
15338  cat >>confdefs.h <<_ACEOF
15339#define HAVE_BIND_TEXTDOMAIN_CODESET 1
15340_ACEOF
15341
15342fi
15343done
15344
15345      fi
15346
15347      #
15348      # If we don't have everything we want, check in libintl
15349      #
15350      if test "$gt_cv_func_dgettext_libc" != "yes" \
15351	 || test "$gt_cv_func_ngettext_libc" != "yes" \
15352         || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
15353
15354        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
15355$as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
15356if ${ac_cv_lib_intl_bindtextdomain+:} false; then :
15357  $as_echo_n "(cached) " >&6
15358else
15359  ac_check_lib_save_LIBS=$LIBS
15360LIBS="-lintl  $LIBS"
15361cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15362/* end confdefs.h.  */
15363
15364/* Override any GCC internal prototype to avoid an error.
15365   Use char because int might match the return type of a GCC
15366   builtin and then its argument prototype would still apply.  */
15367#ifdef __cplusplus
15368extern "C"
15369#endif
15370char bindtextdomain ();
15371int
15372main ()
15373{
15374return bindtextdomain ();
15375  ;
15376  return 0;
15377}
15378_ACEOF
15379if ac_fn_c_try_link "$LINENO"; then :
15380  ac_cv_lib_intl_bindtextdomain=yes
15381else
15382  ac_cv_lib_intl_bindtextdomain=no
15383fi
15384rm -f core conftest.err conftest.$ac_objext \
15385    conftest$ac_exeext conftest.$ac_ext
15386LIBS=$ac_check_lib_save_LIBS
15387fi
15388{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
15389$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
15390if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then :
15391  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
15392$as_echo_n "checking for ngettext in -lintl... " >&6; }
15393if ${ac_cv_lib_intl_ngettext+:} false; then :
15394  $as_echo_n "(cached) " >&6
15395else
15396  ac_check_lib_save_LIBS=$LIBS
15397LIBS="-lintl  $LIBS"
15398cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15399/* end confdefs.h.  */
15400
15401/* Override any GCC internal prototype to avoid an error.
15402   Use char because int might match the return type of a GCC
15403   builtin and then its argument prototype would still apply.  */
15404#ifdef __cplusplus
15405extern "C"
15406#endif
15407char ngettext ();
15408int
15409main ()
15410{
15411return ngettext ();
15412  ;
15413  return 0;
15414}
15415_ACEOF
15416if ac_fn_c_try_link "$LINENO"; then :
15417  ac_cv_lib_intl_ngettext=yes
15418else
15419  ac_cv_lib_intl_ngettext=no
15420fi
15421rm -f core conftest.err conftest.$ac_objext \
15422    conftest$ac_exeext conftest.$ac_ext
15423LIBS=$ac_check_lib_save_LIBS
15424fi
15425{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
15426$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
15427if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
15428  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
15429$as_echo_n "checking for dgettext in -lintl... " >&6; }
15430if ${ac_cv_lib_intl_dgettext+:} false; then :
15431  $as_echo_n "(cached) " >&6
15432else
15433  ac_check_lib_save_LIBS=$LIBS
15434LIBS="-lintl  $LIBS"
15435cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15436/* end confdefs.h.  */
15437
15438/* Override any GCC internal prototype to avoid an error.
15439   Use char because int might match the return type of a GCC
15440   builtin and then its argument prototype would still apply.  */
15441#ifdef __cplusplus
15442extern "C"
15443#endif
15444char dgettext ();
15445int
15446main ()
15447{
15448return dgettext ();
15449  ;
15450  return 0;
15451}
15452_ACEOF
15453if ac_fn_c_try_link "$LINENO"; then :
15454  ac_cv_lib_intl_dgettext=yes
15455else
15456  ac_cv_lib_intl_dgettext=no
15457fi
15458rm -f core conftest.err conftest.$ac_objext \
15459    conftest$ac_exeext conftest.$ac_ext
15460LIBS=$ac_check_lib_save_LIBS
15461fi
15462{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
15463$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
15464if test "x$ac_cv_lib_intl_dgettext" = xyes; then :
15465  gt_cv_func_dgettext_libintl=yes
15466fi
15467
15468fi
15469
15470fi
15471
15472
15473	if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
15474	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
15475$as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
15476	  { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
15477$as_echo "" >&6; }
15478  	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
15479$as_echo_n "checking for ngettext in -lintl... " >&6; }
15480if ${ac_cv_lib_intl_ngettext+:} false; then :
15481  $as_echo_n "(cached) " >&6
15482else
15483  ac_check_lib_save_LIBS=$LIBS
15484LIBS="-lintl -liconv $LIBS"
15485cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15486/* end confdefs.h.  */
15487
15488/* Override any GCC internal prototype to avoid an error.
15489   Use char because int might match the return type of a GCC
15490   builtin and then its argument prototype would still apply.  */
15491#ifdef __cplusplus
15492extern "C"
15493#endif
15494char ngettext ();
15495int
15496main ()
15497{
15498return ngettext ();
15499  ;
15500  return 0;
15501}
15502_ACEOF
15503if ac_fn_c_try_link "$LINENO"; then :
15504  ac_cv_lib_intl_ngettext=yes
15505else
15506  ac_cv_lib_intl_ngettext=no
15507fi
15508rm -f core conftest.err conftest.$ac_objext \
15509    conftest$ac_exeext conftest.$ac_ext
15510LIBS=$ac_check_lib_save_LIBS
15511fi
15512{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
15513$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
15514if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
15515  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
15516$as_echo_n "checking for dcgettext in -lintl... " >&6; }
15517if ${ac_cv_lib_intl_dcgettext+:} false; then :
15518  $as_echo_n "(cached) " >&6
15519else
15520  ac_check_lib_save_LIBS=$LIBS
15521LIBS="-lintl -liconv $LIBS"
15522cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15523/* end confdefs.h.  */
15524
15525/* Override any GCC internal prototype to avoid an error.
15526   Use char because int might match the return type of a GCC
15527   builtin and then its argument prototype would still apply.  */
15528#ifdef __cplusplus
15529extern "C"
15530#endif
15531char dcgettext ();
15532int
15533main ()
15534{
15535return dcgettext ();
15536  ;
15537  return 0;
15538}
15539_ACEOF
15540if ac_fn_c_try_link "$LINENO"; then :
15541  ac_cv_lib_intl_dcgettext=yes
15542else
15543  ac_cv_lib_intl_dcgettext=no
15544fi
15545rm -f core conftest.err conftest.$ac_objext \
15546    conftest$ac_exeext conftest.$ac_ext
15547LIBS=$ac_check_lib_save_LIBS
15548fi
15549{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
15550$as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
15551if test "x$ac_cv_lib_intl_dcgettext" = xyes; then :
15552  gt_cv_func_dgettext_libintl=yes
15553			libintl_extra_libs=-liconv
15554else
15555  :
15556fi
15557
15558else
15559  :
15560fi
15561
15562        fi
15563
15564        #
15565        # If we found libintl, then check in it for bind_textdomain_codeset();
15566        # we'll prefer libc if neither have bind_textdomain_codeset(),
15567        # and both have dgettext and ngettext
15568        #
15569        if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
15570          glib_save_LIBS="$LIBS"
15571          LIBS="$LIBS -lintl $libintl_extra_libs"
15572          unset ac_cv_func_bind_textdomain_codeset
15573          for ac_func in bind_textdomain_codeset
15574do :
15575  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
15576if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
15577  cat >>confdefs.h <<_ACEOF
15578#define HAVE_BIND_TEXTDOMAIN_CODESET 1
15579_ACEOF
15580
15581fi
15582done
15583
15584          LIBS="$glib_save_LIBS"
15585
15586          if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
15587            gt_cv_func_dgettext_libc=no
15588          else
15589            if test "$gt_cv_func_dgettext_libc" = "yes" \
15590		&& test "$gt_cv_func_ngettext_libc" = "yes"; then
15591              gt_cv_func_dgettext_libintl=no
15592            fi
15593          fi
15594        fi
15595      fi
15596
15597      if test "$gt_cv_func_dgettext_libc" = "yes" \
15598	|| test "$gt_cv_func_dgettext_libintl" = "yes"; then
15599        gt_cv_have_gettext=yes
15600      fi
15601
15602      if test "$gt_cv_func_dgettext_libintl" = "yes"; then
15603        INTLLIBS="-lintl $libintl_extra_libs $INTL_MACOSX_LIBS"
15604      fi
15605
15606      if test "$gt_cv_have_gettext" = "yes"; then
15607
15608$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
15609
15610	# Extract the first word of "msgfmt", so it can be a program name with args.
15611set dummy msgfmt; ac_word=$2
15612{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15613$as_echo_n "checking for $ac_word... " >&6; }
15614if ${ac_cv_path_MSGFMT+:} false; then :
15615  $as_echo_n "(cached) " >&6
15616else
15617  case "$MSGFMT" in
15618  /*)
15619  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
15620  ;;
15621  *)
15622  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
15623  for ac_dir in $PATH; do
15624    test -z "$ac_dir" && ac_dir=.
15625    if test -f $ac_dir/$ac_word; then
15626      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
15627	ac_cv_path_MSGFMT="$ac_dir/$ac_word"
15628	break
15629      fi
15630    fi
15631  done
15632  IFS="$ac_save_ifs"
15633  test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
15634  ;;
15635esac
15636fi
15637MSGFMT="$ac_cv_path_MSGFMT"
15638if test "$MSGFMT" != "no"; then
15639  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
15640$as_echo "$MSGFMT" >&6; }
15641else
15642  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15643$as_echo "no" >&6; }
15644fi
15645	if test "$MSGFMT" != "no"; then
15646          glib_save_LIBS="$LIBS"
15647          LIBS="$LIBS $INTLLIBS"
15648	  for ac_func in dcgettext
15649do :
15650  ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
15651if test "x$ac_cv_func_dcgettext" = xyes; then :
15652  cat >>confdefs.h <<_ACEOF
15653#define HAVE_DCGETTEXT 1
15654_ACEOF
15655
15656fi
15657done
15658
15659	  MSGFMT_OPTS=
15660	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
15661$as_echo_n "checking if msgfmt accepts -c... " >&6; }
15662	  cat >conftest.foo <<_ACEOF
15663
15664msgid ""
15665msgstr ""
15666"Content-Type: text/plain; charset=UTF-8\n"
15667"Project-Id-Version: test 1.0\n"
15668"PO-Revision-Date: 2007-02-15 12:01+0100\n"
15669"Last-Translator: test <foo@bar.xx>\n"
15670"Language-Team: C <LL@li.org>\n"
15671"MIME-Version: 1.0\n"
15672"Content-Transfer-Encoding: 8bit\n"
15673
15674_ACEOF
15675if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
15676  ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
15677  ac_status=$?
15678  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15679  test $ac_status = 0; }; then
15680  MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15681$as_echo "yes" >&6; }
15682else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15683$as_echo "no" >&6; }
15684echo "$as_me: failed input was:" >&5
15685sed 's/^/| /' conftest.foo >&5
15686fi
15687
15688	  # Extract the first word of "gmsgfmt", so it can be a program name with args.
15689set dummy gmsgfmt; ac_word=$2
15690{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15691$as_echo_n "checking for $ac_word... " >&6; }
15692if ${ac_cv_path_GMSGFMT+:} false; then :
15693  $as_echo_n "(cached) " >&6
15694else
15695  case $GMSGFMT in
15696  [\\/]* | ?:[\\/]*)
15697  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
15698  ;;
15699  *)
15700  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15701for as_dir in $PATH
15702do
15703  IFS=$as_save_IFS
15704  test -z "$as_dir" && as_dir=.
15705    for ac_exec_ext in '' $ac_executable_extensions; do
15706  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15707    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
15708    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15709    break 2
15710  fi
15711done
15712  done
15713IFS=$as_save_IFS
15714
15715  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
15716  ;;
15717esac
15718fi
15719GMSGFMT=$ac_cv_path_GMSGFMT
15720if test -n "$GMSGFMT"; then
15721  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
15722$as_echo "$GMSGFMT" >&6; }
15723else
15724  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15725$as_echo "no" >&6; }
15726fi
15727
15728
15729	  # Extract the first word of "xgettext", so it can be a program name with args.
15730set dummy xgettext; ac_word=$2
15731{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15732$as_echo_n "checking for $ac_word... " >&6; }
15733if ${ac_cv_path_XGETTEXT+:} false; then :
15734  $as_echo_n "(cached) " >&6
15735else
15736  case "$XGETTEXT" in
15737  /*)
15738  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
15739  ;;
15740  *)
15741  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
15742  for ac_dir in $PATH; do
15743    test -z "$ac_dir" && ac_dir=.
15744    if test -f $ac_dir/$ac_word; then
15745      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
15746	ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
15747	break
15748      fi
15749    fi
15750  done
15751  IFS="$ac_save_ifs"
15752  test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
15753  ;;
15754esac
15755fi
15756XGETTEXT="$ac_cv_path_XGETTEXT"
15757if test "$XGETTEXT" != ":"; then
15758  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
15759$as_echo "$XGETTEXT" >&6; }
15760else
15761  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15762$as_echo "no" >&6; }
15763fi
15764
15765	  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15766/* end confdefs.h.  */
15767
15768int
15769main ()
15770{
15771extern int _nl_msg_cat_cntr;
15772			 return _nl_msg_cat_cntr
15773  ;
15774  return 0;
15775}
15776_ACEOF
15777if ac_fn_c_try_link "$LINENO"; then :
15778  CATOBJEXT=.gmo
15779             DATADIRNAME=share
15780else
15781  case $host in
15782	    *-*-solaris*)
15783	    	                	    	                ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
15784if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
15785  CATOBJEXT=.gmo
15786               DATADIRNAME=share
15787else
15788  CATOBJEXT=.mo
15789               DATADIRNAME=lib
15790fi
15791
15792	    ;;
15793	    *-*-openbsd*)
15794	    CATOBJEXT=.mo
15795            DATADIRNAME=share
15796	    ;;
15797	    *)
15798	    CATOBJEXT=.mo
15799            DATADIRNAME=lib
15800	    ;;
15801	    esac
15802fi
15803rm -f core conftest.err conftest.$ac_objext \
15804    conftest$ac_exeext conftest.$ac_ext
15805          LIBS="$glib_save_LIBS"
15806	  INSTOBJEXT=.mo
15807	else
15808	  gt_cv_have_gettext=no
15809	fi
15810      fi
15811
15812fi
15813
15814
15815
15816    if test "$gt_cv_have_gettext" = "yes" ; then
15817
15818$as_echo "#define ENABLE_NLS 1" >>confdefs.h
15819
15820    fi
15821
15822        if test "$XGETTEXT" != ":"; then
15823                  if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
15824        : ;
15825      else
15826        { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
15827$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
15828        XGETTEXT=":"
15829      fi
15830    fi
15831
15832    # We need to process the po/ directory.
15833    POSUB=po
15834
15835    ac_config_commands="$ac_config_commands default-1"
15836
15837
15838                for lang in $ALL_LINGUAS; do
15839      GMOFILES="$GMOFILES $lang.gmo"
15840      POFILES="$POFILES $lang.po"
15841    done
15842
15843
15844
15845
15846
15847
15848
15849
15850
15851
15852
15853
15854
15855   if test "$gt_cv_have_gettext" = "yes"; then
15856     if test "x$ALL_LINGUAS" = "x"; then
15857       LINGUAS=
15858     else
15859       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
15860$as_echo_n "checking for catalogs to be installed... " >&6; }
15861       NEW_LINGUAS=
15862       for presentlang in $ALL_LINGUAS; do
15863         useit=no
15864         if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
15865           desiredlanguages="$LINGUAS"
15866         else
15867           desiredlanguages="$ALL_LINGUAS"
15868         fi
15869         for desiredlang in $desiredlanguages; do
15870 	   # Use the presentlang catalog if desiredlang is
15871           #   a. equal to presentlang, or
15872           #   b. a variant of presentlang (because in this case,
15873           #      presentlang can be used as a fallback for messages
15874           #      which are not translated in the desiredlang catalog).
15875           case "$desiredlang" in
15876             "$presentlang"*) useit=yes;;
15877           esac
15878         done
15879         if test $useit = yes; then
15880           NEW_LINGUAS="$NEW_LINGUAS $presentlang"
15881         fi
15882       done
15883       LINGUAS=$NEW_LINGUAS
15884       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
15885$as_echo "$LINGUAS" >&6; }
15886     fi
15887
15888          if test -n "$LINGUAS"; then
15889       for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
15890     fi
15891   fi
15892
15893            MKINSTALLDIRS=
15894   if test -n "$ac_aux_dir"; then
15895     MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
15896   fi
15897   if test -z "$MKINSTALLDIRS"; then
15898     MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
15899   fi
15900
15901
15902         test -d po || mkdir po
15903   if test "x$srcdir" != "x."; then
15904     if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
15905       posrcprefix="$srcdir/"
15906     else
15907       posrcprefix="../$srcdir/"
15908     fi
15909   else
15910     posrcprefix="../"
15911   fi
15912   rm -f po/POTFILES
15913   sed -e "/^#/d" -e "/^\$/d" -e "s,.*,	$posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
15914	< $srcdir/po/POTFILES.in > po/POTFILES
15915
15916
15917    ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
15918if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
15919
15920fi
15921
15922
15923    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for locales directory" >&5
15924$as_echo_n "checking for locales directory... " >&6; }
15925
15926# Check whether --with-locales-dir was given.
15927if test "${with_locales_dir+set}" = set; then :
15928  withval=$with_locales_dir; localedir=$withval
15929else
15930
15931    if test x"$CATOBJEXT" = x".mo"; then
15932      localedir=$libdir/locale
15933    else
15934      localedir=$datarootdir/locale
15935    fi
15936
15937fi
15938
15939  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $localedir" >&5
15940$as_echo "$localedir" >&6; }
15941
15942
15943    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional xgettext flags" >&5
15944$as_echo_n "checking for additional xgettext flags... " >&6; }
15945  if test x"$XGETTEXT_ARGS" = x""; then
15946    XGETTEXT_ARGS="--keyword=Q_ --from-code=UTF-8";
15947  else
15948    XGETTEXT_ARGS="$XGETTEXT_ARGS --keyword=Q_ --from-code=UTF-8";
15949  fi
15950
15951  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT_ARGS" >&5
15952$as_echo "$XGETTEXT_ARGS" >&6; }
15953
15954
15955
15956    # Check whether --enable-debug was given.
15957if test "${enable_debug+set}" = set; then :
15958  enableval=$enable_debug; enable_debug=$enableval
15959else
15960  enable_debug=minimum
15961fi
15962
15963
15964  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build with debugging support" >&5
15965$as_echo_n "checking whether to build with debugging support... " >&6; }
15966  if test x"$enable_debug" = x"full" -o x"$enable_debug" = x"yes"; then
15967
15968$as_echo "#define DEBUG 1" >>confdefs.h
15969
15970
15971    xdt_cv_additional_CFLAGS="-DXFCE_DISABLE_DEPRECATED \
15972                              -Wall -Wextra \
15973                              -Wno-missing-field-initializers \
15974                              -Wno-unused-parameter -Wold-style-definition \
15975                              -Wdeclaration-after-statement \
15976                              -Wmissing-declarations \
15977                              -Wmissing-noreturn -Wpointer-arith \
15978                              -Wcast-align -Wformat -Wformat-security -Wformat-y2k \
15979                              -Winit-self -Wmissing-include-dirs -Wundef \
15980                              -Wnested-externs"
15981    CPPFLAGS="$CPPFLAGS"
15982
15983    if test x`uname` = x"Linux"; then
15984      xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -fstack-protector"
15985    fi
15986
15987        if test x`uname` != x"OpenBSD"; then
15988      xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -Wredundant-decls"
15989    fi
15990
15991    if test x"$enable_debug" = x"full"; then
15992
15993$as_echo "#define DEBUG_TRACE 1" >>confdefs.h
15994
15995      xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -O0 -g -Werror"
15996      CPPFLAGS="$CPPFLAGS -DG_ENABLE_DEBUG"
15997      { $as_echo "$as_me:${as_lineno-$LINENO}: result: full" >&5
15998$as_echo "full" >&6; }
15999    else
16000      xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -g -Wshadow"
16001      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16002$as_echo "yes" >&6; }
16003    fi
16004
16005
16006  for flag in $xdt_cv_additional_CFLAGS; do
16007    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports $flag" >&5
16008$as_echo_n "checking if $CC supports $flag... " >&6; }
16009    saved_CFLAGS="$CFLAGS"
16010    CFLAGS="$CFLAGS $flag"
16011    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16012/* end confdefs.h.  */
16013
16014_ACEOF
16015if ac_fn_c_try_compile "$LINENO"; then :
16016  flag_supported=yes
16017else
16018  flag_supported=no
16019fi
16020rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16021    CFLAGS="$saved_CFLAGS"
16022    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_supported" >&5
16023$as_echo "$flag_supported" >&6; }
16024
16025    if test "x$flag_supported" = "xyes"; then
16026      supported_CFLAGS="$supported_CFLAGS $flag"
16027    fi
16028  done
16029
16030
16031
16032                                                supported_CXXFLAGS="$supported_CFLAGS"
16033
16034
16035    CFLAGS="$CFLAGS $supported_CFLAGS"
16036    CXXFLAGS="$CXXFLAGS $supported_CXXFLAGS"
16037  else
16038    CPPFLAGS="$CPPFLAGS -DNDEBUG"
16039
16040    if test x"$enable_debug" = x"no"; then
16041      CPPFLAGS="$CPPFLAGS -DG_DISABLE_CAST_CHECKS -DG_DISABLE_ASSERT"
16042      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16043$as_echo "no" >&6; }
16044    else
16045      { $as_echo "$as_me:${as_lineno-$LINENO}: result: minimum" >&5
16046$as_echo "minimum" >&6; }
16047    fi
16048  fi
16049
16050
16051ac_config_files="$ac_config_files Makefile data/Makefile data/gtk-3.0/Makefile data/icons/Makefile data/icons/16x16/Makefile data/icons/22x22/Makefile data/icons/24x24/Makefile data/icons/32x32/Makefile data/icons/scalable/Makefile data/pixmaps/Makefile lib/Makefile src/Makefile po/Makefile.in"
16052
16053cat >confcache <<\_ACEOF
16054# This file is a shell script that caches the results of configure
16055# tests run on this system so they can be shared between configure
16056# scripts and configure runs, see configure's option --config-cache.
16057# It is not useful on other systems.  If it contains results you don't
16058# want to keep, you may remove or edit it.
16059#
16060# config.status only pays attention to the cache file if you give it
16061# the --recheck option to rerun configure.
16062#
16063# `ac_cv_env_foo' variables (set or unset) will be overridden when
16064# loading this file, other *unset* `ac_cv_foo' will be assigned the
16065# following values.
16066
16067_ACEOF
16068
16069# The following way of writing the cache mishandles newlines in values,
16070# but we know of no workaround that is simple, portable, and efficient.
16071# So, we kill variables containing newlines.
16072# Ultrix sh set writes to stderr and can't be redirected directly,
16073# and sets the high bit in the cache file unless we assign to the vars.
16074(
16075  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16076    eval ac_val=\$$ac_var
16077    case $ac_val in #(
16078    *${as_nl}*)
16079      case $ac_var in #(
16080      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16081$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16082      esac
16083      case $ac_var in #(
16084      _ | IFS | as_nl) ;; #(
16085      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16086      *) { eval $ac_var=; unset $ac_var;} ;;
16087      esac ;;
16088    esac
16089  done
16090
16091  (set) 2>&1 |
16092    case $as_nl`(ac_space=' '; set) 2>&1` in #(
16093    *${as_nl}ac_space=\ *)
16094      # `set' does not quote correctly, so add quotes: double-quote
16095      # substitution turns \\\\ into \\, and sed turns \\ into \.
16096      sed -n \
16097	"s/'/'\\\\''/g;
16098	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16099      ;; #(
16100    *)
16101      # `set' quotes correctly as required by POSIX, so do not add quotes.
16102      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16103      ;;
16104    esac |
16105    sort
16106) |
16107  sed '
16108     /^ac_cv_env_/b end
16109     t clear
16110     :clear
16111     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16112     t end
16113     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16114     :end' >>confcache
16115if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16116  if test -w "$cache_file"; then
16117    if test "x$cache_file" != "x/dev/null"; then
16118      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16119$as_echo "$as_me: updating cache $cache_file" >&6;}
16120      if test ! -f "$cache_file" || test -h "$cache_file"; then
16121	cat confcache >"$cache_file"
16122      else
16123        case $cache_file in #(
16124        */* | ?:*)
16125	  mv -f confcache "$cache_file"$$ &&
16126	  mv -f "$cache_file"$$ "$cache_file" ;; #(
16127        *)
16128	  mv -f confcache "$cache_file" ;;
16129	esac
16130      fi
16131    fi
16132  else
16133    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16134$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16135  fi
16136fi
16137rm -f confcache
16138
16139test "x$prefix" = xNONE && prefix=$ac_default_prefix
16140# Let make expand exec_prefix.
16141test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16142
16143DEFS=-DHAVE_CONFIG_H
16144
16145ac_libobjs=
16146ac_ltlibobjs=
16147U=
16148for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
16149  # 1. Remove the extension, and $U if already installed.
16150  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
16151  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
16152  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
16153  #    will be set to the directory where LIBOBJS objects are built.
16154  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16155  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
16156done
16157LIBOBJS=$ac_libobjs
16158
16159LTLIBOBJS=$ac_ltlibobjs
16160
16161
16162{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
16163$as_echo_n "checking that generated files are newer than configure... " >&6; }
16164   if test -n "$am_sleep_pid"; then
16165     # Hide warnings about reused PIDs.
16166     wait $am_sleep_pid 2>/dev/null
16167   fi
16168   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
16169$as_echo "done" >&6; }
16170if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16171  as_fn_error $? "conditional \"AMDEP\" was never defined.
16172Usually this means the macro was only invoked conditionally." "$LINENO" 5
16173fi
16174if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16175  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16176Usually this means the macro was only invoked conditionally." "$LINENO" 5
16177fi
16178 if test -n "$EXEEXT"; then
16179  am__EXEEXT_TRUE=
16180  am__EXEEXT_FALSE='#'
16181else
16182  am__EXEEXT_TRUE='#'
16183  am__EXEEXT_FALSE=
16184fi
16185
16186if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
16187  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
16188Usually this means the macro was only invoked conditionally." "$LINENO" 5
16189fi
16190
16191  ac_config_commands="$ac_config_commands po/stamp-it"
16192
16193
16194
16195: "${CONFIG_STATUS=./config.status}"
16196ac_write_fail=0
16197ac_clean_files_save=$ac_clean_files
16198ac_clean_files="$ac_clean_files $CONFIG_STATUS"
16199{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16200$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16201as_write_fail=0
16202cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16203#! $SHELL
16204# Generated by $as_me.
16205# Run this file to recreate the current configuration.
16206# Compiler output produced by configure, useful for debugging
16207# configure, is in config.log if it exists.
16208
16209debug=false
16210ac_cs_recheck=false
16211ac_cs_silent=false
16212
16213SHELL=\${CONFIG_SHELL-$SHELL}
16214export SHELL
16215_ASEOF
16216cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
16217## -------------------- ##
16218## M4sh Initialization. ##
16219## -------------------- ##
16220
16221# Be more Bourne compatible
16222DUALCASE=1; export DUALCASE # for MKS sh
16223if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16224  emulate sh
16225  NULLCMD=:
16226  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16227  # is contrary to our usage.  Disable this feature.
16228  alias -g '${1+"$@"}'='"$@"'
16229  setopt NO_GLOB_SUBST
16230else
16231  case `(set -o) 2>/dev/null` in #(
16232  *posix*) :
16233    set -o posix ;; #(
16234  *) :
16235     ;;
16236esac
16237fi
16238
16239
16240as_nl='
16241'
16242export as_nl
16243# Printing a long string crashes Solaris 7 /usr/bin/printf.
16244as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16245as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16246as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16247# Prefer a ksh shell builtin over an external printf program on Solaris,
16248# but without wasting forks for bash or zsh.
16249if test -z "$BASH_VERSION$ZSH_VERSION" \
16250    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16251  as_echo='print -r --'
16252  as_echo_n='print -rn --'
16253elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16254  as_echo='printf %s\n'
16255  as_echo_n='printf %s'
16256else
16257  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16258    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
16259    as_echo_n='/usr/ucb/echo -n'
16260  else
16261    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16262    as_echo_n_body='eval
16263      arg=$1;
16264      case $arg in #(
16265      *"$as_nl"*)
16266	expr "X$arg" : "X\\(.*\\)$as_nl";
16267	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16268      esac;
16269      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
16270    '
16271    export as_echo_n_body
16272    as_echo_n='sh -c $as_echo_n_body as_echo'
16273  fi
16274  export as_echo_body
16275  as_echo='sh -c $as_echo_body as_echo'
16276fi
16277
16278# The user is always right.
16279if test "${PATH_SEPARATOR+set}" != set; then
16280  PATH_SEPARATOR=:
16281  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16282    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16283      PATH_SEPARATOR=';'
16284  }
16285fi
16286
16287
16288# IFS
16289# We need space, tab and new line, in precisely that order.  Quoting is
16290# there to prevent editors from complaining about space-tab.
16291# (If _AS_PATH_WALK were called with IFS unset, it would disable word
16292# splitting by setting IFS to empty value.)
16293IFS=" ""	$as_nl"
16294
16295# Find who we are.  Look in the path if we contain no directory separator.
16296as_myself=
16297case $0 in #((
16298  *[\\/]* ) as_myself=$0 ;;
16299  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16300for as_dir in $PATH
16301do
16302  IFS=$as_save_IFS
16303  test -z "$as_dir" && as_dir=.
16304    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16305  done
16306IFS=$as_save_IFS
16307
16308     ;;
16309esac
16310# We did not find ourselves, most probably we were run as `sh COMMAND'
16311# in which case we are not to be found in the path.
16312if test "x$as_myself" = x; then
16313  as_myself=$0
16314fi
16315if test ! -f "$as_myself"; then
16316  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16317  exit 1
16318fi
16319
16320# Unset variables that we do not need and which cause bugs (e.g. in
16321# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
16322# suppresses any "Segmentation fault" message there.  '((' could
16323# trigger a bug in pdksh 5.2.14.
16324for as_var in BASH_ENV ENV MAIL MAILPATH
16325do eval test x\${$as_var+set} = xset \
16326  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
16327done
16328PS1='$ '
16329PS2='> '
16330PS4='+ '
16331
16332# NLS nuisances.
16333LC_ALL=C
16334export LC_ALL
16335LANGUAGE=C
16336export LANGUAGE
16337
16338# CDPATH.
16339(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16340
16341
16342# as_fn_error STATUS ERROR [LINENO LOG_FD]
16343# ----------------------------------------
16344# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16345# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16346# script with STATUS, using 1 if that was 0.
16347as_fn_error ()
16348{
16349  as_status=$1; test $as_status -eq 0 && as_status=1
16350  if test "$4"; then
16351    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16352    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16353  fi
16354  $as_echo "$as_me: error: $2" >&2
16355  as_fn_exit $as_status
16356} # as_fn_error
16357
16358
16359# as_fn_set_status STATUS
16360# -----------------------
16361# Set $? to STATUS, without forking.
16362as_fn_set_status ()
16363{
16364  return $1
16365} # as_fn_set_status
16366
16367# as_fn_exit STATUS
16368# -----------------
16369# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16370as_fn_exit ()
16371{
16372  set +e
16373  as_fn_set_status $1
16374  exit $1
16375} # as_fn_exit
16376
16377# as_fn_unset VAR
16378# ---------------
16379# Portably unset VAR.
16380as_fn_unset ()
16381{
16382  { eval $1=; unset $1;}
16383}
16384as_unset=as_fn_unset
16385# as_fn_append VAR VALUE
16386# ----------------------
16387# Append the text in VALUE to the end of the definition contained in VAR. Take
16388# advantage of any shell optimizations that allow amortized linear growth over
16389# repeated appends, instead of the typical quadratic growth present in naive
16390# implementations.
16391if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
16392  eval 'as_fn_append ()
16393  {
16394    eval $1+=\$2
16395  }'
16396else
16397  as_fn_append ()
16398  {
16399    eval $1=\$$1\$2
16400  }
16401fi # as_fn_append
16402
16403# as_fn_arith ARG...
16404# ------------------
16405# Perform arithmetic evaluation on the ARGs, and store the result in the
16406# global $as_val. Take advantage of shells that can avoid forks. The arguments
16407# must be portable across $(()) and expr.
16408if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
16409  eval 'as_fn_arith ()
16410  {
16411    as_val=$(( $* ))
16412  }'
16413else
16414  as_fn_arith ()
16415  {
16416    as_val=`expr "$@" || test $? -eq 1`
16417  }
16418fi # as_fn_arith
16419
16420
16421if expr a : '\(a\)' >/dev/null 2>&1 &&
16422   test "X`expr 00001 : '.*\(...\)'`" = X001; then
16423  as_expr=expr
16424else
16425  as_expr=false
16426fi
16427
16428if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16429  as_basename=basename
16430else
16431  as_basename=false
16432fi
16433
16434if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
16435  as_dirname=dirname
16436else
16437  as_dirname=false
16438fi
16439
16440as_me=`$as_basename -- "$0" ||
16441$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16442	 X"$0" : 'X\(//\)$' \| \
16443	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16444$as_echo X/"$0" |
16445    sed '/^.*\/\([^/][^/]*\)\/*$/{
16446	    s//\1/
16447	    q
16448	  }
16449	  /^X\/\(\/\/\)$/{
16450	    s//\1/
16451	    q
16452	  }
16453	  /^X\/\(\/\).*/{
16454	    s//\1/
16455	    q
16456	  }
16457	  s/.*/./; q'`
16458
16459# Avoid depending upon Character Ranges.
16460as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16461as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16462as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16463as_cr_digits='0123456789'
16464as_cr_alnum=$as_cr_Letters$as_cr_digits
16465
16466ECHO_C= ECHO_N= ECHO_T=
16467case `echo -n x` in #(((((
16468-n*)
16469  case `echo 'xy\c'` in
16470  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
16471  xy)  ECHO_C='\c';;
16472  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
16473       ECHO_T='	';;
16474  esac;;
16475*)
16476  ECHO_N='-n';;
16477esac
16478
16479rm -f conf$$ conf$$.exe conf$$.file
16480if test -d conf$$.dir; then
16481  rm -f conf$$.dir/conf$$.file
16482else
16483  rm -f conf$$.dir
16484  mkdir conf$$.dir 2>/dev/null
16485fi
16486if (echo >conf$$.file) 2>/dev/null; then
16487  if ln -s conf$$.file conf$$ 2>/dev/null; then
16488    as_ln_s='ln -s'
16489    # ... but there are two gotchas:
16490    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16491    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16492    # In both cases, we have to default to `cp -pR'.
16493    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16494      as_ln_s='cp -pR'
16495  elif ln conf$$.file conf$$ 2>/dev/null; then
16496    as_ln_s=ln
16497  else
16498    as_ln_s='cp -pR'
16499  fi
16500else
16501  as_ln_s='cp -pR'
16502fi
16503rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16504rmdir conf$$.dir 2>/dev/null
16505
16506
16507# as_fn_mkdir_p
16508# -------------
16509# Create "$as_dir" as a directory, including parents if necessary.
16510as_fn_mkdir_p ()
16511{
16512
16513  case $as_dir in #(
16514  -*) as_dir=./$as_dir;;
16515  esac
16516  test -d "$as_dir" || eval $as_mkdir_p || {
16517    as_dirs=
16518    while :; do
16519      case $as_dir in #(
16520      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16521      *) as_qdir=$as_dir;;
16522      esac
16523      as_dirs="'$as_qdir' $as_dirs"
16524      as_dir=`$as_dirname -- "$as_dir" ||
16525$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16526	 X"$as_dir" : 'X\(//\)[^/]' \| \
16527	 X"$as_dir" : 'X\(//\)$' \| \
16528	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16529$as_echo X"$as_dir" |
16530    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16531	    s//\1/
16532	    q
16533	  }
16534	  /^X\(\/\/\)[^/].*/{
16535	    s//\1/
16536	    q
16537	  }
16538	  /^X\(\/\/\)$/{
16539	    s//\1/
16540	    q
16541	  }
16542	  /^X\(\/\).*/{
16543	    s//\1/
16544	    q
16545	  }
16546	  s/.*/./; q'`
16547      test -d "$as_dir" && break
16548    done
16549    test -z "$as_dirs" || eval "mkdir $as_dirs"
16550  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
16551
16552
16553} # as_fn_mkdir_p
16554if mkdir -p . 2>/dev/null; then
16555  as_mkdir_p='mkdir -p "$as_dir"'
16556else
16557  test -d ./-p && rmdir ./-p
16558  as_mkdir_p=false
16559fi
16560
16561
16562# as_fn_executable_p FILE
16563# -----------------------
16564# Test if FILE is an executable regular file.
16565as_fn_executable_p ()
16566{
16567  test -f "$1" && test -x "$1"
16568} # as_fn_executable_p
16569as_test_x='test -x'
16570as_executable_p=as_fn_executable_p
16571
16572# Sed expression to map a string onto a valid CPP name.
16573as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16574
16575# Sed expression to map a string onto a valid variable name.
16576as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16577
16578
16579exec 6>&1
16580## ----------------------------------- ##
16581## Main body of $CONFIG_STATUS script. ##
16582## ----------------------------------- ##
16583_ASEOF
16584test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
16585
16586cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16587# Save the log message, to keep $0 and so on meaningful, and to
16588# report actual input values of CONFIG_FILES etc. instead of their
16589# values after options handling.
16590ac_log="
16591This file was extended by Notes $as_me 1.9.0, which was
16592generated by GNU Autoconf 2.69.  Invocation command line was
16593
16594  CONFIG_FILES    = $CONFIG_FILES
16595  CONFIG_HEADERS  = $CONFIG_HEADERS
16596  CONFIG_LINKS    = $CONFIG_LINKS
16597  CONFIG_COMMANDS = $CONFIG_COMMANDS
16598  $ $0 $@
16599
16600on `(hostname || uname -n) 2>/dev/null | sed 1q`
16601"
16602
16603_ACEOF
16604
16605case $ac_config_files in *"
16606"*) set x $ac_config_files; shift; ac_config_files=$*;;
16607esac
16608
16609case $ac_config_headers in *"
16610"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
16611esac
16612
16613
16614cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16615# Files that config.status was made for.
16616config_files="$ac_config_files"
16617config_headers="$ac_config_headers"
16618config_commands="$ac_config_commands"
16619
16620_ACEOF
16621
16622cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16623ac_cs_usage="\
16624\`$as_me' instantiates files and other configuration actions
16625from templates according to the current configuration.  Unless the files
16626and actions are specified as TAGs, all are instantiated by default.
16627
16628Usage: $0 [OPTION]... [TAG]...
16629
16630  -h, --help       print this help, then exit
16631  -V, --version    print version number and configuration settings, then exit
16632      --config     print configuration, then exit
16633  -q, --quiet, --silent
16634                   do not print progress messages
16635  -d, --debug      don't remove temporary files
16636      --recheck    update $as_me by reconfiguring in the same conditions
16637      --file=FILE[:TEMPLATE]
16638                   instantiate the configuration file FILE
16639      --header=FILE[:TEMPLATE]
16640                   instantiate the configuration header FILE
16641
16642Configuration files:
16643$config_files
16644
16645Configuration headers:
16646$config_headers
16647
16648Configuration commands:
16649$config_commands
16650
16651Report bugs to <https://gitlab.xfce.org/panel-plugins/xfce4-notes-plugin>.
16652Notes home page: <https://docs.xfce.org/panel-plugins/xfce4-notes-plugin>."
16653
16654_ACEOF
16655cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16656ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16657ac_cs_version="\\
16658Notes config.status 1.9.0
16659configured by $0, generated by GNU Autoconf 2.69,
16660  with options \\"\$ac_cs_config\\"
16661
16662Copyright (C) 2012 Free Software Foundation, Inc.
16663This config.status script is free software; the Free Software Foundation
16664gives unlimited permission to copy, distribute and modify it."
16665
16666ac_pwd='$ac_pwd'
16667srcdir='$srcdir'
16668INSTALL='$INSTALL'
16669MKDIR_P='$MKDIR_P'
16670AWK='$AWK'
16671test -n "\$AWK" || AWK=awk
16672_ACEOF
16673
16674cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16675# The default lists apply if the user does not specify any file.
16676ac_need_defaults=:
16677while test $# != 0
16678do
16679  case $1 in
16680  --*=?*)
16681    ac_option=`expr "X$1" : 'X\([^=]*\)='`
16682    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16683    ac_shift=:
16684    ;;
16685  --*=)
16686    ac_option=`expr "X$1" : 'X\([^=]*\)='`
16687    ac_optarg=
16688    ac_shift=:
16689    ;;
16690  *)
16691    ac_option=$1
16692    ac_optarg=$2
16693    ac_shift=shift
16694    ;;
16695  esac
16696
16697  case $ac_option in
16698  # Handling of the options.
16699  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16700    ac_cs_recheck=: ;;
16701  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16702    $as_echo "$ac_cs_version"; exit ;;
16703  --config | --confi | --conf | --con | --co | --c )
16704    $as_echo "$ac_cs_config"; exit ;;
16705  --debug | --debu | --deb | --de | --d | -d )
16706    debug=: ;;
16707  --file | --fil | --fi | --f )
16708    $ac_shift
16709    case $ac_optarg in
16710    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16711    '') as_fn_error $? "missing file argument" ;;
16712    esac
16713    as_fn_append CONFIG_FILES " '$ac_optarg'"
16714    ac_need_defaults=false;;
16715  --header | --heade | --head | --hea )
16716    $ac_shift
16717    case $ac_optarg in
16718    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16719    esac
16720    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
16721    ac_need_defaults=false;;
16722  --he | --h)
16723    # Conflict between --help and --header
16724    as_fn_error $? "ambiguous option: \`$1'
16725Try \`$0 --help' for more information.";;
16726  --help | --hel | -h )
16727    $as_echo "$ac_cs_usage"; exit ;;
16728  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16729  | -silent | --silent | --silen | --sile | --sil | --si | --s)
16730    ac_cs_silent=: ;;
16731
16732  # This is an error.
16733  -*) as_fn_error $? "unrecognized option: \`$1'
16734Try \`$0 --help' for more information." ;;
16735
16736  *) as_fn_append ac_config_targets " $1"
16737     ac_need_defaults=false ;;
16738
16739  esac
16740  shift
16741done
16742
16743ac_configure_extra_args=
16744
16745if $ac_cs_silent; then
16746  exec 6>/dev/null
16747  ac_configure_extra_args="$ac_configure_extra_args --silent"
16748fi
16749
16750_ACEOF
16751cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16752if \$ac_cs_recheck; then
16753  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16754  shift
16755  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16756  CONFIG_SHELL='$SHELL'
16757  export CONFIG_SHELL
16758  exec "\$@"
16759fi
16760
16761_ACEOF
16762cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16763exec 5>>config.log
16764{
16765  echo
16766  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16767## Running $as_me. ##
16768_ASBOX
16769  $as_echo "$ac_log"
16770} >&5
16771
16772_ACEOF
16773cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16774#
16775# INIT-COMMANDS
16776#
16777
16778
16779# The HP-UX ksh and POSIX shell print the target directory to stdout
16780# if CDPATH is set.
16781(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16782
16783sed_quote_subst='$sed_quote_subst'
16784double_quote_subst='$double_quote_subst'
16785delay_variable_subst='$delay_variable_subst'
16786macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16787macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16788enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16789enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16790pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16791enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16792shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
16793SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16794ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16795PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
16796host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16797host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16798host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16799build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16800build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16801build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16802SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16803Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16804GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16805EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16806FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16807LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16808NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16809LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16810max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16811ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16812exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16813lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16814lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16815lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16816lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
16817lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
16818reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16819reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16820OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16821deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16822file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16823file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
16824want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
16825DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
16826sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
16827AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16828AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16829archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
16830STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16831RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16832old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16833old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16834old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16835lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16836CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16837CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16838compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16839GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16840lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16841lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16842lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
16843lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16844lt_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"`'
16845lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
16846nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
16847lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
16848lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
16849objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16850MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16851lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16852lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16853lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16854lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16855lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16856need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16857MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
16858DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16859NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16860LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16861OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16862OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16863libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16864shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16865extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16866archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16867enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16868export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16869whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16870compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16871old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16872old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16873archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16874archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16875module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16876module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16877with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16878allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16879no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16880hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16881hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16882hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16883hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16884hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16885hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16886hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16887inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16888link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16889always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16890export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16891exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16892include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16893prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16894postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
16895file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16896variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16897need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16898need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16899version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16900runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16901shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16902shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16903libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16904library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16905soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16906install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16907postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16908postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16909finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16910finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16911hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16912sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16913configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
16914configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
16915hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16916enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16917enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16918enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16919old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16920striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16921
16922LTCC='$LTCC'
16923LTCFLAGS='$LTCFLAGS'
16924compiler='$compiler_DEFAULT'
16925
16926# A function that is used when there is no print builtin or printf.
16927func_fallback_echo ()
16928{
16929  eval 'cat <<_LTECHO_EOF
16930\$1
16931_LTECHO_EOF'
16932}
16933
16934# Quote evaled strings.
16935for var in SHELL \
16936ECHO \
16937PATH_SEPARATOR \
16938SED \
16939GREP \
16940EGREP \
16941FGREP \
16942LD \
16943NM \
16944LN_S \
16945lt_SP2NL \
16946lt_NL2SP \
16947reload_flag \
16948OBJDUMP \
16949deplibs_check_method \
16950file_magic_cmd \
16951file_magic_glob \
16952want_nocaseglob \
16953DLLTOOL \
16954sharedlib_from_linklib_cmd \
16955AR \
16956AR_FLAGS \
16957archiver_list_spec \
16958STRIP \
16959RANLIB \
16960CC \
16961CFLAGS \
16962compiler \
16963lt_cv_sys_global_symbol_pipe \
16964lt_cv_sys_global_symbol_to_cdecl \
16965lt_cv_sys_global_symbol_to_import \
16966lt_cv_sys_global_symbol_to_c_name_address \
16967lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16968lt_cv_nm_interface \
16969nm_file_list_spec \
16970lt_cv_truncate_bin \
16971lt_prog_compiler_no_builtin_flag \
16972lt_prog_compiler_pic \
16973lt_prog_compiler_wl \
16974lt_prog_compiler_static \
16975lt_cv_prog_compiler_c_o \
16976need_locks \
16977MANIFEST_TOOL \
16978DSYMUTIL \
16979NMEDIT \
16980LIPO \
16981OTOOL \
16982OTOOL64 \
16983shrext_cmds \
16984export_dynamic_flag_spec \
16985whole_archive_flag_spec \
16986compiler_needs_object \
16987with_gnu_ld \
16988allow_undefined_flag \
16989no_undefined_flag \
16990hardcode_libdir_flag_spec \
16991hardcode_libdir_separator \
16992exclude_expsyms \
16993include_expsyms \
16994file_list_spec \
16995variables_saved_for_relink \
16996libname_spec \
16997library_names_spec \
16998soname_spec \
16999install_override_mode \
17000finish_eval \
17001old_striplib \
17002striplib; do
17003    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17004    *[\\\\\\\`\\"\\\$]*)
17005      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
17006      ;;
17007    *)
17008      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17009      ;;
17010    esac
17011done
17012
17013# Double-quote double-evaled strings.
17014for var in reload_cmds \
17015old_postinstall_cmds \
17016old_postuninstall_cmds \
17017old_archive_cmds \
17018extract_expsyms_cmds \
17019old_archive_from_new_cmds \
17020old_archive_from_expsyms_cmds \
17021archive_cmds \
17022archive_expsym_cmds \
17023module_cmds \
17024module_expsym_cmds \
17025export_symbols_cmds \
17026prelink_cmds \
17027postlink_cmds \
17028postinstall_cmds \
17029postuninstall_cmds \
17030finish_cmds \
17031sys_lib_search_path_spec \
17032configure_time_dlsearch_path \
17033configure_time_lt_sys_library_path; do
17034    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17035    *[\\\\\\\`\\"\\\$]*)
17036      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
17037      ;;
17038    *)
17039      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17040      ;;
17041    esac
17042done
17043
17044ac_aux_dir='$ac_aux_dir'
17045
17046# See if we are running on zsh, and set the options that allow our
17047# commands through without removal of \ escapes INIT.
17048if test -n "\${ZSH_VERSION+set}"; then
17049   setopt NO_GLOB_SUBST
17050fi
17051
17052
17053    PACKAGE='$PACKAGE'
17054    VERSION='$VERSION'
17055    RM='$RM'
17056    ofile='$ofile'
17057
17058
17059
17060AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
17061
17062
17063_ACEOF
17064
17065cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17066
17067# Handling of arguments.
17068for ac_config_target in $ac_config_targets
17069do
17070  case $ac_config_target in
17071    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
17072    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
17073    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
17074    "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
17075    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
17076    "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
17077    "data/gtk-3.0/Makefile") CONFIG_FILES="$CONFIG_FILES data/gtk-3.0/Makefile" ;;
17078    "data/icons/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/Makefile" ;;
17079    "data/icons/16x16/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/16x16/Makefile" ;;
17080    "data/icons/22x22/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/22x22/Makefile" ;;
17081    "data/icons/24x24/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/24x24/Makefile" ;;
17082    "data/icons/32x32/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/32x32/Makefile" ;;
17083    "data/icons/scalable/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/scalable/Makefile" ;;
17084    "data/pixmaps/Makefile") CONFIG_FILES="$CONFIG_FILES data/pixmaps/Makefile" ;;
17085    "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
17086    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
17087    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
17088    "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
17089
17090  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17091  esac
17092done
17093
17094
17095# If the user did not use the arguments to specify the items to instantiate,
17096# then the envvar interface is used.  Set only those that are not.
17097# We use the long form for the default assignment because of an extremely
17098# bizarre bug on SunOS 4.1.3.
17099if $ac_need_defaults; then
17100  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
17101  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
17102  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
17103fi
17104
17105# Have a temporary directory for convenience.  Make it in the build tree
17106# simply because there is no reason against having it here, and in addition,
17107# creating and moving files from /tmp can sometimes cause problems.
17108# Hook for its removal unless debugging.
17109# Note that there is a small window in which the directory will not be cleaned:
17110# after its creation but before its name has been assigned to `$tmp'.
17111$debug ||
17112{
17113  tmp= ac_tmp=
17114  trap 'exit_status=$?
17115  : "${ac_tmp:=$tmp}"
17116  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
17117' 0
17118  trap 'as_fn_exit 1' 1 2 13 15
17119}
17120# Create a (secure) tmp directory for tmp files.
17121
17122{
17123  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17124  test -d "$tmp"
17125}  ||
17126{
17127  tmp=./conf$$-$RANDOM
17128  (umask 077 && mkdir "$tmp")
17129} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
17130ac_tmp=$tmp
17131
17132# Set up the scripts for CONFIG_FILES section.
17133# No need to generate them if there are no CONFIG_FILES.
17134# This happens for instance with `./config.status config.h'.
17135if test -n "$CONFIG_FILES"; then
17136
17137
17138ac_cr=`echo X | tr X '\015'`
17139# On cygwin, bash can eat \r inside `` if the user requested igncr.
17140# But we know of no other shell where ac_cr would be empty at this
17141# point, so we can use a bashism as a fallback.
17142if test "x$ac_cr" = x; then
17143  eval ac_cr=\$\'\\r\'
17144fi
17145ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17146if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17147  ac_cs_awk_cr='\\r'
17148else
17149  ac_cs_awk_cr=$ac_cr
17150fi
17151
17152echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
17153_ACEOF
17154
17155
17156{
17157  echo "cat >conf$$subs.awk <<_ACEOF" &&
17158  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17159  echo "_ACEOF"
17160} >conf$$subs.sh ||
17161  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17162ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17163ac_delim='%!_!# '
17164for ac_last_try in false false false false false :; do
17165  . ./conf$$subs.sh ||
17166    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17167
17168  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
17169  if test $ac_delim_n = $ac_delim_num; then
17170    break
17171  elif $ac_last_try; then
17172    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17173  else
17174    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17175  fi
17176done
17177rm -f conf$$subs.sh
17178
17179cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17180cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
17181_ACEOF
17182sed -n '
17183h
17184s/^/S["/; s/!.*/"]=/
17185p
17186g
17187s/^[^!]*!//
17188:repl
17189t repl
17190s/'"$ac_delim"'$//
17191t delim
17192:nl
17193h
17194s/\(.\{148\}\)..*/\1/
17195t more1
17196s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
17197p
17198n
17199b repl
17200:more1
17201s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17202p
17203g
17204s/.\{148\}//
17205t nl
17206:delim
17207h
17208s/\(.\{148\}\)..*/\1/
17209t more2
17210s/["\\]/\\&/g; s/^/"/; s/$/"/
17211p
17212b
17213:more2
17214s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17215p
17216g
17217s/.\{148\}//
17218t delim
17219' <conf$$subs.awk | sed '
17220/^[^""]/{
17221  N
17222  s/\n//
17223}
17224' >>$CONFIG_STATUS || ac_write_fail=1
17225rm -f conf$$subs.awk
17226cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17227_ACAWK
17228cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
17229  for (key in S) S_is_set[key] = 1
17230  FS = ""
17231
17232}
17233{
17234  line = $ 0
17235  nfields = split(line, field, "@")
17236  substed = 0
17237  len = length(field[1])
17238  for (i = 2; i < nfields; i++) {
17239    key = field[i]
17240    keylen = length(key)
17241    if (S_is_set[key]) {
17242      value = S[key]
17243      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17244      len += length(value) + length(field[++i])
17245      substed = 1
17246    } else
17247      len += 1 + keylen
17248  }
17249
17250  print line
17251}
17252
17253_ACAWK
17254_ACEOF
17255cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17256if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17257  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
17258else
17259  cat
17260fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
17261  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
17262_ACEOF
17263
17264# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17265# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
17266# trailing colons and then remove the whole line if VPATH becomes empty
17267# (actually we leave an empty line to preserve line numbers).
17268if test "x$srcdir" = x.; then
17269  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
17270h
17271s///
17272s/^/:/
17273s/[	 ]*$/:/
17274s/:\$(srcdir):/:/g
17275s/:\${srcdir}:/:/g
17276s/:@srcdir@:/:/g
17277s/^:*//
17278s/:*$//
17279x
17280s/\(=[	 ]*\).*/\1/
17281G
17282s/\n//
17283s/^[^=]*=[	 ]*$//
17284}'
17285fi
17286
17287cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17288fi # test -n "$CONFIG_FILES"
17289
17290# Set up the scripts for CONFIG_HEADERS section.
17291# No need to generate them if there are no CONFIG_HEADERS.
17292# This happens for instance with `./config.status Makefile'.
17293if test -n "$CONFIG_HEADERS"; then
17294cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
17295BEGIN {
17296_ACEOF
17297
17298# Transform confdefs.h into an awk script `defines.awk', embedded as
17299# here-document in config.status, that substitutes the proper values into
17300# config.h.in to produce config.h.
17301
17302# Create a delimiter string that does not exist in confdefs.h, to ease
17303# handling of long lines.
17304ac_delim='%!_!# '
17305for ac_last_try in false false :; do
17306  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
17307  if test -z "$ac_tt"; then
17308    break
17309  elif $ac_last_try; then
17310    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
17311  else
17312    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17313  fi
17314done
17315
17316# For the awk script, D is an array of macro values keyed by name,
17317# likewise P contains macro parameters if any.  Preserve backslash
17318# newline sequences.
17319
17320ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17321sed -n '
17322s/.\{148\}/&'"$ac_delim"'/g
17323t rset
17324:rset
17325s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
17326t def
17327d
17328:def
17329s/\\$//
17330t bsnl
17331s/["\\]/\\&/g
17332s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
17333D["\1"]=" \3"/p
17334s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
17335d
17336:bsnl
17337s/["\\]/\\&/g
17338s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
17339D["\1"]=" \3\\\\\\n"\\/p
17340t cont
17341s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
17342t cont
17343d
17344:cont
17345n
17346s/.\{148\}/&'"$ac_delim"'/g
17347t clear
17348:clear
17349s/\\$//
17350t bsnlc
17351s/["\\]/\\&/g; s/^/"/; s/$/"/p
17352d
17353:bsnlc
17354s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
17355b cont
17356' <confdefs.h | sed '
17357s/'"$ac_delim"'/"\\\
17358"/g' >>$CONFIG_STATUS || ac_write_fail=1
17359
17360cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17361  for (key in D) D_is_set[key] = 1
17362  FS = ""
17363}
17364/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17365  line = \$ 0
17366  split(line, arg, " ")
17367  if (arg[1] == "#") {
17368    defundef = arg[2]
17369    mac1 = arg[3]
17370  } else {
17371    defundef = substr(arg[1], 2)
17372    mac1 = arg[2]
17373  }
17374  split(mac1, mac2, "(") #)
17375  macro = mac2[1]
17376  prefix = substr(line, 1, index(line, defundef) - 1)
17377  if (D_is_set[macro]) {
17378    # Preserve the white space surrounding the "#".
17379    print prefix "define", macro P[macro] D[macro]
17380    next
17381  } else {
17382    # Replace #undef with comments.  This is necessary, for example,
17383    # in the case of _POSIX_SOURCE, which is predefined and required
17384    # on some systems where configure will not decide to define it.
17385    if (defundef == "undef") {
17386      print "/*", prefix defundef, macro, "*/"
17387      next
17388    }
17389  }
17390}
17391{ print }
17392_ACAWK
17393_ACEOF
17394cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17395  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
17396fi # test -n "$CONFIG_HEADERS"
17397
17398
17399eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
17400shift
17401for ac_tag
17402do
17403  case $ac_tag in
17404  :[FHLC]) ac_mode=$ac_tag; continue;;
17405  esac
17406  case $ac_mode$ac_tag in
17407  :[FHL]*:*);;
17408  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
17409  :[FH]-) ac_tag=-:-;;
17410  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
17411  esac
17412  ac_save_IFS=$IFS
17413  IFS=:
17414  set x $ac_tag
17415  IFS=$ac_save_IFS
17416  shift
17417  ac_file=$1
17418  shift
17419
17420  case $ac_mode in
17421  :L) ac_source=$1;;
17422  :[FH])
17423    ac_file_inputs=
17424    for ac_f
17425    do
17426      case $ac_f in
17427      -) ac_f="$ac_tmp/stdin";;
17428      *) # Look for the file first in the build tree, then in the source tree
17429	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
17430	 # because $ac_f cannot contain `:'.
17431	 test -f "$ac_f" ||
17432	   case $ac_f in
17433	   [\\/$]*) false;;
17434	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
17435	   esac ||
17436	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17437      esac
17438      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17439      as_fn_append ac_file_inputs " '$ac_f'"
17440    done
17441
17442    # Let's still pretend it is `configure' which instantiates (i.e., don't
17443    # use $as_me), people would be surprised to read:
17444    #    /* config.h.  Generated by config.status.  */
17445    configure_input='Generated from '`
17446	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17447	`' by configure.'
17448    if test x"$ac_file" != x-; then
17449      configure_input="$ac_file.  $configure_input"
17450      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17451$as_echo "$as_me: creating $ac_file" >&6;}
17452    fi
17453    # Neutralize special characters interpreted by sed in replacement strings.
17454    case $configure_input in #(
17455    *\&* | *\|* | *\\* )
17456       ac_sed_conf_input=`$as_echo "$configure_input" |
17457       sed 's/[\\\\&|]/\\\\&/g'`;; #(
17458    *) ac_sed_conf_input=$configure_input;;
17459    esac
17460
17461    case $ac_tag in
17462    *:-:* | *:-) cat >"$ac_tmp/stdin" \
17463      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
17464    esac
17465    ;;
17466  esac
17467
17468  ac_dir=`$as_dirname -- "$ac_file" ||
17469$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17470	 X"$ac_file" : 'X\(//\)[^/]' \| \
17471	 X"$ac_file" : 'X\(//\)$' \| \
17472	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17473$as_echo X"$ac_file" |
17474    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17475	    s//\1/
17476	    q
17477	  }
17478	  /^X\(\/\/\)[^/].*/{
17479	    s//\1/
17480	    q
17481	  }
17482	  /^X\(\/\/\)$/{
17483	    s//\1/
17484	    q
17485	  }
17486	  /^X\(\/\).*/{
17487	    s//\1/
17488	    q
17489	  }
17490	  s/.*/./; q'`
17491  as_dir="$ac_dir"; as_fn_mkdir_p
17492  ac_builddir=.
17493
17494case "$ac_dir" in
17495.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
17496*)
17497  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17498  # A ".." for each directory in $ac_dir_suffix.
17499  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17500  case $ac_top_builddir_sub in
17501  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
17502  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
17503  esac ;;
17504esac
17505ac_abs_top_builddir=$ac_pwd
17506ac_abs_builddir=$ac_pwd$ac_dir_suffix
17507# for backward compatibility:
17508ac_top_builddir=$ac_top_build_prefix
17509
17510case $srcdir in
17511  .)  # We are building in place.
17512    ac_srcdir=.
17513    ac_top_srcdir=$ac_top_builddir_sub
17514    ac_abs_top_srcdir=$ac_pwd ;;
17515  [\\/]* | ?:[\\/]* )  # Absolute name.
17516    ac_srcdir=$srcdir$ac_dir_suffix;
17517    ac_top_srcdir=$srcdir
17518    ac_abs_top_srcdir=$srcdir ;;
17519  *) # Relative name.
17520    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
17521    ac_top_srcdir=$ac_top_build_prefix$srcdir
17522    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
17523esac
17524ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
17525
17526
17527  case $ac_mode in
17528  :F)
17529  #
17530  # CONFIG_FILE
17531  #
17532
17533  case $INSTALL in
17534  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
17535  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
17536  esac
17537  ac_MKDIR_P=$MKDIR_P
17538  case $MKDIR_P in
17539  [\\/$]* | ?:[\\/]* ) ;;
17540  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
17541  esac
17542_ACEOF
17543
17544cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17545# If the template does not know about datarootdir, expand it.
17546# FIXME: This hack should be removed a few years after 2.60.
17547ac_datarootdir_hack=; ac_datarootdir_seen=
17548ac_sed_dataroot='
17549/datarootdir/ {
17550  p
17551  q
17552}
17553/@datadir@/p
17554/@docdir@/p
17555/@infodir@/p
17556/@localedir@/p
17557/@mandir@/p'
17558case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17559*datarootdir*) ac_datarootdir_seen=yes;;
17560*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
17561  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17562$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17563_ACEOF
17564cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17565  ac_datarootdir_hack='
17566  s&@datadir@&$datadir&g
17567  s&@docdir@&$docdir&g
17568  s&@infodir@&$infodir&g
17569  s&@localedir@&$localedir&g
17570  s&@mandir@&$mandir&g
17571  s&\\\${datarootdir}&$datarootdir&g' ;;
17572esac
17573_ACEOF
17574
17575# Neutralize VPATH when `$srcdir' = `.'.
17576# Shell code in configure.ac might set extrasub.
17577# FIXME: do we really want to maintain this feature?
17578cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17579ac_sed_extra="$ac_vpsub
17580$extrasub
17581_ACEOF
17582cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17583:t
17584/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
17585s|@configure_input@|$ac_sed_conf_input|;t t
17586s&@top_builddir@&$ac_top_builddir_sub&;t t
17587s&@top_build_prefix@&$ac_top_build_prefix&;t t
17588s&@srcdir@&$ac_srcdir&;t t
17589s&@abs_srcdir@&$ac_abs_srcdir&;t t
17590s&@top_srcdir@&$ac_top_srcdir&;t t
17591s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
17592s&@builddir@&$ac_builddir&;t t
17593s&@abs_builddir@&$ac_abs_builddir&;t t
17594s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
17595s&@INSTALL@&$ac_INSTALL&;t t
17596s&@MKDIR_P@&$ac_MKDIR_P&;t t
17597$ac_datarootdir_hack
17598"
17599eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
17600  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17601
17602test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17603  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
17604  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
17605      "$ac_tmp/out"`; test -z "$ac_out"; } &&
17606  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17607which seems to be undefined.  Please make sure it is defined" >&5
17608$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17609which seems to be undefined.  Please make sure it is defined" >&2;}
17610
17611  rm -f "$ac_tmp/stdin"
17612  case $ac_file in
17613  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17614  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17615  esac \
17616  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17617 ;;
17618  :H)
17619  #
17620  # CONFIG_HEADER
17621  #
17622  if test x"$ac_file" != x-; then
17623    {
17624      $as_echo "/* $configure_input  */" \
17625      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
17626    } >"$ac_tmp/config.h" \
17627      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17628    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
17629      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17630$as_echo "$as_me: $ac_file is unchanged" >&6;}
17631    else
17632      rm -f "$ac_file"
17633      mv "$ac_tmp/config.h" "$ac_file" \
17634	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
17635    fi
17636  else
17637    $as_echo "/* $configure_input  */" \
17638      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
17639      || as_fn_error $? "could not create -" "$LINENO" 5
17640  fi
17641# Compute "$ac_file"'s index in $config_headers.
17642_am_arg="$ac_file"
17643_am_stamp_count=1
17644for _am_header in $config_headers :; do
17645  case $_am_header in
17646    $_am_arg | $_am_arg:* )
17647      break ;;
17648    * )
17649      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
17650  esac
17651done
17652echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17653$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17654	 X"$_am_arg" : 'X\(//\)[^/]' \| \
17655	 X"$_am_arg" : 'X\(//\)$' \| \
17656	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17657$as_echo X"$_am_arg" |
17658    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17659	    s//\1/
17660	    q
17661	  }
17662	  /^X\(\/\/\)[^/].*/{
17663	    s//\1/
17664	    q
17665	  }
17666	  /^X\(\/\/\)$/{
17667	    s//\1/
17668	    q
17669	  }
17670	  /^X\(\/\).*/{
17671	    s//\1/
17672	    q
17673	  }
17674	  s/.*/./; q'`/stamp-h$_am_stamp_count
17675 ;;
17676
17677  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17678$as_echo "$as_me: executing $ac_file commands" >&6;}
17679 ;;
17680  esac
17681
17682
17683  case $ac_file$ac_mode in
17684    "libtool":C)
17685
17686    # See if we are running on zsh, and set the options that allow our
17687    # commands through without removal of \ escapes.
17688    if test -n "${ZSH_VERSION+set}"; then
17689      setopt NO_GLOB_SUBST
17690    fi
17691
17692    cfgfile=${ofile}T
17693    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17694    $RM "$cfgfile"
17695
17696    cat <<_LT_EOF >> "$cfgfile"
17697#! $SHELL
17698# Generated automatically by $as_me ($PACKAGE) $VERSION
17699# NOTE: Changes made to this file will be lost: look at ltmain.sh.
17700
17701# Provide generalized library-building support services.
17702# Written by Gordon Matzigkeit, 1996
17703
17704# Copyright (C) 2014 Free Software Foundation, Inc.
17705# This is free software; see the source for copying conditions.  There is NO
17706# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
17707
17708# GNU Libtool is free software; you can redistribute it and/or modify
17709# it under the terms of the GNU General Public License as published by
17710# the Free Software Foundation; either version 2 of of the License, or
17711# (at your option) any later version.
17712#
17713# As a special exception to the GNU General Public License, if you
17714# distribute this file as part of a program or library that is built
17715# using GNU Libtool, you may include this file under the  same
17716# distribution terms that you use for the rest of that program.
17717#
17718# GNU Libtool is distributed in the hope that it will be useful, but
17719# WITHOUT ANY WARRANTY; without even the implied warranty of
17720# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17721# GNU General Public License for more details.
17722#
17723# You should have received a copy of the GNU General Public License
17724# along with this program.  If not, see <http://www.gnu.org/licenses/>.
17725
17726
17727# The names of the tagged configurations supported by this script.
17728available_tags=''
17729
17730# Configured defaults for sys_lib_dlsearch_path munging.
17731: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
17732
17733# ### BEGIN LIBTOOL CONFIG
17734
17735# Which release of libtool.m4 was used?
17736macro_version=$macro_version
17737macro_revision=$macro_revision
17738
17739# Whether or not to build static libraries.
17740build_old_libs=$enable_static
17741
17742# Whether or not to build shared libraries.
17743build_libtool_libs=$enable_shared
17744
17745# What type of objects to build.
17746pic_mode=$pic_mode
17747
17748# Whether or not to optimize for fast installation.
17749fast_install=$enable_fast_install
17750
17751# Shared archive member basename,for filename based shared library versioning on AIX.
17752shared_archive_member_spec=$shared_archive_member_spec
17753
17754# Shell to use when invoking shell scripts.
17755SHELL=$lt_SHELL
17756
17757# An echo program that protects backslashes.
17758ECHO=$lt_ECHO
17759
17760# The PATH separator for the build system.
17761PATH_SEPARATOR=$lt_PATH_SEPARATOR
17762
17763# The host system.
17764host_alias=$host_alias
17765host=$host
17766host_os=$host_os
17767
17768# The build system.
17769build_alias=$build_alias
17770build=$build
17771build_os=$build_os
17772
17773# A sed program that does not truncate output.
17774SED=$lt_SED
17775
17776# Sed that helps us avoid accidentally triggering echo(1) options like -n.
17777Xsed="\$SED -e 1s/^X//"
17778
17779# A grep program that handles long lines.
17780GREP=$lt_GREP
17781
17782# An ERE matcher.
17783EGREP=$lt_EGREP
17784
17785# A literal string matcher.
17786FGREP=$lt_FGREP
17787
17788# A BSD- or MS-compatible name lister.
17789NM=$lt_NM
17790
17791# Whether we need soft or hard links.
17792LN_S=$lt_LN_S
17793
17794# What is the maximum length of a command?
17795max_cmd_len=$max_cmd_len
17796
17797# Object file suffix (normally "o").
17798objext=$ac_objext
17799
17800# Executable file suffix (normally "").
17801exeext=$exeext
17802
17803# whether the shell understands "unset".
17804lt_unset=$lt_unset
17805
17806# turn spaces into newlines.
17807SP2NL=$lt_lt_SP2NL
17808
17809# turn newlines into spaces.
17810NL2SP=$lt_lt_NL2SP
17811
17812# convert \$build file names to \$host format.
17813to_host_file_cmd=$lt_cv_to_host_file_cmd
17814
17815# convert \$build files to toolchain format.
17816to_tool_file_cmd=$lt_cv_to_tool_file_cmd
17817
17818# An object symbol dumper.
17819OBJDUMP=$lt_OBJDUMP
17820
17821# Method to check whether dependent libraries are shared objects.
17822deplibs_check_method=$lt_deplibs_check_method
17823
17824# Command to use when deplibs_check_method = "file_magic".
17825file_magic_cmd=$lt_file_magic_cmd
17826
17827# How to find potential files when deplibs_check_method = "file_magic".
17828file_magic_glob=$lt_file_magic_glob
17829
17830# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
17831want_nocaseglob=$lt_want_nocaseglob
17832
17833# DLL creation program.
17834DLLTOOL=$lt_DLLTOOL
17835
17836# Command to associate shared and link libraries.
17837sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
17838
17839# The archiver.
17840AR=$lt_AR
17841
17842# Flags to create an archive.
17843AR_FLAGS=$lt_AR_FLAGS
17844
17845# How to feed a file listing to the archiver.
17846archiver_list_spec=$lt_archiver_list_spec
17847
17848# A symbol stripping program.
17849STRIP=$lt_STRIP
17850
17851# Commands used to install an old-style archive.
17852RANLIB=$lt_RANLIB
17853old_postinstall_cmds=$lt_old_postinstall_cmds
17854old_postuninstall_cmds=$lt_old_postuninstall_cmds
17855
17856# Whether to use a lock for old archive extraction.
17857lock_old_archive_extraction=$lock_old_archive_extraction
17858
17859# A C compiler.
17860LTCC=$lt_CC
17861
17862# LTCC compiler flags.
17863LTCFLAGS=$lt_CFLAGS
17864
17865# Take the output of nm and produce a listing of raw symbols and C names.
17866global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17867
17868# Transform the output of nm in a proper C declaration.
17869global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17870
17871# Transform the output of nm into a list of symbols to manually relocate.
17872global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
17873
17874# Transform the output of nm in a C name address pair.
17875global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17876
17877# Transform the output of nm in a C name address pair when lib prefix is needed.
17878global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17879
17880# The name lister interface.
17881nm_interface=$lt_lt_cv_nm_interface
17882
17883# Specify filename containing input files for \$NM.
17884nm_file_list_spec=$lt_nm_file_list_spec
17885
17886# The root where to search for dependent libraries,and where our libraries should be installed.
17887lt_sysroot=$lt_sysroot
17888
17889# Command to truncate a binary pipe.
17890lt_truncate_bin=$lt_lt_cv_truncate_bin
17891
17892# The name of the directory that contains temporary libtool files.
17893objdir=$objdir
17894
17895# Used to examine libraries when file_magic_cmd begins with "file".
17896MAGIC_CMD=$MAGIC_CMD
17897
17898# Must we lock files when doing compilation?
17899need_locks=$lt_need_locks
17900
17901# Manifest tool.
17902MANIFEST_TOOL=$lt_MANIFEST_TOOL
17903
17904# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17905DSYMUTIL=$lt_DSYMUTIL
17906
17907# Tool to change global to local symbols on Mac OS X.
17908NMEDIT=$lt_NMEDIT
17909
17910# Tool to manipulate fat objects and archives on Mac OS X.
17911LIPO=$lt_LIPO
17912
17913# ldd/readelf like tool for Mach-O binaries on Mac OS X.
17914OTOOL=$lt_OTOOL
17915
17916# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17917OTOOL64=$lt_OTOOL64
17918
17919# Old archive suffix (normally "a").
17920libext=$libext
17921
17922# Shared library suffix (normally ".so").
17923shrext_cmds=$lt_shrext_cmds
17924
17925# The commands to extract the exported symbol list from a shared archive.
17926extract_expsyms_cmds=$lt_extract_expsyms_cmds
17927
17928# Variables whose values should be saved in libtool wrapper scripts and
17929# restored at link time.
17930variables_saved_for_relink=$lt_variables_saved_for_relink
17931
17932# Do we need the "lib" prefix for modules?
17933need_lib_prefix=$need_lib_prefix
17934
17935# Do we need a version for libraries?
17936need_version=$need_version
17937
17938# Library versioning type.
17939version_type=$version_type
17940
17941# Shared library runtime path variable.
17942runpath_var=$runpath_var
17943
17944# Shared library path variable.
17945shlibpath_var=$shlibpath_var
17946
17947# Is shlibpath searched before the hard-coded library search path?
17948shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17949
17950# Format of library name prefix.
17951libname_spec=$lt_libname_spec
17952
17953# List of archive names.  First name is the real one, the rest are links.
17954# The last name is the one that the linker finds with -lNAME
17955library_names_spec=$lt_library_names_spec
17956
17957# The coded name of the library, if different from the real name.
17958soname_spec=$lt_soname_spec
17959
17960# Permission mode override for installation of shared libraries.
17961install_override_mode=$lt_install_override_mode
17962
17963# Command to use after installation of a shared archive.
17964postinstall_cmds=$lt_postinstall_cmds
17965
17966# Command to use after uninstallation of a shared archive.
17967postuninstall_cmds=$lt_postuninstall_cmds
17968
17969# Commands used to finish a libtool library installation in a directory.
17970finish_cmds=$lt_finish_cmds
17971
17972# As "finish_cmds", except a single script fragment to be evaled but
17973# not shown.
17974finish_eval=$lt_finish_eval
17975
17976# Whether we should hardcode library paths into libraries.
17977hardcode_into_libs=$hardcode_into_libs
17978
17979# Compile-time system search path for libraries.
17980sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17981
17982# Detected run-time system search path for libraries.
17983sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
17984
17985# Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
17986configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
17987
17988# Whether dlopen is supported.
17989dlopen_support=$enable_dlopen
17990
17991# Whether dlopen of programs is supported.
17992dlopen_self=$enable_dlopen_self
17993
17994# Whether dlopen of statically linked programs is supported.
17995dlopen_self_static=$enable_dlopen_self_static
17996
17997# Commands to strip libraries.
17998old_striplib=$lt_old_striplib
17999striplib=$lt_striplib
18000
18001
18002# The linker used to build libraries.
18003LD=$lt_LD
18004
18005# How to create reloadable object files.
18006reload_flag=$lt_reload_flag
18007reload_cmds=$lt_reload_cmds
18008
18009# Commands used to build an old-style archive.
18010old_archive_cmds=$lt_old_archive_cmds
18011
18012# A language specific compiler.
18013CC=$lt_compiler
18014
18015# Is the compiler the GNU compiler?
18016with_gcc=$GCC
18017
18018# Compiler flag to turn off builtin functions.
18019no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18020
18021# Additional compiler flags for building library objects.
18022pic_flag=$lt_lt_prog_compiler_pic
18023
18024# How to pass a linker flag through the compiler.
18025wl=$lt_lt_prog_compiler_wl
18026
18027# Compiler flag to prevent dynamic linking.
18028link_static_flag=$lt_lt_prog_compiler_static
18029
18030# Does compiler simultaneously support -c and -o options?
18031compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18032
18033# Whether or not to add -lc for building shared libraries.
18034build_libtool_need_lc=$archive_cmds_need_lc
18035
18036# Whether or not to disallow shared libs when runtime libs are static.
18037allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18038
18039# Compiler flag to allow reflexive dlopens.
18040export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18041
18042# Compiler flag to generate shared objects directly from archives.
18043whole_archive_flag_spec=$lt_whole_archive_flag_spec
18044
18045# Whether the compiler copes with passing no objects directly.
18046compiler_needs_object=$lt_compiler_needs_object
18047
18048# Create an old-style archive from a shared archive.
18049old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18050
18051# Create a temporary old-style archive to link instead of a shared archive.
18052old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18053
18054# Commands used to build a shared archive.
18055archive_cmds=$lt_archive_cmds
18056archive_expsym_cmds=$lt_archive_expsym_cmds
18057
18058# Commands used to build a loadable module if different from building
18059# a shared archive.
18060module_cmds=$lt_module_cmds
18061module_expsym_cmds=$lt_module_expsym_cmds
18062
18063# Whether we are building with GNU ld or not.
18064with_gnu_ld=$lt_with_gnu_ld
18065
18066# Flag that allows shared libraries with undefined symbols to be built.
18067allow_undefined_flag=$lt_allow_undefined_flag
18068
18069# Flag that enforces no undefined symbols.
18070no_undefined_flag=$lt_no_undefined_flag
18071
18072# Flag to hardcode \$libdir into a binary during linking.
18073# This must work even if \$libdir does not exist
18074hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18075
18076# Whether we need a single "-rpath" flag with a separated argument.
18077hardcode_libdir_separator=$lt_hardcode_libdir_separator
18078
18079# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
18080# DIR into the resulting binary.
18081hardcode_direct=$hardcode_direct
18082
18083# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
18084# DIR into the resulting binary and the resulting library dependency is
18085# "absolute",i.e impossible to change by setting \$shlibpath_var if the
18086# library is relocated.
18087hardcode_direct_absolute=$hardcode_direct_absolute
18088
18089# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18090# into the resulting binary.
18091hardcode_minus_L=$hardcode_minus_L
18092
18093# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18094# into the resulting binary.
18095hardcode_shlibpath_var=$hardcode_shlibpath_var
18096
18097# Set to "yes" if building a shared library automatically hardcodes DIR
18098# into the library and all subsequent libraries and executables linked
18099# against it.
18100hardcode_automatic=$hardcode_automatic
18101
18102# Set to yes if linker adds runtime paths of dependent libraries
18103# to runtime path list.
18104inherit_rpath=$inherit_rpath
18105
18106# Whether libtool must link a program against all its dependency libraries.
18107link_all_deplibs=$link_all_deplibs
18108
18109# Set to "yes" if exported symbols are required.
18110always_export_symbols=$always_export_symbols
18111
18112# The commands to list exported symbols.
18113export_symbols_cmds=$lt_export_symbols_cmds
18114
18115# Symbols that should not be listed in the preloaded symbols.
18116exclude_expsyms=$lt_exclude_expsyms
18117
18118# Symbols that must always be exported.
18119include_expsyms=$lt_include_expsyms
18120
18121# Commands necessary for linking programs (against libraries) with templates.
18122prelink_cmds=$lt_prelink_cmds
18123
18124# Commands necessary for finishing linking programs.
18125postlink_cmds=$lt_postlink_cmds
18126
18127# Specify filename containing input files.
18128file_list_spec=$lt_file_list_spec
18129
18130# How to hardcode a shared library path into an executable.
18131hardcode_action=$hardcode_action
18132
18133# ### END LIBTOOL CONFIG
18134
18135_LT_EOF
18136
18137    cat <<'_LT_EOF' >> "$cfgfile"
18138
18139# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
18140
18141# func_munge_path_list VARIABLE PATH
18142# -----------------------------------
18143# VARIABLE is name of variable containing _space_ separated list of
18144# directories to be munged by the contents of PATH, which is string
18145# having a format:
18146# "DIR[:DIR]:"
18147#       string "DIR[ DIR]" will be prepended to VARIABLE
18148# ":DIR[:DIR]"
18149#       string "DIR[ DIR]" will be appended to VARIABLE
18150# "DIRP[:DIRP]::[DIRA:]DIRA"
18151#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
18152#       "DIRA[ DIRA]" will be appended to VARIABLE
18153# "DIR[:DIR]"
18154#       VARIABLE will be replaced by "DIR[ DIR]"
18155func_munge_path_list ()
18156{
18157    case x$2 in
18158    x)
18159        ;;
18160    *:)
18161        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
18162        ;;
18163    x:*)
18164        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
18165        ;;
18166    *::*)
18167        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
18168        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
18169        ;;
18170    *)
18171        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
18172        ;;
18173    esac
18174}
18175
18176
18177# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
18178func_cc_basename ()
18179{
18180    for cc_temp in $*""; do
18181      case $cc_temp in
18182        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
18183        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
18184        \-*) ;;
18185        *) break;;
18186      esac
18187    done
18188    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
18189}
18190
18191
18192# ### END FUNCTIONS SHARED WITH CONFIGURE
18193
18194_LT_EOF
18195
18196  case $host_os in
18197  aix3*)
18198    cat <<\_LT_EOF >> "$cfgfile"
18199# AIX sometimes has problems with the GCC collect2 program.  For some
18200# reason, if we set the COLLECT_NAMES environment variable, the problems
18201# vanish in a puff of smoke.
18202if test set != "${COLLECT_NAMES+set}"; then
18203  COLLECT_NAMES=
18204  export COLLECT_NAMES
18205fi
18206_LT_EOF
18207    ;;
18208  esac
18209
18210
18211ltmain=$ac_aux_dir/ltmain.sh
18212
18213
18214  # We use sed instead of cat because bash on DJGPP gets confused if
18215  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
18216  # text mode, it properly converts lines to CR/LF.  This bash problem
18217  # is reportedly fixed, but why not run on old versions too?
18218  sed '$q' "$ltmain" >> "$cfgfile" \
18219     || (rm -f "$cfgfile"; exit 1)
18220
18221   mv -f "$cfgfile" "$ofile" ||
18222    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18223  chmod +x "$ofile"
18224
18225 ;;
18226    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
18227  # Older Autoconf quotes --file arguments for eval, but not when files
18228  # are listed without --file.  Let's play safe and only enable the eval
18229  # if we detect the quoting.
18230  # TODO: see whether this extra hack can be removed once we start
18231  # requiring Autoconf 2.70 or later.
18232  case $CONFIG_FILES in #(
18233  *\'*) :
18234    eval set x "$CONFIG_FILES" ;; #(
18235  *) :
18236    set x $CONFIG_FILES ;; #(
18237  *) :
18238     ;;
18239esac
18240  shift
18241  # Used to flag and report bootstrapping failures.
18242  am_rc=0
18243  for am_mf
18244  do
18245    # Strip MF so we end up with the name of the file.
18246    am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
18247    # Check whether this is an Automake generated Makefile which includes
18248    # dependency-tracking related rules and includes.
18249    # Grep'ing the whole file directly is not great: AIX grep has a line
18250    # limit of 2048, but all sed's we know have understand at least 4000.
18251    sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
18252      || continue
18253    am_dirpart=`$as_dirname -- "$am_mf" ||
18254$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18255	 X"$am_mf" : 'X\(//\)[^/]' \| \
18256	 X"$am_mf" : 'X\(//\)$' \| \
18257	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
18258$as_echo X"$am_mf" |
18259    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18260	    s//\1/
18261	    q
18262	  }
18263	  /^X\(\/\/\)[^/].*/{
18264	    s//\1/
18265	    q
18266	  }
18267	  /^X\(\/\/\)$/{
18268	    s//\1/
18269	    q
18270	  }
18271	  /^X\(\/\).*/{
18272	    s//\1/
18273	    q
18274	  }
18275	  s/.*/./; q'`
18276    am_filepart=`$as_basename -- "$am_mf" ||
18277$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
18278	 X"$am_mf" : 'X\(//\)$' \| \
18279	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
18280$as_echo X/"$am_mf" |
18281    sed '/^.*\/\([^/][^/]*\)\/*$/{
18282	    s//\1/
18283	    q
18284	  }
18285	  /^X\/\(\/\/\)$/{
18286	    s//\1/
18287	    q
18288	  }
18289	  /^X\/\(\/\).*/{
18290	    s//\1/
18291	    q
18292	  }
18293	  s/.*/./; q'`
18294    { echo "$as_me:$LINENO: cd "$am_dirpart" \
18295      && sed -e '/# am--include-marker/d' "$am_filepart" \
18296        | $MAKE -f - am--depfiles" >&5
18297   (cd "$am_dirpart" \
18298      && sed -e '/# am--include-marker/d' "$am_filepart" \
18299        | $MAKE -f - am--depfiles) >&5 2>&5
18300   ac_status=$?
18301   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18302   (exit $ac_status); } || am_rc=$?
18303  done
18304  if test $am_rc -ne 0; then
18305    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18306$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18307as_fn_error $? "Something went wrong bootstrapping makefile fragments
18308    for automatic dependency tracking.  Try re-running configure with the
18309    '--disable-dependency-tracking' option to at least be able to build
18310    the package (albeit without support for automatic dependency tracking).
18311See \`config.log' for more details" "$LINENO" 5; }
18312  fi
18313  { am_dirpart=; unset am_dirpart;}
18314  { am_filepart=; unset am_filepart;}
18315  { am_mf=; unset am_mf;}
18316  { am_rc=; unset am_rc;}
18317  rm -f conftest-deps.mk
18318}
18319 ;;
18320    "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
18321        sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
18322      esac ;;
18323    "po/stamp-it":C)
18324    if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
18325       as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
18326    fi
18327    rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
18328    >"po/stamp-it.tmp"
18329    sed '/^#/d
18330	 s/^[[].*] *//
18331	 /^[ 	]*$/d
18332	'"s|^|	$ac_top_srcdir/|" \
18333      "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
18334
18335    sed '/^POTFILES =/,/[^\\]$/ {
18336		/^POTFILES =/!d
18337		r po/POTFILES
18338	  }
18339	 ' "po/Makefile.in" >"po/Makefile"
18340    rm -f "po/Makefile.tmp"
18341    mv "po/stamp-it.tmp" "po/stamp-it"
18342   ;;
18343
18344  esac
18345done # for ac_tag
18346
18347
18348as_fn_exit 0
18349_ACEOF
18350ac_clean_files=$ac_clean_files_save
18351
18352test $ac_write_fail = 0 ||
18353  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18354
18355
18356# configure is writing to config.log, and then calls config.status.
18357# config.status does its own redirection, appending to config.log.
18358# Unfortunately, on DOS this fails, as config.log is still kept open
18359# by configure, so config.status won't be able to write to it; its
18360# output is simply discarded.  So we exec the FD to /dev/null,
18361# effectively closing config.log, so it can be properly (re)opened and
18362# appended to by config.status.  When coming back to configure, we
18363# need to make the FD available again.
18364if test "$no_create" != yes; then
18365  ac_cs_success=:
18366  ac_config_status_args=
18367  test "$silent" = yes &&
18368    ac_config_status_args="$ac_config_status_args --quiet"
18369  exec 5>/dev/null
18370  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
18371  exec 5>>config.log
18372  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18373  # would make configure fail if this is the last instruction.
18374  $ac_cs_success || as_fn_exit 1
18375fi
18376if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
18377  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18378$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
18379fi
18380
18381
18382echo
18383echo "Build Configuration:"
18384echo
18385echo "* Maintainer Mode:        $USE_MAINTAINER_MODE"
18386if test "x$USE_MAINTAINER_MODE" = "xyes" ; then
18387echo
18388echo "    * Vala:               $VALAC $am__vala_version"
18389echo
18390fi
18391echo "* GTK+:                   $GTK_VERSION"
18392echo "* Xfce Panel:             $LIBXFCE4PANEL_VERSION"
18393echo "* Debug Support:          $enable_debug"
18394echo
18395
18396