1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69 for librfm5 5.3.16.4.
4#
5# Report bugs to <https://sourceforge.net/p/xffm/_list/tickets>.
6#
7#
8# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9#
10#
11# This configure script is free software; the Free Software Foundation
12# gives unlimited permission to copy, distribute and modify it.
13#
14# "Copyright (c) 2000-2014 Edscott Wilson Garcia. <edscott@users.sf.net>"
15## -------------------- ##
16## M4sh Initialization. ##
17## -------------------- ##
18
19# Be more Bourne compatible
20DUALCASE=1; export DUALCASE # for MKS sh
21if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22  emulate sh
23  NULLCMD=:
24  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25  # is contrary to our usage.  Disable this feature.
26  alias -g '${1+"$@"}'='"$@"'
27  setopt NO_GLOB_SUBST
28else
29  case `(set -o) 2>/dev/null` in #(
30  *posix*) :
31    set -o posix ;; #(
32  *) :
33     ;;
34esac
35fi
36
37
38as_nl='
39'
40export as_nl
41# Printing a long string crashes Solaris 7 /usr/bin/printf.
42as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45# Prefer a ksh shell builtin over an external printf program on Solaris,
46# but without wasting forks for bash or zsh.
47if test -z "$BASH_VERSION$ZSH_VERSION" \
48    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49  as_echo='print -r --'
50  as_echo_n='print -rn --'
51elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52  as_echo='printf %s\n'
53  as_echo_n='printf %s'
54else
55  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57    as_echo_n='/usr/ucb/echo -n'
58  else
59    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60    as_echo_n_body='eval
61      arg=$1;
62      case $arg in #(
63      *"$as_nl"*)
64	expr "X$arg" : "X\\(.*\\)$as_nl";
65	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66      esac;
67      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68    '
69    export as_echo_n_body
70    as_echo_n='sh -c $as_echo_n_body as_echo'
71  fi
72  export as_echo_body
73  as_echo='sh -c $as_echo_body as_echo'
74fi
75
76# The user is always right.
77if test "${PATH_SEPARATOR+set}" != set; then
78  PATH_SEPARATOR=:
79  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81      PATH_SEPARATOR=';'
82  }
83fi
84
85
86# IFS
87# We need space, tab and new line, in precisely that order.  Quoting is
88# there to prevent editors from complaining about space-tab.
89# (If _AS_PATH_WALK were called with IFS unset, it would disable word
90# splitting by setting IFS to empty value.)
91IFS=" ""	$as_nl"
92
93# Find who we are.  Look in the path if we contain no directory separator.
94as_myself=
95case $0 in #((
96  *[\\/]* ) as_myself=$0 ;;
97  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98for as_dir in $PATH
99do
100  IFS=$as_save_IFS
101  test -z "$as_dir" && as_dir=.
102    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103  done
104IFS=$as_save_IFS
105
106     ;;
107esac
108# We did not find ourselves, most probably we were run as `sh COMMAND'
109# in which case we are not to be found in the path.
110if test "x$as_myself" = x; then
111  as_myself=$0
112fi
113if test ! -f "$as_myself"; then
114  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115  exit 1
116fi
117
118# Unset variables that we do not need and which cause bugs (e.g. in
119# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
120# suppresses any "Segmentation fault" message there.  '((' could
121# trigger a bug in pdksh 5.2.14.
122for as_var in BASH_ENV ENV MAIL MAILPATH
123do eval test x\${$as_var+set} = xset \
124  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
125done
126PS1='$ '
127PS2='> '
128PS4='+ '
129
130# NLS nuisances.
131LC_ALL=C
132export LC_ALL
133LANGUAGE=C
134export LANGUAGE
135
136# CDPATH.
137(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138
139# Use a proper internal environment variable to ensure we don't fall
140  # into an infinite loop, continuously re-executing ourselves.
141  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
142    _as_can_reexec=no; export _as_can_reexec;
143    # We cannot yet assume a decent shell, so we have to provide a
144# neutralization value for shells without unset; and this also
145# works around shells that cannot unset nonexistent variables.
146# Preserve -v and -x to the replacement shell.
147BASH_ENV=/dev/null
148ENV=/dev/null
149(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
150case $- in # ((((
151  *v*x* | *x*v* ) as_opts=-vx ;;
152  *v* ) as_opts=-v ;;
153  *x* ) as_opts=-x ;;
154  * ) as_opts= ;;
155esac
156exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
157# Admittedly, this is quite paranoid, since all the known shells bail
158# out after a failed `exec'.
159$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160as_fn_exit 255
161  fi
162  # We don't want this to propagate to other subprocesses.
163          { _as_can_reexec=; unset _as_can_reexec;}
164if test "x$CONFIG_SHELL" = x; then
165  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166  emulate sh
167  NULLCMD=:
168  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
169  # is contrary to our usage.  Disable this feature.
170  alias -g '\${1+\"\$@\"}'='\"\$@\"'
171  setopt NO_GLOB_SUBST
172else
173  case \`(set -o) 2>/dev/null\` in #(
174  *posix*) :
175    set -o posix ;; #(
176  *) :
177     ;;
178esac
179fi
180"
181  as_required="as_fn_return () { (exit \$1); }
182as_fn_success () { as_fn_return 0; }
183as_fn_failure () { as_fn_return 1; }
184as_fn_ret_success () { return 0; }
185as_fn_ret_failure () { return 1; }
186
187exitcode=0
188as_fn_success || { exitcode=1; echo as_fn_success failed.; }
189as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
190as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
191as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
192if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193
194else
195  exitcode=1; echo positional parameters were not saved.
196fi
197test x\$exitcode = x0 || exit 1
198test -x / || exit 1"
199  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
200  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
201  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
202  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
203
204  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
205    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
206    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
207    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
208    PATH=/empty FPATH=/empty; export PATH FPATH
209    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
210      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
211test \$(( 1 + 1 )) = 2 || exit 1"
212  if (eval "$as_required") 2>/dev/null; then :
213  as_have_required=yes
214else
215  as_have_required=no
216fi
217  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
218
219else
220  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
221as_found=false
222for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
223do
224  IFS=$as_save_IFS
225  test -z "$as_dir" && as_dir=.
226  as_found=:
227  case $as_dir in #(
228	 /*)
229	   for as_base in sh bash ksh sh5; do
230	     # Try only shells that exist, to save several forks.
231	     as_shell=$as_dir/$as_base
232	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
233		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
234  CONFIG_SHELL=$as_shell as_have_required=yes
235		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
236  break 2
237fi
238fi
239	   done;;
240       esac
241  as_found=false
242done
243$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
244	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
245  CONFIG_SHELL=$SHELL as_have_required=yes
246fi; }
247IFS=$as_save_IFS
248
249
250      if test "x$CONFIG_SHELL" != x; then :
251  export CONFIG_SHELL
252             # We cannot yet assume a decent shell, so we have to provide a
253# neutralization value for shells without unset; and this also
254# works around shells that cannot unset nonexistent variables.
255# Preserve -v and -x to the replacement shell.
256BASH_ENV=/dev/null
257ENV=/dev/null
258(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
259case $- in # ((((
260  *v*x* | *x*v* ) as_opts=-vx ;;
261  *v* ) as_opts=-v ;;
262  *x* ) as_opts=-x ;;
263  * ) as_opts= ;;
264esac
265exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
266# Admittedly, this is quite paranoid, since all the known shells bail
267# out after a failed `exec'.
268$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
269exit 255
270fi
271
272    if test x$as_have_required = xno; then :
273  $as_echo "$0: This script requires a shell more modern than all"
274  $as_echo "$0: the shells that I found on your system."
275  if test x${ZSH_VERSION+set} = xset ; then
276    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
277    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
278  else
279    $as_echo "$0: Please tell bug-autoconf@gnu.org and https://sourceforge.net/p/xffm/_list/tickets
280$0: about your system, including any error possibly output
281$0: before this message. Then install a modern shell, or
282$0: manually run the script under such a shell if you do
283$0: have one."
284  fi
285  exit 1
286fi
287fi
288fi
289SHELL=${CONFIG_SHELL-/bin/sh}
290export SHELL
291# Unset more variables known to interfere with behavior of common tools.
292CLICOLOR_FORCE= GREP_OPTIONS=
293unset CLICOLOR_FORCE GREP_OPTIONS
294
295## --------------------- ##
296## M4sh Shell Functions. ##
297## --------------------- ##
298# as_fn_unset VAR
299# ---------------
300# Portably unset VAR.
301as_fn_unset ()
302{
303  { eval $1=; unset $1;}
304}
305as_unset=as_fn_unset
306
307# as_fn_set_status STATUS
308# -----------------------
309# Set $? to STATUS, without forking.
310as_fn_set_status ()
311{
312  return $1
313} # as_fn_set_status
314
315# as_fn_exit STATUS
316# -----------------
317# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
318as_fn_exit ()
319{
320  set +e
321  as_fn_set_status $1
322  exit $1
323} # as_fn_exit
324
325# as_fn_mkdir_p
326# -------------
327# Create "$as_dir" as a directory, including parents if necessary.
328as_fn_mkdir_p ()
329{
330
331  case $as_dir in #(
332  -*) as_dir=./$as_dir;;
333  esac
334  test -d "$as_dir" || eval $as_mkdir_p || {
335    as_dirs=
336    while :; do
337      case $as_dir in #(
338      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
339      *) as_qdir=$as_dir;;
340      esac
341      as_dirs="'$as_qdir' $as_dirs"
342      as_dir=`$as_dirname -- "$as_dir" ||
343$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
344	 X"$as_dir" : 'X\(//\)[^/]' \| \
345	 X"$as_dir" : 'X\(//\)$' \| \
346	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
347$as_echo X"$as_dir" |
348    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
349	    s//\1/
350	    q
351	  }
352	  /^X\(\/\/\)[^/].*/{
353	    s//\1/
354	    q
355	  }
356	  /^X\(\/\/\)$/{
357	    s//\1/
358	    q
359	  }
360	  /^X\(\/\).*/{
361	    s//\1/
362	    q
363	  }
364	  s/.*/./; q'`
365      test -d "$as_dir" && break
366    done
367    test -z "$as_dirs" || eval "mkdir $as_dirs"
368  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
369
370
371} # as_fn_mkdir_p
372
373# as_fn_executable_p FILE
374# -----------------------
375# Test if FILE is an executable regular file.
376as_fn_executable_p ()
377{
378  test -f "$1" && test -x "$1"
379} # as_fn_executable_p
380# as_fn_append VAR VALUE
381# ----------------------
382# Append the text in VALUE to the end of the definition contained in VAR. Take
383# advantage of any shell optimizations that allow amortized linear growth over
384# repeated appends, instead of the typical quadratic growth present in naive
385# implementations.
386if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
387  eval 'as_fn_append ()
388  {
389    eval $1+=\$2
390  }'
391else
392  as_fn_append ()
393  {
394    eval $1=\$$1\$2
395  }
396fi # as_fn_append
397
398# as_fn_arith ARG...
399# ------------------
400# Perform arithmetic evaluation on the ARGs, and store the result in the
401# global $as_val. Take advantage of shells that can avoid forks. The arguments
402# must be portable across $(()) and expr.
403if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
404  eval 'as_fn_arith ()
405  {
406    as_val=$(( $* ))
407  }'
408else
409  as_fn_arith ()
410  {
411    as_val=`expr "$@" || test $? -eq 1`
412  }
413fi # as_fn_arith
414
415
416# as_fn_error STATUS ERROR [LINENO LOG_FD]
417# ----------------------------------------
418# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
419# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
420# script with STATUS, using 1 if that was 0.
421as_fn_error ()
422{
423  as_status=$1; test $as_status -eq 0 && as_status=1
424  if test "$4"; then
425    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
426    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
427  fi
428  $as_echo "$as_me: error: $2" >&2
429  as_fn_exit $as_status
430} # as_fn_error
431
432if expr a : '\(a\)' >/dev/null 2>&1 &&
433   test "X`expr 00001 : '.*\(...\)'`" = X001; then
434  as_expr=expr
435else
436  as_expr=false
437fi
438
439if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
440  as_basename=basename
441else
442  as_basename=false
443fi
444
445if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
446  as_dirname=dirname
447else
448  as_dirname=false
449fi
450
451as_me=`$as_basename -- "$0" ||
452$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
453	 X"$0" : 'X\(//\)$' \| \
454	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
455$as_echo X/"$0" |
456    sed '/^.*\/\([^/][^/]*\)\/*$/{
457	    s//\1/
458	    q
459	  }
460	  /^X\/\(\/\/\)$/{
461	    s//\1/
462	    q
463	  }
464	  /^X\/\(\/\).*/{
465	    s//\1/
466	    q
467	  }
468	  s/.*/./; q'`
469
470# Avoid depending upon Character Ranges.
471as_cr_letters='abcdefghijklmnopqrstuvwxyz'
472as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
473as_cr_Letters=$as_cr_letters$as_cr_LETTERS
474as_cr_digits='0123456789'
475as_cr_alnum=$as_cr_Letters$as_cr_digits
476
477
478  as_lineno_1=$LINENO as_lineno_1a=$LINENO
479  as_lineno_2=$LINENO as_lineno_2a=$LINENO
480  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
481  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
482  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
483  sed -n '
484    p
485    /[$]LINENO/=
486  ' <$as_myself |
487    sed '
488      s/[$]LINENO.*/&-/
489      t lineno
490      b
491      :lineno
492      N
493      :loop
494      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
495      t loop
496      s/-\n.*//
497    ' >$as_me.lineno &&
498  chmod +x "$as_me.lineno" ||
499    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
500
501  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
502  # already done that, so ensure we don't try to do so again and fall
503  # in an infinite loop.  This has already happened in practice.
504  _as_can_reexec=no; export _as_can_reexec
505  # Don't try to exec as it changes $[0], causing all sort of problems
506  # (the dirname of $[0] is not the place where we might find the
507  # original and so on.  Autoconf is especially sensitive to this).
508  . "./$as_me.lineno"
509  # Exit status is that of the last command.
510  exit
511}
512
513ECHO_C= ECHO_N= ECHO_T=
514case `echo -n x` in #(((((
515-n*)
516  case `echo 'xy\c'` in
517  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
518  xy)  ECHO_C='\c';;
519  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
520       ECHO_T='	';;
521  esac;;
522*)
523  ECHO_N='-n';;
524esac
525
526rm -f conf$$ conf$$.exe conf$$.file
527if test -d conf$$.dir; then
528  rm -f conf$$.dir/conf$$.file
529else
530  rm -f conf$$.dir
531  mkdir conf$$.dir 2>/dev/null
532fi
533if (echo >conf$$.file) 2>/dev/null; then
534  if ln -s conf$$.file conf$$ 2>/dev/null; then
535    as_ln_s='ln -s'
536    # ... but there are two gotchas:
537    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
538    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
539    # In both cases, we have to default to `cp -pR'.
540    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
541      as_ln_s='cp -pR'
542  elif ln conf$$.file conf$$ 2>/dev/null; then
543    as_ln_s=ln
544  else
545    as_ln_s='cp -pR'
546  fi
547else
548  as_ln_s='cp -pR'
549fi
550rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
551rmdir conf$$.dir 2>/dev/null
552
553if mkdir -p . 2>/dev/null; then
554  as_mkdir_p='mkdir -p "$as_dir"'
555else
556  test -d ./-p && rmdir ./-p
557  as_mkdir_p=false
558fi
559
560as_test_x='test -x'
561as_executable_p=as_fn_executable_p
562
563# Sed expression to map a string onto a valid CPP name.
564as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
565
566# Sed expression to map a string onto a valid variable name.
567as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
568
569SHELL=${CONFIG_SHELL-/bin/sh}
570
571
572test -n "$DJDIR" || exec 7<&0 </dev/null
573exec 6>&1
574
575# Name of the host.
576# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
577# so uname gets run too.
578ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
579
580#
581# Initializations.
582#
583ac_default_prefix=/usr/local
584ac_clean_files=
585ac_config_libobj_dir=.
586LIBOBJS=
587cross_compiling=no
588subdirs=
589MFLAGS=
590MAKEFLAGS=
591
592# Identity of this package.
593PACKAGE_NAME='librfm5'
594PACKAGE_TARNAME='librfm5'
595PACKAGE_VERSION='5.3.16.4'
596PACKAGE_STRING='librfm5 5.3.16.4'
597PACKAGE_BUGREPORT='https://sourceforge.net/p/xffm/_list/tickets'
598PACKAGE_URL='"http://xffm.org/librfm"'
599
600# Factoring default headers for most tests.
601ac_includes_default="\
602#include <stdio.h>
603#ifdef HAVE_SYS_TYPES_H
604# include <sys/types.h>
605#endif
606#ifdef HAVE_SYS_STAT_H
607# include <sys/stat.h>
608#endif
609#ifdef STDC_HEADERS
610# include <stdlib.h>
611# include <stddef.h>
612#else
613# ifdef HAVE_STDLIB_H
614#  include <stdlib.h>
615# endif
616#endif
617#ifdef HAVE_STRING_H
618# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
619#  include <memory.h>
620# endif
621# include <string.h>
622#endif
623#ifdef HAVE_STRINGS_H
624# include <strings.h>
625#endif
626#ifdef HAVE_INTTYPES_H
627# include <inttypes.h>
628#endif
629#ifdef HAVE_STDINT_H
630# include <stdint.h>
631#endif
632#ifdef HAVE_UNISTD_H
633# include <unistd.h>
634#endif"
635
636ac_subst_vars='am__EXEEXT_FALSE
637am__EXEEXT_TRUE
638LTLIBOBJS
639LIBOBJS
640HAVE_BSD_W_FALSE
641HAVE_BSD_W_TRUE
642HAVE_BSD_O_FALSE
643HAVE_BSD_O_TRUE
644HAVE_BSD_AUX_FALSE
645HAVE_BSD_AUX_TRUE
646HAVE_BSD_L_FALSE
647HAVE_BSD_L_TRUE
648HAVE_BSD_XF_FALSE
649HAVE_BSD_XF_TRUE
650HAVE_UNIX_W_FALSE
651HAVE_UNIX_W_TRUE
652HAVE_UNIX_O_FALSE
653HAVE_UNIX_O_TRUE
654HAVE_UNIX_EF_FALSE
655HAVE_UNIX_EF_TRUE
656HAVE_UNIX_LY_FALSE
657HAVE_UNIX_LY_TRUE
658HAVE_UNIX_JH_FALSE
659HAVE_UNIX_JH_TRUE
660HAVE_UNIX_O_RSS_FALSE
661HAVE_UNIX_O_RSS_TRUE
662ps
663XGETTEXT_ARGS
664MKINSTALLDIRS
665POSUB
666POFILES
667PO_IN_DATADIR_FALSE
668PO_IN_DATADIR_TRUE
669INTLLIBS
670INSTOBJEXT
671GMOFILES
672DATADIRNAME
673CATOBJEXT
674CATALOGS
675MSGFMT_OPTS
676INTL_MACOSX_LIBS
677GETTEXT_PACKAGE
678WITH_GNU_GS
679GNU_SHRED
680WITH_GNU_SHRED
681GNU_RM
682WITH_GNU_RM
683GNU_LN
684WITH_GNU_LN
685GNU_MV
686WITH_GNU_MV
687GNU_CP
688WITH_GNU_CP
689GNU_LS
690WITH_GNU_LS
691WANT_DEBIAN_FALSE
692WANT_DEBIAN_TRUE
693cv_dpkg
694WANT_GENTOO_FALSE
695WANT_GENTOO_TRUE
696cv_emerge
697SUSE_RPM
698DISTRO_X_VERSION
699DISTRO_X
700LIBRSVG_NAME
701WANT_FREEBSD_FALSE
702WANT_FREEBSD_TRUE
703UNAME_S
704gawk
705intltoolize
706GTK_DOC_USE_REBASE_FALSE
707GTK_DOC_USE_REBASE_TRUE
708GTK_DOC_USE_LIBTOOL_FALSE
709GTK_DOC_USE_LIBTOOL_TRUE
710GTK_DOC_BUILD_PDF_FALSE
711GTK_DOC_BUILD_PDF_TRUE
712GTK_DOC_BUILD_HTML_FALSE
713GTK_DOC_BUILD_HTML_TRUE
714ENABLE_GTK_DOC_FALSE
715ENABLE_GTK_DOC_TRUE
716PKG_CONFIG_LIBDIR
717PKG_CONFIG_PATH
718HTML_DIR
719GTKDOC_MKPDF
720GTKDOC_REBASE
721GTKDOC_CHECK
722cv_pkgconfig
723HAVE_PTHREAD_TRYJOIN
724LARGEFILE
725WINDOZE_FALSE
726WINDOZE_TRUE
727FILE_POINTER
728SIZEOF_FILE_POINTER
729FILE_OFFSET_BITS
730ALL_LINGUAS
731INTLTOOL_PERL
732GMSGFMT
733MSGFMT
734MSGMERGE
735XGETTEXT
736INTLTOOL_POLICY_RULE
737INTLTOOL_SERVICE_RULE
738INTLTOOL_THEME_RULE
739INTLTOOL_SCHEMAS_RULE
740INTLTOOL_CAVES_RULE
741INTLTOOL_XML_NOMERGE_RULE
742INTLTOOL_XML_RULE
743INTLTOOL_KBD_RULE
744INTLTOOL_XAM_RULE
745INTLTOOL_UI_RULE
746INTLTOOL_SOUNDLIST_RULE
747INTLTOOL_SHEET_RULE
748INTLTOOL_SERVER_RULE
749INTLTOOL_PONG_RULE
750INTLTOOL_OAF_RULE
751INTLTOOL_PROP_RULE
752INTLTOOL_KEYS_RULE
753INTLTOOL_DIRECTORY_RULE
754INTLTOOL_DESKTOP_RULE
755intltool__v_merge_options_0
756intltool__v_merge_options_
757INTLTOOL_V_MERGE_OPTIONS
758INTLTOOL__v_MERGE_0
759INTLTOOL__v_MERGE_
760INTLTOOL_V_MERGE
761INTLTOOL_EXTRACT
762INTLTOOL_MERGE
763INTLTOOL_UPDATE
764USE_NLS
765DBH_FILE_VERSION
766MASTER_SITE
767BUGMAIL
768LICENSE
769SRC_URI
770HOMEPAGE
771DESCRIPTION
772WITH_MPT
773WITH_ICON
774WANT_ICON_P_FALSE
775WANT_ICON_P_TRUE
776WITH_ZMAGIC
777WANT_ZMAGIC_P_FALSE
778WANT_ZMAGIC_P_TRUE
779WITH_MMAGIC
780WANT_MMAGIC_P_FALSE
781WANT_MMAGIC_P_TRUE
782WITH_MIME
783WANT_MIME_P_FALSE
784WANT_MIME_P_TRUE
785WITH_PROPERTIES
786WANT_PROPERTIES_P_FALSE
787WANT_PROPERTIES_P_TRUE
788WITH_COMBOBOX
789WANT_COMBOBOX_P_FALSE
790WANT_COMBOBOX_P_TRUE
791WITH_COMPLETION
792WANT_COMPLETION_P_FALSE
793WANT_COMPLETION_P_TRUE
794WITH_BCRYPT
795WANT_BCRYPT_P_FALSE
796WANT_BCRYPT_P_TRUE
797DEBUG_TRACE
798WITH_TRACE
799DEBUG
800WITH_DEBUG
801CORE
802WITH_CORE
803RFM_VERINFO
804TCMALLOC
805RFM_EXTRA_LIBS
806RFM_EXTRA_CFLAGS
807GLIB_REQUIRED_VERSION
808GLIB_LIBS
809GLIB_CFLAGS
810GLIB_VERSION
811LIBXML_REQUIRED_VERSION
812LIBXML_LIBS
813LIBXML_CFLAGS
814LIBXML_VERSION
815LIBRSVG_REQUIRED_VERSION
816LIBRSVG_LIBS
817LIBRSVG_CFLAGS
818LIBRSVG_VERSION
819GMODULE_REQUIRED_VERSION
820GMODULE_LIBS
821GMODULE_CFLAGS
822GMODULE_VERSION
823GTHREAD_REQUIRED_VERSION
824GTHREAD_LIBS
825GTHREAD_CFLAGS
826GTHREAD_VERSION
827PANGO_REQUIRED_VERSION
828PANGO_LIBS
829PANGO_CFLAGS
830PANGO_VERSION
831LIBZIP_REQUIRED_VERSION
832LIBZIP_LIBS
833LIBZIP_CFLAGS
834LIBZIP_VERSION
835LT_TRUE
836LT_AGE
837LT_REVISION
838LT_CURRENT
839LT_RELEASE
840GTKPC
841LT_VERS
842CAIRO_REQUIRED_VERSION
843CAIRO_LIBS
844CAIRO_CFLAGS
845CAIRO_VERSION
846GTK_REQUIRED_VERSION
847GTK_LIBS
848GTK_CFLAGS
849GTK_VERSION
850INSTALL_IMAGES_FALSE
851INSTALL_IMAGES_TRUE
852INSTALL_IMAGES
853DBH_REQUIRED_VERSION
854DBH_LIBS
855DBH_CFLAGS
856DBH_VERSION
857TUBO_REQUIRED_VERSION
858TUBO_LIBS
859TUBO_CFLAGS
860TUBO_VERSION
861PKG_CONFIG
862PKG_CONF_DIR
863RFM_MODULE_DIR
864MODULE_DIR
865PREFIX
866RPM_CENTOS_OPTION
867RPM_LIBRSVG
868RPM_UDF_REQUIRES
869RPM_FDUPES_REQUIRES
870RPM_GROUP
871RPM_LICENSE
872RPM_COMMENT
873WITH_LA_FILES_FALSE
874WITH_LA_FILES_TRUE
875RPM_PKG_CONFIG
876PKG_CONFIG_FILE
877PACKAGE_COPYRIGHT
878COPYRIGHT
879_GNU_SOURCE
880AM_BACKSLASH
881AM_DEFAULT_VERBOSITY
882am__fastdepCC_FALSE
883am__fastdepCC_TRUE
884CCDEPMODE
885am__nodep
886AMDEPBACKSLASH
887AMDEP_FALSE
888AMDEP_TRUE
889am__quote
890am__include
891DEPDIR
892am__untar
893am__tar
894AMTAR
895am__leading_dot
896SET_MAKE
897mkdir_p
898MKDIR_P
899INSTALL_STRIP_PROGRAM
900install_sh
901MAKEINFO
902AUTOHEADER
903AUTOMAKE
904AUTOCONF
905ACLOCAL
906VERSION
907PACKAGE
908CYGPATH_W
909am__isrc
910CPP
911LT_SYS_LIBRARY_PATH
912OTOOL64
913OTOOL
914LIPO
915NMEDIT
916DSYMUTIL
917MANIFEST_TOOL
918AWK
919RANLIB
920STRIP
921DLLTOOL
922OBJDUMP
923LN_S
924NM
925ac_ct_DUMPBIN
926DUMPBIN
927LD
928FGREP
929EGREP
930GREP
931SED
932host_os
933host_vendor
934host_cpu
935host
936build_os
937build_vendor
938build_cpu
939build
940LIBTOOL
941OBJEXT
942EXEEXT
943ac_ct_CC
944CPPFLAGS
945LDFLAGS
946CFLAGS
947CC
948ac_ct_AR
949AR
950INSTALL_DATA
951INSTALL_SCRIPT
952INSTALL_PROGRAM
953target_alias
954host_alias
955build_alias
956LIBS
957ECHO_T
958ECHO_N
959ECHO_C
960DEFS
961mandir
962localedir
963libdir
964psdir
965pdfdir
966dvidir
967htmldir
968infodir
969docdir
970oldincludedir
971includedir
972localstatedir
973sharedstatedir
974sysconfdir
975datadir
976datarootdir
977libexecdir
978sbindir
979bindir
980program_transform_name
981prefix
982exec_prefix
983PACKAGE_URL
984PACKAGE_BUGREPORT
985PACKAGE_STRING
986PACKAGE_VERSION
987PACKAGE_TARNAME
988PACKAGE_NAME
989PATH_SEPARATOR
990SHELL
991SUMMARY'
992ac_subst_files=''
993ac_user_opts='
994enable_option_checking
995enable_static
996enable_shared
997with_pic
998enable_fast_install
999with_aix_soname
1000with_gnu_ld
1001with_sysroot
1002enable_libtool_lock
1003enable_dependency_tracking
1004enable_silent_rules
1005with_centos
1006with_la_files
1007with_pkglibdata
1008with_pkgdatadir
1009enable_gtk2
1010with_images
1011with_tcmalloc
1012with_debug
1013with_trace
1014with_core
1015enable_bcrypt
1016enable_completion
1017enable_ecombo
1018enable_props
1019enable_mime
1020enable_mmagic
1021enable_zmagic
1022enable_icontheme
1023with_mpt
1024enable_nls
1025enable_largefile
1026with_html_dir
1027enable_gtk_doc
1028enable_gtk_doc_html
1029enable_gtk_doc_pdf
1030with_locales_dir
1031'
1032      ac_precious_vars='build_alias
1033host_alias
1034target_alias
1035CC
1036CFLAGS
1037LDFLAGS
1038LIBS
1039CPPFLAGS
1040LT_SYS_LIBRARY_PATH
1041CPP
1042PKG_CONFIG
1043PKG_CONFIG_PATH
1044PKG_CONFIG_LIBDIR'
1045
1046
1047# Initialize some variables set by options.
1048ac_init_help=
1049ac_init_version=false
1050ac_unrecognized_opts=
1051ac_unrecognized_sep=
1052# The variables have the same names as the options, with
1053# dashes changed to underlines.
1054cache_file=/dev/null
1055exec_prefix=NONE
1056no_create=
1057no_recursion=
1058prefix=NONE
1059program_prefix=NONE
1060program_suffix=NONE
1061program_transform_name=s,x,x,
1062silent=
1063site=
1064srcdir=
1065verbose=
1066x_includes=NONE
1067x_libraries=NONE
1068
1069# Installation directory options.
1070# These are left unexpanded so users can "make install exec_prefix=/foo"
1071# and all the variables that are supposed to be based on exec_prefix
1072# by default will actually change.
1073# Use braces instead of parens because sh, perl, etc. also accept them.
1074# (The list follows the same order as the GNU Coding Standards.)
1075bindir='${exec_prefix}/bin'
1076sbindir='${exec_prefix}/sbin'
1077libexecdir='${exec_prefix}/libexec'
1078datarootdir='${prefix}/share'
1079datadir='${datarootdir}'
1080sysconfdir='${prefix}/etc'
1081sharedstatedir='${prefix}/com'
1082localstatedir='${prefix}/var'
1083includedir='${prefix}/include'
1084oldincludedir='/usr/include'
1085docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1086infodir='${datarootdir}/info'
1087htmldir='${docdir}'
1088dvidir='${docdir}'
1089pdfdir='${docdir}'
1090psdir='${docdir}'
1091libdir='${exec_prefix}/lib'
1092localedir='${datarootdir}/locale'
1093mandir='${datarootdir}/man'
1094
1095ac_prev=
1096ac_dashdash=
1097for ac_option
1098do
1099  # If the previous option needs an argument, assign it.
1100  if test -n "$ac_prev"; then
1101    eval $ac_prev=\$ac_option
1102    ac_prev=
1103    continue
1104  fi
1105
1106  case $ac_option in
1107  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1108  *=)   ac_optarg= ;;
1109  *)    ac_optarg=yes ;;
1110  esac
1111
1112  # Accept the important Cygnus configure options, so we can diagnose typos.
1113
1114  case $ac_dashdash$ac_option in
1115  --)
1116    ac_dashdash=yes ;;
1117
1118  -bindir | --bindir | --bindi | --bind | --bin | --bi)
1119    ac_prev=bindir ;;
1120  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1121    bindir=$ac_optarg ;;
1122
1123  -build | --build | --buil | --bui | --bu)
1124    ac_prev=build_alias ;;
1125  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1126    build_alias=$ac_optarg ;;
1127
1128  -cache-file | --cache-file | --cache-fil | --cache-fi \
1129  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1130    ac_prev=cache_file ;;
1131  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1132  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1133    cache_file=$ac_optarg ;;
1134
1135  --config-cache | -C)
1136    cache_file=config.cache ;;
1137
1138  -datadir | --datadir | --datadi | --datad)
1139    ac_prev=datadir ;;
1140  -datadir=* | --datadir=* | --datadi=* | --datad=*)
1141    datadir=$ac_optarg ;;
1142
1143  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1144  | --dataroo | --dataro | --datar)
1145    ac_prev=datarootdir ;;
1146  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1147  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1148    datarootdir=$ac_optarg ;;
1149
1150  -disable-* | --disable-*)
1151    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1152    # Reject names that are not valid shell variable names.
1153    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1154      as_fn_error $? "invalid feature name: $ac_useropt"
1155    ac_useropt_orig=$ac_useropt
1156    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1157    case $ac_user_opts in
1158      *"
1159"enable_$ac_useropt"
1160"*) ;;
1161      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1162	 ac_unrecognized_sep=', ';;
1163    esac
1164    eval enable_$ac_useropt=no ;;
1165
1166  -docdir | --docdir | --docdi | --doc | --do)
1167    ac_prev=docdir ;;
1168  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1169    docdir=$ac_optarg ;;
1170
1171  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1172    ac_prev=dvidir ;;
1173  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1174    dvidir=$ac_optarg ;;
1175
1176  -enable-* | --enable-*)
1177    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1178    # Reject names that are not valid shell variable names.
1179    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1180      as_fn_error $? "invalid feature name: $ac_useropt"
1181    ac_useropt_orig=$ac_useropt
1182    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1183    case $ac_user_opts in
1184      *"
1185"enable_$ac_useropt"
1186"*) ;;
1187      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1188	 ac_unrecognized_sep=', ';;
1189    esac
1190    eval enable_$ac_useropt=\$ac_optarg ;;
1191
1192  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1193  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1194  | --exec | --exe | --ex)
1195    ac_prev=exec_prefix ;;
1196  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1197  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1198  | --exec=* | --exe=* | --ex=*)
1199    exec_prefix=$ac_optarg ;;
1200
1201  -gas | --gas | --ga | --g)
1202    # Obsolete; use --with-gas.
1203    with_gas=yes ;;
1204
1205  -help | --help | --hel | --he | -h)
1206    ac_init_help=long ;;
1207  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1208    ac_init_help=recursive ;;
1209  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1210    ac_init_help=short ;;
1211
1212  -host | --host | --hos | --ho)
1213    ac_prev=host_alias ;;
1214  -host=* | --host=* | --hos=* | --ho=*)
1215    host_alias=$ac_optarg ;;
1216
1217  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1218    ac_prev=htmldir ;;
1219  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1220  | --ht=*)
1221    htmldir=$ac_optarg ;;
1222
1223  -includedir | --includedir | --includedi | --included | --include \
1224  | --includ | --inclu | --incl | --inc)
1225    ac_prev=includedir ;;
1226  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1227  | --includ=* | --inclu=* | --incl=* | --inc=*)
1228    includedir=$ac_optarg ;;
1229
1230  -infodir | --infodir | --infodi | --infod | --info | --inf)
1231    ac_prev=infodir ;;
1232  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1233    infodir=$ac_optarg ;;
1234
1235  -libdir | --libdir | --libdi | --libd)
1236    ac_prev=libdir ;;
1237  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1238    libdir=$ac_optarg ;;
1239
1240  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1241  | --libexe | --libex | --libe)
1242    ac_prev=libexecdir ;;
1243  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1244  | --libexe=* | --libex=* | --libe=*)
1245    libexecdir=$ac_optarg ;;
1246
1247  -localedir | --localedir | --localedi | --localed | --locale)
1248    ac_prev=localedir ;;
1249  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1250    localedir=$ac_optarg ;;
1251
1252  -localstatedir | --localstatedir | --localstatedi | --localstated \
1253  | --localstate | --localstat | --localsta | --localst | --locals)
1254    ac_prev=localstatedir ;;
1255  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1256  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1257    localstatedir=$ac_optarg ;;
1258
1259  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1260    ac_prev=mandir ;;
1261  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1262    mandir=$ac_optarg ;;
1263
1264  -nfp | --nfp | --nf)
1265    # Obsolete; use --without-fp.
1266    with_fp=no ;;
1267
1268  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1269  | --no-cr | --no-c | -n)
1270    no_create=yes ;;
1271
1272  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1273  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1274    no_recursion=yes ;;
1275
1276  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1277  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1278  | --oldin | --oldi | --old | --ol | --o)
1279    ac_prev=oldincludedir ;;
1280  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1281  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1282  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1283    oldincludedir=$ac_optarg ;;
1284
1285  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1286    ac_prev=prefix ;;
1287  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1288    prefix=$ac_optarg ;;
1289
1290  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1291  | --program-pre | --program-pr | --program-p)
1292    ac_prev=program_prefix ;;
1293  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1294  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1295    program_prefix=$ac_optarg ;;
1296
1297  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1298  | --program-suf | --program-su | --program-s)
1299    ac_prev=program_suffix ;;
1300  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1301  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1302    program_suffix=$ac_optarg ;;
1303
1304  -program-transform-name | --program-transform-name \
1305  | --program-transform-nam | --program-transform-na \
1306  | --program-transform-n | --program-transform- \
1307  | --program-transform | --program-transfor \
1308  | --program-transfo | --program-transf \
1309  | --program-trans | --program-tran \
1310  | --progr-tra | --program-tr | --program-t)
1311    ac_prev=program_transform_name ;;
1312  -program-transform-name=* | --program-transform-name=* \
1313  | --program-transform-nam=* | --program-transform-na=* \
1314  | --program-transform-n=* | --program-transform-=* \
1315  | --program-transform=* | --program-transfor=* \
1316  | --program-transfo=* | --program-transf=* \
1317  | --program-trans=* | --program-tran=* \
1318  | --progr-tra=* | --program-tr=* | --program-t=*)
1319    program_transform_name=$ac_optarg ;;
1320
1321  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1322    ac_prev=pdfdir ;;
1323  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1324    pdfdir=$ac_optarg ;;
1325
1326  -psdir | --psdir | --psdi | --psd | --ps)
1327    ac_prev=psdir ;;
1328  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1329    psdir=$ac_optarg ;;
1330
1331  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1332  | -silent | --silent | --silen | --sile | --sil)
1333    silent=yes ;;
1334
1335  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1336    ac_prev=sbindir ;;
1337  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1338  | --sbi=* | --sb=*)
1339    sbindir=$ac_optarg ;;
1340
1341  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1342  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1343  | --sharedst | --shareds | --shared | --share | --shar \
1344  | --sha | --sh)
1345    ac_prev=sharedstatedir ;;
1346  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1347  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1348  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1349  | --sha=* | --sh=*)
1350    sharedstatedir=$ac_optarg ;;
1351
1352  -site | --site | --sit)
1353    ac_prev=site ;;
1354  -site=* | --site=* | --sit=*)
1355    site=$ac_optarg ;;
1356
1357  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1358    ac_prev=srcdir ;;
1359  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1360    srcdir=$ac_optarg ;;
1361
1362  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1363  | --syscon | --sysco | --sysc | --sys | --sy)
1364    ac_prev=sysconfdir ;;
1365  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1366  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1367    sysconfdir=$ac_optarg ;;
1368
1369  -target | --target | --targe | --targ | --tar | --ta | --t)
1370    ac_prev=target_alias ;;
1371  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1372    target_alias=$ac_optarg ;;
1373
1374  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1375    verbose=yes ;;
1376
1377  -version | --version | --versio | --versi | --vers | -V)
1378    ac_init_version=: ;;
1379
1380  -with-* | --with-*)
1381    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1382    # Reject names that are not valid shell variable names.
1383    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1384      as_fn_error $? "invalid package name: $ac_useropt"
1385    ac_useropt_orig=$ac_useropt
1386    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1387    case $ac_user_opts in
1388      *"
1389"with_$ac_useropt"
1390"*) ;;
1391      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1392	 ac_unrecognized_sep=', ';;
1393    esac
1394    eval with_$ac_useropt=\$ac_optarg ;;
1395
1396  -without-* | --without-*)
1397    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1398    # Reject names that are not valid shell variable names.
1399    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1400      as_fn_error $? "invalid package name: $ac_useropt"
1401    ac_useropt_orig=$ac_useropt
1402    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1403    case $ac_user_opts in
1404      *"
1405"with_$ac_useropt"
1406"*) ;;
1407      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1408	 ac_unrecognized_sep=', ';;
1409    esac
1410    eval with_$ac_useropt=no ;;
1411
1412  --x)
1413    # Obsolete; use --with-x.
1414    with_x=yes ;;
1415
1416  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1417  | --x-incl | --x-inc | --x-in | --x-i)
1418    ac_prev=x_includes ;;
1419  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1420  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1421    x_includes=$ac_optarg ;;
1422
1423  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1424  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1425    ac_prev=x_libraries ;;
1426  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1427  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1428    x_libraries=$ac_optarg ;;
1429
1430  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1431Try \`$0 --help' for more information"
1432    ;;
1433
1434  *=*)
1435    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1436    # Reject names that are not valid shell variable names.
1437    case $ac_envvar in #(
1438      '' | [0-9]* | *[!_$as_cr_alnum]* )
1439      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1440    esac
1441    eval $ac_envvar=\$ac_optarg
1442    export $ac_envvar ;;
1443
1444  *)
1445    # FIXME: should be removed in autoconf 3.0.
1446    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1447    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1448      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1449    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1450    ;;
1451
1452  esac
1453done
1454
1455if test -n "$ac_prev"; then
1456  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1457  as_fn_error $? "missing argument to $ac_option"
1458fi
1459
1460if test -n "$ac_unrecognized_opts"; then
1461  case $enable_option_checking in
1462    no) ;;
1463    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1464    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1465  esac
1466fi
1467
1468# Check all directory arguments for consistency.
1469for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1470		datadir sysconfdir sharedstatedir localstatedir includedir \
1471		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1472		libdir localedir mandir
1473do
1474  eval ac_val=\$$ac_var
1475  # Remove trailing slashes.
1476  case $ac_val in
1477    */ )
1478      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1479      eval $ac_var=\$ac_val;;
1480  esac
1481  # Be sure to have absolute directory names.
1482  case $ac_val in
1483    [\\/$]* | ?:[\\/]* )  continue;;
1484    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1485  esac
1486  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1487done
1488
1489# There might be people who depend on the old broken behavior: `$host'
1490# used to hold the argument of --host etc.
1491# FIXME: To remove some day.
1492build=$build_alias
1493host=$host_alias
1494target=$target_alias
1495
1496# FIXME: To remove some day.
1497if test "x$host_alias" != x; then
1498  if test "x$build_alias" = x; then
1499    cross_compiling=maybe
1500  elif test "x$build_alias" != "x$host_alias"; then
1501    cross_compiling=yes
1502  fi
1503fi
1504
1505ac_tool_prefix=
1506test -n "$host_alias" && ac_tool_prefix=$host_alias-
1507
1508test "$silent" = yes && exec 6>/dev/null
1509
1510
1511ac_pwd=`pwd` && test -n "$ac_pwd" &&
1512ac_ls_di=`ls -di .` &&
1513ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1514  as_fn_error $? "working directory cannot be determined"
1515test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1516  as_fn_error $? "pwd does not report name of working directory"
1517
1518
1519# Find the source files, if location was not specified.
1520if test -z "$srcdir"; then
1521  ac_srcdir_defaulted=yes
1522  # Try the directory containing this script, then the parent directory.
1523  ac_confdir=`$as_dirname -- "$as_myself" ||
1524$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1525	 X"$as_myself" : 'X\(//\)[^/]' \| \
1526	 X"$as_myself" : 'X\(//\)$' \| \
1527	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1528$as_echo X"$as_myself" |
1529    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1530	    s//\1/
1531	    q
1532	  }
1533	  /^X\(\/\/\)[^/].*/{
1534	    s//\1/
1535	    q
1536	  }
1537	  /^X\(\/\/\)$/{
1538	    s//\1/
1539	    q
1540	  }
1541	  /^X\(\/\).*/{
1542	    s//\1/
1543	    q
1544	  }
1545	  s/.*/./; q'`
1546  srcdir=$ac_confdir
1547  if test ! -r "$srcdir/$ac_unique_file"; then
1548    srcdir=..
1549  fi
1550else
1551  ac_srcdir_defaulted=no
1552fi
1553if test ! -r "$srcdir/$ac_unique_file"; then
1554  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1555  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1556fi
1557ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1558ac_abs_confdir=`(
1559	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1560	pwd)`
1561# When building in place, set srcdir=.
1562if test "$ac_abs_confdir" = "$ac_pwd"; then
1563  srcdir=.
1564fi
1565# Remove unnecessary trailing slashes from srcdir.
1566# Double slashes in file names in object file debugging info
1567# mess up M-x gdb in Emacs.
1568case $srcdir in
1569*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1570esac
1571for ac_var in $ac_precious_vars; do
1572  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1573  eval ac_env_${ac_var}_value=\$${ac_var}
1574  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1575  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1576done
1577
1578#
1579# Report the --help message.
1580#
1581if test "$ac_init_help" = "long"; then
1582  # Omit some internal or obsolete options to make the list less imposing.
1583  # This message is too long to be a string in the A/UX 3.1 sh.
1584  cat <<_ACEOF
1585\`configure' configures librfm5 5.3.16.4 to adapt to many kinds of systems.
1586
1587Usage: $0 [OPTION]... [VAR=VALUE]...
1588
1589To assign environment variables (e.g., CC, CFLAGS...), specify them as
1590VAR=VALUE.  See below for descriptions of some of the useful variables.
1591
1592Defaults for the options are specified in brackets.
1593
1594Configuration:
1595  -h, --help              display this help and exit
1596      --help=short        display options specific to this package
1597      --help=recursive    display the short help of all the included packages
1598  -V, --version           display version information and exit
1599  -q, --quiet, --silent   do not print \`checking ...' messages
1600      --cache-file=FILE   cache test results in FILE [disabled]
1601  -C, --config-cache      alias for \`--cache-file=config.cache'
1602  -n, --no-create         do not create output files
1603      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1604
1605Installation directories:
1606  --prefix=PREFIX         install architecture-independent files in PREFIX
1607                          [$ac_default_prefix]
1608  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1609                          [PREFIX]
1610
1611By default, \`make install' will install all the files in
1612\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1613an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1614for instance \`--prefix=\$HOME'.
1615
1616For better control, use the options below.
1617
1618Fine tuning of the installation directories:
1619  --bindir=DIR            user executables [EPREFIX/bin]
1620  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1621  --libexecdir=DIR        program executables [EPREFIX/libexec]
1622  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1623  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1624  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1625  --libdir=DIR            object code libraries [EPREFIX/lib]
1626  --includedir=DIR        C header files [PREFIX/include]
1627  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1628  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1629  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1630  --infodir=DIR           info documentation [DATAROOTDIR/info]
1631  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1632  --mandir=DIR            man documentation [DATAROOTDIR/man]
1633  --docdir=DIR            documentation root [DATAROOTDIR/doc/librfm5]
1634  --htmldir=DIR           html documentation [DOCDIR]
1635  --dvidir=DIR            dvi documentation [DOCDIR]
1636  --pdfdir=DIR            pdf documentation [DOCDIR]
1637  --psdir=DIR             ps documentation [DOCDIR]
1638_ACEOF
1639
1640  cat <<\_ACEOF
1641
1642Program names:
1643  --program-prefix=PREFIX            prepend PREFIX to installed program names
1644  --program-suffix=SUFFIX            append SUFFIX to installed program names
1645  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1646
1647System types:
1648  --build=BUILD     configure for building on BUILD [guessed]
1649  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1650_ACEOF
1651fi
1652
1653if test -n "$ac_init_help"; then
1654  case $ac_init_help in
1655     short | recursive ) echo "Configuration of librfm5 5.3.16.4:";;
1656   esac
1657  cat <<\_ACEOF
1658
1659Optional Features:
1660  --disable-option-checking  ignore unrecognized --enable/--with options
1661  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1662  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1663  --enable-static[=PKGS]  build static libraries [default=no]
1664  --enable-shared[=PKGS]  build shared libraries [default=yes]
1665  --enable-fast-install[=PKGS]
1666                          optimize for fast installation [default=yes]
1667  --disable-libtool-lock  avoid locking (might break parallel builds)
1668  --enable-dependency-tracking
1669                          do not reject slow dependency extractors
1670  --disable-dependency-tracking
1671                          speeds up one-time build
1672  --enable-silent-rules          less verbose build output (undo: `make V=1')
1673  --disable-silent-rules         verbose build output (undo: `make V=0')
1674
1675  --enable-gtk2           Use GTK+2 even if GTK+3 is available (default=no )
1676
1677  --enable-bcrypt         Create "Blow fish encryption" module [[default=yes]]
1678  --enable-completion     Create "Bash completion" module [[default=yes]]
1679  --enable-ecombo         Create "Enhanced combo boxes" module [[default=yes]]
1680  --enable-props          Create "Properties dialog" module [[default=yes]]
1681  --enable-mime           Create "Mime resolution" module [[default=yes]]
1682  --enable-mmagic         Create "Mime previews" module (requires mime module)
1683                          [[default=yes]]
1684  --enable-zmagic         Create "Zip image previews" module (requires mime
1685                          mmagic modules) [[default=yes]]
1686  --enable-icontheme      Create "Icon theme management" module
1687                          [[default=yes]]
1688  --disable-nls           do not use Native Language Support
1689  --disable-largefile     omit support for large files
1690  --enable-gtk-doc        use gtk-doc to build documentation [[default=no]]
1691  --enable-gtk-doc-html   build documentation in html format [[default=yes]]
1692  --enable-gtk-doc-pdf    build documentation in pdf format [[default=no]]
1693
1694Optional Packages:
1695  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1696  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1697  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1698                          both]
1699  --with-aix-soname=aix|svr4|both
1700                          shared library versioning (aka "SONAME") variant to
1701                          provide on AIX, [default=aix].
1702  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1703  --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
1704                          compiler's sysroot if not specified).
1705  --with-centos           Create CentOS spec file instead of the default
1706                          OpenSUSE spec file (packagers only)
1707  --with-la-files         Do not remove libtool generated .la files
1708  --with-pkglibdata       Place pkgconfig .pc files at libdata/pkgconfig,
1709                          relative to prefix
1710  --with-pkgdatadir       Place pkgconfig .pc files at (datadir)/pkgconfig
1711
1712  --with-images           Install desktop background images (default=yes)
1713
1714
1715  --with-tcmalloc         Enable tcmalloc (developers only)
1716  --with-debug            Enable debug
1717  --with-trace            Enable trace
1718  --with-core             Enable core dumps
1719  --with-mpt              max preview threads (default=4)
1720  --with-html-dir=PATH    path to installed docs
1721  --with-locales-dir=DIR  Install locales into DIR
1722
1723Some influential environment variables:
1724  CC          C compiler command
1725  CFLAGS      C compiler flags
1726  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1727              nonstandard directory <lib dir>
1728  LIBS        libraries to pass to the linker, e.g. -l<library>
1729  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1730              you have headers in a nonstandard directory <include dir>
1731  LT_SYS_LIBRARY_PATH
1732              User-defined run-time library search path.
1733  CPP         C preprocessor
1734  PKG_CONFIG  path to pkg-config utility
1735  PKG_CONFIG_PATH
1736              directories to add to pkg-config's search path
1737  PKG_CONFIG_LIBDIR
1738              path overriding pkg-config's built-in search path
1739
1740Use these variables to override the choices made by `configure' or to help
1741it to find libraries and programs with nonstandard names/locations.
1742
1743Report bugs to <https://sourceforge.net/p/xffm/_list/tickets>.
1744librfm5 home page: <"http://xffm.org/librfm">.
1745_ACEOF
1746ac_status=$?
1747fi
1748
1749if test "$ac_init_help" = "recursive"; then
1750  # If there are subdirs, report their specific --help.
1751  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1752    test -d "$ac_dir" ||
1753      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1754      continue
1755    ac_builddir=.
1756
1757case "$ac_dir" in
1758.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1759*)
1760  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1761  # A ".." for each directory in $ac_dir_suffix.
1762  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1763  case $ac_top_builddir_sub in
1764  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1765  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1766  esac ;;
1767esac
1768ac_abs_top_builddir=$ac_pwd
1769ac_abs_builddir=$ac_pwd$ac_dir_suffix
1770# for backward compatibility:
1771ac_top_builddir=$ac_top_build_prefix
1772
1773case $srcdir in
1774  .)  # We are building in place.
1775    ac_srcdir=.
1776    ac_top_srcdir=$ac_top_builddir_sub
1777    ac_abs_top_srcdir=$ac_pwd ;;
1778  [\\/]* | ?:[\\/]* )  # Absolute name.
1779    ac_srcdir=$srcdir$ac_dir_suffix;
1780    ac_top_srcdir=$srcdir
1781    ac_abs_top_srcdir=$srcdir ;;
1782  *) # Relative name.
1783    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1784    ac_top_srcdir=$ac_top_build_prefix$srcdir
1785    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1786esac
1787ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1788
1789    cd "$ac_dir" || { ac_status=$?; continue; }
1790    # Check for guested configure.
1791    if test -f "$ac_srcdir/configure.gnu"; then
1792      echo &&
1793      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1794    elif test -f "$ac_srcdir/configure"; then
1795      echo &&
1796      $SHELL "$ac_srcdir/configure" --help=recursive
1797    else
1798      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1799    fi || ac_status=$?
1800    cd "$ac_pwd" || { ac_status=$?; break; }
1801  done
1802fi
1803
1804test -n "$ac_init_help" && exit $ac_status
1805if $ac_init_version; then
1806  cat <<\_ACEOF
1807librfm5 configure 5.3.16.4
1808generated by GNU Autoconf 2.69
1809
1810Copyright (C) 2012 Free Software Foundation, Inc.
1811This configure script is free software; the Free Software Foundation
1812gives unlimited permission to copy, distribute and modify it.
1813
1814"Copyright (c) 2000-2014 Edscott Wilson Garcia. <edscott@users.sf.net>"
1815_ACEOF
1816  exit
1817fi
1818
1819## ------------------------ ##
1820## Autoconf initialization. ##
1821## ------------------------ ##
1822
1823# ac_fn_c_try_compile LINENO
1824# --------------------------
1825# Try to compile conftest.$ac_ext, and return whether this succeeded.
1826ac_fn_c_try_compile ()
1827{
1828  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1829  rm -f conftest.$ac_objext
1830  if { { ac_try="$ac_compile"
1831case "(($ac_try" in
1832  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1833  *) ac_try_echo=$ac_try;;
1834esac
1835eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1836$as_echo "$ac_try_echo"; } >&5
1837  (eval "$ac_compile") 2>conftest.err
1838  ac_status=$?
1839  if test -s conftest.err; then
1840    grep -v '^ *+' conftest.err >conftest.er1
1841    cat conftest.er1 >&5
1842    mv -f conftest.er1 conftest.err
1843  fi
1844  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1845  test $ac_status = 0; } && {
1846	 test -z "$ac_c_werror_flag" ||
1847	 test ! -s conftest.err
1848       } && test -s conftest.$ac_objext; then :
1849  ac_retval=0
1850else
1851  $as_echo "$as_me: failed program was:" >&5
1852sed 's/^/| /' conftest.$ac_ext >&5
1853
1854	ac_retval=1
1855fi
1856  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1857  as_fn_set_status $ac_retval
1858
1859} # ac_fn_c_try_compile
1860
1861# ac_fn_c_try_link LINENO
1862# -----------------------
1863# Try to link conftest.$ac_ext, and return whether this succeeded.
1864ac_fn_c_try_link ()
1865{
1866  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1867  rm -f conftest.$ac_objext conftest$ac_exeext
1868  if { { ac_try="$ac_link"
1869case "(($ac_try" in
1870  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1871  *) ac_try_echo=$ac_try;;
1872esac
1873eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1874$as_echo "$ac_try_echo"; } >&5
1875  (eval "$ac_link") 2>conftest.err
1876  ac_status=$?
1877  if test -s conftest.err; then
1878    grep -v '^ *+' conftest.err >conftest.er1
1879    cat conftest.er1 >&5
1880    mv -f conftest.er1 conftest.err
1881  fi
1882  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1883  test $ac_status = 0; } && {
1884	 test -z "$ac_c_werror_flag" ||
1885	 test ! -s conftest.err
1886       } && test -s conftest$ac_exeext && {
1887	 test "$cross_compiling" = yes ||
1888	 test -x conftest$ac_exeext
1889       }; then :
1890  ac_retval=0
1891else
1892  $as_echo "$as_me: failed program was:" >&5
1893sed 's/^/| /' conftest.$ac_ext >&5
1894
1895	ac_retval=1
1896fi
1897  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1898  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1899  # interfere with the next link command; also delete a directory that is
1900  # left behind by Apple's compiler.  We do this before executing the actions.
1901  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1902  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1903  as_fn_set_status $ac_retval
1904
1905} # ac_fn_c_try_link
1906
1907# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1908# -------------------------------------------------------
1909# Tests whether HEADER exists and can be compiled using the include files in
1910# INCLUDES, setting the cache variable VAR accordingly.
1911ac_fn_c_check_header_compile ()
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$4
1922#include <$2>
1923_ACEOF
1924if ac_fn_c_try_compile "$LINENO"; then :
1925  eval "$3=yes"
1926else
1927  eval "$3=no"
1928fi
1929rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1930fi
1931eval ac_res=\$$3
1932	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1933$as_echo "$ac_res" >&6; }
1934  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1935
1936} # ac_fn_c_check_header_compile
1937
1938# ac_fn_c_try_cpp LINENO
1939# ----------------------
1940# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1941ac_fn_c_try_cpp ()
1942{
1943  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1944  if { { ac_try="$ac_cpp conftest.$ac_ext"
1945case "(($ac_try" in
1946  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1947  *) ac_try_echo=$ac_try;;
1948esac
1949eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1950$as_echo "$ac_try_echo"; } >&5
1951  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1952  ac_status=$?
1953  if test -s conftest.err; then
1954    grep -v '^ *+' conftest.err >conftest.er1
1955    cat conftest.er1 >&5
1956    mv -f conftest.er1 conftest.err
1957  fi
1958  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1959  test $ac_status = 0; } > conftest.i && {
1960	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1961	 test ! -s conftest.err
1962       }; then :
1963  ac_retval=0
1964else
1965  $as_echo "$as_me: failed program was:" >&5
1966sed 's/^/| /' conftest.$ac_ext >&5
1967
1968    ac_retval=1
1969fi
1970  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1971  as_fn_set_status $ac_retval
1972
1973} # ac_fn_c_try_cpp
1974
1975# ac_fn_c_try_run LINENO
1976# ----------------------
1977# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1978# that executables *can* be run.
1979ac_fn_c_try_run ()
1980{
1981  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1982  if { { ac_try="$ac_link"
1983case "(($ac_try" in
1984  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1985  *) ac_try_echo=$ac_try;;
1986esac
1987eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1988$as_echo "$ac_try_echo"; } >&5
1989  (eval "$ac_link") 2>&5
1990  ac_status=$?
1991  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1992  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1993  { { case "(($ac_try" in
1994  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1995  *) ac_try_echo=$ac_try;;
1996esac
1997eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1998$as_echo "$ac_try_echo"; } >&5
1999  (eval "$ac_try") 2>&5
2000  ac_status=$?
2001  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2002  test $ac_status = 0; }; }; then :
2003  ac_retval=0
2004else
2005  $as_echo "$as_me: program exited with status $ac_status" >&5
2006       $as_echo "$as_me: failed program was:" >&5
2007sed 's/^/| /' conftest.$ac_ext >&5
2008
2009       ac_retval=$ac_status
2010fi
2011  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2012  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2013  as_fn_set_status $ac_retval
2014
2015} # ac_fn_c_try_run
2016
2017# ac_fn_c_check_func LINENO FUNC VAR
2018# ----------------------------------
2019# Tests whether FUNC exists, setting the cache variable VAR accordingly
2020ac_fn_c_check_func ()
2021{
2022  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2023  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2024$as_echo_n "checking for $2... " >&6; }
2025if eval \${$3+:} false; then :
2026  $as_echo_n "(cached) " >&6
2027else
2028  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2029/* end confdefs.h.  */
2030/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2031   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
2032#define $2 innocuous_$2
2033
2034/* System header to define __stub macros and hopefully few prototypes,
2035    which can conflict with char $2 (); below.
2036    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2037    <limits.h> exists even on freestanding compilers.  */
2038
2039#ifdef __STDC__
2040# include <limits.h>
2041#else
2042# include <assert.h>
2043#endif
2044
2045#undef $2
2046
2047/* Override any GCC internal prototype to avoid an error.
2048   Use char because int might match the return type of a GCC
2049   builtin and then its argument prototype would still apply.  */
2050#ifdef __cplusplus
2051extern "C"
2052#endif
2053char $2 ();
2054/* The GNU C library defines this for functions which it implements
2055    to always fail with ENOSYS.  Some functions are actually named
2056    something starting with __ and the normal name is an alias.  */
2057#if defined __stub_$2 || defined __stub___$2
2058choke me
2059#endif
2060
2061int
2062main ()
2063{
2064return $2 ();
2065  ;
2066  return 0;
2067}
2068_ACEOF
2069if ac_fn_c_try_link "$LINENO"; then :
2070  eval "$3=yes"
2071else
2072  eval "$3=no"
2073fi
2074rm -f core conftest.err conftest.$ac_objext \
2075    conftest$ac_exeext conftest.$ac_ext
2076fi
2077eval ac_res=\$$3
2078	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2079$as_echo "$ac_res" >&6; }
2080  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2081
2082} # ac_fn_c_check_func
2083
2084# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2085# --------------------------------------------
2086# Tries to find the compile-time value of EXPR in a program that includes
2087# INCLUDES, setting VAR accordingly. Returns whether the value could be
2088# computed
2089ac_fn_c_compute_int ()
2090{
2091  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2092  if test "$cross_compiling" = yes; then
2093    # Depending upon the size, compute the lo and hi bounds.
2094cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2095/* end confdefs.h.  */
2096$4
2097int
2098main ()
2099{
2100static int test_array [1 - 2 * !(($2) >= 0)];
2101test_array [0] = 0;
2102return test_array [0];
2103
2104  ;
2105  return 0;
2106}
2107_ACEOF
2108if ac_fn_c_try_compile "$LINENO"; then :
2109  ac_lo=0 ac_mid=0
2110  while :; do
2111    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2112/* end confdefs.h.  */
2113$4
2114int
2115main ()
2116{
2117static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2118test_array [0] = 0;
2119return test_array [0];
2120
2121  ;
2122  return 0;
2123}
2124_ACEOF
2125if ac_fn_c_try_compile "$LINENO"; then :
2126  ac_hi=$ac_mid; break
2127else
2128  as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2129			if test $ac_lo -le $ac_mid; then
2130			  ac_lo= ac_hi=
2131			  break
2132			fi
2133			as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2134fi
2135rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2136  done
2137else
2138  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2139/* end confdefs.h.  */
2140$4
2141int
2142main ()
2143{
2144static int test_array [1 - 2 * !(($2) < 0)];
2145test_array [0] = 0;
2146return test_array [0];
2147
2148  ;
2149  return 0;
2150}
2151_ACEOF
2152if ac_fn_c_try_compile "$LINENO"; then :
2153  ac_hi=-1 ac_mid=-1
2154  while :; do
2155    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2156/* end confdefs.h.  */
2157$4
2158int
2159main ()
2160{
2161static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2162test_array [0] = 0;
2163return test_array [0];
2164
2165  ;
2166  return 0;
2167}
2168_ACEOF
2169if ac_fn_c_try_compile "$LINENO"; then :
2170  ac_lo=$ac_mid; break
2171else
2172  as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2173			if test $ac_mid -le $ac_hi; then
2174			  ac_lo= ac_hi=
2175			  break
2176			fi
2177			as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2178fi
2179rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2180  done
2181else
2182  ac_lo= ac_hi=
2183fi
2184rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2185fi
2186rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2187# Binary search between lo and hi bounds.
2188while test "x$ac_lo" != "x$ac_hi"; do
2189  as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2190  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2191/* end confdefs.h.  */
2192$4
2193int
2194main ()
2195{
2196static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2197test_array [0] = 0;
2198return test_array [0];
2199
2200  ;
2201  return 0;
2202}
2203_ACEOF
2204if ac_fn_c_try_compile "$LINENO"; then :
2205  ac_hi=$ac_mid
2206else
2207  as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2208fi
2209rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2210done
2211case $ac_lo in #((
2212?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2213'') ac_retval=1 ;;
2214esac
2215  else
2216    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2217/* end confdefs.h.  */
2218$4
2219static long int longval () { return $2; }
2220static unsigned long int ulongval () { return $2; }
2221#include <stdio.h>
2222#include <stdlib.h>
2223int
2224main ()
2225{
2226
2227  FILE *f = fopen ("conftest.val", "w");
2228  if (! f)
2229    return 1;
2230  if (($2) < 0)
2231    {
2232      long int i = longval ();
2233      if (i != ($2))
2234	return 1;
2235      fprintf (f, "%ld", i);
2236    }
2237  else
2238    {
2239      unsigned long int i = ulongval ();
2240      if (i != ($2))
2241	return 1;
2242      fprintf (f, "%lu", i);
2243    }
2244  /* Do not output a trailing newline, as this causes \r\n confusion
2245     on some platforms.  */
2246  return ferror (f) || fclose (f) != 0;
2247
2248  ;
2249  return 0;
2250}
2251_ACEOF
2252if ac_fn_c_try_run "$LINENO"; then :
2253  echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2254else
2255  ac_retval=1
2256fi
2257rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2258  conftest.$ac_objext conftest.beam conftest.$ac_ext
2259rm -f conftest.val
2260
2261  fi
2262  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2263  as_fn_set_status $ac_retval
2264
2265} # ac_fn_c_compute_int
2266
2267# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2268# -------------------------------------------------------
2269# Tests whether HEADER exists, giving a warning if it cannot be compiled using
2270# the include files in INCLUDES and setting the cache variable VAR
2271# accordingly.
2272ac_fn_c_check_header_mongrel ()
2273{
2274  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2275  if eval \${$3+:} false; then :
2276  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2277$as_echo_n "checking for $2... " >&6; }
2278if eval \${$3+:} false; then :
2279  $as_echo_n "(cached) " >&6
2280fi
2281eval ac_res=\$$3
2282	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2283$as_echo "$ac_res" >&6; }
2284else
2285  # Is the header compilable?
2286{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2287$as_echo_n "checking $2 usability... " >&6; }
2288cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2289/* end confdefs.h.  */
2290$4
2291#include <$2>
2292_ACEOF
2293if ac_fn_c_try_compile "$LINENO"; then :
2294  ac_header_compiler=yes
2295else
2296  ac_header_compiler=no
2297fi
2298rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2299{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2300$as_echo "$ac_header_compiler" >&6; }
2301
2302# Is the header present?
2303{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2304$as_echo_n "checking $2 presence... " >&6; }
2305cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2306/* end confdefs.h.  */
2307#include <$2>
2308_ACEOF
2309if ac_fn_c_try_cpp "$LINENO"; then :
2310  ac_header_preproc=yes
2311else
2312  ac_header_preproc=no
2313fi
2314rm -f conftest.err conftest.i conftest.$ac_ext
2315{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2316$as_echo "$ac_header_preproc" >&6; }
2317
2318# So?  What about this header?
2319case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2320  yes:no: )
2321    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2322$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2323    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2324$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2325    ;;
2326  no:yes:* )
2327    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2328$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2329    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2330$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2331    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2332$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2333    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2334$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2335    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2336$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2337( $as_echo "## ----------------------------------------------------------- ##
2338## Report this to https://sourceforge.net/p/xffm/_list/tickets ##
2339## ----------------------------------------------------------- ##"
2340     ) | sed "s/^/$as_me: WARNING:     /" >&2
2341    ;;
2342esac
2343  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2344$as_echo_n "checking for $2... " >&6; }
2345if eval \${$3+:} false; then :
2346  $as_echo_n "(cached) " >&6
2347else
2348  eval "$3=\$ac_header_compiler"
2349fi
2350eval ac_res=\$$3
2351	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2352$as_echo "$ac_res" >&6; }
2353fi
2354  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2355
2356} # ac_fn_c_check_header_mongrel
2357
2358# ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2359# ----------------------------------------------------
2360# Tries to find if the field MEMBER exists in type AGGR, after including
2361# INCLUDES, setting cache variable VAR accordingly.
2362ac_fn_c_check_member ()
2363{
2364  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2365  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2366$as_echo_n "checking for $2.$3... " >&6; }
2367if eval \${$4+:} false; then :
2368  $as_echo_n "(cached) " >&6
2369else
2370  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2371/* end confdefs.h.  */
2372$5
2373int
2374main ()
2375{
2376static $2 ac_aggr;
2377if (ac_aggr.$3)
2378return 0;
2379  ;
2380  return 0;
2381}
2382_ACEOF
2383if ac_fn_c_try_compile "$LINENO"; then :
2384  eval "$4=yes"
2385else
2386  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2387/* end confdefs.h.  */
2388$5
2389int
2390main ()
2391{
2392static $2 ac_aggr;
2393if (sizeof ac_aggr.$3)
2394return 0;
2395  ;
2396  return 0;
2397}
2398_ACEOF
2399if ac_fn_c_try_compile "$LINENO"; then :
2400  eval "$4=yes"
2401else
2402  eval "$4=no"
2403fi
2404rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2405fi
2406rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2407fi
2408eval ac_res=\$$4
2409	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2410$as_echo "$ac_res" >&6; }
2411  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2412
2413} # ac_fn_c_check_member
2414
2415# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2416# ---------------------------------------------
2417# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2418# accordingly.
2419ac_fn_c_check_decl ()
2420{
2421  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2422  as_decl_name=`echo $2|sed 's/ *(.*//'`
2423  as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2424  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2425$as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2426if eval \${$3+:} false; then :
2427  $as_echo_n "(cached) " >&6
2428else
2429  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2430/* end confdefs.h.  */
2431$4
2432int
2433main ()
2434{
2435#ifndef $as_decl_name
2436#ifdef __cplusplus
2437  (void) $as_decl_use;
2438#else
2439  (void) $as_decl_name;
2440#endif
2441#endif
2442
2443  ;
2444  return 0;
2445}
2446_ACEOF
2447if ac_fn_c_try_compile "$LINENO"; then :
2448  eval "$3=yes"
2449else
2450  eval "$3=no"
2451fi
2452rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2453fi
2454eval ac_res=\$$3
2455	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2456$as_echo "$ac_res" >&6; }
2457  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2458
2459} # ac_fn_c_check_decl
2460cat >config.log <<_ACEOF
2461This file contains any messages produced by compilers while
2462running configure, to aid debugging if configure makes a mistake.
2463
2464It was created by librfm5 $as_me 5.3.16.4, which was
2465generated by GNU Autoconf 2.69.  Invocation command line was
2466
2467  $ $0 $@
2468
2469_ACEOF
2470exec 5>>config.log
2471{
2472cat <<_ASUNAME
2473## --------- ##
2474## Platform. ##
2475## --------- ##
2476
2477hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2478uname -m = `(uname -m) 2>/dev/null || echo unknown`
2479uname -r = `(uname -r) 2>/dev/null || echo unknown`
2480uname -s = `(uname -s) 2>/dev/null || echo unknown`
2481uname -v = `(uname -v) 2>/dev/null || echo unknown`
2482
2483/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2484/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2485
2486/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2487/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2488/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2489/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2490/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2491/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2492/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2493
2494_ASUNAME
2495
2496as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2497for as_dir in $PATH
2498do
2499  IFS=$as_save_IFS
2500  test -z "$as_dir" && as_dir=.
2501    $as_echo "PATH: $as_dir"
2502  done
2503IFS=$as_save_IFS
2504
2505} >&5
2506
2507cat >&5 <<_ACEOF
2508
2509
2510## ----------- ##
2511## Core tests. ##
2512## ----------- ##
2513
2514_ACEOF
2515
2516
2517# Keep a trace of the command line.
2518# Strip out --no-create and --no-recursion so they do not pile up.
2519# Strip out --silent because we don't want to record it for future runs.
2520# Also quote any args containing shell meta-characters.
2521# Make two passes to allow for proper duplicate-argument suppression.
2522ac_configure_args=
2523ac_configure_args0=
2524ac_configure_args1=
2525ac_must_keep_next=false
2526for ac_pass in 1 2
2527do
2528  for ac_arg
2529  do
2530    case $ac_arg in
2531    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2532    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2533    | -silent | --silent | --silen | --sile | --sil)
2534      continue ;;
2535    *\'*)
2536      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2537    esac
2538    case $ac_pass in
2539    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2540    2)
2541      as_fn_append ac_configure_args1 " '$ac_arg'"
2542      if test $ac_must_keep_next = true; then
2543	ac_must_keep_next=false # Got value, back to normal.
2544      else
2545	case $ac_arg in
2546	  *=* | --config-cache | -C | -disable-* | --disable-* \
2547	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2548	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2549	  | -with-* | --with-* | -without-* | --without-* | --x)
2550	    case "$ac_configure_args0 " in
2551	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2552	    esac
2553	    ;;
2554	  -* ) ac_must_keep_next=true ;;
2555	esac
2556      fi
2557      as_fn_append ac_configure_args " '$ac_arg'"
2558      ;;
2559    esac
2560  done
2561done
2562{ ac_configure_args0=; unset ac_configure_args0;}
2563{ ac_configure_args1=; unset ac_configure_args1;}
2564
2565# When interrupted or exit'd, cleanup temporary files, and complete
2566# config.log.  We remove comments because anyway the quotes in there
2567# would cause problems or look ugly.
2568# WARNING: Use '\'' to represent an apostrophe within the trap.
2569# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2570trap 'exit_status=$?
2571  # Save into config.log some information that might help in debugging.
2572  {
2573    echo
2574
2575    $as_echo "## ---------------- ##
2576## Cache variables. ##
2577## ---------------- ##"
2578    echo
2579    # The following way of writing the cache mishandles newlines in values,
2580(
2581  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2582    eval ac_val=\$$ac_var
2583    case $ac_val in #(
2584    *${as_nl}*)
2585      case $ac_var in #(
2586      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2587$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2588      esac
2589      case $ac_var in #(
2590      _ | IFS | as_nl) ;; #(
2591      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2592      *) { eval $ac_var=; unset $ac_var;} ;;
2593      esac ;;
2594    esac
2595  done
2596  (set) 2>&1 |
2597    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2598    *${as_nl}ac_space=\ *)
2599      sed -n \
2600	"s/'\''/'\''\\\\'\'''\''/g;
2601	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2602      ;; #(
2603    *)
2604      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2605      ;;
2606    esac |
2607    sort
2608)
2609    echo
2610
2611    $as_echo "## ----------------- ##
2612## Output variables. ##
2613## ----------------- ##"
2614    echo
2615    for ac_var in $ac_subst_vars
2616    do
2617      eval ac_val=\$$ac_var
2618      case $ac_val in
2619      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2620      esac
2621      $as_echo "$ac_var='\''$ac_val'\''"
2622    done | sort
2623    echo
2624
2625    if test -n "$ac_subst_files"; then
2626      $as_echo "## ------------------- ##
2627## File substitutions. ##
2628## ------------------- ##"
2629      echo
2630      for ac_var in $ac_subst_files
2631      do
2632	eval ac_val=\$$ac_var
2633	case $ac_val in
2634	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2635	esac
2636	$as_echo "$ac_var='\''$ac_val'\''"
2637      done | sort
2638      echo
2639    fi
2640
2641    if test -s confdefs.h; then
2642      $as_echo "## ----------- ##
2643## confdefs.h. ##
2644## ----------- ##"
2645      echo
2646      cat confdefs.h
2647      echo
2648    fi
2649    test "$ac_signal" != 0 &&
2650      $as_echo "$as_me: caught signal $ac_signal"
2651    $as_echo "$as_me: exit $exit_status"
2652  } >&5
2653  rm -f core *.core core.conftest.* &&
2654    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2655    exit $exit_status
2656' 0
2657for ac_signal in 1 2 13 15; do
2658  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2659done
2660ac_signal=0
2661
2662# confdefs.h avoids OS command line length limits that DEFS can exceed.
2663rm -f -r conftest* confdefs.h
2664
2665$as_echo "/* confdefs.h */" > confdefs.h
2666
2667# Predefined preprocessor variables.
2668
2669cat >>confdefs.h <<_ACEOF
2670#define PACKAGE_NAME "$PACKAGE_NAME"
2671_ACEOF
2672
2673cat >>confdefs.h <<_ACEOF
2674#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2675_ACEOF
2676
2677cat >>confdefs.h <<_ACEOF
2678#define PACKAGE_VERSION "$PACKAGE_VERSION"
2679_ACEOF
2680
2681cat >>confdefs.h <<_ACEOF
2682#define PACKAGE_STRING "$PACKAGE_STRING"
2683_ACEOF
2684
2685cat >>confdefs.h <<_ACEOF
2686#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2687_ACEOF
2688
2689cat >>confdefs.h <<_ACEOF
2690#define PACKAGE_URL "$PACKAGE_URL"
2691_ACEOF
2692
2693
2694# Let the site file select an alternate cache file if it wants to.
2695# Prefer an explicitly selected file to automatically selected ones.
2696ac_site_file1=NONE
2697ac_site_file2=NONE
2698if test -n "$CONFIG_SITE"; then
2699  # We do not want a PATH search for config.site.
2700  case $CONFIG_SITE in #((
2701    -*)  ac_site_file1=./$CONFIG_SITE;;
2702    */*) ac_site_file1=$CONFIG_SITE;;
2703    *)   ac_site_file1=./$CONFIG_SITE;;
2704  esac
2705elif test "x$prefix" != xNONE; then
2706  ac_site_file1=$prefix/share/config.site
2707  ac_site_file2=$prefix/etc/config.site
2708else
2709  ac_site_file1=$ac_default_prefix/share/config.site
2710  ac_site_file2=$ac_default_prefix/etc/config.site
2711fi
2712for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2713do
2714  test "x$ac_site_file" = xNONE && continue
2715  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2716    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2717$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2718    sed 's/^/| /' "$ac_site_file" >&5
2719    . "$ac_site_file" \
2720      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2721$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2722as_fn_error $? "failed to load site script $ac_site_file
2723See \`config.log' for more details" "$LINENO" 5; }
2724  fi
2725done
2726
2727if test -r "$cache_file"; then
2728  # Some versions of bash will fail to source /dev/null (special files
2729  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2730  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2731    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2732$as_echo "$as_me: loading cache $cache_file" >&6;}
2733    case $cache_file in
2734      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2735      *)                      . "./$cache_file";;
2736    esac
2737  fi
2738else
2739  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2740$as_echo "$as_me: creating cache $cache_file" >&6;}
2741  >$cache_file
2742fi
2743
2744# Check that the precious variables saved in the cache have kept the same
2745# value.
2746ac_cache_corrupted=false
2747for ac_var in $ac_precious_vars; do
2748  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2749  eval ac_new_set=\$ac_env_${ac_var}_set
2750  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2751  eval ac_new_val=\$ac_env_${ac_var}_value
2752  case $ac_old_set,$ac_new_set in
2753    set,)
2754      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2755$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2756      ac_cache_corrupted=: ;;
2757    ,set)
2758      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2759$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2760      ac_cache_corrupted=: ;;
2761    ,);;
2762    *)
2763      if test "x$ac_old_val" != "x$ac_new_val"; then
2764	# differences in whitespace do not lead to failure.
2765	ac_old_val_w=`echo x $ac_old_val`
2766	ac_new_val_w=`echo x $ac_new_val`
2767	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2768	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2769$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2770	  ac_cache_corrupted=:
2771	else
2772	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2773$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2774	  eval $ac_var=\$ac_old_val
2775	fi
2776	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2777$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2778	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2779$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2780      fi;;
2781  esac
2782  # Pass precious variables to config.status.
2783  if test "$ac_new_set" = set; then
2784    case $ac_new_val in
2785    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2786    *) ac_arg=$ac_var=$ac_new_val ;;
2787    esac
2788    case " $ac_configure_args " in
2789      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2790      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2791    esac
2792  fi
2793done
2794if $ac_cache_corrupted; then
2795  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2796$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2797  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2798$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2799  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2800fi
2801## -------------------- ##
2802## Main body of script. ##
2803## -------------------- ##
2804
2805ac_ext=c
2806ac_cpp='$CPP $CPPFLAGS'
2807ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2808ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2809ac_compiler_gnu=$ac_cv_c_compiler_gnu
2810
2811
2812
2813
2814# hmm. AM_PROG_AR make automake look for install-sh in $home...
2815# unless preceded by AC_PROG_INSTALL
2816ac_aux_dir=
2817for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2818  if test -f "$ac_dir/install-sh"; then
2819    ac_aux_dir=$ac_dir
2820    ac_install_sh="$ac_aux_dir/install-sh -c"
2821    break
2822  elif test -f "$ac_dir/install.sh"; then
2823    ac_aux_dir=$ac_dir
2824    ac_install_sh="$ac_aux_dir/install.sh -c"
2825    break
2826  elif test -f "$ac_dir/shtool"; then
2827    ac_aux_dir=$ac_dir
2828    ac_install_sh="$ac_aux_dir/shtool install -c"
2829    break
2830  fi
2831done
2832if test -z "$ac_aux_dir"; then
2833  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2834fi
2835
2836# These three variables are undocumented and unsupported,
2837# and are intended to be withdrawn in a future Autoconf release.
2838# They can cause serious problems if a builder's source tree is in a directory
2839# whose full name contains unusual characters.
2840ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2841ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2842ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2843
2844
2845# Find a good install program.  We prefer a C program (faster),
2846# so one script is as good as another.  But avoid the broken or
2847# incompatible versions:
2848# SysV /etc/install, /usr/sbin/install
2849# SunOS /usr/etc/install
2850# IRIX /sbin/install
2851# AIX /bin/install
2852# AmigaOS /C/install, which installs bootblocks on floppy discs
2853# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2854# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2855# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2856# OS/2's system install, which has a completely different semantic
2857# ./install, which can be erroneously created by make from ./install.sh.
2858# Reject install programs that cannot install multiple files.
2859{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2860$as_echo_n "checking for a BSD-compatible install... " >&6; }
2861if test -z "$INSTALL"; then
2862if ${ac_cv_path_install+:} false; then :
2863  $as_echo_n "(cached) " >&6
2864else
2865  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2866for as_dir in $PATH
2867do
2868  IFS=$as_save_IFS
2869  test -z "$as_dir" && as_dir=.
2870    # Account for people who put trailing slashes in PATH elements.
2871case $as_dir/ in #((
2872  ./ | .// | /[cC]/* | \
2873  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2874  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2875  /usr/ucb/* ) ;;
2876  *)
2877    # OSF1 and SCO ODT 3.0 have their own names for install.
2878    # Don't use installbsd from OSF since it installs stuff as root
2879    # by default.
2880    for ac_prog in ginstall scoinst install; do
2881      for ac_exec_ext in '' $ac_executable_extensions; do
2882	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2883	  if test $ac_prog = install &&
2884	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2885	    # AIX install.  It has an incompatible calling convention.
2886	    :
2887	  elif test $ac_prog = install &&
2888	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2889	    # program-specific install script used by HP pwplus--don't use.
2890	    :
2891	  else
2892	    rm -rf conftest.one conftest.two conftest.dir
2893	    echo one > conftest.one
2894	    echo two > conftest.two
2895	    mkdir conftest.dir
2896	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2897	      test -s conftest.one && test -s conftest.two &&
2898	      test -s conftest.dir/conftest.one &&
2899	      test -s conftest.dir/conftest.two
2900	    then
2901	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2902	      break 3
2903	    fi
2904	  fi
2905	fi
2906      done
2907    done
2908    ;;
2909esac
2910
2911  done
2912IFS=$as_save_IFS
2913
2914rm -rf conftest.one conftest.two conftest.dir
2915
2916fi
2917  if test "${ac_cv_path_install+set}" = set; then
2918    INSTALL=$ac_cv_path_install
2919  else
2920    # As a last resort, use the slow shell script.  Don't cache a
2921    # value for INSTALL within a source directory, because that will
2922    # break other packages using the cache if that directory is
2923    # removed, or if the value is a relative name.
2924    INSTALL=$ac_install_sh
2925  fi
2926fi
2927{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2928$as_echo "$INSTALL" >&6; }
2929
2930# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2931# It thinks the first close brace ends the variable substitution.
2932test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2933
2934test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2935
2936test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2937
2938# Expand $ac_aux_dir to an absolute path.
2939am_aux_dir=`cd "$ac_aux_dir" && pwd`
2940
2941ac_ext=c
2942ac_cpp='$CPP $CPPFLAGS'
2943ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2944ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2945ac_compiler_gnu=$ac_cv_c_compiler_gnu
2946if test -n "$ac_tool_prefix"; then
2947  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2948set dummy ${ac_tool_prefix}gcc; ac_word=$2
2949{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2950$as_echo_n "checking for $ac_word... " >&6; }
2951if ${ac_cv_prog_CC+:} false; then :
2952  $as_echo_n "(cached) " >&6
2953else
2954  if test -n "$CC"; then
2955  ac_cv_prog_CC="$CC" # Let the user override the test.
2956else
2957as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2958for as_dir in $PATH
2959do
2960  IFS=$as_save_IFS
2961  test -z "$as_dir" && as_dir=.
2962    for ac_exec_ext in '' $ac_executable_extensions; do
2963  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2964    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2965    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2966    break 2
2967  fi
2968done
2969  done
2970IFS=$as_save_IFS
2971
2972fi
2973fi
2974CC=$ac_cv_prog_CC
2975if test -n "$CC"; then
2976  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2977$as_echo "$CC" >&6; }
2978else
2979  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2980$as_echo "no" >&6; }
2981fi
2982
2983
2984fi
2985if test -z "$ac_cv_prog_CC"; then
2986  ac_ct_CC=$CC
2987  # Extract the first word of "gcc", so it can be a program name with args.
2988set dummy gcc; ac_word=$2
2989{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2990$as_echo_n "checking for $ac_word... " >&6; }
2991if ${ac_cv_prog_ac_ct_CC+:} false; then :
2992  $as_echo_n "(cached) " >&6
2993else
2994  if test -n "$ac_ct_CC"; then
2995  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2996else
2997as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2998for as_dir in $PATH
2999do
3000  IFS=$as_save_IFS
3001  test -z "$as_dir" && as_dir=.
3002    for ac_exec_ext in '' $ac_executable_extensions; do
3003  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3004    ac_cv_prog_ac_ct_CC="gcc"
3005    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3006    break 2
3007  fi
3008done
3009  done
3010IFS=$as_save_IFS
3011
3012fi
3013fi
3014ac_ct_CC=$ac_cv_prog_ac_ct_CC
3015if test -n "$ac_ct_CC"; then
3016  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3017$as_echo "$ac_ct_CC" >&6; }
3018else
3019  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3020$as_echo "no" >&6; }
3021fi
3022
3023  if test "x$ac_ct_CC" = x; then
3024    CC=""
3025  else
3026    case $cross_compiling:$ac_tool_warned in
3027yes:)
3028{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3029$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3030ac_tool_warned=yes ;;
3031esac
3032    CC=$ac_ct_CC
3033  fi
3034else
3035  CC="$ac_cv_prog_CC"
3036fi
3037
3038if test -z "$CC"; then
3039          if test -n "$ac_tool_prefix"; then
3040    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3041set dummy ${ac_tool_prefix}cc; ac_word=$2
3042{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3043$as_echo_n "checking for $ac_word... " >&6; }
3044if ${ac_cv_prog_CC+:} false; then :
3045  $as_echo_n "(cached) " >&6
3046else
3047  if test -n "$CC"; then
3048  ac_cv_prog_CC="$CC" # Let the user override the test.
3049else
3050as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3051for as_dir in $PATH
3052do
3053  IFS=$as_save_IFS
3054  test -z "$as_dir" && as_dir=.
3055    for ac_exec_ext in '' $ac_executable_extensions; do
3056  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3057    ac_cv_prog_CC="${ac_tool_prefix}cc"
3058    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3059    break 2
3060  fi
3061done
3062  done
3063IFS=$as_save_IFS
3064
3065fi
3066fi
3067CC=$ac_cv_prog_CC
3068if test -n "$CC"; then
3069  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3070$as_echo "$CC" >&6; }
3071else
3072  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3073$as_echo "no" >&6; }
3074fi
3075
3076
3077  fi
3078fi
3079if test -z "$CC"; then
3080  # Extract the first word of "cc", so it can be a program name with args.
3081set dummy cc; ac_word=$2
3082{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3083$as_echo_n "checking for $ac_word... " >&6; }
3084if ${ac_cv_prog_CC+:} false; then :
3085  $as_echo_n "(cached) " >&6
3086else
3087  if test -n "$CC"; then
3088  ac_cv_prog_CC="$CC" # Let the user override the test.
3089else
3090  ac_prog_rejected=no
3091as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3092for as_dir in $PATH
3093do
3094  IFS=$as_save_IFS
3095  test -z "$as_dir" && as_dir=.
3096    for ac_exec_ext in '' $ac_executable_extensions; do
3097  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3098    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3099       ac_prog_rejected=yes
3100       continue
3101     fi
3102    ac_cv_prog_CC="cc"
3103    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3104    break 2
3105  fi
3106done
3107  done
3108IFS=$as_save_IFS
3109
3110if test $ac_prog_rejected = yes; then
3111  # We found a bogon in the path, so make sure we never use it.
3112  set dummy $ac_cv_prog_CC
3113  shift
3114  if test $# != 0; then
3115    # We chose a different compiler from the bogus one.
3116    # However, it has the same basename, so the bogon will be chosen
3117    # first if we set CC to just the basename; use the full file name.
3118    shift
3119    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3120  fi
3121fi
3122fi
3123fi
3124CC=$ac_cv_prog_CC
3125if test -n "$CC"; then
3126  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3127$as_echo "$CC" >&6; }
3128else
3129  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3130$as_echo "no" >&6; }
3131fi
3132
3133
3134fi
3135if test -z "$CC"; then
3136  if test -n "$ac_tool_prefix"; then
3137  for ac_prog in cl.exe
3138  do
3139    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3140set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3141{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3142$as_echo_n "checking for $ac_word... " >&6; }
3143if ${ac_cv_prog_CC+:} false; then :
3144  $as_echo_n "(cached) " >&6
3145else
3146  if test -n "$CC"; then
3147  ac_cv_prog_CC="$CC" # Let the user override the test.
3148else
3149as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3150for as_dir in $PATH
3151do
3152  IFS=$as_save_IFS
3153  test -z "$as_dir" && as_dir=.
3154    for ac_exec_ext in '' $ac_executable_extensions; do
3155  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3156    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3157    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3158    break 2
3159  fi
3160done
3161  done
3162IFS=$as_save_IFS
3163
3164fi
3165fi
3166CC=$ac_cv_prog_CC
3167if test -n "$CC"; then
3168  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3169$as_echo "$CC" >&6; }
3170else
3171  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3172$as_echo "no" >&6; }
3173fi
3174
3175
3176    test -n "$CC" && break
3177  done
3178fi
3179if test -z "$CC"; then
3180  ac_ct_CC=$CC
3181  for ac_prog in cl.exe
3182do
3183  # Extract the first word of "$ac_prog", so it can be a program name with args.
3184set dummy $ac_prog; ac_word=$2
3185{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3186$as_echo_n "checking for $ac_word... " >&6; }
3187if ${ac_cv_prog_ac_ct_CC+:} false; then :
3188  $as_echo_n "(cached) " >&6
3189else
3190  if test -n "$ac_ct_CC"; then
3191  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3192else
3193as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3194for as_dir in $PATH
3195do
3196  IFS=$as_save_IFS
3197  test -z "$as_dir" && as_dir=.
3198    for ac_exec_ext in '' $ac_executable_extensions; do
3199  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3200    ac_cv_prog_ac_ct_CC="$ac_prog"
3201    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3202    break 2
3203  fi
3204done
3205  done
3206IFS=$as_save_IFS
3207
3208fi
3209fi
3210ac_ct_CC=$ac_cv_prog_ac_ct_CC
3211if test -n "$ac_ct_CC"; then
3212  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3213$as_echo "$ac_ct_CC" >&6; }
3214else
3215  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3216$as_echo "no" >&6; }
3217fi
3218
3219
3220  test -n "$ac_ct_CC" && break
3221done
3222
3223  if test "x$ac_ct_CC" = x; then
3224    CC=""
3225  else
3226    case $cross_compiling:$ac_tool_warned in
3227yes:)
3228{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3229$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3230ac_tool_warned=yes ;;
3231esac
3232    CC=$ac_ct_CC
3233  fi
3234fi
3235
3236fi
3237
3238
3239test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3240$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3241as_fn_error $? "no acceptable C compiler found in \$PATH
3242See \`config.log' for more details" "$LINENO" 5; }
3243
3244# Provide some information about the compiler.
3245$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3246set X $ac_compile
3247ac_compiler=$2
3248for ac_option in --version -v -V -qversion; do
3249  { { ac_try="$ac_compiler $ac_option >&5"
3250case "(($ac_try" in
3251  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3252  *) ac_try_echo=$ac_try;;
3253esac
3254eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3255$as_echo "$ac_try_echo"; } >&5
3256  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3257  ac_status=$?
3258  if test -s conftest.err; then
3259    sed '10a\
3260... rest of stderr output deleted ...
3261         10q' conftest.err >conftest.er1
3262    cat conftest.er1 >&5
3263  fi
3264  rm -f conftest.er1 conftest.err
3265  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3266  test $ac_status = 0; }
3267done
3268
3269cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3270/* end confdefs.h.  */
3271
3272int
3273main ()
3274{
3275
3276  ;
3277  return 0;
3278}
3279_ACEOF
3280ac_clean_files_save=$ac_clean_files
3281ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3282# Try to create an executable without -o first, disregard a.out.
3283# It will help us diagnose broken compilers, and finding out an intuition
3284# of exeext.
3285{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3286$as_echo_n "checking whether the C compiler works... " >&6; }
3287ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3288
3289# The possible output files:
3290ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3291
3292ac_rmfiles=
3293for ac_file in $ac_files
3294do
3295  case $ac_file in
3296    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3297    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3298  esac
3299done
3300rm -f $ac_rmfiles
3301
3302if { { ac_try="$ac_link_default"
3303case "(($ac_try" in
3304  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3305  *) ac_try_echo=$ac_try;;
3306esac
3307eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3308$as_echo "$ac_try_echo"; } >&5
3309  (eval "$ac_link_default") 2>&5
3310  ac_status=$?
3311  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3312  test $ac_status = 0; }; then :
3313  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3314# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3315# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3316# so that the user can short-circuit this test for compilers unknown to
3317# Autoconf.
3318for ac_file in $ac_files ''
3319do
3320  test -f "$ac_file" || continue
3321  case $ac_file in
3322    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3323	;;
3324    [ab].out )
3325	# We found the default executable, but exeext='' is most
3326	# certainly right.
3327	break;;
3328    *.* )
3329	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3330	then :; else
3331	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3332	fi
3333	# We set ac_cv_exeext here because the later test for it is not
3334	# safe: cross compilers may not add the suffix if given an `-o'
3335	# argument, so we may need to know it at that point already.
3336	# Even if this section looks crufty: it has the advantage of
3337	# actually working.
3338	break;;
3339    * )
3340	break;;
3341  esac
3342done
3343test "$ac_cv_exeext" = no && ac_cv_exeext=
3344
3345else
3346  ac_file=''
3347fi
3348if test -z "$ac_file"; then :
3349  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3350$as_echo "no" >&6; }
3351$as_echo "$as_me: failed program was:" >&5
3352sed 's/^/| /' conftest.$ac_ext >&5
3353
3354{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3355$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3356as_fn_error 77 "C compiler cannot create executables
3357See \`config.log' for more details" "$LINENO" 5; }
3358else
3359  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3360$as_echo "yes" >&6; }
3361fi
3362{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3363$as_echo_n "checking for C compiler default output file name... " >&6; }
3364{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3365$as_echo "$ac_file" >&6; }
3366ac_exeext=$ac_cv_exeext
3367
3368rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3369ac_clean_files=$ac_clean_files_save
3370{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3371$as_echo_n "checking for suffix of executables... " >&6; }
3372if { { ac_try="$ac_link"
3373case "(($ac_try" in
3374  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3375  *) ac_try_echo=$ac_try;;
3376esac
3377eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3378$as_echo "$ac_try_echo"; } >&5
3379  (eval "$ac_link") 2>&5
3380  ac_status=$?
3381  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3382  test $ac_status = 0; }; then :
3383  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3384# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3385# work properly (i.e., refer to `conftest.exe'), while it won't with
3386# `rm'.
3387for ac_file in conftest.exe conftest conftest.*; do
3388  test -f "$ac_file" || continue
3389  case $ac_file in
3390    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3391    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3392	  break;;
3393    * ) break;;
3394  esac
3395done
3396else
3397  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3398$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3399as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3400See \`config.log' for more details" "$LINENO" 5; }
3401fi
3402rm -f conftest conftest$ac_cv_exeext
3403{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3404$as_echo "$ac_cv_exeext" >&6; }
3405
3406rm -f conftest.$ac_ext
3407EXEEXT=$ac_cv_exeext
3408ac_exeext=$EXEEXT
3409cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3410/* end confdefs.h.  */
3411#include <stdio.h>
3412int
3413main ()
3414{
3415FILE *f = fopen ("conftest.out", "w");
3416 return ferror (f) || fclose (f) != 0;
3417
3418  ;
3419  return 0;
3420}
3421_ACEOF
3422ac_clean_files="$ac_clean_files conftest.out"
3423# Check that the compiler produces executables we can run.  If not, either
3424# the compiler is broken, or we cross compile.
3425{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3426$as_echo_n "checking whether we are cross compiling... " >&6; }
3427if test "$cross_compiling" != yes; then
3428  { { ac_try="$ac_link"
3429case "(($ac_try" in
3430  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3431  *) ac_try_echo=$ac_try;;
3432esac
3433eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3434$as_echo "$ac_try_echo"; } >&5
3435  (eval "$ac_link") 2>&5
3436  ac_status=$?
3437  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3438  test $ac_status = 0; }
3439  if { ac_try='./conftest$ac_cv_exeext'
3440  { { case "(($ac_try" in
3441  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3442  *) ac_try_echo=$ac_try;;
3443esac
3444eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3445$as_echo "$ac_try_echo"; } >&5
3446  (eval "$ac_try") 2>&5
3447  ac_status=$?
3448  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3449  test $ac_status = 0; }; }; then
3450    cross_compiling=no
3451  else
3452    if test "$cross_compiling" = maybe; then
3453	cross_compiling=yes
3454    else
3455	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3456$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3457as_fn_error $? "cannot run C compiled programs.
3458If you meant to cross compile, use \`--host'.
3459See \`config.log' for more details" "$LINENO" 5; }
3460    fi
3461  fi
3462fi
3463{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3464$as_echo "$cross_compiling" >&6; }
3465
3466rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3467ac_clean_files=$ac_clean_files_save
3468{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3469$as_echo_n "checking for suffix of object files... " >&6; }
3470if ${ac_cv_objext+:} false; then :
3471  $as_echo_n "(cached) " >&6
3472else
3473  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3474/* end confdefs.h.  */
3475
3476int
3477main ()
3478{
3479
3480  ;
3481  return 0;
3482}
3483_ACEOF
3484rm -f conftest.o conftest.obj
3485if { { ac_try="$ac_compile"
3486case "(($ac_try" in
3487  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3488  *) ac_try_echo=$ac_try;;
3489esac
3490eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3491$as_echo "$ac_try_echo"; } >&5
3492  (eval "$ac_compile") 2>&5
3493  ac_status=$?
3494  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3495  test $ac_status = 0; }; then :
3496  for ac_file in conftest.o conftest.obj conftest.*; do
3497  test -f "$ac_file" || continue;
3498  case $ac_file in
3499    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3500    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3501       break;;
3502  esac
3503done
3504else
3505  $as_echo "$as_me: failed program was:" >&5
3506sed 's/^/| /' conftest.$ac_ext >&5
3507
3508{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3509$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3510as_fn_error $? "cannot compute suffix of object files: cannot compile
3511See \`config.log' for more details" "$LINENO" 5; }
3512fi
3513rm -f conftest.$ac_cv_objext conftest.$ac_ext
3514fi
3515{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3516$as_echo "$ac_cv_objext" >&6; }
3517OBJEXT=$ac_cv_objext
3518ac_objext=$OBJEXT
3519{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3520$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3521if ${ac_cv_c_compiler_gnu+:} false; then :
3522  $as_echo_n "(cached) " >&6
3523else
3524  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3525/* end confdefs.h.  */
3526
3527int
3528main ()
3529{
3530#ifndef __GNUC__
3531       choke me
3532#endif
3533
3534  ;
3535  return 0;
3536}
3537_ACEOF
3538if ac_fn_c_try_compile "$LINENO"; then :
3539  ac_compiler_gnu=yes
3540else
3541  ac_compiler_gnu=no
3542fi
3543rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3544ac_cv_c_compiler_gnu=$ac_compiler_gnu
3545
3546fi
3547{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3548$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3549if test $ac_compiler_gnu = yes; then
3550  GCC=yes
3551else
3552  GCC=
3553fi
3554ac_test_CFLAGS=${CFLAGS+set}
3555ac_save_CFLAGS=$CFLAGS
3556{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3557$as_echo_n "checking whether $CC accepts -g... " >&6; }
3558if ${ac_cv_prog_cc_g+:} false; then :
3559  $as_echo_n "(cached) " >&6
3560else
3561  ac_save_c_werror_flag=$ac_c_werror_flag
3562   ac_c_werror_flag=yes
3563   ac_cv_prog_cc_g=no
3564   CFLAGS="-g"
3565   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3566/* end confdefs.h.  */
3567
3568int
3569main ()
3570{
3571
3572  ;
3573  return 0;
3574}
3575_ACEOF
3576if ac_fn_c_try_compile "$LINENO"; then :
3577  ac_cv_prog_cc_g=yes
3578else
3579  CFLAGS=""
3580      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3581/* end confdefs.h.  */
3582
3583int
3584main ()
3585{
3586
3587  ;
3588  return 0;
3589}
3590_ACEOF
3591if ac_fn_c_try_compile "$LINENO"; then :
3592
3593else
3594  ac_c_werror_flag=$ac_save_c_werror_flag
3595	 CFLAGS="-g"
3596	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3597/* end confdefs.h.  */
3598
3599int
3600main ()
3601{
3602
3603  ;
3604  return 0;
3605}
3606_ACEOF
3607if ac_fn_c_try_compile "$LINENO"; then :
3608  ac_cv_prog_cc_g=yes
3609fi
3610rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3611fi
3612rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3613fi
3614rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3615   ac_c_werror_flag=$ac_save_c_werror_flag
3616fi
3617{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3618$as_echo "$ac_cv_prog_cc_g" >&6; }
3619if test "$ac_test_CFLAGS" = set; then
3620  CFLAGS=$ac_save_CFLAGS
3621elif test $ac_cv_prog_cc_g = yes; then
3622  if test "$GCC" = yes; then
3623    CFLAGS="-g -O2"
3624  else
3625    CFLAGS="-g"
3626  fi
3627else
3628  if test "$GCC" = yes; then
3629    CFLAGS="-O2"
3630  else
3631    CFLAGS=
3632  fi
3633fi
3634{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3635$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3636if ${ac_cv_prog_cc_c89+:} false; then :
3637  $as_echo_n "(cached) " >&6
3638else
3639  ac_cv_prog_cc_c89=no
3640ac_save_CC=$CC
3641cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3642/* end confdefs.h.  */
3643#include <stdarg.h>
3644#include <stdio.h>
3645struct stat;
3646/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3647struct buf { int x; };
3648FILE * (*rcsopen) (struct buf *, struct stat *, int);
3649static char *e (p, i)
3650     char **p;
3651     int i;
3652{
3653  return p[i];
3654}
3655static char *f (char * (*g) (char **, int), char **p, ...)
3656{
3657  char *s;
3658  va_list v;
3659  va_start (v,p);
3660  s = g (p, va_arg (v,int));
3661  va_end (v);
3662  return s;
3663}
3664
3665/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3666   function prototypes and stuff, but not '\xHH' hex character constants.
3667   These don't provoke an error unfortunately, instead are silently treated
3668   as 'x'.  The following induces an error, until -std is added to get
3669   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3670   array size at least.  It's necessary to write '\x00'==0 to get something
3671   that's true only with -std.  */
3672int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3673
3674/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3675   inside strings and character constants.  */
3676#define FOO(x) 'x'
3677int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3678
3679int test (int i, double x);
3680struct s1 {int (*f) (int a);};
3681struct s2 {int (*f) (double a);};
3682int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3683int argc;
3684char **argv;
3685int
3686main ()
3687{
3688return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3689  ;
3690  return 0;
3691}
3692_ACEOF
3693for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3694	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3695do
3696  CC="$ac_save_CC $ac_arg"
3697  if ac_fn_c_try_compile "$LINENO"; then :
3698  ac_cv_prog_cc_c89=$ac_arg
3699fi
3700rm -f core conftest.err conftest.$ac_objext
3701  test "x$ac_cv_prog_cc_c89" != "xno" && break
3702done
3703rm -f conftest.$ac_ext
3704CC=$ac_save_CC
3705
3706fi
3707# AC_CACHE_VAL
3708case "x$ac_cv_prog_cc_c89" in
3709  x)
3710    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3711$as_echo "none needed" >&6; } ;;
3712  xno)
3713    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3714$as_echo "unsupported" >&6; } ;;
3715  *)
3716    CC="$CC $ac_cv_prog_cc_c89"
3717    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3718$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3719esac
3720if test "x$ac_cv_prog_cc_c89" != xno; then :
3721
3722fi
3723
3724ac_ext=c
3725ac_cpp='$CPP $CPPFLAGS'
3726ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3727ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3728ac_compiler_gnu=$ac_cv_c_compiler_gnu
3729
3730ac_ext=c
3731ac_cpp='$CPP $CPPFLAGS'
3732ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3733ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3734ac_compiler_gnu=$ac_cv_c_compiler_gnu
3735{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3736$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3737if ${am_cv_prog_cc_c_o+:} false; then :
3738  $as_echo_n "(cached) " >&6
3739else
3740  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3741/* end confdefs.h.  */
3742
3743int
3744main ()
3745{
3746
3747  ;
3748  return 0;
3749}
3750_ACEOF
3751  # Make sure it works both with $CC and with simple cc.
3752  # Following AC_PROG_CC_C_O, we do the test twice because some
3753  # compilers refuse to overwrite an existing .o file with -o,
3754  # though they will create one.
3755  am_cv_prog_cc_c_o=yes
3756  for am_i in 1 2; do
3757    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3758   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3759   ac_status=$?
3760   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3761   (exit $ac_status); } \
3762         && test -f conftest2.$ac_objext; then
3763      : OK
3764    else
3765      am_cv_prog_cc_c_o=no
3766      break
3767    fi
3768  done
3769  rm -f core conftest*
3770  unset am_i
3771fi
3772{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3773$as_echo "$am_cv_prog_cc_c_o" >&6; }
3774if test "$am_cv_prog_cc_c_o" != yes; then
3775   # Losing compiler, so override with the script.
3776   # FIXME: It is wrong to rewrite CC.
3777   # But if we don't then we get into trouble of one sort or another.
3778   # A longer-term fix would be to have automake use am__CC in this case,
3779   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3780   CC="$am_aux_dir/compile $CC"
3781fi
3782ac_ext=c
3783ac_cpp='$CPP $CPPFLAGS'
3784ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3785ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3786ac_compiler_gnu=$ac_cv_c_compiler_gnu
3787
3788
3789
3790if test -n "$ac_tool_prefix"; then
3791  for ac_prog in ar lib "link -lib"
3792  do
3793    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3794set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3795{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3796$as_echo_n "checking for $ac_word... " >&6; }
3797if ${ac_cv_prog_AR+:} false; then :
3798  $as_echo_n "(cached) " >&6
3799else
3800  if test -n "$AR"; then
3801  ac_cv_prog_AR="$AR" # Let the user override the test.
3802else
3803as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3804for as_dir in $PATH
3805do
3806  IFS=$as_save_IFS
3807  test -z "$as_dir" && as_dir=.
3808    for ac_exec_ext in '' $ac_executable_extensions; do
3809  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3810    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
3811    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3812    break 2
3813  fi
3814done
3815  done
3816IFS=$as_save_IFS
3817
3818fi
3819fi
3820AR=$ac_cv_prog_AR
3821if test -n "$AR"; then
3822  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
3823$as_echo "$AR" >&6; }
3824else
3825  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3826$as_echo "no" >&6; }
3827fi
3828
3829
3830    test -n "$AR" && break
3831  done
3832fi
3833if test -z "$AR"; then
3834  ac_ct_AR=$AR
3835  for ac_prog in ar lib "link -lib"
3836do
3837  # Extract the first word of "$ac_prog", so it can be a program name with args.
3838set dummy $ac_prog; ac_word=$2
3839{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3840$as_echo_n "checking for $ac_word... " >&6; }
3841if ${ac_cv_prog_ac_ct_AR+:} false; then :
3842  $as_echo_n "(cached) " >&6
3843else
3844  if test -n "$ac_ct_AR"; then
3845  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3846else
3847as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3848for as_dir in $PATH
3849do
3850  IFS=$as_save_IFS
3851  test -z "$as_dir" && as_dir=.
3852    for ac_exec_ext in '' $ac_executable_extensions; do
3853  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3854    ac_cv_prog_ac_ct_AR="$ac_prog"
3855    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3856    break 2
3857  fi
3858done
3859  done
3860IFS=$as_save_IFS
3861
3862fi
3863fi
3864ac_ct_AR=$ac_cv_prog_ac_ct_AR
3865if test -n "$ac_ct_AR"; then
3866  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
3867$as_echo "$ac_ct_AR" >&6; }
3868else
3869  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3870$as_echo "no" >&6; }
3871fi
3872
3873
3874  test -n "$ac_ct_AR" && break
3875done
3876
3877  if test "x$ac_ct_AR" = x; then
3878    AR="false"
3879  else
3880    case $cross_compiling:$ac_tool_warned in
3881yes:)
3882{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3883$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3884ac_tool_warned=yes ;;
3885esac
3886    AR=$ac_ct_AR
3887  fi
3888fi
3889
3890: ${AR=ar}
3891
3892{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
3893$as_echo_n "checking the archiver ($AR) interface... " >&6; }
3894if ${am_cv_ar_interface+:} false; then :
3895  $as_echo_n "(cached) " >&6
3896else
3897  ac_ext=c
3898ac_cpp='$CPP $CPPFLAGS'
3899ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3900ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3901ac_compiler_gnu=$ac_cv_c_compiler_gnu
3902
3903   am_cv_ar_interface=ar
3904   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3905/* end confdefs.h.  */
3906int some_variable = 0;
3907_ACEOF
3908if ac_fn_c_try_compile "$LINENO"; then :
3909  am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
3910      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
3911  (eval $am_ar_try) 2>&5
3912  ac_status=$?
3913  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3914  test $ac_status = 0; }
3915      if test "$ac_status" -eq 0; then
3916        am_cv_ar_interface=ar
3917      else
3918        am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
3919        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
3920  (eval $am_ar_try) 2>&5
3921  ac_status=$?
3922  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3923  test $ac_status = 0; }
3924        if test "$ac_status" -eq 0; then
3925          am_cv_ar_interface=lib
3926        else
3927          am_cv_ar_interface=unknown
3928        fi
3929      fi
3930      rm -f conftest.lib libconftest.a
3931
3932fi
3933rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3934   ac_ext=c
3935ac_cpp='$CPP $CPPFLAGS'
3936ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3937ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3938ac_compiler_gnu=$ac_cv_c_compiler_gnu
3939
3940fi
3941{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
3942$as_echo "$am_cv_ar_interface" >&6; }
3943
3944case $am_cv_ar_interface in
3945ar)
3946  ;;
3947lib)
3948  # Microsoft lib, so override with the ar-lib wrapper script.
3949  # FIXME: It is wrong to rewrite AR.
3950  # But if we don't then we get into trouble of one sort or another.
3951  # A longer-term fix would be to have automake use am__AR in this case,
3952  # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
3953  # similar.
3954  AR="$am_aux_dir/ar-lib $AR"
3955  ;;
3956unknown)
3957  as_fn_error $? "could not determine $AR interface" "$LINENO" 5
3958  ;;
3959esac
3960
3961case `pwd` in
3962  *\ * | *\	*)
3963    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3964$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3965esac
3966
3967
3968
3969macro_version='2.4.6'
3970macro_revision='2.4.6'
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984ltmain=$ac_aux_dir/ltmain.sh
3985
3986# Make sure we can run config.sub.
3987$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3988  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3989
3990{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3991$as_echo_n "checking build system type... " >&6; }
3992if ${ac_cv_build+:} false; then :
3993  $as_echo_n "(cached) " >&6
3994else
3995  ac_build_alias=$build_alias
3996test "x$ac_build_alias" = x &&
3997  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3998test "x$ac_build_alias" = x &&
3999  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4000ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4001  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4002
4003fi
4004{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4005$as_echo "$ac_cv_build" >&6; }
4006case $ac_cv_build in
4007*-*-*) ;;
4008*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4009esac
4010build=$ac_cv_build
4011ac_save_IFS=$IFS; IFS='-'
4012set x $ac_cv_build
4013shift
4014build_cpu=$1
4015build_vendor=$2
4016shift; shift
4017# Remember, the first character of IFS is used to create $*,
4018# except with old shells:
4019build_os=$*
4020IFS=$ac_save_IFS
4021case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4022
4023
4024{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4025$as_echo_n "checking host system type... " >&6; }
4026if ${ac_cv_host+:} false; then :
4027  $as_echo_n "(cached) " >&6
4028else
4029  if test "x$host_alias" = x; then
4030  ac_cv_host=$ac_cv_build
4031else
4032  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4033    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4034fi
4035
4036fi
4037{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4038$as_echo "$ac_cv_host" >&6; }
4039case $ac_cv_host in
4040*-*-*) ;;
4041*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4042esac
4043host=$ac_cv_host
4044ac_save_IFS=$IFS; IFS='-'
4045set x $ac_cv_host
4046shift
4047host_cpu=$1
4048host_vendor=$2
4049shift; shift
4050# Remember, the first character of IFS is used to create $*,
4051# except with old shells:
4052host_os=$*
4053IFS=$ac_save_IFS
4054case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4055
4056
4057# Backslashify metacharacters that are still active within
4058# double-quoted strings.
4059sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4060
4061# Same as above, but do not quote variable references.
4062double_quote_subst='s/\(["`\\]\)/\\\1/g'
4063
4064# Sed substitution to delay expansion of an escaped shell variable in a
4065# double_quote_subst'ed string.
4066delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4067
4068# Sed substitution to delay expansion of an escaped single quote.
4069delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4070
4071# Sed substitution to avoid accidental globbing in evaled expressions
4072no_glob_subst='s/\*/\\\*/g'
4073
4074ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4075ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4076ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4077
4078{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4079$as_echo_n "checking how to print strings... " >&6; }
4080# Test print first, because it will be a builtin if present.
4081if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4082   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4083  ECHO='print -r --'
4084elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4085  ECHO='printf %s\n'
4086else
4087  # Use this function as a fallback that always works.
4088  func_fallback_echo ()
4089  {
4090    eval 'cat <<_LTECHO_EOF
4091$1
4092_LTECHO_EOF'
4093  }
4094  ECHO='func_fallback_echo'
4095fi
4096
4097# func_echo_all arg...
4098# Invoke $ECHO with all args, space-separated.
4099func_echo_all ()
4100{
4101    $ECHO ""
4102}
4103
4104case $ECHO in
4105  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4106$as_echo "printf" >&6; } ;;
4107  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4108$as_echo "print -r" >&6; } ;;
4109  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4110$as_echo "cat" >&6; } ;;
4111esac
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4127$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4128if ${ac_cv_path_SED+:} false; then :
4129  $as_echo_n "(cached) " >&6
4130else
4131            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4132     for ac_i in 1 2 3 4 5 6 7; do
4133       ac_script="$ac_script$as_nl$ac_script"
4134     done
4135     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4136     { ac_script=; unset ac_script;}
4137     if test -z "$SED"; then
4138  ac_path_SED_found=false
4139  # Loop through the user's path and test for each of PROGNAME-LIST
4140  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4141for as_dir in $PATH
4142do
4143  IFS=$as_save_IFS
4144  test -z "$as_dir" && as_dir=.
4145    for ac_prog in sed gsed; do
4146    for ac_exec_ext in '' $ac_executable_extensions; do
4147      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4148      as_fn_executable_p "$ac_path_SED" || continue
4149# Check for GNU ac_path_SED and select it if it is found.
4150  # Check for GNU $ac_path_SED
4151case `"$ac_path_SED" --version 2>&1` in
4152*GNU*)
4153  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4154*)
4155  ac_count=0
4156  $as_echo_n 0123456789 >"conftest.in"
4157  while :
4158  do
4159    cat "conftest.in" "conftest.in" >"conftest.tmp"
4160    mv "conftest.tmp" "conftest.in"
4161    cp "conftest.in" "conftest.nl"
4162    $as_echo '' >> "conftest.nl"
4163    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4164    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4165    as_fn_arith $ac_count + 1 && ac_count=$as_val
4166    if test $ac_count -gt ${ac_path_SED_max-0}; then
4167      # Best one so far, save it but keep looking for a better one
4168      ac_cv_path_SED="$ac_path_SED"
4169      ac_path_SED_max=$ac_count
4170    fi
4171    # 10*(2^10) chars as input seems more than enough
4172    test $ac_count -gt 10 && break
4173  done
4174  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4175esac
4176
4177      $ac_path_SED_found && break 3
4178    done
4179  done
4180  done
4181IFS=$as_save_IFS
4182  if test -z "$ac_cv_path_SED"; then
4183    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4184  fi
4185else
4186  ac_cv_path_SED=$SED
4187fi
4188
4189fi
4190{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4191$as_echo "$ac_cv_path_SED" >&6; }
4192 SED="$ac_cv_path_SED"
4193  rm -f conftest.sed
4194
4195test -z "$SED" && SED=sed
4196Xsed="$SED -e 1s/^X//"
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4209$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4210if ${ac_cv_path_GREP+:} false; then :
4211  $as_echo_n "(cached) " >&6
4212else
4213  if test -z "$GREP"; then
4214  ac_path_GREP_found=false
4215  # Loop through the user's path and test for each of PROGNAME-LIST
4216  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4217for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4218do
4219  IFS=$as_save_IFS
4220  test -z "$as_dir" && as_dir=.
4221    for ac_prog in grep ggrep; do
4222    for ac_exec_ext in '' $ac_executable_extensions; do
4223      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4224      as_fn_executable_p "$ac_path_GREP" || continue
4225# Check for GNU ac_path_GREP and select it if it is found.
4226  # Check for GNU $ac_path_GREP
4227case `"$ac_path_GREP" --version 2>&1` in
4228*GNU*)
4229  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4230*)
4231  ac_count=0
4232  $as_echo_n 0123456789 >"conftest.in"
4233  while :
4234  do
4235    cat "conftest.in" "conftest.in" >"conftest.tmp"
4236    mv "conftest.tmp" "conftest.in"
4237    cp "conftest.in" "conftest.nl"
4238    $as_echo 'GREP' >> "conftest.nl"
4239    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4240    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4241    as_fn_arith $ac_count + 1 && ac_count=$as_val
4242    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4243      # Best one so far, save it but keep looking for a better one
4244      ac_cv_path_GREP="$ac_path_GREP"
4245      ac_path_GREP_max=$ac_count
4246    fi
4247    # 10*(2^10) chars as input seems more than enough
4248    test $ac_count -gt 10 && break
4249  done
4250  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4251esac
4252
4253      $ac_path_GREP_found && break 3
4254    done
4255  done
4256  done
4257IFS=$as_save_IFS
4258  if test -z "$ac_cv_path_GREP"; then
4259    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4260  fi
4261else
4262  ac_cv_path_GREP=$GREP
4263fi
4264
4265fi
4266{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4267$as_echo "$ac_cv_path_GREP" >&6; }
4268 GREP="$ac_cv_path_GREP"
4269
4270
4271{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4272$as_echo_n "checking for egrep... " >&6; }
4273if ${ac_cv_path_EGREP+:} false; then :
4274  $as_echo_n "(cached) " >&6
4275else
4276  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4277   then ac_cv_path_EGREP="$GREP -E"
4278   else
4279     if test -z "$EGREP"; then
4280  ac_path_EGREP_found=false
4281  # Loop through the user's path and test for each of PROGNAME-LIST
4282  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4283for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4284do
4285  IFS=$as_save_IFS
4286  test -z "$as_dir" && as_dir=.
4287    for ac_prog in egrep; do
4288    for ac_exec_ext in '' $ac_executable_extensions; do
4289      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4290      as_fn_executable_p "$ac_path_EGREP" || continue
4291# Check for GNU ac_path_EGREP and select it if it is found.
4292  # Check for GNU $ac_path_EGREP
4293case `"$ac_path_EGREP" --version 2>&1` in
4294*GNU*)
4295  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4296*)
4297  ac_count=0
4298  $as_echo_n 0123456789 >"conftest.in"
4299  while :
4300  do
4301    cat "conftest.in" "conftest.in" >"conftest.tmp"
4302    mv "conftest.tmp" "conftest.in"
4303    cp "conftest.in" "conftest.nl"
4304    $as_echo 'EGREP' >> "conftest.nl"
4305    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4306    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4307    as_fn_arith $ac_count + 1 && ac_count=$as_val
4308    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4309      # Best one so far, save it but keep looking for a better one
4310      ac_cv_path_EGREP="$ac_path_EGREP"
4311      ac_path_EGREP_max=$ac_count
4312    fi
4313    # 10*(2^10) chars as input seems more than enough
4314    test $ac_count -gt 10 && break
4315  done
4316  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4317esac
4318
4319      $ac_path_EGREP_found && break 3
4320    done
4321  done
4322  done
4323IFS=$as_save_IFS
4324  if test -z "$ac_cv_path_EGREP"; then
4325    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4326  fi
4327else
4328  ac_cv_path_EGREP=$EGREP
4329fi
4330
4331   fi
4332fi
4333{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4334$as_echo "$ac_cv_path_EGREP" >&6; }
4335 EGREP="$ac_cv_path_EGREP"
4336
4337
4338{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4339$as_echo_n "checking for fgrep... " >&6; }
4340if ${ac_cv_path_FGREP+:} false; then :
4341  $as_echo_n "(cached) " >&6
4342else
4343  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4344   then ac_cv_path_FGREP="$GREP -F"
4345   else
4346     if test -z "$FGREP"; then
4347  ac_path_FGREP_found=false
4348  # Loop through the user's path and test for each of PROGNAME-LIST
4349  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4350for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4351do
4352  IFS=$as_save_IFS
4353  test -z "$as_dir" && as_dir=.
4354    for ac_prog in fgrep; do
4355    for ac_exec_ext in '' $ac_executable_extensions; do
4356      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4357      as_fn_executable_p "$ac_path_FGREP" || continue
4358# Check for GNU ac_path_FGREP and select it if it is found.
4359  # Check for GNU $ac_path_FGREP
4360case `"$ac_path_FGREP" --version 2>&1` in
4361*GNU*)
4362  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4363*)
4364  ac_count=0
4365  $as_echo_n 0123456789 >"conftest.in"
4366  while :
4367  do
4368    cat "conftest.in" "conftest.in" >"conftest.tmp"
4369    mv "conftest.tmp" "conftest.in"
4370    cp "conftest.in" "conftest.nl"
4371    $as_echo 'FGREP' >> "conftest.nl"
4372    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4373    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4374    as_fn_arith $ac_count + 1 && ac_count=$as_val
4375    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4376      # Best one so far, save it but keep looking for a better one
4377      ac_cv_path_FGREP="$ac_path_FGREP"
4378      ac_path_FGREP_max=$ac_count
4379    fi
4380    # 10*(2^10) chars as input seems more than enough
4381    test $ac_count -gt 10 && break
4382  done
4383  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4384esac
4385
4386      $ac_path_FGREP_found && break 3
4387    done
4388  done
4389  done
4390IFS=$as_save_IFS
4391  if test -z "$ac_cv_path_FGREP"; then
4392    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4393  fi
4394else
4395  ac_cv_path_FGREP=$FGREP
4396fi
4397
4398   fi
4399fi
4400{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4401$as_echo "$ac_cv_path_FGREP" >&6; }
4402 FGREP="$ac_cv_path_FGREP"
4403
4404
4405test -z "$GREP" && GREP=grep
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425# Check whether --with-gnu-ld was given.
4426if test "${with_gnu_ld+set}" = set; then :
4427  withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
4428else
4429  with_gnu_ld=no
4430fi
4431
4432ac_prog=ld
4433if test yes = "$GCC"; then
4434  # Check if gcc -print-prog-name=ld gives a path.
4435  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4436$as_echo_n "checking for ld used by $CC... " >&6; }
4437  case $host in
4438  *-*-mingw*)
4439    # gcc leaves a trailing carriage return, which upsets mingw
4440    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4441  *)
4442    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4443  esac
4444  case $ac_prog in
4445    # Accept absolute paths.
4446    [\\/]* | ?:[\\/]*)
4447      re_direlt='/[^/][^/]*/\.\./'
4448      # Canonicalize the pathname of ld
4449      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4450      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4451	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4452      done
4453      test -z "$LD" && LD=$ac_prog
4454      ;;
4455  "")
4456    # If it fails, then pretend we aren't using GCC.
4457    ac_prog=ld
4458    ;;
4459  *)
4460    # If it is relative, then search for the first ld in PATH.
4461    with_gnu_ld=unknown
4462    ;;
4463  esac
4464elif test yes = "$with_gnu_ld"; then
4465  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4466$as_echo_n "checking for GNU ld... " >&6; }
4467else
4468  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4469$as_echo_n "checking for non-GNU ld... " >&6; }
4470fi
4471if ${lt_cv_path_LD+:} false; then :
4472  $as_echo_n "(cached) " >&6
4473else
4474  if test -z "$LD"; then
4475  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
4476  for ac_dir in $PATH; do
4477    IFS=$lt_save_ifs
4478    test -z "$ac_dir" && ac_dir=.
4479    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4480      lt_cv_path_LD=$ac_dir/$ac_prog
4481      # Check to see if the program is GNU ld.  I'd rather use --version,
4482      # but apparently some variants of GNU ld only accept -v.
4483      # Break only if it was the GNU/non-GNU ld that we prefer.
4484      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4485      *GNU* | *'with BFD'*)
4486	test no != "$with_gnu_ld" && break
4487	;;
4488      *)
4489	test yes != "$with_gnu_ld" && break
4490	;;
4491      esac
4492    fi
4493  done
4494  IFS=$lt_save_ifs
4495else
4496  lt_cv_path_LD=$LD # Let the user override the test with a path.
4497fi
4498fi
4499
4500LD=$lt_cv_path_LD
4501if test -n "$LD"; then
4502  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4503$as_echo "$LD" >&6; }
4504else
4505  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4506$as_echo "no" >&6; }
4507fi
4508test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4509{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4510$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4511if ${lt_cv_prog_gnu_ld+:} false; then :
4512  $as_echo_n "(cached) " >&6
4513else
4514  # I'd rather use --version here, but apparently some GNU lds only accept -v.
4515case `$LD -v 2>&1 </dev/null` in
4516*GNU* | *'with BFD'*)
4517  lt_cv_prog_gnu_ld=yes
4518  ;;
4519*)
4520  lt_cv_prog_gnu_ld=no
4521  ;;
4522esac
4523fi
4524{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4525$as_echo "$lt_cv_prog_gnu_ld" >&6; }
4526with_gnu_ld=$lt_cv_prog_gnu_ld
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4537$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4538if ${lt_cv_path_NM+:} false; then :
4539  $as_echo_n "(cached) " >&6
4540else
4541  if test -n "$NM"; then
4542  # Let the user override the test.
4543  lt_cv_path_NM=$NM
4544else
4545  lt_nm_to_check=${ac_tool_prefix}nm
4546  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4547    lt_nm_to_check="$lt_nm_to_check nm"
4548  fi
4549  for lt_tmp_nm in $lt_nm_to_check; do
4550    lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
4551    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4552      IFS=$lt_save_ifs
4553      test -z "$ac_dir" && ac_dir=.
4554      tmp_nm=$ac_dir/$lt_tmp_nm
4555      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
4556	# Check to see if the nm accepts a BSD-compat flag.
4557	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
4558	#   nm: unknown option "B" ignored
4559	# Tru64's nm complains that /dev/null is an invalid object file
4560	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
4561	case $build_os in
4562	mingw*) lt_bad_file=conftest.nm/nofile ;;
4563	*) lt_bad_file=/dev/null ;;
4564	esac
4565	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
4566	*$lt_bad_file* | *'Invalid file or object type'*)
4567	  lt_cv_path_NM="$tmp_nm -B"
4568	  break 2
4569	  ;;
4570	*)
4571	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4572	  */dev/null*)
4573	    lt_cv_path_NM="$tmp_nm -p"
4574	    break 2
4575	    ;;
4576	  *)
4577	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4578	    continue # so that we can try to find one that supports BSD flags
4579	    ;;
4580	  esac
4581	  ;;
4582	esac
4583      fi
4584    done
4585    IFS=$lt_save_ifs
4586  done
4587  : ${lt_cv_path_NM=no}
4588fi
4589fi
4590{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4591$as_echo "$lt_cv_path_NM" >&6; }
4592if test no != "$lt_cv_path_NM"; then
4593  NM=$lt_cv_path_NM
4594else
4595  # Didn't find any BSD compatible name lister, look for dumpbin.
4596  if test -n "$DUMPBIN"; then :
4597    # Let the user override the test.
4598  else
4599    if test -n "$ac_tool_prefix"; then
4600  for ac_prog in dumpbin "link -dump"
4601  do
4602    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4603set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4604{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4605$as_echo_n "checking for $ac_word... " >&6; }
4606if ${ac_cv_prog_DUMPBIN+:} false; then :
4607  $as_echo_n "(cached) " >&6
4608else
4609  if test -n "$DUMPBIN"; then
4610  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4611else
4612as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4613for as_dir in $PATH
4614do
4615  IFS=$as_save_IFS
4616  test -z "$as_dir" && as_dir=.
4617    for ac_exec_ext in '' $ac_executable_extensions; do
4618  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4619    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4620    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4621    break 2
4622  fi
4623done
4624  done
4625IFS=$as_save_IFS
4626
4627fi
4628fi
4629DUMPBIN=$ac_cv_prog_DUMPBIN
4630if test -n "$DUMPBIN"; then
4631  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4632$as_echo "$DUMPBIN" >&6; }
4633else
4634  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4635$as_echo "no" >&6; }
4636fi
4637
4638
4639    test -n "$DUMPBIN" && break
4640  done
4641fi
4642if test -z "$DUMPBIN"; then
4643  ac_ct_DUMPBIN=$DUMPBIN
4644  for ac_prog in dumpbin "link -dump"
4645do
4646  # Extract the first word of "$ac_prog", so it can be a program name with args.
4647set dummy $ac_prog; ac_word=$2
4648{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4649$as_echo_n "checking for $ac_word... " >&6; }
4650if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4651  $as_echo_n "(cached) " >&6
4652else
4653  if test -n "$ac_ct_DUMPBIN"; then
4654  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4655else
4656as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4657for as_dir in $PATH
4658do
4659  IFS=$as_save_IFS
4660  test -z "$as_dir" && as_dir=.
4661    for ac_exec_ext in '' $ac_executable_extensions; do
4662  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4663    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4664    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4665    break 2
4666  fi
4667done
4668  done
4669IFS=$as_save_IFS
4670
4671fi
4672fi
4673ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4674if test -n "$ac_ct_DUMPBIN"; then
4675  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4676$as_echo "$ac_ct_DUMPBIN" >&6; }
4677else
4678  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4679$as_echo "no" >&6; }
4680fi
4681
4682
4683  test -n "$ac_ct_DUMPBIN" && break
4684done
4685
4686  if test "x$ac_ct_DUMPBIN" = x; then
4687    DUMPBIN=":"
4688  else
4689    case $cross_compiling:$ac_tool_warned in
4690yes:)
4691{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4692$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4693ac_tool_warned=yes ;;
4694esac
4695    DUMPBIN=$ac_ct_DUMPBIN
4696  fi
4697fi
4698
4699    case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
4700    *COFF*)
4701      DUMPBIN="$DUMPBIN -symbols -headers"
4702      ;;
4703    *)
4704      DUMPBIN=:
4705      ;;
4706    esac
4707  fi
4708
4709  if test : != "$DUMPBIN"; then
4710    NM=$DUMPBIN
4711  fi
4712fi
4713test -z "$NM" && NM=nm
4714
4715
4716
4717
4718
4719
4720{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4721$as_echo_n "checking the name lister ($NM) interface... " >&6; }
4722if ${lt_cv_nm_interface+:} false; then :
4723  $as_echo_n "(cached) " >&6
4724else
4725  lt_cv_nm_interface="BSD nm"
4726  echo "int some_variable = 0;" > conftest.$ac_ext
4727  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4728  (eval "$ac_compile" 2>conftest.err)
4729  cat conftest.err >&5
4730  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4731  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4732  cat conftest.err >&5
4733  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4734  cat conftest.out >&5
4735  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4736    lt_cv_nm_interface="MS dumpbin"
4737  fi
4738  rm -f conftest*
4739fi
4740{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4741$as_echo "$lt_cv_nm_interface" >&6; }
4742
4743{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4744$as_echo_n "checking whether ln -s works... " >&6; }
4745LN_S=$as_ln_s
4746if test "$LN_S" = "ln -s"; then
4747  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4748$as_echo "yes" >&6; }
4749else
4750  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4751$as_echo "no, using $LN_S" >&6; }
4752fi
4753
4754# find the maximum length of command line arguments
4755{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4756$as_echo_n "checking the maximum length of command line arguments... " >&6; }
4757if ${lt_cv_sys_max_cmd_len+:} false; then :
4758  $as_echo_n "(cached) " >&6
4759else
4760    i=0
4761  teststring=ABCD
4762
4763  case $build_os in
4764  msdosdjgpp*)
4765    # On DJGPP, this test can blow up pretty badly due to problems in libc
4766    # (any single argument exceeding 2000 bytes causes a buffer overrun
4767    # during glob expansion).  Even if it were fixed, the result of this
4768    # check would be larger than it should be.
4769    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
4770    ;;
4771
4772  gnu*)
4773    # Under GNU Hurd, this test is not required because there is
4774    # no limit to the length of command line arguments.
4775    # Libtool will interpret -1 as no limit whatsoever
4776    lt_cv_sys_max_cmd_len=-1;
4777    ;;
4778
4779  cygwin* | mingw* | cegcc*)
4780    # On Win9x/ME, this test blows up -- it succeeds, but takes
4781    # about 5 minutes as the teststring grows exponentially.
4782    # Worse, since 9x/ME are not pre-emptively multitasking,
4783    # you end up with a "frozen" computer, even though with patience
4784    # the test eventually succeeds (with a max line length of 256k).
4785    # Instead, let's just punt: use the minimum linelength reported by
4786    # all of the supported platforms: 8192 (on NT/2K/XP).
4787    lt_cv_sys_max_cmd_len=8192;
4788    ;;
4789
4790  mint*)
4791    # On MiNT this can take a long time and run out of memory.
4792    lt_cv_sys_max_cmd_len=8192;
4793    ;;
4794
4795  amigaos*)
4796    # On AmigaOS with pdksh, this test takes hours, literally.
4797    # So we just punt and use a minimum line length of 8192.
4798    lt_cv_sys_max_cmd_len=8192;
4799    ;;
4800
4801  bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
4802    # This has been around since 386BSD, at least.  Likely further.
4803    if test -x /sbin/sysctl; then
4804      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4805    elif test -x /usr/sbin/sysctl; then
4806      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4807    else
4808      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
4809    fi
4810    # And add a safety zone
4811    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4812    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4813    ;;
4814
4815  interix*)
4816    # We know the value 262144 and hardcode it with a safety zone (like BSD)
4817    lt_cv_sys_max_cmd_len=196608
4818    ;;
4819
4820  os2*)
4821    # The test takes a long time on OS/2.
4822    lt_cv_sys_max_cmd_len=8192
4823    ;;
4824
4825  osf*)
4826    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4827    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4828    # nice to cause kernel panics so lets avoid the loop below.
4829    # First set a reasonable default.
4830    lt_cv_sys_max_cmd_len=16384
4831    #
4832    if test -x /sbin/sysconfig; then
4833      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4834        *1*) lt_cv_sys_max_cmd_len=-1 ;;
4835      esac
4836    fi
4837    ;;
4838  sco3.2v5*)
4839    lt_cv_sys_max_cmd_len=102400
4840    ;;
4841  sysv5* | sco5v6* | sysv4.2uw2*)
4842    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4843    if test -n "$kargmax"; then
4844      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
4845    else
4846      lt_cv_sys_max_cmd_len=32768
4847    fi
4848    ;;
4849  *)
4850    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4851    if test -n "$lt_cv_sys_max_cmd_len" && \
4852       test undefined != "$lt_cv_sys_max_cmd_len"; then
4853      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4854      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4855    else
4856      # Make teststring a little bigger before we do anything with it.
4857      # a 1K string should be a reasonable start.
4858      for i in 1 2 3 4 5 6 7 8; do
4859        teststring=$teststring$teststring
4860      done
4861      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4862      # If test is not a shell built-in, we'll probably end up computing a
4863      # maximum length that is only half of the actual maximum length, but
4864      # we can't tell.
4865      while { test X`env echo "$teststring$teststring" 2>/dev/null` \
4866	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4867	      test 17 != "$i" # 1/2 MB should be enough
4868      do
4869        i=`expr $i + 1`
4870        teststring=$teststring$teststring
4871      done
4872      # Only check the string length outside the loop.
4873      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4874      teststring=
4875      # Add a significant safety factor because C++ compilers can tack on
4876      # massive amounts of additional arguments before passing them to the
4877      # linker.  It appears as though 1/2 is a usable value.
4878      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4879    fi
4880    ;;
4881  esac
4882
4883fi
4884
4885if test -n "$lt_cv_sys_max_cmd_len"; then
4886  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4887$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4888else
4889  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4890$as_echo "none" >&6; }
4891fi
4892max_cmd_len=$lt_cv_sys_max_cmd_len
4893
4894
4895
4896
4897
4898
4899: ${CP="cp -f"}
4900: ${MV="mv -f"}
4901: ${RM="rm -f"}
4902
4903if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4904  lt_unset=unset
4905else
4906  lt_unset=false
4907fi
4908
4909
4910
4911
4912
4913# test EBCDIC or ASCII
4914case `echo X|tr X '\101'` in
4915 A) # ASCII based system
4916    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4917  lt_SP2NL='tr \040 \012'
4918  lt_NL2SP='tr \015\012 \040\040'
4919  ;;
4920 *) # EBCDIC based system
4921  lt_SP2NL='tr \100 \n'
4922  lt_NL2SP='tr \r\n \100\100'
4923  ;;
4924esac
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
4935$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
4936if ${lt_cv_to_host_file_cmd+:} false; then :
4937  $as_echo_n "(cached) " >&6
4938else
4939  case $host in
4940  *-*-mingw* )
4941    case $build in
4942      *-*-mingw* ) # actually msys
4943        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
4944        ;;
4945      *-*-cygwin* )
4946        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
4947        ;;
4948      * ) # otherwise, assume *nix
4949        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
4950        ;;
4951    esac
4952    ;;
4953  *-*-cygwin* )
4954    case $build in
4955      *-*-mingw* ) # actually msys
4956        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
4957        ;;
4958      *-*-cygwin* )
4959        lt_cv_to_host_file_cmd=func_convert_file_noop
4960        ;;
4961      * ) # otherwise, assume *nix
4962        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
4963        ;;
4964    esac
4965    ;;
4966  * ) # unhandled hosts (and "normal" native builds)
4967    lt_cv_to_host_file_cmd=func_convert_file_noop
4968    ;;
4969esac
4970
4971fi
4972
4973to_host_file_cmd=$lt_cv_to_host_file_cmd
4974{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
4975$as_echo "$lt_cv_to_host_file_cmd" >&6; }
4976
4977
4978
4979
4980
4981{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
4982$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
4983if ${lt_cv_to_tool_file_cmd+:} false; then :
4984  $as_echo_n "(cached) " >&6
4985else
4986  #assume ordinary cross tools, or native build.
4987lt_cv_to_tool_file_cmd=func_convert_file_noop
4988case $host in
4989  *-*-mingw* )
4990    case $build in
4991      *-*-mingw* ) # actually msys
4992        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
4993        ;;
4994    esac
4995    ;;
4996esac
4997
4998fi
4999
5000to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5001{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5002$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5003
5004
5005
5006
5007
5008{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5009$as_echo_n "checking for $LD option to reload object files... " >&6; }
5010if ${lt_cv_ld_reload_flag+:} false; then :
5011  $as_echo_n "(cached) " >&6
5012else
5013  lt_cv_ld_reload_flag='-r'
5014fi
5015{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5016$as_echo "$lt_cv_ld_reload_flag" >&6; }
5017reload_flag=$lt_cv_ld_reload_flag
5018case $reload_flag in
5019"" | " "*) ;;
5020*) reload_flag=" $reload_flag" ;;
5021esac
5022reload_cmds='$LD$reload_flag -o $output$reload_objs'
5023case $host_os in
5024  cygwin* | mingw* | pw32* | cegcc*)
5025    if test yes != "$GCC"; then
5026      reload_cmds=false
5027    fi
5028    ;;
5029  darwin*)
5030    if test yes = "$GCC"; then
5031      reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
5032    else
5033      reload_cmds='$LD$reload_flag -o $output$reload_objs'
5034    fi
5035    ;;
5036esac
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046if test -n "$ac_tool_prefix"; then
5047  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5048set dummy ${ac_tool_prefix}objdump; ac_word=$2
5049{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5050$as_echo_n "checking for $ac_word... " >&6; }
5051if ${ac_cv_prog_OBJDUMP+:} false; then :
5052  $as_echo_n "(cached) " >&6
5053else
5054  if test -n "$OBJDUMP"; then
5055  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5056else
5057as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5058for as_dir in $PATH
5059do
5060  IFS=$as_save_IFS
5061  test -z "$as_dir" && as_dir=.
5062    for ac_exec_ext in '' $ac_executable_extensions; do
5063  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5064    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5065    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5066    break 2
5067  fi
5068done
5069  done
5070IFS=$as_save_IFS
5071
5072fi
5073fi
5074OBJDUMP=$ac_cv_prog_OBJDUMP
5075if test -n "$OBJDUMP"; then
5076  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5077$as_echo "$OBJDUMP" >&6; }
5078else
5079  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5080$as_echo "no" >&6; }
5081fi
5082
5083
5084fi
5085if test -z "$ac_cv_prog_OBJDUMP"; then
5086  ac_ct_OBJDUMP=$OBJDUMP
5087  # Extract the first word of "objdump", so it can be a program name with args.
5088set dummy objdump; ac_word=$2
5089{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5090$as_echo_n "checking for $ac_word... " >&6; }
5091if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5092  $as_echo_n "(cached) " >&6
5093else
5094  if test -n "$ac_ct_OBJDUMP"; then
5095  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5096else
5097as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5098for as_dir in $PATH
5099do
5100  IFS=$as_save_IFS
5101  test -z "$as_dir" && as_dir=.
5102    for ac_exec_ext in '' $ac_executable_extensions; do
5103  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5104    ac_cv_prog_ac_ct_OBJDUMP="objdump"
5105    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5106    break 2
5107  fi
5108done
5109  done
5110IFS=$as_save_IFS
5111
5112fi
5113fi
5114ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5115if test -n "$ac_ct_OBJDUMP"; then
5116  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5117$as_echo "$ac_ct_OBJDUMP" >&6; }
5118else
5119  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5120$as_echo "no" >&6; }
5121fi
5122
5123  if test "x$ac_ct_OBJDUMP" = x; then
5124    OBJDUMP="false"
5125  else
5126    case $cross_compiling:$ac_tool_warned in
5127yes:)
5128{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5129$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5130ac_tool_warned=yes ;;
5131esac
5132    OBJDUMP=$ac_ct_OBJDUMP
5133  fi
5134else
5135  OBJDUMP="$ac_cv_prog_OBJDUMP"
5136fi
5137
5138test -z "$OBJDUMP" && OBJDUMP=objdump
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5149$as_echo_n "checking how to recognize dependent libraries... " >&6; }
5150if ${lt_cv_deplibs_check_method+:} false; then :
5151  $as_echo_n "(cached) " >&6
5152else
5153  lt_cv_file_magic_cmd='$MAGIC_CMD'
5154lt_cv_file_magic_test_file=
5155lt_cv_deplibs_check_method='unknown'
5156# Need to set the preceding variable on all platforms that support
5157# interlibrary dependencies.
5158# 'none' -- dependencies not supported.
5159# 'unknown' -- same as none, but documents that we really don't know.
5160# 'pass_all' -- all dependencies passed with no checks.
5161# 'test_compile' -- check by making test program.
5162# 'file_magic [[regex]]' -- check by looking for files in library path
5163# that responds to the $file_magic_cmd with a given extended regex.
5164# If you have 'file' or equivalent on your system and you're not sure
5165# whether 'pass_all' will *always* work, you probably want this one.
5166
5167case $host_os in
5168aix[4-9]*)
5169  lt_cv_deplibs_check_method=pass_all
5170  ;;
5171
5172beos*)
5173  lt_cv_deplibs_check_method=pass_all
5174  ;;
5175
5176bsdi[45]*)
5177  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5178  lt_cv_file_magic_cmd='/usr/bin/file -L'
5179  lt_cv_file_magic_test_file=/shlib/libc.so
5180  ;;
5181
5182cygwin*)
5183  # func_win32_libid is a shell function defined in ltmain.sh
5184  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5185  lt_cv_file_magic_cmd='func_win32_libid'
5186  ;;
5187
5188mingw* | pw32*)
5189  # Base MSYS/MinGW do not provide the 'file' command needed by
5190  # func_win32_libid shell function, so use a weaker test based on 'objdump',
5191  # unless we find 'file', for example because we are cross-compiling.
5192  if ( file / ) >/dev/null 2>&1; then
5193    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5194    lt_cv_file_magic_cmd='func_win32_libid'
5195  else
5196    # Keep this pattern in sync with the one in func_win32_libid.
5197    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5198    lt_cv_file_magic_cmd='$OBJDUMP -f'
5199  fi
5200  ;;
5201
5202cegcc*)
5203  # use the weaker test based on 'objdump'. See mingw*.
5204  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5205  lt_cv_file_magic_cmd='$OBJDUMP -f'
5206  ;;
5207
5208darwin* | rhapsody*)
5209  lt_cv_deplibs_check_method=pass_all
5210  ;;
5211
5212freebsd* | dragonfly*)
5213  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5214    case $host_cpu in
5215    i*86 )
5216      # Not sure whether the presence of OpenBSD here was a mistake.
5217      # Let's accept both of them until this is cleared up.
5218      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5219      lt_cv_file_magic_cmd=/usr/bin/file
5220      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5221      ;;
5222    esac
5223  else
5224    lt_cv_deplibs_check_method=pass_all
5225  fi
5226  ;;
5227
5228haiku*)
5229  lt_cv_deplibs_check_method=pass_all
5230  ;;
5231
5232hpux10.20* | hpux11*)
5233  lt_cv_file_magic_cmd=/usr/bin/file
5234  case $host_cpu in
5235  ia64*)
5236    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5237    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5238    ;;
5239  hppa*64*)
5240    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]'
5241    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5242    ;;
5243  *)
5244    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5245    lt_cv_file_magic_test_file=/usr/lib/libc.sl
5246    ;;
5247  esac
5248  ;;
5249
5250interix[3-9]*)
5251  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5252  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5253  ;;
5254
5255irix5* | irix6* | nonstopux*)
5256  case $LD in
5257  *-32|*"-32 ") libmagic=32-bit;;
5258  *-n32|*"-n32 ") libmagic=N32;;
5259  *-64|*"-64 ") libmagic=64-bit;;
5260  *) libmagic=never-match;;
5261  esac
5262  lt_cv_deplibs_check_method=pass_all
5263  ;;
5264
5265# This must be glibc/ELF.
5266linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5267  lt_cv_deplibs_check_method=pass_all
5268  ;;
5269
5270netbsd*)
5271  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5272    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5273  else
5274    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5275  fi
5276  ;;
5277
5278newos6*)
5279  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5280  lt_cv_file_magic_cmd=/usr/bin/file
5281  lt_cv_file_magic_test_file=/usr/lib/libnls.so
5282  ;;
5283
5284*nto* | *qnx*)
5285  lt_cv_deplibs_check_method=pass_all
5286  ;;
5287
5288openbsd* | bitrig*)
5289  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
5290    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5291  else
5292    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5293  fi
5294  ;;
5295
5296osf3* | osf4* | osf5*)
5297  lt_cv_deplibs_check_method=pass_all
5298  ;;
5299
5300rdos*)
5301  lt_cv_deplibs_check_method=pass_all
5302  ;;
5303
5304solaris*)
5305  lt_cv_deplibs_check_method=pass_all
5306  ;;
5307
5308sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5309  lt_cv_deplibs_check_method=pass_all
5310  ;;
5311
5312sysv4 | sysv4.3*)
5313  case $host_vendor in
5314  motorola)
5315    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]'
5316    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5317    ;;
5318  ncr)
5319    lt_cv_deplibs_check_method=pass_all
5320    ;;
5321  sequent)
5322    lt_cv_file_magic_cmd='/bin/file'
5323    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5324    ;;
5325  sni)
5326    lt_cv_file_magic_cmd='/bin/file'
5327    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5328    lt_cv_file_magic_test_file=/lib/libc.so
5329    ;;
5330  siemens)
5331    lt_cv_deplibs_check_method=pass_all
5332    ;;
5333  pc)
5334    lt_cv_deplibs_check_method=pass_all
5335    ;;
5336  esac
5337  ;;
5338
5339tpf*)
5340  lt_cv_deplibs_check_method=pass_all
5341  ;;
5342os2*)
5343  lt_cv_deplibs_check_method=pass_all
5344  ;;
5345esac
5346
5347fi
5348{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5349$as_echo "$lt_cv_deplibs_check_method" >&6; }
5350
5351file_magic_glob=
5352want_nocaseglob=no
5353if test "$build" = "$host"; then
5354  case $host_os in
5355  mingw* | pw32*)
5356    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5357      want_nocaseglob=yes
5358    else
5359      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5360    fi
5361    ;;
5362  esac
5363fi
5364
5365file_magic_cmd=$lt_cv_file_magic_cmd
5366deplibs_check_method=$lt_cv_deplibs_check_method
5367test -z "$deplibs_check_method" && deplibs_check_method=unknown
5368
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390if test -n "$ac_tool_prefix"; then
5391  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5392set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5393{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5394$as_echo_n "checking for $ac_word... " >&6; }
5395if ${ac_cv_prog_DLLTOOL+:} false; then :
5396  $as_echo_n "(cached) " >&6
5397else
5398  if test -n "$DLLTOOL"; then
5399  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5400else
5401as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5402for as_dir in $PATH
5403do
5404  IFS=$as_save_IFS
5405  test -z "$as_dir" && as_dir=.
5406    for ac_exec_ext in '' $ac_executable_extensions; do
5407  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5408    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5409    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5410    break 2
5411  fi
5412done
5413  done
5414IFS=$as_save_IFS
5415
5416fi
5417fi
5418DLLTOOL=$ac_cv_prog_DLLTOOL
5419if test -n "$DLLTOOL"; then
5420  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5421$as_echo "$DLLTOOL" >&6; }
5422else
5423  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5424$as_echo "no" >&6; }
5425fi
5426
5427
5428fi
5429if test -z "$ac_cv_prog_DLLTOOL"; then
5430  ac_ct_DLLTOOL=$DLLTOOL
5431  # Extract the first word of "dlltool", so it can be a program name with args.
5432set dummy dlltool; ac_word=$2
5433{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5434$as_echo_n "checking for $ac_word... " >&6; }
5435if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5436  $as_echo_n "(cached) " >&6
5437else
5438  if test -n "$ac_ct_DLLTOOL"; then
5439  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5440else
5441as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5442for as_dir in $PATH
5443do
5444  IFS=$as_save_IFS
5445  test -z "$as_dir" && as_dir=.
5446    for ac_exec_ext in '' $ac_executable_extensions; do
5447  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5448    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5449    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5450    break 2
5451  fi
5452done
5453  done
5454IFS=$as_save_IFS
5455
5456fi
5457fi
5458ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5459if test -n "$ac_ct_DLLTOOL"; then
5460  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5461$as_echo "$ac_ct_DLLTOOL" >&6; }
5462else
5463  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5464$as_echo "no" >&6; }
5465fi
5466
5467  if test "x$ac_ct_DLLTOOL" = x; then
5468    DLLTOOL="false"
5469  else
5470    case $cross_compiling:$ac_tool_warned in
5471yes:)
5472{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5473$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5474ac_tool_warned=yes ;;
5475esac
5476    DLLTOOL=$ac_ct_DLLTOOL
5477  fi
5478else
5479  DLLTOOL="$ac_cv_prog_DLLTOOL"
5480fi
5481
5482test -z "$DLLTOOL" && DLLTOOL=dlltool
5483
5484
5485
5486
5487
5488
5489
5490
5491
5492
5493{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5494$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5495if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5496  $as_echo_n "(cached) " >&6
5497else
5498  lt_cv_sharedlib_from_linklib_cmd='unknown'
5499
5500case $host_os in
5501cygwin* | mingw* | pw32* | cegcc*)
5502  # two different shell functions defined in ltmain.sh;
5503  # decide which one to use based on capabilities of $DLLTOOL
5504  case `$DLLTOOL --help 2>&1` in
5505  *--identify-strict*)
5506    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5507    ;;
5508  *)
5509    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5510    ;;
5511  esac
5512  ;;
5513*)
5514  # fallback: assume linklib IS sharedlib
5515  lt_cv_sharedlib_from_linklib_cmd=$ECHO
5516  ;;
5517esac
5518
5519fi
5520{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5521$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5522sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5523test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5524
5525
5526
5527
5528
5529
5530
5531if test -n "$ac_tool_prefix"; then
5532  for ac_prog in ar
5533  do
5534    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5535set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5536{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5537$as_echo_n "checking for $ac_word... " >&6; }
5538if ${ac_cv_prog_AR+:} false; then :
5539  $as_echo_n "(cached) " >&6
5540else
5541  if test -n "$AR"; then
5542  ac_cv_prog_AR="$AR" # Let the user override the test.
5543else
5544as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5545for as_dir in $PATH
5546do
5547  IFS=$as_save_IFS
5548  test -z "$as_dir" && as_dir=.
5549    for ac_exec_ext in '' $ac_executable_extensions; do
5550  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5551    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5552    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5553    break 2
5554  fi
5555done
5556  done
5557IFS=$as_save_IFS
5558
5559fi
5560fi
5561AR=$ac_cv_prog_AR
5562if test -n "$AR"; then
5563  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5564$as_echo "$AR" >&6; }
5565else
5566  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5567$as_echo "no" >&6; }
5568fi
5569
5570
5571    test -n "$AR" && break
5572  done
5573fi
5574if test -z "$AR"; then
5575  ac_ct_AR=$AR
5576  for ac_prog in ar
5577do
5578  # Extract the first word of "$ac_prog", so it can be a program name with args.
5579set dummy $ac_prog; ac_word=$2
5580{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5581$as_echo_n "checking for $ac_word... " >&6; }
5582if ${ac_cv_prog_ac_ct_AR+:} false; then :
5583  $as_echo_n "(cached) " >&6
5584else
5585  if test -n "$ac_ct_AR"; then
5586  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5587else
5588as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5589for as_dir in $PATH
5590do
5591  IFS=$as_save_IFS
5592  test -z "$as_dir" && as_dir=.
5593    for ac_exec_ext in '' $ac_executable_extensions; do
5594  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5595    ac_cv_prog_ac_ct_AR="$ac_prog"
5596    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5597    break 2
5598  fi
5599done
5600  done
5601IFS=$as_save_IFS
5602
5603fi
5604fi
5605ac_ct_AR=$ac_cv_prog_ac_ct_AR
5606if test -n "$ac_ct_AR"; then
5607  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5608$as_echo "$ac_ct_AR" >&6; }
5609else
5610  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5611$as_echo "no" >&6; }
5612fi
5613
5614
5615  test -n "$ac_ct_AR" && break
5616done
5617
5618  if test "x$ac_ct_AR" = x; then
5619    AR="false"
5620  else
5621    case $cross_compiling:$ac_tool_warned in
5622yes:)
5623{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5624$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5625ac_tool_warned=yes ;;
5626esac
5627    AR=$ac_ct_AR
5628  fi
5629fi
5630
5631: ${AR=ar}
5632: ${AR_FLAGS=cru}
5633
5634
5635
5636
5637
5638
5639
5640
5641
5642
5643
5644{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5645$as_echo_n "checking for archiver @FILE support... " >&6; }
5646if ${lt_cv_ar_at_file+:} false; then :
5647  $as_echo_n "(cached) " >&6
5648else
5649  lt_cv_ar_at_file=no
5650   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5651/* end confdefs.h.  */
5652
5653int
5654main ()
5655{
5656
5657  ;
5658  return 0;
5659}
5660_ACEOF
5661if ac_fn_c_try_compile "$LINENO"; then :
5662  echo conftest.$ac_objext > conftest.lst
5663      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5664      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5665  (eval $lt_ar_try) 2>&5
5666  ac_status=$?
5667  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5668  test $ac_status = 0; }
5669      if test 0 -eq "$ac_status"; then
5670	# Ensure the archiver fails upon bogus file names.
5671	rm -f conftest.$ac_objext libconftest.a
5672	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5673  (eval $lt_ar_try) 2>&5
5674  ac_status=$?
5675  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5676  test $ac_status = 0; }
5677	if test 0 -ne "$ac_status"; then
5678          lt_cv_ar_at_file=@
5679        fi
5680      fi
5681      rm -f conftest.* libconftest.a
5682
5683fi
5684rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5685
5686fi
5687{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5688$as_echo "$lt_cv_ar_at_file" >&6; }
5689
5690if test no = "$lt_cv_ar_at_file"; then
5691  archiver_list_spec=
5692else
5693  archiver_list_spec=$lt_cv_ar_at_file
5694fi
5695
5696
5697
5698
5699
5700
5701
5702if test -n "$ac_tool_prefix"; then
5703  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5704set dummy ${ac_tool_prefix}strip; ac_word=$2
5705{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5706$as_echo_n "checking for $ac_word... " >&6; }
5707if ${ac_cv_prog_STRIP+:} false; then :
5708  $as_echo_n "(cached) " >&6
5709else
5710  if test -n "$STRIP"; then
5711  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5712else
5713as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5714for as_dir in $PATH
5715do
5716  IFS=$as_save_IFS
5717  test -z "$as_dir" && as_dir=.
5718    for ac_exec_ext in '' $ac_executable_extensions; do
5719  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5720    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5721    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5722    break 2
5723  fi
5724done
5725  done
5726IFS=$as_save_IFS
5727
5728fi
5729fi
5730STRIP=$ac_cv_prog_STRIP
5731if test -n "$STRIP"; then
5732  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5733$as_echo "$STRIP" >&6; }
5734else
5735  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5736$as_echo "no" >&6; }
5737fi
5738
5739
5740fi
5741if test -z "$ac_cv_prog_STRIP"; then
5742  ac_ct_STRIP=$STRIP
5743  # Extract the first word of "strip", so it can be a program name with args.
5744set dummy strip; ac_word=$2
5745{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5746$as_echo_n "checking for $ac_word... " >&6; }
5747if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5748  $as_echo_n "(cached) " >&6
5749else
5750  if test -n "$ac_ct_STRIP"; then
5751  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5752else
5753as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5754for as_dir in $PATH
5755do
5756  IFS=$as_save_IFS
5757  test -z "$as_dir" && as_dir=.
5758    for ac_exec_ext in '' $ac_executable_extensions; do
5759  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5760    ac_cv_prog_ac_ct_STRIP="strip"
5761    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5762    break 2
5763  fi
5764done
5765  done
5766IFS=$as_save_IFS
5767
5768fi
5769fi
5770ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5771if test -n "$ac_ct_STRIP"; then
5772  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5773$as_echo "$ac_ct_STRIP" >&6; }
5774else
5775  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5776$as_echo "no" >&6; }
5777fi
5778
5779  if test "x$ac_ct_STRIP" = x; then
5780    STRIP=":"
5781  else
5782    case $cross_compiling:$ac_tool_warned in
5783yes:)
5784{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5785$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5786ac_tool_warned=yes ;;
5787esac
5788    STRIP=$ac_ct_STRIP
5789  fi
5790else
5791  STRIP="$ac_cv_prog_STRIP"
5792fi
5793
5794test -z "$STRIP" && STRIP=:
5795
5796
5797
5798
5799
5800
5801if test -n "$ac_tool_prefix"; then
5802  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5803set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5804{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5805$as_echo_n "checking for $ac_word... " >&6; }
5806if ${ac_cv_prog_RANLIB+:} false; then :
5807  $as_echo_n "(cached) " >&6
5808else
5809  if test -n "$RANLIB"; then
5810  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5811else
5812as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5813for as_dir in $PATH
5814do
5815  IFS=$as_save_IFS
5816  test -z "$as_dir" && as_dir=.
5817    for ac_exec_ext in '' $ac_executable_extensions; do
5818  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5819    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5820    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5821    break 2
5822  fi
5823done
5824  done
5825IFS=$as_save_IFS
5826
5827fi
5828fi
5829RANLIB=$ac_cv_prog_RANLIB
5830if test -n "$RANLIB"; then
5831  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5832$as_echo "$RANLIB" >&6; }
5833else
5834  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5835$as_echo "no" >&6; }
5836fi
5837
5838
5839fi
5840if test -z "$ac_cv_prog_RANLIB"; then
5841  ac_ct_RANLIB=$RANLIB
5842  # Extract the first word of "ranlib", so it can be a program name with args.
5843set dummy ranlib; ac_word=$2
5844{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5845$as_echo_n "checking for $ac_word... " >&6; }
5846if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5847  $as_echo_n "(cached) " >&6
5848else
5849  if test -n "$ac_ct_RANLIB"; then
5850  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5851else
5852as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5853for as_dir in $PATH
5854do
5855  IFS=$as_save_IFS
5856  test -z "$as_dir" && as_dir=.
5857    for ac_exec_ext in '' $ac_executable_extensions; do
5858  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5859    ac_cv_prog_ac_ct_RANLIB="ranlib"
5860    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5861    break 2
5862  fi
5863done
5864  done
5865IFS=$as_save_IFS
5866
5867fi
5868fi
5869ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5870if test -n "$ac_ct_RANLIB"; then
5871  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5872$as_echo "$ac_ct_RANLIB" >&6; }
5873else
5874  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5875$as_echo "no" >&6; }
5876fi
5877
5878  if test "x$ac_ct_RANLIB" = x; then
5879    RANLIB=":"
5880  else
5881    case $cross_compiling:$ac_tool_warned in
5882yes:)
5883{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5884$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5885ac_tool_warned=yes ;;
5886esac
5887    RANLIB=$ac_ct_RANLIB
5888  fi
5889else
5890  RANLIB="$ac_cv_prog_RANLIB"
5891fi
5892
5893test -z "$RANLIB" && RANLIB=:
5894
5895
5896
5897
5898
5899
5900# Determine commands to create old-style static archives.
5901old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5902old_postinstall_cmds='chmod 644 $oldlib'
5903old_postuninstall_cmds=
5904
5905if test -n "$RANLIB"; then
5906  case $host_os in
5907  bitrig* | openbsd*)
5908    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
5909    ;;
5910  *)
5911    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
5912    ;;
5913  esac
5914  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
5915fi
5916
5917case $host_os in
5918  darwin*)
5919    lock_old_archive_extraction=yes ;;
5920  *)
5921    lock_old_archive_extraction=no ;;
5922esac
5923
5924
5925
5926
5927
5928
5929
5930
5931
5932
5933
5934
5935
5936
5937
5938
5939
5940
5941
5942
5943
5944for ac_prog in gawk mawk nawk awk
5945do
5946  # Extract the first word of "$ac_prog", so it can be a program name with args.
5947set dummy $ac_prog; ac_word=$2
5948{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5949$as_echo_n "checking for $ac_word... " >&6; }
5950if ${ac_cv_prog_AWK+:} false; then :
5951  $as_echo_n "(cached) " >&6
5952else
5953  if test -n "$AWK"; then
5954  ac_cv_prog_AWK="$AWK" # Let the user override the test.
5955else
5956as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5957for as_dir in $PATH
5958do
5959  IFS=$as_save_IFS
5960  test -z "$as_dir" && as_dir=.
5961    for ac_exec_ext in '' $ac_executable_extensions; do
5962  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5963    ac_cv_prog_AWK="$ac_prog"
5964    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5965    break 2
5966  fi
5967done
5968  done
5969IFS=$as_save_IFS
5970
5971fi
5972fi
5973AWK=$ac_cv_prog_AWK
5974if test -n "$AWK"; then
5975  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
5976$as_echo "$AWK" >&6; }
5977else
5978  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5979$as_echo "no" >&6; }
5980fi
5981
5982
5983  test -n "$AWK" && break
5984done
5985
5986
5987
5988
5989
5990
5991
5992
5993
5994
5995
5996
5997
5998
5999
6000
6001
6002
6003
6004# If no C compiler was specified, use CC.
6005LTCC=${LTCC-"$CC"}
6006
6007# If no C compiler flags were specified, use CFLAGS.
6008LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6009
6010# Allow CC to be a program name with arguments.
6011compiler=$CC
6012
6013
6014# Check for command to grab the raw symbol name followed by C symbol from nm.
6015{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6016$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6017if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6018  $as_echo_n "(cached) " >&6
6019else
6020
6021# These are sane defaults that work on at least a few old systems.
6022# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6023
6024# Character class describing NM global symbol codes.
6025symcode='[BCDEGRST]'
6026
6027# Regexp to match symbols that can be accessed directly from C.
6028sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6029
6030# Define system-specific variables.
6031case $host_os in
6032aix*)
6033  symcode='[BCDT]'
6034  ;;
6035cygwin* | mingw* | pw32* | cegcc*)
6036  symcode='[ABCDGISTW]'
6037  ;;
6038hpux*)
6039  if test ia64 = "$host_cpu"; then
6040    symcode='[ABCDEGRST]'
6041  fi
6042  ;;
6043irix* | nonstopux*)
6044  symcode='[BCDEGRST]'
6045  ;;
6046osf*)
6047  symcode='[BCDEGQRST]'
6048  ;;
6049solaris*)
6050  symcode='[BDRT]'
6051  ;;
6052sco3.2v5*)
6053  symcode='[DT]'
6054  ;;
6055sysv4.2uw2*)
6056  symcode='[DT]'
6057  ;;
6058sysv5* | sco5v6* | unixware* | OpenUNIX*)
6059  symcode='[ABDT]'
6060  ;;
6061sysv4)
6062  symcode='[DFNSTU]'
6063  ;;
6064esac
6065
6066# If we're using GNU nm, then use its standard symbol codes.
6067case `$NM -V 2>&1` in
6068*GNU* | *'with BFD'*)
6069  symcode='[ABCDGIRSTW]' ;;
6070esac
6071
6072if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6073  # Gets list of data symbols to import.
6074  lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
6075  # Adjust the below global symbol transforms to fixup imported variables.
6076  lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
6077  lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
6078  lt_c_name_lib_hook="\
6079  -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
6080  -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
6081else
6082  # Disable hooks by default.
6083  lt_cv_sys_global_symbol_to_import=
6084  lt_cdecl_hook=
6085  lt_c_name_hook=
6086  lt_c_name_lib_hook=
6087fi
6088
6089# Transform an extracted symbol line into a proper C declaration.
6090# Some systems (esp. on ia64) link data and code symbols differently,
6091# so use this general approach.
6092lt_cv_sys_global_symbol_to_cdecl="sed -n"\
6093$lt_cdecl_hook\
6094" -e 's/^T .* \(.*\)$/extern int \1();/p'"\
6095" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
6096
6097# Transform an extracted symbol line into symbol name and symbol address
6098lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
6099$lt_c_name_hook\
6100" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
6101" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
6102
6103# Transform an extracted symbol line into symbol name with lib prefix and
6104# symbol address.
6105lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
6106$lt_c_name_lib_hook\
6107" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
6108" -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
6109" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
6110
6111# Handle CRLF in mingw tool chain
6112opt_cr=
6113case $build_os in
6114mingw*)
6115  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6116  ;;
6117esac
6118
6119# Try without a prefix underscore, then with it.
6120for ac_symprfx in "" "_"; do
6121
6122  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6123  symxfrm="\\1 $ac_symprfx\\2 \\2"
6124
6125  # Write the raw and C identifiers.
6126  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6127    # Fake it for dumpbin and say T for any non-static function,
6128    # D for any global variable and I for any imported variable.
6129    # Also find C++ and __fastcall symbols from MSVC++,
6130    # which start with @ or ?.
6131    lt_cv_sys_global_symbol_pipe="$AWK '"\
6132"     {last_section=section; section=\$ 3};"\
6133"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6134"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6135"     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
6136"     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
6137"     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
6138"     \$ 0!~/External *\|/{next};"\
6139"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6140"     {if(hide[section]) next};"\
6141"     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
6142"     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
6143"     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
6144"     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
6145"     ' prfx=^$ac_symprfx"
6146  else
6147    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6148  fi
6149  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6150
6151  # Check to see that the pipe works correctly.
6152  pipe_works=no
6153
6154  rm -f conftest*
6155  cat > conftest.$ac_ext <<_LT_EOF
6156#ifdef __cplusplus
6157extern "C" {
6158#endif
6159char nm_test_var;
6160void nm_test_func(void);
6161void nm_test_func(void){}
6162#ifdef __cplusplus
6163}
6164#endif
6165int main(){nm_test_var='a';nm_test_func();return(0);}
6166_LT_EOF
6167
6168  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6169  (eval $ac_compile) 2>&5
6170  ac_status=$?
6171  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6172  test $ac_status = 0; }; then
6173    # Now try to grab the symbols.
6174    nlist=conftest.nm
6175    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6176  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6177  ac_status=$?
6178  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6179  test $ac_status = 0; } && test -s "$nlist"; then
6180      # Try sorting and uniquifying the output.
6181      if sort "$nlist" | uniq > "$nlist"T; then
6182	mv -f "$nlist"T "$nlist"
6183      else
6184	rm -f "$nlist"T
6185      fi
6186
6187      # Make sure that we snagged all the symbols we need.
6188      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6189	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6190	  cat <<_LT_EOF > conftest.$ac_ext
6191/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6192#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
6193/* DATA imports from DLLs on WIN32 can't be const, because runtime
6194   relocations are performed -- see ld's documentation on pseudo-relocs.  */
6195# define LT_DLSYM_CONST
6196#elif defined __osf__
6197/* This system does not cope well with relocations in const data.  */
6198# define LT_DLSYM_CONST
6199#else
6200# define LT_DLSYM_CONST const
6201#endif
6202
6203#ifdef __cplusplus
6204extern "C" {
6205#endif
6206
6207_LT_EOF
6208	  # Now generate the symbol file.
6209	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6210
6211	  cat <<_LT_EOF >> conftest.$ac_ext
6212
6213/* The mapping between symbol names and symbols.  */
6214LT_DLSYM_CONST struct {
6215  const char *name;
6216  void       *address;
6217}
6218lt__PROGRAM__LTX_preloaded_symbols[] =
6219{
6220  { "@PROGRAM@", (void *) 0 },
6221_LT_EOF
6222	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6223	  cat <<\_LT_EOF >> conftest.$ac_ext
6224  {0, (void *) 0}
6225};
6226
6227/* This works around a problem in FreeBSD linker */
6228#ifdef FREEBSD_WORKAROUND
6229static const void *lt_preloaded_setup() {
6230  return lt__PROGRAM__LTX_preloaded_symbols;
6231}
6232#endif
6233
6234#ifdef __cplusplus
6235}
6236#endif
6237_LT_EOF
6238	  # Now try linking the two files.
6239	  mv conftest.$ac_objext conftstm.$ac_objext
6240	  lt_globsym_save_LIBS=$LIBS
6241	  lt_globsym_save_CFLAGS=$CFLAGS
6242	  LIBS=conftstm.$ac_objext
6243	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6244	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6245  (eval $ac_link) 2>&5
6246  ac_status=$?
6247  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6248  test $ac_status = 0; } && test -s conftest$ac_exeext; then
6249	    pipe_works=yes
6250	  fi
6251	  LIBS=$lt_globsym_save_LIBS
6252	  CFLAGS=$lt_globsym_save_CFLAGS
6253	else
6254	  echo "cannot find nm_test_func in $nlist" >&5
6255	fi
6256      else
6257	echo "cannot find nm_test_var in $nlist" >&5
6258      fi
6259    else
6260      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6261    fi
6262  else
6263    echo "$progname: failed program was:" >&5
6264    cat conftest.$ac_ext >&5
6265  fi
6266  rm -rf conftest* conftst*
6267
6268  # Do not use the global_symbol_pipe unless it works.
6269  if test yes = "$pipe_works"; then
6270    break
6271  else
6272    lt_cv_sys_global_symbol_pipe=
6273  fi
6274done
6275
6276fi
6277
6278if test -z "$lt_cv_sys_global_symbol_pipe"; then
6279  lt_cv_sys_global_symbol_to_cdecl=
6280fi
6281if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6282  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6283$as_echo "failed" >&6; }
6284else
6285  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6286$as_echo "ok" >&6; }
6287fi
6288
6289# Response file support.
6290if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6291  nm_file_list_spec='@'
6292elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6293  nm_file_list_spec='@'
6294fi
6295
6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
6306
6307
6308
6309
6310
6311
6312
6313
6314
6315
6316
6317
6318
6319
6320
6321
6322
6323
6324
6325
6326
6327
6328
6329
6330
6331
6332{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6333$as_echo_n "checking for sysroot... " >&6; }
6334
6335# Check whether --with-sysroot was given.
6336if test "${with_sysroot+set}" = set; then :
6337  withval=$with_sysroot;
6338else
6339  with_sysroot=no
6340fi
6341
6342
6343lt_sysroot=
6344case $with_sysroot in #(
6345 yes)
6346   if test yes = "$GCC"; then
6347     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6348   fi
6349   ;; #(
6350 /*)
6351   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6352   ;; #(
6353 no|'')
6354   ;; #(
6355 *)
6356   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
6357$as_echo "$with_sysroot" >&6; }
6358   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6359   ;;
6360esac
6361
6362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6363$as_echo "${lt_sysroot:-no}" >&6; }
6364
6365
6366
6367
6368
6369{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
6370$as_echo_n "checking for a working dd... " >&6; }
6371if ${ac_cv_path_lt_DD+:} false; then :
6372  $as_echo_n "(cached) " >&6
6373else
6374  printf 0123456789abcdef0123456789abcdef >conftest.i
6375cat conftest.i conftest.i >conftest2.i
6376: ${lt_DD:=$DD}
6377if test -z "$lt_DD"; then
6378  ac_path_lt_DD_found=false
6379  # Loop through the user's path and test for each of PROGNAME-LIST
6380  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6381for as_dir in $PATH
6382do
6383  IFS=$as_save_IFS
6384  test -z "$as_dir" && as_dir=.
6385    for ac_prog in dd; do
6386    for ac_exec_ext in '' $ac_executable_extensions; do
6387      ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
6388      as_fn_executable_p "$ac_path_lt_DD" || continue
6389if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
6390  cmp -s conftest.i conftest.out \
6391  && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
6392fi
6393      $ac_path_lt_DD_found && break 3
6394    done
6395  done
6396  done
6397IFS=$as_save_IFS
6398  if test -z "$ac_cv_path_lt_DD"; then
6399    :
6400  fi
6401else
6402  ac_cv_path_lt_DD=$lt_DD
6403fi
6404
6405rm -f conftest.i conftest2.i conftest.out
6406fi
6407{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
6408$as_echo "$ac_cv_path_lt_DD" >&6; }
6409
6410
6411{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
6412$as_echo_n "checking how to truncate binary pipes... " >&6; }
6413if ${lt_cv_truncate_bin+:} false; then :
6414  $as_echo_n "(cached) " >&6
6415else
6416  printf 0123456789abcdef0123456789abcdef >conftest.i
6417cat conftest.i conftest.i >conftest2.i
6418lt_cv_truncate_bin=
6419if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
6420  cmp -s conftest.i conftest.out \
6421  && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
6422fi
6423rm -f conftest.i conftest2.i conftest.out
6424test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
6425fi
6426{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
6427$as_echo "$lt_cv_truncate_bin" >&6; }
6428
6429
6430
6431
6432
6433
6434
6435# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
6436func_cc_basename ()
6437{
6438    for cc_temp in $*""; do
6439      case $cc_temp in
6440        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6441        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6442        \-*) ;;
6443        *) break;;
6444      esac
6445    done
6446    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
6447}
6448
6449# Check whether --enable-libtool-lock was given.
6450if test "${enable_libtool_lock+set}" = set; then :
6451  enableval=$enable_libtool_lock;
6452fi
6453
6454test no = "$enable_libtool_lock" || enable_libtool_lock=yes
6455
6456# Some flags need to be propagated to the compiler or linker for good
6457# libtool support.
6458case $host in
6459ia64-*-hpux*)
6460  # Find out what ABI is being produced by ac_compile, and set mode
6461  # options accordingly.
6462  echo 'int i;' > conftest.$ac_ext
6463  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6464  (eval $ac_compile) 2>&5
6465  ac_status=$?
6466  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6467  test $ac_status = 0; }; then
6468    case `/usr/bin/file conftest.$ac_objext` in
6469      *ELF-32*)
6470	HPUX_IA64_MODE=32
6471	;;
6472      *ELF-64*)
6473	HPUX_IA64_MODE=64
6474	;;
6475    esac
6476  fi
6477  rm -rf conftest*
6478  ;;
6479*-*-irix6*)
6480  # Find out what ABI is being produced by ac_compile, and set linker
6481  # options accordingly.
6482  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6483  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6484  (eval $ac_compile) 2>&5
6485  ac_status=$?
6486  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6487  test $ac_status = 0; }; then
6488    if test yes = "$lt_cv_prog_gnu_ld"; then
6489      case `/usr/bin/file conftest.$ac_objext` in
6490	*32-bit*)
6491	  LD="${LD-ld} -melf32bsmip"
6492	  ;;
6493	*N32*)
6494	  LD="${LD-ld} -melf32bmipn32"
6495	  ;;
6496	*64-bit*)
6497	  LD="${LD-ld} -melf64bmip"
6498	;;
6499      esac
6500    else
6501      case `/usr/bin/file conftest.$ac_objext` in
6502	*32-bit*)
6503	  LD="${LD-ld} -32"
6504	  ;;
6505	*N32*)
6506	  LD="${LD-ld} -n32"
6507	  ;;
6508	*64-bit*)
6509	  LD="${LD-ld} -64"
6510	  ;;
6511      esac
6512    fi
6513  fi
6514  rm -rf conftest*
6515  ;;
6516
6517mips64*-*linux*)
6518  # Find out what ABI is being produced by ac_compile, and set linker
6519  # options accordingly.
6520  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6521  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6522  (eval $ac_compile) 2>&5
6523  ac_status=$?
6524  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6525  test $ac_status = 0; }; then
6526    emul=elf
6527    case `/usr/bin/file conftest.$ac_objext` in
6528      *32-bit*)
6529	emul="${emul}32"
6530	;;
6531      *64-bit*)
6532	emul="${emul}64"
6533	;;
6534    esac
6535    case `/usr/bin/file conftest.$ac_objext` in
6536      *MSB*)
6537	emul="${emul}btsmip"
6538	;;
6539      *LSB*)
6540	emul="${emul}ltsmip"
6541	;;
6542    esac
6543    case `/usr/bin/file conftest.$ac_objext` in
6544      *N32*)
6545	emul="${emul}n32"
6546	;;
6547    esac
6548    LD="${LD-ld} -m $emul"
6549  fi
6550  rm -rf conftest*
6551  ;;
6552
6553x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6554s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6555  # Find out what ABI is being produced by ac_compile, and set linker
6556  # options accordingly.  Note that the listed cases only cover the
6557  # situations where additional linker options are needed (such as when
6558  # doing 32-bit compilation for a host where ld defaults to 64-bit, or
6559  # vice versa); the common cases where no linker options are needed do
6560  # not appear in the list.
6561  echo 'int i;' > conftest.$ac_ext
6562  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6563  (eval $ac_compile) 2>&5
6564  ac_status=$?
6565  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6566  test $ac_status = 0; }; then
6567    case `/usr/bin/file conftest.o` in
6568      *32-bit*)
6569	case $host in
6570	  x86_64-*kfreebsd*-gnu)
6571	    LD="${LD-ld} -m elf_i386_fbsd"
6572	    ;;
6573	  x86_64-*linux*)
6574	    case `/usr/bin/file conftest.o` in
6575	      *x86-64*)
6576		LD="${LD-ld} -m elf32_x86_64"
6577		;;
6578	      *)
6579		LD="${LD-ld} -m elf_i386"
6580		;;
6581	    esac
6582	    ;;
6583	  powerpc64le-*linux*)
6584	    LD="${LD-ld} -m elf32lppclinux"
6585	    ;;
6586	  powerpc64-*linux*)
6587	    LD="${LD-ld} -m elf32ppclinux"
6588	    ;;
6589	  s390x-*linux*)
6590	    LD="${LD-ld} -m elf_s390"
6591	    ;;
6592	  sparc64-*linux*)
6593	    LD="${LD-ld} -m elf32_sparc"
6594	    ;;
6595	esac
6596	;;
6597      *64-bit*)
6598	case $host in
6599	  x86_64-*kfreebsd*-gnu)
6600	    LD="${LD-ld} -m elf_x86_64_fbsd"
6601	    ;;
6602	  x86_64-*linux*)
6603	    LD="${LD-ld} -m elf_x86_64"
6604	    ;;
6605	  powerpcle-*linux*|powerpc64le-*linux*)
6606	    LD="${LD-ld} -m elf64lppc"
6607	    ;;
6608	  powerpc-*linux*|powerpc64-*linux*)
6609	    LD="${LD-ld} -m elf64ppc"
6610	    ;;
6611	  s390*-*linux*|s390*-*tpf*)
6612	    LD="${LD-ld} -m elf64_s390"
6613	    ;;
6614	  sparc*-*linux*)
6615	    LD="${LD-ld} -m elf64_sparc"
6616	    ;;
6617	esac
6618	;;
6619    esac
6620  fi
6621  rm -rf conftest*
6622  ;;
6623
6624*-*-sco3.2v5*)
6625  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6626  SAVE_CFLAGS=$CFLAGS
6627  CFLAGS="$CFLAGS -belf"
6628  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6629$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6630if ${lt_cv_cc_needs_belf+:} false; then :
6631  $as_echo_n "(cached) " >&6
6632else
6633  ac_ext=c
6634ac_cpp='$CPP $CPPFLAGS'
6635ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6636ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6637ac_compiler_gnu=$ac_cv_c_compiler_gnu
6638
6639     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6640/* end confdefs.h.  */
6641
6642int
6643main ()
6644{
6645
6646  ;
6647  return 0;
6648}
6649_ACEOF
6650if ac_fn_c_try_link "$LINENO"; then :
6651  lt_cv_cc_needs_belf=yes
6652else
6653  lt_cv_cc_needs_belf=no
6654fi
6655rm -f core conftest.err conftest.$ac_objext \
6656    conftest$ac_exeext conftest.$ac_ext
6657     ac_ext=c
6658ac_cpp='$CPP $CPPFLAGS'
6659ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6660ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6661ac_compiler_gnu=$ac_cv_c_compiler_gnu
6662
6663fi
6664{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6665$as_echo "$lt_cv_cc_needs_belf" >&6; }
6666  if test yes != "$lt_cv_cc_needs_belf"; then
6667    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6668    CFLAGS=$SAVE_CFLAGS
6669  fi
6670  ;;
6671*-*solaris*)
6672  # Find out what ABI is being produced by ac_compile, and set linker
6673  # options accordingly.
6674  echo 'int i;' > conftest.$ac_ext
6675  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6676  (eval $ac_compile) 2>&5
6677  ac_status=$?
6678  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6679  test $ac_status = 0; }; then
6680    case `/usr/bin/file conftest.o` in
6681    *64-bit*)
6682      case $lt_cv_prog_gnu_ld in
6683      yes*)
6684        case $host in
6685        i?86-*-solaris*|x86_64-*-solaris*)
6686          LD="${LD-ld} -m elf_x86_64"
6687          ;;
6688        sparc*-*-solaris*)
6689          LD="${LD-ld} -m elf64_sparc"
6690          ;;
6691        esac
6692        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6693        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6694          LD=${LD-ld}_sol2
6695        fi
6696        ;;
6697      *)
6698	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6699	  LD="${LD-ld} -64"
6700	fi
6701	;;
6702      esac
6703      ;;
6704    esac
6705  fi
6706  rm -rf conftest*
6707  ;;
6708esac
6709
6710need_locks=$enable_libtool_lock
6711
6712if test -n "$ac_tool_prefix"; then
6713  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6714set dummy ${ac_tool_prefix}mt; ac_word=$2
6715{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6716$as_echo_n "checking for $ac_word... " >&6; }
6717if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6718  $as_echo_n "(cached) " >&6
6719else
6720  if test -n "$MANIFEST_TOOL"; then
6721  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6722else
6723as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6724for as_dir in $PATH
6725do
6726  IFS=$as_save_IFS
6727  test -z "$as_dir" && as_dir=.
6728    for ac_exec_ext in '' $ac_executable_extensions; do
6729  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6730    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6731    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6732    break 2
6733  fi
6734done
6735  done
6736IFS=$as_save_IFS
6737
6738fi
6739fi
6740MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6741if test -n "$MANIFEST_TOOL"; then
6742  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6743$as_echo "$MANIFEST_TOOL" >&6; }
6744else
6745  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6746$as_echo "no" >&6; }
6747fi
6748
6749
6750fi
6751if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6752  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6753  # Extract the first word of "mt", so it can be a program name with args.
6754set dummy mt; ac_word=$2
6755{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6756$as_echo_n "checking for $ac_word... " >&6; }
6757if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6758  $as_echo_n "(cached) " >&6
6759else
6760  if test -n "$ac_ct_MANIFEST_TOOL"; then
6761  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6762else
6763as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6764for as_dir in $PATH
6765do
6766  IFS=$as_save_IFS
6767  test -z "$as_dir" && as_dir=.
6768    for ac_exec_ext in '' $ac_executable_extensions; do
6769  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6770    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6771    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6772    break 2
6773  fi
6774done
6775  done
6776IFS=$as_save_IFS
6777
6778fi
6779fi
6780ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6781if test -n "$ac_ct_MANIFEST_TOOL"; then
6782  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6783$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6784else
6785  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6786$as_echo "no" >&6; }
6787fi
6788
6789  if test "x$ac_ct_MANIFEST_TOOL" = x; then
6790    MANIFEST_TOOL=":"
6791  else
6792    case $cross_compiling:$ac_tool_warned in
6793yes:)
6794{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6795$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6796ac_tool_warned=yes ;;
6797esac
6798    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6799  fi
6800else
6801  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6802fi
6803
6804test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6805{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6806$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6807if ${lt_cv_path_mainfest_tool+:} false; then :
6808  $as_echo_n "(cached) " >&6
6809else
6810  lt_cv_path_mainfest_tool=no
6811  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6812  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6813  cat conftest.err >&5
6814  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6815    lt_cv_path_mainfest_tool=yes
6816  fi
6817  rm -f conftest*
6818fi
6819{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6820$as_echo "$lt_cv_path_mainfest_tool" >&6; }
6821if test yes != "$lt_cv_path_mainfest_tool"; then
6822  MANIFEST_TOOL=:
6823fi
6824
6825
6826
6827
6828
6829
6830  case $host_os in
6831    rhapsody* | darwin*)
6832    if test -n "$ac_tool_prefix"; then
6833  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6834set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6835{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6836$as_echo_n "checking for $ac_word... " >&6; }
6837if ${ac_cv_prog_DSYMUTIL+:} false; then :
6838  $as_echo_n "(cached) " >&6
6839else
6840  if test -n "$DSYMUTIL"; then
6841  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6842else
6843as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6844for as_dir in $PATH
6845do
6846  IFS=$as_save_IFS
6847  test -z "$as_dir" && as_dir=.
6848    for ac_exec_ext in '' $ac_executable_extensions; do
6849  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6850    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6851    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6852    break 2
6853  fi
6854done
6855  done
6856IFS=$as_save_IFS
6857
6858fi
6859fi
6860DSYMUTIL=$ac_cv_prog_DSYMUTIL
6861if test -n "$DSYMUTIL"; then
6862  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6863$as_echo "$DSYMUTIL" >&6; }
6864else
6865  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6866$as_echo "no" >&6; }
6867fi
6868
6869
6870fi
6871if test -z "$ac_cv_prog_DSYMUTIL"; then
6872  ac_ct_DSYMUTIL=$DSYMUTIL
6873  # Extract the first word of "dsymutil", so it can be a program name with args.
6874set dummy dsymutil; ac_word=$2
6875{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6876$as_echo_n "checking for $ac_word... " >&6; }
6877if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6878  $as_echo_n "(cached) " >&6
6879else
6880  if test -n "$ac_ct_DSYMUTIL"; then
6881  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6882else
6883as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6884for as_dir in $PATH
6885do
6886  IFS=$as_save_IFS
6887  test -z "$as_dir" && as_dir=.
6888    for ac_exec_ext in '' $ac_executable_extensions; do
6889  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6890    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6891    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6892    break 2
6893  fi
6894done
6895  done
6896IFS=$as_save_IFS
6897
6898fi
6899fi
6900ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6901if test -n "$ac_ct_DSYMUTIL"; then
6902  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6903$as_echo "$ac_ct_DSYMUTIL" >&6; }
6904else
6905  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6906$as_echo "no" >&6; }
6907fi
6908
6909  if test "x$ac_ct_DSYMUTIL" = x; then
6910    DSYMUTIL=":"
6911  else
6912    case $cross_compiling:$ac_tool_warned in
6913yes:)
6914{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6915$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6916ac_tool_warned=yes ;;
6917esac
6918    DSYMUTIL=$ac_ct_DSYMUTIL
6919  fi
6920else
6921  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6922fi
6923
6924    if test -n "$ac_tool_prefix"; then
6925  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6926set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6927{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6928$as_echo_n "checking for $ac_word... " >&6; }
6929if ${ac_cv_prog_NMEDIT+:} false; then :
6930  $as_echo_n "(cached) " >&6
6931else
6932  if test -n "$NMEDIT"; then
6933  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6934else
6935as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6936for as_dir in $PATH
6937do
6938  IFS=$as_save_IFS
6939  test -z "$as_dir" && as_dir=.
6940    for ac_exec_ext in '' $ac_executable_extensions; do
6941  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6942    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6943    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6944    break 2
6945  fi
6946done
6947  done
6948IFS=$as_save_IFS
6949
6950fi
6951fi
6952NMEDIT=$ac_cv_prog_NMEDIT
6953if test -n "$NMEDIT"; then
6954  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6955$as_echo "$NMEDIT" >&6; }
6956else
6957  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6958$as_echo "no" >&6; }
6959fi
6960
6961
6962fi
6963if test -z "$ac_cv_prog_NMEDIT"; then
6964  ac_ct_NMEDIT=$NMEDIT
6965  # Extract the first word of "nmedit", so it can be a program name with args.
6966set dummy nmedit; ac_word=$2
6967{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6968$as_echo_n "checking for $ac_word... " >&6; }
6969if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6970  $as_echo_n "(cached) " >&6
6971else
6972  if test -n "$ac_ct_NMEDIT"; then
6973  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6974else
6975as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6976for as_dir in $PATH
6977do
6978  IFS=$as_save_IFS
6979  test -z "$as_dir" && as_dir=.
6980    for ac_exec_ext in '' $ac_executable_extensions; do
6981  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6982    ac_cv_prog_ac_ct_NMEDIT="nmedit"
6983    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6984    break 2
6985  fi
6986done
6987  done
6988IFS=$as_save_IFS
6989
6990fi
6991fi
6992ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6993if test -n "$ac_ct_NMEDIT"; then
6994  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6995$as_echo "$ac_ct_NMEDIT" >&6; }
6996else
6997  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6998$as_echo "no" >&6; }
6999fi
7000
7001  if test "x$ac_ct_NMEDIT" = x; then
7002    NMEDIT=":"
7003  else
7004    case $cross_compiling:$ac_tool_warned in
7005yes:)
7006{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7007$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7008ac_tool_warned=yes ;;
7009esac
7010    NMEDIT=$ac_ct_NMEDIT
7011  fi
7012else
7013  NMEDIT="$ac_cv_prog_NMEDIT"
7014fi
7015
7016    if test -n "$ac_tool_prefix"; then
7017  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7018set dummy ${ac_tool_prefix}lipo; ac_word=$2
7019{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7020$as_echo_n "checking for $ac_word... " >&6; }
7021if ${ac_cv_prog_LIPO+:} false; then :
7022  $as_echo_n "(cached) " >&6
7023else
7024  if test -n "$LIPO"; then
7025  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7026else
7027as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7028for as_dir in $PATH
7029do
7030  IFS=$as_save_IFS
7031  test -z "$as_dir" && as_dir=.
7032    for ac_exec_ext in '' $ac_executable_extensions; do
7033  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7034    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7035    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7036    break 2
7037  fi
7038done
7039  done
7040IFS=$as_save_IFS
7041
7042fi
7043fi
7044LIPO=$ac_cv_prog_LIPO
7045if test -n "$LIPO"; then
7046  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7047$as_echo "$LIPO" >&6; }
7048else
7049  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7050$as_echo "no" >&6; }
7051fi
7052
7053
7054fi
7055if test -z "$ac_cv_prog_LIPO"; then
7056  ac_ct_LIPO=$LIPO
7057  # Extract the first word of "lipo", so it can be a program name with args.
7058set dummy lipo; ac_word=$2
7059{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7060$as_echo_n "checking for $ac_word... " >&6; }
7061if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7062  $as_echo_n "(cached) " >&6
7063else
7064  if test -n "$ac_ct_LIPO"; then
7065  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7066else
7067as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7068for as_dir in $PATH
7069do
7070  IFS=$as_save_IFS
7071  test -z "$as_dir" && as_dir=.
7072    for ac_exec_ext in '' $ac_executable_extensions; do
7073  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7074    ac_cv_prog_ac_ct_LIPO="lipo"
7075    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7076    break 2
7077  fi
7078done
7079  done
7080IFS=$as_save_IFS
7081
7082fi
7083fi
7084ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7085if test -n "$ac_ct_LIPO"; then
7086  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7087$as_echo "$ac_ct_LIPO" >&6; }
7088else
7089  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7090$as_echo "no" >&6; }
7091fi
7092
7093  if test "x$ac_ct_LIPO" = x; then
7094    LIPO=":"
7095  else
7096    case $cross_compiling:$ac_tool_warned in
7097yes:)
7098{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7099$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7100ac_tool_warned=yes ;;
7101esac
7102    LIPO=$ac_ct_LIPO
7103  fi
7104else
7105  LIPO="$ac_cv_prog_LIPO"
7106fi
7107
7108    if test -n "$ac_tool_prefix"; then
7109  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7110set dummy ${ac_tool_prefix}otool; ac_word=$2
7111{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7112$as_echo_n "checking for $ac_word... " >&6; }
7113if ${ac_cv_prog_OTOOL+:} false; then :
7114  $as_echo_n "(cached) " >&6
7115else
7116  if test -n "$OTOOL"; then
7117  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7118else
7119as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7120for as_dir in $PATH
7121do
7122  IFS=$as_save_IFS
7123  test -z "$as_dir" && as_dir=.
7124    for ac_exec_ext in '' $ac_executable_extensions; do
7125  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7126    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7127    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7128    break 2
7129  fi
7130done
7131  done
7132IFS=$as_save_IFS
7133
7134fi
7135fi
7136OTOOL=$ac_cv_prog_OTOOL
7137if test -n "$OTOOL"; then
7138  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7139$as_echo "$OTOOL" >&6; }
7140else
7141  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7142$as_echo "no" >&6; }
7143fi
7144
7145
7146fi
7147if test -z "$ac_cv_prog_OTOOL"; then
7148  ac_ct_OTOOL=$OTOOL
7149  # Extract the first word of "otool", so it can be a program name with args.
7150set dummy otool; ac_word=$2
7151{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7152$as_echo_n "checking for $ac_word... " >&6; }
7153if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7154  $as_echo_n "(cached) " >&6
7155else
7156  if test -n "$ac_ct_OTOOL"; then
7157  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7158else
7159as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7160for as_dir in $PATH
7161do
7162  IFS=$as_save_IFS
7163  test -z "$as_dir" && as_dir=.
7164    for ac_exec_ext in '' $ac_executable_extensions; do
7165  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7166    ac_cv_prog_ac_ct_OTOOL="otool"
7167    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7168    break 2
7169  fi
7170done
7171  done
7172IFS=$as_save_IFS
7173
7174fi
7175fi
7176ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7177if test -n "$ac_ct_OTOOL"; then
7178  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7179$as_echo "$ac_ct_OTOOL" >&6; }
7180else
7181  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7182$as_echo "no" >&6; }
7183fi
7184
7185  if test "x$ac_ct_OTOOL" = x; then
7186    OTOOL=":"
7187  else
7188    case $cross_compiling:$ac_tool_warned in
7189yes:)
7190{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7191$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7192ac_tool_warned=yes ;;
7193esac
7194    OTOOL=$ac_ct_OTOOL
7195  fi
7196else
7197  OTOOL="$ac_cv_prog_OTOOL"
7198fi
7199
7200    if test -n "$ac_tool_prefix"; then
7201  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7202set dummy ${ac_tool_prefix}otool64; ac_word=$2
7203{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7204$as_echo_n "checking for $ac_word... " >&6; }
7205if ${ac_cv_prog_OTOOL64+:} false; then :
7206  $as_echo_n "(cached) " >&6
7207else
7208  if test -n "$OTOOL64"; then
7209  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7210else
7211as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7212for as_dir in $PATH
7213do
7214  IFS=$as_save_IFS
7215  test -z "$as_dir" && as_dir=.
7216    for ac_exec_ext in '' $ac_executable_extensions; do
7217  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7218    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7219    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7220    break 2
7221  fi
7222done
7223  done
7224IFS=$as_save_IFS
7225
7226fi
7227fi
7228OTOOL64=$ac_cv_prog_OTOOL64
7229if test -n "$OTOOL64"; then
7230  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7231$as_echo "$OTOOL64" >&6; }
7232else
7233  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7234$as_echo "no" >&6; }
7235fi
7236
7237
7238fi
7239if test -z "$ac_cv_prog_OTOOL64"; then
7240  ac_ct_OTOOL64=$OTOOL64
7241  # Extract the first word of "otool64", so it can be a program name with args.
7242set dummy otool64; ac_word=$2
7243{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7244$as_echo_n "checking for $ac_word... " >&6; }
7245if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7246  $as_echo_n "(cached) " >&6
7247else
7248  if test -n "$ac_ct_OTOOL64"; then
7249  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7250else
7251as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7252for as_dir in $PATH
7253do
7254  IFS=$as_save_IFS
7255  test -z "$as_dir" && as_dir=.
7256    for ac_exec_ext in '' $ac_executable_extensions; do
7257  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7258    ac_cv_prog_ac_ct_OTOOL64="otool64"
7259    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7260    break 2
7261  fi
7262done
7263  done
7264IFS=$as_save_IFS
7265
7266fi
7267fi
7268ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7269if test -n "$ac_ct_OTOOL64"; then
7270  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7271$as_echo "$ac_ct_OTOOL64" >&6; }
7272else
7273  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7274$as_echo "no" >&6; }
7275fi
7276
7277  if test "x$ac_ct_OTOOL64" = x; then
7278    OTOOL64=":"
7279  else
7280    case $cross_compiling:$ac_tool_warned in
7281yes:)
7282{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7283$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7284ac_tool_warned=yes ;;
7285esac
7286    OTOOL64=$ac_ct_OTOOL64
7287  fi
7288else
7289  OTOOL64="$ac_cv_prog_OTOOL64"
7290fi
7291
7292
7293
7294
7295
7296
7297
7298
7299
7300
7301
7302
7303
7304
7305
7306
7307
7308
7309
7310
7311
7312
7313
7314
7315
7316
7317
7318    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7319$as_echo_n "checking for -single_module linker flag... " >&6; }
7320if ${lt_cv_apple_cc_single_mod+:} false; then :
7321  $as_echo_n "(cached) " >&6
7322else
7323  lt_cv_apple_cc_single_mod=no
7324      if test -z "$LT_MULTI_MODULE"; then
7325	# By default we will add the -single_module flag. You can override
7326	# by either setting the environment variable LT_MULTI_MODULE
7327	# non-empty at configure time, or by adding -multi_module to the
7328	# link flags.
7329	rm -rf libconftest.dylib*
7330	echo "int foo(void){return 1;}" > conftest.c
7331	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7332-dynamiclib -Wl,-single_module conftest.c" >&5
7333	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7334	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7335        _lt_result=$?
7336	# If there is a non-empty error log, and "single_module"
7337	# appears in it, assume the flag caused a linker warning
7338        if test -s conftest.err && $GREP single_module conftest.err; then
7339	  cat conftest.err >&5
7340	# Otherwise, if the output was created with a 0 exit code from
7341	# the compiler, it worked.
7342	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
7343	  lt_cv_apple_cc_single_mod=yes
7344	else
7345	  cat conftest.err >&5
7346	fi
7347	rm -rf libconftest.dylib*
7348	rm -f conftest.*
7349      fi
7350fi
7351{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7352$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7353
7354    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7355$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7356if ${lt_cv_ld_exported_symbols_list+:} false; then :
7357  $as_echo_n "(cached) " >&6
7358else
7359  lt_cv_ld_exported_symbols_list=no
7360      save_LDFLAGS=$LDFLAGS
7361      echo "_main" > conftest.sym
7362      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7363      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7364/* end confdefs.h.  */
7365
7366int
7367main ()
7368{
7369
7370  ;
7371  return 0;
7372}
7373_ACEOF
7374if ac_fn_c_try_link "$LINENO"; then :
7375  lt_cv_ld_exported_symbols_list=yes
7376else
7377  lt_cv_ld_exported_symbols_list=no
7378fi
7379rm -f core conftest.err conftest.$ac_objext \
7380    conftest$ac_exeext conftest.$ac_ext
7381	LDFLAGS=$save_LDFLAGS
7382
7383fi
7384{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7385$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7386
7387    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7388$as_echo_n "checking for -force_load linker flag... " >&6; }
7389if ${lt_cv_ld_force_load+:} false; then :
7390  $as_echo_n "(cached) " >&6
7391else
7392  lt_cv_ld_force_load=no
7393      cat > conftest.c << _LT_EOF
7394int forced_loaded() { return 2;}
7395_LT_EOF
7396      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7397      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7398      echo "$AR cru libconftest.a conftest.o" >&5
7399      $AR cru libconftest.a conftest.o 2>&5
7400      echo "$RANLIB libconftest.a" >&5
7401      $RANLIB libconftest.a 2>&5
7402      cat > conftest.c << _LT_EOF
7403int main() { return 0;}
7404_LT_EOF
7405      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7406      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7407      _lt_result=$?
7408      if test -s conftest.err && $GREP force_load conftest.err; then
7409	cat conftest.err >&5
7410      elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
7411	lt_cv_ld_force_load=yes
7412      else
7413	cat conftest.err >&5
7414      fi
7415        rm -f conftest.err libconftest.a conftest conftest.c
7416        rm -rf conftest.dSYM
7417
7418fi
7419{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7420$as_echo "$lt_cv_ld_force_load" >&6; }
7421    case $host_os in
7422    rhapsody* | darwin1.[012])
7423      _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
7424    darwin1.*)
7425      _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7426    darwin*) # darwin 5.x on
7427      # if running on 10.5 or later, the deployment target defaults
7428      # to the OS version, if on x86, and 10.4, the deployment
7429      # target defaults to 10.4. Don't you love it?
7430      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7431	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7432	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7433	10.[012][,.]*)
7434	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7435	10.*)
7436	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7437      esac
7438    ;;
7439  esac
7440    if test yes = "$lt_cv_apple_cc_single_mod"; then
7441      _lt_dar_single_mod='$single_module'
7442    fi
7443    if test yes = "$lt_cv_ld_exported_symbols_list"; then
7444      _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
7445    else
7446      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
7447    fi
7448    if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
7449      _lt_dsymutil='~$DSYMUTIL $lib || :'
7450    else
7451      _lt_dsymutil=
7452    fi
7453    ;;
7454  esac
7455
7456# func_munge_path_list VARIABLE PATH
7457# -----------------------------------
7458# VARIABLE is name of variable containing _space_ separated list of
7459# directories to be munged by the contents of PATH, which is string
7460# having a format:
7461# "DIR[:DIR]:"
7462#       string "DIR[ DIR]" will be prepended to VARIABLE
7463# ":DIR[:DIR]"
7464#       string "DIR[ DIR]" will be appended to VARIABLE
7465# "DIRP[:DIRP]::[DIRA:]DIRA"
7466#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
7467#       "DIRA[ DIRA]" will be appended to VARIABLE
7468# "DIR[:DIR]"
7469#       VARIABLE will be replaced by "DIR[ DIR]"
7470func_munge_path_list ()
7471{
7472    case x$2 in
7473    x)
7474        ;;
7475    *:)
7476        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
7477        ;;
7478    x:*)
7479        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
7480        ;;
7481    *::*)
7482        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
7483        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
7484        ;;
7485    *)
7486        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
7487        ;;
7488    esac
7489}
7490
7491ac_ext=c
7492ac_cpp='$CPP $CPPFLAGS'
7493ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7494ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7495ac_compiler_gnu=$ac_cv_c_compiler_gnu
7496{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7497$as_echo_n "checking how to run the C preprocessor... " >&6; }
7498# On Suns, sometimes $CPP names a directory.
7499if test -n "$CPP" && test -d "$CPP"; then
7500  CPP=
7501fi
7502if test -z "$CPP"; then
7503  if ${ac_cv_prog_CPP+:} false; then :
7504  $as_echo_n "(cached) " >&6
7505else
7506      # Double quotes because CPP needs to be expanded
7507    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7508    do
7509      ac_preproc_ok=false
7510for ac_c_preproc_warn_flag in '' yes
7511do
7512  # Use a header file that comes with gcc, so configuring glibc
7513  # with a fresh cross-compiler works.
7514  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7515  # <limits.h> exists even on freestanding compilers.
7516  # On the NeXT, cc -E runs the code through the compiler's parser,
7517  # not just through cpp. "Syntax error" is here to catch this case.
7518  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7519/* end confdefs.h.  */
7520#ifdef __STDC__
7521# include <limits.h>
7522#else
7523# include <assert.h>
7524#endif
7525		     Syntax error
7526_ACEOF
7527if ac_fn_c_try_cpp "$LINENO"; then :
7528
7529else
7530  # Broken: fails on valid input.
7531continue
7532fi
7533rm -f conftest.err conftest.i conftest.$ac_ext
7534
7535  # OK, works on sane cases.  Now check whether nonexistent headers
7536  # can be detected and how.
7537  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7538/* end confdefs.h.  */
7539#include <ac_nonexistent.h>
7540_ACEOF
7541if ac_fn_c_try_cpp "$LINENO"; then :
7542  # Broken: success on invalid input.
7543continue
7544else
7545  # Passes both tests.
7546ac_preproc_ok=:
7547break
7548fi
7549rm -f conftest.err conftest.i conftest.$ac_ext
7550
7551done
7552# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7553rm -f conftest.i conftest.err conftest.$ac_ext
7554if $ac_preproc_ok; then :
7555  break
7556fi
7557
7558    done
7559    ac_cv_prog_CPP=$CPP
7560
7561fi
7562  CPP=$ac_cv_prog_CPP
7563else
7564  ac_cv_prog_CPP=$CPP
7565fi
7566{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7567$as_echo "$CPP" >&6; }
7568ac_preproc_ok=false
7569for ac_c_preproc_warn_flag in '' yes
7570do
7571  # Use a header file that comes with gcc, so configuring glibc
7572  # with a fresh cross-compiler works.
7573  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7574  # <limits.h> exists even on freestanding compilers.
7575  # On the NeXT, cc -E runs the code through the compiler's parser,
7576  # not just through cpp. "Syntax error" is here to catch this case.
7577  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7578/* end confdefs.h.  */
7579#ifdef __STDC__
7580# include <limits.h>
7581#else
7582# include <assert.h>
7583#endif
7584		     Syntax error
7585_ACEOF
7586if ac_fn_c_try_cpp "$LINENO"; then :
7587
7588else
7589  # Broken: fails on valid input.
7590continue
7591fi
7592rm -f conftest.err conftest.i conftest.$ac_ext
7593
7594  # OK, works on sane cases.  Now check whether nonexistent headers
7595  # can be detected and how.
7596  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7597/* end confdefs.h.  */
7598#include <ac_nonexistent.h>
7599_ACEOF
7600if ac_fn_c_try_cpp "$LINENO"; then :
7601  # Broken: success on invalid input.
7602continue
7603else
7604  # Passes both tests.
7605ac_preproc_ok=:
7606break
7607fi
7608rm -f conftest.err conftest.i conftest.$ac_ext
7609
7610done
7611# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7612rm -f conftest.i conftest.err conftest.$ac_ext
7613if $ac_preproc_ok; then :
7614
7615else
7616  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7617$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7618as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7619See \`config.log' for more details" "$LINENO" 5; }
7620fi
7621
7622ac_ext=c
7623ac_cpp='$CPP $CPPFLAGS'
7624ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7625ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7626ac_compiler_gnu=$ac_cv_c_compiler_gnu
7627
7628
7629{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7630$as_echo_n "checking for ANSI C header files... " >&6; }
7631if ${ac_cv_header_stdc+:} false; then :
7632  $as_echo_n "(cached) " >&6
7633else
7634  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7635/* end confdefs.h.  */
7636#include <stdlib.h>
7637#include <stdarg.h>
7638#include <string.h>
7639#include <float.h>
7640
7641int
7642main ()
7643{
7644
7645  ;
7646  return 0;
7647}
7648_ACEOF
7649if ac_fn_c_try_compile "$LINENO"; then :
7650  ac_cv_header_stdc=yes
7651else
7652  ac_cv_header_stdc=no
7653fi
7654rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7655
7656if test $ac_cv_header_stdc = yes; then
7657  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7658  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7659/* end confdefs.h.  */
7660#include <string.h>
7661
7662_ACEOF
7663if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7664  $EGREP "memchr" >/dev/null 2>&1; then :
7665
7666else
7667  ac_cv_header_stdc=no
7668fi
7669rm -f conftest*
7670
7671fi
7672
7673if test $ac_cv_header_stdc = yes; then
7674  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7675  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7676/* end confdefs.h.  */
7677#include <stdlib.h>
7678
7679_ACEOF
7680if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7681  $EGREP "free" >/dev/null 2>&1; then :
7682
7683else
7684  ac_cv_header_stdc=no
7685fi
7686rm -f conftest*
7687
7688fi
7689
7690if test $ac_cv_header_stdc = yes; then
7691  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7692  if test "$cross_compiling" = yes; then :
7693  :
7694else
7695  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7696/* end confdefs.h.  */
7697#include <ctype.h>
7698#include <stdlib.h>
7699#if ((' ' & 0x0FF) == 0x020)
7700# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7701# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7702#else
7703# define ISLOWER(c) \
7704		   (('a' <= (c) && (c) <= 'i') \
7705		     || ('j' <= (c) && (c) <= 'r') \
7706		     || ('s' <= (c) && (c) <= 'z'))
7707# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7708#endif
7709
7710#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7711int
7712main ()
7713{
7714  int i;
7715  for (i = 0; i < 256; i++)
7716    if (XOR (islower (i), ISLOWER (i))
7717	|| toupper (i) != TOUPPER (i))
7718      return 2;
7719  return 0;
7720}
7721_ACEOF
7722if ac_fn_c_try_run "$LINENO"; then :
7723
7724else
7725  ac_cv_header_stdc=no
7726fi
7727rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7728  conftest.$ac_objext conftest.beam conftest.$ac_ext
7729fi
7730
7731fi
7732fi
7733{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7734$as_echo "$ac_cv_header_stdc" >&6; }
7735if test $ac_cv_header_stdc = yes; then
7736
7737$as_echo "#define STDC_HEADERS 1" >>confdefs.h
7738
7739fi
7740
7741# On IRIX 5.3, sys/types and inttypes.h are conflicting.
7742for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7743		  inttypes.h stdint.h unistd.h
7744do :
7745  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7746ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7747"
7748if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7749  cat >>confdefs.h <<_ACEOF
7750#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7751_ACEOF
7752
7753fi
7754
7755done
7756
7757
7758for ac_header in dlfcn.h
7759do :
7760  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7761"
7762if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7763  cat >>confdefs.h <<_ACEOF
7764#define HAVE_DLFCN_H 1
7765_ACEOF
7766
7767fi
7768
7769done
7770
7771
7772
7773
7774
7775# Set options
7776# Check whether --enable-static was given.
7777if test "${enable_static+set}" = set; then :
7778  enableval=$enable_static; p=${PACKAGE-default}
7779    case $enableval in
7780    yes) enable_static=yes ;;
7781    no) enable_static=no ;;
7782    *)
7783     enable_static=no
7784      # Look at the argument we got.  We use all the common list separators.
7785      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
7786      for pkg in $enableval; do
7787	IFS=$lt_save_ifs
7788	if test "X$pkg" = "X$p"; then
7789	  enable_static=yes
7790	fi
7791      done
7792      IFS=$lt_save_ifs
7793      ;;
7794    esac
7795else
7796  enable_static=no
7797fi
7798
7799
7800
7801
7802
7803
7804
7805
7806
7807
7808        enable_dlopen=no
7809
7810
7811  enable_win32_dll=no
7812
7813
7814            # Check whether --enable-shared was given.
7815if test "${enable_shared+set}" = set; then :
7816  enableval=$enable_shared; p=${PACKAGE-default}
7817    case $enableval in
7818    yes) enable_shared=yes ;;
7819    no) enable_shared=no ;;
7820    *)
7821      enable_shared=no
7822      # Look at the argument we got.  We use all the common list separators.
7823      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
7824      for pkg in $enableval; do
7825	IFS=$lt_save_ifs
7826	if test "X$pkg" = "X$p"; then
7827	  enable_shared=yes
7828	fi
7829      done
7830      IFS=$lt_save_ifs
7831      ;;
7832    esac
7833else
7834  enable_shared=yes
7835fi
7836
7837
7838
7839
7840
7841
7842
7843
7844
7845
7846
7847# Check whether --with-pic was given.
7848if test "${with_pic+set}" = set; then :
7849  withval=$with_pic; lt_p=${PACKAGE-default}
7850    case $withval in
7851    yes|no) pic_mode=$withval ;;
7852    *)
7853      pic_mode=default
7854      # Look at the argument we got.  We use all the common list separators.
7855      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
7856      for lt_pkg in $withval; do
7857	IFS=$lt_save_ifs
7858	if test "X$lt_pkg" = "X$lt_p"; then
7859	  pic_mode=yes
7860	fi
7861      done
7862      IFS=$lt_save_ifs
7863      ;;
7864    esac
7865else
7866  pic_mode=default
7867fi
7868
7869
7870
7871
7872
7873
7874
7875
7876  # Check whether --enable-fast-install was given.
7877if test "${enable_fast_install+set}" = set; then :
7878  enableval=$enable_fast_install; p=${PACKAGE-default}
7879    case $enableval in
7880    yes) enable_fast_install=yes ;;
7881    no) enable_fast_install=no ;;
7882    *)
7883      enable_fast_install=no
7884      # Look at the argument we got.  We use all the common list separators.
7885      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
7886      for pkg in $enableval; do
7887	IFS=$lt_save_ifs
7888	if test "X$pkg" = "X$p"; then
7889	  enable_fast_install=yes
7890	fi
7891      done
7892      IFS=$lt_save_ifs
7893      ;;
7894    esac
7895else
7896  enable_fast_install=yes
7897fi
7898
7899
7900
7901
7902
7903
7904
7905
7906  shared_archive_member_spec=
7907case $host,$enable_shared in
7908power*-*-aix[5-9]*,yes)
7909  { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
7910$as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
7911
7912# Check whether --with-aix-soname was given.
7913if test "${with_aix_soname+set}" = set; then :
7914  withval=$with_aix_soname; case $withval in
7915    aix|svr4|both)
7916      ;;
7917    *)
7918      as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
7919      ;;
7920    esac
7921    lt_cv_with_aix_soname=$with_aix_soname
7922else
7923  if ${lt_cv_with_aix_soname+:} false; then :
7924  $as_echo_n "(cached) " >&6
7925else
7926  lt_cv_with_aix_soname=aix
7927fi
7928
7929    with_aix_soname=$lt_cv_with_aix_soname
7930fi
7931
7932  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
7933$as_echo "$with_aix_soname" >&6; }
7934  if test aix != "$with_aix_soname"; then
7935    # For the AIX way of multilib, we name the shared archive member
7936    # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
7937    # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
7938    # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
7939    # the AIX toolchain works better with OBJECT_MODE set (default 32).
7940    if test 64 = "${OBJECT_MODE-32}"; then
7941      shared_archive_member_spec=shr_64
7942    else
7943      shared_archive_member_spec=shr
7944    fi
7945  fi
7946  ;;
7947*)
7948  with_aix_soname=aix
7949  ;;
7950esac
7951
7952
7953
7954
7955
7956
7957
7958
7959
7960
7961# This can be used to rebuild libtool when needed
7962LIBTOOL_DEPS=$ltmain
7963
7964# Always use our own libtool.
7965LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7966
7967
7968
7969
7970
7971
7972
7973
7974
7975
7976
7977
7978
7979
7980
7981
7982
7983
7984
7985
7986
7987
7988
7989
7990
7991
7992
7993
7994
7995
7996test -z "$LN_S" && LN_S="ln -s"
7997
7998
7999
8000
8001
8002
8003
8004
8005
8006
8007
8008
8009
8010
8011if test -n "${ZSH_VERSION+set}"; then
8012   setopt NO_GLOB_SUBST
8013fi
8014
8015{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8016$as_echo_n "checking for objdir... " >&6; }
8017if ${lt_cv_objdir+:} false; then :
8018  $as_echo_n "(cached) " >&6
8019else
8020  rm -f .libs 2>/dev/null
8021mkdir .libs 2>/dev/null
8022if test -d .libs; then
8023  lt_cv_objdir=.libs
8024else
8025  # MS-DOS does not allow filenames that begin with a dot.
8026  lt_cv_objdir=_libs
8027fi
8028rmdir .libs 2>/dev/null
8029fi
8030{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8031$as_echo "$lt_cv_objdir" >&6; }
8032objdir=$lt_cv_objdir
8033
8034
8035
8036
8037
8038cat >>confdefs.h <<_ACEOF
8039#define LT_OBJDIR "$lt_cv_objdir/"
8040_ACEOF
8041
8042
8043
8044
8045case $host_os in
8046aix3*)
8047  # AIX sometimes has problems with the GCC collect2 program.  For some
8048  # reason, if we set the COLLECT_NAMES environment variable, the problems
8049  # vanish in a puff of smoke.
8050  if test set != "${COLLECT_NAMES+set}"; then
8051    COLLECT_NAMES=
8052    export COLLECT_NAMES
8053  fi
8054  ;;
8055esac
8056
8057# Global variables:
8058ofile=libtool
8059can_build_shared=yes
8060
8061# All known linkers require a '.a' archive for static linking (except MSVC,
8062# which needs '.lib').
8063libext=a
8064
8065with_gnu_ld=$lt_cv_prog_gnu_ld
8066
8067old_CC=$CC
8068old_CFLAGS=$CFLAGS
8069
8070# Set sane defaults for various variables
8071test -z "$CC" && CC=cc
8072test -z "$LTCC" && LTCC=$CC
8073test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8074test -z "$LD" && LD=ld
8075test -z "$ac_objext" && ac_objext=o
8076
8077func_cc_basename $compiler
8078cc_basename=$func_cc_basename_result
8079
8080
8081# Only perform the check for file, if the check method requires it
8082test -z "$MAGIC_CMD" && MAGIC_CMD=file
8083case $deplibs_check_method in
8084file_magic*)
8085  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8086    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8087$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8088if ${lt_cv_path_MAGIC_CMD+:} false; then :
8089  $as_echo_n "(cached) " >&6
8090else
8091  case $MAGIC_CMD in
8092[\\/*] |  ?:[\\/]*)
8093  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8094  ;;
8095*)
8096  lt_save_MAGIC_CMD=$MAGIC_CMD
8097  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8098  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8099  for ac_dir in $ac_dummy; do
8100    IFS=$lt_save_ifs
8101    test -z "$ac_dir" && ac_dir=.
8102    if test -f "$ac_dir/${ac_tool_prefix}file"; then
8103      lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
8104      if test -n "$file_magic_test_file"; then
8105	case $deplibs_check_method in
8106	"file_magic "*)
8107	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8108	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8109	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8110	    $EGREP "$file_magic_regex" > /dev/null; then
8111	    :
8112	  else
8113	    cat <<_LT_EOF 1>&2
8114
8115*** Warning: the command libtool uses to detect shared libraries,
8116*** $file_magic_cmd, produces output that libtool cannot recognize.
8117*** The result is that libtool may fail to recognize shared libraries
8118*** as such.  This will affect the creation of libtool libraries that
8119*** depend on shared libraries, but programs linked with such libtool
8120*** libraries will work regardless of this problem.  Nevertheless, you
8121*** may want to report the problem to your system manager and/or to
8122*** bug-libtool@gnu.org
8123
8124_LT_EOF
8125	  fi ;;
8126	esac
8127      fi
8128      break
8129    fi
8130  done
8131  IFS=$lt_save_ifs
8132  MAGIC_CMD=$lt_save_MAGIC_CMD
8133  ;;
8134esac
8135fi
8136
8137MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8138if test -n "$MAGIC_CMD"; then
8139  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8140$as_echo "$MAGIC_CMD" >&6; }
8141else
8142  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8143$as_echo "no" >&6; }
8144fi
8145
8146
8147
8148
8149
8150if test -z "$lt_cv_path_MAGIC_CMD"; then
8151  if test -n "$ac_tool_prefix"; then
8152    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8153$as_echo_n "checking for file... " >&6; }
8154if ${lt_cv_path_MAGIC_CMD+:} false; then :
8155  $as_echo_n "(cached) " >&6
8156else
8157  case $MAGIC_CMD in
8158[\\/*] |  ?:[\\/]*)
8159  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8160  ;;
8161*)
8162  lt_save_MAGIC_CMD=$MAGIC_CMD
8163  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8164  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8165  for ac_dir in $ac_dummy; do
8166    IFS=$lt_save_ifs
8167    test -z "$ac_dir" && ac_dir=.
8168    if test -f "$ac_dir/file"; then
8169      lt_cv_path_MAGIC_CMD=$ac_dir/"file"
8170      if test -n "$file_magic_test_file"; then
8171	case $deplibs_check_method in
8172	"file_magic "*)
8173	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8174	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8175	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8176	    $EGREP "$file_magic_regex" > /dev/null; then
8177	    :
8178	  else
8179	    cat <<_LT_EOF 1>&2
8180
8181*** Warning: the command libtool uses to detect shared libraries,
8182*** $file_magic_cmd, produces output that libtool cannot recognize.
8183*** The result is that libtool may fail to recognize shared libraries
8184*** as such.  This will affect the creation of libtool libraries that
8185*** depend on shared libraries, but programs linked with such libtool
8186*** libraries will work regardless of this problem.  Nevertheless, you
8187*** may want to report the problem to your system manager and/or to
8188*** bug-libtool@gnu.org
8189
8190_LT_EOF
8191	  fi ;;
8192	esac
8193      fi
8194      break
8195    fi
8196  done
8197  IFS=$lt_save_ifs
8198  MAGIC_CMD=$lt_save_MAGIC_CMD
8199  ;;
8200esac
8201fi
8202
8203MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8204if test -n "$MAGIC_CMD"; then
8205  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8206$as_echo "$MAGIC_CMD" >&6; }
8207else
8208  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8209$as_echo "no" >&6; }
8210fi
8211
8212
8213  else
8214    MAGIC_CMD=:
8215  fi
8216fi
8217
8218  fi
8219  ;;
8220esac
8221
8222# Use C for the default configuration in the libtool script
8223
8224lt_save_CC=$CC
8225ac_ext=c
8226ac_cpp='$CPP $CPPFLAGS'
8227ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8228ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8229ac_compiler_gnu=$ac_cv_c_compiler_gnu
8230
8231
8232# Source file extension for C test sources.
8233ac_ext=c
8234
8235# Object file extension for compiled C test sources.
8236objext=o
8237objext=$objext
8238
8239# Code to be used in simple compile tests
8240lt_simple_compile_test_code="int some_variable = 0;"
8241
8242# Code to be used in simple link tests
8243lt_simple_link_test_code='int main(){return(0);}'
8244
8245
8246
8247
8248
8249
8250
8251# If no C compiler was specified, use CC.
8252LTCC=${LTCC-"$CC"}
8253
8254# If no C compiler flags were specified, use CFLAGS.
8255LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8256
8257# Allow CC to be a program name with arguments.
8258compiler=$CC
8259
8260# Save the default compiler, since it gets overwritten when the other
8261# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8262compiler_DEFAULT=$CC
8263
8264# save warnings/boilerplate of simple test code
8265ac_outfile=conftest.$ac_objext
8266echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8267eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8268_lt_compiler_boilerplate=`cat conftest.err`
8269$RM conftest*
8270
8271ac_outfile=conftest.$ac_objext
8272echo "$lt_simple_link_test_code" >conftest.$ac_ext
8273eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8274_lt_linker_boilerplate=`cat conftest.err`
8275$RM -r conftest*
8276
8277
8278## CAVEAT EMPTOR:
8279## There is no encapsulation within the following macros, do not change
8280## the running order or otherwise move them around unless you know exactly
8281## what you are doing...
8282if test -n "$compiler"; then
8283
8284lt_prog_compiler_no_builtin_flag=
8285
8286if test yes = "$GCC"; then
8287  case $cc_basename in
8288  nvcc*)
8289    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8290  *)
8291    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8292  esac
8293
8294  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8295$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8296if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8297  $as_echo_n "(cached) " >&6
8298else
8299  lt_cv_prog_compiler_rtti_exceptions=no
8300   ac_outfile=conftest.$ac_objext
8301   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8302   lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
8303   # Insert the option either (1) after the last *FLAGS variable, or
8304   # (2) before a word containing "conftest.", or (3) at the end.
8305   # Note that $ac_compile itself does not contain backslashes and begins
8306   # with a dollar sign (not a hyphen), so the echo should work correctly.
8307   # The option is referenced via a variable to avoid confusing sed.
8308   lt_compile=`echo "$ac_compile" | $SED \
8309   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8310   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8311   -e 's:$: $lt_compiler_flag:'`
8312   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8313   (eval "$lt_compile" 2>conftest.err)
8314   ac_status=$?
8315   cat conftest.err >&5
8316   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8317   if (exit $ac_status) && test -s "$ac_outfile"; then
8318     # The compiler can only warn and ignore the option if not recognized
8319     # So say no if there are warnings other than the usual output.
8320     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8321     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8322     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8323       lt_cv_prog_compiler_rtti_exceptions=yes
8324     fi
8325   fi
8326   $RM conftest*
8327
8328fi
8329{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8330$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8331
8332if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
8333    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8334else
8335    :
8336fi
8337
8338fi
8339
8340
8341
8342
8343
8344
8345  lt_prog_compiler_wl=
8346lt_prog_compiler_pic=
8347lt_prog_compiler_static=
8348
8349
8350  if test yes = "$GCC"; then
8351    lt_prog_compiler_wl='-Wl,'
8352    lt_prog_compiler_static='-static'
8353
8354    case $host_os in
8355      aix*)
8356      # All AIX code is PIC.
8357      if test ia64 = "$host_cpu"; then
8358	# AIX 5 now supports IA64 processor
8359	lt_prog_compiler_static='-Bstatic'
8360      fi
8361      lt_prog_compiler_pic='-fPIC'
8362      ;;
8363
8364    amigaos*)
8365      case $host_cpu in
8366      powerpc)
8367            # see comment about AmigaOS4 .so support
8368            lt_prog_compiler_pic='-fPIC'
8369        ;;
8370      m68k)
8371            # FIXME: we need at least 68020 code to build shared libraries, but
8372            # adding the '-m68020' flag to GCC prevents building anything better,
8373            # like '-m68040'.
8374            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8375        ;;
8376      esac
8377      ;;
8378
8379    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8380      # PIC is the default for these OSes.
8381      ;;
8382
8383    mingw* | cygwin* | pw32* | os2* | cegcc*)
8384      # This hack is so that the source file can tell whether it is being
8385      # built for inclusion in a dll (and should export symbols for example).
8386      # Although the cygwin gcc ignores -fPIC, still need this for old-style
8387      # (--disable-auto-import) libraries
8388      lt_prog_compiler_pic='-DDLL_EXPORT'
8389      case $host_os in
8390      os2*)
8391	lt_prog_compiler_static='$wl-static'
8392	;;
8393      esac
8394      ;;
8395
8396    darwin* | rhapsody*)
8397      # PIC is the default on this platform
8398      # Common symbols not allowed in MH_DYLIB files
8399      lt_prog_compiler_pic='-fno-common'
8400      ;;
8401
8402    haiku*)
8403      # PIC is the default for Haiku.
8404      # The "-static" flag exists, but is broken.
8405      lt_prog_compiler_static=
8406      ;;
8407
8408    hpux*)
8409      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8410      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8411      # sets the default TLS model and affects inlining.
8412      case $host_cpu in
8413      hppa*64*)
8414	# +Z the default
8415	;;
8416      *)
8417	lt_prog_compiler_pic='-fPIC'
8418	;;
8419      esac
8420      ;;
8421
8422    interix[3-9]*)
8423      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8424      # Instead, we relocate shared libraries at runtime.
8425      ;;
8426
8427    msdosdjgpp*)
8428      # Just because we use GCC doesn't mean we suddenly get shared libraries
8429      # on systems that don't support them.
8430      lt_prog_compiler_can_build_shared=no
8431      enable_shared=no
8432      ;;
8433
8434    *nto* | *qnx*)
8435      # QNX uses GNU C++, but need to define -shared option too, otherwise
8436      # it will coredump.
8437      lt_prog_compiler_pic='-fPIC -shared'
8438      ;;
8439
8440    sysv4*MP*)
8441      if test -d /usr/nec; then
8442	lt_prog_compiler_pic=-Kconform_pic
8443      fi
8444      ;;
8445
8446    *)
8447      lt_prog_compiler_pic='-fPIC'
8448      ;;
8449    esac
8450
8451    case $cc_basename in
8452    nvcc*) # Cuda Compiler Driver 2.2
8453      lt_prog_compiler_wl='-Xlinker '
8454      if test -n "$lt_prog_compiler_pic"; then
8455        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8456      fi
8457      ;;
8458    esac
8459  else
8460    # PORTME Check for flag to pass linker flags through the system compiler.
8461    case $host_os in
8462    aix*)
8463      lt_prog_compiler_wl='-Wl,'
8464      if test ia64 = "$host_cpu"; then
8465	# AIX 5 now supports IA64 processor
8466	lt_prog_compiler_static='-Bstatic'
8467      else
8468	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8469      fi
8470      ;;
8471
8472    darwin* | rhapsody*)
8473      # PIC is the default on this platform
8474      # Common symbols not allowed in MH_DYLIB files
8475      lt_prog_compiler_pic='-fno-common'
8476      case $cc_basename in
8477      nagfor*)
8478        # NAG Fortran compiler
8479        lt_prog_compiler_wl='-Wl,-Wl,,'
8480        lt_prog_compiler_pic='-PIC'
8481        lt_prog_compiler_static='-Bstatic'
8482        ;;
8483      esac
8484      ;;
8485
8486    mingw* | cygwin* | pw32* | os2* | cegcc*)
8487      # This hack is so that the source file can tell whether it is being
8488      # built for inclusion in a dll (and should export symbols for example).
8489      lt_prog_compiler_pic='-DDLL_EXPORT'
8490      case $host_os in
8491      os2*)
8492	lt_prog_compiler_static='$wl-static'
8493	;;
8494      esac
8495      ;;
8496
8497    hpux9* | hpux10* | hpux11*)
8498      lt_prog_compiler_wl='-Wl,'
8499      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8500      # not for PA HP-UX.
8501      case $host_cpu in
8502      hppa*64*|ia64*)
8503	# +Z the default
8504	;;
8505      *)
8506	lt_prog_compiler_pic='+Z'
8507	;;
8508      esac
8509      # Is there a better lt_prog_compiler_static that works with the bundled CC?
8510      lt_prog_compiler_static='$wl-a ${wl}archive'
8511      ;;
8512
8513    irix5* | irix6* | nonstopux*)
8514      lt_prog_compiler_wl='-Wl,'
8515      # PIC (with -KPIC) is the default.
8516      lt_prog_compiler_static='-non_shared'
8517      ;;
8518
8519    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8520      case $cc_basename in
8521      # old Intel for x86_64, which still supported -KPIC.
8522      ecc*)
8523	lt_prog_compiler_wl='-Wl,'
8524	lt_prog_compiler_pic='-KPIC'
8525	lt_prog_compiler_static='-static'
8526        ;;
8527      # icc used to be incompatible with GCC.
8528      # ICC 10 doesn't accept -KPIC any more.
8529      icc* | ifort*)
8530	lt_prog_compiler_wl='-Wl,'
8531	lt_prog_compiler_pic='-fPIC'
8532	lt_prog_compiler_static='-static'
8533        ;;
8534      # Lahey Fortran 8.1.
8535      lf95*)
8536	lt_prog_compiler_wl='-Wl,'
8537	lt_prog_compiler_pic='--shared'
8538	lt_prog_compiler_static='--static'
8539	;;
8540      nagfor*)
8541	# NAG Fortran compiler
8542	lt_prog_compiler_wl='-Wl,-Wl,,'
8543	lt_prog_compiler_pic='-PIC'
8544	lt_prog_compiler_static='-Bstatic'
8545	;;
8546      tcc*)
8547	# Fabrice Bellard et al's Tiny C Compiler
8548	lt_prog_compiler_wl='-Wl,'
8549	lt_prog_compiler_pic='-fPIC'
8550	lt_prog_compiler_static='-static'
8551	;;
8552      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8553        # Portland Group compilers (*not* the Pentium gcc compiler,
8554	# which looks to be a dead project)
8555	lt_prog_compiler_wl='-Wl,'
8556	lt_prog_compiler_pic='-fpic'
8557	lt_prog_compiler_static='-Bstatic'
8558        ;;
8559      ccc*)
8560        lt_prog_compiler_wl='-Wl,'
8561        # All Alpha code is PIC.
8562        lt_prog_compiler_static='-non_shared'
8563        ;;
8564      xl* | bgxl* | bgf* | mpixl*)
8565	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8566	lt_prog_compiler_wl='-Wl,'
8567	lt_prog_compiler_pic='-qpic'
8568	lt_prog_compiler_static='-qstaticlink'
8569	;;
8570      *)
8571	case `$CC -V 2>&1 | sed 5q` in
8572	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8573	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
8574	  lt_prog_compiler_pic='-KPIC'
8575	  lt_prog_compiler_static='-Bstatic'
8576	  lt_prog_compiler_wl=''
8577	  ;;
8578	*Sun\ F* | *Sun*Fortran*)
8579	  lt_prog_compiler_pic='-KPIC'
8580	  lt_prog_compiler_static='-Bstatic'
8581	  lt_prog_compiler_wl='-Qoption ld '
8582	  ;;
8583	*Sun\ C*)
8584	  # Sun C 5.9
8585	  lt_prog_compiler_pic='-KPIC'
8586	  lt_prog_compiler_static='-Bstatic'
8587	  lt_prog_compiler_wl='-Wl,'
8588	  ;;
8589        *Intel*\ [CF]*Compiler*)
8590	  lt_prog_compiler_wl='-Wl,'
8591	  lt_prog_compiler_pic='-fPIC'
8592	  lt_prog_compiler_static='-static'
8593	  ;;
8594	*Portland\ Group*)
8595	  lt_prog_compiler_wl='-Wl,'
8596	  lt_prog_compiler_pic='-fpic'
8597	  lt_prog_compiler_static='-Bstatic'
8598	  ;;
8599	esac
8600	;;
8601      esac
8602      ;;
8603
8604    newsos6)
8605      lt_prog_compiler_pic='-KPIC'
8606      lt_prog_compiler_static='-Bstatic'
8607      ;;
8608
8609    *nto* | *qnx*)
8610      # QNX uses GNU C++, but need to define -shared option too, otherwise
8611      # it will coredump.
8612      lt_prog_compiler_pic='-fPIC -shared'
8613      ;;
8614
8615    osf3* | osf4* | osf5*)
8616      lt_prog_compiler_wl='-Wl,'
8617      # All OSF/1 code is PIC.
8618      lt_prog_compiler_static='-non_shared'
8619      ;;
8620
8621    rdos*)
8622      lt_prog_compiler_static='-non_shared'
8623      ;;
8624
8625    solaris*)
8626      lt_prog_compiler_pic='-KPIC'
8627      lt_prog_compiler_static='-Bstatic'
8628      case $cc_basename in
8629      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8630	lt_prog_compiler_wl='-Qoption ld ';;
8631      *)
8632	lt_prog_compiler_wl='-Wl,';;
8633      esac
8634      ;;
8635
8636    sunos4*)
8637      lt_prog_compiler_wl='-Qoption ld '
8638      lt_prog_compiler_pic='-PIC'
8639      lt_prog_compiler_static='-Bstatic'
8640      ;;
8641
8642    sysv4 | sysv4.2uw2* | sysv4.3*)
8643      lt_prog_compiler_wl='-Wl,'
8644      lt_prog_compiler_pic='-KPIC'
8645      lt_prog_compiler_static='-Bstatic'
8646      ;;
8647
8648    sysv4*MP*)
8649      if test -d /usr/nec; then
8650	lt_prog_compiler_pic='-Kconform_pic'
8651	lt_prog_compiler_static='-Bstatic'
8652      fi
8653      ;;
8654
8655    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8656      lt_prog_compiler_wl='-Wl,'
8657      lt_prog_compiler_pic='-KPIC'
8658      lt_prog_compiler_static='-Bstatic'
8659      ;;
8660
8661    unicos*)
8662      lt_prog_compiler_wl='-Wl,'
8663      lt_prog_compiler_can_build_shared=no
8664      ;;
8665
8666    uts4*)
8667      lt_prog_compiler_pic='-pic'
8668      lt_prog_compiler_static='-Bstatic'
8669      ;;
8670
8671    *)
8672      lt_prog_compiler_can_build_shared=no
8673      ;;
8674    esac
8675  fi
8676
8677case $host_os in
8678  # For platforms that do not support PIC, -DPIC is meaningless:
8679  *djgpp*)
8680    lt_prog_compiler_pic=
8681    ;;
8682  *)
8683    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8684    ;;
8685esac
8686
8687{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8688$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8689if ${lt_cv_prog_compiler_pic+:} false; then :
8690  $as_echo_n "(cached) " >&6
8691else
8692  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8693fi
8694{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8695$as_echo "$lt_cv_prog_compiler_pic" >&6; }
8696lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8697
8698#
8699# Check to make sure the PIC flag actually works.
8700#
8701if test -n "$lt_prog_compiler_pic"; then
8702  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8703$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8704if ${lt_cv_prog_compiler_pic_works+:} false; then :
8705  $as_echo_n "(cached) " >&6
8706else
8707  lt_cv_prog_compiler_pic_works=no
8708   ac_outfile=conftest.$ac_objext
8709   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8710   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
8711   # Insert the option either (1) after the last *FLAGS variable, or
8712   # (2) before a word containing "conftest.", or (3) at the end.
8713   # Note that $ac_compile itself does not contain backslashes and begins
8714   # with a dollar sign (not a hyphen), so the echo should work correctly.
8715   # The option is referenced via a variable to avoid confusing sed.
8716   lt_compile=`echo "$ac_compile" | $SED \
8717   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8718   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8719   -e 's:$: $lt_compiler_flag:'`
8720   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8721   (eval "$lt_compile" 2>conftest.err)
8722   ac_status=$?
8723   cat conftest.err >&5
8724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8725   if (exit $ac_status) && test -s "$ac_outfile"; then
8726     # The compiler can only warn and ignore the option if not recognized
8727     # So say no if there are warnings other than the usual output.
8728     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8729     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8730     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8731       lt_cv_prog_compiler_pic_works=yes
8732     fi
8733   fi
8734   $RM conftest*
8735
8736fi
8737{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8738$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8739
8740if test yes = "$lt_cv_prog_compiler_pic_works"; then
8741    case $lt_prog_compiler_pic in
8742     "" | " "*) ;;
8743     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8744     esac
8745else
8746    lt_prog_compiler_pic=
8747     lt_prog_compiler_can_build_shared=no
8748fi
8749
8750fi
8751
8752
8753
8754
8755
8756
8757
8758
8759
8760
8761
8762#
8763# Check to make sure the static flag actually works.
8764#
8765wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8766{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8767$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8768if ${lt_cv_prog_compiler_static_works+:} false; then :
8769  $as_echo_n "(cached) " >&6
8770else
8771  lt_cv_prog_compiler_static_works=no
8772   save_LDFLAGS=$LDFLAGS
8773   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8774   echo "$lt_simple_link_test_code" > conftest.$ac_ext
8775   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8776     # The linker can only warn and ignore the option if not recognized
8777     # So say no if there are warnings
8778     if test -s conftest.err; then
8779       # Append any errors to the config.log.
8780       cat conftest.err 1>&5
8781       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8782       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8783       if diff conftest.exp conftest.er2 >/dev/null; then
8784         lt_cv_prog_compiler_static_works=yes
8785       fi
8786     else
8787       lt_cv_prog_compiler_static_works=yes
8788     fi
8789   fi
8790   $RM -r conftest*
8791   LDFLAGS=$save_LDFLAGS
8792
8793fi
8794{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8795$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8796
8797if test yes = "$lt_cv_prog_compiler_static_works"; then
8798    :
8799else
8800    lt_prog_compiler_static=
8801fi
8802
8803
8804
8805
8806
8807
8808
8809  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8810$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8811if ${lt_cv_prog_compiler_c_o+:} false; then :
8812  $as_echo_n "(cached) " >&6
8813else
8814  lt_cv_prog_compiler_c_o=no
8815   $RM -r conftest 2>/dev/null
8816   mkdir conftest
8817   cd conftest
8818   mkdir out
8819   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8820
8821   lt_compiler_flag="-o out/conftest2.$ac_objext"
8822   # Insert the option either (1) after the last *FLAGS variable, or
8823   # (2) before a word containing "conftest.", or (3) at the end.
8824   # Note that $ac_compile itself does not contain backslashes and begins
8825   # with a dollar sign (not a hyphen), so the echo should work correctly.
8826   lt_compile=`echo "$ac_compile" | $SED \
8827   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8828   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8829   -e 's:$: $lt_compiler_flag:'`
8830   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8831   (eval "$lt_compile" 2>out/conftest.err)
8832   ac_status=$?
8833   cat out/conftest.err >&5
8834   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8835   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8836   then
8837     # The compiler can only warn and ignore the option if not recognized
8838     # So say no if there are warnings
8839     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8840     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8841     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8842       lt_cv_prog_compiler_c_o=yes
8843     fi
8844   fi
8845   chmod u+w . 2>&5
8846   $RM conftest*
8847   # SGI C++ compiler will create directory out/ii_files/ for
8848   # template instantiation
8849   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8850   $RM out/* && rmdir out
8851   cd ..
8852   $RM -r conftest
8853   $RM conftest*
8854
8855fi
8856{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8857$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8858
8859
8860
8861
8862
8863
8864  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8865$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8866if ${lt_cv_prog_compiler_c_o+:} false; then :
8867  $as_echo_n "(cached) " >&6
8868else
8869  lt_cv_prog_compiler_c_o=no
8870   $RM -r conftest 2>/dev/null
8871   mkdir conftest
8872   cd conftest
8873   mkdir out
8874   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8875
8876   lt_compiler_flag="-o out/conftest2.$ac_objext"
8877   # Insert the option either (1) after the last *FLAGS variable, or
8878   # (2) before a word containing "conftest.", or (3) at the end.
8879   # Note that $ac_compile itself does not contain backslashes and begins
8880   # with a dollar sign (not a hyphen), so the echo should work correctly.
8881   lt_compile=`echo "$ac_compile" | $SED \
8882   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8883   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8884   -e 's:$: $lt_compiler_flag:'`
8885   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8886   (eval "$lt_compile" 2>out/conftest.err)
8887   ac_status=$?
8888   cat out/conftest.err >&5
8889   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8890   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8891   then
8892     # The compiler can only warn and ignore the option if not recognized
8893     # So say no if there are warnings
8894     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8895     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8896     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8897       lt_cv_prog_compiler_c_o=yes
8898     fi
8899   fi
8900   chmod u+w . 2>&5
8901   $RM conftest*
8902   # SGI C++ compiler will create directory out/ii_files/ for
8903   # template instantiation
8904   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8905   $RM out/* && rmdir out
8906   cd ..
8907   $RM -r conftest
8908   $RM conftest*
8909
8910fi
8911{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8912$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8913
8914
8915
8916
8917hard_links=nottested
8918if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
8919  # do not overwrite the value of need_locks provided by the user
8920  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8921$as_echo_n "checking if we can lock with hard links... " >&6; }
8922  hard_links=yes
8923  $RM conftest*
8924  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8925  touch conftest.a
8926  ln conftest.a conftest.b 2>&5 || hard_links=no
8927  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8928  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8929$as_echo "$hard_links" >&6; }
8930  if test no = "$hard_links"; then
8931    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
8932$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
8933    need_locks=warn
8934  fi
8935else
8936  need_locks=no
8937fi
8938
8939
8940
8941
8942
8943
8944  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8945$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8946
8947  runpath_var=
8948  allow_undefined_flag=
8949  always_export_symbols=no
8950  archive_cmds=
8951  archive_expsym_cmds=
8952  compiler_needs_object=no
8953  enable_shared_with_static_runtimes=no
8954  export_dynamic_flag_spec=
8955  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8956  hardcode_automatic=no
8957  hardcode_direct=no
8958  hardcode_direct_absolute=no
8959  hardcode_libdir_flag_spec=
8960  hardcode_libdir_separator=
8961  hardcode_minus_L=no
8962  hardcode_shlibpath_var=unsupported
8963  inherit_rpath=no
8964  link_all_deplibs=unknown
8965  module_cmds=
8966  module_expsym_cmds=
8967  old_archive_from_new_cmds=
8968  old_archive_from_expsyms_cmds=
8969  thread_safe_flag_spec=
8970  whole_archive_flag_spec=
8971  # include_expsyms should be a list of space-separated symbols to be *always*
8972  # included in the symbol list
8973  include_expsyms=
8974  # exclude_expsyms can be an extended regexp of symbols to exclude
8975  # it will be wrapped by ' (' and ')$', so one must not match beginning or
8976  # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
8977  # as well as any symbol that contains 'd'.
8978  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8979  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8980  # platforms (ab)use it in PIC code, but their linkers get confused if
8981  # the symbol is explicitly referenced.  Since portable code cannot
8982  # rely on this symbol name, it's probably fine to never include it in
8983  # preloaded symbol tables.
8984  # Exclude shared library initialization/finalization symbols.
8985  extract_expsyms_cmds=
8986
8987  case $host_os in
8988  cygwin* | mingw* | pw32* | cegcc*)
8989    # FIXME: the MSVC++ port hasn't been tested in a loooong time
8990    # When not using gcc, we currently assume that we are using
8991    # Microsoft Visual C++.
8992    if test yes != "$GCC"; then
8993      with_gnu_ld=no
8994    fi
8995    ;;
8996  interix*)
8997    # we just hope/assume this is gcc and not c89 (= MSVC++)
8998    with_gnu_ld=yes
8999    ;;
9000  openbsd* | bitrig*)
9001    with_gnu_ld=no
9002    ;;
9003  esac
9004
9005  ld_shlibs=yes
9006
9007  # On some targets, GNU ld is compatible enough with the native linker
9008  # that we're better off using the native interface for both.
9009  lt_use_gnu_ld_interface=no
9010  if test yes = "$with_gnu_ld"; then
9011    case $host_os in
9012      aix*)
9013	# The AIX port of GNU ld has always aspired to compatibility
9014	# with the native linker.  However, as the warning in the GNU ld
9015	# block says, versions before 2.19.5* couldn't really create working
9016	# shared libraries, regardless of the interface used.
9017	case `$LD -v 2>&1` in
9018	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9019	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9020	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9021	  *)
9022	    lt_use_gnu_ld_interface=yes
9023	    ;;
9024	esac
9025	;;
9026      *)
9027	lt_use_gnu_ld_interface=yes
9028	;;
9029    esac
9030  fi
9031
9032  if test yes = "$lt_use_gnu_ld_interface"; then
9033    # If archive_cmds runs LD, not CC, wlarc should be empty
9034    wlarc='$wl'
9035
9036    # Set some defaults for GNU ld with shared library support. These
9037    # are reset later if shared libraries are not supported. Putting them
9038    # here allows them to be overridden if necessary.
9039    runpath_var=LD_RUN_PATH
9040    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9041    export_dynamic_flag_spec='$wl--export-dynamic'
9042    # ancient GNU ld didn't support --whole-archive et. al.
9043    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9044      whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
9045    else
9046      whole_archive_flag_spec=
9047    fi
9048    supports_anon_versioning=no
9049    case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
9050      *GNU\ gold*) supports_anon_versioning=yes ;;
9051      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9052      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9053      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9054      *\ 2.11.*) ;; # other 2.11 versions
9055      *) supports_anon_versioning=yes ;;
9056    esac
9057
9058    # See if GNU ld supports shared libraries.
9059    case $host_os in
9060    aix[3-9]*)
9061      # On AIX/PPC, the GNU linker is very broken
9062      if test ia64 != "$host_cpu"; then
9063	ld_shlibs=no
9064	cat <<_LT_EOF 1>&2
9065
9066*** Warning: the GNU linker, at least up to release 2.19, is reported
9067*** to be unable to reliably create shared libraries on AIX.
9068*** Therefore, libtool is disabling shared libraries support.  If you
9069*** really care for shared libraries, you may want to install binutils
9070*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9071*** You will then need to restart the configuration process.
9072
9073_LT_EOF
9074      fi
9075      ;;
9076
9077    amigaos*)
9078      case $host_cpu in
9079      powerpc)
9080            # see comment about AmigaOS4 .so support
9081            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9082            archive_expsym_cmds=''
9083        ;;
9084      m68k)
9085            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)'
9086            hardcode_libdir_flag_spec='-L$libdir'
9087            hardcode_minus_L=yes
9088        ;;
9089      esac
9090      ;;
9091
9092    beos*)
9093      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9094	allow_undefined_flag=unsupported
9095	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9096	# support --undefined.  This deserves some investigation.  FIXME
9097	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9098      else
9099	ld_shlibs=no
9100      fi
9101      ;;
9102
9103    cygwin* | mingw* | pw32* | cegcc*)
9104      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9105      # as there is no search path for DLLs.
9106      hardcode_libdir_flag_spec='-L$libdir'
9107      export_dynamic_flag_spec='$wl--export-all-symbols'
9108      allow_undefined_flag=unsupported
9109      always_export_symbols=no
9110      enable_shared_with_static_runtimes=yes
9111      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'
9112      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9113
9114      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9115        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9116	# If the export-symbols file already is a .def file, use it as
9117	# is; otherwise, prepend EXPORTS...
9118	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
9119          cp $export_symbols $output_objdir/$soname.def;
9120        else
9121          echo EXPORTS > $output_objdir/$soname.def;
9122          cat $export_symbols >> $output_objdir/$soname.def;
9123        fi~
9124        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9125      else
9126	ld_shlibs=no
9127      fi
9128      ;;
9129
9130    haiku*)
9131      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9132      link_all_deplibs=yes
9133      ;;
9134
9135    os2*)
9136      hardcode_libdir_flag_spec='-L$libdir'
9137      hardcode_minus_L=yes
9138      allow_undefined_flag=unsupported
9139      shrext_cmds=.dll
9140      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9141	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9142	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9143	$ECHO EXPORTS >> $output_objdir/$libname.def~
9144	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
9145	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9146	emximp -o $lib $output_objdir/$libname.def'
9147      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9148	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9149	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9150	$ECHO EXPORTS >> $output_objdir/$libname.def~
9151	prefix_cmds="$SED"~
9152	if test EXPORTS = "`$SED 1q $export_symbols`"; then
9153	  prefix_cmds="$prefix_cmds -e 1d";
9154	fi~
9155	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
9156	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
9157	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9158	emximp -o $lib $output_objdir/$libname.def'
9159      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
9160      enable_shared_with_static_runtimes=yes
9161      ;;
9162
9163    interix[3-9]*)
9164      hardcode_direct=no
9165      hardcode_shlibpath_var=no
9166      hardcode_libdir_flag_spec='$wl-rpath,$libdir'
9167      export_dynamic_flag_spec='$wl-E'
9168      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9169      # Instead, shared libraries are loaded at an image base (0x10000000 by
9170      # default) and relocated if they conflict, which is a slow very memory
9171      # consuming and fragmenting process.  To avoid this, we pick a random,
9172      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9173      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9174      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9175      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'
9176      ;;
9177
9178    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9179      tmp_diet=no
9180      if test linux-dietlibc = "$host_os"; then
9181	case $cc_basename in
9182	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
9183	esac
9184      fi
9185      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9186	 && test no = "$tmp_diet"
9187      then
9188	tmp_addflag=' $pic_flag'
9189	tmp_sharedflag='-shared'
9190	case $cc_basename,$host_cpu in
9191        pgcc*)				# Portland Group C compiler
9192	  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'
9193	  tmp_addflag=' $pic_flag'
9194	  ;;
9195	pgf77* | pgf90* | pgf95* | pgfortran*)
9196					# Portland Group f77 and f90 compilers
9197	  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'
9198	  tmp_addflag=' $pic_flag -Mnomain' ;;
9199	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
9200	  tmp_addflag=' -i_dynamic' ;;
9201	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
9202	  tmp_addflag=' -i_dynamic -nofor_main' ;;
9203	ifc* | ifort*)			# Intel Fortran compiler
9204	  tmp_addflag=' -nofor_main' ;;
9205	lf95*)				# Lahey Fortran 8.1
9206	  whole_archive_flag_spec=
9207	  tmp_sharedflag='--shared' ;;
9208        nagfor*)                        # NAGFOR 5.3
9209          tmp_sharedflag='-Wl,-shared' ;;
9210	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9211	  tmp_sharedflag='-qmkshrobj'
9212	  tmp_addflag= ;;
9213	nvcc*)	# Cuda Compiler Driver 2.2
9214	  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'
9215	  compiler_needs_object=yes
9216	  ;;
9217	esac
9218	case `$CC -V 2>&1 | sed 5q` in
9219	*Sun\ C*)			# Sun C 5.9
9220	  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'
9221	  compiler_needs_object=yes
9222	  tmp_sharedflag='-G' ;;
9223	*Sun\ F*)			# Sun Fortran 8.3
9224	  tmp_sharedflag='-G' ;;
9225	esac
9226	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9227
9228        if test yes = "$supports_anon_versioning"; then
9229          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9230            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9231            echo "local: *; };" >> $output_objdir/$libname.ver~
9232            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
9233        fi
9234
9235	case $cc_basename in
9236	tcc*)
9237	  export_dynamic_flag_spec='-rdynamic'
9238	  ;;
9239	xlf* | bgf* | bgxlf* | mpixlf*)
9240	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9241	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9242	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9243	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9244	  if test yes = "$supports_anon_versioning"; then
9245	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9246              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9247              echo "local: *; };" >> $output_objdir/$libname.ver~
9248              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9249	  fi
9250	  ;;
9251	esac
9252      else
9253        ld_shlibs=no
9254      fi
9255      ;;
9256
9257    netbsd*)
9258      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9259	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9260	wlarc=
9261      else
9262	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9263	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9264      fi
9265      ;;
9266
9267    solaris*)
9268      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9269	ld_shlibs=no
9270	cat <<_LT_EOF 1>&2
9271
9272*** Warning: The releases 2.8.* of the GNU linker cannot reliably
9273*** create shared libraries on Solaris systems.  Therefore, libtool
9274*** is disabling shared libraries support.  We urge you to upgrade GNU
9275*** binutils to release 2.9.1 or newer.  Another option is to modify
9276*** your PATH or compiler configuration so that the native linker is
9277*** used, and then restart.
9278
9279_LT_EOF
9280      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9281	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9282	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9283      else
9284	ld_shlibs=no
9285      fi
9286      ;;
9287
9288    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9289      case `$LD -v 2>&1` in
9290        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9291	ld_shlibs=no
9292	cat <<_LT_EOF 1>&2
9293
9294*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
9295*** reliably create shared libraries on SCO systems.  Therefore, libtool
9296*** is disabling shared libraries support.  We urge you to upgrade GNU
9297*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9298*** your PATH or compiler configuration so that the native linker is
9299*** used, and then restart.
9300
9301_LT_EOF
9302	;;
9303	*)
9304	  # For security reasons, it is highly recommended that you always
9305	  # use absolute paths for naming shared libraries, and exclude the
9306	  # DT_RUNPATH tag from executables and libraries.  But doing so
9307	  # requires that you compile everything twice, which is a pain.
9308	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9309	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9310	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9311	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9312	  else
9313	    ld_shlibs=no
9314	  fi
9315	;;
9316      esac
9317      ;;
9318
9319    sunos4*)
9320      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9321      wlarc=
9322      hardcode_direct=yes
9323      hardcode_shlibpath_var=no
9324      ;;
9325
9326    *)
9327      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9328	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9329	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9330      else
9331	ld_shlibs=no
9332      fi
9333      ;;
9334    esac
9335
9336    if test no = "$ld_shlibs"; then
9337      runpath_var=
9338      hardcode_libdir_flag_spec=
9339      export_dynamic_flag_spec=
9340      whole_archive_flag_spec=
9341    fi
9342  else
9343    # PORTME fill in a description of your system's linker (not GNU ld)
9344    case $host_os in
9345    aix3*)
9346      allow_undefined_flag=unsupported
9347      always_export_symbols=yes
9348      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'
9349      # Note: this linker hardcodes the directories in LIBPATH if there
9350      # are no directories specified by -L.
9351      hardcode_minus_L=yes
9352      if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
9353	# Neither direct hardcoding nor static linking is supported with a
9354	# broken collect2.
9355	hardcode_direct=unsupported
9356      fi
9357      ;;
9358
9359    aix[4-9]*)
9360      if test ia64 = "$host_cpu"; then
9361	# On IA64, the linker does run time linking by default, so we don't
9362	# have to do anything special.
9363	aix_use_runtimelinking=no
9364	exp_sym_flag='-Bexport'
9365	no_entry_flag=
9366      else
9367	# If we're using GNU nm, then we don't want the "-C" option.
9368	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
9369	# Without the "-l" option, or with the "-B" option, AIX nm treats
9370	# weak defined symbols like other global defined symbols, whereas
9371	# GNU nm marks them as "W".
9372	# While the 'weak' keyword is ignored in the Export File, we need
9373	# it in the Import File for the 'aix-soname' feature, so we have
9374	# to replace the "-B" option with "-P" for AIX nm.
9375	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9376	  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'
9377	else
9378	  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'
9379	fi
9380	aix_use_runtimelinking=no
9381
9382	# Test if we are trying to use run time linking or normal
9383	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
9384	# have runtime linking enabled, and use it for executables.
9385	# For shared libraries, we enable/disable runtime linking
9386	# depending on the kind of the shared library created -
9387	# when "with_aix_soname,aix_use_runtimelinking" is:
9388	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
9389	# "aix,yes"  lib.so          shared, rtl:yes, for executables
9390	#            lib.a           static archive
9391	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
9392	#            lib.a(lib.so.V) shared, rtl:no,  for executables
9393	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
9394	#            lib.a(lib.so.V) shared, rtl:no
9395	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
9396	#            lib.a           static archive
9397	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9398	  for ld_flag in $LDFLAGS; do
9399	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
9400	    aix_use_runtimelinking=yes
9401	    break
9402	  fi
9403	  done
9404	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
9405	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
9406	    # so we don't have lib.a shared libs to link our executables.
9407	    # We have to force runtime linking in this case.
9408	    aix_use_runtimelinking=yes
9409	    LDFLAGS="$LDFLAGS -Wl,-brtl"
9410	  fi
9411	  ;;
9412	esac
9413
9414	exp_sym_flag='-bexport'
9415	no_entry_flag='-bnoentry'
9416      fi
9417
9418      # When large executables or shared objects are built, AIX ld can
9419      # have problems creating the table of contents.  If linking a library
9420      # or program results in "error TOC overflow" add -mminimal-toc to
9421      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9422      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9423
9424      archive_cmds=''
9425      hardcode_direct=yes
9426      hardcode_direct_absolute=yes
9427      hardcode_libdir_separator=':'
9428      link_all_deplibs=yes
9429      file_list_spec='$wl-f,'
9430      case $with_aix_soname,$aix_use_runtimelinking in
9431      aix,*) ;; # traditional, no import file
9432      svr4,* | *,yes) # use import file
9433	# The Import File defines what to hardcode.
9434	hardcode_direct=no
9435	hardcode_direct_absolute=no
9436	;;
9437      esac
9438
9439      if test yes = "$GCC"; then
9440	case $host_os in aix4.[012]|aix4.[012].*)
9441	# We only want to do this on AIX 4.2 and lower, the check
9442	# below for broken collect2 doesn't work under 4.3+
9443	  collect2name=`$CC -print-prog-name=collect2`
9444	  if test -f "$collect2name" &&
9445	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9446	  then
9447	  # We have reworked collect2
9448	  :
9449	  else
9450	  # We have old collect2
9451	  hardcode_direct=unsupported
9452	  # It fails to find uninstalled libraries when the uninstalled
9453	  # path is not listed in the libpath.  Setting hardcode_minus_L
9454	  # to unsupported forces relinking
9455	  hardcode_minus_L=yes
9456	  hardcode_libdir_flag_spec='-L$libdir'
9457	  hardcode_libdir_separator=
9458	  fi
9459	  ;;
9460	esac
9461	shared_flag='-shared'
9462	if test yes = "$aix_use_runtimelinking"; then
9463	  shared_flag="$shared_flag "'$wl-G'
9464	fi
9465	# Need to ensure runtime linking is disabled for the traditional
9466	# shared library, or the linker may eventually find shared libraries
9467	# /with/ Import File - we do not want to mix them.
9468	shared_flag_aix='-shared'
9469	shared_flag_svr4='-shared $wl-G'
9470      else
9471	# not using gcc
9472	if test ia64 = "$host_cpu"; then
9473	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9474	# chokes on -Wl,-G. The following line is correct:
9475	  shared_flag='-G'
9476	else
9477	  if test yes = "$aix_use_runtimelinking"; then
9478	    shared_flag='$wl-G'
9479	  else
9480	    shared_flag='$wl-bM:SRE'
9481	  fi
9482	  shared_flag_aix='$wl-bM:SRE'
9483	  shared_flag_svr4='$wl-G'
9484	fi
9485      fi
9486
9487      export_dynamic_flag_spec='$wl-bexpall'
9488      # It seems that -bexpall does not export symbols beginning with
9489      # underscore (_), so it is better to generate a list of symbols to export.
9490      always_export_symbols=yes
9491      if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
9492	# Warning - without using the other runtime loading flags (-brtl),
9493	# -berok will link without error, but may produce a broken library.
9494	allow_undefined_flag='-berok'
9495        # Determine the default libpath from the value encoded in an
9496        # empty executable.
9497        if test set = "${lt_cv_aix_libpath+set}"; then
9498  aix_libpath=$lt_cv_aix_libpath
9499else
9500  if ${lt_cv_aix_libpath_+:} false; then :
9501  $as_echo_n "(cached) " >&6
9502else
9503  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9504/* end confdefs.h.  */
9505
9506int
9507main ()
9508{
9509
9510  ;
9511  return 0;
9512}
9513_ACEOF
9514if ac_fn_c_try_link "$LINENO"; then :
9515
9516  lt_aix_libpath_sed='
9517      /Import File Strings/,/^$/ {
9518	  /^0/ {
9519	      s/^0  *\([^ ]*\) *$/\1/
9520	      p
9521	  }
9522      }'
9523  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9524  # Check for a 64-bit object if we didn't find anything.
9525  if test -z "$lt_cv_aix_libpath_"; then
9526    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9527  fi
9528fi
9529rm -f core conftest.err conftest.$ac_objext \
9530    conftest$ac_exeext conftest.$ac_ext
9531  if test -z "$lt_cv_aix_libpath_"; then
9532    lt_cv_aix_libpath_=/usr/lib:/lib
9533  fi
9534
9535fi
9536
9537  aix_libpath=$lt_cv_aix_libpath_
9538fi
9539
9540        hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
9541        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
9542      else
9543	if test ia64 = "$host_cpu"; then
9544	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
9545	  allow_undefined_flag="-z nodefs"
9546	  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"
9547	else
9548	 # Determine the default libpath from the value encoded in an
9549	 # empty executable.
9550	 if test set = "${lt_cv_aix_libpath+set}"; then
9551  aix_libpath=$lt_cv_aix_libpath
9552else
9553  if ${lt_cv_aix_libpath_+:} false; then :
9554  $as_echo_n "(cached) " >&6
9555else
9556  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9557/* end confdefs.h.  */
9558
9559int
9560main ()
9561{
9562
9563  ;
9564  return 0;
9565}
9566_ACEOF
9567if ac_fn_c_try_link "$LINENO"; then :
9568
9569  lt_aix_libpath_sed='
9570      /Import File Strings/,/^$/ {
9571	  /^0/ {
9572	      s/^0  *\([^ ]*\) *$/\1/
9573	      p
9574	  }
9575      }'
9576  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9577  # Check for a 64-bit object if we didn't find anything.
9578  if test -z "$lt_cv_aix_libpath_"; then
9579    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9580  fi
9581fi
9582rm -f core conftest.err conftest.$ac_objext \
9583    conftest$ac_exeext conftest.$ac_ext
9584  if test -z "$lt_cv_aix_libpath_"; then
9585    lt_cv_aix_libpath_=/usr/lib:/lib
9586  fi
9587
9588fi
9589
9590  aix_libpath=$lt_cv_aix_libpath_
9591fi
9592
9593	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
9594	  # Warning - without using the other run time loading flags,
9595	  # -berok will link without error, but may produce a broken library.
9596	  no_undefined_flag=' $wl-bernotok'
9597	  allow_undefined_flag=' $wl-berok'
9598	  if test yes = "$with_gnu_ld"; then
9599	    # We only use this code for GNU lds that support --whole-archive.
9600	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
9601	  else
9602	    # Exported symbols can be pulled into shared objects from archives
9603	    whole_archive_flag_spec='$convenience'
9604	  fi
9605	  archive_cmds_need_lc=yes
9606	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
9607	  # -brtl affects multiple linker settings, -berok does not and is overridden later
9608	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
9609	  if test svr4 != "$with_aix_soname"; then
9610	    # This is similar to how AIX traditionally builds its shared libraries.
9611	    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'
9612	  fi
9613	  if test aix != "$with_aix_soname"; then
9614	    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'
9615	  else
9616	    # used by -dlpreopen to get the symbols
9617	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
9618	  fi
9619	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
9620	fi
9621      fi
9622      ;;
9623
9624    amigaos*)
9625      case $host_cpu in
9626      powerpc)
9627            # see comment about AmigaOS4 .so support
9628            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9629            archive_expsym_cmds=''
9630        ;;
9631      m68k)
9632            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)'
9633            hardcode_libdir_flag_spec='-L$libdir'
9634            hardcode_minus_L=yes
9635        ;;
9636      esac
9637      ;;
9638
9639    bsdi[45]*)
9640      export_dynamic_flag_spec=-rdynamic
9641      ;;
9642
9643    cygwin* | mingw* | pw32* | cegcc*)
9644      # When not using gcc, we currently assume that we are using
9645      # Microsoft Visual C++.
9646      # hardcode_libdir_flag_spec is actually meaningless, as there is
9647      # no search path for DLLs.
9648      case $cc_basename in
9649      cl*)
9650	# Native MSVC
9651	hardcode_libdir_flag_spec=' '
9652	allow_undefined_flag=unsupported
9653	always_export_symbols=yes
9654	file_list_spec='@'
9655	# Tell ltmain to make .lib files, not .a files.
9656	libext=lib
9657	# Tell ltmain to make .dll files, not .so files.
9658	shrext_cmds=.dll
9659	# FIXME: Setting linknames here is a bad hack.
9660	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
9661	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
9662            cp "$export_symbols" "$output_objdir/$soname.def";
9663            echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
9664          else
9665            $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
9666          fi~
9667          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9668          linknames='
9669	# The linker will not automatically build a static lib if we build a DLL.
9670	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9671	enable_shared_with_static_runtimes=yes
9672	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9673	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9674	# Don't use ranlib
9675	old_postinstall_cmds='chmod 644 $oldlib'
9676	postlink_cmds='lt_outputfile="@OUTPUT@"~
9677          lt_tool_outputfile="@TOOL_OUTPUT@"~
9678          case $lt_outputfile in
9679            *.exe|*.EXE) ;;
9680            *)
9681              lt_outputfile=$lt_outputfile.exe
9682              lt_tool_outputfile=$lt_tool_outputfile.exe
9683              ;;
9684          esac~
9685          if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
9686            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9687            $RM "$lt_outputfile.manifest";
9688          fi'
9689	;;
9690      *)
9691	# Assume MSVC wrapper
9692	hardcode_libdir_flag_spec=' '
9693	allow_undefined_flag=unsupported
9694	# Tell ltmain to make .lib files, not .a files.
9695	libext=lib
9696	# Tell ltmain to make .dll files, not .so files.
9697	shrext_cmds=.dll
9698	# FIXME: Setting linknames here is a bad hack.
9699	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9700	# The linker will automatically build a .lib file if we build a DLL.
9701	old_archive_from_new_cmds='true'
9702	# FIXME: Should let the user specify the lib program.
9703	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9704	enable_shared_with_static_runtimes=yes
9705	;;
9706      esac
9707      ;;
9708
9709    darwin* | rhapsody*)
9710
9711
9712  archive_cmds_need_lc=no
9713  hardcode_direct=no
9714  hardcode_automatic=yes
9715  hardcode_shlibpath_var=unsupported
9716  if test yes = "$lt_cv_ld_force_load"; then
9717    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\"`'
9718
9719  else
9720    whole_archive_flag_spec=''
9721  fi
9722  link_all_deplibs=yes
9723  allow_undefined_flag=$_lt_dar_allow_undefined
9724  case $cc_basename in
9725     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
9726     *) _lt_dar_can_shared=$GCC ;;
9727  esac
9728  if test yes = "$_lt_dar_can_shared"; then
9729    output_verbose_link_cmd=func_echo_all
9730    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
9731    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
9732    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"
9733    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"
9734
9735  else
9736  ld_shlibs=no
9737  fi
9738
9739      ;;
9740
9741    dgux*)
9742      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9743      hardcode_libdir_flag_spec='-L$libdir'
9744      hardcode_shlibpath_var=no
9745      ;;
9746
9747    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9748    # support.  Future versions do this automatically, but an explicit c++rt0.o
9749    # does not break anything, and helps significantly (at the cost of a little
9750    # extra space).
9751    freebsd2.2*)
9752      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9753      hardcode_libdir_flag_spec='-R$libdir'
9754      hardcode_direct=yes
9755      hardcode_shlibpath_var=no
9756      ;;
9757
9758    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9759    freebsd2.*)
9760      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9761      hardcode_direct=yes
9762      hardcode_minus_L=yes
9763      hardcode_shlibpath_var=no
9764      ;;
9765
9766    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9767    freebsd* | dragonfly*)
9768      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9769      hardcode_libdir_flag_spec='-R$libdir'
9770      hardcode_direct=yes
9771      hardcode_shlibpath_var=no
9772      ;;
9773
9774    hpux9*)
9775      if test yes = "$GCC"; then
9776	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'
9777      else
9778	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'
9779      fi
9780      hardcode_libdir_flag_spec='$wl+b $wl$libdir'
9781      hardcode_libdir_separator=:
9782      hardcode_direct=yes
9783
9784      # hardcode_minus_L: Not really in the search PATH,
9785      # but as the default location of the library.
9786      hardcode_minus_L=yes
9787      export_dynamic_flag_spec='$wl-E'
9788      ;;
9789
9790    hpux10*)
9791      if test yes,no = "$GCC,$with_gnu_ld"; then
9792	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9793      else
9794	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9795      fi
9796      if test no = "$with_gnu_ld"; then
9797	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
9798	hardcode_libdir_separator=:
9799	hardcode_direct=yes
9800	hardcode_direct_absolute=yes
9801	export_dynamic_flag_spec='$wl-E'
9802	# hardcode_minus_L: Not really in the search PATH,
9803	# but as the default location of the library.
9804	hardcode_minus_L=yes
9805      fi
9806      ;;
9807
9808    hpux11*)
9809      if test yes,no = "$GCC,$with_gnu_ld"; then
9810	case $host_cpu in
9811	hppa*64*)
9812	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
9813	  ;;
9814	ia64*)
9815	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9816	  ;;
9817	*)
9818	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9819	  ;;
9820	esac
9821      else
9822	case $host_cpu in
9823	hppa*64*)
9824	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
9825	  ;;
9826	ia64*)
9827	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9828	  ;;
9829	*)
9830
9831	  # Older versions of the 11.00 compiler do not understand -b yet
9832	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9833	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9834$as_echo_n "checking if $CC understands -b... " >&6; }
9835if ${lt_cv_prog_compiler__b+:} false; then :
9836  $as_echo_n "(cached) " >&6
9837else
9838  lt_cv_prog_compiler__b=no
9839   save_LDFLAGS=$LDFLAGS
9840   LDFLAGS="$LDFLAGS -b"
9841   echo "$lt_simple_link_test_code" > conftest.$ac_ext
9842   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9843     # The linker can only warn and ignore the option if not recognized
9844     # So say no if there are warnings
9845     if test -s conftest.err; then
9846       # Append any errors to the config.log.
9847       cat conftest.err 1>&5
9848       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9849       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9850       if diff conftest.exp conftest.er2 >/dev/null; then
9851         lt_cv_prog_compiler__b=yes
9852       fi
9853     else
9854       lt_cv_prog_compiler__b=yes
9855     fi
9856   fi
9857   $RM -r conftest*
9858   LDFLAGS=$save_LDFLAGS
9859
9860fi
9861{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9862$as_echo "$lt_cv_prog_compiler__b" >&6; }
9863
9864if test yes = "$lt_cv_prog_compiler__b"; then
9865    archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9866else
9867    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9868fi
9869
9870	  ;;
9871	esac
9872      fi
9873      if test no = "$with_gnu_ld"; then
9874	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
9875	hardcode_libdir_separator=:
9876
9877	case $host_cpu in
9878	hppa*64*|ia64*)
9879	  hardcode_direct=no
9880	  hardcode_shlibpath_var=no
9881	  ;;
9882	*)
9883	  hardcode_direct=yes
9884	  hardcode_direct_absolute=yes
9885	  export_dynamic_flag_spec='$wl-E'
9886
9887	  # hardcode_minus_L: Not really in the search PATH,
9888	  # but as the default location of the library.
9889	  hardcode_minus_L=yes
9890	  ;;
9891	esac
9892      fi
9893      ;;
9894
9895    irix5* | irix6* | nonstopux*)
9896      if test yes = "$GCC"; then
9897	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'
9898	# Try to use the -exported_symbol ld option, if it does not
9899	# work, assume that -exports_file does not work either and
9900	# implicitly export all symbols.
9901	# This should be the same for all languages, so no per-tag cache variable.
9902	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9903$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9904if ${lt_cv_irix_exported_symbol+:} false; then :
9905  $as_echo_n "(cached) " >&6
9906else
9907  save_LDFLAGS=$LDFLAGS
9908	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
9909	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9910/* end confdefs.h.  */
9911int foo (void) { return 0; }
9912_ACEOF
9913if ac_fn_c_try_link "$LINENO"; then :
9914  lt_cv_irix_exported_symbol=yes
9915else
9916  lt_cv_irix_exported_symbol=no
9917fi
9918rm -f core conftest.err conftest.$ac_objext \
9919    conftest$ac_exeext conftest.$ac_ext
9920           LDFLAGS=$save_LDFLAGS
9921fi
9922{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9923$as_echo "$lt_cv_irix_exported_symbol" >&6; }
9924	if test yes = "$lt_cv_irix_exported_symbol"; then
9925          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'
9926	fi
9927      else
9928	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'
9929	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'
9930      fi
9931      archive_cmds_need_lc='no'
9932      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9933      hardcode_libdir_separator=:
9934      inherit_rpath=yes
9935      link_all_deplibs=yes
9936      ;;
9937
9938    linux*)
9939      case $cc_basename in
9940      tcc*)
9941	# Fabrice Bellard et al's Tiny C Compiler
9942	ld_shlibs=yes
9943	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9944	;;
9945      esac
9946      ;;
9947
9948    netbsd*)
9949      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9950	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9951      else
9952	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9953      fi
9954      hardcode_libdir_flag_spec='-R$libdir'
9955      hardcode_direct=yes
9956      hardcode_shlibpath_var=no
9957      ;;
9958
9959    newsos6)
9960      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9961      hardcode_direct=yes
9962      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9963      hardcode_libdir_separator=:
9964      hardcode_shlibpath_var=no
9965      ;;
9966
9967    *nto* | *qnx*)
9968      ;;
9969
9970    openbsd* | bitrig*)
9971      if test -f /usr/libexec/ld.so; then
9972	hardcode_direct=yes
9973	hardcode_shlibpath_var=no
9974	hardcode_direct_absolute=yes
9975	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
9976	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9977	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
9978	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
9979	  export_dynamic_flag_spec='$wl-E'
9980	else
9981	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9982	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
9983	fi
9984      else
9985	ld_shlibs=no
9986      fi
9987      ;;
9988
9989    os2*)
9990      hardcode_libdir_flag_spec='-L$libdir'
9991      hardcode_minus_L=yes
9992      allow_undefined_flag=unsupported
9993      shrext_cmds=.dll
9994      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9995	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9996	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9997	$ECHO EXPORTS >> $output_objdir/$libname.def~
9998	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
9999	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10000	emximp -o $lib $output_objdir/$libname.def'
10001      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10002	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10003	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10004	$ECHO EXPORTS >> $output_objdir/$libname.def~
10005	prefix_cmds="$SED"~
10006	if test EXPORTS = "`$SED 1q $export_symbols`"; then
10007	  prefix_cmds="$prefix_cmds -e 1d";
10008	fi~
10009	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10010	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10011	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10012	emximp -o $lib $output_objdir/$libname.def'
10013      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10014      enable_shared_with_static_runtimes=yes
10015      ;;
10016
10017    osf3*)
10018      if test yes = "$GCC"; then
10019	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10020	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'
10021      else
10022	allow_undefined_flag=' -expect_unresolved \*'
10023	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'
10024      fi
10025      archive_cmds_need_lc='no'
10026      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10027      hardcode_libdir_separator=:
10028      ;;
10029
10030    osf4* | osf5*)	# as osf3* with the addition of -msym flag
10031      if test yes = "$GCC"; then
10032	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10033	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'
10034	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10035      else
10036	allow_undefined_flag=' -expect_unresolved \*'
10037	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'
10038	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~
10039          $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'
10040
10041	# Both c and cxx compiler support -rpath directly
10042	hardcode_libdir_flag_spec='-rpath $libdir'
10043      fi
10044      archive_cmds_need_lc='no'
10045      hardcode_libdir_separator=:
10046      ;;
10047
10048    solaris*)
10049      no_undefined_flag=' -z defs'
10050      if test yes = "$GCC"; then
10051	wlarc='$wl'
10052	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10053	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10054          $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'
10055      else
10056	case `$CC -V 2>&1` in
10057	*"Compilers 5.0"*)
10058	  wlarc=''
10059	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
10060	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10061            $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10062	  ;;
10063	*)
10064	  wlarc='$wl'
10065	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10066	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10067            $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10068	  ;;
10069	esac
10070      fi
10071      hardcode_libdir_flag_spec='-R$libdir'
10072      hardcode_shlibpath_var=no
10073      case $host_os in
10074      solaris2.[0-5] | solaris2.[0-5].*) ;;
10075      *)
10076	# The compiler driver will combine and reorder linker options,
10077	# but understands '-z linker_flag'.  GCC discards it without '$wl',
10078	# but is careful enough not to reorder.
10079	# Supported since Solaris 2.6 (maybe 2.5.1?)
10080	if test yes = "$GCC"; then
10081	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
10082	else
10083	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10084	fi
10085	;;
10086      esac
10087      link_all_deplibs=yes
10088      ;;
10089
10090    sunos4*)
10091      if test sequent = "$host_vendor"; then
10092	# Use $CC to link under sequent, because it throws in some extra .o
10093	# files that make .init and .fini sections work.
10094	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10095      else
10096	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10097      fi
10098      hardcode_libdir_flag_spec='-L$libdir'
10099      hardcode_direct=yes
10100      hardcode_minus_L=yes
10101      hardcode_shlibpath_var=no
10102      ;;
10103
10104    sysv4)
10105      case $host_vendor in
10106	sni)
10107	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10108	  hardcode_direct=yes # is this really true???
10109	;;
10110	siemens)
10111	  ## LD is ld it makes a PLAMLIB
10112	  ## CC just makes a GrossModule.
10113	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10114	  reload_cmds='$CC -r -o $output$reload_objs'
10115	  hardcode_direct=no
10116        ;;
10117	motorola)
10118	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10119	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10120	;;
10121      esac
10122      runpath_var='LD_RUN_PATH'
10123      hardcode_shlibpath_var=no
10124      ;;
10125
10126    sysv4.3*)
10127      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10128      hardcode_shlibpath_var=no
10129      export_dynamic_flag_spec='-Bexport'
10130      ;;
10131
10132    sysv4*MP*)
10133      if test -d /usr/nec; then
10134	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10135	hardcode_shlibpath_var=no
10136	runpath_var=LD_RUN_PATH
10137	hardcode_runpath_var=yes
10138	ld_shlibs=yes
10139      fi
10140      ;;
10141
10142    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10143      no_undefined_flag='$wl-z,text'
10144      archive_cmds_need_lc=no
10145      hardcode_shlibpath_var=no
10146      runpath_var='LD_RUN_PATH'
10147
10148      if test yes = "$GCC"; then
10149	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10150	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10151      else
10152	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10153	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10154      fi
10155      ;;
10156
10157    sysv5* | sco3.2v5* | sco5v6*)
10158      # Note: We CANNOT use -z defs as we might desire, because we do not
10159      # link with -lc, and that would cause any symbols used from libc to
10160      # always be unresolved, which means just about no library would
10161      # ever link correctly.  If we're not using GNU ld we use -z text
10162      # though, which does catch some bad symbols but isn't as heavy-handed
10163      # as -z defs.
10164      no_undefined_flag='$wl-z,text'
10165      allow_undefined_flag='$wl-z,nodefs'
10166      archive_cmds_need_lc=no
10167      hardcode_shlibpath_var=no
10168      hardcode_libdir_flag_spec='$wl-R,$libdir'
10169      hardcode_libdir_separator=':'
10170      link_all_deplibs=yes
10171      export_dynamic_flag_spec='$wl-Bexport'
10172      runpath_var='LD_RUN_PATH'
10173
10174      if test yes = "$GCC"; then
10175	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10176	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10177      else
10178	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10179	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10180      fi
10181      ;;
10182
10183    uts4*)
10184      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10185      hardcode_libdir_flag_spec='-L$libdir'
10186      hardcode_shlibpath_var=no
10187      ;;
10188
10189    *)
10190      ld_shlibs=no
10191      ;;
10192    esac
10193
10194    if test sni = "$host_vendor"; then
10195      case $host in
10196      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10197	export_dynamic_flag_spec='$wl-Blargedynsym'
10198	;;
10199      esac
10200    fi
10201  fi
10202
10203{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10204$as_echo "$ld_shlibs" >&6; }
10205test no = "$ld_shlibs" && can_build_shared=no
10206
10207with_gnu_ld=$with_gnu_ld
10208
10209
10210
10211
10212
10213
10214
10215
10216
10217
10218
10219
10220
10221
10222
10223#
10224# Do we need to explicitly link libc?
10225#
10226case "x$archive_cmds_need_lc" in
10227x|xyes)
10228  # Assume -lc should be added
10229  archive_cmds_need_lc=yes
10230
10231  if test yes,yes = "$GCC,$enable_shared"; then
10232    case $archive_cmds in
10233    *'~'*)
10234      # FIXME: we may have to deal with multi-command sequences.
10235      ;;
10236    '$CC '*)
10237      # Test whether the compiler implicitly links with -lc since on some
10238      # systems, -lgcc has to come before -lc. If gcc already passes -lc
10239      # to ld, don't add -lc before -lgcc.
10240      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10241$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10242if ${lt_cv_archive_cmds_need_lc+:} false; then :
10243  $as_echo_n "(cached) " >&6
10244else
10245  $RM conftest*
10246	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10247
10248	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10249  (eval $ac_compile) 2>&5
10250  ac_status=$?
10251  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10252  test $ac_status = 0; } 2>conftest.err; then
10253	  soname=conftest
10254	  lib=conftest
10255	  libobjs=conftest.$ac_objext
10256	  deplibs=
10257	  wl=$lt_prog_compiler_wl
10258	  pic_flag=$lt_prog_compiler_pic
10259	  compiler_flags=-v
10260	  linker_flags=-v
10261	  verstring=
10262	  output_objdir=.
10263	  libname=conftest
10264	  lt_save_allow_undefined_flag=$allow_undefined_flag
10265	  allow_undefined_flag=
10266	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10267  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10268  ac_status=$?
10269  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10270  test $ac_status = 0; }
10271	  then
10272	    lt_cv_archive_cmds_need_lc=no
10273	  else
10274	    lt_cv_archive_cmds_need_lc=yes
10275	  fi
10276	  allow_undefined_flag=$lt_save_allow_undefined_flag
10277	else
10278	  cat conftest.err 1>&5
10279	fi
10280	$RM conftest*
10281
10282fi
10283{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10284$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10285      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10286      ;;
10287    esac
10288  fi
10289  ;;
10290esac
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302
10303
10304
10305
10306
10307
10308
10309
10310
10311
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
10369
10370
10371
10372
10373
10374
10375
10376
10377
10378
10379
10380
10381
10382
10383
10384
10385
10386
10387
10388
10389
10390
10391
10392
10393
10394
10395
10396
10397
10398
10399
10400
10401
10402
10403
10404
10405
10406
10407
10408
10409
10410
10411
10412
10413
10414
10415
10416
10417
10418
10419
10420
10421
10422
10423
10424
10425
10426
10427
10428
10429
10430
10431
10432
10433
10434
10435
10436
10437
10438
10439
10440
10441
10442
10443  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10444$as_echo_n "checking dynamic linker characteristics... " >&6; }
10445
10446if test yes = "$GCC"; then
10447  case $host_os in
10448    darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
10449    *) lt_awk_arg='/^libraries:/' ;;
10450  esac
10451  case $host_os in
10452    mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
10453    *) lt_sed_strip_eq='s|=/|/|g' ;;
10454  esac
10455  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10456  case $lt_search_path_spec in
10457  *\;*)
10458    # if the path contains ";" then we assume it to be the separator
10459    # otherwise default to the standard path separator (i.e. ":") - it is
10460    # assumed that no part of a normal pathname contains ";" but that should
10461    # okay in the real world where ";" in dirpaths is itself problematic.
10462    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10463    ;;
10464  *)
10465    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10466    ;;
10467  esac
10468  # Ok, now we have the path, separated by spaces, we can step through it
10469  # and add multilib dir if necessary...
10470  lt_tmp_lt_search_path_spec=
10471  lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10472  # ...but if some path component already ends with the multilib dir we assume
10473  # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
10474  case "$lt_multi_os_dir; $lt_search_path_spec " in
10475  "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
10476    lt_multi_os_dir=
10477    ;;
10478  esac
10479  for lt_sys_path in $lt_search_path_spec; do
10480    if test -d "$lt_sys_path$lt_multi_os_dir"; then
10481      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
10482    elif test -n "$lt_multi_os_dir"; then
10483      test -d "$lt_sys_path" && \
10484	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10485    fi
10486  done
10487  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10488BEGIN {RS = " "; FS = "/|\n";} {
10489  lt_foo = "";
10490  lt_count = 0;
10491  for (lt_i = NF; lt_i > 0; lt_i--) {
10492    if ($lt_i != "" && $lt_i != ".") {
10493      if ($lt_i == "..") {
10494        lt_count++;
10495      } else {
10496        if (lt_count == 0) {
10497          lt_foo = "/" $lt_i lt_foo;
10498        } else {
10499          lt_count--;
10500        }
10501      }
10502    }
10503  }
10504  if (lt_foo != "") { lt_freq[lt_foo]++; }
10505  if (lt_freq[lt_foo] == 1) { print lt_foo; }
10506}'`
10507  # AWK program above erroneously prepends '/' to C:/dos/paths
10508  # for these hosts.
10509  case $host_os in
10510    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10511      $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
10512  esac
10513  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10514else
10515  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10516fi
10517library_names_spec=
10518libname_spec='lib$name'
10519soname_spec=
10520shrext_cmds=.so
10521postinstall_cmds=
10522postuninstall_cmds=
10523finish_cmds=
10524finish_eval=
10525shlibpath_var=
10526shlibpath_overrides_runpath=unknown
10527version_type=none
10528dynamic_linker="$host_os ld.so"
10529sys_lib_dlsearch_path_spec="/lib /usr/lib"
10530need_lib_prefix=unknown
10531hardcode_into_libs=no
10532
10533# when you set need_version to no, make sure it does not cause -set_version
10534# flags to be left without arguments
10535need_version=unknown
10536
10537
10538
10539case $host_os in
10540aix3*)
10541  version_type=linux # correct to gnu/linux during the next big refactor
10542  library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
10543  shlibpath_var=LIBPATH
10544
10545  # AIX 3 has no versioning support, so we append a major version to the name.
10546  soname_spec='$libname$release$shared_ext$major'
10547  ;;
10548
10549aix[4-9]*)
10550  version_type=linux # correct to gnu/linux during the next big refactor
10551  need_lib_prefix=no
10552  need_version=no
10553  hardcode_into_libs=yes
10554  if test ia64 = "$host_cpu"; then
10555    # AIX 5 supports IA64
10556    library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
10557    shlibpath_var=LD_LIBRARY_PATH
10558  else
10559    # With GCC up to 2.95.x, collect2 would create an import file
10560    # for dependence libraries.  The import file would start with
10561    # the line '#! .'.  This would cause the generated library to
10562    # depend on '.', always an invalid library.  This was fixed in
10563    # development snapshots of GCC prior to 3.0.
10564    case $host_os in
10565      aix4 | aix4.[01] | aix4.[01].*)
10566      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10567	   echo ' yes '
10568	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
10569	:
10570      else
10571	can_build_shared=no
10572      fi
10573      ;;
10574    esac
10575    # Using Import Files as archive members, it is possible to support
10576    # filename-based versioning of shared library archives on AIX. While
10577    # this would work for both with and without runtime linking, it will
10578    # prevent static linking of such archives. So we do filename-based
10579    # shared library versioning with .so extension only, which is used
10580    # when both runtime linking and shared linking is enabled.
10581    # Unfortunately, runtime linking may impact performance, so we do
10582    # not want this to be the default eventually. Also, we use the
10583    # versioned .so libs for executables only if there is the -brtl
10584    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
10585    # To allow for filename-based versioning support, we need to create
10586    # libNAME.so.V as an archive file, containing:
10587    # *) an Import File, referring to the versioned filename of the
10588    #    archive as well as the shared archive member, telling the
10589    #    bitwidth (32 or 64) of that shared object, and providing the
10590    #    list of exported symbols of that shared object, eventually
10591    #    decorated with the 'weak' keyword
10592    # *) the shared object with the F_LOADONLY flag set, to really avoid
10593    #    it being seen by the linker.
10594    # At run time we better use the real file rather than another symlink,
10595    # but for link time we create the symlink libNAME.so -> libNAME.so.V
10596
10597    case $with_aix_soname,$aix_use_runtimelinking in
10598    # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
10599    # soname into executable. Probably we can add versioning support to
10600    # collect2, so additional links can be useful in future.
10601    aix,yes) # traditional libtool
10602      dynamic_linker='AIX unversionable lib.so'
10603      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10604      # instead of lib<name>.a to let people know that these are not
10605      # typical AIX shared libraries.
10606      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10607      ;;
10608    aix,no) # traditional AIX only
10609      dynamic_linker='AIX lib.a(lib.so.V)'
10610      # We preserve .a as extension for shared libraries through AIX4.2
10611      # and later when we are not doing run time linking.
10612      library_names_spec='$libname$release.a $libname.a'
10613      soname_spec='$libname$release$shared_ext$major'
10614      ;;
10615    svr4,*) # full svr4 only
10616      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
10617      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
10618      # We do not specify a path in Import Files, so LIBPATH fires.
10619      shlibpath_overrides_runpath=yes
10620      ;;
10621    *,yes) # both, prefer svr4
10622      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
10623      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
10624      # unpreferred sharedlib libNAME.a needs extra handling
10625      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"'
10626      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"'
10627      # We do not specify a path in Import Files, so LIBPATH fires.
10628      shlibpath_overrides_runpath=yes
10629      ;;
10630    *,no) # both, prefer aix
10631      dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
10632      library_names_spec='$libname$release.a $libname.a'
10633      soname_spec='$libname$release$shared_ext$major'
10634      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
10635      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)'
10636      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"'
10637      ;;
10638    esac
10639    shlibpath_var=LIBPATH
10640  fi
10641  ;;
10642
10643amigaos*)
10644  case $host_cpu in
10645  powerpc)
10646    # Since July 2007 AmigaOS4 officially supports .so libraries.
10647    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10648    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10649    ;;
10650  m68k)
10651    library_names_spec='$libname.ixlibrary $libname.a'
10652    # Create ${libname}_ixlibrary.a entries in /sys/libs.
10653    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'
10654    ;;
10655  esac
10656  ;;
10657
10658beos*)
10659  library_names_spec='$libname$shared_ext'
10660  dynamic_linker="$host_os ld.so"
10661  shlibpath_var=LIBRARY_PATH
10662  ;;
10663
10664bsdi[45]*)
10665  version_type=linux # correct to gnu/linux during the next big refactor
10666  need_version=no
10667  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10668  soname_spec='$libname$release$shared_ext$major'
10669  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10670  shlibpath_var=LD_LIBRARY_PATH
10671  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10672  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10673  # the default ld.so.conf also contains /usr/contrib/lib and
10674  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10675  # libtool to hard-code these into programs
10676  ;;
10677
10678cygwin* | mingw* | pw32* | cegcc*)
10679  version_type=windows
10680  shrext_cmds=.dll
10681  need_version=no
10682  need_lib_prefix=no
10683
10684  case $GCC,$cc_basename in
10685  yes,*)
10686    # gcc
10687    library_names_spec='$libname.dll.a'
10688    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10689    postinstall_cmds='base_file=`basename \$file`~
10690      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
10691      dldir=$destdir/`dirname \$dlpath`~
10692      test -d \$dldir || mkdir -p \$dldir~
10693      $install_prog $dir/$dlname \$dldir/$dlname~
10694      chmod a+x \$dldir/$dlname~
10695      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10696        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10697      fi'
10698    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10699      dlpath=$dir/\$dldll~
10700       $RM \$dlpath'
10701    shlibpath_overrides_runpath=yes
10702
10703    case $host_os in
10704    cygwin*)
10705      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10706      soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10707
10708      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10709      ;;
10710    mingw* | cegcc*)
10711      # MinGW DLLs use traditional 'lib' prefix
10712      soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10713      ;;
10714    pw32*)
10715      # pw32 DLLs use 'pw' prefix rather than 'lib'
10716      library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10717      ;;
10718    esac
10719    dynamic_linker='Win32 ld.exe'
10720    ;;
10721
10722  *,cl*)
10723    # Native MSVC
10724    libname_spec='$name'
10725    soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10726    library_names_spec='$libname.dll.lib'
10727
10728    case $build_os in
10729    mingw*)
10730      sys_lib_search_path_spec=
10731      lt_save_ifs=$IFS
10732      IFS=';'
10733      for lt_path in $LIB
10734      do
10735        IFS=$lt_save_ifs
10736        # Let DOS variable expansion print the short 8.3 style file name.
10737        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10738        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10739      done
10740      IFS=$lt_save_ifs
10741      # Convert to MSYS style.
10742      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10743      ;;
10744    cygwin*)
10745      # Convert to unix form, then to dos form, then back to unix form
10746      # but this time dos style (no spaces!) so that the unix form looks
10747      # like /cygdrive/c/PROGRA~1:/cygdr...
10748      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10749      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10750      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10751      ;;
10752    *)
10753      sys_lib_search_path_spec=$LIB
10754      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10755        # It is most probably a Windows format PATH.
10756        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10757      else
10758        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10759      fi
10760      # FIXME: find the short name or the path components, as spaces are
10761      # common. (e.g. "Program Files" -> "PROGRA~1")
10762      ;;
10763    esac
10764
10765    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10766    postinstall_cmds='base_file=`basename \$file`~
10767      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
10768      dldir=$destdir/`dirname \$dlpath`~
10769      test -d \$dldir || mkdir -p \$dldir~
10770      $install_prog $dir/$dlname \$dldir/$dlname'
10771    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10772      dlpath=$dir/\$dldll~
10773       $RM \$dlpath'
10774    shlibpath_overrides_runpath=yes
10775    dynamic_linker='Win32 link.exe'
10776    ;;
10777
10778  *)
10779    # Assume MSVC wrapper
10780    library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
10781    dynamic_linker='Win32 ld.exe'
10782    ;;
10783  esac
10784  # FIXME: first we should search . and the directory the executable is in
10785  shlibpath_var=PATH
10786  ;;
10787
10788darwin* | rhapsody*)
10789  dynamic_linker="$host_os dyld"
10790  version_type=darwin
10791  need_lib_prefix=no
10792  need_version=no
10793  library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
10794  soname_spec='$libname$release$major$shared_ext'
10795  shlibpath_overrides_runpath=yes
10796  shlibpath_var=DYLD_LIBRARY_PATH
10797  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10798
10799  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10800  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10801  ;;
10802
10803dgux*)
10804  version_type=linux # correct to gnu/linux during the next big refactor
10805  need_lib_prefix=no
10806  need_version=no
10807  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10808  soname_spec='$libname$release$shared_ext$major'
10809  shlibpath_var=LD_LIBRARY_PATH
10810  ;;
10811
10812freebsd* | dragonfly*)
10813  # DragonFly does not have aout.  When/if they implement a new
10814  # versioning mechanism, adjust this.
10815  if test -x /usr/bin/objformat; then
10816    objformat=`/usr/bin/objformat`
10817  else
10818    case $host_os in
10819    freebsd[23].*) objformat=aout ;;
10820    *) objformat=elf ;;
10821    esac
10822  fi
10823  # Handle Gentoo/FreeBSD as it was Linux
10824  case $host_vendor in
10825    gentoo)
10826      version_type=linux ;;
10827    *)
10828      version_type=freebsd-$objformat ;;
10829  esac
10830
10831  case $version_type in
10832    freebsd-elf*)
10833      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10834      soname_spec='$libname$release$shared_ext$major'
10835      need_version=no
10836      need_lib_prefix=no
10837      ;;
10838    freebsd-*)
10839      library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
10840      need_version=yes
10841      ;;
10842    linux)
10843      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10844      soname_spec='${libname}${release}${shared_ext}$major'
10845      need_lib_prefix=no
10846      need_version=no
10847      ;;
10848  esac
10849  shlibpath_var=LD_LIBRARY_PATH
10850  case $host_os in
10851  freebsd2.*)
10852    shlibpath_overrides_runpath=yes
10853    ;;
10854  freebsd3.[01]* | freebsdelf3.[01]*)
10855    shlibpath_overrides_runpath=yes
10856    hardcode_into_libs=yes
10857    ;;
10858  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10859  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10860    shlibpath_overrides_runpath=no
10861    hardcode_into_libs=yes
10862    ;;
10863  *) # from 4.6 on, and DragonFly
10864    shlibpath_overrides_runpath=yes
10865    hardcode_into_libs=yes
10866    ;;
10867  esac
10868  ;;
10869
10870haiku*)
10871  version_type=linux # correct to gnu/linux during the next big refactor
10872  need_lib_prefix=no
10873  need_version=no
10874  dynamic_linker="$host_os runtime_loader"
10875  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10876  soname_spec='$libname$release$shared_ext$major'
10877  shlibpath_var=LIBRARY_PATH
10878  shlibpath_overrides_runpath=no
10879  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10880  hardcode_into_libs=yes
10881  ;;
10882
10883hpux9* | hpux10* | hpux11*)
10884  # Give a soname corresponding to the major version so that dld.sl refuses to
10885  # link against other versions.
10886  version_type=sunos
10887  need_lib_prefix=no
10888  need_version=no
10889  case $host_cpu in
10890  ia64*)
10891    shrext_cmds='.so'
10892    hardcode_into_libs=yes
10893    dynamic_linker="$host_os dld.so"
10894    shlibpath_var=LD_LIBRARY_PATH
10895    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10896    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10897    soname_spec='$libname$release$shared_ext$major'
10898    if test 32 = "$HPUX_IA64_MODE"; then
10899      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10900      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
10901    else
10902      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10903      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
10904    fi
10905    ;;
10906  hppa*64*)
10907    shrext_cmds='.sl'
10908    hardcode_into_libs=yes
10909    dynamic_linker="$host_os dld.sl"
10910    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10911    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10912    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10913    soname_spec='$libname$release$shared_ext$major'
10914    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10915    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10916    ;;
10917  *)
10918    shrext_cmds='.sl'
10919    dynamic_linker="$host_os dld.sl"
10920    shlibpath_var=SHLIB_PATH
10921    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10922    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10923    soname_spec='$libname$release$shared_ext$major'
10924    ;;
10925  esac
10926  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10927  postinstall_cmds='chmod 555 $lib'
10928  # or fails outright, so override atomically:
10929  install_override_mode=555
10930  ;;
10931
10932interix[3-9]*)
10933  version_type=linux # correct to gnu/linux during the next big refactor
10934  need_lib_prefix=no
10935  need_version=no
10936  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10937  soname_spec='$libname$release$shared_ext$major'
10938  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10939  shlibpath_var=LD_LIBRARY_PATH
10940  shlibpath_overrides_runpath=no
10941  hardcode_into_libs=yes
10942  ;;
10943
10944irix5* | irix6* | nonstopux*)
10945  case $host_os in
10946    nonstopux*) version_type=nonstopux ;;
10947    *)
10948	if test yes = "$lt_cv_prog_gnu_ld"; then
10949		version_type=linux # correct to gnu/linux during the next big refactor
10950	else
10951		version_type=irix
10952	fi ;;
10953  esac
10954  need_lib_prefix=no
10955  need_version=no
10956  soname_spec='$libname$release$shared_ext$major'
10957  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
10958  case $host_os in
10959  irix5* | nonstopux*)
10960    libsuff= shlibsuff=
10961    ;;
10962  *)
10963    case $LD in # libtool.m4 will add one of these switches to LD
10964    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10965      libsuff= shlibsuff= libmagic=32-bit;;
10966    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10967      libsuff=32 shlibsuff=N32 libmagic=N32;;
10968    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10969      libsuff=64 shlibsuff=64 libmagic=64-bit;;
10970    *) libsuff= shlibsuff= libmagic=never-match;;
10971    esac
10972    ;;
10973  esac
10974  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10975  shlibpath_overrides_runpath=no
10976  sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
10977  sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
10978  hardcode_into_libs=yes
10979  ;;
10980
10981# No shared lib support for Linux oldld, aout, or coff.
10982linux*oldld* | linux*aout* | linux*coff*)
10983  dynamic_linker=no
10984  ;;
10985
10986linux*android*)
10987  version_type=none # Android doesn't support versioned libraries.
10988  need_lib_prefix=no
10989  need_version=no
10990  library_names_spec='$libname$release$shared_ext'
10991  soname_spec='$libname$release$shared_ext'
10992  finish_cmds=
10993  shlibpath_var=LD_LIBRARY_PATH
10994  shlibpath_overrides_runpath=yes
10995
10996  # This implies no fast_install, which is unacceptable.
10997  # Some rework will be needed to allow for fast_install
10998  # before this can be enabled.
10999  hardcode_into_libs=yes
11000
11001  dynamic_linker='Android linker'
11002  # Don't embed -rpath directories since the linker doesn't support them.
11003  hardcode_libdir_flag_spec='-L$libdir'
11004  ;;
11005
11006# This must be glibc/ELF.
11007linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11008  version_type=linux # correct to gnu/linux during the next big refactor
11009  need_lib_prefix=no
11010  need_version=no
11011  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11012  soname_spec='$libname$release$shared_ext$major'
11013  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11014  shlibpath_var=LD_LIBRARY_PATH
11015  shlibpath_overrides_runpath=no
11016
11017  # Some binutils ld are patched to set DT_RUNPATH
11018  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11019  $as_echo_n "(cached) " >&6
11020else
11021  lt_cv_shlibpath_overrides_runpath=no
11022    save_LDFLAGS=$LDFLAGS
11023    save_libdir=$libdir
11024    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11025	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11026    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11027/* end confdefs.h.  */
11028
11029int
11030main ()
11031{
11032
11033  ;
11034  return 0;
11035}
11036_ACEOF
11037if ac_fn_c_try_link "$LINENO"; then :
11038  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11039  lt_cv_shlibpath_overrides_runpath=yes
11040fi
11041fi
11042rm -f core conftest.err conftest.$ac_objext \
11043    conftest$ac_exeext conftest.$ac_ext
11044    LDFLAGS=$save_LDFLAGS
11045    libdir=$save_libdir
11046
11047fi
11048
11049  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11050
11051  # This implies no fast_install, which is unacceptable.
11052  # Some rework will be needed to allow for fast_install
11053  # before this can be enabled.
11054  hardcode_into_libs=yes
11055
11056  # Ideally, we could use ldconfig to report *all* directores which are
11057  # searched for libraries, however this is still not possible.  Aside from not
11058  # being certain /sbin/ldconfig is available, command
11059  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
11060  # even though it is searched at run-time.  Try to do the best guess by
11061  # appending ld.so.conf contents (and includes) to the search path.
11062  if test -f /etc/ld.so.conf; then
11063    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' ' '`
11064    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11065  fi
11066
11067  # We used to test for /lib/ld.so.1 and disable shared libraries on
11068  # powerpc, because MkLinux only supported shared libraries with the
11069  # GNU dynamic linker.  Since this was broken with cross compilers,
11070  # most powerpc-linux boxes support dynamic linking these days and
11071  # people can always --disable-shared, the test was removed, and we
11072  # assume the GNU/Linux dynamic linker is in use.
11073  dynamic_linker='GNU/Linux ld.so'
11074  ;;
11075
11076netbsd*)
11077  version_type=sunos
11078  need_lib_prefix=no
11079  need_version=no
11080  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11081    library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11082    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11083    dynamic_linker='NetBSD (a.out) ld.so'
11084  else
11085    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11086    soname_spec='$libname$release$shared_ext$major'
11087    dynamic_linker='NetBSD ld.elf_so'
11088  fi
11089  shlibpath_var=LD_LIBRARY_PATH
11090  shlibpath_overrides_runpath=yes
11091  hardcode_into_libs=yes
11092  ;;
11093
11094newsos6)
11095  version_type=linux # correct to gnu/linux during the next big refactor
11096  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11097  shlibpath_var=LD_LIBRARY_PATH
11098  shlibpath_overrides_runpath=yes
11099  ;;
11100
11101*nto* | *qnx*)
11102  version_type=qnx
11103  need_lib_prefix=no
11104  need_version=no
11105  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11106  soname_spec='$libname$release$shared_ext$major'
11107  shlibpath_var=LD_LIBRARY_PATH
11108  shlibpath_overrides_runpath=no
11109  hardcode_into_libs=yes
11110  dynamic_linker='ldqnx.so'
11111  ;;
11112
11113openbsd* | bitrig*)
11114  version_type=sunos
11115  sys_lib_dlsearch_path_spec=/usr/lib
11116  need_lib_prefix=no
11117  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11118    need_version=no
11119  else
11120    need_version=yes
11121  fi
11122  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11123  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11124  shlibpath_var=LD_LIBRARY_PATH
11125  shlibpath_overrides_runpath=yes
11126  ;;
11127
11128os2*)
11129  libname_spec='$name'
11130  version_type=windows
11131  shrext_cmds=.dll
11132  need_version=no
11133  need_lib_prefix=no
11134  # OS/2 can only load a DLL with a base name of 8 characters or less.
11135  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
11136    v=$($ECHO $release$versuffix | tr -d .-);
11137    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
11138    $ECHO $n$v`$shared_ext'
11139  library_names_spec='${libname}_dll.$libext'
11140  dynamic_linker='OS/2 ld.exe'
11141  shlibpath_var=BEGINLIBPATH
11142  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11143  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11144  postinstall_cmds='base_file=`basename \$file`~
11145    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
11146    dldir=$destdir/`dirname \$dlpath`~
11147    test -d \$dldir || mkdir -p \$dldir~
11148    $install_prog $dir/$dlname \$dldir/$dlname~
11149    chmod a+x \$dldir/$dlname~
11150    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11151      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11152    fi'
11153  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
11154    dlpath=$dir/\$dldll~
11155    $RM \$dlpath'
11156  ;;
11157
11158osf3* | osf4* | osf5*)
11159  version_type=osf
11160  need_lib_prefix=no
11161  need_version=no
11162  soname_spec='$libname$release$shared_ext$major'
11163  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11164  shlibpath_var=LD_LIBRARY_PATH
11165  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11166  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11167  ;;
11168
11169rdos*)
11170  dynamic_linker=no
11171  ;;
11172
11173solaris*)
11174  version_type=linux # correct to gnu/linux during the next big refactor
11175  need_lib_prefix=no
11176  need_version=no
11177  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11178  soname_spec='$libname$release$shared_ext$major'
11179  shlibpath_var=LD_LIBRARY_PATH
11180  shlibpath_overrides_runpath=yes
11181  hardcode_into_libs=yes
11182  # ldd complains unless libraries are executable
11183  postinstall_cmds='chmod +x $lib'
11184  ;;
11185
11186sunos4*)
11187  version_type=sunos
11188  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11189  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11190  shlibpath_var=LD_LIBRARY_PATH
11191  shlibpath_overrides_runpath=yes
11192  if test yes = "$with_gnu_ld"; then
11193    need_lib_prefix=no
11194  fi
11195  need_version=yes
11196  ;;
11197
11198sysv4 | sysv4.3*)
11199  version_type=linux # correct to gnu/linux during the next big refactor
11200  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11201  soname_spec='$libname$release$shared_ext$major'
11202  shlibpath_var=LD_LIBRARY_PATH
11203  case $host_vendor in
11204    sni)
11205      shlibpath_overrides_runpath=no
11206      need_lib_prefix=no
11207      runpath_var=LD_RUN_PATH
11208      ;;
11209    siemens)
11210      need_lib_prefix=no
11211      ;;
11212    motorola)
11213      need_lib_prefix=no
11214      need_version=no
11215      shlibpath_overrides_runpath=no
11216      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11217      ;;
11218  esac
11219  ;;
11220
11221sysv4*MP*)
11222  if test -d /usr/nec; then
11223    version_type=linux # correct to gnu/linux during the next big refactor
11224    library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
11225    soname_spec='$libname$shared_ext.$major'
11226    shlibpath_var=LD_LIBRARY_PATH
11227  fi
11228  ;;
11229
11230sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11231  version_type=sco
11232  need_lib_prefix=no
11233  need_version=no
11234  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
11235  soname_spec='$libname$release$shared_ext$major'
11236  shlibpath_var=LD_LIBRARY_PATH
11237  shlibpath_overrides_runpath=yes
11238  hardcode_into_libs=yes
11239  if test yes = "$with_gnu_ld"; then
11240    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11241  else
11242    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11243    case $host_os in
11244      sco3.2v5*)
11245        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11246	;;
11247    esac
11248  fi
11249  sys_lib_dlsearch_path_spec='/usr/lib'
11250  ;;
11251
11252tpf*)
11253  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11254  version_type=linux # correct to gnu/linux during the next big refactor
11255  need_lib_prefix=no
11256  need_version=no
11257  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11258  shlibpath_var=LD_LIBRARY_PATH
11259  shlibpath_overrides_runpath=no
11260  hardcode_into_libs=yes
11261  ;;
11262
11263uts4*)
11264  version_type=linux # correct to gnu/linux during the next big refactor
11265  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11266  soname_spec='$libname$release$shared_ext$major'
11267  shlibpath_var=LD_LIBRARY_PATH
11268  ;;
11269
11270*)
11271  dynamic_linker=no
11272  ;;
11273esac
11274{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11275$as_echo "$dynamic_linker" >&6; }
11276test no = "$dynamic_linker" && can_build_shared=no
11277
11278variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11279if test yes = "$GCC"; then
11280  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11281fi
11282
11283if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
11284  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
11285fi
11286
11287if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
11288  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
11289fi
11290
11291# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
11292configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
11293
11294# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
11295func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
11296
11297# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
11298configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
11299
11300
11301
11302
11303
11304
11305
11306
11307
11308
11309
11310
11311
11312
11313
11314
11315
11316
11317
11318
11319
11320
11321
11322
11323
11324
11325
11326
11327
11328
11329
11330
11331
11332
11333
11334
11335
11336
11337
11338
11339
11340
11341
11342
11343
11344
11345
11346
11347
11348
11349
11350
11351
11352
11353
11354
11355
11356
11357
11358
11359
11360
11361
11362
11363
11364
11365
11366
11367
11368
11369
11370
11371
11372
11373
11374
11375
11376
11377
11378
11379
11380
11381
11382
11383
11384
11385
11386
11387
11388
11389
11390
11391
11392
11393
11394
11395
11396  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11397$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11398hardcode_action=
11399if test -n "$hardcode_libdir_flag_spec" ||
11400   test -n "$runpath_var" ||
11401   test yes = "$hardcode_automatic"; then
11402
11403  # We can hardcode non-existent directories.
11404  if test no != "$hardcode_direct" &&
11405     # If the only mechanism to avoid hardcoding is shlibpath_var, we
11406     # have to relink, otherwise we might link with an installed library
11407     # when we should be linking with a yet-to-be-installed one
11408     ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
11409     test no != "$hardcode_minus_L"; then
11410    # Linking always hardcodes the temporary library directory.
11411    hardcode_action=relink
11412  else
11413    # We can link without hardcoding, and we can hardcode nonexisting dirs.
11414    hardcode_action=immediate
11415  fi
11416else
11417  # We cannot hardcode anything, or else we can only hardcode existing
11418  # directories.
11419  hardcode_action=unsupported
11420fi
11421{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11422$as_echo "$hardcode_action" >&6; }
11423
11424if test relink = "$hardcode_action" ||
11425   test yes = "$inherit_rpath"; then
11426  # Fast installation is not supported
11427  enable_fast_install=no
11428elif test yes = "$shlibpath_overrides_runpath" ||
11429     test no = "$enable_shared"; then
11430  # Fast installation is not necessary
11431  enable_fast_install=needless
11432fi
11433
11434
11435
11436
11437
11438
11439  if test yes != "$enable_dlopen"; then
11440  enable_dlopen=unknown
11441  enable_dlopen_self=unknown
11442  enable_dlopen_self_static=unknown
11443else
11444  lt_cv_dlopen=no
11445  lt_cv_dlopen_libs=
11446
11447  case $host_os in
11448  beos*)
11449    lt_cv_dlopen=load_add_on
11450    lt_cv_dlopen_libs=
11451    lt_cv_dlopen_self=yes
11452    ;;
11453
11454  mingw* | pw32* | cegcc*)
11455    lt_cv_dlopen=LoadLibrary
11456    lt_cv_dlopen_libs=
11457    ;;
11458
11459  cygwin*)
11460    lt_cv_dlopen=dlopen
11461    lt_cv_dlopen_libs=
11462    ;;
11463
11464  darwin*)
11465    # if libdl is installed we need to link against it
11466    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11467$as_echo_n "checking for dlopen in -ldl... " >&6; }
11468if ${ac_cv_lib_dl_dlopen+:} false; then :
11469  $as_echo_n "(cached) " >&6
11470else
11471  ac_check_lib_save_LIBS=$LIBS
11472LIBS="-ldl  $LIBS"
11473cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11474/* end confdefs.h.  */
11475
11476/* Override any GCC internal prototype to avoid an error.
11477   Use char because int might match the return type of a GCC
11478   builtin and then its argument prototype would still apply.  */
11479#ifdef __cplusplus
11480extern "C"
11481#endif
11482char dlopen ();
11483int
11484main ()
11485{
11486return dlopen ();
11487  ;
11488  return 0;
11489}
11490_ACEOF
11491if ac_fn_c_try_link "$LINENO"; then :
11492  ac_cv_lib_dl_dlopen=yes
11493else
11494  ac_cv_lib_dl_dlopen=no
11495fi
11496rm -f core conftest.err conftest.$ac_objext \
11497    conftest$ac_exeext conftest.$ac_ext
11498LIBS=$ac_check_lib_save_LIBS
11499fi
11500{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11501$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11502if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11503  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
11504else
11505
11506    lt_cv_dlopen=dyld
11507    lt_cv_dlopen_libs=
11508    lt_cv_dlopen_self=yes
11509
11510fi
11511
11512    ;;
11513
11514  tpf*)
11515    # Don't try to run any link tests for TPF.  We know it's impossible
11516    # because TPF is a cross-compiler, and we know how we open DSOs.
11517    lt_cv_dlopen=dlopen
11518    lt_cv_dlopen_libs=
11519    lt_cv_dlopen_self=no
11520    ;;
11521
11522  *)
11523    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11524if test "x$ac_cv_func_shl_load" = xyes; then :
11525  lt_cv_dlopen=shl_load
11526else
11527  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11528$as_echo_n "checking for shl_load in -ldld... " >&6; }
11529if ${ac_cv_lib_dld_shl_load+:} false; then :
11530  $as_echo_n "(cached) " >&6
11531else
11532  ac_check_lib_save_LIBS=$LIBS
11533LIBS="-ldld  $LIBS"
11534cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11535/* end confdefs.h.  */
11536
11537/* Override any GCC internal prototype to avoid an error.
11538   Use char because int might match the return type of a GCC
11539   builtin and then its argument prototype would still apply.  */
11540#ifdef __cplusplus
11541extern "C"
11542#endif
11543char shl_load ();
11544int
11545main ()
11546{
11547return shl_load ();
11548  ;
11549  return 0;
11550}
11551_ACEOF
11552if ac_fn_c_try_link "$LINENO"; then :
11553  ac_cv_lib_dld_shl_load=yes
11554else
11555  ac_cv_lib_dld_shl_load=no
11556fi
11557rm -f core conftest.err conftest.$ac_objext \
11558    conftest$ac_exeext conftest.$ac_ext
11559LIBS=$ac_check_lib_save_LIBS
11560fi
11561{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11562$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11563if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11564  lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
11565else
11566  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11567if test "x$ac_cv_func_dlopen" = xyes; then :
11568  lt_cv_dlopen=dlopen
11569else
11570  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11571$as_echo_n "checking for dlopen in -ldl... " >&6; }
11572if ${ac_cv_lib_dl_dlopen+:} false; then :
11573  $as_echo_n "(cached) " >&6
11574else
11575  ac_check_lib_save_LIBS=$LIBS
11576LIBS="-ldl  $LIBS"
11577cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11578/* end confdefs.h.  */
11579
11580/* Override any GCC internal prototype to avoid an error.
11581   Use char because int might match the return type of a GCC
11582   builtin and then its argument prototype would still apply.  */
11583#ifdef __cplusplus
11584extern "C"
11585#endif
11586char dlopen ();
11587int
11588main ()
11589{
11590return dlopen ();
11591  ;
11592  return 0;
11593}
11594_ACEOF
11595if ac_fn_c_try_link "$LINENO"; then :
11596  ac_cv_lib_dl_dlopen=yes
11597else
11598  ac_cv_lib_dl_dlopen=no
11599fi
11600rm -f core conftest.err conftest.$ac_objext \
11601    conftest$ac_exeext conftest.$ac_ext
11602LIBS=$ac_check_lib_save_LIBS
11603fi
11604{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11605$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11606if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11607  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
11608else
11609  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11610$as_echo_n "checking for dlopen in -lsvld... " >&6; }
11611if ${ac_cv_lib_svld_dlopen+:} false; then :
11612  $as_echo_n "(cached) " >&6
11613else
11614  ac_check_lib_save_LIBS=$LIBS
11615LIBS="-lsvld  $LIBS"
11616cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11617/* end confdefs.h.  */
11618
11619/* Override any GCC internal prototype to avoid an error.
11620   Use char because int might match the return type of a GCC
11621   builtin and then its argument prototype would still apply.  */
11622#ifdef __cplusplus
11623extern "C"
11624#endif
11625char dlopen ();
11626int
11627main ()
11628{
11629return dlopen ();
11630  ;
11631  return 0;
11632}
11633_ACEOF
11634if ac_fn_c_try_link "$LINENO"; then :
11635  ac_cv_lib_svld_dlopen=yes
11636else
11637  ac_cv_lib_svld_dlopen=no
11638fi
11639rm -f core conftest.err conftest.$ac_objext \
11640    conftest$ac_exeext conftest.$ac_ext
11641LIBS=$ac_check_lib_save_LIBS
11642fi
11643{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11644$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11645if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11646  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
11647else
11648  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11649$as_echo_n "checking for dld_link in -ldld... " >&6; }
11650if ${ac_cv_lib_dld_dld_link+:} false; then :
11651  $as_echo_n "(cached) " >&6
11652else
11653  ac_check_lib_save_LIBS=$LIBS
11654LIBS="-ldld  $LIBS"
11655cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11656/* end confdefs.h.  */
11657
11658/* Override any GCC internal prototype to avoid an error.
11659   Use char because int might match the return type of a GCC
11660   builtin and then its argument prototype would still apply.  */
11661#ifdef __cplusplus
11662extern "C"
11663#endif
11664char dld_link ();
11665int
11666main ()
11667{
11668return dld_link ();
11669  ;
11670  return 0;
11671}
11672_ACEOF
11673if ac_fn_c_try_link "$LINENO"; then :
11674  ac_cv_lib_dld_dld_link=yes
11675else
11676  ac_cv_lib_dld_dld_link=no
11677fi
11678rm -f core conftest.err conftest.$ac_objext \
11679    conftest$ac_exeext conftest.$ac_ext
11680LIBS=$ac_check_lib_save_LIBS
11681fi
11682{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11683$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11684if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11685  lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
11686fi
11687
11688
11689fi
11690
11691
11692fi
11693
11694
11695fi
11696
11697
11698fi
11699
11700
11701fi
11702
11703    ;;
11704  esac
11705
11706  if test no = "$lt_cv_dlopen"; then
11707    enable_dlopen=no
11708  else
11709    enable_dlopen=yes
11710  fi
11711
11712  case $lt_cv_dlopen in
11713  dlopen)
11714    save_CPPFLAGS=$CPPFLAGS
11715    test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11716
11717    save_LDFLAGS=$LDFLAGS
11718    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11719
11720    save_LIBS=$LIBS
11721    LIBS="$lt_cv_dlopen_libs $LIBS"
11722
11723    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11724$as_echo_n "checking whether a program can dlopen itself... " >&6; }
11725if ${lt_cv_dlopen_self+:} false; then :
11726  $as_echo_n "(cached) " >&6
11727else
11728  	  if test yes = "$cross_compiling"; then :
11729  lt_cv_dlopen_self=cross
11730else
11731  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11732  lt_status=$lt_dlunknown
11733  cat > conftest.$ac_ext <<_LT_EOF
11734#line $LINENO "configure"
11735#include "confdefs.h"
11736
11737#if HAVE_DLFCN_H
11738#include <dlfcn.h>
11739#endif
11740
11741#include <stdio.h>
11742
11743#ifdef RTLD_GLOBAL
11744#  define LT_DLGLOBAL		RTLD_GLOBAL
11745#else
11746#  ifdef DL_GLOBAL
11747#    define LT_DLGLOBAL		DL_GLOBAL
11748#  else
11749#    define LT_DLGLOBAL		0
11750#  endif
11751#endif
11752
11753/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11754   find out it does not work in some platform. */
11755#ifndef LT_DLLAZY_OR_NOW
11756#  ifdef RTLD_LAZY
11757#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
11758#  else
11759#    ifdef DL_LAZY
11760#      define LT_DLLAZY_OR_NOW		DL_LAZY
11761#    else
11762#      ifdef RTLD_NOW
11763#        define LT_DLLAZY_OR_NOW	RTLD_NOW
11764#      else
11765#        ifdef DL_NOW
11766#          define LT_DLLAZY_OR_NOW	DL_NOW
11767#        else
11768#          define LT_DLLAZY_OR_NOW	0
11769#        endif
11770#      endif
11771#    endif
11772#  endif
11773#endif
11774
11775/* When -fvisibility=hidden is used, assume the code has been annotated
11776   correspondingly for the symbols needed.  */
11777#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11778int fnord () __attribute__((visibility("default")));
11779#endif
11780
11781int fnord () { return 42; }
11782int main ()
11783{
11784  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11785  int status = $lt_dlunknown;
11786
11787  if (self)
11788    {
11789      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11790      else
11791        {
11792	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11793          else puts (dlerror ());
11794	}
11795      /* dlclose (self); */
11796    }
11797  else
11798    puts (dlerror ());
11799
11800  return status;
11801}
11802_LT_EOF
11803  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11804  (eval $ac_link) 2>&5
11805  ac_status=$?
11806  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11807  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
11808    (./conftest; exit; ) >&5 2>/dev/null
11809    lt_status=$?
11810    case x$lt_status in
11811      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11812      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11813      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11814    esac
11815  else :
11816    # compilation failed
11817    lt_cv_dlopen_self=no
11818  fi
11819fi
11820rm -fr conftest*
11821
11822
11823fi
11824{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11825$as_echo "$lt_cv_dlopen_self" >&6; }
11826
11827    if test yes = "$lt_cv_dlopen_self"; then
11828      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11829      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11830$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11831if ${lt_cv_dlopen_self_static+:} false; then :
11832  $as_echo_n "(cached) " >&6
11833else
11834  	  if test yes = "$cross_compiling"; then :
11835  lt_cv_dlopen_self_static=cross
11836else
11837  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11838  lt_status=$lt_dlunknown
11839  cat > conftest.$ac_ext <<_LT_EOF
11840#line $LINENO "configure"
11841#include "confdefs.h"
11842
11843#if HAVE_DLFCN_H
11844#include <dlfcn.h>
11845#endif
11846
11847#include <stdio.h>
11848
11849#ifdef RTLD_GLOBAL
11850#  define LT_DLGLOBAL		RTLD_GLOBAL
11851#else
11852#  ifdef DL_GLOBAL
11853#    define LT_DLGLOBAL		DL_GLOBAL
11854#  else
11855#    define LT_DLGLOBAL		0
11856#  endif
11857#endif
11858
11859/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11860   find out it does not work in some platform. */
11861#ifndef LT_DLLAZY_OR_NOW
11862#  ifdef RTLD_LAZY
11863#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
11864#  else
11865#    ifdef DL_LAZY
11866#      define LT_DLLAZY_OR_NOW		DL_LAZY
11867#    else
11868#      ifdef RTLD_NOW
11869#        define LT_DLLAZY_OR_NOW	RTLD_NOW
11870#      else
11871#        ifdef DL_NOW
11872#          define LT_DLLAZY_OR_NOW	DL_NOW
11873#        else
11874#          define LT_DLLAZY_OR_NOW	0
11875#        endif
11876#      endif
11877#    endif
11878#  endif
11879#endif
11880
11881/* When -fvisibility=hidden is used, assume the code has been annotated
11882   correspondingly for the symbols needed.  */
11883#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11884int fnord () __attribute__((visibility("default")));
11885#endif
11886
11887int fnord () { return 42; }
11888int main ()
11889{
11890  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11891  int status = $lt_dlunknown;
11892
11893  if (self)
11894    {
11895      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11896      else
11897        {
11898	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11899          else puts (dlerror ());
11900	}
11901      /* dlclose (self); */
11902    }
11903  else
11904    puts (dlerror ());
11905
11906  return status;
11907}
11908_LT_EOF
11909  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11910  (eval $ac_link) 2>&5
11911  ac_status=$?
11912  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11913  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
11914    (./conftest; exit; ) >&5 2>/dev/null
11915    lt_status=$?
11916    case x$lt_status in
11917      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11918      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11919      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11920    esac
11921  else :
11922    # compilation failed
11923    lt_cv_dlopen_self_static=no
11924  fi
11925fi
11926rm -fr conftest*
11927
11928
11929fi
11930{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11931$as_echo "$lt_cv_dlopen_self_static" >&6; }
11932    fi
11933
11934    CPPFLAGS=$save_CPPFLAGS
11935    LDFLAGS=$save_LDFLAGS
11936    LIBS=$save_LIBS
11937    ;;
11938  esac
11939
11940  case $lt_cv_dlopen_self in
11941  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11942  *) enable_dlopen_self=unknown ;;
11943  esac
11944
11945  case $lt_cv_dlopen_self_static in
11946  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11947  *) enable_dlopen_self_static=unknown ;;
11948  esac
11949fi
11950
11951
11952
11953
11954
11955
11956
11957
11958
11959
11960
11961
11962
11963
11964
11965
11966
11967striplib=
11968old_striplib=
11969{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11970$as_echo_n "checking whether stripping libraries is possible... " >&6; }
11971if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11972  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11973  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11974  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11975$as_echo "yes" >&6; }
11976else
11977# FIXME - insert some real tests, host_os isn't really good enough
11978  case $host_os in
11979  darwin*)
11980    if test -n "$STRIP"; then
11981      striplib="$STRIP -x"
11982      old_striplib="$STRIP -S"
11983      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11984$as_echo "yes" >&6; }
11985    else
11986      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11987$as_echo "no" >&6; }
11988    fi
11989    ;;
11990  *)
11991    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11992$as_echo "no" >&6; }
11993    ;;
11994  esac
11995fi
11996
11997
11998
11999
12000
12001
12002
12003
12004
12005
12006
12007
12008  # Report what library types will actually be built
12009  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12010$as_echo_n "checking if libtool supports shared libraries... " >&6; }
12011  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12012$as_echo "$can_build_shared" >&6; }
12013
12014  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12015$as_echo_n "checking whether to build shared libraries... " >&6; }
12016  test no = "$can_build_shared" && enable_shared=no
12017
12018  # On AIX, shared libraries and static libraries use the same namespace, and
12019  # are all built from PIC.
12020  case $host_os in
12021  aix3*)
12022    test yes = "$enable_shared" && enable_static=no
12023    if test -n "$RANLIB"; then
12024      archive_cmds="$archive_cmds~\$RANLIB \$lib"
12025      postinstall_cmds='$RANLIB $lib'
12026    fi
12027    ;;
12028
12029  aix[4-9]*)
12030    if test ia64 != "$host_cpu"; then
12031      case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
12032      yes,aix,yes) ;;			# shared object as lib.so file only
12033      yes,svr4,*) ;;			# shared object as lib.so archive member only
12034      yes,*) enable_static=no ;;	# shared object in lib.a archive as well
12035      esac
12036    fi
12037    ;;
12038  esac
12039  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12040$as_echo "$enable_shared" >&6; }
12041
12042  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12043$as_echo_n "checking whether to build static libraries... " >&6; }
12044  # Make sure either enable_shared or enable_static is yes.
12045  test yes = "$enable_shared" || enable_static=yes
12046  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12047$as_echo "$enable_static" >&6; }
12048
12049
12050
12051
12052fi
12053ac_ext=c
12054ac_cpp='$CPP $CPPFLAGS'
12055ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12056ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12057ac_compiler_gnu=$ac_cv_c_compiler_gnu
12058
12059CC=$lt_save_CC
12060
12061
12062
12063
12064
12065
12066
12067
12068
12069
12070
12071
12072
12073
12074
12075        ac_config_commands="$ac_config_commands libtool"
12076
12077
12078
12079
12080# Only expand once:
12081
12082
12083am__api_version='1.15'
12084
12085{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
12086$as_echo_n "checking whether build environment is sane... " >&6; }
12087# Reject unsafe characters in $srcdir or the absolute working directory
12088# name.  Accept space and tab only in the latter.
12089am_lf='
12090'
12091case `pwd` in
12092  *[\\\"\#\$\&\'\`$am_lf]*)
12093    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
12094esac
12095case $srcdir in
12096  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
12097    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
12098esac
12099
12100# Do 'set' in a subshell so we don't clobber the current shell's
12101# arguments.  Must try -L first in case configure is actually a
12102# symlink; some systems play weird games with the mod time of symlinks
12103# (eg FreeBSD returns the mod time of the symlink's containing
12104# directory).
12105if (
12106   am_has_slept=no
12107   for am_try in 1 2; do
12108     echo "timestamp, slept: $am_has_slept" > conftest.file
12109     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
12110     if test "$*" = "X"; then
12111	# -L didn't work.
12112	set X `ls -t "$srcdir/configure" conftest.file`
12113     fi
12114     if test "$*" != "X $srcdir/configure conftest.file" \
12115	&& test "$*" != "X conftest.file $srcdir/configure"; then
12116
12117	# If neither matched, then we have a broken ls.  This can happen
12118	# if, for instance, CONFIG_SHELL is bash and it inherits a
12119	# broken ls alias from the environment.  This has actually
12120	# happened.  Such a system could not be considered "sane".
12121	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
12122  alias in your environment" "$LINENO" 5
12123     fi
12124     if test "$2" = conftest.file || test $am_try -eq 2; then
12125       break
12126     fi
12127     # Just in case.
12128     sleep 1
12129     am_has_slept=yes
12130   done
12131   test "$2" = conftest.file
12132   )
12133then
12134   # Ok.
12135   :
12136else
12137   as_fn_error $? "newly created file is older than distributed files!
12138Check your system clock" "$LINENO" 5
12139fi
12140{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12141$as_echo "yes" >&6; }
12142# If we didn't sleep, we still need to ensure time stamps of config.status and
12143# generated files are strictly newer.
12144am_sleep_pid=
12145if grep 'slept: no' conftest.file >/dev/null 2>&1; then
12146  ( sleep 1 ) &
12147  am_sleep_pid=$!
12148fi
12149
12150rm -f conftest.file
12151
12152test "$program_prefix" != NONE &&
12153  program_transform_name="s&^&$program_prefix&;$program_transform_name"
12154# Use a double $ so make ignores it.
12155test "$program_suffix" != NONE &&
12156  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
12157# Double any \ or $.
12158# By default was `s,x,x', remove it if useless.
12159ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
12160program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
12161
12162if test x"${MISSING+set}" != xset; then
12163  case $am_aux_dir in
12164  *\ * | *\	*)
12165    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
12166  *)
12167    MISSING="\${SHELL} $am_aux_dir/missing" ;;
12168  esac
12169fi
12170# Use eval to expand $SHELL
12171if eval "$MISSING --is-lightweight"; then
12172  am_missing_run="$MISSING "
12173else
12174  am_missing_run=
12175  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
12176$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
12177fi
12178
12179if test x"${install_sh+set}" != xset; then
12180  case $am_aux_dir in
12181  *\ * | *\	*)
12182    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
12183  *)
12184    install_sh="\${SHELL} $am_aux_dir/install-sh"
12185  esac
12186fi
12187
12188# Installed binaries are usually stripped using 'strip' when the user
12189# run "make install-strip".  However 'strip' might not be the right
12190# tool to use in cross-compilation environments, therefore Automake
12191# will honor the 'STRIP' environment variable to overrule this program.
12192if test "$cross_compiling" != no; then
12193  if test -n "$ac_tool_prefix"; then
12194  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
12195set dummy ${ac_tool_prefix}strip; ac_word=$2
12196{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12197$as_echo_n "checking for $ac_word... " >&6; }
12198if ${ac_cv_prog_STRIP+:} false; then :
12199  $as_echo_n "(cached) " >&6
12200else
12201  if test -n "$STRIP"; then
12202  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
12203else
12204as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12205for as_dir in $PATH
12206do
12207  IFS=$as_save_IFS
12208  test -z "$as_dir" && as_dir=.
12209    for ac_exec_ext in '' $ac_executable_extensions; do
12210  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12211    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
12212    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12213    break 2
12214  fi
12215done
12216  done
12217IFS=$as_save_IFS
12218
12219fi
12220fi
12221STRIP=$ac_cv_prog_STRIP
12222if test -n "$STRIP"; then
12223  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
12224$as_echo "$STRIP" >&6; }
12225else
12226  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12227$as_echo "no" >&6; }
12228fi
12229
12230
12231fi
12232if test -z "$ac_cv_prog_STRIP"; then
12233  ac_ct_STRIP=$STRIP
12234  # Extract the first word of "strip", so it can be a program name with args.
12235set dummy strip; ac_word=$2
12236{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12237$as_echo_n "checking for $ac_word... " >&6; }
12238if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
12239  $as_echo_n "(cached) " >&6
12240else
12241  if test -n "$ac_ct_STRIP"; then
12242  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
12243else
12244as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12245for as_dir in $PATH
12246do
12247  IFS=$as_save_IFS
12248  test -z "$as_dir" && as_dir=.
12249    for ac_exec_ext in '' $ac_executable_extensions; do
12250  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12251    ac_cv_prog_ac_ct_STRIP="strip"
12252    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12253    break 2
12254  fi
12255done
12256  done
12257IFS=$as_save_IFS
12258
12259fi
12260fi
12261ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
12262if test -n "$ac_ct_STRIP"; then
12263  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
12264$as_echo "$ac_ct_STRIP" >&6; }
12265else
12266  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12267$as_echo "no" >&6; }
12268fi
12269
12270  if test "x$ac_ct_STRIP" = x; then
12271    STRIP=":"
12272  else
12273    case $cross_compiling:$ac_tool_warned in
12274yes:)
12275{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12276$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12277ac_tool_warned=yes ;;
12278esac
12279    STRIP=$ac_ct_STRIP
12280  fi
12281else
12282  STRIP="$ac_cv_prog_STRIP"
12283fi
12284
12285fi
12286INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
12287
12288{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
12289$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
12290if test -z "$MKDIR_P"; then
12291  if ${ac_cv_path_mkdir+:} false; then :
12292  $as_echo_n "(cached) " >&6
12293else
12294  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12295for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
12296do
12297  IFS=$as_save_IFS
12298  test -z "$as_dir" && as_dir=.
12299    for ac_prog in mkdir gmkdir; do
12300	 for ac_exec_ext in '' $ac_executable_extensions; do
12301	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
12302	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
12303	     'mkdir (GNU coreutils) '* | \
12304	     'mkdir (coreutils) '* | \
12305	     'mkdir (fileutils) '4.1*)
12306	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
12307	       break 3;;
12308	   esac
12309	 done
12310       done
12311  done
12312IFS=$as_save_IFS
12313
12314fi
12315
12316  test -d ./--version && rmdir ./--version
12317  if test "${ac_cv_path_mkdir+set}" = set; then
12318    MKDIR_P="$ac_cv_path_mkdir -p"
12319  else
12320    # As a last resort, use the slow shell script.  Don't cache a
12321    # value for MKDIR_P within a source directory, because that will
12322    # break other packages using the cache if that directory is
12323    # removed, or if the value is a relative name.
12324    MKDIR_P="$ac_install_sh -d"
12325  fi
12326fi
12327{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
12328$as_echo "$MKDIR_P" >&6; }
12329
12330{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
12331$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
12332set x ${MAKE-make}
12333ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
12334if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
12335  $as_echo_n "(cached) " >&6
12336else
12337  cat >conftest.make <<\_ACEOF
12338SHELL = /bin/sh
12339all:
12340	@echo '@@@%%%=$(MAKE)=@@@%%%'
12341_ACEOF
12342# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
12343case `${MAKE-make} -f conftest.make 2>/dev/null` in
12344  *@@@%%%=?*=@@@%%%*)
12345    eval ac_cv_prog_make_${ac_make}_set=yes;;
12346  *)
12347    eval ac_cv_prog_make_${ac_make}_set=no;;
12348esac
12349rm -f conftest.make
12350fi
12351if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
12352  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12353$as_echo "yes" >&6; }
12354  SET_MAKE=
12355else
12356  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12357$as_echo "no" >&6; }
12358  SET_MAKE="MAKE=${MAKE-make}"
12359fi
12360
12361rm -rf .tst 2>/dev/null
12362mkdir .tst 2>/dev/null
12363if test -d .tst; then
12364  am__leading_dot=.
12365else
12366  am__leading_dot=_
12367fi
12368rmdir .tst 2>/dev/null
12369
12370DEPDIR="${am__leading_dot}deps"
12371
12372ac_config_commands="$ac_config_commands depfiles"
12373
12374
12375am_make=${MAKE-make}
12376cat > confinc << 'END'
12377am__doit:
12378	@echo this is the am__doit target
12379.PHONY: am__doit
12380END
12381# If we don't find an include directive, just comment out the code.
12382{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
12383$as_echo_n "checking for style of include used by $am_make... " >&6; }
12384am__include="#"
12385am__quote=
12386_am_result=none
12387# First try GNU make style include.
12388echo "include confinc" > confmf
12389# Ignore all kinds of additional output from 'make'.
12390case `$am_make -s -f confmf 2> /dev/null` in #(
12391*the\ am__doit\ target*)
12392  am__include=include
12393  am__quote=
12394  _am_result=GNU
12395  ;;
12396esac
12397# Now try BSD make style include.
12398if test "$am__include" = "#"; then
12399   echo '.include "confinc"' > confmf
12400   case `$am_make -s -f confmf 2> /dev/null` in #(
12401   *the\ am__doit\ target*)
12402     am__include=.include
12403     am__quote="\""
12404     _am_result=BSD
12405     ;;
12406   esac
12407fi
12408
12409
12410{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
12411$as_echo "$_am_result" >&6; }
12412rm -f confinc confmf
12413
12414# Check whether --enable-dependency-tracking was given.
12415if test "${enable_dependency_tracking+set}" = set; then :
12416  enableval=$enable_dependency_tracking;
12417fi
12418
12419if test "x$enable_dependency_tracking" != xno; then
12420  am_depcomp="$ac_aux_dir/depcomp"
12421  AMDEPBACKSLASH='\'
12422  am__nodep='_no'
12423fi
12424 if test "x$enable_dependency_tracking" != xno; then
12425  AMDEP_TRUE=
12426  AMDEP_FALSE='#'
12427else
12428  AMDEP_TRUE='#'
12429  AMDEP_FALSE=
12430fi
12431
12432
12433# Check whether --enable-silent-rules was given.
12434if test "${enable_silent_rules+set}" = set; then :
12435  enableval=$enable_silent_rules;
12436fi
12437
12438case $enable_silent_rules in
12439yes) AM_DEFAULT_VERBOSITY=0;;
12440no)  AM_DEFAULT_VERBOSITY=1;;
12441*)   AM_DEFAULT_VERBOSITY=1;;
12442esac
12443AM_BACKSLASH='\'
12444
12445if test "`cd $srcdir && pwd`" != "`pwd`"; then
12446  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
12447  # is not polluted with repeated "-I."
12448  am__isrc=' -I$(srcdir)'
12449  # test to see if srcdir already configured
12450  if test -f $srcdir/config.status; then
12451    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
12452  fi
12453fi
12454
12455# test whether we have cygpath
12456if test -z "$CYGPATH_W"; then
12457  if (cygpath --version) >/dev/null 2>/dev/null; then
12458    CYGPATH_W='cygpath -w'
12459  else
12460    CYGPATH_W=echo
12461  fi
12462fi
12463
12464
12465# Define the identity of the package.
12466 PACKAGE='librfm5'
12467 VERSION='5.3.16.4'
12468
12469
12470cat >>confdefs.h <<_ACEOF
12471#define PACKAGE "$PACKAGE"
12472_ACEOF
12473
12474
12475cat >>confdefs.h <<_ACEOF
12476#define VERSION "$VERSION"
12477_ACEOF
12478
12479# Some tools Automake needs.
12480
12481ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
12482
12483
12484AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
12485
12486
12487AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
12488
12489
12490AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
12491
12492
12493MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
12494
12495# For better backward compatibility.  To be removed once Automake 1.9.x
12496# dies out for good.  For more background, see:
12497# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
12498# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
12499mkdir_p='$(MKDIR_P)'
12500
12501# We need awk for the "check" target (and possibly the TAP driver).  The
12502# system "awk" is bad on some platforms.
12503# Always define AMTAR for backward compatibility.  Yes, it's still used
12504# in the wild :-(  We should find a proper way to deprecate it ...
12505AMTAR='$${TAR-tar}'
12506
12507
12508# We'll loop over all known methods to create a tar archive until one works.
12509_am_tools='gnutar  pax cpio none'
12510
12511am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
12512
12513
12514
12515
12516
12517depcc="$CC"   am_compiler_list=
12518
12519{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12520$as_echo_n "checking dependency style of $depcc... " >&6; }
12521if ${am_cv_CC_dependencies_compiler_type+:} false; then :
12522  $as_echo_n "(cached) " >&6
12523else
12524  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12525  # We make a subdir and do the tests there.  Otherwise we can end up
12526  # making bogus files that we don't know about and never remove.  For
12527  # instance it was reported that on HP-UX the gcc test will end up
12528  # making a dummy file named 'D' -- because '-MD' means "put the output
12529  # in D".
12530  rm -rf conftest.dir
12531  mkdir conftest.dir
12532  # Copy depcomp to subdir because otherwise we won't find it if we're
12533  # using a relative directory.
12534  cp "$am_depcomp" conftest.dir
12535  cd conftest.dir
12536  # We will build objects and dependencies in a subdirectory because
12537  # it helps to detect inapplicable dependency modes.  For instance
12538  # both Tru64's cc and ICC support -MD to output dependencies as a
12539  # side effect of compilation, but ICC will put the dependencies in
12540  # the current directory while Tru64 will put them in the object
12541  # directory.
12542  mkdir sub
12543
12544  am_cv_CC_dependencies_compiler_type=none
12545  if test "$am_compiler_list" = ""; then
12546     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12547  fi
12548  am__universal=false
12549  case " $depcc " in #(
12550     *\ -arch\ *\ -arch\ *) am__universal=true ;;
12551     esac
12552
12553  for depmode in $am_compiler_list; do
12554    # Setup a source with many dependencies, because some compilers
12555    # like to wrap large dependency lists on column 80 (with \), and
12556    # we should not choose a depcomp mode which is confused by this.
12557    #
12558    # We need to recreate these files for each test, as the compiler may
12559    # overwrite some of them when testing with obscure command lines.
12560    # This happens at least with the AIX C compiler.
12561    : > sub/conftest.c
12562    for i in 1 2 3 4 5 6; do
12563      echo '#include "conftst'$i'.h"' >> sub/conftest.c
12564      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
12565      # Solaris 10 /bin/sh.
12566      echo '/* dummy */' > sub/conftst$i.h
12567    done
12568    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12569
12570    # We check with '-c' and '-o' for the sake of the "dashmstdout"
12571    # mode.  It turns out that the SunPro C++ compiler does not properly
12572    # handle '-M -o', and we need to detect this.  Also, some Intel
12573    # versions had trouble with output in subdirs.
12574    am__obj=sub/conftest.${OBJEXT-o}
12575    am__minus_obj="-o $am__obj"
12576    case $depmode in
12577    gcc)
12578      # This depmode causes a compiler race in universal mode.
12579      test "$am__universal" = false || continue
12580      ;;
12581    nosideeffect)
12582      # After this tag, mechanisms are not by side-effect, so they'll
12583      # only be used when explicitly requested.
12584      if test "x$enable_dependency_tracking" = xyes; then
12585	continue
12586      else
12587	break
12588      fi
12589      ;;
12590    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
12591      # This compiler won't grok '-c -o', but also, the minuso test has
12592      # not run yet.  These depmodes are late enough in the game, and
12593      # so weak that their functioning should not be impacted.
12594      am__obj=conftest.${OBJEXT-o}
12595      am__minus_obj=
12596      ;;
12597    none) break ;;
12598    esac
12599    if depmode=$depmode \
12600       source=sub/conftest.c object=$am__obj \
12601       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12602       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
12603         >/dev/null 2>conftest.err &&
12604       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
12605       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12606       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
12607       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12608      # icc doesn't choke on unknown options, it will just issue warnings
12609      # or remarks (even with -Werror).  So we grep stderr for any message
12610      # that says an option was ignored or not supported.
12611      # When given -MP, icc 7.0 and 7.1 complain thusly:
12612      #   icc: Command line warning: ignoring option '-M'; no argument required
12613      # The diagnosis changed in icc 8.0:
12614      #   icc: Command line remark: option '-MP' not supported
12615      if (grep 'ignoring option' conftest.err ||
12616          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12617        am_cv_CC_dependencies_compiler_type=$depmode
12618        break
12619      fi
12620    fi
12621  done
12622
12623  cd ..
12624  rm -rf conftest.dir
12625else
12626  am_cv_CC_dependencies_compiler_type=none
12627fi
12628
12629fi
12630{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
12631$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
12632CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
12633
12634 if
12635  test "x$enable_dependency_tracking" != xno \
12636  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
12637  am__fastdepCC_TRUE=
12638  am__fastdepCC_FALSE='#'
12639else
12640  am__fastdepCC_TRUE='#'
12641  am__fastdepCC_FALSE=
12642fi
12643
12644
12645
12646# POSIX will say in a future version that running "rm -f" with no argument
12647# is OK; and we want to be able to make that assumption in our Makefile
12648# recipes.  So use an aggressive probe to check that the usage we want is
12649# actually supported "in the wild" to an acceptable degree.
12650# See automake bug#10828.
12651# To make any issue more visible, cause the running configure to be aborted
12652# by default if the 'rm' program in use doesn't match our expectations; the
12653# user can still override this though.
12654if rm -f && rm -fr && rm -rf; then : OK; else
12655  cat >&2 <<'END'
12656Oops!
12657
12658Your 'rm' program seems unable to run without file operands specified
12659on the command line, even when the '-f' option is present.  This is contrary
12660to the behaviour of most rm programs out there, and not conforming with
12661the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
12662
12663Please tell bug-automake@gnu.org about your system, including the value
12664of your $PATH and any error possibly output before this message.  This
12665can help us improve future automake versions.
12666
12667END
12668  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
12669    echo 'Configuration will proceed anyway, since you have set the' >&2
12670    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
12671    echo >&2
12672  else
12673    cat >&2 <<'END'
12674Aborting the configuration process, to ensure you take notice of the issue.
12675
12676You can download and install GNU coreutils to get an 'rm' implementation
12677that behaves properly: <http://www.gnu.org/software/coreutils/>.
12678
12679If you want to complete the configuration process using your problematic
12680'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
12681to "yes", and re-run configure.
12682
12683END
12684    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
12685  fi
12686fi
12687
12688# Support silent build rules. Disable
12689# by either passing --disable-silent-rules to configure or passing V=1
12690# to make
12691# Check whether --enable-silent-rules was given.
12692if test "${enable_silent_rules+set}" = set; then :
12693  enableval=$enable_silent_rules;
12694fi
12695
12696case $enable_silent_rules in
12697yes) AM_DEFAULT_VERBOSITY=0;;
12698no)  AM_DEFAULT_VERBOSITY=1;;
12699*)   AM_DEFAULT_VERBOSITY=0;;
12700esac
12701AM_BACKSLASH='\'
12702
12703#AM_MAINTAINER_MODE([enable])
12704
12705
12706$as_echo "#define _GNU_SOURCE 1" >>confdefs.h
12707
12708
12709
12710$as_echo "#define COPYRIGHT \"Copyright (c) 2000-2014 Edscott Wilson Garcia. <edscott@users.sf.net>\"" >>confdefs.h
12711
12712
12713
12714$as_echo "#define PACKAGE_COPYRIGHT \"Copyright (c) 2000-2014 Edscott Wilson Garcia. <edscott@users.sf.net>\"" >>confdefs.h
12715
12716
12717
12718
12719
12720# Check whether --with-centos was given.
12721if test "${with_centos+set}" = set; then :
12722  withval=$with_centos;
12723fi
12724
12725
12726
12727# Check whether --with-la_files was given.
12728if test "${with_la_files+set}" = set; then :
12729  withval=$with_la_files;
12730fi
12731
12732 if test "$with_la_files" == "yes"; then
12733  WITH_LA_FILES_TRUE=
12734  WITH_LA_FILES_FALSE='#'
12735else
12736  WITH_LA_FILES_TRUE='#'
12737  WITH_LA_FILES_FALSE=
12738fi
12739
12740
12741
12742
12743
12744
12745
12746
12747 RPM_CENTOS_OPTION=
12748
12749if test "$with_centos" = "yes"; then
12750    RPM_COMMENT="# RPM spec file for RedHat CentOS created by configure script."
12751    RPM_LICENSE="GPLv3"
12752    RPM_GROUP="Development/Libraries"
12753    PKG_CONFIG_FILE="%{_datadir}/pkgconfig/librfm.pc"
12754    RPM_CENTOS_OPTION="--with-centos=yes --with-pkgdatadir"
12755    RPM_PKG_CONFIG="pkgconfig"
12756    RPM_LIBRSVG="librsvg2"
12757else
12758    RPM_COMMENT="# RPM spec file for SUSE OpenSUSE created by configure script."
12759    RPM_LICENSE="GPL-3.0"
12760    RPM_GROUP="Development/Libraries/X11"
12761    PKG_CONFIG_FILE="%{_libdir}/pkgconfig/librfm.pc"
12762    RPM_PKG_CONFIG="pkg-config"
12763    RPM_LIBRSVG="librsvg"
12764fi
12765
12766if test $prefix = NONE; then
12767   echo "prefix = $ac_default_prefix"
12768else
12769   echo "prefix = $prefix"
12770   ac_default_prefix=$prefix
12771fi
12772
12773if test $exec_prefix = NONE; then
12774    exec_prefix=$ac_default_prefix
12775fi
12776
12777
12778
12779cat >>confdefs.h <<_ACEOF
12780#define PREFIX "$ac_default_prefix"
12781_ACEOF
12782
12783
12784
12785MODULE_DIR="rfm/rmodules"
12786
12787{ $as_echo "$as_me:${as_lineno-$LINENO}: Module directory: $MODULE_DIR" >&5
12788$as_echo "$as_me: Module directory: $MODULE_DIR" >&6;}
12789
12790
12791
12792
12793# FIXME: this test is too hacky
12794if test $libdir = '${exec_prefix}/lib' ; then
12795    echo "using default libdir"
12796    RFM_MODULE_DIR="$exec_prefix/lib/$MODULE_DIR"
12797
12798else if test $libdir = '${exec_prefix}/lib64' ; then
12799    echo "using default 64 libdir"
12800    RFM_MODULE_DIR="$exec_prefix/lib64/$MODULE_DIR"
12801else
12802    RFM_MODULE_DIR="$libdir/$MODULE_DIR"
12803fi
12804fi
12805echo "RFM_MODULE_DIR= $RFM_MODULE_DIR"
12806echo "libdir  = $libdir"
12807#echo "datadir  = $datadir"
12808echo "exec_prefix = $exec_prefix"
12809echo "RFM_MODULE_DIR = $RFM_MODULE_DIR"
12810
12811
12812if test $prefix = NONE; then
12813   PREF=$ac_default_prefix
12814else
12815   PREF=$prefix
12816fi
12817
12818# Check whether --with-pkglibdata was given.
12819if test "${with_pkglibdata+set}" = set; then :
12820  withval=$with_pkglibdata;
12821fi
12822
12823
12824# Check whether --with-pkgdatadir was given.
12825if test "${with_pkgdatadir+set}" = set; then :
12826  withval=$with_pkgdatadir;
12827fi
12828
12829PKG_CONF_DIR=
12830if test x"$with_pkglibdata" != x ; then
12831    PKG_CONF_DIR="$PREF/libdata/pkgconfig"
12832else
12833  if test x"$with_pkgshare" != x ; then
12834    PKG_CONF_DIR="$PREF/share/pkgconfig"
12835  else
12836    DIRS="lib libdata share"
12837    TOP_COUNT=0
12838    for DIR in $DIRS
12839    do
12840        TARGET=$PREF/$DIR/pkgconfig
12841        if test -e $TARGET ; then
12842            echo "Searching for pkgconfig directory $TARGET... found."
12843            R=`ls $TARGET | grep \.pc\$`
12844                echo "score: $TARGET -> ${#R}"
12845                if test ${#R} -gt $TOP_COUNT ; then
12846                    TOP_COUNT=${#R}
12847                    PKG_CONF_DIR=$TARGET
12848                fi
12849        else
12850            echo "Searching for pkgconfig directory $TARGET... not found."
12851        fi
12852    done
12853    if test ${#PKG_CONF_DIR} -eq 0 ; then
12854        PKG_CONF_DIR="$libdir/pkgconfig"
12855        echo "*** Could not determine pkgconfig target. Using default $PKG_CONF_DIR"
12856        echo "    target. If this is not correct, use either --with_pkglibdata or"
12857        echo "    --with_pkgshare option and rerun configure"
12858    else
12859        echo "    Using $PKG_CONF_DIR as target for pkgconfig file."
12860        echo "    If this is not correct, use either --with_pkglibdata or"
12861        echo "    --with_pkgshare option and rerun configure"
12862    fi
12863  fi
12864fi
12865 PKG_CONF_DIR="$libdir/pkgconfig"
12866
12867
12868
12869{ $as_echo "$as_me:${as_lineno-$LINENO}: ---- You may download libtubo from http://sf.net/projects/xffm/files/libtubo ----" >&5
12870$as_echo "$as_me: ---- You may download libtubo from http://sf.net/projects/xffm/files/libtubo ----" >&6;}
12871
12872
12873  # minimum supported version of pkg-config
12874  xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0
12875
12876  # lookup pkg-config utility
12877  if test x"$PKG_CONFIG" = x""; then
12878    # Extract the first word of "pkg-config", so it can be a program name with args.
12879set dummy pkg-config; ac_word=$2
12880{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12881$as_echo_n "checking for $ac_word... " >&6; }
12882if ${ac_cv_path_PKG_CONFIG+:} false; then :
12883  $as_echo_n "(cached) " >&6
12884else
12885  case $PKG_CONFIG in
12886  [\\/]* | ?:[\\/]*)
12887  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12888  ;;
12889  *)
12890  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12891for as_dir in $PATH
12892do
12893  IFS=$as_save_IFS
12894  test -z "$as_dir" && as_dir=.
12895    for ac_exec_ext in '' $ac_executable_extensions; do
12896  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12897    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12898    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12899    break 2
12900  fi
12901done
12902  done
12903IFS=$as_save_IFS
12904
12905  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
12906  ;;
12907esac
12908fi
12909PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12910if test -n "$PKG_CONFIG"; then
12911  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12912$as_echo "$PKG_CONFIG" >&6; }
12913else
12914  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12915$as_echo "no" >&6; }
12916fi
12917
12918
12919
12920    if test x"$PKG_CONFIG" = x"no"; then
12921      echo "*** The pkg-config utility could not be found on your system."
12922      echo "*** Make sure it is in your path, or set the PKG_CONFIG"
12923      echo "*** environment variable to the full path to pkg-config."
12924      echo "*** You can download pkg-config from the freedesktop.org"
12925      echo "*** software repository at"
12926      echo "***"
12927      echo "***    http://www.freedesktop.org/software/pkgconfig"
12928      echo "***"
12929      exit 1
12930    fi
12931
12932    # check pkg-config version
12933    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION" >&5
12934$as_echo_n "checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION... " >&6; }
12935    if $PKG_CONFIG --atleast-pkgconfig-version $xdt_cv_PKG_CONFIG_MIN_VERSION; then
12936      xdt_cv_PKG_CONFIG_VERSION=`$PKG_CONFIG --version`
12937      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
12938$as_echo "$xdt_cv_PKG_CONFIG_VERSION" >&6; }
12939    else
12940      xdt_cv_PKG_CONFIG_VERSION=`$PKG_CONFIG --version`
12941      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
12942$as_echo "$xdt_cv_PKG_CONFIG_VERSION" >&6; }
12943      echo "*** Your version of pkg-config is too old. You need atleast"
12944      echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config "
12945      echo "*** from the freedesktop.org software repository at"
12946      echo "***"
12947      echo "***    http://www.freedesktop.org/software/pkgconfig"
12948      echo "***"
12949      exit 1
12950    fi
12951  fi
12952
12953
12954  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tubo >= 5.0.13" >&5
12955$as_echo_n "checking for tubo >= 5.0.13... " >&6; }
12956  if $PKG_CONFIG "--atleast-version=5.0.13" "tubo" >/dev/null 2>&1; then
12957    TUBO_VERSION=`$PKG_CONFIG --modversion "tubo"`
12958    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TUBO_VERSION" >&5
12959$as_echo "$TUBO_VERSION" >&6; }
12960
12961    { $as_echo "$as_me:${as_lineno-$LINENO}: checking TUBO_CFLAGS" >&5
12962$as_echo_n "checking TUBO_CFLAGS... " >&6; }
12963    TUBO_CFLAGS=`$PKG_CONFIG --cflags "tubo"`
12964    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TUBO_CFLAGS" >&5
12965$as_echo "$TUBO_CFLAGS" >&6; }
12966
12967    { $as_echo "$as_me:${as_lineno-$LINENO}: checking TUBO_LIBS" >&5
12968$as_echo_n "checking TUBO_LIBS... " >&6; }
12969    TUBO_LIBS=`$PKG_CONFIG --libs "tubo"`
12970    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TUBO_LIBS" >&5
12971$as_echo "$TUBO_LIBS" >&6; }
12972
12973    TUBO_REQUIRED_VERSION=5.0.13
12974
12975
12976
12977
12978
12979
12980
12981  elif $PKG_CONFIG --exists "tubo" >/dev/null 2>&1; then
12982    xdg_cv_version=`$PKG_CONFIG --modversion "tubo"`
12983    { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5
12984$as_echo "found, but $xdt_cv_version" >&6; }
12985
12986
12987      echo "*** The required package tubo was found on your system,"
12988      echo "*** but the installed version ($xdt_cv_version) is too old."
12989      echo "*** Please upgrade tubo to atleast version 5.0.13, or adjust"
12990      echo "*** the PKG_CONFIG_PATH environment variable if you installed"
12991      echo "*** the new version of the package in a nonstandard prefix so"
12992      echo "*** pkg-config is able to find it."
12993      exit 1
12994
12995  else
12996    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12997$as_echo "not found" >&6; }
12998
12999
13000      echo "*** The required package tubo was not found on your system."
13001      echo "*** Please install tubo (atleast version 5.0.13) or adjust"
13002      echo "*** the PKG_CONFIG_PATH environment variable if you"
13003      echo "*** installed the package in a nonstandard prefix so that"
13004      echo "*** pkg-config is able to find it."
13005      exit 1
13006
13007  fi
13008
13009{ $as_echo "$as_me:${as_lineno-$LINENO}: ---- You may download dbh from http://sf.net/projects/dbh ----" >&5
13010$as_echo "$as_me: ---- You may download dbh from http://sf.net/projects/dbh ----" >&6;}
13011
13012
13013  # minimum supported version of pkg-config
13014  xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0
13015
13016  # lookup pkg-config utility
13017  if test x"$PKG_CONFIG" = x""; then
13018    # Extract the first word of "pkg-config", so it can be a program name with args.
13019set dummy pkg-config; ac_word=$2
13020{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13021$as_echo_n "checking for $ac_word... " >&6; }
13022if ${ac_cv_path_PKG_CONFIG+:} false; then :
13023  $as_echo_n "(cached) " >&6
13024else
13025  case $PKG_CONFIG in
13026  [\\/]* | ?:[\\/]*)
13027  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13028  ;;
13029  *)
13030  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13031for as_dir in $PATH
13032do
13033  IFS=$as_save_IFS
13034  test -z "$as_dir" && as_dir=.
13035    for ac_exec_ext in '' $ac_executable_extensions; do
13036  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13037    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13038    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13039    break 2
13040  fi
13041done
13042  done
13043IFS=$as_save_IFS
13044
13045  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
13046  ;;
13047esac
13048fi
13049PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13050if test -n "$PKG_CONFIG"; then
13051  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
13052$as_echo "$PKG_CONFIG" >&6; }
13053else
13054  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13055$as_echo "no" >&6; }
13056fi
13057
13058
13059
13060    if test x"$PKG_CONFIG" = x"no"; then
13061      echo "*** The pkg-config utility could not be found on your system."
13062      echo "*** Make sure it is in your path, or set the PKG_CONFIG"
13063      echo "*** environment variable to the full path to pkg-config."
13064      echo "*** You can download pkg-config from the freedesktop.org"
13065      echo "*** software repository at"
13066      echo "***"
13067      echo "***    http://www.freedesktop.org/software/pkgconfig"
13068      echo "***"
13069      exit 1
13070    fi
13071
13072    # check pkg-config version
13073    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION" >&5
13074$as_echo_n "checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION... " >&6; }
13075    if $PKG_CONFIG --atleast-pkgconfig-version $xdt_cv_PKG_CONFIG_MIN_VERSION; then
13076      xdt_cv_PKG_CONFIG_VERSION=`$PKG_CONFIG --version`
13077      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
13078$as_echo "$xdt_cv_PKG_CONFIG_VERSION" >&6; }
13079    else
13080      xdt_cv_PKG_CONFIG_VERSION=`$PKG_CONFIG --version`
13081      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
13082$as_echo "$xdt_cv_PKG_CONFIG_VERSION" >&6; }
13083      echo "*** Your version of pkg-config is too old. You need atleast"
13084      echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config "
13085      echo "*** from the freedesktop.org software repository at"
13086      echo "***"
13087      echo "***    http://www.freedesktop.org/software/pkgconfig"
13088      echo "***"
13089      exit 1
13090    fi
13091  fi
13092
13093
13094  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dbh2 >= 5.0.13" >&5
13095$as_echo_n "checking for dbh2 >= 5.0.13... " >&6; }
13096  if $PKG_CONFIG "--atleast-version=5.0.13" "dbh2" >/dev/null 2>&1; then
13097    DBH_VERSION=`$PKG_CONFIG --modversion "dbh2"`
13098    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBH_VERSION" >&5
13099$as_echo "$DBH_VERSION" >&6; }
13100
13101    { $as_echo "$as_me:${as_lineno-$LINENO}: checking DBH_CFLAGS" >&5
13102$as_echo_n "checking DBH_CFLAGS... " >&6; }
13103    DBH_CFLAGS=`$PKG_CONFIG --cflags "dbh2"`
13104    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBH_CFLAGS" >&5
13105$as_echo "$DBH_CFLAGS" >&6; }
13106
13107    { $as_echo "$as_me:${as_lineno-$LINENO}: checking DBH_LIBS" >&5
13108$as_echo_n "checking DBH_LIBS... " >&6; }
13109    DBH_LIBS=`$PKG_CONFIG --libs "dbh2"`
13110    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBH_LIBS" >&5
13111$as_echo "$DBH_LIBS" >&6; }
13112
13113    DBH_REQUIRED_VERSION=5.0.13
13114
13115
13116
13117
13118
13119
13120
13121  elif $PKG_CONFIG --exists "dbh2" >/dev/null 2>&1; then
13122    xdg_cv_version=`$PKG_CONFIG --modversion "dbh2"`
13123    { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5
13124$as_echo "found, but $xdt_cv_version" >&6; }
13125
13126
13127      echo "*** The required package dbh2 was found on your system,"
13128      echo "*** but the installed version ($xdt_cv_version) is too old."
13129      echo "*** Please upgrade dbh2 to atleast version 5.0.13, or adjust"
13130      echo "*** the PKG_CONFIG_PATH environment variable if you installed"
13131      echo "*** the new version of the package in a nonstandard prefix so"
13132      echo "*** pkg-config is able to find it."
13133      exit 1
13134
13135  else
13136    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13137$as_echo "not found" >&6; }
13138
13139
13140      echo "*** The required package dbh2 was not found on your system."
13141      echo "*** Please install dbh2 (atleast version 5.0.13) or adjust"
13142      echo "*** the PKG_CONFIG_PATH environment variable if you"
13143      echo "*** installed the package in a nonstandard prefix so that"
13144      echo "*** pkg-config is able to find it."
13145      exit 1
13146
13147  fi
13148
13149
13150# Check whether --enable-gtk2 was given.
13151if test "${enable_gtk2+set}" = set; then :
13152  enableval=$enable_gtk2; with_gtk2=yes
13153else
13154  with_gtk2=no
13155fi
13156
13157
13158
13159# Check whether --with-images was given.
13160if test "${with_images+set}" = set; then :
13161  withval=$with_images;
13162fi
13163
13164
13165if test "$with_images" = "no" ; then
13166  INSTALL_IMAGES=no
13167else
13168  INSTALL_IMAGES=yes
13169fi
13170 if test "$with_images" != "no"; then
13171  INSTALL_IMAGES_TRUE=
13172  INSTALL_IMAGES_FALSE='#'
13173else
13174  INSTALL_IMAGES_TRUE='#'
13175  INSTALL_IMAGES_FALSE=
13176fi
13177
13178
13179
13180# avoid gtk+-3.10.x
13181# gtk 3 no longer supported. That will be for xffm+
13182with_gtk2=yes
13183if test "$with_gtk2" = "no"; then
13184
13185
13186  # minimum supported version of pkg-config
13187  xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0
13188
13189  # lookup pkg-config utility
13190  if test x"$PKG_CONFIG" = x""; then
13191    # Extract the first word of "pkg-config", so it can be a program name with args.
13192set dummy pkg-config; ac_word=$2
13193{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13194$as_echo_n "checking for $ac_word... " >&6; }
13195if ${ac_cv_path_PKG_CONFIG+:} false; then :
13196  $as_echo_n "(cached) " >&6
13197else
13198  case $PKG_CONFIG in
13199  [\\/]* | ?:[\\/]*)
13200  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13201  ;;
13202  *)
13203  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13204for as_dir in $PATH
13205do
13206  IFS=$as_save_IFS
13207  test -z "$as_dir" && as_dir=.
13208    for ac_exec_ext in '' $ac_executable_extensions; do
13209  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13210    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13211    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13212    break 2
13213  fi
13214done
13215  done
13216IFS=$as_save_IFS
13217
13218  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
13219  ;;
13220esac
13221fi
13222PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13223if test -n "$PKG_CONFIG"; then
13224  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
13225$as_echo "$PKG_CONFIG" >&6; }
13226else
13227  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13228$as_echo "no" >&6; }
13229fi
13230
13231
13232
13233    if test x"$PKG_CONFIG" = x"no"; then
13234      echo "*** The pkg-config utility could not be found on your system."
13235      echo "*** Make sure it is in your path, or set the PKG_CONFIG"
13236      echo "*** environment variable to the full path to pkg-config."
13237      echo "*** You can download pkg-config from the freedesktop.org"
13238      echo "*** software repository at"
13239      echo "***"
13240      echo "***    http://www.freedesktop.org/software/pkgconfig"
13241      echo "***"
13242      exit 1
13243    fi
13244
13245    # check pkg-config version
13246    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION" >&5
13247$as_echo_n "checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION... " >&6; }
13248    if $PKG_CONFIG --atleast-pkgconfig-version $xdt_cv_PKG_CONFIG_MIN_VERSION; then
13249      xdt_cv_PKG_CONFIG_VERSION=`$PKG_CONFIG --version`
13250      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
13251$as_echo "$xdt_cv_PKG_CONFIG_VERSION" >&6; }
13252    else
13253      xdt_cv_PKG_CONFIG_VERSION=`$PKG_CONFIG --version`
13254      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
13255$as_echo "$xdt_cv_PKG_CONFIG_VERSION" >&6; }
13256      echo "*** Your version of pkg-config is too old. You need atleast"
13257      echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config "
13258      echo "*** from the freedesktop.org software repository at"
13259      echo "***"
13260      echo "***    http://www.freedesktop.org/software/pkgconfig"
13261      echo "***"
13262      exit 1
13263    fi
13264  fi
13265
13266
13267  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk+-3.0 >= 3.4.0" >&5
13268$as_echo_n "checking for gtk+-3.0 >= 3.4.0... " >&6; }
13269  if $PKG_CONFIG "--atleast-version=3.4.0" "gtk+-3.0" >/dev/null 2>&1; then
13270    GTK_VERSION=`$PKG_CONFIG --modversion "gtk+-3.0"`
13271    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_VERSION" >&5
13272$as_echo "$GTK_VERSION" >&6; }
13273
13274    { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTK_CFLAGS" >&5
13275$as_echo_n "checking GTK_CFLAGS... " >&6; }
13276    GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-3.0"`
13277    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CFLAGS" >&5
13278$as_echo "$GTK_CFLAGS" >&6; }
13279
13280    { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTK_LIBS" >&5
13281$as_echo_n "checking GTK_LIBS... " >&6; }
13282    GTK_LIBS=`$PKG_CONFIG --libs "gtk+-3.0"`
13283    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_LIBS" >&5
13284$as_echo "$GTK_LIBS" >&6; }
13285
13286    GTK_REQUIRED_VERSION=3.4.0
13287
13288
13289
13290
13291
13292
13293
13294
13295
13296  # minimum supported version of pkg-config
13297  xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0
13298
13299  # lookup pkg-config utility
13300  if test x"$PKG_CONFIG" = x""; then
13301    # Extract the first word of "pkg-config", so it can be a program name with args.
13302set dummy pkg-config; ac_word=$2
13303{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13304$as_echo_n "checking for $ac_word... " >&6; }
13305if ${ac_cv_path_PKG_CONFIG+:} false; then :
13306  $as_echo_n "(cached) " >&6
13307else
13308  case $PKG_CONFIG in
13309  [\\/]* | ?:[\\/]*)
13310  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13311  ;;
13312  *)
13313  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13314for as_dir in $PATH
13315do
13316  IFS=$as_save_IFS
13317  test -z "$as_dir" && as_dir=.
13318    for ac_exec_ext in '' $ac_executable_extensions; do
13319  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13320    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13321    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13322    break 2
13323  fi
13324done
13325  done
13326IFS=$as_save_IFS
13327
13328  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
13329  ;;
13330esac
13331fi
13332PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13333if test -n "$PKG_CONFIG"; then
13334  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
13335$as_echo "$PKG_CONFIG" >&6; }
13336else
13337  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13338$as_echo "no" >&6; }
13339fi
13340
13341
13342
13343    if test x"$PKG_CONFIG" = x"no"; then
13344      echo "*** The pkg-config utility could not be found on your system."
13345      echo "*** Make sure it is in your path, or set the PKG_CONFIG"
13346      echo "*** environment variable to the full path to pkg-config."
13347      echo "*** You can download pkg-config from the freedesktop.org"
13348      echo "*** software repository at"
13349      echo "***"
13350      echo "***    http://www.freedesktop.org/software/pkgconfig"
13351      echo "***"
13352      exit 1
13353    fi
13354
13355    # check pkg-config version
13356    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION" >&5
13357$as_echo_n "checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION... " >&6; }
13358    if $PKG_CONFIG --atleast-pkgconfig-version $xdt_cv_PKG_CONFIG_MIN_VERSION; then
13359      xdt_cv_PKG_CONFIG_VERSION=`$PKG_CONFIG --version`
13360      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
13361$as_echo "$xdt_cv_PKG_CONFIG_VERSION" >&6; }
13362    else
13363      xdt_cv_PKG_CONFIG_VERSION=`$PKG_CONFIG --version`
13364      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
13365$as_echo "$xdt_cv_PKG_CONFIG_VERSION" >&6; }
13366      echo "*** Your version of pkg-config is too old. You need atleast"
13367      echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config "
13368      echo "*** from the freedesktop.org software repository at"
13369      echo "***"
13370      echo "***    http://www.freedesktop.org/software/pkgconfig"
13371      echo "***"
13372      exit 1
13373    fi
13374  fi
13375
13376
13377  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk+-3.0 >= 3.12.0" >&5
13378$as_echo_n "checking for gtk+-3.0 >= 3.12.0... " >&6; }
13379  if $PKG_CONFIG "--atleast-version=3.12.0" "gtk+-3.0" >/dev/null 2>&1; then
13380    GTK_VERSION=`$PKG_CONFIG --modversion "gtk+-3.0"`
13381    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_VERSION" >&5
13382$as_echo "$GTK_VERSION" >&6; }
13383
13384    { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTK_CFLAGS" >&5
13385$as_echo_n "checking GTK_CFLAGS... " >&6; }
13386    GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-3.0"`
13387    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CFLAGS" >&5
13388$as_echo "$GTK_CFLAGS" >&6; }
13389
13390    { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTK_LIBS" >&5
13391$as_echo_n "checking GTK_LIBS... " >&6; }
13392    GTK_LIBS=`$PKG_CONFIG --libs "gtk+-3.0"`
13393    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_LIBS" >&5
13394$as_echo "$GTK_LIBS" >&6; }
13395
13396    GTK_REQUIRED_VERSION=3.12.0
13397
13398
13399
13400
13401
13402
13403
13404
13405
13406  # minimum supported version of pkg-config
13407  xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0
13408
13409  # lookup pkg-config utility
13410  if test x"$PKG_CONFIG" = x""; then
13411    # Extract the first word of "pkg-config", so it can be a program name with args.
13412set dummy pkg-config; ac_word=$2
13413{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13414$as_echo_n "checking for $ac_word... " >&6; }
13415if ${ac_cv_path_PKG_CONFIG+:} false; then :
13416  $as_echo_n "(cached) " >&6
13417else
13418  case $PKG_CONFIG in
13419  [\\/]* | ?:[\\/]*)
13420  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13421  ;;
13422  *)
13423  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13424for as_dir in $PATH
13425do
13426  IFS=$as_save_IFS
13427  test -z "$as_dir" && as_dir=.
13428    for ac_exec_ext in '' $ac_executable_extensions; do
13429  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13430    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13431    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13432    break 2
13433  fi
13434done
13435  done
13436IFS=$as_save_IFS
13437
13438  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
13439  ;;
13440esac
13441fi
13442PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13443if test -n "$PKG_CONFIG"; then
13444  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
13445$as_echo "$PKG_CONFIG" >&6; }
13446else
13447  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13448$as_echo "no" >&6; }
13449fi
13450
13451
13452
13453    if test x"$PKG_CONFIG" = x"no"; then
13454      echo "*** The pkg-config utility could not be found on your system."
13455      echo "*** Make sure it is in your path, or set the PKG_CONFIG"
13456      echo "*** environment variable to the full path to pkg-config."
13457      echo "*** You can download pkg-config from the freedesktop.org"
13458      echo "*** software repository at"
13459      echo "***"
13460      echo "***    http://www.freedesktop.org/software/pkgconfig"
13461      echo "***"
13462      exit 1
13463    fi
13464
13465    # check pkg-config version
13466    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION" >&5
13467$as_echo_n "checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION... " >&6; }
13468    if $PKG_CONFIG --atleast-pkgconfig-version $xdt_cv_PKG_CONFIG_MIN_VERSION; then
13469      xdt_cv_PKG_CONFIG_VERSION=`$PKG_CONFIG --version`
13470      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
13471$as_echo "$xdt_cv_PKG_CONFIG_VERSION" >&6; }
13472    else
13473      xdt_cv_PKG_CONFIG_VERSION=`$PKG_CONFIG --version`
13474      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
13475$as_echo "$xdt_cv_PKG_CONFIG_VERSION" >&6; }
13476      echo "*** Your version of pkg-config is too old. You need atleast"
13477      echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config "
13478      echo "*** from the freedesktop.org software repository at"
13479      echo "***"
13480      echo "***    http://www.freedesktop.org/software/pkgconfig"
13481      echo "***"
13482      exit 1
13483    fi
13484  fi
13485
13486
13487  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo >= 1.12.6" >&5
13488$as_echo_n "checking for cairo >= 1.12.6... " >&6; }
13489  if $PKG_CONFIG "--atleast-version=1.12.6" "cairo" >/dev/null 2>&1; then
13490    CAIRO_VERSION=`$PKG_CONFIG --modversion "cairo"`
13491    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAIRO_VERSION" >&5
13492$as_echo "$CAIRO_VERSION" >&6; }
13493
13494    { $as_echo "$as_me:${as_lineno-$LINENO}: checking CAIRO_CFLAGS" >&5
13495$as_echo_n "checking CAIRO_CFLAGS... " >&6; }
13496    CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo"`
13497    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAIRO_CFLAGS" >&5
13498$as_echo "$CAIRO_CFLAGS" >&6; }
13499
13500    { $as_echo "$as_me:${as_lineno-$LINENO}: checking CAIRO_LIBS" >&5
13501$as_echo_n "checking CAIRO_LIBS... " >&6; }
13502    CAIRO_LIBS=`$PKG_CONFIG --libs "cairo"`
13503    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAIRO_LIBS" >&5
13504$as_echo "$CAIRO_LIBS" >&6; }
13505
13506    CAIRO_REQUIRED_VERSION=1.12.6
13507
13508
13509
13510
13511
13512
13513
13514  elif $PKG_CONFIG --exists "cairo" >/dev/null 2>&1; then
13515    xdg_cv_version=`$PKG_CONFIG --modversion "cairo"`
13516    { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5
13517$as_echo "found, but $xdt_cv_version" >&6; }
13518
13519
13520      echo "*** The required package cairo was found on your system,"
13521      echo "*** but the installed version ($xdt_cv_version) is too old."
13522      echo "*** Please upgrade cairo to atleast version 1.12.6, or adjust"
13523      echo "*** the PKG_CONFIG_PATH environment variable if you installed"
13524      echo "*** the new version of the package in a nonstandard prefix so"
13525      echo "*** pkg-config is able to find it."
13526      exit 1
13527
13528  else
13529    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13530$as_echo "not found" >&6; }
13531
13532
13533      echo "*** The required package cairo was not found on your system."
13534      echo "*** Please install cairo (atleast version 1.12.6) or adjust"
13535      echo "*** the PKG_CONFIG_PATH environment variable if you"
13536      echo "*** installed the package in a nonstandard prefix so that"
13537      echo "*** pkg-config is able to find it."
13538      exit 1
13539
13540  fi
13541
13542
13543  elif $PKG_CONFIG --exists "gtk+-3.0" >/dev/null 2>&1; then
13544    xdg_cv_version=`$PKG_CONFIG --modversion "gtk+-3.0"`
13545    { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5
13546$as_echo "found, but $xdt_cv_version" >&6; }
13547
13548
13549    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not >= 3.12.0" >&5
13550$as_echo "not >= 3.12.0" >&6; }
13551
13552
13553  # minimum supported version of pkg-config
13554  xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0
13555
13556  # lookup pkg-config utility
13557  if test x"$PKG_CONFIG" = x""; then
13558    # Extract the first word of "pkg-config", so it can be a program name with args.
13559set dummy pkg-config; ac_word=$2
13560{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13561$as_echo_n "checking for $ac_word... " >&6; }
13562if ${ac_cv_path_PKG_CONFIG+:} false; then :
13563  $as_echo_n "(cached) " >&6
13564else
13565  case $PKG_CONFIG in
13566  [\\/]* | ?:[\\/]*)
13567  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13568  ;;
13569  *)
13570  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13571for as_dir in $PATH
13572do
13573  IFS=$as_save_IFS
13574  test -z "$as_dir" && as_dir=.
13575    for ac_exec_ext in '' $ac_executable_extensions; do
13576  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13577    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13578    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13579    break 2
13580  fi
13581done
13582  done
13583IFS=$as_save_IFS
13584
13585  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
13586  ;;
13587esac
13588fi
13589PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13590if test -n "$PKG_CONFIG"; then
13591  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
13592$as_echo "$PKG_CONFIG" >&6; }
13593else
13594  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13595$as_echo "no" >&6; }
13596fi
13597
13598
13599
13600    if test x"$PKG_CONFIG" = x"no"; then
13601      echo "*** The pkg-config utility could not be found on your system."
13602      echo "*** Make sure it is in your path, or set the PKG_CONFIG"
13603      echo "*** environment variable to the full path to pkg-config."
13604      echo "*** You can download pkg-config from the freedesktop.org"
13605      echo "*** software repository at"
13606      echo "***"
13607      echo "***    http://www.freedesktop.org/software/pkgconfig"
13608      echo "***"
13609      exit 1
13610    fi
13611
13612    # check pkg-config version
13613    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION" >&5
13614$as_echo_n "checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION... " >&6; }
13615    if $PKG_CONFIG --atleast-pkgconfig-version $xdt_cv_PKG_CONFIG_MIN_VERSION; then
13616      xdt_cv_PKG_CONFIG_VERSION=`$PKG_CONFIG --version`
13617      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
13618$as_echo "$xdt_cv_PKG_CONFIG_VERSION" >&6; }
13619    else
13620      xdt_cv_PKG_CONFIG_VERSION=`$PKG_CONFIG --version`
13621      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
13622$as_echo "$xdt_cv_PKG_CONFIG_VERSION" >&6; }
13623      echo "*** Your version of pkg-config is too old. You need atleast"
13624      echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config "
13625      echo "*** from the freedesktop.org software repository at"
13626      echo "***"
13627      echo "***    http://www.freedesktop.org/software/pkgconfig"
13628      echo "***"
13629      exit 1
13630    fi
13631  fi
13632
13633
13634  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk+-3.0 >= 3.10.0" >&5
13635$as_echo_n "checking for gtk+-3.0 >= 3.10.0... " >&6; }
13636  if $PKG_CONFIG "--atleast-version=3.10.0" "gtk+-3.0" >/dev/null 2>&1; then
13637    GTK_VERSION=`$PKG_CONFIG --modversion "gtk+-3.0"`
13638    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_VERSION" >&5
13639$as_echo "$GTK_VERSION" >&6; }
13640
13641    { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTK_CFLAGS" >&5
13642$as_echo_n "checking GTK_CFLAGS... " >&6; }
13643    GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-3.0"`
13644    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CFLAGS" >&5
13645$as_echo "$GTK_CFLAGS" >&6; }
13646
13647    { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTK_LIBS" >&5
13648$as_echo_n "checking GTK_LIBS... " >&6; }
13649    GTK_LIBS=`$PKG_CONFIG --libs "gtk+-3.0"`
13650    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_LIBS" >&5
13651$as_echo "$GTK_LIBS" >&6; }
13652
13653    GTK_REQUIRED_VERSION=3.10.0
13654
13655
13656
13657
13658
13659
13660
13661    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: In many distros, GTK+-3.10.x is broken. Falling back to gtk+-2.0" >&5
13662$as_echo "$as_me: WARNING: In many distros, GTK+-3.10.x is broken. Falling back to gtk+-2.0" >&2;}
13663    with_gtk2=yes
13664
13665  elif $PKG_CONFIG --exists "gtk+-3.0" >/dev/null 2>&1; then
13666    xdg_cv_version=`$PKG_CONFIG --modversion "gtk+-3.0"`
13667    { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5
13668$as_echo "found, but $xdt_cv_version" >&6; }
13669
13670
13671    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not >= 3.10.0" >&5
13672$as_echo "not >= 3.10.0" >&6; }
13673    { $as_echo "$as_me:${as_lineno-$LINENO}: No GTK+-3.10 problem here." >&5
13674$as_echo "$as_me: No GTK+-3.10 problem here." >&6;}
13675
13676
13677  else
13678    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13679$as_echo "not found" >&6; }
13680
13681
13682    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not >= 3.10.0" >&5
13683$as_echo "not >= 3.10.0" >&6; }
13684    { $as_echo "$as_me:${as_lineno-$LINENO}: No GTK+-3.10 problem here." >&5
13685$as_echo "$as_me: No GTK+-3.10 problem here." >&6;}
13686
13687
13688  fi
13689
13690
13691
13692
13693  else
13694    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13695$as_echo "not found" >&6; }
13696
13697
13698    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not >= 3.12.0" >&5
13699$as_echo "not >= 3.12.0" >&6; }
13700
13701
13702  # minimum supported version of pkg-config
13703  xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0
13704
13705  # lookup pkg-config utility
13706  if test x"$PKG_CONFIG" = x""; then
13707    # Extract the first word of "pkg-config", so it can be a program name with args.
13708set dummy pkg-config; ac_word=$2
13709{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13710$as_echo_n "checking for $ac_word... " >&6; }
13711if ${ac_cv_path_PKG_CONFIG+:} false; then :
13712  $as_echo_n "(cached) " >&6
13713else
13714  case $PKG_CONFIG in
13715  [\\/]* | ?:[\\/]*)
13716  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13717  ;;
13718  *)
13719  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13720for as_dir in $PATH
13721do
13722  IFS=$as_save_IFS
13723  test -z "$as_dir" && as_dir=.
13724    for ac_exec_ext in '' $ac_executable_extensions; do
13725  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13726    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13727    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13728    break 2
13729  fi
13730done
13731  done
13732IFS=$as_save_IFS
13733
13734  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
13735  ;;
13736esac
13737fi
13738PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13739if test -n "$PKG_CONFIG"; then
13740  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
13741$as_echo "$PKG_CONFIG" >&6; }
13742else
13743  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13744$as_echo "no" >&6; }
13745fi
13746
13747
13748
13749    if test x"$PKG_CONFIG" = x"no"; then
13750      echo "*** The pkg-config utility could not be found on your system."
13751      echo "*** Make sure it is in your path, or set the PKG_CONFIG"
13752      echo "*** environment variable to the full path to pkg-config."
13753      echo "*** You can download pkg-config from the freedesktop.org"
13754      echo "*** software repository at"
13755      echo "***"
13756      echo "***    http://www.freedesktop.org/software/pkgconfig"
13757      echo "***"
13758      exit 1
13759    fi
13760
13761    # check pkg-config version
13762    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION" >&5
13763$as_echo_n "checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION... " >&6; }
13764    if $PKG_CONFIG --atleast-pkgconfig-version $xdt_cv_PKG_CONFIG_MIN_VERSION; then
13765      xdt_cv_PKG_CONFIG_VERSION=`$PKG_CONFIG --version`
13766      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
13767$as_echo "$xdt_cv_PKG_CONFIG_VERSION" >&6; }
13768    else
13769      xdt_cv_PKG_CONFIG_VERSION=`$PKG_CONFIG --version`
13770      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
13771$as_echo "$xdt_cv_PKG_CONFIG_VERSION" >&6; }
13772      echo "*** Your version of pkg-config is too old. You need atleast"
13773      echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config "
13774      echo "*** from the freedesktop.org software repository at"
13775      echo "***"
13776      echo "***    http://www.freedesktop.org/software/pkgconfig"
13777      echo "***"
13778      exit 1
13779    fi
13780  fi
13781
13782
13783  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk+-3.0 >= 3.10.0" >&5
13784$as_echo_n "checking for gtk+-3.0 >= 3.10.0... " >&6; }
13785  if $PKG_CONFIG "--atleast-version=3.10.0" "gtk+-3.0" >/dev/null 2>&1; then
13786    GTK_VERSION=`$PKG_CONFIG --modversion "gtk+-3.0"`
13787    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_VERSION" >&5
13788$as_echo "$GTK_VERSION" >&6; }
13789
13790    { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTK_CFLAGS" >&5
13791$as_echo_n "checking GTK_CFLAGS... " >&6; }
13792    GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-3.0"`
13793    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CFLAGS" >&5
13794$as_echo "$GTK_CFLAGS" >&6; }
13795
13796    { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTK_LIBS" >&5
13797$as_echo_n "checking GTK_LIBS... " >&6; }
13798    GTK_LIBS=`$PKG_CONFIG --libs "gtk+-3.0"`
13799    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_LIBS" >&5
13800$as_echo "$GTK_LIBS" >&6; }
13801
13802    GTK_REQUIRED_VERSION=3.10.0
13803
13804
13805
13806
13807
13808
13809
13810    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: In many distros, GTK+-3.10.x is broken. Falling back to gtk+-2.0" >&5
13811$as_echo "$as_me: WARNING: In many distros, GTK+-3.10.x is broken. Falling back to gtk+-2.0" >&2;}
13812    with_gtk2=yes
13813
13814  elif $PKG_CONFIG --exists "gtk+-3.0" >/dev/null 2>&1; then
13815    xdg_cv_version=`$PKG_CONFIG --modversion "gtk+-3.0"`
13816    { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5
13817$as_echo "found, but $xdt_cv_version" >&6; }
13818
13819
13820    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not >= 3.10.0" >&5
13821$as_echo "not >= 3.10.0" >&6; }
13822    { $as_echo "$as_me:${as_lineno-$LINENO}: No GTK+-3.10 problem here." >&5
13823$as_echo "$as_me: No GTK+-3.10 problem here." >&6;}
13824
13825
13826  else
13827    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13828$as_echo "not found" >&6; }
13829
13830
13831    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not >= 3.10.0" >&5
13832$as_echo "not >= 3.10.0" >&6; }
13833    { $as_echo "$as_me:${as_lineno-$LINENO}: No GTK+-3.10 problem here." >&5
13834$as_echo "$as_me: No GTK+-3.10 problem here." >&6;}
13835
13836
13837  fi
13838
13839
13840
13841
13842  fi
13843
13844
13845  elif $PKG_CONFIG --exists "gtk+-3.0" >/dev/null 2>&1; then
13846    xdg_cv_version=`$PKG_CONFIG --modversion "gtk+-3.0"`
13847    { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5
13848$as_echo "found, but $xdt_cv_version" >&6; }
13849
13850
13851  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Gtk+3.0 >= 3.4.0 is not available. Falling back to gtk+-2.0" >&5
13852$as_echo "$as_me: WARNING: Gtk+3.0 >= 3.4.0 is not available. Falling back to gtk+-2.0" >&2;}
13853  with_gtk2=yes
13854
13855  else
13856    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13857$as_echo "not found" >&6; }
13858
13859
13860  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Gtk+3.0 >= 3.4.0 is not available. Falling back to gtk+-2.0" >&5
13861$as_echo "$as_me: WARNING: Gtk+3.0 >= 3.4.0 is not available. Falling back to gtk+-2.0" >&2;}
13862  with_gtk2=yes
13863
13864  fi
13865
13866
13867
13868
13869
13870fi
13871
13872
13873if test "$with_gtk2" = "yes"; then
13874
13875
13876  # minimum supported version of pkg-config
13877  xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0
13878
13879  # lookup pkg-config utility
13880  if test x"$PKG_CONFIG" = x""; then
13881    # Extract the first word of "pkg-config", so it can be a program name with args.
13882set dummy pkg-config; ac_word=$2
13883{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13884$as_echo_n "checking for $ac_word... " >&6; }
13885if ${ac_cv_path_PKG_CONFIG+:} false; then :
13886  $as_echo_n "(cached) " >&6
13887else
13888  case $PKG_CONFIG in
13889  [\\/]* | ?:[\\/]*)
13890  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13891  ;;
13892  *)
13893  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13894for as_dir in $PATH
13895do
13896  IFS=$as_save_IFS
13897  test -z "$as_dir" && as_dir=.
13898    for ac_exec_ext in '' $ac_executable_extensions; do
13899  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13900    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13901    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13902    break 2
13903  fi
13904done
13905  done
13906IFS=$as_save_IFS
13907
13908  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
13909  ;;
13910esac
13911fi
13912PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13913if test -n "$PKG_CONFIG"; then
13914  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
13915$as_echo "$PKG_CONFIG" >&6; }
13916else
13917  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13918$as_echo "no" >&6; }
13919fi
13920
13921
13922
13923    if test x"$PKG_CONFIG" = x"no"; then
13924      echo "*** The pkg-config utility could not be found on your system."
13925      echo "*** Make sure it is in your path, or set the PKG_CONFIG"
13926      echo "*** environment variable to the full path to pkg-config."
13927      echo "*** You can download pkg-config from the freedesktop.org"
13928      echo "*** software repository at"
13929      echo "***"
13930      echo "***    http://www.freedesktop.org/software/pkgconfig"
13931      echo "***"
13932      exit 1
13933    fi
13934
13935    # check pkg-config version
13936    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION" >&5
13937$as_echo_n "checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION... " >&6; }
13938    if $PKG_CONFIG --atleast-pkgconfig-version $xdt_cv_PKG_CONFIG_MIN_VERSION; then
13939      xdt_cv_PKG_CONFIG_VERSION=`$PKG_CONFIG --version`
13940      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
13941$as_echo "$xdt_cv_PKG_CONFIG_VERSION" >&6; }
13942    else
13943      xdt_cv_PKG_CONFIG_VERSION=`$PKG_CONFIG --version`
13944      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
13945$as_echo "$xdt_cv_PKG_CONFIG_VERSION" >&6; }
13946      echo "*** Your version of pkg-config is too old. You need atleast"
13947      echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config "
13948      echo "*** from the freedesktop.org software repository at"
13949      echo "***"
13950      echo "***    http://www.freedesktop.org/software/pkgconfig"
13951      echo "***"
13952      exit 1
13953    fi
13954  fi
13955
13956
13957  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk+-2.0 >= 2.18.9" >&5
13958$as_echo_n "checking for gtk+-2.0 >= 2.18.9... " >&6; }
13959  if $PKG_CONFIG "--atleast-version=2.18.9" "gtk+-2.0" >/dev/null 2>&1; then
13960    GTK_VERSION=`$PKG_CONFIG --modversion "gtk+-2.0"`
13961    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_VERSION" >&5
13962$as_echo "$GTK_VERSION" >&6; }
13963
13964    { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTK_CFLAGS" >&5
13965$as_echo_n "checking GTK_CFLAGS... " >&6; }
13966    GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0"`
13967    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CFLAGS" >&5
13968$as_echo "$GTK_CFLAGS" >&6; }
13969
13970    { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTK_LIBS" >&5
13971$as_echo_n "checking GTK_LIBS... " >&6; }
13972    GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0"`
13973    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_LIBS" >&5
13974$as_echo "$GTK_LIBS" >&6; }
13975
13976    GTK_REQUIRED_VERSION=2.18.9
13977
13978
13979
13980
13981
13982
13983
13984  elif $PKG_CONFIG --exists "gtk+-2.0" >/dev/null 2>&1; then
13985    xdg_cv_version=`$PKG_CONFIG --modversion "gtk+-2.0"`
13986    { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5
13987$as_echo "found, but $xdt_cv_version" >&6; }
13988
13989
13990      echo "*** The required package gtk+-2.0 was found on your system,"
13991      echo "*** but the installed version ($xdt_cv_version) is too old."
13992      echo "*** Please upgrade gtk+-2.0 to atleast version 2.18.9, or adjust"
13993      echo "*** the PKG_CONFIG_PATH environment variable if you installed"
13994      echo "*** the new version of the package in a nonstandard prefix so"
13995      echo "*** pkg-config is able to find it."
13996      exit 1
13997
13998  else
13999    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14000$as_echo "not found" >&6; }
14001
14002
14003      echo "*** The required package gtk+-2.0 was not found on your system."
14004      echo "*** Please install gtk+-2.0 (atleast version 2.18.9) or adjust"
14005      echo "*** the PKG_CONFIG_PATH environment variable if you"
14006      echo "*** installed the package in a nonstandard prefix so that"
14007      echo "*** pkg-config is able to find it."
14008      exit 1
14009
14010  fi
14011
14012    GTKPC=gtk+-2.0
14013
14014cat >>confdefs.h <<_ACEOF
14015#define USE_GTK2 1
14016_ACEOF
14017
14018else
14019      GTKPC=gtk+-3.0
14020fi
14021
14022# libtool version related macros
14023
14024# new headers, do current++, revision->0
14025
14026#m4_define([rfm_lt_current], [$LT_VERS])
14027# bug fixes, do revision++. Set to 0 when rfm_lt_current is incremented
14028
14029# age: how many backwards compatible "currents" is this current compatible with.
14030
14031# lt true version:
14032
14033
14034
14035# libtool versioning
14036LT_RELEASE=5.3
14037LT_CURRENT=3
14038LT_REVISION=0
14039LT_AGE=0
14040LT_TRUE=3
14041
14042
14043
14044
14045
14046
14047# might as well do all the pkgconfig tests here...
14048
14049# FIXME these two are probably obsolete now.
14050# XDT_CHECK_LIBX11_REQUIRE
14051# XDT_CHECK_LIBSM
14052
14053
14054  # minimum supported version of pkg-config
14055  xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0
14056
14057  # lookup pkg-config utility
14058  if test x"$PKG_CONFIG" = x""; then
14059    # Extract the first word of "pkg-config", so it can be a program name with args.
14060set dummy pkg-config; ac_word=$2
14061{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14062$as_echo_n "checking for $ac_word... " >&6; }
14063if ${ac_cv_path_PKG_CONFIG+:} false; then :
14064  $as_echo_n "(cached) " >&6
14065else
14066  case $PKG_CONFIG in
14067  [\\/]* | ?:[\\/]*)
14068  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
14069  ;;
14070  *)
14071  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14072for as_dir in $PATH
14073do
14074  IFS=$as_save_IFS
14075  test -z "$as_dir" && as_dir=.
14076    for ac_exec_ext in '' $ac_executable_extensions; do
14077  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14078    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14079    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14080    break 2
14081  fi
14082done
14083  done
14084IFS=$as_save_IFS
14085
14086  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
14087  ;;
14088esac
14089fi
14090PKG_CONFIG=$ac_cv_path_PKG_CONFIG
14091if test -n "$PKG_CONFIG"; then
14092  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
14093$as_echo "$PKG_CONFIG" >&6; }
14094else
14095  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14096$as_echo "no" >&6; }
14097fi
14098
14099
14100
14101    if test x"$PKG_CONFIG" = x"no"; then
14102      echo "*** The pkg-config utility could not be found on your system."
14103      echo "*** Make sure it is in your path, or set the PKG_CONFIG"
14104      echo "*** environment variable to the full path to pkg-config."
14105      echo "*** You can download pkg-config from the freedesktop.org"
14106      echo "*** software repository at"
14107      echo "***"
14108      echo "***    http://www.freedesktop.org/software/pkgconfig"
14109      echo "***"
14110      exit 1
14111    fi
14112
14113    # check pkg-config version
14114    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION" >&5
14115$as_echo_n "checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION... " >&6; }
14116    if $PKG_CONFIG --atleast-pkgconfig-version $xdt_cv_PKG_CONFIG_MIN_VERSION; then
14117      xdt_cv_PKG_CONFIG_VERSION=`$PKG_CONFIG --version`
14118      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
14119$as_echo "$xdt_cv_PKG_CONFIG_VERSION" >&6; }
14120    else
14121      xdt_cv_PKG_CONFIG_VERSION=`$PKG_CONFIG --version`
14122      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
14123$as_echo "$xdt_cv_PKG_CONFIG_VERSION" >&6; }
14124      echo "*** Your version of pkg-config is too old. You need atleast"
14125      echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config "
14126      echo "*** from the freedesktop.org software repository at"
14127      echo "***"
14128      echo "***    http://www.freedesktop.org/software/pkgconfig"
14129      echo "***"
14130      exit 1
14131    fi
14132  fi
14133
14134
14135  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libzip >= 0.9" >&5
14136$as_echo_n "checking for libzip >= 0.9... " >&6; }
14137  if $PKG_CONFIG "--atleast-version=0.9" "libzip" >/dev/null 2>&1; then
14138    LIBZIP_VERSION=`$PKG_CONFIG --modversion "libzip"`
14139    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBZIP_VERSION" >&5
14140$as_echo "$LIBZIP_VERSION" >&6; }
14141
14142    { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBZIP_CFLAGS" >&5
14143$as_echo_n "checking LIBZIP_CFLAGS... " >&6; }
14144    LIBZIP_CFLAGS=`$PKG_CONFIG --cflags "libzip"`
14145    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBZIP_CFLAGS" >&5
14146$as_echo "$LIBZIP_CFLAGS" >&6; }
14147
14148    { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBZIP_LIBS" >&5
14149$as_echo_n "checking LIBZIP_LIBS... " >&6; }
14150    LIBZIP_LIBS=`$PKG_CONFIG --libs "libzip"`
14151    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBZIP_LIBS" >&5
14152$as_echo "$LIBZIP_LIBS" >&6; }
14153
14154    LIBZIP_REQUIRED_VERSION=0.9
14155
14156
14157
14158
14159
14160
14161
14162  elif $PKG_CONFIG --exists "libzip" >/dev/null 2>&1; then
14163    xdg_cv_version=`$PKG_CONFIG --modversion "libzip"`
14164    { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5
14165$as_echo "found, but $xdt_cv_version" >&6; }
14166
14167
14168      echo "*** The required package libzip was found on your system,"
14169      echo "*** but the installed version ($xdt_cv_version) is too old."
14170      echo "*** Please upgrade libzip to atleast version 0.9, or adjust"
14171      echo "*** the PKG_CONFIG_PATH environment variable if you installed"
14172      echo "*** the new version of the package in a nonstandard prefix so"
14173      echo "*** pkg-config is able to find it."
14174      exit 1
14175
14176  else
14177    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14178$as_echo "not found" >&6; }
14179
14180
14181      echo "*** The required package libzip was not found on your system."
14182      echo "*** Please install libzip (atleast version 0.9) or adjust"
14183      echo "*** the PKG_CONFIG_PATH environment variable if you"
14184      echo "*** installed the package in a nonstandard prefix so that"
14185      echo "*** pkg-config is able to find it."
14186      exit 1
14187
14188  fi
14189
14190
14191
14192  # minimum supported version of pkg-config
14193  xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0
14194
14195  # lookup pkg-config utility
14196  if test x"$PKG_CONFIG" = x""; then
14197    # Extract the first word of "pkg-config", so it can be a program name with args.
14198set dummy pkg-config; ac_word=$2
14199{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14200$as_echo_n "checking for $ac_word... " >&6; }
14201if ${ac_cv_path_PKG_CONFIG+:} false; then :
14202  $as_echo_n "(cached) " >&6
14203else
14204  case $PKG_CONFIG in
14205  [\\/]* | ?:[\\/]*)
14206  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
14207  ;;
14208  *)
14209  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14210for as_dir in $PATH
14211do
14212  IFS=$as_save_IFS
14213  test -z "$as_dir" && as_dir=.
14214    for ac_exec_ext in '' $ac_executable_extensions; do
14215  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14216    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14217    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14218    break 2
14219  fi
14220done
14221  done
14222IFS=$as_save_IFS
14223
14224  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
14225  ;;
14226esac
14227fi
14228PKG_CONFIG=$ac_cv_path_PKG_CONFIG
14229if test -n "$PKG_CONFIG"; then
14230  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
14231$as_echo "$PKG_CONFIG" >&6; }
14232else
14233  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14234$as_echo "no" >&6; }
14235fi
14236
14237
14238
14239    if test x"$PKG_CONFIG" = x"no"; then
14240      echo "*** The pkg-config utility could not be found on your system."
14241      echo "*** Make sure it is in your path, or set the PKG_CONFIG"
14242      echo "*** environment variable to the full path to pkg-config."
14243      echo "*** You can download pkg-config from the freedesktop.org"
14244      echo "*** software repository at"
14245      echo "***"
14246      echo "***    http://www.freedesktop.org/software/pkgconfig"
14247      echo "***"
14248      exit 1
14249    fi
14250
14251    # check pkg-config version
14252    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION" >&5
14253$as_echo_n "checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION... " >&6; }
14254    if $PKG_CONFIG --atleast-pkgconfig-version $xdt_cv_PKG_CONFIG_MIN_VERSION; then
14255      xdt_cv_PKG_CONFIG_VERSION=`$PKG_CONFIG --version`
14256      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
14257$as_echo "$xdt_cv_PKG_CONFIG_VERSION" >&6; }
14258    else
14259      xdt_cv_PKG_CONFIG_VERSION=`$PKG_CONFIG --version`
14260      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
14261$as_echo "$xdt_cv_PKG_CONFIG_VERSION" >&6; }
14262      echo "*** Your version of pkg-config is too old. You need atleast"
14263      echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config "
14264      echo "*** from the freedesktop.org software repository at"
14265      echo "***"
14266      echo "***    http://www.freedesktop.org/software/pkgconfig"
14267      echo "***"
14268      exit 1
14269    fi
14270  fi
14271
14272
14273  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairo >= 1.8.8" >&5
14274$as_echo_n "checking for cairo >= 1.8.8... " >&6; }
14275  if $PKG_CONFIG "--atleast-version=1.8.8" "cairo" >/dev/null 2>&1; then
14276    CAIRO_VERSION=`$PKG_CONFIG --modversion "cairo"`
14277    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAIRO_VERSION" >&5
14278$as_echo "$CAIRO_VERSION" >&6; }
14279
14280    { $as_echo "$as_me:${as_lineno-$LINENO}: checking CAIRO_CFLAGS" >&5
14281$as_echo_n "checking CAIRO_CFLAGS... " >&6; }
14282    CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo"`
14283    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAIRO_CFLAGS" >&5
14284$as_echo "$CAIRO_CFLAGS" >&6; }
14285
14286    { $as_echo "$as_me:${as_lineno-$LINENO}: checking CAIRO_LIBS" >&5
14287$as_echo_n "checking CAIRO_LIBS... " >&6; }
14288    CAIRO_LIBS=`$PKG_CONFIG --libs "cairo"`
14289    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAIRO_LIBS" >&5
14290$as_echo "$CAIRO_LIBS" >&6; }
14291
14292    CAIRO_REQUIRED_VERSION=1.8.8
14293
14294
14295
14296
14297
14298
14299
14300  elif $PKG_CONFIG --exists "cairo" >/dev/null 2>&1; then
14301    xdg_cv_version=`$PKG_CONFIG --modversion "cairo"`
14302    { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5
14303$as_echo "found, but $xdt_cv_version" >&6; }
14304
14305
14306      echo "*** The required package cairo was found on your system,"
14307      echo "*** but the installed version ($xdt_cv_version) is too old."
14308      echo "*** Please upgrade cairo to atleast version 1.8.8, or adjust"
14309      echo "*** the PKG_CONFIG_PATH environment variable if you installed"
14310      echo "*** the new version of the package in a nonstandard prefix so"
14311      echo "*** pkg-config is able to find it."
14312      exit 1
14313
14314  else
14315    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14316$as_echo "not found" >&6; }
14317
14318
14319      echo "*** The required package cairo was not found on your system."
14320      echo "*** Please install cairo (atleast version 1.8.8) or adjust"
14321      echo "*** the PKG_CONFIG_PATH environment variable if you"
14322      echo "*** installed the package in a nonstandard prefix so that"
14323      echo "*** pkg-config is able to find it."
14324      exit 1
14325
14326  fi
14327
14328
14329
14330  # minimum supported version of pkg-config
14331  xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0
14332
14333  # lookup pkg-config utility
14334  if test x"$PKG_CONFIG" = x""; then
14335    # Extract the first word of "pkg-config", so it can be a program name with args.
14336set dummy pkg-config; ac_word=$2
14337{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14338$as_echo_n "checking for $ac_word... " >&6; }
14339if ${ac_cv_path_PKG_CONFIG+:} false; then :
14340  $as_echo_n "(cached) " >&6
14341else
14342  case $PKG_CONFIG in
14343  [\\/]* | ?:[\\/]*)
14344  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
14345  ;;
14346  *)
14347  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14348for as_dir in $PATH
14349do
14350  IFS=$as_save_IFS
14351  test -z "$as_dir" && as_dir=.
14352    for ac_exec_ext in '' $ac_executable_extensions; do
14353  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14354    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14355    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14356    break 2
14357  fi
14358done
14359  done
14360IFS=$as_save_IFS
14361
14362  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
14363  ;;
14364esac
14365fi
14366PKG_CONFIG=$ac_cv_path_PKG_CONFIG
14367if test -n "$PKG_CONFIG"; then
14368  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
14369$as_echo "$PKG_CONFIG" >&6; }
14370else
14371  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14372$as_echo "no" >&6; }
14373fi
14374
14375
14376
14377    if test x"$PKG_CONFIG" = x"no"; then
14378      echo "*** The pkg-config utility could not be found on your system."
14379      echo "*** Make sure it is in your path, or set the PKG_CONFIG"
14380      echo "*** environment variable to the full path to pkg-config."
14381      echo "*** You can download pkg-config from the freedesktop.org"
14382      echo "*** software repository at"
14383      echo "***"
14384      echo "***    http://www.freedesktop.org/software/pkgconfig"
14385      echo "***"
14386      exit 1
14387    fi
14388
14389    # check pkg-config version
14390    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION" >&5
14391$as_echo_n "checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION... " >&6; }
14392    if $PKG_CONFIG --atleast-pkgconfig-version $xdt_cv_PKG_CONFIG_MIN_VERSION; then
14393      xdt_cv_PKG_CONFIG_VERSION=`$PKG_CONFIG --version`
14394      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
14395$as_echo "$xdt_cv_PKG_CONFIG_VERSION" >&6; }
14396    else
14397      xdt_cv_PKG_CONFIG_VERSION=`$PKG_CONFIG --version`
14398      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
14399$as_echo "$xdt_cv_PKG_CONFIG_VERSION" >&6; }
14400      echo "*** Your version of pkg-config is too old. You need atleast"
14401      echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config "
14402      echo "*** from the freedesktop.org software repository at"
14403      echo "***"
14404      echo "***    http://www.freedesktop.org/software/pkgconfig"
14405      echo "***"
14406      exit 1
14407    fi
14408  fi
14409
14410
14411  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pango >= 1.28.0" >&5
14412$as_echo_n "checking for pango >= 1.28.0... " >&6; }
14413  if $PKG_CONFIG "--atleast-version=1.28.0" "pango" >/dev/null 2>&1; then
14414    PANGO_VERSION=`$PKG_CONFIG --modversion "pango"`
14415    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PANGO_VERSION" >&5
14416$as_echo "$PANGO_VERSION" >&6; }
14417
14418    { $as_echo "$as_me:${as_lineno-$LINENO}: checking PANGO_CFLAGS" >&5
14419$as_echo_n "checking PANGO_CFLAGS... " >&6; }
14420    PANGO_CFLAGS=`$PKG_CONFIG --cflags "pango"`
14421    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PANGO_CFLAGS" >&5
14422$as_echo "$PANGO_CFLAGS" >&6; }
14423
14424    { $as_echo "$as_me:${as_lineno-$LINENO}: checking PANGO_LIBS" >&5
14425$as_echo_n "checking PANGO_LIBS... " >&6; }
14426    PANGO_LIBS=`$PKG_CONFIG --libs "pango"`
14427    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PANGO_LIBS" >&5
14428$as_echo "$PANGO_LIBS" >&6; }
14429
14430    PANGO_REQUIRED_VERSION=1.28.0
14431
14432
14433
14434
14435
14436
14437
14438  elif $PKG_CONFIG --exists "pango" >/dev/null 2>&1; then
14439    xdg_cv_version=`$PKG_CONFIG --modversion "pango"`
14440    { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5
14441$as_echo "found, but $xdt_cv_version" >&6; }
14442
14443
14444      echo "*** The required package pango was found on your system,"
14445      echo "*** but the installed version ($xdt_cv_version) is too old."
14446      echo "*** Please upgrade pango to atleast version 1.28.0, or adjust"
14447      echo "*** the PKG_CONFIG_PATH environment variable if you installed"
14448      echo "*** the new version of the package in a nonstandard prefix so"
14449      echo "*** pkg-config is able to find it."
14450      exit 1
14451
14452  else
14453    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14454$as_echo "not found" >&6; }
14455
14456
14457      echo "*** The required package pango was not found on your system."
14458      echo "*** Please install pango (atleast version 1.28.0) or adjust"
14459      echo "*** the PKG_CONFIG_PATH environment variable if you"
14460      echo "*** installed the package in a nonstandard prefix so that"
14461      echo "*** pkg-config is able to find it."
14462      exit 1
14463
14464  fi
14465
14466
14467
14468  # minimum supported version of pkg-config
14469  xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0
14470
14471  # lookup pkg-config utility
14472  if test x"$PKG_CONFIG" = x""; then
14473    # Extract the first word of "pkg-config", so it can be a program name with args.
14474set dummy pkg-config; ac_word=$2
14475{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14476$as_echo_n "checking for $ac_word... " >&6; }
14477if ${ac_cv_path_PKG_CONFIG+:} false; then :
14478  $as_echo_n "(cached) " >&6
14479else
14480  case $PKG_CONFIG in
14481  [\\/]* | ?:[\\/]*)
14482  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
14483  ;;
14484  *)
14485  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14486for as_dir in $PATH
14487do
14488  IFS=$as_save_IFS
14489  test -z "$as_dir" && as_dir=.
14490    for ac_exec_ext in '' $ac_executable_extensions; do
14491  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14492    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14493    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14494    break 2
14495  fi
14496done
14497  done
14498IFS=$as_save_IFS
14499
14500  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
14501  ;;
14502esac
14503fi
14504PKG_CONFIG=$ac_cv_path_PKG_CONFIG
14505if test -n "$PKG_CONFIG"; then
14506  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
14507$as_echo "$PKG_CONFIG" >&6; }
14508else
14509  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14510$as_echo "no" >&6; }
14511fi
14512
14513
14514
14515    if test x"$PKG_CONFIG" = x"no"; then
14516      echo "*** The pkg-config utility could not be found on your system."
14517      echo "*** Make sure it is in your path, or set the PKG_CONFIG"
14518      echo "*** environment variable to the full path to pkg-config."
14519      echo "*** You can download pkg-config from the freedesktop.org"
14520      echo "*** software repository at"
14521      echo "***"
14522      echo "***    http://www.freedesktop.org/software/pkgconfig"
14523      echo "***"
14524      exit 1
14525    fi
14526
14527    # check pkg-config version
14528    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION" >&5
14529$as_echo_n "checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION... " >&6; }
14530    if $PKG_CONFIG --atleast-pkgconfig-version $xdt_cv_PKG_CONFIG_MIN_VERSION; then
14531      xdt_cv_PKG_CONFIG_VERSION=`$PKG_CONFIG --version`
14532      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
14533$as_echo "$xdt_cv_PKG_CONFIG_VERSION" >&6; }
14534    else
14535      xdt_cv_PKG_CONFIG_VERSION=`$PKG_CONFIG --version`
14536      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
14537$as_echo "$xdt_cv_PKG_CONFIG_VERSION" >&6; }
14538      echo "*** Your version of pkg-config is too old. You need atleast"
14539      echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config "
14540      echo "*** from the freedesktop.org software repository at"
14541      echo "***"
14542      echo "***    http://www.freedesktop.org/software/pkgconfig"
14543      echo "***"
14544      exit 1
14545    fi
14546  fi
14547
14548
14549  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthread-2.0 >= 2.22.5" >&5
14550$as_echo_n "checking for gthread-2.0 >= 2.22.5... " >&6; }
14551  if $PKG_CONFIG "--atleast-version=2.22.5" "gthread-2.0" >/dev/null 2>&1; then
14552    GTHREAD_VERSION=`$PKG_CONFIG --modversion "gthread-2.0"`
14553    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTHREAD_VERSION" >&5
14554$as_echo "$GTHREAD_VERSION" >&6; }
14555
14556    { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTHREAD_CFLAGS" >&5
14557$as_echo_n "checking GTHREAD_CFLAGS... " >&6; }
14558    GTHREAD_CFLAGS=`$PKG_CONFIG --cflags "gthread-2.0"`
14559    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTHREAD_CFLAGS" >&5
14560$as_echo "$GTHREAD_CFLAGS" >&6; }
14561
14562    { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTHREAD_LIBS" >&5
14563$as_echo_n "checking GTHREAD_LIBS... " >&6; }
14564    GTHREAD_LIBS=`$PKG_CONFIG --libs "gthread-2.0"`
14565    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTHREAD_LIBS" >&5
14566$as_echo "$GTHREAD_LIBS" >&6; }
14567
14568    GTHREAD_REQUIRED_VERSION=2.22.5
14569
14570
14571
14572
14573
14574
14575
14576  elif $PKG_CONFIG --exists "gthread-2.0" >/dev/null 2>&1; then
14577    xdg_cv_version=`$PKG_CONFIG --modversion "gthread-2.0"`
14578    { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5
14579$as_echo "found, but $xdt_cv_version" >&6; }
14580
14581
14582      echo "*** The required package gthread-2.0 was found on your system,"
14583      echo "*** but the installed version ($xdt_cv_version) is too old."
14584      echo "*** Please upgrade gthread-2.0 to atleast version 2.22.5, or adjust"
14585      echo "*** the PKG_CONFIG_PATH environment variable if you installed"
14586      echo "*** the new version of the package in a nonstandard prefix so"
14587      echo "*** pkg-config is able to find it."
14588      exit 1
14589
14590  else
14591    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14592$as_echo "not found" >&6; }
14593
14594
14595      echo "*** The required package gthread-2.0 was not found on your system."
14596      echo "*** Please install gthread-2.0 (atleast version 2.22.5) or adjust"
14597      echo "*** the PKG_CONFIG_PATH environment variable if you"
14598      echo "*** installed the package in a nonstandard prefix so that"
14599      echo "*** pkg-config is able to find it."
14600      exit 1
14601
14602  fi
14603
14604
14605
14606  # minimum supported version of pkg-config
14607  xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0
14608
14609  # lookup pkg-config utility
14610  if test x"$PKG_CONFIG" = x""; then
14611    # Extract the first word of "pkg-config", so it can be a program name with args.
14612set dummy pkg-config; ac_word=$2
14613{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14614$as_echo_n "checking for $ac_word... " >&6; }
14615if ${ac_cv_path_PKG_CONFIG+:} false; then :
14616  $as_echo_n "(cached) " >&6
14617else
14618  case $PKG_CONFIG in
14619  [\\/]* | ?:[\\/]*)
14620  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
14621  ;;
14622  *)
14623  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14624for as_dir in $PATH
14625do
14626  IFS=$as_save_IFS
14627  test -z "$as_dir" && as_dir=.
14628    for ac_exec_ext in '' $ac_executable_extensions; do
14629  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14630    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14631    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14632    break 2
14633  fi
14634done
14635  done
14636IFS=$as_save_IFS
14637
14638  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
14639  ;;
14640esac
14641fi
14642PKG_CONFIG=$ac_cv_path_PKG_CONFIG
14643if test -n "$PKG_CONFIG"; then
14644  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
14645$as_echo "$PKG_CONFIG" >&6; }
14646else
14647  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14648$as_echo "no" >&6; }
14649fi
14650
14651
14652
14653    if test x"$PKG_CONFIG" = x"no"; then
14654      echo "*** The pkg-config utility could not be found on your system."
14655      echo "*** Make sure it is in your path, or set the PKG_CONFIG"
14656      echo "*** environment variable to the full path to pkg-config."
14657      echo "*** You can download pkg-config from the freedesktop.org"
14658      echo "*** software repository at"
14659      echo "***"
14660      echo "***    http://www.freedesktop.org/software/pkgconfig"
14661      echo "***"
14662      exit 1
14663    fi
14664
14665    # check pkg-config version
14666    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION" >&5
14667$as_echo_n "checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION... " >&6; }
14668    if $PKG_CONFIG --atleast-pkgconfig-version $xdt_cv_PKG_CONFIG_MIN_VERSION; then
14669      xdt_cv_PKG_CONFIG_VERSION=`$PKG_CONFIG --version`
14670      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
14671$as_echo "$xdt_cv_PKG_CONFIG_VERSION" >&6; }
14672    else
14673      xdt_cv_PKG_CONFIG_VERSION=`$PKG_CONFIG --version`
14674      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
14675$as_echo "$xdt_cv_PKG_CONFIG_VERSION" >&6; }
14676      echo "*** Your version of pkg-config is too old. You need atleast"
14677      echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config "
14678      echo "*** from the freedesktop.org software repository at"
14679      echo "***"
14680      echo "***    http://www.freedesktop.org/software/pkgconfig"
14681      echo "***"
14682      exit 1
14683    fi
14684  fi
14685
14686
14687  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gmodule-2.0 >= 2.22.5" >&5
14688$as_echo_n "checking for gmodule-2.0 >= 2.22.5... " >&6; }
14689  if $PKG_CONFIG "--atleast-version=2.22.5" "gmodule-2.0" >/dev/null 2>&1; then
14690    GMODULE_VERSION=`$PKG_CONFIG --modversion "gmodule-2.0"`
14691    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMODULE_VERSION" >&5
14692$as_echo "$GMODULE_VERSION" >&6; }
14693
14694    { $as_echo "$as_me:${as_lineno-$LINENO}: checking GMODULE_CFLAGS" >&5
14695$as_echo_n "checking GMODULE_CFLAGS... " >&6; }
14696    GMODULE_CFLAGS=`$PKG_CONFIG --cflags "gmodule-2.0"`
14697    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMODULE_CFLAGS" >&5
14698$as_echo "$GMODULE_CFLAGS" >&6; }
14699
14700    { $as_echo "$as_me:${as_lineno-$LINENO}: checking GMODULE_LIBS" >&5
14701$as_echo_n "checking GMODULE_LIBS... " >&6; }
14702    GMODULE_LIBS=`$PKG_CONFIG --libs "gmodule-2.0"`
14703    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMODULE_LIBS" >&5
14704$as_echo "$GMODULE_LIBS" >&6; }
14705
14706    GMODULE_REQUIRED_VERSION=2.22.5
14707
14708
14709
14710
14711
14712
14713
14714  elif $PKG_CONFIG --exists "gmodule-2.0" >/dev/null 2>&1; then
14715    xdg_cv_version=`$PKG_CONFIG --modversion "gmodule-2.0"`
14716    { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5
14717$as_echo "found, but $xdt_cv_version" >&6; }
14718
14719
14720      echo "*** The required package gmodule-2.0 was found on your system,"
14721      echo "*** but the installed version ($xdt_cv_version) is too old."
14722      echo "*** Please upgrade gmodule-2.0 to atleast version 2.22.5, or adjust"
14723      echo "*** the PKG_CONFIG_PATH environment variable if you installed"
14724      echo "*** the new version of the package in a nonstandard prefix so"
14725      echo "*** pkg-config is able to find it."
14726      exit 1
14727
14728  else
14729    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14730$as_echo "not found" >&6; }
14731
14732
14733      echo "*** The required package gmodule-2.0 was not found on your system."
14734      echo "*** Please install gmodule-2.0 (atleast version 2.22.5) or adjust"
14735      echo "*** the PKG_CONFIG_PATH environment variable if you"
14736      echo "*** installed the package in a nonstandard prefix so that"
14737      echo "*** pkg-config is able to find it."
14738      exit 1
14739
14740  fi
14741
14742
14743
14744  # minimum supported version of pkg-config
14745  xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0
14746
14747  # lookup pkg-config utility
14748  if test x"$PKG_CONFIG" = x""; then
14749    # Extract the first word of "pkg-config", so it can be a program name with args.
14750set dummy pkg-config; ac_word=$2
14751{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14752$as_echo_n "checking for $ac_word... " >&6; }
14753if ${ac_cv_path_PKG_CONFIG+:} false; then :
14754  $as_echo_n "(cached) " >&6
14755else
14756  case $PKG_CONFIG in
14757  [\\/]* | ?:[\\/]*)
14758  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
14759  ;;
14760  *)
14761  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14762for as_dir in $PATH
14763do
14764  IFS=$as_save_IFS
14765  test -z "$as_dir" && as_dir=.
14766    for ac_exec_ext in '' $ac_executable_extensions; do
14767  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14768    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14769    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14770    break 2
14771  fi
14772done
14773  done
14774IFS=$as_save_IFS
14775
14776  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
14777  ;;
14778esac
14779fi
14780PKG_CONFIG=$ac_cv_path_PKG_CONFIG
14781if test -n "$PKG_CONFIG"; then
14782  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
14783$as_echo "$PKG_CONFIG" >&6; }
14784else
14785  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14786$as_echo "no" >&6; }
14787fi
14788
14789
14790
14791    if test x"$PKG_CONFIG" = x"no"; then
14792      echo "*** The pkg-config utility could not be found on your system."
14793      echo "*** Make sure it is in your path, or set the PKG_CONFIG"
14794      echo "*** environment variable to the full path to pkg-config."
14795      echo "*** You can download pkg-config from the freedesktop.org"
14796      echo "*** software repository at"
14797      echo "***"
14798      echo "***    http://www.freedesktop.org/software/pkgconfig"
14799      echo "***"
14800      exit 1
14801    fi
14802
14803    # check pkg-config version
14804    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION" >&5
14805$as_echo_n "checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION... " >&6; }
14806    if $PKG_CONFIG --atleast-pkgconfig-version $xdt_cv_PKG_CONFIG_MIN_VERSION; then
14807      xdt_cv_PKG_CONFIG_VERSION=`$PKG_CONFIG --version`
14808      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
14809$as_echo "$xdt_cv_PKG_CONFIG_VERSION" >&6; }
14810    else
14811      xdt_cv_PKG_CONFIG_VERSION=`$PKG_CONFIG --version`
14812      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
14813$as_echo "$xdt_cv_PKG_CONFIG_VERSION" >&6; }
14814      echo "*** Your version of pkg-config is too old. You need atleast"
14815      echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config "
14816      echo "*** from the freedesktop.org software repository at"
14817      echo "***"
14818      echo "***    http://www.freedesktop.org/software/pkgconfig"
14819      echo "***"
14820      exit 1
14821    fi
14822  fi
14823
14824
14825  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for librsvg-2.0 >= 2.26.0" >&5
14826$as_echo_n "checking for librsvg-2.0 >= 2.26.0... " >&6; }
14827  if $PKG_CONFIG "--atleast-version=2.26.0" "librsvg-2.0" >/dev/null 2>&1; then
14828    LIBRSVG_VERSION=`$PKG_CONFIG --modversion "librsvg-2.0"`
14829    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBRSVG_VERSION" >&5
14830$as_echo "$LIBRSVG_VERSION" >&6; }
14831
14832    { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBRSVG_CFLAGS" >&5
14833$as_echo_n "checking LIBRSVG_CFLAGS... " >&6; }
14834    LIBRSVG_CFLAGS=`$PKG_CONFIG --cflags "librsvg-2.0"`
14835    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBRSVG_CFLAGS" >&5
14836$as_echo "$LIBRSVG_CFLAGS" >&6; }
14837
14838    { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBRSVG_LIBS" >&5
14839$as_echo_n "checking LIBRSVG_LIBS... " >&6; }
14840    LIBRSVG_LIBS=`$PKG_CONFIG --libs "librsvg-2.0"`
14841    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBRSVG_LIBS" >&5
14842$as_echo "$LIBRSVG_LIBS" >&6; }
14843
14844    LIBRSVG_REQUIRED_VERSION=2.26.0
14845
14846
14847
14848
14849
14850
14851
14852  elif $PKG_CONFIG --exists "librsvg-2.0" >/dev/null 2>&1; then
14853    xdg_cv_version=`$PKG_CONFIG --modversion "librsvg-2.0"`
14854    { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5
14855$as_echo "found, but $xdt_cv_version" >&6; }
14856
14857
14858      echo "*** The required package librsvg-2.0 was found on your system,"
14859      echo "*** but the installed version ($xdt_cv_version) is too old."
14860      echo "*** Please upgrade librsvg-2.0 to atleast version 2.26.0, or adjust"
14861      echo "*** the PKG_CONFIG_PATH environment variable if you installed"
14862      echo "*** the new version of the package in a nonstandard prefix so"
14863      echo "*** pkg-config is able to find it."
14864      exit 1
14865
14866  else
14867    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14868$as_echo "not found" >&6; }
14869
14870
14871      echo "*** The required package librsvg-2.0 was not found on your system."
14872      echo "*** Please install librsvg-2.0 (atleast version 2.26.0) or adjust"
14873      echo "*** the PKG_CONFIG_PATH environment variable if you"
14874      echo "*** installed the package in a nonstandard prefix so that"
14875      echo "*** pkg-config is able to find it."
14876      exit 1
14877
14878  fi
14879
14880
14881
14882  # minimum supported version of pkg-config
14883  xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0
14884
14885  # lookup pkg-config utility
14886  if test x"$PKG_CONFIG" = x""; then
14887    # Extract the first word of "pkg-config", so it can be a program name with args.
14888set dummy pkg-config; ac_word=$2
14889{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14890$as_echo_n "checking for $ac_word... " >&6; }
14891if ${ac_cv_path_PKG_CONFIG+:} false; then :
14892  $as_echo_n "(cached) " >&6
14893else
14894  case $PKG_CONFIG in
14895  [\\/]* | ?:[\\/]*)
14896  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
14897  ;;
14898  *)
14899  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14900for as_dir in $PATH
14901do
14902  IFS=$as_save_IFS
14903  test -z "$as_dir" && as_dir=.
14904    for ac_exec_ext in '' $ac_executable_extensions; do
14905  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14906    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14907    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14908    break 2
14909  fi
14910done
14911  done
14912IFS=$as_save_IFS
14913
14914  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
14915  ;;
14916esac
14917fi
14918PKG_CONFIG=$ac_cv_path_PKG_CONFIG
14919if test -n "$PKG_CONFIG"; then
14920  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
14921$as_echo "$PKG_CONFIG" >&6; }
14922else
14923  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14924$as_echo "no" >&6; }
14925fi
14926
14927
14928
14929    if test x"$PKG_CONFIG" = x"no"; then
14930      echo "*** The pkg-config utility could not be found on your system."
14931      echo "*** Make sure it is in your path, or set the PKG_CONFIG"
14932      echo "*** environment variable to the full path to pkg-config."
14933      echo "*** You can download pkg-config from the freedesktop.org"
14934      echo "*** software repository at"
14935      echo "***"
14936      echo "***    http://www.freedesktop.org/software/pkgconfig"
14937      echo "***"
14938      exit 1
14939    fi
14940
14941    # check pkg-config version
14942    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION" >&5
14943$as_echo_n "checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION... " >&6; }
14944    if $PKG_CONFIG --atleast-pkgconfig-version $xdt_cv_PKG_CONFIG_MIN_VERSION; then
14945      xdt_cv_PKG_CONFIG_VERSION=`$PKG_CONFIG --version`
14946      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
14947$as_echo "$xdt_cv_PKG_CONFIG_VERSION" >&6; }
14948    else
14949      xdt_cv_PKG_CONFIG_VERSION=`$PKG_CONFIG --version`
14950      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
14951$as_echo "$xdt_cv_PKG_CONFIG_VERSION" >&6; }
14952      echo "*** Your version of pkg-config is too old. You need atleast"
14953      echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config "
14954      echo "*** from the freedesktop.org software repository at"
14955      echo "***"
14956      echo "***    http://www.freedesktop.org/software/pkgconfig"
14957      echo "***"
14958      exit 1
14959    fi
14960  fi
14961
14962
14963  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libxml-2.0 >= 2.4.0" >&5
14964$as_echo_n "checking for libxml-2.0 >= 2.4.0... " >&6; }
14965  if $PKG_CONFIG "--atleast-version=2.4.0" "libxml-2.0" >/dev/null 2>&1; then
14966    LIBXML_VERSION=`$PKG_CONFIG --modversion "libxml-2.0"`
14967    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXML_VERSION" >&5
14968$as_echo "$LIBXML_VERSION" >&6; }
14969
14970    { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBXML_CFLAGS" >&5
14971$as_echo_n "checking LIBXML_CFLAGS... " >&6; }
14972    LIBXML_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0"`
14973    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXML_CFLAGS" >&5
14974$as_echo "$LIBXML_CFLAGS" >&6; }
14975
14976    { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBXML_LIBS" >&5
14977$as_echo_n "checking LIBXML_LIBS... " >&6; }
14978    LIBXML_LIBS=`$PKG_CONFIG --libs "libxml-2.0"`
14979    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXML_LIBS" >&5
14980$as_echo "$LIBXML_LIBS" >&6; }
14981
14982    LIBXML_REQUIRED_VERSION=2.4.0
14983
14984
14985
14986
14987
14988
14989
14990  elif $PKG_CONFIG --exists "libxml-2.0" >/dev/null 2>&1; then
14991    xdg_cv_version=`$PKG_CONFIG --modversion "libxml-2.0"`
14992    { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5
14993$as_echo "found, but $xdt_cv_version" >&6; }
14994
14995
14996      echo "*** The required package libxml-2.0 was found on your system,"
14997      echo "*** but the installed version ($xdt_cv_version) is too old."
14998      echo "*** Please upgrade libxml-2.0 to atleast version 2.4.0, or adjust"
14999      echo "*** the PKG_CONFIG_PATH environment variable if you installed"
15000      echo "*** the new version of the package in a nonstandard prefix so"
15001      echo "*** pkg-config is able to find it."
15002      exit 1
15003
15004  else
15005    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15006$as_echo "not found" >&6; }
15007
15008
15009      echo "*** The required package libxml-2.0 was not found on your system."
15010      echo "*** Please install libxml-2.0 (atleast version 2.4.0) or adjust"
15011      echo "*** the PKG_CONFIG_PATH environment variable if you"
15012      echo "*** installed the package in a nonstandard prefix so that"
15013      echo "*** pkg-config is able to find it."
15014      exit 1
15015
15016  fi
15017
15018
15019# check for libzip (obsolete)
15020# XDT_CHECK_OPTIONAL_PACKAGE( [LIBZIP], [libzip], [0.9], [libzip], [libzip (to view opendocument previews)], @MIMEZIP_M@)
15021#XDT_CHECK_PACKAGE([GLIB], [glib-2.0], [2.26.0])
15022
15023
15024  # minimum supported version of pkg-config
15025  xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0
15026
15027  # lookup pkg-config utility
15028  if test x"$PKG_CONFIG" = x""; then
15029    # Extract the first word of "pkg-config", so it can be a program name with args.
15030set dummy pkg-config; ac_word=$2
15031{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15032$as_echo_n "checking for $ac_word... " >&6; }
15033if ${ac_cv_path_PKG_CONFIG+:} false; then :
15034  $as_echo_n "(cached) " >&6
15035else
15036  case $PKG_CONFIG in
15037  [\\/]* | ?:[\\/]*)
15038  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
15039  ;;
15040  *)
15041  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15042for as_dir in $PATH
15043do
15044  IFS=$as_save_IFS
15045  test -z "$as_dir" && as_dir=.
15046    for ac_exec_ext in '' $ac_executable_extensions; do
15047  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15048    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15049    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15050    break 2
15051  fi
15052done
15053  done
15054IFS=$as_save_IFS
15055
15056  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
15057  ;;
15058esac
15059fi
15060PKG_CONFIG=$ac_cv_path_PKG_CONFIG
15061if test -n "$PKG_CONFIG"; then
15062  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
15063$as_echo "$PKG_CONFIG" >&6; }
15064else
15065  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15066$as_echo "no" >&6; }
15067fi
15068
15069
15070
15071    if test x"$PKG_CONFIG" = x"no"; then
15072      echo "*** The pkg-config utility could not be found on your system."
15073      echo "*** Make sure it is in your path, or set the PKG_CONFIG"
15074      echo "*** environment variable to the full path to pkg-config."
15075      echo "*** You can download pkg-config from the freedesktop.org"
15076      echo "*** software repository at"
15077      echo "***"
15078      echo "***    http://www.freedesktop.org/software/pkgconfig"
15079      echo "***"
15080      exit 1
15081    fi
15082
15083    # check pkg-config version
15084    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION" >&5
15085$as_echo_n "checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION... " >&6; }
15086    if $PKG_CONFIG --atleast-pkgconfig-version $xdt_cv_PKG_CONFIG_MIN_VERSION; then
15087      xdt_cv_PKG_CONFIG_VERSION=`$PKG_CONFIG --version`
15088      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
15089$as_echo "$xdt_cv_PKG_CONFIG_VERSION" >&6; }
15090    else
15091      xdt_cv_PKG_CONFIG_VERSION=`$PKG_CONFIG --version`
15092      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
15093$as_echo "$xdt_cv_PKG_CONFIG_VERSION" >&6; }
15094      echo "*** Your version of pkg-config is too old. You need atleast"
15095      echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config "
15096      echo "*** from the freedesktop.org software repository at"
15097      echo "***"
15098      echo "***    http://www.freedesktop.org/software/pkgconfig"
15099      echo "***"
15100      exit 1
15101    fi
15102  fi
15103
15104
15105  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glib-2.0 >= 2.22.5" >&5
15106$as_echo_n "checking for glib-2.0 >= 2.22.5... " >&6; }
15107  if $PKG_CONFIG "--atleast-version=2.22.5" "glib-2.0" >/dev/null 2>&1; then
15108    GLIB_VERSION=`$PKG_CONFIG --modversion "glib-2.0"`
15109    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_VERSION" >&5
15110$as_echo "$GLIB_VERSION" >&6; }
15111
15112    { $as_echo "$as_me:${as_lineno-$LINENO}: checking GLIB_CFLAGS" >&5
15113$as_echo_n "checking GLIB_CFLAGS... " >&6; }
15114    GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0"`
15115    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_CFLAGS" >&5
15116$as_echo "$GLIB_CFLAGS" >&6; }
15117
15118    { $as_echo "$as_me:${as_lineno-$LINENO}: checking GLIB_LIBS" >&5
15119$as_echo_n "checking GLIB_LIBS... " >&6; }
15120    GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0"`
15121    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_LIBS" >&5
15122$as_echo "$GLIB_LIBS" >&6; }
15123
15124    GLIB_REQUIRED_VERSION=2.22.5
15125
15126
15127
15128
15129
15130
15131
15132  elif $PKG_CONFIG --exists "glib-2.0" >/dev/null 2>&1; then
15133    xdg_cv_version=`$PKG_CONFIG --modversion "glib-2.0"`
15134    { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5
15135$as_echo "found, but $xdt_cv_version" >&6; }
15136
15137
15138      echo "*** The required package glib-2.0 was found on your system,"
15139      echo "*** but the installed version ($xdt_cv_version) is too old."
15140      echo "*** Please upgrade glib-2.0 to atleast version 2.22.5, or adjust"
15141      echo "*** the PKG_CONFIG_PATH environment variable if you installed"
15142      echo "*** the new version of the package in a nonstandard prefix so"
15143      echo "*** pkg-config is able to find it."
15144      exit 1
15145
15146  else
15147    { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15148$as_echo "not found" >&6; }
15149
15150
15151      echo "*** The required package glib-2.0 was not found on your system."
15152      echo "*** Please install glib-2.0 (atleast version 2.22.5) or adjust"
15153      echo "*** the PKG_CONFIG_PATH environment variable if you"
15154      echo "*** installed the package in a nonstandard prefix so that"
15155      echo "*** pkg-config is able to find it."
15156      exit 1
15157
15158  fi
15159
15160
15161RFM_EXTRA_CFLAGS=
15162
15163RFM_EXTRA_LIBS=
15164
15165
15166#AC_DEFINE([RC_DIR],["rfm-tag()"],[Resource directory])
15167
15168#AC_SUBST(RC_DIR)
15169
15170#AC_MSG_NOTICE([Resource directory: $RC_DIR.])
15171
15172# Check whether --with-tcmalloc was given.
15173if test "${with_tcmalloc+set}" = set; then :
15174  withval=$with_tcmalloc;
15175fi
15176
15177
15178if test "$with_tcmalloc" = "yes"; then
15179
15180cat >>confdefs.h <<_ACEOF
15181#define TCMALLOC $with_tcmalloc
15182_ACEOF
15183
15184    TCMALLOC="-L/usr/local/lib/ -ltcmalloc"
15185else
15186    TCMALLOC=
15187fi
15188
15189
15190RFM_VERINFO=1:0:0
15191
15192
15193ac_config_headers="$ac_config_headers config.h"
15194
15195
15196# Configurable options at script execution
15197# Enable Debug (and core dumps)
15198
15199
15200# Check whether --with-debug was given.
15201if test "${with_debug+set}" = set; then :
15202  withval=$with_debug;
15203fi
15204
15205if test "$with_debug" = "yes"
15206then
15207	 WITH_CORE=yes
15208
15209
15210cat >>confdefs.h <<_ACEOF
15211#define CORE $with_core
15212_ACEOF
15213
15214	 WITH_DEBUG=yes
15215
15216
15217cat >>confdefs.h <<_ACEOF
15218#define DEBUG $with_debug
15219_ACEOF
15220
15221	{ $as_echo "$as_me:${as_lineno-$LINENO}: You enabled debug. Good for you." >&5
15222$as_echo "$as_me: You enabled debug. Good for you." >&6;}
15223	DB=--with-debug
15224	CFLAGS="-O0 -ggdb"
15225elif test "$with_debug" != ""
15226then
15227	 WITH_CORE=yes
15228
15229
15230cat >>confdefs.h <<_ACEOF
15231#define CORE $with_core
15232_ACEOF
15233
15234	 WITH_DEBUG=yes
15235	{ $as_echo "$as_me:${as_lineno-$LINENO}: Your specific kind of debug is $with_debug" >&5
15236$as_echo "$as_me: Your specific kind of debug is $with_debug" >&6;}
15237
15238
15239cat >>confdefs.h <<_ACEOF
15240#define DEBUG $with_debug
15241_ACEOF
15242
15243	CFLAGS="-O0 -ggdb"
15244
15245else
15246	 WITH_DEBUG=no
15247	{ $as_echo "$as_me:${as_lineno-$LINENO}: No debug for you." >&5
15248$as_echo "$as_me: No debug for you." >&6;}
15249	CFLAGS="-O2"
15250fi
15251
15252# Enable Trace (not really useful)
15253
15254
15255# Check whether --with-trace was given.
15256if test "${with_trace+set}" = set; then :
15257  withval=$with_trace;
15258fi
15259
15260if test "$with_trace" = "yes"
15261then
15262	 WITH_CORE=yes
15263
15264
15265cat >>confdefs.h <<_ACEOF
15266#define CORE $with_core
15267_ACEOF
15268
15269	{ $as_echo "$as_me:${as_lineno-$LINENO}: You enabled trace. Good for you." >&5
15270$as_echo "$as_me: You enabled trace. Good for you." >&6;}
15271	 WITH_TRACE=yes
15272	DEBUG_TRACE=yes
15273
15274
15275cat >>confdefs.h <<_ACEOF
15276#define DEBUG_TRACE $with_trace
15277_ACEOF
15278
15279	TR=--with-trace
15280elif test "$with_trace" != ""
15281then
15282	 WITH_CORE=yes
15283
15284
15285cat >>confdefs.h <<_ACEOF
15286#define CORE $with_core
15287_ACEOF
15288
15289	 WITH_TRACE=yes
15290	DEBUG_TRACE=yes
15291
15292
15293cat >>confdefs.h <<_ACEOF
15294#define DEBUG_TRACE $with_trace
15295_ACEOF
15296
15297	{ $as_echo "$as_me:${as_lineno-$LINENO}: Your specific kind of trace is $with_trace" >&5
15298$as_echo "$as_me: Your specific kind of trace is $with_trace" >&6;}
15299else
15300	 WITH_TRACE=no
15301
15302	{ $as_echo "$as_me:${as_lineno-$LINENO}: No trace for you." >&5
15303$as_echo "$as_me: No trace for you." >&6;}
15304fi
15305
15306# Enable core dumps
15307
15308
15309# Check whether --with-core was given.
15310if test "${with_core+set}" = set; then :
15311  withval=$with_core;
15312fi
15313
15314if test "$with_core" = "yes"
15315then
15316	 WITH_CORE=yes
15317
15318
15319cat >>confdefs.h <<_ACEOF
15320#define CORE $with_core
15321_ACEOF
15322
15323	{ $as_echo "$as_me:${as_lineno-$LINENO}: You enabled core dumps. Good for you." >&5
15324$as_echo "$as_me: You enabled core dumps. Good for you." >&6;}
15325	CFLAGS="-O0 -ggdb"
15326elif test "$with_core" != ""
15327then
15328	 WITH_CORE=yes
15329	{ $as_echo "$as_me:${as_lineno-$LINENO}: Your specific kind of core dumps is $with_core" >&5
15330$as_echo "$as_me: Your specific kind of core dumps is $with_core" >&6;}
15331
15332
15333cat >>confdefs.h <<_ACEOF
15334#define CORE $with_core
15335_ACEOF
15336
15337	CFLAGS="-O0 -ggdb"
15338
15339else
15340	 WITH_CORE=no
15341	{ $as_echo "$as_me:${as_lineno-$LINENO}: No core dumps for you." >&5
15342$as_echo "$as_me: No core dumps for you." >&6;}
15343fi
15344
15345
15346
15347
15348  # Check whether --enable-bcrypt was given.
15349if test "${enable_bcrypt+set}" = set; then :
15350  enableval=$enable_bcrypt;
15351fi
15352
15353   if test x$enable_bcrypt = xyes || ( test x$enable_bcrypt = x && test xyes=xyes ); then
15354  WANT_BCRYPT_P_TRUE=
15355  WANT_BCRYPT_P_FALSE='#'
15356else
15357  WANT_BCRYPT_P_TRUE='#'
15358  WANT_BCRYPT_P_FALSE=
15359fi
15360
15361
15362  if test x$enable_bcrypt = xno; then
15363	WITH_BCRYPT=no
15364  else
15365    if test x$enable_bcrypt = xyes; then
15366	WITH_BCRYPT=yes
15367    else
15368	WITH_BCRYPT=yes
15369    fi
15370  fi
15371
15372
15373
15374  # Check whether --enable-completion was given.
15375if test "${enable_completion+set}" = set; then :
15376  enableval=$enable_completion;
15377fi
15378
15379   if test x$enable_completion = xyes || ( test x$enable_completion = x && test xyes=xyes ); then
15380  WANT_COMPLETION_P_TRUE=
15381  WANT_COMPLETION_P_FALSE='#'
15382else
15383  WANT_COMPLETION_P_TRUE='#'
15384  WANT_COMPLETION_P_FALSE=
15385fi
15386
15387
15388  if test x$enable_completion = xno; then
15389	WITH_COMPLETION=no
15390  else
15391    if test x$enable_completion = xyes; then
15392	WITH_COMPLETION=yes
15393    else
15394	WITH_COMPLETION=yes
15395    fi
15396  fi
15397
15398
15399
15400  # Check whether --enable-ecombo was given.
15401if test "${enable_ecombo+set}" = set; then :
15402  enableval=$enable_ecombo;
15403fi
15404
15405   if test x$enable_ecombo = xyes || ( test x$enable_ecombo = x && test xyes=xyes ); then
15406  WANT_COMBOBOX_P_TRUE=
15407  WANT_COMBOBOX_P_FALSE='#'
15408else
15409  WANT_COMBOBOX_P_TRUE='#'
15410  WANT_COMBOBOX_P_FALSE=
15411fi
15412
15413
15414  if test x$enable_ecombo = xno; then
15415	WITH_COMBOBOX=no
15416  else
15417    if test x$enable_ecombo = xyes; then
15418	WITH_COMBOBOX=yes
15419    else
15420	WITH_COMBOBOX=yes
15421    fi
15422  fi
15423
15424
15425
15426  # Check whether --enable-props was given.
15427if test "${enable_props+set}" = set; then :
15428  enableval=$enable_props;
15429fi
15430
15431   if test x$enable_props = xyes || ( test x$enable_props = x && test xyes=xyes ); then
15432  WANT_PROPERTIES_P_TRUE=
15433  WANT_PROPERTIES_P_FALSE='#'
15434else
15435  WANT_PROPERTIES_P_TRUE='#'
15436  WANT_PROPERTIES_P_FALSE=
15437fi
15438
15439
15440  if test x$enable_props = xno; then
15441	WITH_PROPERTIES=no
15442  else
15443    if test x$enable_props = xyes; then
15444	WITH_PROPERTIES=yes
15445    else
15446	WITH_PROPERTIES=yes
15447    fi
15448  fi
15449
15450
15451
15452  # Check whether --enable-mime was given.
15453if test "${enable_mime+set}" = set; then :
15454  enableval=$enable_mime;
15455fi
15456
15457   if test x$enable_mime = xyes || ( test x$enable_mime = x && test xyes=xyes ); then
15458  WANT_MIME_P_TRUE=
15459  WANT_MIME_P_FALSE='#'
15460else
15461  WANT_MIME_P_TRUE='#'
15462  WANT_MIME_P_FALSE=
15463fi
15464
15465
15466  if test x$enable_mime = xno; then
15467	WITH_MIME=no
15468  else
15469    if test x$enable_mime = xyes; then
15470	WITH_MIME=yes
15471    else
15472	WITH_MIME=yes
15473    fi
15474  fi
15475
15476
15477
15478  # Check whether --enable-mmagic was given.
15479if test "${enable_mmagic+set}" = set; then :
15480  enableval=$enable_mmagic;
15481fi
15482
15483   if test x$enable_mmagic = xyes || ( test x$enable_mmagic = x && test xyes=xyes ); then
15484  WANT_MMAGIC_P_TRUE=
15485  WANT_MMAGIC_P_FALSE='#'
15486else
15487  WANT_MMAGIC_P_TRUE='#'
15488  WANT_MMAGIC_P_FALSE=
15489fi
15490
15491
15492  if test x$enable_mmagic = xno; then
15493	WITH_MMAGIC=no
15494  else
15495    if test x$enable_mmagic = xyes; then
15496	WITH_MMAGIC=yes
15497    else
15498	WITH_MMAGIC=yes
15499    fi
15500  fi
15501
15502
15503
15504  # Check whether --enable-zmagic was given.
15505if test "${enable_zmagic+set}" = set; then :
15506  enableval=$enable_zmagic;
15507fi
15508
15509   if test x$enable_zmagic = xyes || ( test x$enable_zmagic = x && test xyes=xyes ); then
15510  WANT_ZMAGIC_P_TRUE=
15511  WANT_ZMAGIC_P_FALSE='#'
15512else
15513  WANT_ZMAGIC_P_TRUE='#'
15514  WANT_ZMAGIC_P_FALSE=
15515fi
15516
15517
15518  if test x$enable_zmagic = xno; then
15519	WITH_ZMAGIC=no
15520  else
15521    if test x$enable_zmagic = xyes; then
15522	WITH_ZMAGIC=yes
15523    else
15524	WITH_ZMAGIC=yes
15525    fi
15526  fi
15527
15528
15529
15530  # Check whether --enable-icontheme was given.
15531if test "${enable_icontheme+set}" = set; then :
15532  enableval=$enable_icontheme;
15533fi
15534
15535   if test x$enable_icontheme = xyes || ( test x$enable_icontheme = x && test xyes=xyes ); then
15536  WANT_ICON_P_TRUE=
15537  WANT_ICON_P_FALSE='#'
15538else
15539  WANT_ICON_P_TRUE='#'
15540  WANT_ICON_P_FALSE=
15541fi
15542
15543
15544  if test x$enable_icontheme = xno; then
15545	WITH_ICON=no
15546  else
15547    if test x$enable_icontheme = xyes; then
15548	WITH_ICON=yes
15549    else
15550	WITH_ICON=yes
15551    fi
15552  fi
15553
15554
15555#RFM_CORE_ON
15556
15557
15558# Check whether --with-mpt was given.
15559if test "${with_mpt+set}" = set; then :
15560  withval=$with_mpt;
15561fi
15562
15563if test "$with_mpt" != ""
15564then
15565	 WITH_MPT=$with_mpt
15566
15567cat >>confdefs.h <<_ACEOF
15568#define MAX_PREVIEW_THREADS $with_mpt
15569_ACEOF
15570
15571	{ $as_echo "$as_me:${as_lineno-$LINENO}: Maximum preview threads set to $with_mpt" >&5
15572$as_echo "$as_me: Maximum preview threads set to $with_mpt" >&6;}
15573else
15574	 WITH_MPT=4
15575
15576cat >>confdefs.h <<_ACEOF
15577#define MAX_PREVIEW_THREADS 4
15578_ACEOF
15579
15580	{ $as_echo "$as_me:${as_lineno-$LINENO}: Maximum preview threads set to 4" >&5
15581$as_echo "$as_me: Maximum preview threads set to 4" >&6;}
15582fi
15583
15584
15585DESCRIPTION="Rodent utility primary library"
15586
15587HOMEPAGE="http://xffm.org/librfm"
15588
15589cat >>confdefs.h <<_ACEOF
15590#define HOMEPAGE "http://xffm.org/librfm"
15591_ACEOF
15592
15593
15594SRC_URI="http://sourceforge.net/projects/xffm/files/librfm"/5.3.16.4/librfm5-5.3.16.4.tar.gz
15595
15596LICENSE="  GNU General Public License version 3  "
15597
15598
15599cat >>confdefs.h <<_ACEOF
15600#define LICENSE "  GNU General Public License version 3  "
15601_ACEOF
15602
15603
15604BUGMAIL=https://sourceforge.net/p/xffm/_list/tickets
15605
15606
15607cat >>confdefs.h <<_ACEOF
15608#define BUGMAIL https://sourceforge.net/p/xffm/_list/tickets
15609_ACEOF
15610
15611MASTER_SITE="http://sourceforge.net/projects/xffm/files/librfm"
15612
15613
15614DBH_FILE_VERSION="DBH_2.0/64bit"
15615
15616
15617{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
15618$as_echo_n "checking for library containing strerror... " >&6; }
15619if ${ac_cv_search_strerror+:} false; then :
15620  $as_echo_n "(cached) " >&6
15621else
15622  ac_func_search_save_LIBS=$LIBS
15623cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15624/* end confdefs.h.  */
15625
15626/* Override any GCC internal prototype to avoid an error.
15627   Use char because int might match the return type of a GCC
15628   builtin and then its argument prototype would still apply.  */
15629#ifdef __cplusplus
15630extern "C"
15631#endif
15632char strerror ();
15633int
15634main ()
15635{
15636return strerror ();
15637  ;
15638  return 0;
15639}
15640_ACEOF
15641for ac_lib in '' cposix; do
15642  if test -z "$ac_lib"; then
15643    ac_res="none required"
15644  else
15645    ac_res=-l$ac_lib
15646    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
15647  fi
15648  if ac_fn_c_try_link "$LINENO"; then :
15649  ac_cv_search_strerror=$ac_res
15650fi
15651rm -f core conftest.err conftest.$ac_objext \
15652    conftest$ac_exeext
15653  if ${ac_cv_search_strerror+:} false; then :
15654  break
15655fi
15656done
15657if ${ac_cv_search_strerror+:} false; then :
15658
15659else
15660  ac_cv_search_strerror=no
15661fi
15662rm conftest.$ac_ext
15663LIBS=$ac_func_search_save_LIBS
15664fi
15665{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
15666$as_echo "$ac_cv_search_strerror" >&6; }
15667ac_res=$ac_cv_search_strerror
15668if test "$ac_res" != no; then :
15669  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15670
15671fi
15672
15673
15674ac_ext=c
15675ac_cpp='$CPP $CPPFLAGS'
15676ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15677ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15678ac_compiler_gnu=$ac_cv_c_compiler_gnu
15679if test -n "$ac_tool_prefix"; then
15680  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
15681set dummy ${ac_tool_prefix}gcc; ac_word=$2
15682{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15683$as_echo_n "checking for $ac_word... " >&6; }
15684if ${ac_cv_prog_CC+:} false; then :
15685  $as_echo_n "(cached) " >&6
15686else
15687  if test -n "$CC"; then
15688  ac_cv_prog_CC="$CC" # Let the user override the test.
15689else
15690as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15691for as_dir in $PATH
15692do
15693  IFS=$as_save_IFS
15694  test -z "$as_dir" && as_dir=.
15695    for ac_exec_ext in '' $ac_executable_extensions; do
15696  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15697    ac_cv_prog_CC="${ac_tool_prefix}gcc"
15698    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15699    break 2
15700  fi
15701done
15702  done
15703IFS=$as_save_IFS
15704
15705fi
15706fi
15707CC=$ac_cv_prog_CC
15708if test -n "$CC"; then
15709  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
15710$as_echo "$CC" >&6; }
15711else
15712  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15713$as_echo "no" >&6; }
15714fi
15715
15716
15717fi
15718if test -z "$ac_cv_prog_CC"; then
15719  ac_ct_CC=$CC
15720  # Extract the first word of "gcc", so it can be a program name with args.
15721set dummy gcc; ac_word=$2
15722{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15723$as_echo_n "checking for $ac_word... " >&6; }
15724if ${ac_cv_prog_ac_ct_CC+:} false; then :
15725  $as_echo_n "(cached) " >&6
15726else
15727  if test -n "$ac_ct_CC"; then
15728  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
15729else
15730as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15731for as_dir in $PATH
15732do
15733  IFS=$as_save_IFS
15734  test -z "$as_dir" && as_dir=.
15735    for ac_exec_ext in '' $ac_executable_extensions; do
15736  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15737    ac_cv_prog_ac_ct_CC="gcc"
15738    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15739    break 2
15740  fi
15741done
15742  done
15743IFS=$as_save_IFS
15744
15745fi
15746fi
15747ac_ct_CC=$ac_cv_prog_ac_ct_CC
15748if test -n "$ac_ct_CC"; then
15749  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
15750$as_echo "$ac_ct_CC" >&6; }
15751else
15752  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15753$as_echo "no" >&6; }
15754fi
15755
15756  if test "x$ac_ct_CC" = x; then
15757    CC=""
15758  else
15759    case $cross_compiling:$ac_tool_warned in
15760yes:)
15761{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15762$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15763ac_tool_warned=yes ;;
15764esac
15765    CC=$ac_ct_CC
15766  fi
15767else
15768  CC="$ac_cv_prog_CC"
15769fi
15770
15771if test -z "$CC"; then
15772          if test -n "$ac_tool_prefix"; then
15773    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
15774set dummy ${ac_tool_prefix}cc; ac_word=$2
15775{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15776$as_echo_n "checking for $ac_word... " >&6; }
15777if ${ac_cv_prog_CC+:} false; then :
15778  $as_echo_n "(cached) " >&6
15779else
15780  if test -n "$CC"; then
15781  ac_cv_prog_CC="$CC" # Let the user override the test.
15782else
15783as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15784for as_dir in $PATH
15785do
15786  IFS=$as_save_IFS
15787  test -z "$as_dir" && as_dir=.
15788    for ac_exec_ext in '' $ac_executable_extensions; do
15789  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15790    ac_cv_prog_CC="${ac_tool_prefix}cc"
15791    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15792    break 2
15793  fi
15794done
15795  done
15796IFS=$as_save_IFS
15797
15798fi
15799fi
15800CC=$ac_cv_prog_CC
15801if test -n "$CC"; then
15802  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
15803$as_echo "$CC" >&6; }
15804else
15805  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15806$as_echo "no" >&6; }
15807fi
15808
15809
15810  fi
15811fi
15812if test -z "$CC"; then
15813  # Extract the first word of "cc", so it can be a program name with args.
15814set dummy cc; ac_word=$2
15815{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15816$as_echo_n "checking for $ac_word... " >&6; }
15817if ${ac_cv_prog_CC+:} false; then :
15818  $as_echo_n "(cached) " >&6
15819else
15820  if test -n "$CC"; then
15821  ac_cv_prog_CC="$CC" # Let the user override the test.
15822else
15823  ac_prog_rejected=no
15824as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15825for as_dir in $PATH
15826do
15827  IFS=$as_save_IFS
15828  test -z "$as_dir" && as_dir=.
15829    for ac_exec_ext in '' $ac_executable_extensions; do
15830  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15831    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
15832       ac_prog_rejected=yes
15833       continue
15834     fi
15835    ac_cv_prog_CC="cc"
15836    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15837    break 2
15838  fi
15839done
15840  done
15841IFS=$as_save_IFS
15842
15843if test $ac_prog_rejected = yes; then
15844  # We found a bogon in the path, so make sure we never use it.
15845  set dummy $ac_cv_prog_CC
15846  shift
15847  if test $# != 0; then
15848    # We chose a different compiler from the bogus one.
15849    # However, it has the same basename, so the bogon will be chosen
15850    # first if we set CC to just the basename; use the full file name.
15851    shift
15852    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
15853  fi
15854fi
15855fi
15856fi
15857CC=$ac_cv_prog_CC
15858if test -n "$CC"; then
15859  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
15860$as_echo "$CC" >&6; }
15861else
15862  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15863$as_echo "no" >&6; }
15864fi
15865
15866
15867fi
15868if test -z "$CC"; then
15869  if test -n "$ac_tool_prefix"; then
15870  for ac_prog in cl.exe
15871  do
15872    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
15873set dummy $ac_tool_prefix$ac_prog; ac_word=$2
15874{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15875$as_echo_n "checking for $ac_word... " >&6; }
15876if ${ac_cv_prog_CC+:} false; then :
15877  $as_echo_n "(cached) " >&6
15878else
15879  if test -n "$CC"; then
15880  ac_cv_prog_CC="$CC" # Let the user override the test.
15881else
15882as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15883for as_dir in $PATH
15884do
15885  IFS=$as_save_IFS
15886  test -z "$as_dir" && as_dir=.
15887    for ac_exec_ext in '' $ac_executable_extensions; do
15888  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15889    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
15890    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15891    break 2
15892  fi
15893done
15894  done
15895IFS=$as_save_IFS
15896
15897fi
15898fi
15899CC=$ac_cv_prog_CC
15900if test -n "$CC"; then
15901  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
15902$as_echo "$CC" >&6; }
15903else
15904  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15905$as_echo "no" >&6; }
15906fi
15907
15908
15909    test -n "$CC" && break
15910  done
15911fi
15912if test -z "$CC"; then
15913  ac_ct_CC=$CC
15914  for ac_prog in cl.exe
15915do
15916  # Extract the first word of "$ac_prog", so it can be a program name with args.
15917set dummy $ac_prog; ac_word=$2
15918{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15919$as_echo_n "checking for $ac_word... " >&6; }
15920if ${ac_cv_prog_ac_ct_CC+:} false; then :
15921  $as_echo_n "(cached) " >&6
15922else
15923  if test -n "$ac_ct_CC"; then
15924  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
15925else
15926as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15927for as_dir in $PATH
15928do
15929  IFS=$as_save_IFS
15930  test -z "$as_dir" && as_dir=.
15931    for ac_exec_ext in '' $ac_executable_extensions; do
15932  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15933    ac_cv_prog_ac_ct_CC="$ac_prog"
15934    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15935    break 2
15936  fi
15937done
15938  done
15939IFS=$as_save_IFS
15940
15941fi
15942fi
15943ac_ct_CC=$ac_cv_prog_ac_ct_CC
15944if test -n "$ac_ct_CC"; then
15945  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
15946$as_echo "$ac_ct_CC" >&6; }
15947else
15948  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15949$as_echo "no" >&6; }
15950fi
15951
15952
15953  test -n "$ac_ct_CC" && break
15954done
15955
15956  if test "x$ac_ct_CC" = x; then
15957    CC=""
15958  else
15959    case $cross_compiling:$ac_tool_warned in
15960yes:)
15961{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15962$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15963ac_tool_warned=yes ;;
15964esac
15965    CC=$ac_ct_CC
15966  fi
15967fi
15968
15969fi
15970
15971
15972test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15973$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15974as_fn_error $? "no acceptable C compiler found in \$PATH
15975See \`config.log' for more details" "$LINENO" 5; }
15976
15977# Provide some information about the compiler.
15978$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
15979set X $ac_compile
15980ac_compiler=$2
15981for ac_option in --version -v -V -qversion; do
15982  { { ac_try="$ac_compiler $ac_option >&5"
15983case "(($ac_try" in
15984  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15985  *) ac_try_echo=$ac_try;;
15986esac
15987eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
15988$as_echo "$ac_try_echo"; } >&5
15989  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
15990  ac_status=$?
15991  if test -s conftest.err; then
15992    sed '10a\
15993... rest of stderr output deleted ...
15994         10q' conftest.err >conftest.er1
15995    cat conftest.er1 >&5
15996  fi
15997  rm -f conftest.er1 conftest.err
15998  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15999  test $ac_status = 0; }
16000done
16001
16002{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
16003$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
16004if ${ac_cv_c_compiler_gnu+:} false; then :
16005  $as_echo_n "(cached) " >&6
16006else
16007  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16008/* end confdefs.h.  */
16009
16010int
16011main ()
16012{
16013#ifndef __GNUC__
16014       choke me
16015#endif
16016
16017  ;
16018  return 0;
16019}
16020_ACEOF
16021if ac_fn_c_try_compile "$LINENO"; then :
16022  ac_compiler_gnu=yes
16023else
16024  ac_compiler_gnu=no
16025fi
16026rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16027ac_cv_c_compiler_gnu=$ac_compiler_gnu
16028
16029fi
16030{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
16031$as_echo "$ac_cv_c_compiler_gnu" >&6; }
16032if test $ac_compiler_gnu = yes; then
16033  GCC=yes
16034else
16035  GCC=
16036fi
16037ac_test_CFLAGS=${CFLAGS+set}
16038ac_save_CFLAGS=$CFLAGS
16039{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
16040$as_echo_n "checking whether $CC accepts -g... " >&6; }
16041if ${ac_cv_prog_cc_g+:} false; then :
16042  $as_echo_n "(cached) " >&6
16043else
16044  ac_save_c_werror_flag=$ac_c_werror_flag
16045   ac_c_werror_flag=yes
16046   ac_cv_prog_cc_g=no
16047   CFLAGS="-g"
16048   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16049/* end confdefs.h.  */
16050
16051int
16052main ()
16053{
16054
16055  ;
16056  return 0;
16057}
16058_ACEOF
16059if ac_fn_c_try_compile "$LINENO"; then :
16060  ac_cv_prog_cc_g=yes
16061else
16062  CFLAGS=""
16063      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16064/* end confdefs.h.  */
16065
16066int
16067main ()
16068{
16069
16070  ;
16071  return 0;
16072}
16073_ACEOF
16074if ac_fn_c_try_compile "$LINENO"; then :
16075
16076else
16077  ac_c_werror_flag=$ac_save_c_werror_flag
16078	 CFLAGS="-g"
16079	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16080/* end confdefs.h.  */
16081
16082int
16083main ()
16084{
16085
16086  ;
16087  return 0;
16088}
16089_ACEOF
16090if ac_fn_c_try_compile "$LINENO"; then :
16091  ac_cv_prog_cc_g=yes
16092fi
16093rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16094fi
16095rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16096fi
16097rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16098   ac_c_werror_flag=$ac_save_c_werror_flag
16099fi
16100{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
16101$as_echo "$ac_cv_prog_cc_g" >&6; }
16102if test "$ac_test_CFLAGS" = set; then
16103  CFLAGS=$ac_save_CFLAGS
16104elif test $ac_cv_prog_cc_g = yes; then
16105  if test "$GCC" = yes; then
16106    CFLAGS="-g -O2"
16107  else
16108    CFLAGS="-g"
16109  fi
16110else
16111  if test "$GCC" = yes; then
16112    CFLAGS="-O2"
16113  else
16114    CFLAGS=
16115  fi
16116fi
16117{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
16118$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
16119if ${ac_cv_prog_cc_c89+:} false; then :
16120  $as_echo_n "(cached) " >&6
16121else
16122  ac_cv_prog_cc_c89=no
16123ac_save_CC=$CC
16124cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16125/* end confdefs.h.  */
16126#include <stdarg.h>
16127#include <stdio.h>
16128struct stat;
16129/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
16130struct buf { int x; };
16131FILE * (*rcsopen) (struct buf *, struct stat *, int);
16132static char *e (p, i)
16133     char **p;
16134     int i;
16135{
16136  return p[i];
16137}
16138static char *f (char * (*g) (char **, int), char **p, ...)
16139{
16140  char *s;
16141  va_list v;
16142  va_start (v,p);
16143  s = g (p, va_arg (v,int));
16144  va_end (v);
16145  return s;
16146}
16147
16148/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
16149   function prototypes and stuff, but not '\xHH' hex character constants.
16150   These don't provoke an error unfortunately, instead are silently treated
16151   as 'x'.  The following induces an error, until -std is added to get
16152   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
16153   array size at least.  It's necessary to write '\x00'==0 to get something
16154   that's true only with -std.  */
16155int osf4_cc_array ['\x00' == 0 ? 1 : -1];
16156
16157/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
16158   inside strings and character constants.  */
16159#define FOO(x) 'x'
16160int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
16161
16162int test (int i, double x);
16163struct s1 {int (*f) (int a);};
16164struct s2 {int (*f) (double a);};
16165int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
16166int argc;
16167char **argv;
16168int
16169main ()
16170{
16171return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
16172  ;
16173  return 0;
16174}
16175_ACEOF
16176for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
16177	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
16178do
16179  CC="$ac_save_CC $ac_arg"
16180  if ac_fn_c_try_compile "$LINENO"; then :
16181  ac_cv_prog_cc_c89=$ac_arg
16182fi
16183rm -f core conftest.err conftest.$ac_objext
16184  test "x$ac_cv_prog_cc_c89" != "xno" && break
16185done
16186rm -f conftest.$ac_ext
16187CC=$ac_save_CC
16188
16189fi
16190# AC_CACHE_VAL
16191case "x$ac_cv_prog_cc_c89" in
16192  x)
16193    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
16194$as_echo "none needed" >&6; } ;;
16195  xno)
16196    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
16197$as_echo "unsupported" >&6; } ;;
16198  *)
16199    CC="$CC $ac_cv_prog_cc_c89"
16200    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
16201$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
16202esac
16203if test "x$ac_cv_prog_cc_c89" != xno; then :
16204
16205fi
16206
16207ac_ext=c
16208ac_cpp='$CPP $CPPFLAGS'
16209ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16210ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16211ac_compiler_gnu=$ac_cv_c_compiler_gnu
16212
16213ac_ext=c
16214ac_cpp='$CPP $CPPFLAGS'
16215ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16216ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16217ac_compiler_gnu=$ac_cv_c_compiler_gnu
16218{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
16219$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
16220if ${am_cv_prog_cc_c_o+:} false; then :
16221  $as_echo_n "(cached) " >&6
16222else
16223  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16224/* end confdefs.h.  */
16225
16226int
16227main ()
16228{
16229
16230  ;
16231  return 0;
16232}
16233_ACEOF
16234  # Make sure it works both with $CC and with simple cc.
16235  # Following AC_PROG_CC_C_O, we do the test twice because some
16236  # compilers refuse to overwrite an existing .o file with -o,
16237  # though they will create one.
16238  am_cv_prog_cc_c_o=yes
16239  for am_i in 1 2; do
16240    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
16241   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
16242   ac_status=$?
16243   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16244   (exit $ac_status); } \
16245         && test -f conftest2.$ac_objext; then
16246      : OK
16247    else
16248      am_cv_prog_cc_c_o=no
16249      break
16250    fi
16251  done
16252  rm -f core conftest*
16253  unset am_i
16254fi
16255{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
16256$as_echo "$am_cv_prog_cc_c_o" >&6; }
16257if test "$am_cv_prog_cc_c_o" != yes; then
16258   # Losing compiler, so override with the script.
16259   # FIXME: It is wrong to rewrite CC.
16260   # But if we don't then we get into trouble of one sort or another.
16261   # A longer-term fix would be to have automake use am__CC in this case,
16262   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
16263   CC="$am_aux_dir/compile $CC"
16264fi
16265ac_ext=c
16266ac_cpp='$CPP $CPPFLAGS'
16267ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16268ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16269ac_compiler_gnu=$ac_cv_c_compiler_gnu
16270
16271
16272
16273
16274
16275  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
16276$as_echo_n "checking whether NLS is requested... " >&6; }
16277    # Check whether --enable-nls was given.
16278if test "${enable_nls+set}" = set; then :
16279  enableval=$enable_nls; USE_NLS=$enableval
16280else
16281  USE_NLS=yes
16282fi
16283
16284  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
16285$as_echo "$USE_NLS" >&6; }
16286
16287
16288
16289
16290case "$am__api_version" in
16291    1.01234)
16292	as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
16293    ;;
16294    *)
16295    ;;
16296esac
16297
16298INTLTOOL_REQUIRED_VERSION_AS_INT=`echo  | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
16299INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
16300INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
16301if test -n ""; then
16302    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= " >&5
16303$as_echo_n "checking for intltool >= ... " >&6; }
16304    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
16305$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
16306    test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
16307	as_fn_error $? "Your intltool is too old.  You need intltool  or later." "$LINENO" 5
16308fi
16309
16310# Extract the first word of "intltool-update", so it can be a program name with args.
16311set dummy intltool-update; ac_word=$2
16312{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16313$as_echo_n "checking for $ac_word... " >&6; }
16314if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
16315  $as_echo_n "(cached) " >&6
16316else
16317  case $INTLTOOL_UPDATE in
16318  [\\/]* | ?:[\\/]*)
16319  ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
16320  ;;
16321  *)
16322  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16323for as_dir in $PATH
16324do
16325  IFS=$as_save_IFS
16326  test -z "$as_dir" && as_dir=.
16327    for ac_exec_ext in '' $ac_executable_extensions; do
16328  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16329    ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
16330    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16331    break 2
16332  fi
16333done
16334  done
16335IFS=$as_save_IFS
16336
16337  ;;
16338esac
16339fi
16340INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
16341if test -n "$INTLTOOL_UPDATE"; then
16342  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
16343$as_echo "$INTLTOOL_UPDATE" >&6; }
16344else
16345  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16346$as_echo "no" >&6; }
16347fi
16348
16349
16350# Extract the first word of "intltool-merge", so it can be a program name with args.
16351set dummy intltool-merge; ac_word=$2
16352{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16353$as_echo_n "checking for $ac_word... " >&6; }
16354if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
16355  $as_echo_n "(cached) " >&6
16356else
16357  case $INTLTOOL_MERGE in
16358  [\\/]* | ?:[\\/]*)
16359  ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
16360  ;;
16361  *)
16362  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16363for as_dir in $PATH
16364do
16365  IFS=$as_save_IFS
16366  test -z "$as_dir" && as_dir=.
16367    for ac_exec_ext in '' $ac_executable_extensions; do
16368  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16369    ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
16370    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16371    break 2
16372  fi
16373done
16374  done
16375IFS=$as_save_IFS
16376
16377  ;;
16378esac
16379fi
16380INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
16381if test -n "$INTLTOOL_MERGE"; then
16382  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
16383$as_echo "$INTLTOOL_MERGE" >&6; }
16384else
16385  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16386$as_echo "no" >&6; }
16387fi
16388
16389
16390# Extract the first word of "intltool-extract", so it can be a program name with args.
16391set dummy intltool-extract; ac_word=$2
16392{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16393$as_echo_n "checking for $ac_word... " >&6; }
16394if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
16395  $as_echo_n "(cached) " >&6
16396else
16397  case $INTLTOOL_EXTRACT in
16398  [\\/]* | ?:[\\/]*)
16399  ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
16400  ;;
16401  *)
16402  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16403for as_dir in $PATH
16404do
16405  IFS=$as_save_IFS
16406  test -z "$as_dir" && as_dir=.
16407    for ac_exec_ext in '' $ac_executable_extensions; do
16408  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16409    ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
16410    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16411    break 2
16412  fi
16413done
16414  done
16415IFS=$as_save_IFS
16416
16417  ;;
16418esac
16419fi
16420INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
16421if test -n "$INTLTOOL_EXTRACT"; then
16422  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
16423$as_echo "$INTLTOOL_EXTRACT" >&6; }
16424else
16425  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16426$as_echo "no" >&6; }
16427fi
16428
16429
16430if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
16431    as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
16432fi
16433
16434if test -z "$AM_DEFAULT_VERBOSITY"; then
16435  AM_DEFAULT_VERBOSITY=1
16436fi
16437
16438
16439INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))'
16440INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))'
16441INTLTOOL__v_MERGE_0='@echo "  ITMRG " $@;'
16442
16443
16444
16445
16446INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))'
16447intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))'
16448intltool__v_merge_options_0='-q'
16449
16450
16451
16452
16453  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 $< $@'
16454INTLTOOL_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 $< $@'
16455     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 $< $@'
16456     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 $< $@'
16457      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 $< $@'
16458     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 $< $@'
16459   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 $< $@'
16460    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 $< $@'
16461INTLTOOL_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 $< $@'
16462       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 $< $@'
16463      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 $< $@'
16464if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then
16465      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 $< $@'
16466else
16467      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'
16468fi
16469      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 $< $@'
16470      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 $< $@'
16471    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 $< $@'
16472  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 $< $@'
16473    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 $< $@'
16474    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 $< $@'
16475   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 $< $@'
16476
16477
16478
16479
16480
16481
16482
16483
16484
16485
16486
16487
16488
16489
16490
16491
16492
16493
16494
16495
16496
16497
16498
16499
16500
16501
16502
16503
16504
16505
16506
16507
16508
16509
16510
16511
16512
16513
16514
16515
16516
16517
16518
16519
16520
16521
16522
16523
16524
16525
16526
16527
16528
16529
16530
16531
16532
16533
16534
16535
16536
16537
16538
16539
16540
16541
16542
16543
16544
16545
16546
16547
16548
16549
16550
16551
16552
16553
16554
16555
16556
16557
16558
16559
16560
16561
16562
16563
16564
16565
16566
16567
16568
16569
16570
16571
16572
16573# Check the gettext tools to make sure they are GNU
16574# Extract the first word of "xgettext", so it can be a program name with args.
16575set dummy xgettext; ac_word=$2
16576{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16577$as_echo_n "checking for $ac_word... " >&6; }
16578if ${ac_cv_path_XGETTEXT+:} false; then :
16579  $as_echo_n "(cached) " >&6
16580else
16581  case $XGETTEXT in
16582  [\\/]* | ?:[\\/]*)
16583  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
16584  ;;
16585  *)
16586  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16587for as_dir in $PATH
16588do
16589  IFS=$as_save_IFS
16590  test -z "$as_dir" && as_dir=.
16591    for ac_exec_ext in '' $ac_executable_extensions; do
16592  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16593    ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
16594    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16595    break 2
16596  fi
16597done
16598  done
16599IFS=$as_save_IFS
16600
16601  ;;
16602esac
16603fi
16604XGETTEXT=$ac_cv_path_XGETTEXT
16605if test -n "$XGETTEXT"; then
16606  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
16607$as_echo "$XGETTEXT" >&6; }
16608else
16609  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16610$as_echo "no" >&6; }
16611fi
16612
16613
16614# Extract the first word of "msgmerge", so it can be a program name with args.
16615set dummy msgmerge; ac_word=$2
16616{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16617$as_echo_n "checking for $ac_word... " >&6; }
16618if ${ac_cv_path_MSGMERGE+:} false; then :
16619  $as_echo_n "(cached) " >&6
16620else
16621  case $MSGMERGE in
16622  [\\/]* | ?:[\\/]*)
16623  ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
16624  ;;
16625  *)
16626  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16627for as_dir in $PATH
16628do
16629  IFS=$as_save_IFS
16630  test -z "$as_dir" && as_dir=.
16631    for ac_exec_ext in '' $ac_executable_extensions; do
16632  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16633    ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
16634    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16635    break 2
16636  fi
16637done
16638  done
16639IFS=$as_save_IFS
16640
16641  ;;
16642esac
16643fi
16644MSGMERGE=$ac_cv_path_MSGMERGE
16645if test -n "$MSGMERGE"; then
16646  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
16647$as_echo "$MSGMERGE" >&6; }
16648else
16649  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16650$as_echo "no" >&6; }
16651fi
16652
16653
16654# Extract the first word of "msgfmt", so it can be a program name with args.
16655set dummy msgfmt; ac_word=$2
16656{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16657$as_echo_n "checking for $ac_word... " >&6; }
16658if ${ac_cv_path_MSGFMT+:} false; then :
16659  $as_echo_n "(cached) " >&6
16660else
16661  case $MSGFMT in
16662  [\\/]* | ?:[\\/]*)
16663  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
16664  ;;
16665  *)
16666  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16667for as_dir in $PATH
16668do
16669  IFS=$as_save_IFS
16670  test -z "$as_dir" && as_dir=.
16671    for ac_exec_ext in '' $ac_executable_extensions; do
16672  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16673    ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
16674    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16675    break 2
16676  fi
16677done
16678  done
16679IFS=$as_save_IFS
16680
16681  ;;
16682esac
16683fi
16684MSGFMT=$ac_cv_path_MSGFMT
16685if test -n "$MSGFMT"; then
16686  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
16687$as_echo "$MSGFMT" >&6; }
16688else
16689  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16690$as_echo "no" >&6; }
16691fi
16692
16693
16694# Extract the first word of "gmsgfmt", so it can be a program name with args.
16695set dummy gmsgfmt; ac_word=$2
16696{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16697$as_echo_n "checking for $ac_word... " >&6; }
16698if ${ac_cv_path_GMSGFMT+:} false; then :
16699  $as_echo_n "(cached) " >&6
16700else
16701  case $GMSGFMT in
16702  [\\/]* | ?:[\\/]*)
16703  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
16704  ;;
16705  *)
16706  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16707for as_dir in $PATH
16708do
16709  IFS=$as_save_IFS
16710  test -z "$as_dir" && as_dir=.
16711    for ac_exec_ext in '' $ac_executable_extensions; do
16712  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16713    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
16714    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16715    break 2
16716  fi
16717done
16718  done
16719IFS=$as_save_IFS
16720
16721  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
16722  ;;
16723esac
16724fi
16725GMSGFMT=$ac_cv_path_GMSGFMT
16726if test -n "$GMSGFMT"; then
16727  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
16728$as_echo "$GMSGFMT" >&6; }
16729else
16730  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16731$as_echo "no" >&6; }
16732fi
16733
16734
16735if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
16736    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
16737fi
16738xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
16739mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
16740mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
16741if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
16742    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
16743fi
16744
16745# Extract the first word of "perl", so it can be a program name with args.
16746set dummy perl; ac_word=$2
16747{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16748$as_echo_n "checking for $ac_word... " >&6; }
16749if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
16750  $as_echo_n "(cached) " >&6
16751else
16752  case $INTLTOOL_PERL in
16753  [\\/]* | ?:[\\/]*)
16754  ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
16755  ;;
16756  *)
16757  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16758for as_dir in $PATH
16759do
16760  IFS=$as_save_IFS
16761  test -z "$as_dir" && as_dir=.
16762    for ac_exec_ext in '' $ac_executable_extensions; do
16763  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16764    ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
16765    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16766    break 2
16767  fi
16768done
16769  done
16770IFS=$as_save_IFS
16771
16772  ;;
16773esac
16774fi
16775INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
16776if test -n "$INTLTOOL_PERL"; then
16777  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
16778$as_echo "$INTLTOOL_PERL" >&6; }
16779else
16780  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16781$as_echo "no" >&6; }
16782fi
16783
16784
16785if test -z "$INTLTOOL_PERL"; then
16786   as_fn_error $? "perl not found" "$LINENO" 5
16787fi
16788{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
16789$as_echo_n "checking for perl >= 5.8.1... " >&6; }
16790$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
16791if test $? -ne 0; then
16792   as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
16793else
16794   IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"`
16795   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
16796$as_echo "$IT_PERL_VERSION" >&6; }
16797fi
16798if test "x" != "xno-xml"; then
16799   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
16800$as_echo_n "checking for XML::Parser... " >&6; }
16801   if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
16802       { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
16803$as_echo "ok" >&6; }
16804   else
16805       as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
16806   fi
16807fi
16808
16809# Substitute ALL_LINGUAS so we can use it in po/Makefile
16810
16811
16812
16813
16814
16815{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
16816$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
16817set x ${MAKE-make}
16818ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
16819if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
16820  $as_echo_n "(cached) " >&6
16821else
16822  cat >conftest.make <<\_ACEOF
16823SHELL = /bin/sh
16824all:
16825	@echo '@@@%%%=$(MAKE)=@@@%%%'
16826_ACEOF
16827# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
16828case `${MAKE-make} -f conftest.make 2>/dev/null` in
16829  *@@@%%%=?*=@@@%%%*)
16830    eval ac_cv_prog_make_${ac_make}_set=yes;;
16831  *)
16832    eval ac_cv_prog_make_${ac_make}_set=no;;
16833esac
16834rm -f conftest.make
16835fi
16836if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
16837  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16838$as_echo "yes" >&6; }
16839  SET_MAKE=
16840else
16841  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16842$as_echo "no" >&6; }
16843  SET_MAKE="MAKE=${MAKE-make}"
16844fi
16845
16846
16847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
16848$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
16849if ${ac_cv_c_bigendian+:} false; then :
16850  $as_echo_n "(cached) " >&6
16851else
16852  ac_cv_c_bigendian=unknown
16853    # See if we're dealing with a universal compiler.
16854    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16855/* end confdefs.h.  */
16856#ifndef __APPLE_CC__
16857	       not a universal capable compiler
16858	     #endif
16859	     typedef int dummy;
16860
16861_ACEOF
16862if ac_fn_c_try_compile "$LINENO"; then :
16863
16864	# Check for potential -arch flags.  It is not universal unless
16865	# there are at least two -arch flags with different values.
16866	ac_arch=
16867	ac_prev=
16868	for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
16869	 if test -n "$ac_prev"; then
16870	   case $ac_word in
16871	     i?86 | x86_64 | ppc | ppc64)
16872	       if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
16873		 ac_arch=$ac_word
16874	       else
16875		 ac_cv_c_bigendian=universal
16876		 break
16877	       fi
16878	       ;;
16879	   esac
16880	   ac_prev=
16881	 elif test "x$ac_word" = "x-arch"; then
16882	   ac_prev=arch
16883	 fi
16884       done
16885fi
16886rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16887    if test $ac_cv_c_bigendian = unknown; then
16888      # See if sys/param.h defines the BYTE_ORDER macro.
16889      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16890/* end confdefs.h.  */
16891#include <sys/types.h>
16892	     #include <sys/param.h>
16893
16894int
16895main ()
16896{
16897#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
16898		     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
16899		     && LITTLE_ENDIAN)
16900	      bogus endian macros
16901	     #endif
16902
16903  ;
16904  return 0;
16905}
16906_ACEOF
16907if ac_fn_c_try_compile "$LINENO"; then :
16908  # It does; now see whether it defined to BIG_ENDIAN or not.
16909	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16910/* end confdefs.h.  */
16911#include <sys/types.h>
16912		#include <sys/param.h>
16913
16914int
16915main ()
16916{
16917#if BYTE_ORDER != BIG_ENDIAN
16918		 not big endian
16919		#endif
16920
16921  ;
16922  return 0;
16923}
16924_ACEOF
16925if ac_fn_c_try_compile "$LINENO"; then :
16926  ac_cv_c_bigendian=yes
16927else
16928  ac_cv_c_bigendian=no
16929fi
16930rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16931fi
16932rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16933    fi
16934    if test $ac_cv_c_bigendian = unknown; then
16935      # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
16936      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16937/* end confdefs.h.  */
16938#include <limits.h>
16939
16940int
16941main ()
16942{
16943#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
16944	      bogus endian macros
16945	     #endif
16946
16947  ;
16948  return 0;
16949}
16950_ACEOF
16951if ac_fn_c_try_compile "$LINENO"; then :
16952  # It does; now see whether it defined to _BIG_ENDIAN or not.
16953	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16954/* end confdefs.h.  */
16955#include <limits.h>
16956
16957int
16958main ()
16959{
16960#ifndef _BIG_ENDIAN
16961		 not big endian
16962		#endif
16963
16964  ;
16965  return 0;
16966}
16967_ACEOF
16968if ac_fn_c_try_compile "$LINENO"; then :
16969  ac_cv_c_bigendian=yes
16970else
16971  ac_cv_c_bigendian=no
16972fi
16973rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16974fi
16975rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16976    fi
16977    if test $ac_cv_c_bigendian = unknown; then
16978      # Compile a test program.
16979      if test "$cross_compiling" = yes; then :
16980  # Try to guess by grepping values from an object file.
16981	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16982/* end confdefs.h.  */
16983short int ascii_mm[] =
16984		  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
16985		short int ascii_ii[] =
16986		  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
16987		int use_ascii (int i) {
16988		  return ascii_mm[i] + ascii_ii[i];
16989		}
16990		short int ebcdic_ii[] =
16991		  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
16992		short int ebcdic_mm[] =
16993		  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
16994		int use_ebcdic (int i) {
16995		  return ebcdic_mm[i] + ebcdic_ii[i];
16996		}
16997		extern int foo;
16998
16999int
17000main ()
17001{
17002return use_ascii (foo) == use_ebcdic (foo);
17003  ;
17004  return 0;
17005}
17006_ACEOF
17007if ac_fn_c_try_compile "$LINENO"; then :
17008  if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
17009	      ac_cv_c_bigendian=yes
17010	    fi
17011	    if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
17012	      if test "$ac_cv_c_bigendian" = unknown; then
17013		ac_cv_c_bigendian=no
17014	      else
17015		# finding both strings is unlikely to happen, but who knows?
17016		ac_cv_c_bigendian=unknown
17017	      fi
17018	    fi
17019fi
17020rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17021else
17022  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17023/* end confdefs.h.  */
17024$ac_includes_default
17025int
17026main ()
17027{
17028
17029	     /* Are we little or big endian?  From Harbison&Steele.  */
17030	     union
17031	     {
17032	       long int l;
17033	       char c[sizeof (long int)];
17034	     } u;
17035	     u.l = 1;
17036	     return u.c[sizeof (long int) - 1] == 1;
17037
17038  ;
17039  return 0;
17040}
17041_ACEOF
17042if ac_fn_c_try_run "$LINENO"; then :
17043  ac_cv_c_bigendian=no
17044else
17045  ac_cv_c_bigendian=yes
17046fi
17047rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
17048  conftest.$ac_objext conftest.beam conftest.$ac_ext
17049fi
17050
17051    fi
17052fi
17053{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
17054$as_echo "$ac_cv_c_bigendian" >&6; }
17055 case $ac_cv_c_bigendian in #(
17056   yes)
17057     $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
17058;; #(
17059   no)
17060      ;; #(
17061   universal)
17062
17063$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
17064
17065     ;; #(
17066   *)
17067     as_fn_error $? "unknown endianness
17068 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
17069 esac
17070
17071{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
17072$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
17073if ${ac_cv_c_const+:} false; then :
17074  $as_echo_n "(cached) " >&6
17075else
17076  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17077/* end confdefs.h.  */
17078
17079int
17080main ()
17081{
17082
17083#ifndef __cplusplus
17084  /* Ultrix mips cc rejects this sort of thing.  */
17085  typedef int charset[2];
17086  const charset cs = { 0, 0 };
17087  /* SunOS 4.1.1 cc rejects this.  */
17088  char const *const *pcpcc;
17089  char **ppc;
17090  /* NEC SVR4.0.2 mips cc rejects this.  */
17091  struct point {int x, y;};
17092  static struct point const zero = {0,0};
17093  /* AIX XL C 1.02.0.0 rejects this.
17094     It does not let you subtract one const X* pointer from another in
17095     an arm of an if-expression whose if-part is not a constant
17096     expression */
17097  const char *g = "string";
17098  pcpcc = &g + (g ? g-g : 0);
17099  /* HPUX 7.0 cc rejects these. */
17100  ++pcpcc;
17101  ppc = (char**) pcpcc;
17102  pcpcc = (char const *const *) ppc;
17103  { /* SCO 3.2v4 cc rejects this sort of thing.  */
17104    char tx;
17105    char *t = &tx;
17106    char const *s = 0 ? (char *) 0 : (char const *) 0;
17107
17108    *t++ = 0;
17109    if (s) return 0;
17110  }
17111  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
17112    int x[] = {25, 17};
17113    const int *foo = &x[0];
17114    ++foo;
17115  }
17116  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17117    typedef const int *iptr;
17118    iptr p = 0;
17119    ++p;
17120  }
17121  { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
17122       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17123    struct s { int j; const int *ap[3]; } bx;
17124    struct s *b = &bx; b->j = 5;
17125  }
17126  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17127    const int foo = 10;
17128    if (!foo) return 0;
17129  }
17130  return !cs[0] && !zero.x;
17131#endif
17132
17133  ;
17134  return 0;
17135}
17136_ACEOF
17137if ac_fn_c_try_compile "$LINENO"; then :
17138  ac_cv_c_const=yes
17139else
17140  ac_cv_c_const=no
17141fi
17142rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17143fi
17144{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
17145$as_echo "$ac_cv_c_const" >&6; }
17146if test $ac_cv_c_const = no; then
17147
17148$as_echo "#define const /**/" >>confdefs.h
17149
17150fi
17151
17152{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
17153$as_echo_n "checking for inline... " >&6; }
17154if ${ac_cv_c_inline+:} false; then :
17155  $as_echo_n "(cached) " >&6
17156else
17157  ac_cv_c_inline=no
17158for ac_kw in inline __inline__ __inline; do
17159  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17160/* end confdefs.h.  */
17161#ifndef __cplusplus
17162typedef int foo_t;
17163static $ac_kw foo_t static_foo () {return 0; }
17164$ac_kw foo_t foo () {return 0; }
17165#endif
17166
17167_ACEOF
17168if ac_fn_c_try_compile "$LINENO"; then :
17169  ac_cv_c_inline=$ac_kw
17170fi
17171rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17172  test "$ac_cv_c_inline" != no && break
17173done
17174
17175fi
17176{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
17177$as_echo "$ac_cv_c_inline" >&6; }
17178
17179case $ac_cv_c_inline in
17180  inline | yes) ;;
17181  *)
17182    case $ac_cv_c_inline in
17183      no) ac_val=;;
17184      *) ac_val=$ac_cv_c_inline;;
17185    esac
17186    cat >>confdefs.h <<_ACEOF
17187#ifndef __cplusplus
17188#define inline $ac_val
17189#endif
17190_ACEOF
17191    ;;
17192esac
17193
17194
17195
17196  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double with more range or precision than double" >&5
17197$as_echo_n "checking for long double with more range or precision than double... " >&6; }
17198if ${ac_cv_type_long_double_wider+:} false; then :
17199  $as_echo_n "(cached) " >&6
17200else
17201  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17202/* end confdefs.h.  */
17203#include <float.h>
17204	    long double const a[] =
17205	      {
17206		 0.0L, DBL_MIN, DBL_MAX, DBL_EPSILON,
17207		 LDBL_MIN, LDBL_MAX, LDBL_EPSILON
17208	      };
17209	    long double
17210	    f (long double x)
17211	    {
17212	       return ((x + (unsigned long int) 10) * (-1 / x) + a[0]
17213			+ (x ? f (x) : 'c'));
17214	    }
17215
17216int
17217main ()
17218{
17219static int test_array [1 - 2 * !((0 < ((DBL_MAX_EXP < LDBL_MAX_EXP)
17220		   + (DBL_MANT_DIG < LDBL_MANT_DIG)
17221		   - (LDBL_MAX_EXP < DBL_MAX_EXP)
17222		   - (LDBL_MANT_DIG < DBL_MANT_DIG)))
17223	    && (int) LDBL_EPSILON == 0
17224	  )];
17225test_array [0] = 0;
17226return test_array [0];
17227
17228  ;
17229  return 0;
17230}
17231_ACEOF
17232if ac_fn_c_try_compile "$LINENO"; then :
17233  ac_cv_type_long_double_wider=yes
17234else
17235  ac_cv_type_long_double_wider=no
17236fi
17237rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17238fi
17239{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_long_double_wider" >&5
17240$as_echo "$ac_cv_type_long_double_wider" >&6; }
17241  if test $ac_cv_type_long_double_wider = yes; then
17242
17243$as_echo "#define HAVE_LONG_DOUBLE_WIDER 1" >>confdefs.h
17244
17245  fi
17246
17247    ac_cv_c_long_double=$ac_cv_type_long_double_wider
17248    if test $ac_cv_c_long_double = yes; then
17249
17250$as_echo "#define HAVE_LONG_DOUBLE 1" >>confdefs.h
17251
17252    fi
17253
17254{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working volatile" >&5
17255$as_echo_n "checking for working volatile... " >&6; }
17256if ${ac_cv_c_volatile+:} false; then :
17257  $as_echo_n "(cached) " >&6
17258else
17259  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17260/* end confdefs.h.  */
17261
17262int
17263main ()
17264{
17265
17266volatile int x;
17267int * volatile y = (int *) 0;
17268return !x && !y;
17269  ;
17270  return 0;
17271}
17272_ACEOF
17273if ac_fn_c_try_compile "$LINENO"; then :
17274  ac_cv_c_volatile=yes
17275else
17276  ac_cv_c_volatile=no
17277fi
17278rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17279fi
17280{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_volatile" >&5
17281$as_echo "$ac_cv_c_volatile" >&6; }
17282if test $ac_cv_c_volatile = no; then
17283
17284$as_echo "#define volatile /**/" >>confdefs.h
17285
17286fi
17287
17288ac_header_dirent=no
17289for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
17290  as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
17291{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
17292$as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
17293if eval \${$as_ac_Header+:} false; then :
17294  $as_echo_n "(cached) " >&6
17295else
17296  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17297/* end confdefs.h.  */
17298#include <sys/types.h>
17299#include <$ac_hdr>
17300
17301int
17302main ()
17303{
17304if ((DIR *) 0)
17305return 0;
17306  ;
17307  return 0;
17308}
17309_ACEOF
17310if ac_fn_c_try_compile "$LINENO"; then :
17311  eval "$as_ac_Header=yes"
17312else
17313  eval "$as_ac_Header=no"
17314fi
17315rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17316fi
17317eval ac_res=\$$as_ac_Header
17318	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
17319$as_echo "$ac_res" >&6; }
17320if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
17321  cat >>confdefs.h <<_ACEOF
17322#define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
17323_ACEOF
17324
17325ac_header_dirent=$ac_hdr; break
17326fi
17327
17328done
17329# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
17330if test $ac_header_dirent = dirent.h; then
17331  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
17332$as_echo_n "checking for library containing opendir... " >&6; }
17333if ${ac_cv_search_opendir+:} false; then :
17334  $as_echo_n "(cached) " >&6
17335else
17336  ac_func_search_save_LIBS=$LIBS
17337cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17338/* end confdefs.h.  */
17339
17340/* Override any GCC internal prototype to avoid an error.
17341   Use char because int might match the return type of a GCC
17342   builtin and then its argument prototype would still apply.  */
17343#ifdef __cplusplus
17344extern "C"
17345#endif
17346char opendir ();
17347int
17348main ()
17349{
17350return opendir ();
17351  ;
17352  return 0;
17353}
17354_ACEOF
17355for ac_lib in '' dir; do
17356  if test -z "$ac_lib"; then
17357    ac_res="none required"
17358  else
17359    ac_res=-l$ac_lib
17360    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
17361  fi
17362  if ac_fn_c_try_link "$LINENO"; then :
17363  ac_cv_search_opendir=$ac_res
17364fi
17365rm -f core conftest.err conftest.$ac_objext \
17366    conftest$ac_exeext
17367  if ${ac_cv_search_opendir+:} false; then :
17368  break
17369fi
17370done
17371if ${ac_cv_search_opendir+:} false; then :
17372
17373else
17374  ac_cv_search_opendir=no
17375fi
17376rm conftest.$ac_ext
17377LIBS=$ac_func_search_save_LIBS
17378fi
17379{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
17380$as_echo "$ac_cv_search_opendir" >&6; }
17381ac_res=$ac_cv_search_opendir
17382if test "$ac_res" != no; then :
17383  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17384
17385fi
17386
17387else
17388  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
17389$as_echo_n "checking for library containing opendir... " >&6; }
17390if ${ac_cv_search_opendir+:} false; then :
17391  $as_echo_n "(cached) " >&6
17392else
17393  ac_func_search_save_LIBS=$LIBS
17394cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17395/* end confdefs.h.  */
17396
17397/* Override any GCC internal prototype to avoid an error.
17398   Use char because int might match the return type of a GCC
17399   builtin and then its argument prototype would still apply.  */
17400#ifdef __cplusplus
17401extern "C"
17402#endif
17403char opendir ();
17404int
17405main ()
17406{
17407return opendir ();
17408  ;
17409  return 0;
17410}
17411_ACEOF
17412for ac_lib in '' x; do
17413  if test -z "$ac_lib"; then
17414    ac_res="none required"
17415  else
17416    ac_res=-l$ac_lib
17417    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
17418  fi
17419  if ac_fn_c_try_link "$LINENO"; then :
17420  ac_cv_search_opendir=$ac_res
17421fi
17422rm -f core conftest.err conftest.$ac_objext \
17423    conftest$ac_exeext
17424  if ${ac_cv_search_opendir+:} false; then :
17425  break
17426fi
17427done
17428if ${ac_cv_search_opendir+:} false; then :
17429
17430else
17431  ac_cv_search_opendir=no
17432fi
17433rm conftest.$ac_ext
17434LIBS=$ac_func_search_save_LIBS
17435fi
17436{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
17437$as_echo "$ac_cv_search_opendir" >&6; }
17438ac_res=$ac_cv_search_opendir
17439if test "$ac_res" != no; then :
17440  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17441
17442fi
17443
17444fi
17445
17446{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
17447$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
17448if ${ac_cv_c_const+:} false; then :
17449  $as_echo_n "(cached) " >&6
17450else
17451  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17452/* end confdefs.h.  */
17453
17454int
17455main ()
17456{
17457
17458#ifndef __cplusplus
17459  /* Ultrix mips cc rejects this sort of thing.  */
17460  typedef int charset[2];
17461  const charset cs = { 0, 0 };
17462  /* SunOS 4.1.1 cc rejects this.  */
17463  char const *const *pcpcc;
17464  char **ppc;
17465  /* NEC SVR4.0.2 mips cc rejects this.  */
17466  struct point {int x, y;};
17467  static struct point const zero = {0,0};
17468  /* AIX XL C 1.02.0.0 rejects this.
17469     It does not let you subtract one const X* pointer from another in
17470     an arm of an if-expression whose if-part is not a constant
17471     expression */
17472  const char *g = "string";
17473  pcpcc = &g + (g ? g-g : 0);
17474  /* HPUX 7.0 cc rejects these. */
17475  ++pcpcc;
17476  ppc = (char**) pcpcc;
17477  pcpcc = (char const *const *) ppc;
17478  { /* SCO 3.2v4 cc rejects this sort of thing.  */
17479    char tx;
17480    char *t = &tx;
17481    char const *s = 0 ? (char *) 0 : (char const *) 0;
17482
17483    *t++ = 0;
17484    if (s) return 0;
17485  }
17486  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
17487    int x[] = {25, 17};
17488    const int *foo = &x[0];
17489    ++foo;
17490  }
17491  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17492    typedef const int *iptr;
17493    iptr p = 0;
17494    ++p;
17495  }
17496  { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
17497       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17498    struct s { int j; const int *ap[3]; } bx;
17499    struct s *b = &bx; b->j = 5;
17500  }
17501  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17502    const int foo = 10;
17503    if (!foo) return 0;
17504  }
17505  return !cs[0] && !zero.x;
17506#endif
17507
17508  ;
17509  return 0;
17510}
17511_ACEOF
17512if ac_fn_c_try_compile "$LINENO"; then :
17513  ac_cv_c_const=yes
17514else
17515  ac_cv_c_const=no
17516fi
17517rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17518fi
17519{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
17520$as_echo "$ac_cv_c_const" >&6; }
17521if test $ac_cv_c_const = no; then
17522
17523$as_echo "#define const /**/" >>confdefs.h
17524
17525fi
17526
17527{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
17528$as_echo_n "checking for inline... " >&6; }
17529if ${ac_cv_c_inline+:} false; then :
17530  $as_echo_n "(cached) " >&6
17531else
17532  ac_cv_c_inline=no
17533for ac_kw in inline __inline__ __inline; do
17534  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17535/* end confdefs.h.  */
17536#ifndef __cplusplus
17537typedef int foo_t;
17538static $ac_kw foo_t static_foo () {return 0; }
17539$ac_kw foo_t foo () {return 0; }
17540#endif
17541
17542_ACEOF
17543if ac_fn_c_try_compile "$LINENO"; then :
17544  ac_cv_c_inline=$ac_kw
17545fi
17546rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17547  test "$ac_cv_c_inline" != no && break
17548done
17549
17550fi
17551{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
17552$as_echo "$ac_cv_c_inline" >&6; }
17553
17554case $ac_cv_c_inline in
17555  inline | yes) ;;
17556  *)
17557    case $ac_cv_c_inline in
17558      no) ac_val=;;
17559      *) ac_val=$ac_cv_c_inline;;
17560    esac
17561    cat >>confdefs.h <<_ACEOF
17562#ifndef __cplusplus
17563#define inline $ac_val
17564#endif
17565_ACEOF
17566    ;;
17567esac
17568
17569{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
17570$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
17571if ${ac_cv_header_time+:} false; then :
17572  $as_echo_n "(cached) " >&6
17573else
17574  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17575/* end confdefs.h.  */
17576#include <sys/types.h>
17577#include <sys/time.h>
17578#include <time.h>
17579
17580int
17581main ()
17582{
17583if ((struct tm *) 0)
17584return 0;
17585  ;
17586  return 0;
17587}
17588_ACEOF
17589if ac_fn_c_try_compile "$LINENO"; then :
17590  ac_cv_header_time=yes
17591else
17592  ac_cv_header_time=no
17593fi
17594rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17595fi
17596{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
17597$as_echo "$ac_cv_header_time" >&6; }
17598if test $ac_cv_header_time = yes; then
17599
17600$as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
17601
17602fi
17603
17604{ $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
17605$as_echo_n "checking return type of signal handlers... " >&6; }
17606if ${ac_cv_type_signal+:} false; then :
17607  $as_echo_n "(cached) " >&6
17608else
17609  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17610/* end confdefs.h.  */
17611#include <sys/types.h>
17612#include <signal.h>
17613
17614int
17615main ()
17616{
17617return *(signal (0, 0)) (0) == 1;
17618  ;
17619  return 0;
17620}
17621_ACEOF
17622if ac_fn_c_try_compile "$LINENO"; then :
17623  ac_cv_type_signal=int
17624else
17625  ac_cv_type_signal=void
17626fi
17627rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17628fi
17629{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
17630$as_echo "$ac_cv_type_signal" >&6; }
17631
17632cat >>confdefs.h <<_ACEOF
17633#define RETSIGTYPE $ac_cv_type_signal
17634_ACEOF
17635
17636
17637
17638{ $as_echo "$as_me:${as_lineno-$LINENO}: checking integer bit order" >&5
17639$as_echo_n "checking integer bit order... " >&6; }
17640case xyes in
17641x$ac_cv_c_bigendian)
17642  { $as_echo "$as_me:${as_lineno-$LINENO}: result: bigendian" >&5
17643$as_echo "bigendian" >&6; }
17644  CFLAGS="$CFLAGS -DTURN"
17645  ;;
17646*)
17647  { $as_echo "$as_me:${as_lineno-$LINENO}: result: littleendian" >&5
17648$as_echo "littleendian" >&6; }
17649  ;;
17650esac
17651# The cast to long int works around a bug in the HP C Compiler
17652# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17653# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17654# This bug is HP SR number 8606223364.
17655{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
17656$as_echo_n "checking size of short... " >&6; }
17657if ${ac_cv_sizeof_short+:} false; then :
17658  $as_echo_n "(cached) " >&6
17659else
17660  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short"        "$ac_includes_default"; then :
17661
17662else
17663  if test "$ac_cv_type_short" = yes; then
17664     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17665$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17666as_fn_error 77 "cannot compute sizeof (short)
17667See \`config.log' for more details" "$LINENO" 5; }
17668   else
17669     ac_cv_sizeof_short=0
17670   fi
17671fi
17672
17673fi
17674{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
17675$as_echo "$ac_cv_sizeof_short" >&6; }
17676
17677
17678
17679cat >>confdefs.h <<_ACEOF
17680#define SIZEOF_SHORT $ac_cv_sizeof_short
17681_ACEOF
17682
17683
17684# The cast to long int works around a bug in the HP C Compiler
17685# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17686# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17687# This bug is HP SR number 8606223364.
17688{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
17689$as_echo_n "checking size of int... " >&6; }
17690if ${ac_cv_sizeof_int+:} false; then :
17691  $as_echo_n "(cached) " >&6
17692else
17693  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
17694
17695else
17696  if test "$ac_cv_type_int" = yes; then
17697     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17698$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17699as_fn_error 77 "cannot compute sizeof (int)
17700See \`config.log' for more details" "$LINENO" 5; }
17701   else
17702     ac_cv_sizeof_int=0
17703   fi
17704fi
17705
17706fi
17707{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
17708$as_echo "$ac_cv_sizeof_int" >&6; }
17709
17710
17711
17712cat >>confdefs.h <<_ACEOF
17713#define SIZEOF_INT $ac_cv_sizeof_int
17714_ACEOF
17715
17716
17717# The cast to long int works around a bug in the HP C Compiler
17718# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17719# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17720# This bug is HP SR number 8606223364.
17721{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
17722$as_echo_n "checking size of long... " >&6; }
17723if ${ac_cv_sizeof_long+:} false; then :
17724  $as_echo_n "(cached) " >&6
17725else
17726  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
17727
17728else
17729  if test "$ac_cv_type_long" = yes; then
17730     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17731$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17732as_fn_error 77 "cannot compute sizeof (long)
17733See \`config.log' for more details" "$LINENO" 5; }
17734   else
17735     ac_cv_sizeof_long=0
17736   fi
17737fi
17738
17739fi
17740{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
17741$as_echo "$ac_cv_sizeof_long" >&6; }
17742
17743
17744
17745cat >>confdefs.h <<_ACEOF
17746#define SIZEOF_LONG $ac_cv_sizeof_long
17747_ACEOF
17748
17749
17750# The cast to long int works around a bug in the HP C Compiler
17751# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17752# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17753# This bug is HP SR number 8606223364.
17754{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
17755$as_echo_n "checking size of long long... " >&6; }
17756if ${ac_cv_sizeof_long_long+:} false; then :
17757  $as_echo_n "(cached) " >&6
17758else
17759  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long"        "$ac_includes_default"; then :
17760
17761else
17762  if test "$ac_cv_type_long_long" = yes; then
17763     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17764$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17765as_fn_error 77 "cannot compute sizeof (long long)
17766See \`config.log' for more details" "$LINENO" 5; }
17767   else
17768     ac_cv_sizeof_long_long=0
17769   fi
17770fi
17771
17772fi
17773{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
17774$as_echo "$ac_cv_sizeof_long_long" >&6; }
17775
17776
17777
17778cat >>confdefs.h <<_ACEOF
17779#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17780_ACEOF
17781
17782
17783# The cast to long int works around a bug in the HP C Compiler
17784# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17785# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17786# This bug is HP SR number 8606223364.
17787{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned char *" >&5
17788$as_echo_n "checking size of unsigned char *... " >&6; }
17789if ${ac_cv_sizeof_unsigned_char_p+:} false; then :
17790  $as_echo_n "(cached) " >&6
17791else
17792  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned char *))" "ac_cv_sizeof_unsigned_char_p"        "$ac_includes_default"; then :
17793
17794else
17795  if test "$ac_cv_type_unsigned_char_p" = yes; then
17796     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17797$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17798as_fn_error 77 "cannot compute sizeof (unsigned char *)
17799See \`config.log' for more details" "$LINENO" 5; }
17800   else
17801     ac_cv_sizeof_unsigned_char_p=0
17802   fi
17803fi
17804
17805fi
17806{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_char_p" >&5
17807$as_echo "$ac_cv_sizeof_unsigned_char_p" >&6; }
17808
17809
17810
17811cat >>confdefs.h <<_ACEOF
17812#define SIZEOF_UNSIGNED_CHAR_P $ac_cv_sizeof_unsigned_char_p
17813_ACEOF
17814
17815
17816# Check whether --enable-largefile was given.
17817if test "${enable_largefile+set}" = set; then :
17818  enableval=$enable_largefile;
17819fi
17820
17821if test "$enable_largefile" != no; then
17822
17823  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
17824$as_echo_n "checking for special C compiler options needed for large files... " >&6; }
17825if ${ac_cv_sys_largefile_CC+:} false; then :
17826  $as_echo_n "(cached) " >&6
17827else
17828  ac_cv_sys_largefile_CC=no
17829     if test "$GCC" != yes; then
17830       ac_save_CC=$CC
17831       while :; do
17832	 # IRIX 6.2 and later do not support large files by default,
17833	 # so use the C compiler's -n32 option if that helps.
17834	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17835/* end confdefs.h.  */
17836#include <sys/types.h>
17837 /* Check that off_t can represent 2**63 - 1 correctly.
17838    We can't simply define LARGE_OFF_T to be 9223372036854775807,
17839    since some C++ compilers masquerading as C compilers
17840    incorrectly reject 9223372036854775807.  */
17841#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
17842  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
17843		       && LARGE_OFF_T % 2147483647 == 1)
17844		      ? 1 : -1];
17845int
17846main ()
17847{
17848
17849  ;
17850  return 0;
17851}
17852_ACEOF
17853	 if ac_fn_c_try_compile "$LINENO"; then :
17854  break
17855fi
17856rm -f core conftest.err conftest.$ac_objext
17857	 CC="$CC -n32"
17858	 if ac_fn_c_try_compile "$LINENO"; then :
17859  ac_cv_sys_largefile_CC=' -n32'; break
17860fi
17861rm -f core conftest.err conftest.$ac_objext
17862	 break
17863       done
17864       CC=$ac_save_CC
17865       rm -f conftest.$ac_ext
17866    fi
17867fi
17868{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
17869$as_echo "$ac_cv_sys_largefile_CC" >&6; }
17870  if test "$ac_cv_sys_largefile_CC" != no; then
17871    CC=$CC$ac_cv_sys_largefile_CC
17872  fi
17873
17874  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
17875$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
17876if ${ac_cv_sys_file_offset_bits+:} false; then :
17877  $as_echo_n "(cached) " >&6
17878else
17879  while :; do
17880  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17881/* end confdefs.h.  */
17882#include <sys/types.h>
17883 /* Check that off_t can represent 2**63 - 1 correctly.
17884    We can't simply define LARGE_OFF_T to be 9223372036854775807,
17885    since some C++ compilers masquerading as C compilers
17886    incorrectly reject 9223372036854775807.  */
17887#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
17888  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
17889		       && LARGE_OFF_T % 2147483647 == 1)
17890		      ? 1 : -1];
17891int
17892main ()
17893{
17894
17895  ;
17896  return 0;
17897}
17898_ACEOF
17899if ac_fn_c_try_compile "$LINENO"; then :
17900  ac_cv_sys_file_offset_bits=no; break
17901fi
17902rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17903  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17904/* end confdefs.h.  */
17905#define _FILE_OFFSET_BITS 64
17906#include <sys/types.h>
17907 /* Check that off_t can represent 2**63 - 1 correctly.
17908    We can't simply define LARGE_OFF_T to be 9223372036854775807,
17909    since some C++ compilers masquerading as C compilers
17910    incorrectly reject 9223372036854775807.  */
17911#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
17912  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
17913		       && LARGE_OFF_T % 2147483647 == 1)
17914		      ? 1 : -1];
17915int
17916main ()
17917{
17918
17919  ;
17920  return 0;
17921}
17922_ACEOF
17923if ac_fn_c_try_compile "$LINENO"; then :
17924  ac_cv_sys_file_offset_bits=64; break
17925fi
17926rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17927  ac_cv_sys_file_offset_bits=unknown
17928  break
17929done
17930fi
17931{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
17932$as_echo "$ac_cv_sys_file_offset_bits" >&6; }
17933case $ac_cv_sys_file_offset_bits in #(
17934  no | unknown) ;;
17935  *)
17936cat >>confdefs.h <<_ACEOF
17937#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
17938_ACEOF
17939;;
17940esac
17941rm -rf conftest*
17942  if test $ac_cv_sys_file_offset_bits = unknown; then
17943    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
17944$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
17945if ${ac_cv_sys_large_files+:} false; then :
17946  $as_echo_n "(cached) " >&6
17947else
17948  while :; do
17949  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17950/* end confdefs.h.  */
17951#include <sys/types.h>
17952 /* Check that off_t can represent 2**63 - 1 correctly.
17953    We can't simply define LARGE_OFF_T to be 9223372036854775807,
17954    since some C++ compilers masquerading as C compilers
17955    incorrectly reject 9223372036854775807.  */
17956#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
17957  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
17958		       && LARGE_OFF_T % 2147483647 == 1)
17959		      ? 1 : -1];
17960int
17961main ()
17962{
17963
17964  ;
17965  return 0;
17966}
17967_ACEOF
17968if ac_fn_c_try_compile "$LINENO"; then :
17969  ac_cv_sys_large_files=no; break
17970fi
17971rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17972  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17973/* end confdefs.h.  */
17974#define _LARGE_FILES 1
17975#include <sys/types.h>
17976 /* Check that off_t can represent 2**63 - 1 correctly.
17977    We can't simply define LARGE_OFF_T to be 9223372036854775807,
17978    since some C++ compilers masquerading as C compilers
17979    incorrectly reject 9223372036854775807.  */
17980#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
17981  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
17982		       && LARGE_OFF_T % 2147483647 == 1)
17983		      ? 1 : -1];
17984int
17985main ()
17986{
17987
17988  ;
17989  return 0;
17990}
17991_ACEOF
17992if ac_fn_c_try_compile "$LINENO"; then :
17993  ac_cv_sys_large_files=1; break
17994fi
17995rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17996  ac_cv_sys_large_files=unknown
17997  break
17998done
17999fi
18000{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
18001$as_echo "$ac_cv_sys_large_files" >&6; }
18002case $ac_cv_sys_large_files in #(
18003  no | unknown) ;;
18004  *)
18005cat >>confdefs.h <<_ACEOF
18006#define _LARGE_FILES $ac_cv_sys_large_files
18007_ACEOF
18008;;
18009esac
18010rm -rf conftest*
18011  fi
18012
18013
18014fi
18015
18016
18017if test "x$ac_cv_sys_file_offset_bits" != "xno"; then
18018    { $as_echo "$as_me:${as_lineno-$LINENO}: result: FILE_OFFSET_BITS=$ac_cv_sys_file_offset_bits" >&5
18019$as_echo "FILE_OFFSET_BITS=$ac_cv_sys_file_offset_bits" >&6; }
18020    FILE_OFFSET_BITS=$ac_cv_sys_file_offset_bits
18021
18022fi
18023# The cast to long int works around a bug in the HP C Compiler
18024# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18025# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18026# This bug is HP SR number 8606223364.
18027{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5
18028$as_echo_n "checking size of size_t... " >&6; }
18029if ${ac_cv_sizeof_size_t+:} false; then :
18030  $as_echo_n "(cached) " >&6
18031else
18032  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (size_t))" "ac_cv_sizeof_size_t"        "$ac_includes_default"; then :
18033
18034else
18035  if test "$ac_cv_type_size_t" = yes; then
18036     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18037$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18038as_fn_error 77 "cannot compute sizeof (size_t)
18039See \`config.log' for more details" "$LINENO" 5; }
18040   else
18041     ac_cv_sizeof_size_t=0
18042   fi
18043fi
18044
18045fi
18046{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5
18047$as_echo "$ac_cv_sizeof_size_t" >&6; }
18048
18049
18050
18051cat >>confdefs.h <<_ACEOF
18052#define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
18053_ACEOF
18054
18055
18056# The cast to long int works around a bug in the HP C Compiler
18057# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18058# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18059# This bug is HP SR number 8606223364.
18060{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of off_t" >&5
18061$as_echo_n "checking size of off_t... " >&6; }
18062if ${ac_cv_sizeof_off_t+:} false; then :
18063  $as_echo_n "(cached) " >&6
18064else
18065  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (off_t))" "ac_cv_sizeof_off_t"        "$ac_includes_default"; then :
18066
18067else
18068  if test "$ac_cv_type_off_t" = yes; then
18069     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18070$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18071as_fn_error 77 "cannot compute sizeof (off_t)
18072See \`config.log' for more details" "$LINENO" 5; }
18073   else
18074     ac_cv_sizeof_off_t=0
18075   fi
18076fi
18077
18078fi
18079{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_off_t" >&5
18080$as_echo "$ac_cv_sizeof_off_t" >&6; }
18081
18082
18083
18084cat >>confdefs.h <<_ACEOF
18085#define SIZEOF_OFF_T $ac_cv_sizeof_off_t
18086_ACEOF
18087
18088
18089
18090SIZEOF_FILE_POINTER=$ac_cv_sizeof_off_t
18091
18092FILE_POINTER="off_t"
18093if test $ac_cv_sizeof_int = $ac_cv_sizeof_off_t; then
18094    FILE_POINTER="int"
18095fi
18096if test $ac_cv_sizeof_long = $ac_cv_sizeof_off_t; then
18097    FILE_POINTER="long"
18098fi
18099if test $ac_cv_sizeof_long_long = $ac_cv_sizeof_off_t; then
18100    FILE_POINTER="long long"
18101fi
18102
18103
18104{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
18105$as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
18106if ${ac_cv_header_sys_types_h_makedev+:} false; then :
18107  $as_echo_n "(cached) " >&6
18108else
18109  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18110/* end confdefs.h.  */
18111#include <sys/types.h>
18112int
18113main ()
18114{
18115return makedev(0, 0);
18116  ;
18117  return 0;
18118}
18119_ACEOF
18120if ac_fn_c_try_link "$LINENO"; then :
18121  ac_cv_header_sys_types_h_makedev=yes
18122else
18123  ac_cv_header_sys_types_h_makedev=no
18124fi
18125rm -f core conftest.err conftest.$ac_objext \
18126    conftest$ac_exeext conftest.$ac_ext
18127
18128fi
18129{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
18130$as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
18131
18132if test $ac_cv_header_sys_types_h_makedev = no; then
18133ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
18134if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
18135
18136$as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
18137
18138fi
18139
18140
18141
18142  if test $ac_cv_header_sys_mkdev_h = no; then
18143    ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
18144if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
18145
18146$as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
18147
18148fi
18149
18150
18151  fi
18152fi
18153
18154{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
18155$as_echo_n "checking for ANSI C header files... " >&6; }
18156if ${ac_cv_header_stdc+:} false; then :
18157  $as_echo_n "(cached) " >&6
18158else
18159  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18160/* end confdefs.h.  */
18161#include <stdlib.h>
18162#include <stdarg.h>
18163#include <string.h>
18164#include <float.h>
18165
18166int
18167main ()
18168{
18169
18170  ;
18171  return 0;
18172}
18173_ACEOF
18174if ac_fn_c_try_compile "$LINENO"; then :
18175  ac_cv_header_stdc=yes
18176else
18177  ac_cv_header_stdc=no
18178fi
18179rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18180
18181if test $ac_cv_header_stdc = yes; then
18182  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
18183  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18184/* end confdefs.h.  */
18185#include <string.h>
18186
18187_ACEOF
18188if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18189  $EGREP "memchr" >/dev/null 2>&1; then :
18190
18191else
18192  ac_cv_header_stdc=no
18193fi
18194rm -f conftest*
18195
18196fi
18197
18198if test $ac_cv_header_stdc = yes; then
18199  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
18200  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18201/* end confdefs.h.  */
18202#include <stdlib.h>
18203
18204_ACEOF
18205if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18206  $EGREP "free" >/dev/null 2>&1; then :
18207
18208else
18209  ac_cv_header_stdc=no
18210fi
18211rm -f conftest*
18212
18213fi
18214
18215if test $ac_cv_header_stdc = yes; then
18216  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
18217  if test "$cross_compiling" = yes; then :
18218  :
18219else
18220  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18221/* end confdefs.h.  */
18222#include <ctype.h>
18223#include <stdlib.h>
18224#if ((' ' & 0x0FF) == 0x020)
18225# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
18226# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
18227#else
18228# define ISLOWER(c) \
18229		   (('a' <= (c) && (c) <= 'i') \
18230		     || ('j' <= (c) && (c) <= 'r') \
18231		     || ('s' <= (c) && (c) <= 'z'))
18232# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
18233#endif
18234
18235#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
18236int
18237main ()
18238{
18239  int i;
18240  for (i = 0; i < 256; i++)
18241    if (XOR (islower (i), ISLOWER (i))
18242	|| toupper (i) != TOUPPER (i))
18243      return 2;
18244  return 0;
18245}
18246_ACEOF
18247if ac_fn_c_try_run "$LINENO"; then :
18248
18249else
18250  ac_cv_header_stdc=no
18251fi
18252rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
18253  conftest.$ac_objext conftest.beam conftest.$ac_ext
18254fi
18255
18256fi
18257fi
18258{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
18259$as_echo "$ac_cv_header_stdc" >&6; }
18260if test $ac_cv_header_stdc = yes; then
18261
18262$as_echo "#define STDC_HEADERS 1" >>confdefs.h
18263
18264fi
18265
18266
18267for ac_header in features.h time.h utime.h unistd.h stdarg.h signal.h errno.h stdlib.h stdio.h string.h fcntl.h grp.h limits.h paths.h pwd.h regex.h varargs.h ctype.h
18268do :
18269  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18270ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18271if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18272  cat >>confdefs.h <<_ACEOF
18273#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18274_ACEOF
18275
18276fi
18277
18278done
18279
18280
18281for ac_header in sys/time.h sys/select.h sys/types.h sys/param.h sys/ucred sys/wait.h sys/mman.h
18282do :
18283  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18284ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18285if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18286  cat >>confdefs.h <<_ACEOF
18287#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18288_ACEOF
18289
18290fi
18291
18292done
18293
18294
18295for ac_header in mntent.h
18296do :
18297  ac_fn_c_check_header_mongrel "$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
18298if test "x$ac_cv_header_mntent_h" = xyes; then :
18299  cat >>confdefs.h <<_ACEOF
18300#define HAVE_MNTENT_H 1
18301_ACEOF
18302
18303fi
18304
18305done
18306
18307
18308for ac_header in fstab.h sys/param.h sys/ucred.h sys/mount.h
18309do :
18310  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18311ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18312if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18313  cat >>confdefs.h <<_ACEOF
18314#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18315_ACEOF
18316
18317fi
18318
18319done
18320
18321for ac_header in windows.h
18322do :
18323  ac_fn_c_check_header_mongrel "$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default"
18324if test "x$ac_cv_header_windows_h" = xyes; then :
18325  cat >>confdefs.h <<_ACEOF
18326#define HAVE_WINDOWS_H 1
18327_ACEOF
18328
18329fi
18330
18331done
18332
18333 if test "$ac_cv_header_windows_h" = yes; then
18334  WINDOZE_TRUE=
18335  WINDOZE_FALSE='#'
18336else
18337  WINDOZE_TRUE='#'
18338  WINDOZE_FALSE=
18339fi
18340
18341
18342 LARGEFILE=yes
18343ac_uname_s=`uname -s`
18344echo "system: $ac_uname_s"
18345
18346
18347for ac_func in setenv unsetenv
18348do :
18349  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18350ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18351if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18352  cat >>confdefs.h <<_ACEOF
18353#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18354_ACEOF
18355
18356fi
18357done
18358
18359for ac_func in strlcpy snprintf strlcat lseek snprintf vsnprintf strcasecmp strncasecmp memcpy memmove memset
18360do :
18361  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18362ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18363if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18364  cat >>confdefs.h <<_ACEOF
18365#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18366_ACEOF
18367
18368fi
18369done
18370
18371for ac_func in waitid signal sigaction
18372do :
18373  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18374ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18375if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18376  cat >>confdefs.h <<_ACEOF
18377#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18378_ACEOF
18379
18380fi
18381done
18382
18383#AC_SEARCH_LIBS([clock_gettime], [rt posix4])
18384for ac_func in clock_gettime localtime localtime_r gettimeofday strftime
18385do :
18386  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18387ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18388if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18389  cat >>confdefs.h <<_ACEOF
18390#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18391_ACEOF
18392
18393fi
18394done
18395
18396for ac_func in getmntinfo getfsent getmntent statfs
18397do :
18398  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18399ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18400if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18401  cat >>confdefs.h <<_ACEOF
18402#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18403_ACEOF
18404
18405fi
18406done
18407
18408for ac_func in signal sigaction
18409do :
18410  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18411ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18412if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18413  cat >>confdefs.h <<_ACEOF
18414#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18415_ACEOF
18416
18417fi
18418done
18419
18420for ac_func in fpathconf dirfd
18421do :
18422  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18423ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18424if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18425  cat >>confdefs.h <<_ACEOF
18426#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18427_ACEOF
18428
18429fi
18430done
18431
18432ac_fn_c_check_member "$LINENO" "struct dirent" "d_type" "ac_cv_member_struct_dirent_d_type" "#include <dirent.h>
18433"
18434if test "x$ac_cv_member_struct_dirent_d_type" = xyes; then :
18435
18436cat >>confdefs.h <<_ACEOF
18437#define HAVE_STRUCT_DIRENT_D_TYPE 1
18438_ACEOF
18439
18440
18441fi
18442
18443
18444{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
18445$as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
18446if ${ac_cv_struct_tm+:} false; then :
18447  $as_echo_n "(cached) " >&6
18448else
18449  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18450/* end confdefs.h.  */
18451#include <sys/types.h>
18452#include <time.h>
18453
18454int
18455main ()
18456{
18457struct tm tm;
18458				     int *p = &tm.tm_sec;
18459				     return !p;
18460  ;
18461  return 0;
18462}
18463_ACEOF
18464if ac_fn_c_try_compile "$LINENO"; then :
18465  ac_cv_struct_tm=time.h
18466else
18467  ac_cv_struct_tm=sys/time.h
18468fi
18469rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18470fi
18471{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
18472$as_echo "$ac_cv_struct_tm" >&6; }
18473if test $ac_cv_struct_tm = sys/time.h; then
18474
18475$as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
18476
18477fi
18478
18479
18480
18481   for ac_func in localtime_r strftime
18482do :
18483  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18484ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18485if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18486  cat >>confdefs.h <<_ACEOF
18487#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18488_ACEOF
18489
18490fi
18491done
18492
18493
18494 for ac_header in limits.h
18495do :
18496  ac_fn_c_check_header_mongrel "$LINENO" "limits.h" "ac_cv_header_limits_h" "$ac_includes_default"
18497if test "x$ac_cv_header_limits_h" = xyes; then :
18498  cat >>confdefs.h <<_ACEOF
18499#define HAVE_LIMITS_H 1
18500_ACEOF
18501
18502fi
18503
18504done
18505
18506 for ac_func in bcopy tzset mempcpy memcpy memset
18507do :
18508  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18509ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18510if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18511  cat >>confdefs.h <<_ACEOF
18512#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18513_ACEOF
18514
18515fi
18516done
18517
18518
18519 # This defines (or not) HAVE_TZNAME and HAVE_TM_ZONE.
18520 ac_fn_c_check_member "$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h>
18521#include <$ac_cv_struct_tm>
18522
18523"
18524if test "x$ac_cv_member_struct_tm_tm_zone" = xyes; then :
18525
18526cat >>confdefs.h <<_ACEOF
18527#define HAVE_STRUCT_TM_TM_ZONE 1
18528_ACEOF
18529
18530
18531fi
18532
18533if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
18534
18535$as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h
18536
18537else
18538  ac_fn_c_check_decl "$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
18539"
18540if test "x$ac_cv_have_decl_tzname" = xyes; then :
18541  ac_have_decl=1
18542else
18543  ac_have_decl=0
18544fi
18545
18546cat >>confdefs.h <<_ACEOF
18547#define HAVE_DECL_TZNAME $ac_have_decl
18548_ACEOF
18549
18550  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
18551$as_echo_n "checking for tzname... " >&6; }
18552if ${ac_cv_var_tzname+:} false; then :
18553  $as_echo_n "(cached) " >&6
18554else
18555  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18556/* end confdefs.h.  */
18557#include <time.h>
18558#if !HAVE_DECL_TZNAME
18559extern char *tzname[];
18560#endif
18561
18562int
18563main ()
18564{
18565return tzname[0][0];
18566  ;
18567  return 0;
18568}
18569_ACEOF
18570if ac_fn_c_try_link "$LINENO"; then :
18571  ac_cv_var_tzname=yes
18572else
18573  ac_cv_var_tzname=no
18574fi
18575rm -f core conftest.err conftest.$ac_objext \
18576    conftest$ac_exeext conftest.$ac_ext
18577fi
18578{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
18579$as_echo "$ac_cv_var_tzname" >&6; }
18580  if test $ac_cv_var_tzname = yes; then
18581
18582$as_echo "#define HAVE_TZNAME 1" >>confdefs.h
18583
18584  fi
18585fi
18586
18587
18588 for ac_func in mblen mbrlen
18589do :
18590  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18591ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18592if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18593  cat >>confdefs.h <<_ACEOF
18594#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18595_ACEOF
18596
18597fi
18598done
18599
18600
18601 ac_fn_c_check_member "$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "#include <time.h>
18602"
18603if test "x$ac_cv_member_struct_tm_tm_gmtoff" = xyes; then :
18604
18605$as_echo "#define HAVE_TM_GMTOFF 1" >>confdefs.h
18606
18607fi
18608
18609
18610
18611   for ac_header in sys/time.h
18612do :
18613  ac_fn_c_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
18614if test "x$ac_cv_header_sys_time_h" = xyes; then :
18615  cat >>confdefs.h <<_ACEOF
18616#define HAVE_SYS_TIME_H 1
18617_ACEOF
18618
18619fi
18620
18621done
18622
18623
18624$as_echo "#define my_strftime nstrftime" >>confdefs.h
18625
18626
18627
18628for ac_header in string.h
18629do :
18630  ac_fn_c_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default"
18631if test "x$ac_cv_header_string_h" = xyes; then :
18632  cat >>confdefs.h <<_ACEOF
18633#define HAVE_STRING_H 1
18634_ACEOF
18635
18636fi
18637
18638done
18639
18640{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working readdir" >&5
18641$as_echo_n "checking for working readdir... " >&6; }
18642if ${jm_cv_func_working_readdir+:} false; then :
18643  $as_echo_n "(cached) " >&6
18644else
18645    # Arrange for deletion of the temporary directory this test creates, in
18646  # case the test itself fails to delete everything -- as happens on Sunos.
18647  ac_clean_files="$ac_clean_files conf-dir"
18648
18649  if test "$cross_compiling" = yes; then :
18650  jm_cv_func_working_readdir=no
18651else
18652  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18653/* end confdefs.h.  */
18654#   include <stdio.h>
18655#   include <sys/types.h>
18656#   if HAVE_STRING_H
18657#    include <string.h>
18658#   endif
18659
18660#   ifdef HAVE_DIRENT_H
18661#    include <dirent.h>
18662#    define NLENGTH(direct) (strlen((direct)->d_name))
18663#   else /* not HAVE_DIRENT_H */
18664#    define dirent direct
18665#    define NLENGTH(direct) ((direct)->d_namlen)
18666#    ifdef HAVE_SYS_NDIR_H
18667#     include <sys/ndir.h>
18668#    endif /* HAVE_SYS_NDIR_H */
18669#    ifdef HAVE_SYS_DIR_H
18670#     include <sys/dir.h>
18671#    endif /* HAVE_SYS_DIR_H */
18672#    ifdef HAVE_NDIR_H
18673#     include <ndir.h>
18674#    endif /* HAVE_NDIR_H */
18675#   endif /* HAVE_DIRENT_H */
18676
18677#   define DOT_OR_DOTDOT(Basename) \
18678     (Basename[0] == '.' && (Basename[1] == '\0' \
18679			     || (Basename[1] == '.' && Basename[2] == '\0')))
18680
18681/* Don't try to use replacement mkdir; it wouldn't resolve at link time.  */
18682#   undef mkdir
18683
18684    static void
18685    create_300_file_dir (const char *dir)
18686    {
18687      int i;
18688
18689      if (mkdir (dir, 0700))
18690	abort ();
18691      if (chdir (dir))
18692	abort ();
18693
18694      for (i = 0; i < 300; i++)
18695	{
18696	  char file_name[4];
18697	  FILE *out;
18698
18699	  sprintf (file_name, "%03d", i);
18700	  out = fopen (file_name, "w");
18701	  if (!out)
18702	    abort ();
18703	  if (fclose (out) == EOF)
18704	    abort ();
18705	}
18706
18707      if (chdir (".."))
18708	abort ();
18709    }
18710
18711    static void
18712    remove_dir (const char *dir)
18713    {
18714      DIR *dirp;
18715
18716      if (chdir (dir))
18717	abort ();
18718
18719      dirp = opendir (".");
18720      if (dirp == NULL)
18721	abort ();
18722
18723      while (1)
18724	{
18725	  struct dirent *dp = readdir (dirp);
18726	  if (dp == NULL)
18727	    break;
18728
18729	  if (DOT_OR_DOTDOT (dp->d_name))
18730	    continue;
18731
18732	  if (unlink (dp->d_name))
18733	    abort ();
18734	}
18735      closedir (dirp);
18736
18737      if (chdir (".."))
18738	abort ();
18739
18740      if (rmdir (dir))
18741	exit (1);
18742    }
18743
18744    int
18745    main ()
18746    {
18747      const char *dir = "conf-dir";
18748      create_300_file_dir (dir);
18749      remove_dir (dir);
18750      exit (0);
18751    }
18752_ACEOF
18753if ac_fn_c_try_run "$LINENO"; then :
18754  jm_cv_func_working_readdir=yes
18755else
18756  jm_cv_func_working_readdir=no
18757fi
18758rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
18759  conftest.$ac_objext conftest.beam conftest.$ac_ext
18760fi
18761
18762fi
18763{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $jm_cv_func_working_readdir" >&5
18764$as_echo "$jm_cv_func_working_readdir" >&6; }
18765
18766  if test $jm_cv_func_working_readdir = yes; then
18767
18768$as_echo "#define HAVE_WORKING_READDIR 1" >>confdefs.h
18769
18770  fi
18771
18772
18773
18774# check for POSIX shared memory
18775{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shm_open in -lrt" >&5
18776$as_echo_n "checking for shm_open in -lrt... " >&6; }
18777if ${ac_cv_lib_rt_shm_open+:} false; then :
18778  $as_echo_n "(cached) " >&6
18779else
18780  ac_check_lib_save_LIBS=$LIBS
18781LIBS="-lrt  $LIBS"
18782cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18783/* end confdefs.h.  */
18784
18785/* Override any GCC internal prototype to avoid an error.
18786   Use char because int might match the return type of a GCC
18787   builtin and then its argument prototype would still apply.  */
18788#ifdef __cplusplus
18789extern "C"
18790#endif
18791char shm_open ();
18792int
18793main ()
18794{
18795return shm_open ();
18796  ;
18797  return 0;
18798}
18799_ACEOF
18800if ac_fn_c_try_link "$LINENO"; then :
18801  ac_cv_lib_rt_shm_open=yes
18802else
18803  ac_cv_lib_rt_shm_open=no
18804fi
18805rm -f core conftest.err conftest.$ac_objext \
18806    conftest$ac_exeext conftest.$ac_ext
18807LIBS=$ac_check_lib_save_LIBS
18808fi
18809{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_shm_open" >&5
18810$as_echo "$ac_cv_lib_rt_shm_open" >&6; }
18811if test "x$ac_cv_lib_rt_shm_open" = xyes; then :
18812  cat >>confdefs.h <<_ACEOF
18813#define HAVE_LIBRT 1
18814_ACEOF
18815
18816  LIBS="-lrt $LIBS"
18817
18818fi
18819
18820# check for POSIX threads GNU_SOURCE
18821{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_tryjoin_np in -lpthread" >&5
18822$as_echo_n "checking for pthread_tryjoin_np in -lpthread... " >&6; }
18823if ${ac_cv_lib_pthread_pthread_tryjoin_np+:} false; then :
18824  $as_echo_n "(cached) " >&6
18825else
18826  ac_check_lib_save_LIBS=$LIBS
18827LIBS="-lpthread  $LIBS"
18828cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18829/* end confdefs.h.  */
18830
18831/* Override any GCC internal prototype to avoid an error.
18832   Use char because int might match the return type of a GCC
18833   builtin and then its argument prototype would still apply.  */
18834#ifdef __cplusplus
18835extern "C"
18836#endif
18837char pthread_tryjoin_np ();
18838int
18839main ()
18840{
18841return pthread_tryjoin_np ();
18842  ;
18843  return 0;
18844}
18845_ACEOF
18846if ac_fn_c_try_link "$LINENO"; then :
18847  ac_cv_lib_pthread_pthread_tryjoin_np=yes
18848else
18849  ac_cv_lib_pthread_pthread_tryjoin_np=no
18850fi
18851rm -f core conftest.err conftest.$ac_objext \
18852    conftest$ac_exeext conftest.$ac_ext
18853LIBS=$ac_check_lib_save_LIBS
18854fi
18855{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_tryjoin_np" >&5
18856$as_echo "$ac_cv_lib_pthread_pthread_tryjoin_np" >&6; }
18857if test "x$ac_cv_lib_pthread_pthread_tryjoin_np" = xyes; then :
18858  cat >>confdefs.h <<_ACEOF
18859#define HAVE_LIBPTHREAD 1
18860_ACEOF
18861
18862  LIBS="-lpthread $LIBS"
18863
18864fi
18865
18866if test "$ac_cv_lib_pthread_pthread_tryjoin_np" = yes; then
18867  	{ $as_echo "$as_me:${as_lineno-$LINENO}: You have non portable GNU thread extensions. Good for you." >&5
18868$as_echo "$as_me: You have non portable GNU thread extensions. Good for you." >&6;}
18869
18870
18871cat >>confdefs.h <<_ACEOF
18872#define HAVE_PTHREAD_TRYJOIN $ac_cv_lib_pthread_pthread_tryjoin_np
18873_ACEOF
18874
18875else
18876# check for plain POSIX threads
18877        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
18878$as_echo_n "checking for pthread_create in -lpthread... " >&6; }
18879if ${ac_cv_lib_pthread_pthread_create+:} false; then :
18880  $as_echo_n "(cached) " >&6
18881else
18882  ac_check_lib_save_LIBS=$LIBS
18883LIBS="-lpthread  $LIBS"
18884cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18885/* end confdefs.h.  */
18886
18887/* Override any GCC internal prototype to avoid an error.
18888   Use char because int might match the return type of a GCC
18889   builtin and then its argument prototype would still apply.  */
18890#ifdef __cplusplus
18891extern "C"
18892#endif
18893char pthread_create ();
18894int
18895main ()
18896{
18897return pthread_create ();
18898  ;
18899  return 0;
18900}
18901_ACEOF
18902if ac_fn_c_try_link "$LINENO"; then :
18903  ac_cv_lib_pthread_pthread_create=yes
18904else
18905  ac_cv_lib_pthread_pthread_create=no
18906fi
18907rm -f core conftest.err conftest.$ac_objext \
18908    conftest$ac_exeext conftest.$ac_ext
18909LIBS=$ac_check_lib_save_LIBS
18910fi
18911{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
18912$as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
18913if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
18914  cat >>confdefs.h <<_ACEOF
18915#define HAVE_LIBPTHREAD 1
18916_ACEOF
18917
18918  LIBS="-lpthread $LIBS"
18919
18920fi
18921
18922fi
18923
18924# Extract the first word of "pkg-config", so it can be a program name with args.
18925set dummy pkg-config; ac_word=$2
18926{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18927$as_echo_n "checking for $ac_word... " >&6; }
18928if ${ac_cv_prog_cv_pkgconfig+:} false; then :
18929  $as_echo_n "(cached) " >&6
18930else
18931  if test -n "$cv_pkgconfig"; then
18932  ac_cv_prog_cv_pkgconfig="$cv_pkgconfig" # Let the user override the test.
18933else
18934as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18935for as_dir in $PATH
18936do
18937  IFS=$as_save_IFS
18938  test -z "$as_dir" && as_dir=.
18939    for ac_exec_ext in '' $ac_executable_extensions; do
18940  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18941    ac_cv_prog_cv_pkgconfig="yes"
18942    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18943    break 2
18944  fi
18945done
18946  done
18947IFS=$as_save_IFS
18948
18949  test -z "$ac_cv_prog_cv_pkgconfig" && ac_cv_prog_cv_pkgconfig="no"
18950fi
18951fi
18952cv_pkgconfig=$ac_cv_prog_cv_pkgconfig
18953if test -n "$cv_pkgconfig"; then
18954  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cv_pkgconfig" >&5
18955$as_echo "$cv_pkgconfig" >&6; }
18956else
18957  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18958$as_echo "no" >&6; }
18959fi
18960
18961
18962
18963
18964
18965
18966
18967
18968
18969if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
18970	if test -n "$ac_tool_prefix"; then
18971  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
18972set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
18973{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18974$as_echo_n "checking for $ac_word... " >&6; }
18975if ${ac_cv_path_PKG_CONFIG+:} false; then :
18976  $as_echo_n "(cached) " >&6
18977else
18978  case $PKG_CONFIG in
18979  [\\/]* | ?:[\\/]*)
18980  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
18981  ;;
18982  *)
18983  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18984for as_dir in $PATH
18985do
18986  IFS=$as_save_IFS
18987  test -z "$as_dir" && as_dir=.
18988    for ac_exec_ext in '' $ac_executable_extensions; do
18989  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18990    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18991    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18992    break 2
18993  fi
18994done
18995  done
18996IFS=$as_save_IFS
18997
18998  ;;
18999esac
19000fi
19001PKG_CONFIG=$ac_cv_path_PKG_CONFIG
19002if test -n "$PKG_CONFIG"; then
19003  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
19004$as_echo "$PKG_CONFIG" >&6; }
19005else
19006  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19007$as_echo "no" >&6; }
19008fi
19009
19010
19011fi
19012if test -z "$ac_cv_path_PKG_CONFIG"; then
19013  ac_pt_PKG_CONFIG=$PKG_CONFIG
19014  # Extract the first word of "pkg-config", so it can be a program name with args.
19015set dummy pkg-config; ac_word=$2
19016{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19017$as_echo_n "checking for $ac_word... " >&6; }
19018if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
19019  $as_echo_n "(cached) " >&6
19020else
19021  case $ac_pt_PKG_CONFIG in
19022  [\\/]* | ?:[\\/]*)
19023  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
19024  ;;
19025  *)
19026  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19027for as_dir in $PATH
19028do
19029  IFS=$as_save_IFS
19030  test -z "$as_dir" && as_dir=.
19031    for ac_exec_ext in '' $ac_executable_extensions; do
19032  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19033    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19034    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19035    break 2
19036  fi
19037done
19038  done
19039IFS=$as_save_IFS
19040
19041  ;;
19042esac
19043fi
19044ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
19045if test -n "$ac_pt_PKG_CONFIG"; then
19046  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
19047$as_echo "$ac_pt_PKG_CONFIG" >&6; }
19048else
19049  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19050$as_echo "no" >&6; }
19051fi
19052
19053  if test "x$ac_pt_PKG_CONFIG" = x; then
19054    PKG_CONFIG=""
19055  else
19056    case $cross_compiling:$ac_tool_warned in
19057yes:)
19058{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19059$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19060ac_tool_warned=yes ;;
19061esac
19062    PKG_CONFIG=$ac_pt_PKG_CONFIG
19063  fi
19064else
19065  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
19066fi
19067
19068fi
19069if test -n "$PKG_CONFIG"; then
19070	_pkg_min_version=0.9.0
19071	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
19072$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
19073	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
19074		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19075$as_echo "yes" >&6; }
19076	else
19077		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19078$as_echo "no" >&6; }
19079		PKG_CONFIG=""
19080	fi
19081fi
19082
19083
19084    # Extract the first word of "gtkdoc-check", so it can be a program name with args.
19085set dummy gtkdoc-check; ac_word=$2
19086{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19087$as_echo_n "checking for $ac_word... " >&6; }
19088if ${ac_cv_path_GTKDOC_CHECK+:} false; then :
19089  $as_echo_n "(cached) " >&6
19090else
19091  case $GTKDOC_CHECK in
19092  [\\/]* | ?:[\\/]*)
19093  ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
19094  ;;
19095  *)
19096  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19097for as_dir in $PATH
19098do
19099  IFS=$as_save_IFS
19100  test -z "$as_dir" && as_dir=.
19101    for ac_exec_ext in '' $ac_executable_extensions; do
19102  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19103    ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
19104    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19105    break 2
19106  fi
19107done
19108  done
19109IFS=$as_save_IFS
19110
19111  ;;
19112esac
19113fi
19114GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
19115if test -n "$GTKDOC_CHECK"; then
19116  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
19117$as_echo "$GTKDOC_CHECK" >&6; }
19118else
19119  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19120$as_echo "no" >&6; }
19121fi
19122
19123
19124  for ac_prog in gtkdoc-rebase
19125do
19126  # Extract the first word of "$ac_prog", so it can be a program name with args.
19127set dummy $ac_prog; ac_word=$2
19128{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19129$as_echo_n "checking for $ac_word... " >&6; }
19130if ${ac_cv_path_GTKDOC_REBASE+:} false; then :
19131  $as_echo_n "(cached) " >&6
19132else
19133  case $GTKDOC_REBASE in
19134  [\\/]* | ?:[\\/]*)
19135  ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
19136  ;;
19137  *)
19138  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19139for as_dir in $PATH
19140do
19141  IFS=$as_save_IFS
19142  test -z "$as_dir" && as_dir=.
19143    for ac_exec_ext in '' $ac_executable_extensions; do
19144  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19145    ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
19146    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19147    break 2
19148  fi
19149done
19150  done
19151IFS=$as_save_IFS
19152
19153  ;;
19154esac
19155fi
19156GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
19157if test -n "$GTKDOC_REBASE"; then
19158  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
19159$as_echo "$GTKDOC_REBASE" >&6; }
19160else
19161  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19162$as_echo "no" >&6; }
19163fi
19164
19165
19166  test -n "$GTKDOC_REBASE" && break
19167done
19168test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
19169
19170  # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
19171set dummy gtkdoc-mkpdf; ac_word=$2
19172{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19173$as_echo_n "checking for $ac_word... " >&6; }
19174if ${ac_cv_path_GTKDOC_MKPDF+:} false; then :
19175  $as_echo_n "(cached) " >&6
19176else
19177  case $GTKDOC_MKPDF in
19178  [\\/]* | ?:[\\/]*)
19179  ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
19180  ;;
19181  *)
19182  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19183for as_dir in $PATH
19184do
19185  IFS=$as_save_IFS
19186  test -z "$as_dir" && as_dir=.
19187    for ac_exec_ext in '' $ac_executable_extensions; do
19188  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19189    ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
19190    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19191    break 2
19192  fi
19193done
19194  done
19195IFS=$as_save_IFS
19196
19197  ;;
19198esac
19199fi
19200GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
19201if test -n "$GTKDOC_MKPDF"; then
19202  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
19203$as_echo "$GTKDOC_MKPDF" >&6; }
19204else
19205  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19206$as_echo "no" >&6; }
19207fi
19208
19209
19210
19211
19212# Check whether --with-html-dir was given.
19213if test "${with_html_dir+set}" = set; then :
19214  withval=$with_html_dir;
19215else
19216  with_html_dir='${datadir}/gtk-doc/html'
19217fi
19218
19219  HTML_DIR="$with_html_dir"
19220
19221
19222    # Check whether --enable-gtk-doc was given.
19223if test "${enable_gtk_doc+set}" = set; then :
19224  enableval=$enable_gtk_doc;
19225else
19226  enable_gtk_doc=no
19227fi
19228
19229
19230  if test x$enable_gtk_doc = xyes; then
19231    if test -n "$PKG_CONFIG" && \
19232    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.15\""; } >&5
19233  ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.15") 2>&5
19234  ac_status=$?
19235  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19236  test $ac_status = 0; }; then
19237  :
19238else
19239  as_fn_error $? "You need to have gtk-doc >= 1.15 installed to build $PACKAGE_NAME" "$LINENO" 5
19240fi
19241  fi
19242
19243  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
19244$as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
19245  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
19246$as_echo "$enable_gtk_doc" >&6; }
19247
19248    # Check whether --enable-gtk-doc-html was given.
19249if test "${enable_gtk_doc_html+set}" = set; then :
19250  enableval=$enable_gtk_doc_html;
19251else
19252  enable_gtk_doc_html=yes
19253fi
19254
19255    # Check whether --enable-gtk-doc-pdf was given.
19256if test "${enable_gtk_doc_pdf+set}" = set; then :
19257  enableval=$enable_gtk_doc_pdf;
19258else
19259  enable_gtk_doc_pdf=no
19260fi
19261
19262
19263  if test -z "$GTKDOC_MKPDF"; then
19264    enable_gtk_doc_pdf=no
19265  fi
19266
19267
19268   if test x$enable_gtk_doc = xyes; then
19269  ENABLE_GTK_DOC_TRUE=
19270  ENABLE_GTK_DOC_FALSE='#'
19271else
19272  ENABLE_GTK_DOC_TRUE='#'
19273  ENABLE_GTK_DOC_FALSE=
19274fi
19275
19276   if test x$enable_gtk_doc_html = xyes; then
19277  GTK_DOC_BUILD_HTML_TRUE=
19278  GTK_DOC_BUILD_HTML_FALSE='#'
19279else
19280  GTK_DOC_BUILD_HTML_TRUE='#'
19281  GTK_DOC_BUILD_HTML_FALSE=
19282fi
19283
19284   if test x$enable_gtk_doc_pdf = xyes; then
19285  GTK_DOC_BUILD_PDF_TRUE=
19286  GTK_DOC_BUILD_PDF_FALSE='#'
19287else
19288  GTK_DOC_BUILD_PDF_TRUE='#'
19289  GTK_DOC_BUILD_PDF_FALSE=
19290fi
19291
19292   if test -n "$LIBTOOL"; then
19293  GTK_DOC_USE_LIBTOOL_TRUE=
19294  GTK_DOC_USE_LIBTOOL_FALSE='#'
19295else
19296  GTK_DOC_USE_LIBTOOL_TRUE='#'
19297  GTK_DOC_USE_LIBTOOL_FALSE=
19298fi
19299
19300   if test -n "$GTKDOC_REBASE"; then
19301  GTK_DOC_USE_REBASE_TRUE=
19302  GTK_DOC_USE_REBASE_FALSE='#'
19303else
19304  GTK_DOC_USE_REBASE_TRUE='#'
19305  GTK_DOC_USE_REBASE_FALSE=
19306fi
19307
19308
19309
19310
19311
19312#AM_PATH_GLIB_2_0([2.24.0],[ac_cv_glib_ok=yes],[ac_cv_glib_ok=no])
19313#AM_CONDITIONAL(WANT_GLIB, [test "$ac_cv_glib_ok"=yes])
19314
19315# check for libmagic (from "file" utility)
19316{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for magic_file in -lmagic" >&5
19317$as_echo_n "checking for magic_file in -lmagic... " >&6; }
19318if ${ac_cv_lib_magic_magic_file+:} false; then :
19319  $as_echo_n "(cached) " >&6
19320else
19321  ac_check_lib_save_LIBS=$LIBS
19322LIBS="-lmagic  $LIBS"
19323cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19324/* end confdefs.h.  */
19325
19326/* Override any GCC internal prototype to avoid an error.
19327   Use char because int might match the return type of a GCC
19328   builtin and then its argument prototype would still apply.  */
19329#ifdef __cplusplus
19330extern "C"
19331#endif
19332char magic_file ();
19333int
19334main ()
19335{
19336return magic_file ();
19337  ;
19338  return 0;
19339}
19340_ACEOF
19341if ac_fn_c_try_link "$LINENO"; then :
19342  ac_cv_lib_magic_magic_file=yes
19343else
19344  ac_cv_lib_magic_magic_file=no
19345fi
19346rm -f core conftest.err conftest.$ac_objext \
19347    conftest$ac_exeext conftest.$ac_ext
19348LIBS=$ac_check_lib_save_LIBS
19349fi
19350{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_magic_magic_file" >&5
19351$as_echo "$ac_cv_lib_magic_magic_file" >&6; }
19352if test "x$ac_cv_lib_magic_magic_file" = xyes; then :
19353  cat >>confdefs.h <<_ACEOF
19354#define HAVE_LIBMAGIC 1
19355_ACEOF
19356
19357  LIBS="-lmagic $LIBS"
19358
19359fi
19360
19361if test "$ac_cv_lib_magic_magic_file" = "no" ; then
19362    as_fn_error $? "*** Shucks! *** Error: libmagic header files were not found.  Debian package is  \"libmagic-dev\" or you can obtain the original author´s latest version by anonymous FTP on ftp.astron.com in the directory /pub/file/file-X.YZ.tar.gz. The Debian version adds a number of new magic entries. It can be obtained from every site carrying a Debian distribution (that is ftp.debian.org and mirrors)
19363    In OpenSUSE/Fedora, the package is called \"file-devel\"." "$LINENO" 5
19364fi
19365
19366
19367
19368for ac_prog in intltoolize
19369do
19370  # Extract the first word of "$ac_prog", so it can be a program name with args.
19371set dummy $ac_prog; ac_word=$2
19372{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19373$as_echo_n "checking for $ac_word... " >&6; }
19374if ${ac_cv_prog_intltoolize+:} false; then :
19375  $as_echo_n "(cached) " >&6
19376else
19377  if test -n "$intltoolize"; then
19378  ac_cv_prog_intltoolize="$intltoolize" # Let the user override the test.
19379else
19380as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19381for as_dir in $PATH
19382do
19383  IFS=$as_save_IFS
19384  test -z "$as_dir" && as_dir=.
19385    for ac_exec_ext in '' $ac_executable_extensions; do
19386  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19387    ac_cv_prog_intltoolize="$ac_prog"
19388    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19389    break 2
19390  fi
19391done
19392  done
19393IFS=$as_save_IFS
19394
19395fi
19396fi
19397intltoolize=$ac_cv_prog_intltoolize
19398if test -n "$intltoolize"; then
19399  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $intltoolize" >&5
19400$as_echo "$intltoolize" >&6; }
19401else
19402  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19403$as_echo "no" >&6; }
19404fi
19405
19406
19407  test -n "$intltoolize" && break
19408done
19409test -n "$intltoolize" || intltoolize="no"
19410
19411if test $intltoolize = "no" ; then
19412    as_fn_error $? "\"intltool utilities not found. Please install intltool to build this package from source.\"" "$LINENO" 5;
19413fi
19414for ac_prog in gawk
19415do
19416  # Extract the first word of "$ac_prog", so it can be a program name with args.
19417set dummy $ac_prog; ac_word=$2
19418{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19419$as_echo_n "checking for $ac_word... " >&6; }
19420if ${ac_cv_prog_gawk+:} false; then :
19421  $as_echo_n "(cached) " >&6
19422else
19423  if test -n "$gawk"; then
19424  ac_cv_prog_gawk="$gawk" # Let the user override the test.
19425else
19426as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19427for as_dir in $PATH
19428do
19429  IFS=$as_save_IFS
19430  test -z "$as_dir" && as_dir=.
19431    for ac_exec_ext in '' $ac_executable_extensions; do
19432  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19433    ac_cv_prog_gawk="$ac_prog"
19434    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19435    break 2
19436  fi
19437done
19438  done
19439IFS=$as_save_IFS
19440
19441fi
19442fi
19443gawk=$ac_cv_prog_gawk
19444if test -n "$gawk"; then
19445  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gawk" >&5
19446$as_echo "$gawk" >&6; }
19447else
19448  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19449$as_echo "no" >&6; }
19450fi
19451
19452
19453  test -n "$gawk" && break
19454done
19455test -n "$gawk" || gawk="no"
19456
19457if test $gawk = "no" ; then
19458    as_fn_error $? "\"gawk program not found. Please install gawk to build this package from source.\"" "$LINENO" 5;
19459fi
19460
19461
19462#if test x$LIBZIP_VERSION = "x"; then
19463#  AC_MSG_RESULT([Opendocument native thumbnails will not be shown.])
19464#  ac_cv_libzip="no"
19465#else
19466#  ac_cv_libzip="yes"
19467#fi
19468#  AM_CONDITIONAL([WANT_ZIP], [test "$ac_cv_libzip"=yes])
19469
19470
19471
19472{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Linux or BSD" >&5
19473$as_echo_n "checking for Linux or BSD... " >&6; }
19474#echo "system: $ac_uname_s"
19475os=`uname -a | grep BSD`
19476if test x"$os" != x ; then
19477    os=`uname -a | grep DragonFly`
19478fi
19479
19480if test x"$os" != x ; then
19481    { $as_echo "$as_me:${as_lineno-$LINENO}: result: System is BSD." >&5
19482$as_echo "System is BSD." >&6; }
19483    rodentman1dir=${prefix}/man/man1
19484    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gmake" >&5
19485$as_echo_n "checking for gmake... " >&6; };
19486    result_gmake=`gmake --version`
19487    if test x"${result_gmake}" = x; then
19488        as_fn_error $? "GNU make (gmake) not found! Please install and then rerun configure." "$LINENO" 5
19489    else
19490        echo "$result_gmake"
19491    fi
19492
19493cat >>confdefs.h <<_ACEOF
19494#define THIS_IS_BSD 1
19495_ACEOF
19496
19497# In FreeBSD gettext is in /usr/local
19498    CFLAGS="$CFLAGS -I/usr/local/include"
19499    LDFLAGS="$LDFLAGS  -L/usr/local/lib"
19500else
19501   rodentman1dir=${mandir}/man1
19502   ac_uname_s=`uname -s`
19503   if test "$ac_uname_s" = "Linux" ; then
19504
19505cat >>confdefs.h <<_ACEOF
19506#define THIS_IS_LINUX 1
19507_ACEOF
19508
19509	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: System is Linux." >&5
19510$as_echo "System is Linux." >&6; }
19511   else
19512        { $as_echo "$as_me:${as_lineno-$LINENO}: result: Unknown system... mingw-w64?" >&5
19513$as_echo "Unknown system... mingw-w64?" >&6; }
19514   fi
19515   CFLAGS="$CFLAGS"
19516   LDFLAGS="$LDFLAGS"
19517fi
19518ac_uname_s=`uname -s`
19519 UNAME_S=$ac_uname_s
19520 if test x"$os" != x ; then
19521  WANT_FREEBSD_TRUE=
19522  WANT_FREEBSD_FALSE='#'
19523else
19524  WANT_FREEBSD_TRUE='#'
19525  WANT_FREEBSD_FALSE=
19526fi
19527
19528
19529if test $prefix = NONE; then
19530   PREF=$ac_default_prefix
19531else
19532   PREF=$prefix
19533fi
19534
19535# Check whether --with-pkglibdata was given.
19536if test "${with_pkglibdata+set}" = set; then :
19537  withval=$with_pkglibdata;
19538fi
19539
19540
19541# Check whether --with-pkgdatadir was given.
19542if test "${with_pkgdatadir+set}" = set; then :
19543  withval=$with_pkgdatadir;
19544fi
19545
19546PKG_CONF_DIR=
19547if test x"$with_pkglibdata" != x ; then
19548    PKG_CONF_DIR="$PREF/libdata/pkgconfig"
19549else
19550  if test x"$with_pkgshare" != x ; then
19551    PKG_CONF_DIR="$PREF/share/pkgconfig"
19552  else
19553    DIRS="lib libdata share"
19554    TOP_COUNT=0
19555    for DIR in $DIRS
19556    do
19557        TARGET=$PREF/$DIR/pkgconfig
19558        if test -e $TARGET ; then
19559            echo "Searching for pkgconfig directory $TARGET... found."
19560            R=`ls $TARGET | grep \.pc\$`
19561                echo "score: $TARGET -> ${#R}"
19562                if test ${#R} -gt $TOP_COUNT ; then
19563                    TOP_COUNT=${#R}
19564                    PKG_CONF_DIR=$TARGET
19565                fi
19566        else
19567            echo "Searching for pkgconfig directory $TARGET... not found."
19568        fi
19569    done
19570    if test ${#PKG_CONF_DIR} -eq 0 ; then
19571        PKG_CONF_DIR="$libdir/pkgconfig"
19572        echo "*** Could not determine pkgconfig target. Using default $PKG_CONF_DIR"
19573        echo "    target. If this is not correct, use either --with_pkglibdata or"
19574        echo "    --with_pkgshare option and rerun configure"
19575    else
19576        echo "    Using $PKG_CONF_DIR as target for pkgconfig file."
19577        echo "    If this is not correct, use either --with_pkglibdata or"
19578        echo "    --with_pkgshare option and rerun configure"
19579    fi
19580  fi
19581fi
19582 PKG_CONF_DIR="$libdir/pkgconfig"
19583
19584
19585
19586{ $as_echo "$as_me:${as_lineno-$LINENO}: checking distro" >&5
19587$as_echo_n "checking distro... " >&6; };
19588result=`ls -l /sbin/yast 2>/dev/null | grep yast2`
19589if test x"${result}" = x; then
19590    { $as_echo "$as_me:${as_lineno-$LINENO}: result:  not Suse." >&5
19591$as_echo " not Suse." >&6; }
19592     LIBRSVG_NAME=librsvg2
19593     DISTRO_X=libSM-devel
19594     DISTRO_X_VERSION=1.2
19595     SUSE_RPM=no
19596else
19597    { $as_echo "$as_me:${as_lineno-$LINENO}: result:  Suse." >&5
19598$as_echo " Suse." >&6; }
19599     LIBRSVG_NAME=librsvg
19600     DISTRO_X=xorg-x11-devel
19601     DISTRO_X_VERSION=7.6
19602     SUSE_RPM=yes
19603fi
19604
19605{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gentoo emerge" >&5
19606$as_echo_n "checking for gentoo emerge... " >&6; }
19607# Extract the first word of "emerge", so it can be a program name with args.
19608set dummy emerge; ac_word=$2
19609{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19610$as_echo_n "checking for $ac_word... " >&6; }
19611if ${ac_cv_prog_cv_emerge+:} false; then :
19612  $as_echo_n "(cached) " >&6
19613else
19614  if test -n "$cv_emerge"; then
19615  ac_cv_prog_cv_emerge="$cv_emerge" # Let the user override the test.
19616else
19617as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19618for as_dir in $PATH
19619do
19620  IFS=$as_save_IFS
19621  test -z "$as_dir" && as_dir=.
19622    for ac_exec_ext in '' $ac_executable_extensions; do
19623  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19624    ac_cv_prog_cv_emerge="yes"
19625    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19626    break 2
19627  fi
19628done
19629  done
19630IFS=$as_save_IFS
19631
19632  test -z "$ac_cv_prog_cv_emerge" && ac_cv_prog_cv_emerge="no"
19633fi
19634fi
19635cv_emerge=$ac_cv_prog_cv_emerge
19636if test -n "$cv_emerge"; then
19637  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cv_emerge" >&5
19638$as_echo "$cv_emerge" >&6; }
19639else
19640  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19641$as_echo "no" >&6; }
19642fi
19643
19644
19645 if test "$cv_emerge" != no; then
19646  WANT_GENTOO_TRUE=
19647  WANT_GENTOO_FALSE='#'
19648else
19649  WANT_GENTOO_TRUE='#'
19650  WANT_GENTOO_FALSE=
19651fi
19652
19653
19654{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for debian dpkg" >&5
19655$as_echo_n "checking for debian dpkg... " >&6; }
19656# Extract the first word of "dpkg", so it can be a program name with args.
19657set dummy dpkg; ac_word=$2
19658{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19659$as_echo_n "checking for $ac_word... " >&6; }
19660if ${ac_cv_prog_cv_dpkg+:} false; then :
19661  $as_echo_n "(cached) " >&6
19662else
19663  if test -n "$cv_dpkg"; then
19664  ac_cv_prog_cv_dpkg="$cv_dpkg" # Let the user override the test.
19665else
19666as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19667for as_dir in $PATH
19668do
19669  IFS=$as_save_IFS
19670  test -z "$as_dir" && as_dir=.
19671    for ac_exec_ext in '' $ac_executable_extensions; do
19672  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19673    ac_cv_prog_cv_dpkg="yes"
19674    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19675    break 2
19676  fi
19677done
19678  done
19679IFS=$as_save_IFS
19680
19681  test -z "$ac_cv_prog_cv_dpkg" && ac_cv_prog_cv_dpkg="no"
19682fi
19683fi
19684cv_dpkg=$ac_cv_prog_cv_dpkg
19685if test -n "$cv_dpkg"; then
19686  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cv_dpkg" >&5
19687$as_echo "$cv_dpkg" >&6; }
19688else
19689  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19690$as_echo "no" >&6; }
19691fi
19692
19693
19694 if test "$cv_dpkg" != no; then
19695  WANT_DEBIAN_TRUE=
19696  WANT_DEBIAN_FALSE='#'
19697else
19698  WANT_DEBIAN_TRUE='#'
19699  WANT_DEBIAN_FALSE=
19700fi
19701
19702
19703
19704
19705
19706{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU Awk" >&5
19707$as_echo_n "checking for GNU Awk... " >&6; }
19708GAWK_VERSION=`gawk --version`
19709INDEX=`expr "$GAWK_VERSION" : "GNU Awk"`
19710#echo "INDEX=$INDEX"
19711if test $INDEX -gt 0 ; then
19712    { $as_echo "$as_me:${as_lineno-$LINENO}: result: GNU gawk found" >&5
19713$as_echo "GNU gawk found" >&6; }
19714else
19715    as_fn_error $? "GNU gawk not found! Please install and then rerun configure." "$LINENO" 5
19716fi
19717
19718
19719
19720{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ls" >&5
19721$as_echo_n "checking for GNU ls... " >&6; }
19722GAWK_VERSION=`ls --version`
19723INDEX=`expr "$GAWK_VERSION" : ".*GNU"`
19724
19725#   WITH_GNU_LS subst is for librfm-settings.in, configure script output.
19726#   GNU_LS subst is for .h.in preparations
19727if test $INDEX -gt  0 ; then
19728    { $as_echo "$as_me:${as_lineno-$LINENO}: result: GNU ls found" >&5
19729$as_echo "GNU ls found" >&6; }
19730     WITH_GNU_LS=yes
19731     GNU_LS="#define GNU_LS 1"
19732else
19733     GNU_LS="/*#define GNU_LS */"
19734     WITH_GNU_LS=no
19735    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ls is not GNU. Some features will be define by BSD ls." >&5
19736$as_echo "ls is not GNU. Some features will be define by BSD ls." >&6; }
19737fi
19738
19739
19740{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU cp" >&5
19741$as_echo_n "checking for GNU cp... " >&6; }
19742GAWK_VERSION=`cp --version`
19743INDEX=`expr "$GAWK_VERSION" : ".*GNU"`
19744
19745if test $INDEX -gt  0 ; then
19746    { $as_echo "$as_me:${as_lineno-$LINENO}: result: GNU cp found" >&5
19747$as_echo "GNU cp found" >&6; }
19748     WITH_GNU_CP=yes
19749     GNU_CP="#define GNU_CP 1"
19750else
19751     WITH_GNU_CP=no
19752     GNU_CP="/*#define GNU_CP */"
19753    { $as_echo "$as_me:${as_lineno-$LINENO}: result: cp is not GNU. Some features will be define by BSD!" >&5
19754$as_echo "cp is not GNU. Some features will be define by BSD!" >&6; }
19755fi
19756
19757
19758{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU mv" >&5
19759$as_echo_n "checking for GNU mv... " >&6; }
19760GAWK_VERSION=`mv --version`
19761INDEX=`expr "$GAWK_VERSION" : ".*GNU"`
19762
19763if test $INDEX -gt  0 ; then
19764    { $as_echo "$as_me:${as_lineno-$LINENO}: result: GNU mv found" >&5
19765$as_echo "GNU mv found" >&6; }
19766     WITH_GNU_MV=yes
19767     GNU_MV="#define GNU_MV 1"
19768else
19769     WITH_GNU_MV=no
19770     GNU_MV="/*#define GNU_MV */"
19771    { $as_echo "$as_me:${as_lineno-$LINENO}: result: mv is not GNU. Some features will be define by BSD!" >&5
19772$as_echo "mv is not GNU. Some features will be define by BSD!" >&6; }
19773fi
19774
19775
19776{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ln" >&5
19777$as_echo_n "checking for GNU ln... " >&6; }
19778GAWK_VERSION=`ln --version`
19779INDEX=`expr "$GAWK_VERSION" : ".*GNU"`
19780
19781if test $INDEX -gt  0 ; then
19782    { $as_echo "$as_me:${as_lineno-$LINENO}: result: GNU ln found" >&5
19783$as_echo "GNU ln found" >&6; }
19784     WITH_GNU_LN=yes
19785     GNU_LN="#define GNU_LN 1"
19786else
19787     WITH_GNU_LN=no
19788     GNU_LN="/*#define GNU_LN */"
19789    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ln is not GNU. Some features will not be enabled!" >&5
19790$as_echo "ln is not GNU. Some features will not be enabled!" >&6; }
19791fi
19792
19793
19794{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU rm" >&5
19795$as_echo_n "checking for GNU rm... " >&6; }
19796GAWK_VERSION=`rm --version`
19797INDEX=`expr "$GAWK_VERSION" : ".*GNU"`
19798#echo "INDEX=$INDEX"
19799
19800if test $INDEX -gt 0 ; then
19801    { $as_echo "$as_me:${as_lineno-$LINENO}: result: GNU rm found" >&5
19802$as_echo "GNU rm found" >&6; }
19803     WITH_GNU_RM=yes
19804     GNU_RM="#define GNU_RM 1"
19805else
19806     WITH_GNU_RM=no
19807     GNU_RM="/*#define GNU_RM */"
19808    { $as_echo "$as_me:${as_lineno-$LINENO}: result: rm is not GNU. Some features will not be enabled!" >&5
19809$as_echo "rm is not GNU. Some features will not be enabled!" >&6; }
19810fi
19811
19812# Shred is available in BSD with "rm -P"
19813
19814{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU shred" >&5
19815$as_echo_n "checking for GNU shred... " >&6; }
19816GAWK_VERSION=`shred --version`
19817INDEX=`expr "$GAWK_VERSION" : ".*GNU"`
19818#echo "INDEX=$INDEX"
19819
19820if test $INDEX -gt 0 ; then
19821    { $as_echo "$as_me:${as_lineno-$LINENO}: result: GNU shred found" >&5
19822$as_echo "GNU shred found" >&6; }
19823     WITH_GNU_SHRED=yes
19824     GNU_SHRED="#define GNU_SHRED 1"
19825else
19826     WITH_GNU_SHRED=no
19827     GNU_SHRED="/*#define GNU_SHRED */"
19828    { $as_echo "$as_me:${as_lineno-$LINENO}: result: shred is not GNU. Some features will not be enabled!" >&5
19829$as_echo "shred is not GNU. Some features will not be enabled!" >&6; }
19830fi
19831
19832
19833{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU Ghostscript" >&5
19834$as_echo_n "checking for GNU Ghostscript... " >&6; }
19835GS_VERSION=`gs --version`
19836if test x"$GS_VERSION" = x; then
19837     WITH_GNU_GS=no
19838    { $as_echo "$as_me:${as_lineno-$LINENO}: result: GNU Ghostscript not found" >&5
19839$as_echo "GNU Ghostscript not found" >&6; }
19840else
19841     WITH_GNU_GS=yes
19842    { $as_echo "$as_me:${as_lineno-$LINENO}: result: Ghostscript found" >&5
19843$as_echo "Ghostscript found" >&6; }
19844fi
19845
19846
19847
19848
19849{ $as_echo "$as_me:${as_lineno-$LINENO}: checking distro" >&5
19850$as_echo_n "checking distro... " >&6; };
19851result=`ls -l /sbin/yast 2>/dev/null | grep yast2`
19852if test x"${result}" = x; then
19853    { $as_echo "$as_me:${as_lineno-$LINENO}: result:  not Suse." >&5
19854$as_echo " not Suse." >&6; }
19855     LIBRSVG_NAME=librsvg2
19856     DISTRO_X=libSM-devel
19857     DISTRO_X_VERSION=1.2
19858     SUSE_RPM=no
19859else
19860    { $as_echo "$as_me:${as_lineno-$LINENO}: result:  Suse." >&5
19861$as_echo " Suse." >&6; }
19862     LIBRSVG_NAME=librsvg
19863     DISTRO_X=xorg-x11-devel
19864     DISTRO_X_VERSION=7.6
19865     SUSE_RPM=yes
19866fi
19867
19868{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gentoo emerge" >&5
19869$as_echo_n "checking for gentoo emerge... " >&6; }
19870# Extract the first word of "emerge", so it can be a program name with args.
19871set dummy emerge; ac_word=$2
19872{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19873$as_echo_n "checking for $ac_word... " >&6; }
19874if ${ac_cv_prog_cv_emerge+:} false; then :
19875  $as_echo_n "(cached) " >&6
19876else
19877  if test -n "$cv_emerge"; then
19878  ac_cv_prog_cv_emerge="$cv_emerge" # Let the user override the test.
19879else
19880as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19881for as_dir in $PATH
19882do
19883  IFS=$as_save_IFS
19884  test -z "$as_dir" && as_dir=.
19885    for ac_exec_ext in '' $ac_executable_extensions; do
19886  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19887    ac_cv_prog_cv_emerge="yes"
19888    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19889    break 2
19890  fi
19891done
19892  done
19893IFS=$as_save_IFS
19894
19895  test -z "$ac_cv_prog_cv_emerge" && ac_cv_prog_cv_emerge="no"
19896fi
19897fi
19898cv_emerge=$ac_cv_prog_cv_emerge
19899if test -n "$cv_emerge"; then
19900  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cv_emerge" >&5
19901$as_echo "$cv_emerge" >&6; }
19902else
19903  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19904$as_echo "no" >&6; }
19905fi
19906
19907
19908 if test "$cv_emerge" != no; then
19909  WANT_GENTOO_TRUE=
19910  WANT_GENTOO_FALSE='#'
19911else
19912  WANT_GENTOO_TRUE='#'
19913  WANT_GENTOO_FALSE=
19914fi
19915
19916
19917{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for debian dpkg" >&5
19918$as_echo_n "checking for debian dpkg... " >&6; }
19919# Extract the first word of "dpkg", so it can be a program name with args.
19920set dummy dpkg; ac_word=$2
19921{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19922$as_echo_n "checking for $ac_word... " >&6; }
19923if ${ac_cv_prog_cv_dpkg+:} false; then :
19924  $as_echo_n "(cached) " >&6
19925else
19926  if test -n "$cv_dpkg"; then
19927  ac_cv_prog_cv_dpkg="$cv_dpkg" # Let the user override the test.
19928else
19929as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19930for as_dir in $PATH
19931do
19932  IFS=$as_save_IFS
19933  test -z "$as_dir" && as_dir=.
19934    for ac_exec_ext in '' $ac_executable_extensions; do
19935  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19936    ac_cv_prog_cv_dpkg="yes"
19937    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19938    break 2
19939  fi
19940done
19941  done
19942IFS=$as_save_IFS
19943
19944  test -z "$ac_cv_prog_cv_dpkg" && ac_cv_prog_cv_dpkg="no"
19945fi
19946fi
19947cv_dpkg=$ac_cv_prog_cv_dpkg
19948if test -n "$cv_dpkg"; then
19949  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cv_dpkg" >&5
19950$as_echo "$cv_dpkg" >&6; }
19951else
19952  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19953$as_echo "no" >&6; }
19954fi
19955
19956
19957 if test "$cv_dpkg" != no; then
19958  WANT_DEBIAN_TRUE=
19959  WANT_DEBIAN_FALSE='#'
19960else
19961  WANT_DEBIAN_TRUE='#'
19962  WANT_DEBIAN_FALSE=
19963fi
19964
19965
19966
19967
19968
19969    GETTEXT_PACKAGE=librfm5
19970
19971cat >>confdefs.h <<_ACEOF
19972#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
19973_ACEOF
19974
19975
19976
19977    ALL_LINGUAS="af am  an ar as ast  az  be@latin  be bg bn_IN bn bo br  bs ca ca@valencia crh csb cs cy da de  dz el en_AU en_CA en_GB  en_US eo es et eu fa fi  fr fur fy ga gl  gu gv  he hi hne hr hsb hu hy ia id ig io is it ja ka kg  kk km kn ko  ks ku ky  lb lg li lt lv mai mg mi mk ml mn mr ms  my nb nds ne  nl nn nso oc or  pa pl ps pt_BR pt pt_PT ro ru rw se si sk sl  sq sr@ijekavianlatin sr@ijekavian sr@ije sr@latin  sr sv   ta te tg th tk  tr tt ug uk  ur uz@cyrillic uz vi wa xh yi yo zh_CN zh_HK zh zh_TW.Big5 zh_TW zu"
19978
19979   for ac_header in locale.h
19980do :
19981  ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
19982if test "x$ac_cv_header_locale_h" = xyes; then :
19983  cat >>confdefs.h <<_ACEOF
19984#define HAVE_LOCALE_H 1
19985_ACEOF
19986
19987fi
19988
19989done
19990
19991    if test $ac_cv_header_locale_h = yes; then
19992    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
19993$as_echo_n "checking for LC_MESSAGES... " >&6; }
19994if ${am_cv_val_LC_MESSAGES+:} false; then :
19995  $as_echo_n "(cached) " >&6
19996else
19997  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19998/* end confdefs.h.  */
19999#include <locale.h>
20000int
20001main ()
20002{
20003return LC_MESSAGES
20004  ;
20005  return 0;
20006}
20007_ACEOF
20008if ac_fn_c_try_link "$LINENO"; then :
20009  am_cv_val_LC_MESSAGES=yes
20010else
20011  am_cv_val_LC_MESSAGES=no
20012fi
20013rm -f core conftest.err conftest.$ac_objext \
20014    conftest$ac_exeext conftest.$ac_ext
20015fi
20016{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
20017$as_echo "$am_cv_val_LC_MESSAGES" >&6; }
20018    if test $am_cv_val_LC_MESSAGES = yes; then
20019
20020$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
20021
20022    fi
20023  fi
20024     USE_NLS=yes
20025
20026
20027    gt_cv_have_gettext=no
20028
20029    CATOBJEXT=NONE
20030    XGETTEXT=:
20031    INTLLIBS=
20032
20033
20034    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
20035$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
20036if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
20037  $as_echo_n "(cached) " >&6
20038else
20039  gt_save_LIBS="$LIBS"
20040     LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
20041     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20042/* end confdefs.h.  */
20043#include <CoreFoundation/CFPreferences.h>
20044int
20045main ()
20046{
20047CFPreferencesCopyAppValue(NULL, NULL)
20048  ;
20049  return 0;
20050}
20051_ACEOF
20052if ac_fn_c_try_link "$LINENO"; then :
20053  gt_cv_func_CFPreferencesCopyAppValue=yes
20054else
20055  gt_cv_func_CFPreferencesCopyAppValue=no
20056fi
20057rm -f core conftest.err conftest.$ac_objext \
20058    conftest$ac_exeext conftest.$ac_ext
20059     LIBS="$gt_save_LIBS"
20060fi
20061{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
20062$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
20063  if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
20064
20065$as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
20066
20067  fi
20068    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
20069$as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
20070if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
20071  $as_echo_n "(cached) " >&6
20072else
20073  gt_save_LIBS="$LIBS"
20074     LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
20075     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20076/* end confdefs.h.  */
20077#include <CoreFoundation/CFLocale.h>
20078int
20079main ()
20080{
20081CFLocaleCopyCurrent();
20082  ;
20083  return 0;
20084}
20085_ACEOF
20086if ac_fn_c_try_link "$LINENO"; then :
20087  gt_cv_func_CFLocaleCopyCurrent=yes
20088else
20089  gt_cv_func_CFLocaleCopyCurrent=no
20090fi
20091rm -f core conftest.err conftest.$ac_objext \
20092    conftest$ac_exeext conftest.$ac_ext
20093     LIBS="$gt_save_LIBS"
20094fi
20095{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
20096$as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
20097  if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
20098
20099$as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
20100
20101  fi
20102  INTL_MACOSX_LIBS=
20103  if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
20104    INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
20105  fi
20106
20107
20108
20109    ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
20110if test "x$ac_cv_header_libintl_h" = xyes; then :
20111  gt_cv_func_dgettext_libintl="no"
20112      libintl_extra_libs=""
20113
20114      #
20115      # First check in libc
20116      #
20117      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
20118$as_echo_n "checking for ngettext in libc... " >&6; }
20119if ${gt_cv_func_ngettext_libc+:} false; then :
20120  $as_echo_n "(cached) " >&6
20121else
20122  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20123/* end confdefs.h.  */
20124
20125#include <libintl.h>
20126
20127int
20128main ()
20129{
20130return !ngettext ("","", 1)
20131  ;
20132  return 0;
20133}
20134_ACEOF
20135if ac_fn_c_try_link "$LINENO"; then :
20136  gt_cv_func_ngettext_libc=yes
20137else
20138  gt_cv_func_ngettext_libc=no
20139fi
20140rm -f core conftest.err conftest.$ac_objext \
20141    conftest$ac_exeext conftest.$ac_ext
20142
20143fi
20144{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
20145$as_echo "$gt_cv_func_ngettext_libc" >&6; }
20146
20147      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
20148	      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
20149$as_echo_n "checking for dgettext in libc... " >&6; }
20150if ${gt_cv_func_dgettext_libc+:} false; then :
20151  $as_echo_n "(cached) " >&6
20152else
20153  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20154/* end confdefs.h.  */
20155
20156#include <libintl.h>
20157
20158int
20159main ()
20160{
20161return !dgettext ("","")
20162  ;
20163  return 0;
20164}
20165_ACEOF
20166if ac_fn_c_try_link "$LINENO"; then :
20167  gt_cv_func_dgettext_libc=yes
20168else
20169  gt_cv_func_dgettext_libc=no
20170fi
20171rm -f core conftest.err conftest.$ac_objext \
20172    conftest$ac_exeext conftest.$ac_ext
20173
20174fi
20175{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
20176$as_echo "$gt_cv_func_dgettext_libc" >&6; }
20177      fi
20178
20179      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
20180        for ac_func in bind_textdomain_codeset
20181do :
20182  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
20183if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
20184  cat >>confdefs.h <<_ACEOF
20185#define HAVE_BIND_TEXTDOMAIN_CODESET 1
20186_ACEOF
20187
20188fi
20189done
20190
20191      fi
20192
20193      #
20194      # If we don't have everything we want, check in libintl
20195      #
20196      if test "$gt_cv_func_dgettext_libc" != "yes" \
20197	 || test "$gt_cv_func_ngettext_libc" != "yes" \
20198         || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
20199
20200        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
20201$as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
20202if ${ac_cv_lib_intl_bindtextdomain+:} false; then :
20203  $as_echo_n "(cached) " >&6
20204else
20205  ac_check_lib_save_LIBS=$LIBS
20206LIBS="-lintl  $LIBS"
20207cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20208/* end confdefs.h.  */
20209
20210/* Override any GCC internal prototype to avoid an error.
20211   Use char because int might match the return type of a GCC
20212   builtin and then its argument prototype would still apply.  */
20213#ifdef __cplusplus
20214extern "C"
20215#endif
20216char bindtextdomain ();
20217int
20218main ()
20219{
20220return bindtextdomain ();
20221  ;
20222  return 0;
20223}
20224_ACEOF
20225if ac_fn_c_try_link "$LINENO"; then :
20226  ac_cv_lib_intl_bindtextdomain=yes
20227else
20228  ac_cv_lib_intl_bindtextdomain=no
20229fi
20230rm -f core conftest.err conftest.$ac_objext \
20231    conftest$ac_exeext conftest.$ac_ext
20232LIBS=$ac_check_lib_save_LIBS
20233fi
20234{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
20235$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
20236if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then :
20237  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
20238$as_echo_n "checking for ngettext in -lintl... " >&6; }
20239if ${ac_cv_lib_intl_ngettext+:} false; then :
20240  $as_echo_n "(cached) " >&6
20241else
20242  ac_check_lib_save_LIBS=$LIBS
20243LIBS="-lintl  $LIBS"
20244cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20245/* end confdefs.h.  */
20246
20247/* Override any GCC internal prototype to avoid an error.
20248   Use char because int might match the return type of a GCC
20249   builtin and then its argument prototype would still apply.  */
20250#ifdef __cplusplus
20251extern "C"
20252#endif
20253char ngettext ();
20254int
20255main ()
20256{
20257return ngettext ();
20258  ;
20259  return 0;
20260}
20261_ACEOF
20262if ac_fn_c_try_link "$LINENO"; then :
20263  ac_cv_lib_intl_ngettext=yes
20264else
20265  ac_cv_lib_intl_ngettext=no
20266fi
20267rm -f core conftest.err conftest.$ac_objext \
20268    conftest$ac_exeext conftest.$ac_ext
20269LIBS=$ac_check_lib_save_LIBS
20270fi
20271{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
20272$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
20273if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
20274  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
20275$as_echo_n "checking for dgettext in -lintl... " >&6; }
20276if ${ac_cv_lib_intl_dgettext+:} false; then :
20277  $as_echo_n "(cached) " >&6
20278else
20279  ac_check_lib_save_LIBS=$LIBS
20280LIBS="-lintl  $LIBS"
20281cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20282/* end confdefs.h.  */
20283
20284/* Override any GCC internal prototype to avoid an error.
20285   Use char because int might match the return type of a GCC
20286   builtin and then its argument prototype would still apply.  */
20287#ifdef __cplusplus
20288extern "C"
20289#endif
20290char dgettext ();
20291int
20292main ()
20293{
20294return dgettext ();
20295  ;
20296  return 0;
20297}
20298_ACEOF
20299if ac_fn_c_try_link "$LINENO"; then :
20300  ac_cv_lib_intl_dgettext=yes
20301else
20302  ac_cv_lib_intl_dgettext=no
20303fi
20304rm -f core conftest.err conftest.$ac_objext \
20305    conftest$ac_exeext conftest.$ac_ext
20306LIBS=$ac_check_lib_save_LIBS
20307fi
20308{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
20309$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
20310if test "x$ac_cv_lib_intl_dgettext" = xyes; then :
20311  gt_cv_func_dgettext_libintl=yes
20312fi
20313
20314fi
20315
20316fi
20317
20318
20319	if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
20320	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
20321$as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
20322	  { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
20323$as_echo "" >&6; }
20324  	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
20325$as_echo_n "checking for ngettext in -lintl... " >&6; }
20326if ${ac_cv_lib_intl_ngettext+:} false; then :
20327  $as_echo_n "(cached) " >&6
20328else
20329  ac_check_lib_save_LIBS=$LIBS
20330LIBS="-lintl -liconv $LIBS"
20331cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20332/* end confdefs.h.  */
20333
20334/* Override any GCC internal prototype to avoid an error.
20335   Use char because int might match the return type of a GCC
20336   builtin and then its argument prototype would still apply.  */
20337#ifdef __cplusplus
20338extern "C"
20339#endif
20340char ngettext ();
20341int
20342main ()
20343{
20344return ngettext ();
20345  ;
20346  return 0;
20347}
20348_ACEOF
20349if ac_fn_c_try_link "$LINENO"; then :
20350  ac_cv_lib_intl_ngettext=yes
20351else
20352  ac_cv_lib_intl_ngettext=no
20353fi
20354rm -f core conftest.err conftest.$ac_objext \
20355    conftest$ac_exeext conftest.$ac_ext
20356LIBS=$ac_check_lib_save_LIBS
20357fi
20358{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
20359$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
20360if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
20361  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
20362$as_echo_n "checking for dcgettext in -lintl... " >&6; }
20363if ${ac_cv_lib_intl_dcgettext+:} false; then :
20364  $as_echo_n "(cached) " >&6
20365else
20366  ac_check_lib_save_LIBS=$LIBS
20367LIBS="-lintl -liconv $LIBS"
20368cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20369/* end confdefs.h.  */
20370
20371/* Override any GCC internal prototype to avoid an error.
20372   Use char because int might match the return type of a GCC
20373   builtin and then its argument prototype would still apply.  */
20374#ifdef __cplusplus
20375extern "C"
20376#endif
20377char dcgettext ();
20378int
20379main ()
20380{
20381return dcgettext ();
20382  ;
20383  return 0;
20384}
20385_ACEOF
20386if ac_fn_c_try_link "$LINENO"; then :
20387  ac_cv_lib_intl_dcgettext=yes
20388else
20389  ac_cv_lib_intl_dcgettext=no
20390fi
20391rm -f core conftest.err conftest.$ac_objext \
20392    conftest$ac_exeext conftest.$ac_ext
20393LIBS=$ac_check_lib_save_LIBS
20394fi
20395{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
20396$as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
20397if test "x$ac_cv_lib_intl_dcgettext" = xyes; then :
20398  gt_cv_func_dgettext_libintl=yes
20399			libintl_extra_libs=-liconv
20400else
20401  :
20402fi
20403
20404else
20405  :
20406fi
20407
20408        fi
20409
20410        #
20411        # If we found libintl, then check in it for bind_textdomain_codeset();
20412        # we'll prefer libc if neither have bind_textdomain_codeset(),
20413        # and both have dgettext and ngettext
20414        #
20415        if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
20416          glib_save_LIBS="$LIBS"
20417          LIBS="$LIBS -lintl $libintl_extra_libs"
20418          unset ac_cv_func_bind_textdomain_codeset
20419          for ac_func in bind_textdomain_codeset
20420do :
20421  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
20422if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
20423  cat >>confdefs.h <<_ACEOF
20424#define HAVE_BIND_TEXTDOMAIN_CODESET 1
20425_ACEOF
20426
20427fi
20428done
20429
20430          LIBS="$glib_save_LIBS"
20431
20432          if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
20433            gt_cv_func_dgettext_libc=no
20434          else
20435            if test "$gt_cv_func_dgettext_libc" = "yes" \
20436		&& test "$gt_cv_func_ngettext_libc" = "yes"; then
20437              gt_cv_func_dgettext_libintl=no
20438            fi
20439          fi
20440        fi
20441      fi
20442
20443      if test "$gt_cv_func_dgettext_libc" = "yes" \
20444	|| test "$gt_cv_func_dgettext_libintl" = "yes"; then
20445        gt_cv_have_gettext=yes
20446      fi
20447
20448      if test "$gt_cv_func_dgettext_libintl" = "yes"; then
20449        INTLLIBS="-lintl $libintl_extra_libs $INTL_MACOSX_LIBS"
20450      fi
20451
20452      if test "$gt_cv_have_gettext" = "yes"; then
20453
20454$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
20455
20456	# Extract the first word of "msgfmt", so it can be a program name with args.
20457set dummy msgfmt; ac_word=$2
20458{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20459$as_echo_n "checking for $ac_word... " >&6; }
20460if ${ac_cv_path_MSGFMT+:} false; then :
20461  $as_echo_n "(cached) " >&6
20462else
20463  case "$MSGFMT" in
20464  /*)
20465  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
20466  ;;
20467  *)
20468  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
20469  for ac_dir in $PATH; do
20470    test -z "$ac_dir" && ac_dir=.
20471    if test -f $ac_dir/$ac_word; then
20472      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
20473	ac_cv_path_MSGFMT="$ac_dir/$ac_word"
20474	break
20475      fi
20476    fi
20477  done
20478  IFS="$ac_save_ifs"
20479  test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
20480  ;;
20481esac
20482fi
20483MSGFMT="$ac_cv_path_MSGFMT"
20484if test "$MSGFMT" != "no"; then
20485  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
20486$as_echo "$MSGFMT" >&6; }
20487else
20488  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20489$as_echo "no" >&6; }
20490fi
20491	if test "$MSGFMT" != "no"; then
20492          glib_save_LIBS="$LIBS"
20493          LIBS="$LIBS $INTLLIBS"
20494	  for ac_func in dcgettext
20495do :
20496  ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
20497if test "x$ac_cv_func_dcgettext" = xyes; then :
20498  cat >>confdefs.h <<_ACEOF
20499#define HAVE_DCGETTEXT 1
20500_ACEOF
20501
20502fi
20503done
20504
20505	  MSGFMT_OPTS=
20506	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
20507$as_echo_n "checking if msgfmt accepts -c... " >&6; }
20508	  cat >conftest.foo <<_ACEOF
20509
20510msgid ""
20511msgstr ""
20512"Content-Type: text/plain; charset=UTF-8\n"
20513"Project-Id-Version: test 1.0\n"
20514"PO-Revision-Date: 2007-02-15 12:01+0100\n"
20515"Last-Translator: test <foo@bar.xx>\n"
20516"Language-Team: C <LL@li.org>\n"
20517"MIME-Version: 1.0\n"
20518"Content-Transfer-Encoding: 8bit\n"
20519
20520_ACEOF
20521if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
20522  ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
20523  ac_status=$?
20524  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20525  test $ac_status = 0; }; then
20526  MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20527$as_echo "yes" >&6; }
20528else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20529$as_echo "no" >&6; }
20530echo "$as_me: failed input was:" >&5
20531sed 's/^/| /' conftest.foo >&5
20532fi
20533
20534	  # Extract the first word of "gmsgfmt", so it can be a program name with args.
20535set dummy gmsgfmt; ac_word=$2
20536{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20537$as_echo_n "checking for $ac_word... " >&6; }
20538if ${ac_cv_path_GMSGFMT+:} false; then :
20539  $as_echo_n "(cached) " >&6
20540else
20541  case $GMSGFMT in
20542  [\\/]* | ?:[\\/]*)
20543  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
20544  ;;
20545  *)
20546  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20547for as_dir in $PATH
20548do
20549  IFS=$as_save_IFS
20550  test -z "$as_dir" && as_dir=.
20551    for ac_exec_ext in '' $ac_executable_extensions; do
20552  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20553    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
20554    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20555    break 2
20556  fi
20557done
20558  done
20559IFS=$as_save_IFS
20560
20561  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
20562  ;;
20563esac
20564fi
20565GMSGFMT=$ac_cv_path_GMSGFMT
20566if test -n "$GMSGFMT"; then
20567  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
20568$as_echo "$GMSGFMT" >&6; }
20569else
20570  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20571$as_echo "no" >&6; }
20572fi
20573
20574
20575	  # Extract the first word of "xgettext", so it can be a program name with args.
20576set dummy xgettext; ac_word=$2
20577{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20578$as_echo_n "checking for $ac_word... " >&6; }
20579if ${ac_cv_path_XGETTEXT+:} false; then :
20580  $as_echo_n "(cached) " >&6
20581else
20582  case "$XGETTEXT" in
20583  /*)
20584  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
20585  ;;
20586  *)
20587  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
20588  for ac_dir in $PATH; do
20589    test -z "$ac_dir" && ac_dir=.
20590    if test -f $ac_dir/$ac_word; then
20591      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
20592	ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
20593	break
20594      fi
20595    fi
20596  done
20597  IFS="$ac_save_ifs"
20598  test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
20599  ;;
20600esac
20601fi
20602XGETTEXT="$ac_cv_path_XGETTEXT"
20603if test "$XGETTEXT" != ":"; then
20604  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
20605$as_echo "$XGETTEXT" >&6; }
20606else
20607  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20608$as_echo "no" >&6; }
20609fi
20610
20611	  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20612/* end confdefs.h.  */
20613
20614int
20615main ()
20616{
20617extern int _nl_msg_cat_cntr;
20618			 return _nl_msg_cat_cntr
20619  ;
20620  return 0;
20621}
20622_ACEOF
20623if ac_fn_c_try_link "$LINENO"; then :
20624  CATOBJEXT=.gmo
20625             DATADIRNAME=share
20626else
20627  case $host in
20628	    *-*-solaris*)
20629	    	                	    	                ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
20630if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
20631  CATOBJEXT=.gmo
20632               DATADIRNAME=share
20633else
20634  CATOBJEXT=.mo
20635               DATADIRNAME=lib
20636fi
20637
20638	    ;;
20639	    *-*-openbsd*)
20640	    CATOBJEXT=.mo
20641            DATADIRNAME=share
20642	    ;;
20643	    *)
20644	    CATOBJEXT=.mo
20645            DATADIRNAME=lib
20646	    ;;
20647	    esac
20648fi
20649rm -f core conftest.err conftest.$ac_objext \
20650    conftest$ac_exeext conftest.$ac_ext
20651          LIBS="$glib_save_LIBS"
20652	  INSTOBJEXT=.mo
20653	else
20654	  gt_cv_have_gettext=no
20655	fi
20656      fi
20657
20658fi
20659
20660
20661
20662    if test "$gt_cv_have_gettext" = "yes" ; then
20663
20664$as_echo "#define ENABLE_NLS 1" >>confdefs.h
20665
20666    fi
20667
20668        if test "$XGETTEXT" != ":"; then
20669                  if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
20670        : ;
20671      else
20672        { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
20673$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
20674        XGETTEXT=":"
20675      fi
20676    fi
20677
20678    # We need to process the po/ directory.
20679    POSUB=po
20680
20681    ac_config_commands="$ac_config_commands default-1"
20682
20683
20684                for lang in $ALL_LINGUAS; do
20685      GMOFILES="$GMOFILES $lang.gmo"
20686      POFILES="$POFILES $lang.po"
20687    done
20688
20689
20690
20691
20692
20693
20694
20695
20696
20697
20698
20699
20700
20701   if test "$gt_cv_have_gettext" = "yes"; then
20702     if test "x$ALL_LINGUAS" = "x"; then
20703       LINGUAS=
20704     else
20705       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
20706$as_echo_n "checking for catalogs to be installed... " >&6; }
20707       NEW_LINGUAS=
20708       for presentlang in $ALL_LINGUAS; do
20709         useit=no
20710         if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
20711           desiredlanguages="$LINGUAS"
20712         else
20713           desiredlanguages="$ALL_LINGUAS"
20714         fi
20715         for desiredlang in $desiredlanguages; do
20716 	   # Use the presentlang catalog if desiredlang is
20717           #   a. equal to presentlang, or
20718           #   b. a variant of presentlang (because in this case,
20719           #      presentlang can be used as a fallback for messages
20720           #      which are not translated in the desiredlang catalog).
20721           case "$desiredlang" in
20722             "$presentlang"*) useit=yes;;
20723           esac
20724         done
20725         if test $useit = yes; then
20726           NEW_LINGUAS="$NEW_LINGUAS $presentlang"
20727         fi
20728       done
20729       LINGUAS=$NEW_LINGUAS
20730       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
20731$as_echo "$LINGUAS" >&6; }
20732     fi
20733
20734          if test -n "$LINGUAS"; then
20735       for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
20736     fi
20737   fi
20738
20739            MKINSTALLDIRS=
20740   if test -n "$ac_aux_dir"; then
20741     MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
20742   fi
20743   if test -z "$MKINSTALLDIRS"; then
20744     MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
20745   fi
20746
20747
20748         test -d po || mkdir po
20749   if test "x$srcdir" != "x."; then
20750     if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
20751       posrcprefix="$srcdir/"
20752     else
20753       posrcprefix="../$srcdir/"
20754     fi
20755   else
20756     posrcprefix="../"
20757   fi
20758   rm -f po/POTFILES
20759   sed -e "/^#/d" -e "/^\$/d" -e "s,.*,	$posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
20760	< $srcdir/po/POTFILES.in > po/POTFILES
20761
20762
20763    ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
20764if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
20765
20766fi
20767
20768
20769    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for locales directory" >&5
20770$as_echo_n "checking for locales directory... " >&6; }
20771
20772# Check whether --with-locales-dir was given.
20773if test "${with_locales_dir+set}" = set; then :
20774  withval=$with_locales_dir; localedir=$withval
20775else
20776
20777    if test x"$CATOBJEXT" = x".mo"; then
20778      localedir=$libdir/locale
20779    else
20780      localedir=$datadir/locale
20781    fi
20782
20783fi
20784
20785  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $localedir" >&5
20786$as_echo "$localedir" >&6; }
20787
20788
20789    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional xgettext flags" >&5
20790$as_echo_n "checking for additional xgettext flags... " >&6; }
20791  if test x"$XGETTEXT_ARGS" = x""; then
20792    XGETTEXT_ARGS="--keyword=Q_";
20793  else
20794    XGETTEXT_ARGS="$XGETTEXT_ARGS --keyword=Q_";
20795  fi
20796
20797  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT_ARGS" >&5
20798$as_echo "$XGETTEXT_ARGS" >&6; }
20799
20800
20801{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for /usr/share/pixmaps" >&5
20802$as_echo_n "checking for /usr/share/pixmaps... " >&6; }
20803if ${ac_cv_file__usr_share_pixmaps+:} false; then :
20804  $as_echo_n "(cached) " >&6
20805else
20806  test "$cross_compiling" = yes &&
20807  as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
20808if test -r "/usr/share/pixmaps"; then
20809  ac_cv_file__usr_share_pixmaps=yes
20810else
20811  ac_cv_file__usr_share_pixmaps=no
20812fi
20813fi
20814{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_pixmaps" >&5
20815$as_echo "$ac_cv_file__usr_share_pixmaps" >&6; }
20816if test "x$ac_cv_file__usr_share_pixmaps" = xyes; then :
20817
20818cat >>confdefs.h <<_ACEOF
20819#define HAVE__USR_SHARE_PIXMAPS 1
20820_ACEOF
20821
20822fi
20823{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for /usr/local/share/pixmaps" >&5
20824$as_echo_n "checking for /usr/local/share/pixmaps... " >&6; }
20825if ${ac_cv_file__usr_local_share_pixmaps+:} false; then :
20826  $as_echo_n "(cached) " >&6
20827else
20828  test "$cross_compiling" = yes &&
20829  as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
20830if test -r "/usr/local/share/pixmaps"; then
20831  ac_cv_file__usr_local_share_pixmaps=yes
20832else
20833  ac_cv_file__usr_local_share_pixmaps=no
20834fi
20835fi
20836{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_local_share_pixmaps" >&5
20837$as_echo "$ac_cv_file__usr_local_share_pixmaps" >&6; }
20838if test "x$ac_cv_file__usr_local_share_pixmaps" = xyes; then :
20839
20840cat >>confdefs.h <<_ACEOF
20841#define HAVE__USR_LOCAL_SHARE_PIXMAPS 1
20842_ACEOF
20843
20844fi
20845{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for /usr/share/icons" >&5
20846$as_echo_n "checking for /usr/share/icons... " >&6; }
20847if ${ac_cv_file__usr_share_icons+:} false; then :
20848  $as_echo_n "(cached) " >&6
20849else
20850  test "$cross_compiling" = yes &&
20851  as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
20852if test -r "/usr/share/icons"; then
20853  ac_cv_file__usr_share_icons=yes
20854else
20855  ac_cv_file__usr_share_icons=no
20856fi
20857fi
20858{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_icons" >&5
20859$as_echo "$ac_cv_file__usr_share_icons" >&6; }
20860if test "x$ac_cv_file__usr_share_icons" = xyes; then :
20861
20862cat >>confdefs.h <<_ACEOF
20863#define HAVE__USR_SHARE_ICONS 1
20864_ACEOF
20865
20866fi
20867{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for /usr/local/share/icons" >&5
20868$as_echo_n "checking for /usr/local/share/icons... " >&6; }
20869if ${ac_cv_file__usr_local_share_icons+:} false; then :
20870  $as_echo_n "(cached) " >&6
20871else
20872  test "$cross_compiling" = yes &&
20873  as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
20874if test -r "/usr/local/share/icons"; then
20875  ac_cv_file__usr_local_share_icons=yes
20876else
20877  ac_cv_file__usr_local_share_icons=no
20878fi
20879fi
20880{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_local_share_icons" >&5
20881$as_echo "$ac_cv_file__usr_local_share_icons" >&6; }
20882if test "x$ac_cv_file__usr_local_share_icons" = xyes; then :
20883
20884cat >>confdefs.h <<_ACEOF
20885#define HAVE__USR_LOCAL_SHARE_ICONS 1
20886_ACEOF
20887
20888fi
20889
20890
20891
20892 for ac_prog in ps
20893do
20894  # Extract the first word of "$ac_prog", so it can be a program name with args.
20895set dummy $ac_prog; ac_word=$2
20896{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20897$as_echo_n "checking for $ac_word... " >&6; }
20898if ${ac_cv_prog_ps+:} false; then :
20899  $as_echo_n "(cached) " >&6
20900else
20901  if test -n "$ps"; then
20902  ac_cv_prog_ps="$ps" # Let the user override the test.
20903else
20904as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20905for as_dir in $PATH
20906do
20907  IFS=$as_save_IFS
20908  test -z "$as_dir" && as_dir=.
20909    for ac_exec_ext in '' $ac_executable_extensions; do
20910  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20911    ac_cv_prog_ps="$ac_prog"
20912    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20913    break 2
20914  fi
20915done
20916  done
20917IFS=$as_save_IFS
20918
20919fi
20920fi
20921ps=$ac_cv_prog_ps
20922if test -n "$ps"; then
20923  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ps" >&5
20924$as_echo "$ps" >&6; }
20925else
20926  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20927$as_echo "no" >&6; }
20928fi
20929
20930
20931  test -n "$ps" && break
20932done
20933test -n "$ps" || ps="no"
20934
20935 if test $ps = "no" ; then
20936    as_fn_error $? "Unable to find the ps application" "$LINENO" 5;
20937 else
20938    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ps capabilities" >&5
20939$as_echo_n "checking for ps capabilities... " >&6; }
20940    echo
20941
20942    result=`ps -o rss  2>/dev/null`;
20943
20944    if test x"${result}" = x; then
20945	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no -o rss option found" >&5
20946$as_echo "no -o rss option found" >&6; }
20947	OPTION_FOUND=no
20948    else
20949
20950$as_echo "#define HAVE_UNIX_O_RSS 1" >>confdefs.h
20951
20952	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: -o rss option found" >&5
20953$as_echo "-o rss option found" >&6; }
20954	OPTION_FOUND=yes
20955    fi
20956     if test x"_OPTION_FOUND" = x"yes"; then
20957  HAVE_UNIX_O_RSS_TRUE=
20958  HAVE_UNIX_O_RSS_FALSE='#'
20959else
20960  HAVE_UNIX_O_RSS_TRUE='#'
20961  HAVE_UNIX_O_RSS_FALSE=
20962fi
20963
20964
20965    result=`ps -jH  2>/dev/null`;
20966    if test x"${result}" = x; then
20967	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no -jH option found" >&5
20968$as_echo "no -jH option found" >&6; }
20969	OPTION_FOUND=no
20970    else
20971
20972$as_echo "#define HAVE_UNIX_JH 1" >>confdefs.h
20973
20974	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: -jH option found" >&5
20975$as_echo "-jH option found" >&6; }
20976	OPTION_FOUND=yes
20977    fi
20978     if test x"_OPTION_FOUND" = x"yes"; then
20979  HAVE_UNIX_JH_TRUE=
20980  HAVE_UNIX_JH_FALSE='#'
20981else
20982  HAVE_UNIX_JH_TRUE='#'
20983  HAVE_UNIX_JH_FALSE=
20984fi
20985
20986
20987    result=`ps -ly  2>/dev/null`;
20988    if test x"${result}" = x; then
20989	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no -ly option found" >&5
20990$as_echo "no -ly option found" >&6; }
20991	OPTION_FOUND=no
20992    else
20993
20994$as_echo "#define HAVE_UNIX_LY 1" >>confdefs.h
20995
20996	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: -ly option found" >&5
20997$as_echo "-ly option found" >&6; }
20998	OPTION_FOUND=yes
20999    fi
21000     if test x"OPTION_FOUND" = x"yes"; then
21001  HAVE_UNIX_LY_TRUE=
21002  HAVE_UNIX_LY_FALSE='#'
21003else
21004  HAVE_UNIX_LY_TRUE='#'
21005  HAVE_UNIX_LY_FALSE=
21006fi
21007
21008
21009    result=`ps -ef  2>/dev/null`;
21010    if test x"${result}" = x; then
21011	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no -ef option found" >&5
21012$as_echo "no -ef option found" >&6; }
21013	OPTION_FOUND=no
21014    else
21015
21016$as_echo "#define HAVE_UNIX_EF 1" >>confdefs.h
21017
21018	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: -ef option found" >&5
21019$as_echo "-ef option found" >&6; }
21020	OPTION_FOUND=yes
21021    fi
21022     if test x"OPTION_FOUND" = x"yes"; then
21023  HAVE_UNIX_EF_TRUE=
21024  HAVE_UNIX_EF_FALSE='#'
21025else
21026  HAVE_UNIX_EF_TRUE='#'
21027  HAVE_UNIX_EF_FALSE=
21028fi
21029
21030
21031    result=`ps -o pcpu 2>/dev/null`;
21032    if test x"${result}" = x; then
21033	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no -o option found" >&5
21034$as_echo "no -o option found" >&6; }
21035	OPTION_FOUND=no
21036    else
21037
21038$as_echo "#define HAVE_UNIX_O 1" >>confdefs.h
21039
21040	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: -o option found" >&5
21041$as_echo "-o option found" >&6; }
21042	OPTION_FOUND=yes
21043    fi
21044     if test x"OPTION_FOUND" = x"yes"; then
21045  HAVE_UNIX_O_TRUE=
21046  HAVE_UNIX_O_FALSE='#'
21047else
21048  HAVE_UNIX_O_TRUE='#'
21049  HAVE_UNIX_O_FALSE=
21050fi
21051
21052
21053    result=`ps -w  2>/dev/null`;
21054    if test x"${result}" = x; then
21055	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no -w option found" >&5
21056$as_echo "no -w option found" >&6; }
21057	OPTION_FOUND=no
21058    else
21059
21060$as_echo "#define HAVE_UNIX_W 1" >>confdefs.h
21061
21062	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: -w option found" >&5
21063$as_echo "-w option found" >&6; }
21064	OPTION_FOUND=yes
21065    fi
21066     if test x"OPTION_FOUND" = x"yes"; then
21067  HAVE_UNIX_W_TRUE=
21068  HAVE_UNIX_W_FALSE='#'
21069else
21070  HAVE_UNIX_W_TRUE='#'
21071  HAVE_UNIX_W_FALSE=
21072fi
21073
21074
21075    result=`ps xf  2>/dev/null`;
21076    if test x"${result}" = x; then
21077	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no xf option found" >&5
21078$as_echo "no xf option found" >&6; }
21079	OPTION_FOUND=no
21080    else
21081
21082$as_echo "#define HAVE_BSD_XF 1" >>confdefs.h
21083
21084	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: xf option found" >&5
21085$as_echo "xf option found" >&6; }
21086	OPTION_FOUND=yes
21087    fi
21088     if test x"OPTION_FOUND" = x"yes"; then
21089  HAVE_BSD_XF_TRUE=
21090  HAVE_BSD_XF_FALSE='#'
21091else
21092  HAVE_BSD_XF_TRUE='#'
21093  HAVE_BSD_XF_FALSE=
21094fi
21095
21096
21097    result=`ps l  2>/dev/null`;
21098    if test x"${result}" = x; then
21099	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no l option found" >&5
21100$as_echo "no l option found" >&6; }
21101	OPTION_FOUND=no
21102    else
21103
21104$as_echo "#define HAVE_BSD_L 1" >>confdefs.h
21105
21106	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: l option found" >&5
21107$as_echo "l option found" >&6; }
21108	OPTION_FOUND=yes
21109    fi
21110     if test x"OPTION_FOUND" = x"yes"; then
21111  HAVE_BSD_L_TRUE=
21112  HAVE_BSD_L_FALSE='#'
21113else
21114  HAVE_BSD_L_TRUE='#'
21115  HAVE_BSD_L_FALSE=
21116fi
21117
21118
21119    result=`ps aux  2>/dev/null`;
21120    if test x"${result}" = x; then
21121	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no aux option found" >&5
21122$as_echo "no aux option found" >&6; }
21123	OPTION_FOUND=no
21124    else
21125
21126$as_echo "#define HAVE_BSD_AUX 1" >>confdefs.h
21127
21128	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: aux option found" >&5
21129$as_echo "aux option found" >&6; }
21130	OPTION_FOUND=yes
21131    fi
21132     if test x"OPTION_FOUND" = x"yes"; then
21133  HAVE_BSD_AUX_TRUE=
21134  HAVE_BSD_AUX_FALSE='#'
21135else
21136  HAVE_BSD_AUX_TRUE='#'
21137  HAVE_BSD_AUX_FALSE=
21138fi
21139
21140
21141    result=`ps o pcpu  2>/dev/null`;
21142    if test x"${result}" = x; then
21143	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no o option found" >&5
21144$as_echo "no o option found" >&6; }
21145	OPTION_FOUND=no
21146    else
21147
21148$as_echo "#define HAVE_BSD_O 1" >>confdefs.h
21149
21150	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: o option found" >&5
21151$as_echo "o option found" >&6; }
21152	OPTION_FOUND=yes
21153    fi
21154     if test x"OPTION_FOUND" = x"yes"; then
21155  HAVE_BSD_O_TRUE=
21156  HAVE_BSD_O_FALSE='#'
21157else
21158  HAVE_BSD_O_TRUE='#'
21159  HAVE_BSD_O_FALSE=
21160fi
21161
21162
21163    result=`ps w  2>/dev/null`;
21164    if test x"${result}" = x; then
21165	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no w option found" >&5
21166$as_echo "no w option found" >&6; }
21167	OPTION_FOUND=no
21168    else
21169
21170$as_echo "#define HAVE_BSD_W 1" >>confdefs.h
21171
21172	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: w option found" >&5
21173$as_echo "w option found" >&6; }
21174	OPTION_FOUND=yes
21175    fi
21176     if test x"OPTION_FOUND" = x"yes"; then
21177  HAVE_BSD_W_TRUE=
21178  HAVE_BSD_W_FALSE='#'
21179else
21180  HAVE_BSD_W_TRUE='#'
21181  HAVE_BSD_W_FALSE=
21182fi
21183
21184
21185 fi
21186
21187
21188
21189# Extract the first word of "dpkg", so it can be a program name with args.
21190set dummy dpkg; ac_word=$2
21191{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21192$as_echo_n "checking for $ac_word... " >&6; }
21193if ${ac_cv_prog_cv_dpkg+:} false; then :
21194  $as_echo_n "(cached) " >&6
21195else
21196  if test -n "$cv_dpkg"; then
21197  ac_cv_prog_cv_dpkg="$cv_dpkg" # Let the user override the test.
21198else
21199as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21200for as_dir in $PATH
21201do
21202  IFS=$as_save_IFS
21203  test -z "$as_dir" && as_dir=.
21204    for ac_exec_ext in '' $ac_executable_extensions; do
21205  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21206    ac_cv_prog_cv_dpkg="yes"
21207    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21208    break 2
21209  fi
21210done
21211  done
21212IFS=$as_save_IFS
21213
21214  test -z "$ac_cv_prog_cv_dpkg" && ac_cv_prog_cv_dpkg="no"
21215fi
21216fi
21217cv_dpkg=$ac_cv_prog_cv_dpkg
21218if test -n "$cv_dpkg"; then
21219  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cv_dpkg" >&5
21220$as_echo "$cv_dpkg" >&6; }
21221else
21222  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21223$as_echo "no" >&6; }
21224fi
21225
21226
21227 if test "$cv_dpkg" = yes; then
21228  WANT_DEBIAN_TRUE=
21229  WANT_DEBIAN_FALSE='#'
21230else
21231  WANT_DEBIAN_TRUE='#'
21232  WANT_DEBIAN_FALSE=
21233fi
21234
21235
21236ac_config_files="$ac_config_files librfm.settings Makefile librfm5.spec librfm.pc debian/changelog debian/librfm5.install po/POTFILES po/Makefile.in include/Makefile include/rfm.h include/primary-environment.h Build/Makefile Build/lib/Makefile Build/modules/Makefile Build/share/Makefile Build/share/mime/Makefile Build/share/rfm/Makefile Build/share/rfm/24x24/Makefile Build/share/rfm/scalable/Makefile Build/share/rfm/scalable/emblems/Makefile Build/share/rfm/scalable/stock/Makefile"
21237
21238cat >confcache <<\_ACEOF
21239# This file is a shell script that caches the results of configure
21240# tests run on this system so they can be shared between configure
21241# scripts and configure runs, see configure's option --config-cache.
21242# It is not useful on other systems.  If it contains results you don't
21243# want to keep, you may remove or edit it.
21244#
21245# config.status only pays attention to the cache file if you give it
21246# the --recheck option to rerun configure.
21247#
21248# `ac_cv_env_foo' variables (set or unset) will be overridden when
21249# loading this file, other *unset* `ac_cv_foo' will be assigned the
21250# following values.
21251
21252_ACEOF
21253
21254# The following way of writing the cache mishandles newlines in values,
21255# but we know of no workaround that is simple, portable, and efficient.
21256# So, we kill variables containing newlines.
21257# Ultrix sh set writes to stderr and can't be redirected directly,
21258# and sets the high bit in the cache file unless we assign to the vars.
21259(
21260  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21261    eval ac_val=\$$ac_var
21262    case $ac_val in #(
21263    *${as_nl}*)
21264      case $ac_var in #(
21265      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21266$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21267      esac
21268      case $ac_var in #(
21269      _ | IFS | as_nl) ;; #(
21270      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21271      *) { eval $ac_var=; unset $ac_var;} ;;
21272      esac ;;
21273    esac
21274  done
21275
21276  (set) 2>&1 |
21277    case $as_nl`(ac_space=' '; set) 2>&1` in #(
21278    *${as_nl}ac_space=\ *)
21279      # `set' does not quote correctly, so add quotes: double-quote
21280      # substitution turns \\\\ into \\, and sed turns \\ into \.
21281      sed -n \
21282	"s/'/'\\\\''/g;
21283	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21284      ;; #(
21285    *)
21286      # `set' quotes correctly as required by POSIX, so do not add quotes.
21287      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21288      ;;
21289    esac |
21290    sort
21291) |
21292  sed '
21293     /^ac_cv_env_/b end
21294     t clear
21295     :clear
21296     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21297     t end
21298     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21299     :end' >>confcache
21300if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21301  if test -w "$cache_file"; then
21302    if test "x$cache_file" != "x/dev/null"; then
21303      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21304$as_echo "$as_me: updating cache $cache_file" >&6;}
21305      if test ! -f "$cache_file" || test -h "$cache_file"; then
21306	cat confcache >"$cache_file"
21307      else
21308        case $cache_file in #(
21309        */* | ?:*)
21310	  mv -f confcache "$cache_file"$$ &&
21311	  mv -f "$cache_file"$$ "$cache_file" ;; #(
21312        *)
21313	  mv -f confcache "$cache_file" ;;
21314	esac
21315      fi
21316    fi
21317  else
21318    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21319$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21320  fi
21321fi
21322rm -f confcache
21323
21324test "x$prefix" = xNONE && prefix=$ac_default_prefix
21325# Let make expand exec_prefix.
21326test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21327
21328DEFS=-DHAVE_CONFIG_H
21329
21330ac_libobjs=
21331ac_ltlibobjs=
21332U=
21333for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21334  # 1. Remove the extension, and $U if already installed.
21335  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21336  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21337  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
21338  #    will be set to the directory where LIBOBJS objects are built.
21339  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21340  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
21341done
21342LIBOBJS=$ac_libobjs
21343
21344LTLIBOBJS=$ac_ltlibobjs
21345
21346
21347{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
21348$as_echo_n "checking that generated files are newer than configure... " >&6; }
21349   if test -n "$am_sleep_pid"; then
21350     # Hide warnings about reused PIDs.
21351     wait $am_sleep_pid 2>/dev/null
21352   fi
21353   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
21354$as_echo "done" >&6; }
21355if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
21356  as_fn_error $? "conditional \"AMDEP\" was never defined.
21357Usually this means the macro was only invoked conditionally." "$LINENO" 5
21358fi
21359if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
21360  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
21361Usually this means the macro was only invoked conditionally." "$LINENO" 5
21362fi
21363 if test -n "$EXEEXT"; then
21364  am__EXEEXT_TRUE=
21365  am__EXEEXT_FALSE='#'
21366else
21367  am__EXEEXT_TRUE='#'
21368  am__EXEEXT_FALSE=
21369fi
21370
21371if test -z "${WITH_LA_FILES_TRUE}" && test -z "${WITH_LA_FILES_FALSE}"; then
21372  as_fn_error $? "conditional \"WITH_LA_FILES\" was never defined.
21373Usually this means the macro was only invoked conditionally." "$LINENO" 5
21374fi
21375if test -z "${INSTALL_IMAGES_TRUE}" && test -z "${INSTALL_IMAGES_FALSE}"; then
21376  as_fn_error $? "conditional \"INSTALL_IMAGES\" was never defined.
21377Usually this means the macro was only invoked conditionally." "$LINENO" 5
21378fi
21379if test -z "${WANT_BCRYPT_P_TRUE}" && test -z "${WANT_BCRYPT_P_FALSE}"; then
21380  as_fn_error $? "conditional \"WANT_BCRYPT_P\" was never defined.
21381Usually this means the macro was only invoked conditionally." "$LINENO" 5
21382fi
21383if test -z "${WANT_COMPLETION_P_TRUE}" && test -z "${WANT_COMPLETION_P_FALSE}"; then
21384  as_fn_error $? "conditional \"WANT_COMPLETION_P\" was never defined.
21385Usually this means the macro was only invoked conditionally." "$LINENO" 5
21386fi
21387if test -z "${WANT_COMBOBOX_P_TRUE}" && test -z "${WANT_COMBOBOX_P_FALSE}"; then
21388  as_fn_error $? "conditional \"WANT_COMBOBOX_P\" was never defined.
21389Usually this means the macro was only invoked conditionally." "$LINENO" 5
21390fi
21391if test -z "${WANT_PROPERTIES_P_TRUE}" && test -z "${WANT_PROPERTIES_P_FALSE}"; then
21392  as_fn_error $? "conditional \"WANT_PROPERTIES_P\" was never defined.
21393Usually this means the macro was only invoked conditionally." "$LINENO" 5
21394fi
21395if test -z "${WANT_MIME_P_TRUE}" && test -z "${WANT_MIME_P_FALSE}"; then
21396  as_fn_error $? "conditional \"WANT_MIME_P\" was never defined.
21397Usually this means the macro was only invoked conditionally." "$LINENO" 5
21398fi
21399if test -z "${WANT_MMAGIC_P_TRUE}" && test -z "${WANT_MMAGIC_P_FALSE}"; then
21400  as_fn_error $? "conditional \"WANT_MMAGIC_P\" was never defined.
21401Usually this means the macro was only invoked conditionally." "$LINENO" 5
21402fi
21403if test -z "${WANT_ZMAGIC_P_TRUE}" && test -z "${WANT_ZMAGIC_P_FALSE}"; then
21404  as_fn_error $? "conditional \"WANT_ZMAGIC_P\" was never defined.
21405Usually this means the macro was only invoked conditionally." "$LINENO" 5
21406fi
21407if test -z "${WANT_ICON_P_TRUE}" && test -z "${WANT_ICON_P_FALSE}"; then
21408  as_fn_error $? "conditional \"WANT_ICON_P\" was never defined.
21409Usually this means the macro was only invoked conditionally." "$LINENO" 5
21410fi
21411
21412  ac_config_commands="$ac_config_commands po/stamp-it"
21413
21414
21415
21416if test -z "${WINDOZE_TRUE}" && test -z "${WINDOZE_FALSE}"; then
21417  as_fn_error $? "conditional \"WINDOZE\" was never defined.
21418Usually this means the macro was only invoked conditionally." "$LINENO" 5
21419fi
21420if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
21421  as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
21422Usually this means the macro was only invoked conditionally." "$LINENO" 5
21423fi
21424if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
21425  as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
21426Usually this means the macro was only invoked conditionally." "$LINENO" 5
21427fi
21428if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
21429  as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
21430Usually this means the macro was only invoked conditionally." "$LINENO" 5
21431fi
21432if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
21433  as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
21434Usually this means the macro was only invoked conditionally." "$LINENO" 5
21435fi
21436if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
21437  as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
21438Usually this means the macro was only invoked conditionally." "$LINENO" 5
21439fi
21440if test -z "${WANT_FREEBSD_TRUE}" && test -z "${WANT_FREEBSD_FALSE}"; then
21441  as_fn_error $? "conditional \"WANT_FREEBSD\" was never defined.
21442Usually this means the macro was only invoked conditionally." "$LINENO" 5
21443fi
21444if test -z "${WANT_GENTOO_TRUE}" && test -z "${WANT_GENTOO_FALSE}"; then
21445  as_fn_error $? "conditional \"WANT_GENTOO\" was never defined.
21446Usually this means the macro was only invoked conditionally." "$LINENO" 5
21447fi
21448if test -z "${WANT_DEBIAN_TRUE}" && test -z "${WANT_DEBIAN_FALSE}"; then
21449  as_fn_error $? "conditional \"WANT_DEBIAN\" was never defined.
21450Usually this means the macro was only invoked conditionally." "$LINENO" 5
21451fi
21452if test -z "${WANT_GENTOO_TRUE}" && test -z "${WANT_GENTOO_FALSE}"; then
21453  as_fn_error $? "conditional \"WANT_GENTOO\" was never defined.
21454Usually this means the macro was only invoked conditionally." "$LINENO" 5
21455fi
21456if test -z "${WANT_DEBIAN_TRUE}" && test -z "${WANT_DEBIAN_FALSE}"; then
21457  as_fn_error $? "conditional \"WANT_DEBIAN\" was never defined.
21458Usually this means the macro was only invoked conditionally." "$LINENO" 5
21459fi
21460if test -z "${HAVE_UNIX_O_RSS_TRUE}" && test -z "${HAVE_UNIX_O_RSS_FALSE}"; then
21461  as_fn_error $? "conditional \"HAVE_UNIX_O_RSS\" was never defined.
21462Usually this means the macro was only invoked conditionally." "$LINENO" 5
21463fi
21464if test -z "${HAVE_UNIX_JH_TRUE}" && test -z "${HAVE_UNIX_JH_FALSE}"; then
21465  as_fn_error $? "conditional \"HAVE_UNIX_JH\" was never defined.
21466Usually this means the macro was only invoked conditionally." "$LINENO" 5
21467fi
21468if test -z "${HAVE_UNIX_LY_TRUE}" && test -z "${HAVE_UNIX_LY_FALSE}"; then
21469  as_fn_error $? "conditional \"HAVE_UNIX_LY\" was never defined.
21470Usually this means the macro was only invoked conditionally." "$LINENO" 5
21471fi
21472if test -z "${HAVE_UNIX_EF_TRUE}" && test -z "${HAVE_UNIX_EF_FALSE}"; then
21473  as_fn_error $? "conditional \"HAVE_UNIX_EF\" was never defined.
21474Usually this means the macro was only invoked conditionally." "$LINENO" 5
21475fi
21476if test -z "${HAVE_UNIX_O_TRUE}" && test -z "${HAVE_UNIX_O_FALSE}"; then
21477  as_fn_error $? "conditional \"HAVE_UNIX_O\" was never defined.
21478Usually this means the macro was only invoked conditionally." "$LINENO" 5
21479fi
21480if test -z "${HAVE_UNIX_W_TRUE}" && test -z "${HAVE_UNIX_W_FALSE}"; then
21481  as_fn_error $? "conditional \"HAVE_UNIX_W\" was never defined.
21482Usually this means the macro was only invoked conditionally." "$LINENO" 5
21483fi
21484if test -z "${HAVE_BSD_XF_TRUE}" && test -z "${HAVE_BSD_XF_FALSE}"; then
21485  as_fn_error $? "conditional \"HAVE_BSD_XF\" was never defined.
21486Usually this means the macro was only invoked conditionally." "$LINENO" 5
21487fi
21488if test -z "${HAVE_BSD_L_TRUE}" && test -z "${HAVE_BSD_L_FALSE}"; then
21489  as_fn_error $? "conditional \"HAVE_BSD_L\" was never defined.
21490Usually this means the macro was only invoked conditionally." "$LINENO" 5
21491fi
21492if test -z "${HAVE_BSD_AUX_TRUE}" && test -z "${HAVE_BSD_AUX_FALSE}"; then
21493  as_fn_error $? "conditional \"HAVE_BSD_AUX\" was never defined.
21494Usually this means the macro was only invoked conditionally." "$LINENO" 5
21495fi
21496if test -z "${HAVE_BSD_O_TRUE}" && test -z "${HAVE_BSD_O_FALSE}"; then
21497  as_fn_error $? "conditional \"HAVE_BSD_O\" was never defined.
21498Usually this means the macro was only invoked conditionally." "$LINENO" 5
21499fi
21500if test -z "${HAVE_BSD_W_TRUE}" && test -z "${HAVE_BSD_W_FALSE}"; then
21501  as_fn_error $? "conditional \"HAVE_BSD_W\" was never defined.
21502Usually this means the macro was only invoked conditionally." "$LINENO" 5
21503fi
21504if test -z "${WANT_DEBIAN_TRUE}" && test -z "${WANT_DEBIAN_FALSE}"; then
21505  as_fn_error $? "conditional \"WANT_DEBIAN\" was never defined.
21506Usually this means the macro was only invoked conditionally." "$LINENO" 5
21507fi
21508
21509: "${CONFIG_STATUS=./config.status}"
21510ac_write_fail=0
21511ac_clean_files_save=$ac_clean_files
21512ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21513{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21514$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21515as_write_fail=0
21516cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21517#! $SHELL
21518# Generated by $as_me.
21519# Run this file to recreate the current configuration.
21520# Compiler output produced by configure, useful for debugging
21521# configure, is in config.log if it exists.
21522
21523debug=false
21524ac_cs_recheck=false
21525ac_cs_silent=false
21526
21527SHELL=\${CONFIG_SHELL-$SHELL}
21528export SHELL
21529_ASEOF
21530cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21531## -------------------- ##
21532## M4sh Initialization. ##
21533## -------------------- ##
21534
21535# Be more Bourne compatible
21536DUALCASE=1; export DUALCASE # for MKS sh
21537if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21538  emulate sh
21539  NULLCMD=:
21540  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21541  # is contrary to our usage.  Disable this feature.
21542  alias -g '${1+"$@"}'='"$@"'
21543  setopt NO_GLOB_SUBST
21544else
21545  case `(set -o) 2>/dev/null` in #(
21546  *posix*) :
21547    set -o posix ;; #(
21548  *) :
21549     ;;
21550esac
21551fi
21552
21553
21554as_nl='
21555'
21556export as_nl
21557# Printing a long string crashes Solaris 7 /usr/bin/printf.
21558as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21559as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21560as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21561# Prefer a ksh shell builtin over an external printf program on Solaris,
21562# but without wasting forks for bash or zsh.
21563if test -z "$BASH_VERSION$ZSH_VERSION" \
21564    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21565  as_echo='print -r --'
21566  as_echo_n='print -rn --'
21567elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21568  as_echo='printf %s\n'
21569  as_echo_n='printf %s'
21570else
21571  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21572    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21573    as_echo_n='/usr/ucb/echo -n'
21574  else
21575    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21576    as_echo_n_body='eval
21577      arg=$1;
21578      case $arg in #(
21579      *"$as_nl"*)
21580	expr "X$arg" : "X\\(.*\\)$as_nl";
21581	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21582      esac;
21583      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21584    '
21585    export as_echo_n_body
21586    as_echo_n='sh -c $as_echo_n_body as_echo'
21587  fi
21588  export as_echo_body
21589  as_echo='sh -c $as_echo_body as_echo'
21590fi
21591
21592# The user is always right.
21593if test "${PATH_SEPARATOR+set}" != set; then
21594  PATH_SEPARATOR=:
21595  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21596    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21597      PATH_SEPARATOR=';'
21598  }
21599fi
21600
21601
21602# IFS
21603# We need space, tab and new line, in precisely that order.  Quoting is
21604# there to prevent editors from complaining about space-tab.
21605# (If _AS_PATH_WALK were called with IFS unset, it would disable word
21606# splitting by setting IFS to empty value.)
21607IFS=" ""	$as_nl"
21608
21609# Find who we are.  Look in the path if we contain no directory separator.
21610as_myself=
21611case $0 in #((
21612  *[\\/]* ) as_myself=$0 ;;
21613  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21614for as_dir in $PATH
21615do
21616  IFS=$as_save_IFS
21617  test -z "$as_dir" && as_dir=.
21618    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21619  done
21620IFS=$as_save_IFS
21621
21622     ;;
21623esac
21624# We did not find ourselves, most probably we were run as `sh COMMAND'
21625# in which case we are not to be found in the path.
21626if test "x$as_myself" = x; then
21627  as_myself=$0
21628fi
21629if test ! -f "$as_myself"; then
21630  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21631  exit 1
21632fi
21633
21634# Unset variables that we do not need and which cause bugs (e.g. in
21635# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
21636# suppresses any "Segmentation fault" message there.  '((' could
21637# trigger a bug in pdksh 5.2.14.
21638for as_var in BASH_ENV ENV MAIL MAILPATH
21639do eval test x\${$as_var+set} = xset \
21640  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21641done
21642PS1='$ '
21643PS2='> '
21644PS4='+ '
21645
21646# NLS nuisances.
21647LC_ALL=C
21648export LC_ALL
21649LANGUAGE=C
21650export LANGUAGE
21651
21652# CDPATH.
21653(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21654
21655
21656# as_fn_error STATUS ERROR [LINENO LOG_FD]
21657# ----------------------------------------
21658# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21659# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21660# script with STATUS, using 1 if that was 0.
21661as_fn_error ()
21662{
21663  as_status=$1; test $as_status -eq 0 && as_status=1
21664  if test "$4"; then
21665    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21666    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21667  fi
21668  $as_echo "$as_me: error: $2" >&2
21669  as_fn_exit $as_status
21670} # as_fn_error
21671
21672
21673# as_fn_set_status STATUS
21674# -----------------------
21675# Set $? to STATUS, without forking.
21676as_fn_set_status ()
21677{
21678  return $1
21679} # as_fn_set_status
21680
21681# as_fn_exit STATUS
21682# -----------------
21683# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21684as_fn_exit ()
21685{
21686  set +e
21687  as_fn_set_status $1
21688  exit $1
21689} # as_fn_exit
21690
21691# as_fn_unset VAR
21692# ---------------
21693# Portably unset VAR.
21694as_fn_unset ()
21695{
21696  { eval $1=; unset $1;}
21697}
21698as_unset=as_fn_unset
21699# as_fn_append VAR VALUE
21700# ----------------------
21701# Append the text in VALUE to the end of the definition contained in VAR. Take
21702# advantage of any shell optimizations that allow amortized linear growth over
21703# repeated appends, instead of the typical quadratic growth present in naive
21704# implementations.
21705if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21706  eval 'as_fn_append ()
21707  {
21708    eval $1+=\$2
21709  }'
21710else
21711  as_fn_append ()
21712  {
21713    eval $1=\$$1\$2
21714  }
21715fi # as_fn_append
21716
21717# as_fn_arith ARG...
21718# ------------------
21719# Perform arithmetic evaluation on the ARGs, and store the result in the
21720# global $as_val. Take advantage of shells that can avoid forks. The arguments
21721# must be portable across $(()) and expr.
21722if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21723  eval 'as_fn_arith ()
21724  {
21725    as_val=$(( $* ))
21726  }'
21727else
21728  as_fn_arith ()
21729  {
21730    as_val=`expr "$@" || test $? -eq 1`
21731  }
21732fi # as_fn_arith
21733
21734
21735if expr a : '\(a\)' >/dev/null 2>&1 &&
21736   test "X`expr 00001 : '.*\(...\)'`" = X001; then
21737  as_expr=expr
21738else
21739  as_expr=false
21740fi
21741
21742if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21743  as_basename=basename
21744else
21745  as_basename=false
21746fi
21747
21748if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21749  as_dirname=dirname
21750else
21751  as_dirname=false
21752fi
21753
21754as_me=`$as_basename -- "$0" ||
21755$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21756	 X"$0" : 'X\(//\)$' \| \
21757	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21758$as_echo X/"$0" |
21759    sed '/^.*\/\([^/][^/]*\)\/*$/{
21760	    s//\1/
21761	    q
21762	  }
21763	  /^X\/\(\/\/\)$/{
21764	    s//\1/
21765	    q
21766	  }
21767	  /^X\/\(\/\).*/{
21768	    s//\1/
21769	    q
21770	  }
21771	  s/.*/./; q'`
21772
21773# Avoid depending upon Character Ranges.
21774as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21775as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21776as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21777as_cr_digits='0123456789'
21778as_cr_alnum=$as_cr_Letters$as_cr_digits
21779
21780ECHO_C= ECHO_N= ECHO_T=
21781case `echo -n x` in #(((((
21782-n*)
21783  case `echo 'xy\c'` in
21784  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
21785  xy)  ECHO_C='\c';;
21786  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
21787       ECHO_T='	';;
21788  esac;;
21789*)
21790  ECHO_N='-n';;
21791esac
21792
21793rm -f conf$$ conf$$.exe conf$$.file
21794if test -d conf$$.dir; then
21795  rm -f conf$$.dir/conf$$.file
21796else
21797  rm -f conf$$.dir
21798  mkdir conf$$.dir 2>/dev/null
21799fi
21800if (echo >conf$$.file) 2>/dev/null; then
21801  if ln -s conf$$.file conf$$ 2>/dev/null; then
21802    as_ln_s='ln -s'
21803    # ... but there are two gotchas:
21804    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21805    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21806    # In both cases, we have to default to `cp -pR'.
21807    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21808      as_ln_s='cp -pR'
21809  elif ln conf$$.file conf$$ 2>/dev/null; then
21810    as_ln_s=ln
21811  else
21812    as_ln_s='cp -pR'
21813  fi
21814else
21815  as_ln_s='cp -pR'
21816fi
21817rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21818rmdir conf$$.dir 2>/dev/null
21819
21820
21821# as_fn_mkdir_p
21822# -------------
21823# Create "$as_dir" as a directory, including parents if necessary.
21824as_fn_mkdir_p ()
21825{
21826
21827  case $as_dir in #(
21828  -*) as_dir=./$as_dir;;
21829  esac
21830  test -d "$as_dir" || eval $as_mkdir_p || {
21831    as_dirs=
21832    while :; do
21833      case $as_dir in #(
21834      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21835      *) as_qdir=$as_dir;;
21836      esac
21837      as_dirs="'$as_qdir' $as_dirs"
21838      as_dir=`$as_dirname -- "$as_dir" ||
21839$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21840	 X"$as_dir" : 'X\(//\)[^/]' \| \
21841	 X"$as_dir" : 'X\(//\)$' \| \
21842	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21843$as_echo X"$as_dir" |
21844    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21845	    s//\1/
21846	    q
21847	  }
21848	  /^X\(\/\/\)[^/].*/{
21849	    s//\1/
21850	    q
21851	  }
21852	  /^X\(\/\/\)$/{
21853	    s//\1/
21854	    q
21855	  }
21856	  /^X\(\/\).*/{
21857	    s//\1/
21858	    q
21859	  }
21860	  s/.*/./; q'`
21861      test -d "$as_dir" && break
21862    done
21863    test -z "$as_dirs" || eval "mkdir $as_dirs"
21864  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
21865
21866
21867} # as_fn_mkdir_p
21868if mkdir -p . 2>/dev/null; then
21869  as_mkdir_p='mkdir -p "$as_dir"'
21870else
21871  test -d ./-p && rmdir ./-p
21872  as_mkdir_p=false
21873fi
21874
21875
21876# as_fn_executable_p FILE
21877# -----------------------
21878# Test if FILE is an executable regular file.
21879as_fn_executable_p ()
21880{
21881  test -f "$1" && test -x "$1"
21882} # as_fn_executable_p
21883as_test_x='test -x'
21884as_executable_p=as_fn_executable_p
21885
21886# Sed expression to map a string onto a valid CPP name.
21887as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21888
21889# Sed expression to map a string onto a valid variable name.
21890as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21891
21892
21893exec 6>&1
21894## ----------------------------------- ##
21895## Main body of $CONFIG_STATUS script. ##
21896## ----------------------------------- ##
21897_ASEOF
21898test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
21899
21900cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21901# Save the log message, to keep $0 and so on meaningful, and to
21902# report actual input values of CONFIG_FILES etc. instead of their
21903# values after options handling.
21904ac_log="
21905This file was extended by librfm5 $as_me 5.3.16.4, which was
21906generated by GNU Autoconf 2.69.  Invocation command line was
21907
21908  CONFIG_FILES    = $CONFIG_FILES
21909  CONFIG_HEADERS  = $CONFIG_HEADERS
21910  CONFIG_LINKS    = $CONFIG_LINKS
21911  CONFIG_COMMANDS = $CONFIG_COMMANDS
21912  $ $0 $@
21913
21914on `(hostname || uname -n) 2>/dev/null | sed 1q`
21915"
21916
21917_ACEOF
21918
21919case $ac_config_files in *"
21920"*) set x $ac_config_files; shift; ac_config_files=$*;;
21921esac
21922
21923case $ac_config_headers in *"
21924"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
21925esac
21926
21927
21928cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21929# Files that config.status was made for.
21930config_files="$ac_config_files"
21931config_headers="$ac_config_headers"
21932config_commands="$ac_config_commands"
21933
21934_ACEOF
21935
21936cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21937ac_cs_usage="\
21938\`$as_me' instantiates files and other configuration actions
21939from templates according to the current configuration.  Unless the files
21940and actions are specified as TAGs, all are instantiated by default.
21941
21942Usage: $0 [OPTION]... [TAG]...
21943
21944  -h, --help       print this help, then exit
21945  -V, --version    print version number and configuration settings, then exit
21946      --config     print configuration, then exit
21947  -q, --quiet, --silent
21948                   do not print progress messages
21949  -d, --debug      don't remove temporary files
21950      --recheck    update $as_me by reconfiguring in the same conditions
21951      --file=FILE[:TEMPLATE]
21952                   instantiate the configuration file FILE
21953      --header=FILE[:TEMPLATE]
21954                   instantiate the configuration header FILE
21955
21956Configuration files:
21957$config_files
21958
21959Configuration headers:
21960$config_headers
21961
21962Configuration commands:
21963$config_commands
21964
21965Report bugs to <https://sourceforge.net/p/xffm/_list/tickets>.
21966librfm5 home page: <"http://xffm.org/librfm">."
21967
21968_ACEOF
21969cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21970ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
21971ac_cs_version="\\
21972librfm5 config.status 5.3.16.4
21973configured by $0, generated by GNU Autoconf 2.69,
21974  with options \\"\$ac_cs_config\\"
21975
21976Copyright (C) 2012 Free Software Foundation, Inc.
21977This config.status script is free software; the Free Software Foundation
21978gives unlimited permission to copy, distribute and modify it."
21979
21980ac_pwd='$ac_pwd'
21981srcdir='$srcdir'
21982INSTALL='$INSTALL'
21983MKDIR_P='$MKDIR_P'
21984AWK='$AWK'
21985test -n "\$AWK" || AWK=awk
21986_ACEOF
21987
21988cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21989# The default lists apply if the user does not specify any file.
21990ac_need_defaults=:
21991while test $# != 0
21992do
21993  case $1 in
21994  --*=?*)
21995    ac_option=`expr "X$1" : 'X\([^=]*\)='`
21996    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21997    ac_shift=:
21998    ;;
21999  --*=)
22000    ac_option=`expr "X$1" : 'X\([^=]*\)='`
22001    ac_optarg=
22002    ac_shift=:
22003    ;;
22004  *)
22005    ac_option=$1
22006    ac_optarg=$2
22007    ac_shift=shift
22008    ;;
22009  esac
22010
22011  case $ac_option in
22012  # Handling of the options.
22013  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22014    ac_cs_recheck=: ;;
22015  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22016    $as_echo "$ac_cs_version"; exit ;;
22017  --config | --confi | --conf | --con | --co | --c )
22018    $as_echo "$ac_cs_config"; exit ;;
22019  --debug | --debu | --deb | --de | --d | -d )
22020    debug=: ;;
22021  --file | --fil | --fi | --f )
22022    $ac_shift
22023    case $ac_optarg in
22024    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22025    '') as_fn_error $? "missing file argument" ;;
22026    esac
22027    as_fn_append CONFIG_FILES " '$ac_optarg'"
22028    ac_need_defaults=false;;
22029  --header | --heade | --head | --hea )
22030    $ac_shift
22031    case $ac_optarg in
22032    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22033    esac
22034    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
22035    ac_need_defaults=false;;
22036  --he | --h)
22037    # Conflict between --help and --header
22038    as_fn_error $? "ambiguous option: \`$1'
22039Try \`$0 --help' for more information.";;
22040  --help | --hel | -h )
22041    $as_echo "$ac_cs_usage"; exit ;;
22042  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22043  | -silent | --silent | --silen | --sile | --sil | --si | --s)
22044    ac_cs_silent=: ;;
22045
22046  # This is an error.
22047  -*) as_fn_error $? "unrecognized option: \`$1'
22048Try \`$0 --help' for more information." ;;
22049
22050  *) as_fn_append ac_config_targets " $1"
22051     ac_need_defaults=false ;;
22052
22053  esac
22054  shift
22055done
22056
22057ac_configure_extra_args=
22058
22059if $ac_cs_silent; then
22060  exec 6>/dev/null
22061  ac_configure_extra_args="$ac_configure_extra_args --silent"
22062fi
22063
22064_ACEOF
22065cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22066if \$ac_cs_recheck; then
22067  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22068  shift
22069  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
22070  CONFIG_SHELL='$SHELL'
22071  export CONFIG_SHELL
22072  exec "\$@"
22073fi
22074
22075_ACEOF
22076cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22077exec 5>>config.log
22078{
22079  echo
22080  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22081## Running $as_me. ##
22082_ASBOX
22083  $as_echo "$ac_log"
22084} >&5
22085
22086_ACEOF
22087cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22088#
22089# INIT-COMMANDS
22090#
22091
22092
22093# The HP-UX ksh and POSIX shell print the target directory to stdout
22094# if CDPATH is set.
22095(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
22096
22097sed_quote_subst='$sed_quote_subst'
22098double_quote_subst='$double_quote_subst'
22099delay_variable_subst='$delay_variable_subst'
22100macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
22101macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
22102enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
22103enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
22104pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
22105enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
22106shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
22107SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
22108ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
22109PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
22110host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
22111host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
22112host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
22113build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
22114build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
22115build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
22116SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
22117Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
22118GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
22119EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
22120FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
22121LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
22122NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
22123LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
22124max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
22125ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
22126exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
22127lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
22128lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
22129lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
22130lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
22131lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
22132reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
22133reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
22134OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
22135deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
22136file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
22137file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
22138want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
22139DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
22140sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
22141AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
22142AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
22143archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
22144STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
22145RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
22146old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
22147old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
22148old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
22149lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
22150CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
22151CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
22152compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
22153GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
22154lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
22155lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
22156lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
22157lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
22158lt_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"`'
22159lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
22160nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
22161lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
22162lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
22163objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
22164MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
22165lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
22166lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
22167lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
22168lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
22169lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
22170need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
22171MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
22172DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
22173NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
22174LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
22175OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
22176OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
22177libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
22178shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
22179extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
22180archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
22181enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
22182export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
22183whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
22184compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
22185old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
22186old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
22187archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
22188archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
22189module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
22190module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
22191with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
22192allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
22193no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
22194hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
22195hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
22196hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
22197hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
22198hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
22199hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
22200hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
22201inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
22202link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
22203always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
22204export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
22205exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
22206include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
22207prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
22208postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
22209file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
22210variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
22211need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
22212need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
22213version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
22214runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
22215shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
22216shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
22217libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
22218library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
22219soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
22220install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
22221postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
22222postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
22223finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
22224finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
22225hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
22226sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
22227configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
22228configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
22229hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
22230enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
22231enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
22232enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
22233old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
22234striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
22235
22236LTCC='$LTCC'
22237LTCFLAGS='$LTCFLAGS'
22238compiler='$compiler_DEFAULT'
22239
22240# A function that is used when there is no print builtin or printf.
22241func_fallback_echo ()
22242{
22243  eval 'cat <<_LTECHO_EOF
22244\$1
22245_LTECHO_EOF'
22246}
22247
22248# Quote evaled strings.
22249for var in SHELL \
22250ECHO \
22251PATH_SEPARATOR \
22252SED \
22253GREP \
22254EGREP \
22255FGREP \
22256LD \
22257NM \
22258LN_S \
22259lt_SP2NL \
22260lt_NL2SP \
22261reload_flag \
22262OBJDUMP \
22263deplibs_check_method \
22264file_magic_cmd \
22265file_magic_glob \
22266want_nocaseglob \
22267DLLTOOL \
22268sharedlib_from_linklib_cmd \
22269AR \
22270AR_FLAGS \
22271archiver_list_spec \
22272STRIP \
22273RANLIB \
22274CC \
22275CFLAGS \
22276compiler \
22277lt_cv_sys_global_symbol_pipe \
22278lt_cv_sys_global_symbol_to_cdecl \
22279lt_cv_sys_global_symbol_to_import \
22280lt_cv_sys_global_symbol_to_c_name_address \
22281lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
22282lt_cv_nm_interface \
22283nm_file_list_spec \
22284lt_cv_truncate_bin \
22285lt_prog_compiler_no_builtin_flag \
22286lt_prog_compiler_pic \
22287lt_prog_compiler_wl \
22288lt_prog_compiler_static \
22289lt_cv_prog_compiler_c_o \
22290need_locks \
22291MANIFEST_TOOL \
22292DSYMUTIL \
22293NMEDIT \
22294LIPO \
22295OTOOL \
22296OTOOL64 \
22297shrext_cmds \
22298export_dynamic_flag_spec \
22299whole_archive_flag_spec \
22300compiler_needs_object \
22301with_gnu_ld \
22302allow_undefined_flag \
22303no_undefined_flag \
22304hardcode_libdir_flag_spec \
22305hardcode_libdir_separator \
22306exclude_expsyms \
22307include_expsyms \
22308file_list_spec \
22309variables_saved_for_relink \
22310libname_spec \
22311library_names_spec \
22312soname_spec \
22313install_override_mode \
22314finish_eval \
22315old_striplib \
22316striplib; do
22317    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
22318    *[\\\\\\\`\\"\\\$]*)
22319      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
22320      ;;
22321    *)
22322      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
22323      ;;
22324    esac
22325done
22326
22327# Double-quote double-evaled strings.
22328for var in reload_cmds \
22329old_postinstall_cmds \
22330old_postuninstall_cmds \
22331old_archive_cmds \
22332extract_expsyms_cmds \
22333old_archive_from_new_cmds \
22334old_archive_from_expsyms_cmds \
22335archive_cmds \
22336archive_expsym_cmds \
22337module_cmds \
22338module_expsym_cmds \
22339export_symbols_cmds \
22340prelink_cmds \
22341postlink_cmds \
22342postinstall_cmds \
22343postuninstall_cmds \
22344finish_cmds \
22345sys_lib_search_path_spec \
22346configure_time_dlsearch_path \
22347configure_time_lt_sys_library_path; do
22348    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
22349    *[\\\\\\\`\\"\\\$]*)
22350      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
22351      ;;
22352    *)
22353      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
22354      ;;
22355    esac
22356done
22357
22358ac_aux_dir='$ac_aux_dir'
22359
22360# See if we are running on zsh, and set the options that allow our
22361# commands through without removal of \ escapes INIT.
22362if test -n "\${ZSH_VERSION+set}"; then
22363   setopt NO_GLOB_SUBST
22364fi
22365
22366
22367    PACKAGE='$PACKAGE'
22368    VERSION='$VERSION'
22369    RM='$RM'
22370    ofile='$ofile'
22371
22372
22373
22374AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
22375
22376
22377_ACEOF
22378
22379cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22380
22381# Handling of arguments.
22382for ac_config_target in $ac_config_targets
22383do
22384  case $ac_config_target in
22385    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
22386    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
22387    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
22388    "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
22389    "librfm.settings") CONFIG_FILES="$CONFIG_FILES librfm.settings" ;;
22390    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
22391    "librfm5.spec") CONFIG_FILES="$CONFIG_FILES librfm5.spec" ;;
22392    "librfm.pc") CONFIG_FILES="$CONFIG_FILES librfm.pc" ;;
22393    "debian/changelog") CONFIG_FILES="$CONFIG_FILES debian/changelog" ;;
22394    "debian/librfm5.install") CONFIG_FILES="$CONFIG_FILES debian/librfm5.install" ;;
22395    "po/POTFILES") CONFIG_FILES="$CONFIG_FILES po/POTFILES" ;;
22396    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
22397    "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
22398    "include/rfm.h") CONFIG_FILES="$CONFIG_FILES include/rfm.h" ;;
22399    "include/primary-environment.h") CONFIG_FILES="$CONFIG_FILES include/primary-environment.h" ;;
22400    "Build/Makefile") CONFIG_FILES="$CONFIG_FILES Build/Makefile" ;;
22401    "Build/lib/Makefile") CONFIG_FILES="$CONFIG_FILES Build/lib/Makefile" ;;
22402    "Build/modules/Makefile") CONFIG_FILES="$CONFIG_FILES Build/modules/Makefile" ;;
22403    "Build/share/Makefile") CONFIG_FILES="$CONFIG_FILES Build/share/Makefile" ;;
22404    "Build/share/mime/Makefile") CONFIG_FILES="$CONFIG_FILES Build/share/mime/Makefile" ;;
22405    "Build/share/rfm/Makefile") CONFIG_FILES="$CONFIG_FILES Build/share/rfm/Makefile" ;;
22406    "Build/share/rfm/24x24/Makefile") CONFIG_FILES="$CONFIG_FILES Build/share/rfm/24x24/Makefile" ;;
22407    "Build/share/rfm/scalable/Makefile") CONFIG_FILES="$CONFIG_FILES Build/share/rfm/scalable/Makefile" ;;
22408    "Build/share/rfm/scalable/emblems/Makefile") CONFIG_FILES="$CONFIG_FILES Build/share/rfm/scalable/emblems/Makefile" ;;
22409    "Build/share/rfm/scalable/stock/Makefile") CONFIG_FILES="$CONFIG_FILES Build/share/rfm/scalable/stock/Makefile" ;;
22410    "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
22411
22412  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
22413  esac
22414done
22415
22416
22417# If the user did not use the arguments to specify the items to instantiate,
22418# then the envvar interface is used.  Set only those that are not.
22419# We use the long form for the default assignment because of an extremely
22420# bizarre bug on SunOS 4.1.3.
22421if $ac_need_defaults; then
22422  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
22423  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
22424  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
22425fi
22426
22427# Have a temporary directory for convenience.  Make it in the build tree
22428# simply because there is no reason against having it here, and in addition,
22429# creating and moving files from /tmp can sometimes cause problems.
22430# Hook for its removal unless debugging.
22431# Note that there is a small window in which the directory will not be cleaned:
22432# after its creation but before its name has been assigned to `$tmp'.
22433$debug ||
22434{
22435  tmp= ac_tmp=
22436  trap 'exit_status=$?
22437  : "${ac_tmp:=$tmp}"
22438  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
22439' 0
22440  trap 'as_fn_exit 1' 1 2 13 15
22441}
22442# Create a (secure) tmp directory for tmp files.
22443
22444{
22445  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22446  test -d "$tmp"
22447}  ||
22448{
22449  tmp=./conf$$-$RANDOM
22450  (umask 077 && mkdir "$tmp")
22451} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
22452ac_tmp=$tmp
22453
22454# Set up the scripts for CONFIG_FILES section.
22455# No need to generate them if there are no CONFIG_FILES.
22456# This happens for instance with `./config.status config.h'.
22457if test -n "$CONFIG_FILES"; then
22458
22459
22460ac_cr=`echo X | tr X '\015'`
22461# On cygwin, bash can eat \r inside `` if the user requested igncr.
22462# But we know of no other shell where ac_cr would be empty at this
22463# point, so we can use a bashism as a fallback.
22464if test "x$ac_cr" = x; then
22465  eval ac_cr=\$\'\\r\'
22466fi
22467ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22468if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22469  ac_cs_awk_cr='\\r'
22470else
22471  ac_cs_awk_cr=$ac_cr
22472fi
22473
22474echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22475_ACEOF
22476
22477
22478{
22479  echo "cat >conf$$subs.awk <<_ACEOF" &&
22480  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22481  echo "_ACEOF"
22482} >conf$$subs.sh ||
22483  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22484ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22485ac_delim='%!_!# '
22486for ac_last_try in false false false false false :; do
22487  . ./conf$$subs.sh ||
22488    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22489
22490  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
22491  if test $ac_delim_n = $ac_delim_num; then
22492    break
22493  elif $ac_last_try; then
22494    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22495  else
22496    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22497  fi
22498done
22499rm -f conf$$subs.sh
22500
22501cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22502cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
22503_ACEOF
22504sed -n '
22505h
22506s/^/S["/; s/!.*/"]=/
22507p
22508g
22509s/^[^!]*!//
22510:repl
22511t repl
22512s/'"$ac_delim"'$//
22513t delim
22514:nl
22515h
22516s/\(.\{148\}\)..*/\1/
22517t more1
22518s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
22519p
22520n
22521b repl
22522:more1
22523s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22524p
22525g
22526s/.\{148\}//
22527t nl
22528:delim
22529h
22530s/\(.\{148\}\)..*/\1/
22531t more2
22532s/["\\]/\\&/g; s/^/"/; s/$/"/
22533p
22534b
22535:more2
22536s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22537p
22538g
22539s/.\{148\}//
22540t delim
22541' <conf$$subs.awk | sed '
22542/^[^""]/{
22543  N
22544  s/\n//
22545}
22546' >>$CONFIG_STATUS || ac_write_fail=1
22547rm -f conf$$subs.awk
22548cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22549_ACAWK
22550cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
22551  for (key in S) S_is_set[key] = 1
22552  FS = ""
22553
22554}
22555{
22556  line = $ 0
22557  nfields = split(line, field, "@")
22558  substed = 0
22559  len = length(field[1])
22560  for (i = 2; i < nfields; i++) {
22561    key = field[i]
22562    keylen = length(key)
22563    if (S_is_set[key]) {
22564      value = S[key]
22565      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22566      len += length(value) + length(field[++i])
22567      substed = 1
22568    } else
22569      len += 1 + keylen
22570  }
22571
22572  print line
22573}
22574
22575_ACAWK
22576_ACEOF
22577cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22578if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22579  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22580else
22581  cat
22582fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
22583  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
22584_ACEOF
22585
22586# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22587# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
22588# trailing colons and then remove the whole line if VPATH becomes empty
22589# (actually we leave an empty line to preserve line numbers).
22590if test "x$srcdir" = x.; then
22591  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
22592h
22593s///
22594s/^/:/
22595s/[	 ]*$/:/
22596s/:\$(srcdir):/:/g
22597s/:\${srcdir}:/:/g
22598s/:@srcdir@:/:/g
22599s/^:*//
22600s/:*$//
22601x
22602s/\(=[	 ]*\).*/\1/
22603G
22604s/\n//
22605s/^[^=]*=[	 ]*$//
22606}'
22607fi
22608
22609cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22610fi # test -n "$CONFIG_FILES"
22611
22612# Set up the scripts for CONFIG_HEADERS section.
22613# No need to generate them if there are no CONFIG_HEADERS.
22614# This happens for instance with `./config.status Makefile'.
22615if test -n "$CONFIG_HEADERS"; then
22616cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
22617BEGIN {
22618_ACEOF
22619
22620# Transform confdefs.h into an awk script `defines.awk', embedded as
22621# here-document in config.status, that substitutes the proper values into
22622# config.h.in to produce config.h.
22623
22624# Create a delimiter string that does not exist in confdefs.h, to ease
22625# handling of long lines.
22626ac_delim='%!_!# '
22627for ac_last_try in false false :; do
22628  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
22629  if test -z "$ac_tt"; then
22630    break
22631  elif $ac_last_try; then
22632    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22633  else
22634    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22635  fi
22636done
22637
22638# For the awk script, D is an array of macro values keyed by name,
22639# likewise P contains macro parameters if any.  Preserve backslash
22640# newline sequences.
22641
22642ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22643sed -n '
22644s/.\{148\}/&'"$ac_delim"'/g
22645t rset
22646:rset
22647s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
22648t def
22649d
22650:def
22651s/\\$//
22652t bsnl
22653s/["\\]/\\&/g
22654s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
22655D["\1"]=" \3"/p
22656s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
22657d
22658:bsnl
22659s/["\\]/\\&/g
22660s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
22661D["\1"]=" \3\\\\\\n"\\/p
22662t cont
22663s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22664t cont
22665d
22666:cont
22667n
22668s/.\{148\}/&'"$ac_delim"'/g
22669t clear
22670:clear
22671s/\\$//
22672t bsnlc
22673s/["\\]/\\&/g; s/^/"/; s/$/"/p
22674d
22675:bsnlc
22676s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22677b cont
22678' <confdefs.h | sed '
22679s/'"$ac_delim"'/"\\\
22680"/g' >>$CONFIG_STATUS || ac_write_fail=1
22681
22682cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22683  for (key in D) D_is_set[key] = 1
22684  FS = ""
22685}
22686/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22687  line = \$ 0
22688  split(line, arg, " ")
22689  if (arg[1] == "#") {
22690    defundef = arg[2]
22691    mac1 = arg[3]
22692  } else {
22693    defundef = substr(arg[1], 2)
22694    mac1 = arg[2]
22695  }
22696  split(mac1, mac2, "(") #)
22697  macro = mac2[1]
22698  prefix = substr(line, 1, index(line, defundef) - 1)
22699  if (D_is_set[macro]) {
22700    # Preserve the white space surrounding the "#".
22701    print prefix "define", macro P[macro] D[macro]
22702    next
22703  } else {
22704    # Replace #undef with comments.  This is necessary, for example,
22705    # in the case of _POSIX_SOURCE, which is predefined and required
22706    # on some systems where configure will not decide to define it.
22707    if (defundef == "undef") {
22708      print "/*", prefix defundef, macro, "*/"
22709      next
22710    }
22711  }
22712}
22713{ print }
22714_ACAWK
22715_ACEOF
22716cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22717  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22718fi # test -n "$CONFIG_HEADERS"
22719
22720
22721eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
22722shift
22723for ac_tag
22724do
22725  case $ac_tag in
22726  :[FHLC]) ac_mode=$ac_tag; continue;;
22727  esac
22728  case $ac_mode$ac_tag in
22729  :[FHL]*:*);;
22730  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22731  :[FH]-) ac_tag=-:-;;
22732  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22733  esac
22734  ac_save_IFS=$IFS
22735  IFS=:
22736  set x $ac_tag
22737  IFS=$ac_save_IFS
22738  shift
22739  ac_file=$1
22740  shift
22741
22742  case $ac_mode in
22743  :L) ac_source=$1;;
22744  :[FH])
22745    ac_file_inputs=
22746    for ac_f
22747    do
22748      case $ac_f in
22749      -) ac_f="$ac_tmp/stdin";;
22750      *) # Look for the file first in the build tree, then in the source tree
22751	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
22752	 # because $ac_f cannot contain `:'.
22753	 test -f "$ac_f" ||
22754	   case $ac_f in
22755	   [\\/$]*) false;;
22756	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22757	   esac ||
22758	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22759      esac
22760      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22761      as_fn_append ac_file_inputs " '$ac_f'"
22762    done
22763
22764    # Let's still pretend it is `configure' which instantiates (i.e., don't
22765    # use $as_me), people would be surprised to read:
22766    #    /* config.h.  Generated by config.status.  */
22767    configure_input='Generated from '`
22768	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22769	`' by configure.'
22770    if test x"$ac_file" != x-; then
22771      configure_input="$ac_file.  $configure_input"
22772      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22773$as_echo "$as_me: creating $ac_file" >&6;}
22774    fi
22775    # Neutralize special characters interpreted by sed in replacement strings.
22776    case $configure_input in #(
22777    *\&* | *\|* | *\\* )
22778       ac_sed_conf_input=`$as_echo "$configure_input" |
22779       sed 's/[\\\\&|]/\\\\&/g'`;; #(
22780    *) ac_sed_conf_input=$configure_input;;
22781    esac
22782
22783    case $ac_tag in
22784    *:-:* | *:-) cat >"$ac_tmp/stdin" \
22785      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22786    esac
22787    ;;
22788  esac
22789
22790  ac_dir=`$as_dirname -- "$ac_file" ||
22791$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22792	 X"$ac_file" : 'X\(//\)[^/]' \| \
22793	 X"$ac_file" : 'X\(//\)$' \| \
22794	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22795$as_echo X"$ac_file" |
22796    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22797	    s//\1/
22798	    q
22799	  }
22800	  /^X\(\/\/\)[^/].*/{
22801	    s//\1/
22802	    q
22803	  }
22804	  /^X\(\/\/\)$/{
22805	    s//\1/
22806	    q
22807	  }
22808	  /^X\(\/\).*/{
22809	    s//\1/
22810	    q
22811	  }
22812	  s/.*/./; q'`
22813  as_dir="$ac_dir"; as_fn_mkdir_p
22814  ac_builddir=.
22815
22816case "$ac_dir" in
22817.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22818*)
22819  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22820  # A ".." for each directory in $ac_dir_suffix.
22821  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22822  case $ac_top_builddir_sub in
22823  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22824  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22825  esac ;;
22826esac
22827ac_abs_top_builddir=$ac_pwd
22828ac_abs_builddir=$ac_pwd$ac_dir_suffix
22829# for backward compatibility:
22830ac_top_builddir=$ac_top_build_prefix
22831
22832case $srcdir in
22833  .)  # We are building in place.
22834    ac_srcdir=.
22835    ac_top_srcdir=$ac_top_builddir_sub
22836    ac_abs_top_srcdir=$ac_pwd ;;
22837  [\\/]* | ?:[\\/]* )  # Absolute name.
22838    ac_srcdir=$srcdir$ac_dir_suffix;
22839    ac_top_srcdir=$srcdir
22840    ac_abs_top_srcdir=$srcdir ;;
22841  *) # Relative name.
22842    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22843    ac_top_srcdir=$ac_top_build_prefix$srcdir
22844    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22845esac
22846ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22847
22848
22849  case $ac_mode in
22850  :F)
22851  #
22852  # CONFIG_FILE
22853  #
22854
22855  case $INSTALL in
22856  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
22857  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
22858  esac
22859  ac_MKDIR_P=$MKDIR_P
22860  case $MKDIR_P in
22861  [\\/$]* | ?:[\\/]* ) ;;
22862  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
22863  esac
22864_ACEOF
22865
22866cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22867# If the template does not know about datarootdir, expand it.
22868# FIXME: This hack should be removed a few years after 2.60.
22869ac_datarootdir_hack=; ac_datarootdir_seen=
22870ac_sed_dataroot='
22871/datarootdir/ {
22872  p
22873  q
22874}
22875/@datadir@/p
22876/@docdir@/p
22877/@infodir@/p
22878/@localedir@/p
22879/@mandir@/p'
22880case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22881*datarootdir*) ac_datarootdir_seen=yes;;
22882*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22883  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22884$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22885_ACEOF
22886cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22887  ac_datarootdir_hack='
22888  s&@datadir@&$datadir&g
22889  s&@docdir@&$docdir&g
22890  s&@infodir@&$infodir&g
22891  s&@localedir@&$localedir&g
22892  s&@mandir@&$mandir&g
22893  s&\\\${datarootdir}&$datarootdir&g' ;;
22894esac
22895_ACEOF
22896
22897# Neutralize VPATH when `$srcdir' = `.'.
22898# Shell code in configure.ac might set extrasub.
22899# FIXME: do we really want to maintain this feature?
22900cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22901ac_sed_extra="$ac_vpsub
22902$extrasub
22903_ACEOF
22904cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22905:t
22906/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22907s|@configure_input@|$ac_sed_conf_input|;t t
22908s&@top_builddir@&$ac_top_builddir_sub&;t t
22909s&@top_build_prefix@&$ac_top_build_prefix&;t t
22910s&@srcdir@&$ac_srcdir&;t t
22911s&@abs_srcdir@&$ac_abs_srcdir&;t t
22912s&@top_srcdir@&$ac_top_srcdir&;t t
22913s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22914s&@builddir@&$ac_builddir&;t t
22915s&@abs_builddir@&$ac_abs_builddir&;t t
22916s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22917s&@INSTALL@&$ac_INSTALL&;t t
22918s&@MKDIR_P@&$ac_MKDIR_P&;t t
22919$ac_datarootdir_hack
22920"
22921eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22922  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22923
22924test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22925  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22926  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
22927      "$ac_tmp/out"`; test -z "$ac_out"; } &&
22928  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22929which seems to be undefined.  Please make sure it is defined" >&5
22930$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22931which seems to be undefined.  Please make sure it is defined" >&2;}
22932
22933  rm -f "$ac_tmp/stdin"
22934  case $ac_file in
22935  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22936  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22937  esac \
22938  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22939 ;;
22940  :H)
22941  #
22942  # CONFIG_HEADER
22943  #
22944  if test x"$ac_file" != x-; then
22945    {
22946      $as_echo "/* $configure_input  */" \
22947      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22948    } >"$ac_tmp/config.h" \
22949      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22950    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22951      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22952$as_echo "$as_me: $ac_file is unchanged" >&6;}
22953    else
22954      rm -f "$ac_file"
22955      mv "$ac_tmp/config.h" "$ac_file" \
22956	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
22957    fi
22958  else
22959    $as_echo "/* $configure_input  */" \
22960      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22961      || as_fn_error $? "could not create -" "$LINENO" 5
22962  fi
22963# Compute "$ac_file"'s index in $config_headers.
22964_am_arg="$ac_file"
22965_am_stamp_count=1
22966for _am_header in $config_headers :; do
22967  case $_am_header in
22968    $_am_arg | $_am_arg:* )
22969      break ;;
22970    * )
22971      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
22972  esac
22973done
22974echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
22975$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22976	 X"$_am_arg" : 'X\(//\)[^/]' \| \
22977	 X"$_am_arg" : 'X\(//\)$' \| \
22978	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
22979$as_echo X"$_am_arg" |
22980    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22981	    s//\1/
22982	    q
22983	  }
22984	  /^X\(\/\/\)[^/].*/{
22985	    s//\1/
22986	    q
22987	  }
22988	  /^X\(\/\/\)$/{
22989	    s//\1/
22990	    q
22991	  }
22992	  /^X\(\/\).*/{
22993	    s//\1/
22994	    q
22995	  }
22996	  s/.*/./; q'`/stamp-h$_am_stamp_count
22997 ;;
22998
22999  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23000$as_echo "$as_me: executing $ac_file commands" >&6;}
23001 ;;
23002  esac
23003
23004
23005  case $ac_file$ac_mode in
23006    "libtool":C)
23007
23008    # See if we are running on zsh, and set the options that allow our
23009    # commands through without removal of \ escapes.
23010    if test -n "${ZSH_VERSION+set}"; then
23011      setopt NO_GLOB_SUBST
23012    fi
23013
23014    cfgfile=${ofile}T
23015    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
23016    $RM "$cfgfile"
23017
23018    cat <<_LT_EOF >> "$cfgfile"
23019#! $SHELL
23020# Generated automatically by $as_me ($PACKAGE) $VERSION
23021# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
23022# NOTE: Changes made to this file will be lost: look at ltmain.sh.
23023
23024# Provide generalized library-building support services.
23025# Written by Gordon Matzigkeit, 1996
23026
23027# Copyright (C) 2014 Free Software Foundation, Inc.
23028# This is free software; see the source for copying conditions.  There is NO
23029# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
23030
23031# GNU Libtool is free software; you can redistribute it and/or modify
23032# it under the terms of the GNU General Public License as published by
23033# the Free Software Foundation; either version 2 of of the License, or
23034# (at your option) any later version.
23035#
23036# As a special exception to the GNU General Public License, if you
23037# distribute this file as part of a program or library that is built
23038# using GNU Libtool, you may include this file under the  same
23039# distribution terms that you use for the rest of that program.
23040#
23041# GNU Libtool is distributed in the hope that it will be useful, but
23042# WITHOUT ANY WARRANTY; without even the implied warranty of
23043# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
23044# GNU General Public License for more details.
23045#
23046# You should have received a copy of the GNU General Public License
23047# along with this program.  If not, see <http://www.gnu.org/licenses/>.
23048
23049
23050# The names of the tagged configurations supported by this script.
23051available_tags=''
23052
23053# Configured defaults for sys_lib_dlsearch_path munging.
23054: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
23055
23056# ### BEGIN LIBTOOL CONFIG
23057
23058# Which release of libtool.m4 was used?
23059macro_version=$macro_version
23060macro_revision=$macro_revision
23061
23062# Whether or not to build static libraries.
23063build_old_libs=$enable_static
23064
23065# Whether or not to build shared libraries.
23066build_libtool_libs=$enable_shared
23067
23068# What type of objects to build.
23069pic_mode=$pic_mode
23070
23071# Whether or not to optimize for fast installation.
23072fast_install=$enable_fast_install
23073
23074# Shared archive member basename,for filename based shared library versioning on AIX.
23075shared_archive_member_spec=$shared_archive_member_spec
23076
23077# Shell to use when invoking shell scripts.
23078SHELL=$lt_SHELL
23079
23080# An echo program that protects backslashes.
23081ECHO=$lt_ECHO
23082
23083# The PATH separator for the build system.
23084PATH_SEPARATOR=$lt_PATH_SEPARATOR
23085
23086# The host system.
23087host_alias=$host_alias
23088host=$host
23089host_os=$host_os
23090
23091# The build system.
23092build_alias=$build_alias
23093build=$build
23094build_os=$build_os
23095
23096# A sed program that does not truncate output.
23097SED=$lt_SED
23098
23099# Sed that helps us avoid accidentally triggering echo(1) options like -n.
23100Xsed="\$SED -e 1s/^X//"
23101
23102# A grep program that handles long lines.
23103GREP=$lt_GREP
23104
23105# An ERE matcher.
23106EGREP=$lt_EGREP
23107
23108# A literal string matcher.
23109FGREP=$lt_FGREP
23110
23111# A BSD- or MS-compatible name lister.
23112NM=$lt_NM
23113
23114# Whether we need soft or hard links.
23115LN_S=$lt_LN_S
23116
23117# What is the maximum length of a command?
23118max_cmd_len=$max_cmd_len
23119
23120# Object file suffix (normally "o").
23121objext=$ac_objext
23122
23123# Executable file suffix (normally "").
23124exeext=$exeext
23125
23126# whether the shell understands "unset".
23127lt_unset=$lt_unset
23128
23129# turn spaces into newlines.
23130SP2NL=$lt_lt_SP2NL
23131
23132# turn newlines into spaces.
23133NL2SP=$lt_lt_NL2SP
23134
23135# convert \$build file names to \$host format.
23136to_host_file_cmd=$lt_cv_to_host_file_cmd
23137
23138# convert \$build files to toolchain format.
23139to_tool_file_cmd=$lt_cv_to_tool_file_cmd
23140
23141# An object symbol dumper.
23142OBJDUMP=$lt_OBJDUMP
23143
23144# Method to check whether dependent libraries are shared objects.
23145deplibs_check_method=$lt_deplibs_check_method
23146
23147# Command to use when deplibs_check_method = "file_magic".
23148file_magic_cmd=$lt_file_magic_cmd
23149
23150# How to find potential files when deplibs_check_method = "file_magic".
23151file_magic_glob=$lt_file_magic_glob
23152
23153# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
23154want_nocaseglob=$lt_want_nocaseglob
23155
23156# DLL creation program.
23157DLLTOOL=$lt_DLLTOOL
23158
23159# Command to associate shared and link libraries.
23160sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
23161
23162# The archiver.
23163AR=$lt_AR
23164
23165# Flags to create an archive.
23166AR_FLAGS=$lt_AR_FLAGS
23167
23168# How to feed a file listing to the archiver.
23169archiver_list_spec=$lt_archiver_list_spec
23170
23171# A symbol stripping program.
23172STRIP=$lt_STRIP
23173
23174# Commands used to install an old-style archive.
23175RANLIB=$lt_RANLIB
23176old_postinstall_cmds=$lt_old_postinstall_cmds
23177old_postuninstall_cmds=$lt_old_postuninstall_cmds
23178
23179# Whether to use a lock for old archive extraction.
23180lock_old_archive_extraction=$lock_old_archive_extraction
23181
23182# A C compiler.
23183LTCC=$lt_CC
23184
23185# LTCC compiler flags.
23186LTCFLAGS=$lt_CFLAGS
23187
23188# Take the output of nm and produce a listing of raw symbols and C names.
23189global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
23190
23191# Transform the output of nm in a proper C declaration.
23192global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
23193
23194# Transform the output of nm into a list of symbols to manually relocate.
23195global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
23196
23197# Transform the output of nm in a C name address pair.
23198global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
23199
23200# Transform the output of nm in a C name address pair when lib prefix is needed.
23201global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
23202
23203# The name lister interface.
23204nm_interface=$lt_lt_cv_nm_interface
23205
23206# Specify filename containing input files for \$NM.
23207nm_file_list_spec=$lt_nm_file_list_spec
23208
23209# The root where to search for dependent libraries,and where our libraries should be installed.
23210lt_sysroot=$lt_sysroot
23211
23212# Command to truncate a binary pipe.
23213lt_truncate_bin=$lt_lt_cv_truncate_bin
23214
23215# The name of the directory that contains temporary libtool files.
23216objdir=$objdir
23217
23218# Used to examine libraries when file_magic_cmd begins with "file".
23219MAGIC_CMD=$MAGIC_CMD
23220
23221# Must we lock files when doing compilation?
23222need_locks=$lt_need_locks
23223
23224# Manifest tool.
23225MANIFEST_TOOL=$lt_MANIFEST_TOOL
23226
23227# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
23228DSYMUTIL=$lt_DSYMUTIL
23229
23230# Tool to change global to local symbols on Mac OS X.
23231NMEDIT=$lt_NMEDIT
23232
23233# Tool to manipulate fat objects and archives on Mac OS X.
23234LIPO=$lt_LIPO
23235
23236# ldd/readelf like tool for Mach-O binaries on Mac OS X.
23237OTOOL=$lt_OTOOL
23238
23239# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
23240OTOOL64=$lt_OTOOL64
23241
23242# Old archive suffix (normally "a").
23243libext=$libext
23244
23245# Shared library suffix (normally ".so").
23246shrext_cmds=$lt_shrext_cmds
23247
23248# The commands to extract the exported symbol list from a shared archive.
23249extract_expsyms_cmds=$lt_extract_expsyms_cmds
23250
23251# Variables whose values should be saved in libtool wrapper scripts and
23252# restored at link time.
23253variables_saved_for_relink=$lt_variables_saved_for_relink
23254
23255# Do we need the "lib" prefix for modules?
23256need_lib_prefix=$need_lib_prefix
23257
23258# Do we need a version for libraries?
23259need_version=$need_version
23260
23261# Library versioning type.
23262version_type=$version_type
23263
23264# Shared library runtime path variable.
23265runpath_var=$runpath_var
23266
23267# Shared library path variable.
23268shlibpath_var=$shlibpath_var
23269
23270# Is shlibpath searched before the hard-coded library search path?
23271shlibpath_overrides_runpath=$shlibpath_overrides_runpath
23272
23273# Format of library name prefix.
23274libname_spec=$lt_libname_spec
23275
23276# List of archive names.  First name is the real one, the rest are links.
23277# The last name is the one that the linker finds with -lNAME
23278library_names_spec=$lt_library_names_spec
23279
23280# The coded name of the library, if different from the real name.
23281soname_spec=$lt_soname_spec
23282
23283# Permission mode override for installation of shared libraries.
23284install_override_mode=$lt_install_override_mode
23285
23286# Command to use after installation of a shared archive.
23287postinstall_cmds=$lt_postinstall_cmds
23288
23289# Command to use after uninstallation of a shared archive.
23290postuninstall_cmds=$lt_postuninstall_cmds
23291
23292# Commands used to finish a libtool library installation in a directory.
23293finish_cmds=$lt_finish_cmds
23294
23295# As "finish_cmds", except a single script fragment to be evaled but
23296# not shown.
23297finish_eval=$lt_finish_eval
23298
23299# Whether we should hardcode library paths into libraries.
23300hardcode_into_libs=$hardcode_into_libs
23301
23302# Compile-time system search path for libraries.
23303sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
23304
23305# Detected run-time system search path for libraries.
23306sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
23307
23308# Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
23309configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
23310
23311# Whether dlopen is supported.
23312dlopen_support=$enable_dlopen
23313
23314# Whether dlopen of programs is supported.
23315dlopen_self=$enable_dlopen_self
23316
23317# Whether dlopen of statically linked programs is supported.
23318dlopen_self_static=$enable_dlopen_self_static
23319
23320# Commands to strip libraries.
23321old_striplib=$lt_old_striplib
23322striplib=$lt_striplib
23323
23324
23325# The linker used to build libraries.
23326LD=$lt_LD
23327
23328# How to create reloadable object files.
23329reload_flag=$lt_reload_flag
23330reload_cmds=$lt_reload_cmds
23331
23332# Commands used to build an old-style archive.
23333old_archive_cmds=$lt_old_archive_cmds
23334
23335# A language specific compiler.
23336CC=$lt_compiler
23337
23338# Is the compiler the GNU compiler?
23339with_gcc=$GCC
23340
23341# Compiler flag to turn off builtin functions.
23342no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
23343
23344# Additional compiler flags for building library objects.
23345pic_flag=$lt_lt_prog_compiler_pic
23346
23347# How to pass a linker flag through the compiler.
23348wl=$lt_lt_prog_compiler_wl
23349
23350# Compiler flag to prevent dynamic linking.
23351link_static_flag=$lt_lt_prog_compiler_static
23352
23353# Does compiler simultaneously support -c and -o options?
23354compiler_c_o=$lt_lt_cv_prog_compiler_c_o
23355
23356# Whether or not to add -lc for building shared libraries.
23357build_libtool_need_lc=$archive_cmds_need_lc
23358
23359# Whether or not to disallow shared libs when runtime libs are static.
23360allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
23361
23362# Compiler flag to allow reflexive dlopens.
23363export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
23364
23365# Compiler flag to generate shared objects directly from archives.
23366whole_archive_flag_spec=$lt_whole_archive_flag_spec
23367
23368# Whether the compiler copes with passing no objects directly.
23369compiler_needs_object=$lt_compiler_needs_object
23370
23371# Create an old-style archive from a shared archive.
23372old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
23373
23374# Create a temporary old-style archive to link instead of a shared archive.
23375old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
23376
23377# Commands used to build a shared archive.
23378archive_cmds=$lt_archive_cmds
23379archive_expsym_cmds=$lt_archive_expsym_cmds
23380
23381# Commands used to build a loadable module if different from building
23382# a shared archive.
23383module_cmds=$lt_module_cmds
23384module_expsym_cmds=$lt_module_expsym_cmds
23385
23386# Whether we are building with GNU ld or not.
23387with_gnu_ld=$lt_with_gnu_ld
23388
23389# Flag that allows shared libraries with undefined symbols to be built.
23390allow_undefined_flag=$lt_allow_undefined_flag
23391
23392# Flag that enforces no undefined symbols.
23393no_undefined_flag=$lt_no_undefined_flag
23394
23395# Flag to hardcode \$libdir into a binary during linking.
23396# This must work even if \$libdir does not exist
23397hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
23398
23399# Whether we need a single "-rpath" flag with a separated argument.
23400hardcode_libdir_separator=$lt_hardcode_libdir_separator
23401
23402# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
23403# DIR into the resulting binary.
23404hardcode_direct=$hardcode_direct
23405
23406# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
23407# DIR into the resulting binary and the resulting library dependency is
23408# "absolute",i.e impossible to change by setting \$shlibpath_var if the
23409# library is relocated.
23410hardcode_direct_absolute=$hardcode_direct_absolute
23411
23412# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
23413# into the resulting binary.
23414hardcode_minus_L=$hardcode_minus_L
23415
23416# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
23417# into the resulting binary.
23418hardcode_shlibpath_var=$hardcode_shlibpath_var
23419
23420# Set to "yes" if building a shared library automatically hardcodes DIR
23421# into the library and all subsequent libraries and executables linked
23422# against it.
23423hardcode_automatic=$hardcode_automatic
23424
23425# Set to yes if linker adds runtime paths of dependent libraries
23426# to runtime path list.
23427inherit_rpath=$inherit_rpath
23428
23429# Whether libtool must link a program against all its dependency libraries.
23430link_all_deplibs=$link_all_deplibs
23431
23432# Set to "yes" if exported symbols are required.
23433always_export_symbols=$always_export_symbols
23434
23435# The commands to list exported symbols.
23436export_symbols_cmds=$lt_export_symbols_cmds
23437
23438# Symbols that should not be listed in the preloaded symbols.
23439exclude_expsyms=$lt_exclude_expsyms
23440
23441# Symbols that must always be exported.
23442include_expsyms=$lt_include_expsyms
23443
23444# Commands necessary for linking programs (against libraries) with templates.
23445prelink_cmds=$lt_prelink_cmds
23446
23447# Commands necessary for finishing linking programs.
23448postlink_cmds=$lt_postlink_cmds
23449
23450# Specify filename containing input files.
23451file_list_spec=$lt_file_list_spec
23452
23453# How to hardcode a shared library path into an executable.
23454hardcode_action=$hardcode_action
23455
23456# ### END LIBTOOL CONFIG
23457
23458_LT_EOF
23459
23460    cat <<'_LT_EOF' >> "$cfgfile"
23461
23462# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
23463
23464# func_munge_path_list VARIABLE PATH
23465# -----------------------------------
23466# VARIABLE is name of variable containing _space_ separated list of
23467# directories to be munged by the contents of PATH, which is string
23468# having a format:
23469# "DIR[:DIR]:"
23470#       string "DIR[ DIR]" will be prepended to VARIABLE
23471# ":DIR[:DIR]"
23472#       string "DIR[ DIR]" will be appended to VARIABLE
23473# "DIRP[:DIRP]::[DIRA:]DIRA"
23474#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
23475#       "DIRA[ DIRA]" will be appended to VARIABLE
23476# "DIR[:DIR]"
23477#       VARIABLE will be replaced by "DIR[ DIR]"
23478func_munge_path_list ()
23479{
23480    case x$2 in
23481    x)
23482        ;;
23483    *:)
23484        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
23485        ;;
23486    x:*)
23487        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
23488        ;;
23489    *::*)
23490        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
23491        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
23492        ;;
23493    *)
23494        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
23495        ;;
23496    esac
23497}
23498
23499
23500# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
23501func_cc_basename ()
23502{
23503    for cc_temp in $*""; do
23504      case $cc_temp in
23505        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
23506        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
23507        \-*) ;;
23508        *) break;;
23509      esac
23510    done
23511    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
23512}
23513
23514
23515# ### END FUNCTIONS SHARED WITH CONFIGURE
23516
23517_LT_EOF
23518
23519  case $host_os in
23520  aix3*)
23521    cat <<\_LT_EOF >> "$cfgfile"
23522# AIX sometimes has problems with the GCC collect2 program.  For some
23523# reason, if we set the COLLECT_NAMES environment variable, the problems
23524# vanish in a puff of smoke.
23525if test set != "${COLLECT_NAMES+set}"; then
23526  COLLECT_NAMES=
23527  export COLLECT_NAMES
23528fi
23529_LT_EOF
23530    ;;
23531  esac
23532
23533
23534ltmain=$ac_aux_dir/ltmain.sh
23535
23536
23537  # We use sed instead of cat because bash on DJGPP gets confused if
23538  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
23539  # text mode, it properly converts lines to CR/LF.  This bash problem
23540  # is reportedly fixed, but why not run on old versions too?
23541  sed '$q' "$ltmain" >> "$cfgfile" \
23542     || (rm -f "$cfgfile"; exit 1)
23543
23544   mv -f "$cfgfile" "$ofile" ||
23545    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
23546  chmod +x "$ofile"
23547
23548 ;;
23549    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
23550  # Older Autoconf quotes --file arguments for eval, but not when files
23551  # are listed without --file.  Let's play safe and only enable the eval
23552  # if we detect the quoting.
23553  case $CONFIG_FILES in
23554  *\'*) eval set x "$CONFIG_FILES" ;;
23555  *)   set x $CONFIG_FILES ;;
23556  esac
23557  shift
23558  for mf
23559  do
23560    # Strip MF so we end up with the name of the file.
23561    mf=`echo "$mf" | sed -e 's/:.*$//'`
23562    # Check whether this is an Automake generated Makefile or not.
23563    # We used to match only the files named 'Makefile.in', but
23564    # some people rename them; so instead we look at the file content.
23565    # Grep'ing the first line is not enough: some people post-process
23566    # each Makefile.in and add a new line on top of each file to say so.
23567    # Grep'ing the whole file is not good either: AIX grep has a line
23568    # limit of 2048, but all sed's we know have understand at least 4000.
23569    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
23570      dirpart=`$as_dirname -- "$mf" ||
23571$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23572	 X"$mf" : 'X\(//\)[^/]' \| \
23573	 X"$mf" : 'X\(//\)$' \| \
23574	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
23575$as_echo X"$mf" |
23576    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23577	    s//\1/
23578	    q
23579	  }
23580	  /^X\(\/\/\)[^/].*/{
23581	    s//\1/
23582	    q
23583	  }
23584	  /^X\(\/\/\)$/{
23585	    s//\1/
23586	    q
23587	  }
23588	  /^X\(\/\).*/{
23589	    s//\1/
23590	    q
23591	  }
23592	  s/.*/./; q'`
23593    else
23594      continue
23595    fi
23596    # Extract the definition of DEPDIR, am__include, and am__quote
23597    # from the Makefile without running 'make'.
23598    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
23599    test -z "$DEPDIR" && continue
23600    am__include=`sed -n 's/^am__include = //p' < "$mf"`
23601    test -z "$am__include" && continue
23602    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
23603    # Find all dependency output files, they are included files with
23604    # $(DEPDIR) in their names.  We invoke sed twice because it is the
23605    # simplest approach to changing $(DEPDIR) to its actual value in the
23606    # expansion.
23607    for file in `sed -n "
23608      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
23609	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
23610      # Make sure the directory exists.
23611      test -f "$dirpart/$file" && continue
23612      fdir=`$as_dirname -- "$file" ||
23613$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23614	 X"$file" : 'X\(//\)[^/]' \| \
23615	 X"$file" : 'X\(//\)$' \| \
23616	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
23617$as_echo X"$file" |
23618    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23619	    s//\1/
23620	    q
23621	  }
23622	  /^X\(\/\/\)[^/].*/{
23623	    s//\1/
23624	    q
23625	  }
23626	  /^X\(\/\/\)$/{
23627	    s//\1/
23628	    q
23629	  }
23630	  /^X\(\/\).*/{
23631	    s//\1/
23632	    q
23633	  }
23634	  s/.*/./; q'`
23635      as_dir=$dirpart/$fdir; as_fn_mkdir_p
23636      # echo "creating $dirpart/$file"
23637      echo '# dummy' > "$dirpart/$file"
23638    done
23639  done
23640}
23641 ;;
23642    "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
23643        sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
23644      esac ;;
23645    "po/stamp-it":C)
23646    if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
23647       as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
23648    fi
23649    rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
23650    >"po/stamp-it.tmp"
23651    sed '/^#/d
23652	 s/^[[].*] *//
23653	 /^[ 	]*$/d
23654	'"s|^|	$ac_top_srcdir/|" \
23655      "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
23656
23657    sed '/^POTFILES =/,/[^\\]$/ {
23658		/^POTFILES =/!d
23659		r po/POTFILES
23660	  }
23661	 ' "po/Makefile.in" >"po/Makefile"
23662    rm -f "po/Makefile.tmp"
23663    mv "po/stamp-it.tmp" "po/stamp-it"
23664   ;;
23665
23666  esac
23667done # for ac_tag
23668
23669
23670as_fn_exit 0
23671_ACEOF
23672ac_clean_files=$ac_clean_files_save
23673
23674test $ac_write_fail = 0 ||
23675  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
23676
23677
23678# configure is writing to config.log, and then calls config.status.
23679# config.status does its own redirection, appending to config.log.
23680# Unfortunately, on DOS this fails, as config.log is still kept open
23681# by configure, so config.status won't be able to write to it; its
23682# output is simply discarded.  So we exec the FD to /dev/null,
23683# effectively closing config.log, so it can be properly (re)opened and
23684# appended to by config.status.  When coming back to configure, we
23685# need to make the FD available again.
23686if test "$no_create" != yes; then
23687  ac_cs_success=:
23688  ac_config_status_args=
23689  test "$silent" = yes &&
23690    ac_config_status_args="$ac_config_status_args --quiet"
23691  exec 5>/dev/null
23692  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
23693  exec 5>>config.log
23694  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23695  # would make configure fail if this is the last instruction.
23696  $ac_cs_success || as_fn_exit 1
23697fi
23698if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
23699  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23700$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
23701fi
23702
23703
23704cat librfm.settings
23705
23706
23707echo 'CFLAGS:' $CFLAGS
23708echo 'LDFLAGS:' $LDFLAGS
23709
23710if test "$ac_uname_s" = "Linux"; then
23711 echo 'Now do a make && sudo make install && sudo ldconfig'
23712else
23713 echo 'ATTENTION BSD user: Use gmake instead of make,'
23714 echo 'otherwise make process will halt with an error while building'
23715 echo 'translations.'
23716 echo '...'
23717 echo 'Now do a gmake && sudo gmake install && sudo ldconfig'
23718fi
23719
23720
23721
23722I_PREFIX=`$PKG_CONFIG --variable prefix librfm 2>/dev/null`
23723if test x"$I_PREFIX" != x ; then
23724  if test "$I_PREFIX" != "$ac_default_prefix" ; then
23725    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: BIG FAT WARNING Package is already installed in $I_PREFIX. Removal of installation in $I_PREFIX is recommended before proceeding to install package in $ac_default_prefix." >&5
23726$as_echo "$as_me: WARNING: BIG FAT WARNING Package is already installed in $I_PREFIX. Removal of installation in $I_PREFIX is recommended before proceeding to install package in $ac_default_prefix." >&2;}
23727  fi
23728fi
23729
23730
23731